Agent

    • configurationUrl
      Type: stringFormat: uri
      required

      An authenticated URL through which the agent can be configured.

    • consultAgentType
      Type: string · Consultation agent typeenum
      required

      %future added value is a placeholder that is inserted to ensure you handle the possibility that new enum variants may be added by the server after your application has been deployed. This value should not be handled explicitly.

      values
      • POST_VISIT
      • PRE_VISIT
      • %future added value
    • createdAt
      Type: string Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Format: date-time
      required

      An ISO 8601 compatible date time string in the format YYYY-MM-DDTHH:mm:ss.sssZ, e.g. 2000-01-01T12:00:00.000Z

    • id
      Type: string Pattern: ^[0-9a-z]+$Format: cuid2
      required
    • name
      Type: string nullable
      required
    • shouldAskAddress
      Type: boolean
      required
    • shouldAskAllergies
      Type: boolean
      required
    • shouldAskDateOfBirth
      Type: boolean
      required
    • shouldAskEmail
      Type: boolean
      required
    • shouldAskFamilyHistory
      Type: boolean
      required
    • shouldAskLifestyle
      Type: boolean
      required
    • shouldAskMedicalHistory
      Type: boolean
      required
    • shouldAskMedications
      Type: boolean
      required
    • shouldAskName
      Type: boolean
      required
    • shouldAskNationalRegistryNumber
      Type: boolean
      required
    • shouldAskPhoneNumber
      Type: boolean
      required
    • shouldAskSex
      Type: boolean
      required
    • shouldAskSocialHistory
      Type: boolean
      required
    • specialization
      Type: string · Specializationenum
      required

      %future added value is a placeholder that is inserted to ensure you handle the possibility that new enum variants may be added by the server after your application has been deployed. This value should not be handled explicitly.

      values
      • ANESTHESIOLOGY
      • BARIATRIC_MEDICINE
      • CARDIAC_SURGERY
      • CARDIOLOGY
      • DERMATOLOGY
    • teamId
      Type: string Pattern: ^[0-9a-z]+$Format: cuid2
      required

      The team this agent belongs to.

    • type
      const:  
      CONSULT
      required