@arbol-ai/cli 3.50.0 → 3.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1555 -6
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -13685,6 +13685,145 @@ var commands = {
13685
13685
  confirmation: null,
13686
13686
  hidden: false
13687
13687
  },
13688
+ "oficlinic appointments cancel": {
13689
+ operation: "oficlinic.appointments.cancel",
13690
+ sdkPath: [
13691
+ "oficlinic",
13692
+ "appointments",
13693
+ "cancel"
13694
+ ],
13695
+ pathField: "appointmentId",
13696
+ fields: [
13697
+ {
13698
+ name: "connectionId",
13699
+ flag: "connection-id",
13700
+ kind: "string",
13701
+ required: false,
13702
+ description: "An Account connection id of the caller's organization."
13703
+ },
13704
+ {
13705
+ name: "documentType",
13706
+ flag: "document-type",
13707
+ kind: "string",
13708
+ required: true,
13709
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
13710
+ choices: [
13711
+ "CC"
13712
+ ]
13713
+ },
13714
+ {
13715
+ name: "documentNumber",
13716
+ flag: "document-number",
13717
+ kind: "string",
13718
+ required: true,
13719
+ description: "The document number, digits only."
13720
+ },
13721
+ {
13722
+ name: "idempotencyKey",
13723
+ flag: "idempotency-key",
13724
+ kind: "string",
13725
+ required: true,
13726
+ description: "A key the caller chooses once per intended write, such as a UUID. Repeating it with the same request answers the recorded outcome and never writes again; another request with it answers IDEMPOTENCY_KEY_REUSED."
13727
+ },
13728
+ {
13729
+ name: "confirm",
13730
+ flag: "confirm",
13731
+ kind: "boolean",
13732
+ required: true,
13733
+ description: "The patient or authorized staff explicitly confirmed cancellation of this appointment.",
13734
+ choices: [
13735
+ true
13736
+ ]
13737
+ },
13738
+ {
13739
+ name: "agentMode",
13740
+ flag: "agent-mode",
13741
+ kind: "boolean",
13742
+ required: false,
13743
+ description: "true answers { text }: concise Spanish facts for a messaging or voice agent, with the short ids and the cursor needed to continue. false, the default, answers the structured object.",
13744
+ default: false
13745
+ }
13746
+ ],
13747
+ inputSchema: {
13748
+ additionalProperties: false,
13749
+ type: "object",
13750
+ required: [
13751
+ "documentType",
13752
+ "documentNumber",
13753
+ "idempotencyKey",
13754
+ "confirm",
13755
+ "cancellation",
13756
+ "appointmentId"
13757
+ ],
13758
+ properties: {
13759
+ connectionId: {
13760
+ pattern: "^con_[0-9A-Za-z]{26}$",
13761
+ description: "An Account connection id of the caller's organization.",
13762
+ type: "string"
13763
+ },
13764
+ documentType: {
13765
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
13766
+ const: "CC",
13767
+ type: "string"
13768
+ },
13769
+ documentNumber: {
13770
+ pattern: "^[0-9]{3,15}$",
13771
+ description: "The document number, digits only.",
13772
+ type: "string"
13773
+ },
13774
+ idempotencyKey: {
13775
+ minLength: 8,
13776
+ maxLength: 64,
13777
+ pattern: "^[A-Za-z0-9_-]+$",
13778
+ description: "A key the caller chooses once per intended write, such as a UUID. Repeating it with the same request answers the recorded outcome and never writes again; another request with it answers IDEMPOTENCY_KEY_REUSED.",
13779
+ type: "string"
13780
+ },
13781
+ confirm: {
13782
+ description: "The patient or authorized staff explicitly confirmed cancellation of this appointment.",
13783
+ const: true,
13784
+ type: "boolean"
13785
+ },
13786
+ cancellation: {
13787
+ additionalProperties: false,
13788
+ type: "object",
13789
+ required: [
13790
+ "reason",
13791
+ "observations"
13792
+ ],
13793
+ properties: {
13794
+ reason: {
13795
+ minLength: 1,
13796
+ maxLength: 200,
13797
+ description: "Sent as pMotivo: exactly a reason list_cancellation_reasons answers, or BOOKING_OPTION_NOT_FOUND.",
13798
+ type: "string"
13799
+ },
13800
+ observations: {
13801
+ minLength: 1,
13802
+ maxLength: 250,
13803
+ pattern: "^[0-9A-Za-zÁÉÍÓÚÜÑáéíóúüñ ,.;:()/#-]*$",
13804
+ description: "Sent as pObservaciones; the provider's screen requires them, up to 250 characters.",
13805
+ type: "string"
13806
+ }
13807
+ }
13808
+ },
13809
+ agentMode: {
13810
+ description: "true answers { text }: concise Spanish facts for a messaging or voice agent, with the short ids and the cursor needed to continue. false, the default, answers the structured object.",
13811
+ type: "boolean",
13812
+ default: false
13813
+ },
13814
+ appointmentId: {
13815
+ pattern: "^[0-9]{1,15}$",
13816
+ type: "string",
13817
+ description: "The appointment id."
13818
+ }
13819
+ }
13820
+ },
13821
+ title: "Cancel an appointment",
13822
+ description: "Cancel one upcoming assigned e-Oficlinic appointment of the patient resolved by citizenship card. Use the exact CAS (serviceNumber) from that patient's assigned appointments, one exact listed cancellation reason, and confirm true only after the patient or authorized staff confirms this specific cancellation. The same idempotency key and request return the recorded result without sending again. OUTCOME_UNKNOWN means the cancellation may have happened: look up the patient's cancelled appointments and do not dispatch it again. agentMode true answers concise Spanish text instead.",
13823
+ effect: "write",
13824
+ confirmation: null,
13825
+ hidden: false
13826
+ },
13688
13827
  "oficlinic appointments create": {
13689
13828
  operation: "oficlinic.appointments.create",
13690
13829
  sdkPath: [
@@ -15359,7 +15498,7 @@ var commands = {
15359
15498
  additionalProperties: false
15360
15499
  },
15361
15500
  title: "List booking slots",
15362
- description: "List the slots e-Oficlinic shows for one agenda day of the flow, for the flow's payer and its one-unit attention type, as its booking screen shows them (LISTAR_HORARIOS_AGENDAS_DISPONIBLES with the screen's display filter). The day must be one list_booking_days offered in the same flow. startsAt and endsAt come from the source's exact time range, and are null rather than guessed when it is unrecognized. Observed live for one agenda; the rows observed had no Estado, so status is usually null. Read-only: nothing is locked or reserved. Book one with create_appointment and its id as slotId. Pass pageInfo.nextCursor with the same filters for more. agentMode true answers concise Spanish text instead.",
15501
+ description: "List the slots e-Oficlinic shows for one agenda day of the flow, for the flow's payer and its one-unit attention type, as its booking screen shows them (LISTAR_HORARIOS_AGENDAS_DISPONIBLES with the screen's display filter). The day must be one list_booking_days offered in the same flow. startsAt and endsAt come from the source's exact time range, and are null rather than guessed when it is unrecognized. Observed live for one agenda; the rows observed had no Estado, so status is usually null. Read-only: nothing is locked or reserved. For create_appointment or reschedule_appointment, copy the selected slot's flowId and slotId verbatim (slotId is called id in the structured result). Keep the two values together and refresh availability when the flow expires. Pass pageInfo.nextCursor with the same filters for more. agentMode true answers concise Spanish text instead.",
15363
15502
  effect: "read",
15364
15503
  confirmation: null,
15365
15504
  hidden: false
@@ -15524,6 +15663,123 @@ var commands = {
15524
15663
  confirmation: null,
15525
15664
  hidden: false
15526
15665
  },
15666
+ "oficlinic daily-roster list": {
15667
+ operation: "oficlinic.dailyRoster.list",
15668
+ sdkPath: [
15669
+ "oficlinic",
15670
+ "dailyRoster",
15671
+ "list"
15672
+ ],
15673
+ pathField: null,
15674
+ fields: [
15675
+ {
15676
+ name: "connectionId",
15677
+ flag: "connection-id",
15678
+ kind: "string",
15679
+ required: false,
15680
+ description: "An Account connection id of the caller's organization."
15681
+ },
15682
+ {
15683
+ name: "date",
15684
+ flag: "date",
15685
+ kind: "string",
15686
+ required: true,
15687
+ description: "The appointment date in Colombia, as YYYY-MM-DD."
15688
+ },
15689
+ {
15690
+ name: "professionalId",
15691
+ flag: "professional-id",
15692
+ kind: "string",
15693
+ required: true,
15694
+ description: "The professional's provider id, from list_professionals."
15695
+ },
15696
+ {
15697
+ name: "cursor",
15698
+ flag: "cursor",
15699
+ kind: "string",
15700
+ required: false,
15701
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
15702
+ },
15703
+ {
15704
+ name: "direction",
15705
+ flag: "direction",
15706
+ kind: "string",
15707
+ required: false,
15708
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
15709
+ choices: [
15710
+ "forward",
15711
+ "backward"
15712
+ ],
15713
+ default: "forward"
15714
+ },
15715
+ {
15716
+ name: "limit",
15717
+ flag: "limit",
15718
+ kind: "integer",
15719
+ required: false,
15720
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
15721
+ default: 25
15722
+ }
15723
+ ],
15724
+ inputSchema: {
15725
+ type: "object",
15726
+ properties: {
15727
+ connectionId: {
15728
+ pattern: "^con_[0-9A-Za-z]{26}$",
15729
+ description: "An Account connection id of the caller's organization.",
15730
+ type: "string"
15731
+ },
15732
+ date: {
15733
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
15734
+ description: "The appointment date in Colombia, as YYYY-MM-DD.",
15735
+ type: "string"
15736
+ },
15737
+ professionalId: {
15738
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
15739
+ description: "The professional's provider id, from list_professionals.",
15740
+ type: "string"
15741
+ },
15742
+ cursor: {
15743
+ minLength: 4,
15744
+ maxLength: 192,
15745
+ pattern: "^[A-Za-z0-9_-]+$",
15746
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
15747
+ type: "string"
15748
+ },
15749
+ direction: {
15750
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
15751
+ anyOf: [
15752
+ {
15753
+ const: "forward",
15754
+ type: "string"
15755
+ },
15756
+ {
15757
+ const: "backward",
15758
+ type: "string"
15759
+ }
15760
+ ],
15761
+ default: "forward"
15762
+ },
15763
+ limit: {
15764
+ minimum: 1,
15765
+ maximum: 50,
15766
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
15767
+ type: "integer",
15768
+ default: 25
15769
+ }
15770
+ },
15771
+ required: [
15772
+ "date",
15773
+ "professionalId"
15774
+ ],
15775
+ additionalProperties: false
15776
+ },
15777
+ title: "Get daily roster",
15778
+ description: "Read the e-Oficlinic daily patient roster for one professional and one date in Colombia. For authorized clinic staff only. Returns scheduled time, appointment number, patient display name, service and location. A vacant slot is not an appointment. Use the professional's id from list_professionals. Page through the same professional and date with pageInfo.nextCursor; results do not cover other professionals or sites.",
15779
+ effect: "read",
15780
+ confirmation: null,
15781
+ hidden: false
15782
+ },
15527
15783
  "oficlinic patients lookup": {
15528
15784
  operation: "oficlinic.patients.lookup",
15529
15785
  sdkPath: [
@@ -31947,6 +32203,65 @@ var commands = {
31947
32203
  confirmation: null,
31948
32204
  hidden: false
31949
32205
  },
32206
+ "visoft patient-name-encodings lookup": {
32207
+ operation: "visoft.patientNameEncodings.lookup",
32208
+ sdkPath: [
32209
+ "visoft",
32210
+ "patientNameEncodings",
32211
+ "lookup"
32212
+ ],
32213
+ pathField: null,
32214
+ fields: [
32215
+ {
32216
+ name: "connectionId",
32217
+ flag: "connection-id",
32218
+ kind: "string",
32219
+ required: false,
32220
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
32221
+ },
32222
+ {
32223
+ name: "documentNumbers",
32224
+ flag: "document-numbers",
32225
+ kind: "list",
32226
+ required: true,
32227
+ description: "Distinct patient document numbers from an authorized source."
32228
+ }
32229
+ ],
32230
+ inputSchema: {
32231
+ type: "object",
32232
+ required: [
32233
+ "documentNumbers"
32234
+ ],
32235
+ properties: {
32236
+ connectionId: {
32237
+ type: "string",
32238
+ minLength: 5,
32239
+ maxLength: 68,
32240
+ pattern: "^con_[0-9A-Za-z]+$",
32241
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
32242
+ },
32243
+ documentNumbers: {
32244
+ type: "array",
32245
+ items: {
32246
+ type: "string",
32247
+ pattern: "^[A-Za-z0-9]{1,20}$",
32248
+ description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
32249
+ },
32250
+ description: "Distinct patient document numbers from an authorized source.",
32251
+ minItems: 1,
32252
+ maxItems: 8,
32253
+ uniqueItems: true,
32254
+ secret: true
32255
+ }
32256
+ },
32257
+ additionalProperties: false
32258
+ },
32259
+ title: "Audit stored patient name encoding",
32260
+ description: "Read the current SIIPS records of the supplied patients and identify name fields with recognizable misdecoded Spanish accents. Returns only the affected field names and document type, without the names or document numbers. Requires the permission to correct patient records. This operation only reads records.",
32261
+ effect: "read",
32262
+ confirmation: null,
32263
+ hidden: false
32264
+ },
31950
32265
  "visoft patients correct": {
31951
32266
  operation: "visoft.patients.correct",
31952
32267
  sdkPath: [
@@ -170011,6 +170326,63 @@ var schemaComponents = {
170011
170326
  }
170012
170327
  }
170013
170328
  },
170329
+ OficlinicAppointmentCancellation: {
170330
+ additionalProperties: false,
170331
+ type: "object",
170332
+ required: [
170333
+ "appointmentId",
170334
+ "status",
170335
+ "verification"
170336
+ ],
170337
+ properties: {
170338
+ appointmentId: {
170339
+ pattern: "^[0-9]{1,15}$",
170340
+ type: "string"
170341
+ },
170342
+ status: {
170343
+ const: "cancelled",
170344
+ type: "string"
170345
+ },
170346
+ verification: {
170347
+ const: "provider_acknowledgement",
170348
+ type: "string"
170349
+ }
170350
+ }
170351
+ },
170352
+ OficlinicAppointmentNotCancellableFailure: {
170353
+ type: "object",
170354
+ description: "The appointment's day has passed or is unknown, so it is not cancelled here.",
170355
+ additionalProperties: false,
170356
+ required: [
170357
+ "code",
170358
+ "message",
170359
+ "retryable",
170360
+ "data"
170361
+ ],
170362
+ properties: {
170363
+ code: {
170364
+ type: "string",
170365
+ enum: [
170366
+ "APPOINTMENT_NOT_CANCELLABLE"
170367
+ ],
170368
+ description: "The failure code, stable across releases."
170369
+ },
170370
+ message: {
170371
+ type: "string",
170372
+ description: "What went wrong, for people; it never contains input values."
170373
+ },
170374
+ retryable: {
170375
+ type: "boolean",
170376
+ enum: [
170377
+ false
170378
+ ],
170379
+ description: "Whether repeating the same request may succeed."
170380
+ },
170381
+ data: {
170382
+ $ref: "#/components/schemas/Empty"
170383
+ }
170384
+ }
170385
+ },
170014
170386
  OficlinicAppointmentNotFoundFailure: {
170015
170387
  type: "object",
170016
170388
  description: "The appointment is not among the patient's assigned appointments.",
@@ -170553,6 +170925,426 @@ var schemaComponents = {
170553
170925
  }
170554
170926
  }
170555
170927
  },
170928
+ OficlinicCancelAppointmentBadGatewayError: {
170929
+ type: "object",
170930
+ description: "A failed answer.",
170931
+ additionalProperties: false,
170932
+ required: [
170933
+ "success",
170934
+ "data",
170935
+ "error",
170936
+ "metadata"
170937
+ ],
170938
+ properties: {
170939
+ success: {
170940
+ type: "boolean",
170941
+ enum: [
170942
+ false
170943
+ ]
170944
+ },
170945
+ data: {
170946
+ const: null
170947
+ },
170948
+ error: {
170949
+ $ref: "#/components/schemas/OficlinicCancelAppointmentBadGatewayFailure"
170950
+ },
170951
+ metadata: {
170952
+ $ref: "#/components/schemas/ResponseMetadata"
170953
+ }
170954
+ }
170955
+ },
170956
+ OficlinicCancelAppointmentBadGatewayFailure: {
170957
+ oneOf: [
170958
+ {
170959
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
170960
+ },
170961
+ {
170962
+ $ref: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure"
170963
+ },
170964
+ {
170965
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
170966
+ },
170967
+ {
170968
+ $ref: "#/components/schemas/OficlinicPatientRecordMismatchFailure"
170969
+ }
170970
+ ],
170971
+ discriminator: {
170972
+ propertyName: "code",
170973
+ mapping: {
170974
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
170975
+ SIGN_IN_OUTCOME_UNKNOWN: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure",
170976
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure",
170977
+ PATIENT_RECORD_MISMATCH: "#/components/schemas/OficlinicPatientRecordMismatchFailure"
170978
+ }
170979
+ }
170980
+ },
170981
+ OficlinicCancelAppointmentBody: {
170982
+ additionalProperties: false,
170983
+ type: "object",
170984
+ required: [
170985
+ "documentType",
170986
+ "documentNumber",
170987
+ "idempotencyKey",
170988
+ "confirm",
170989
+ "cancellation"
170990
+ ],
170991
+ properties: {
170992
+ connectionId: {
170993
+ pattern: "^con_[0-9A-Za-z]{26}$",
170994
+ description: "An Account connection id of the caller's organization.",
170995
+ type: "string"
170996
+ },
170997
+ documentType: {
170998
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
170999
+ const: "CC",
171000
+ type: "string"
171001
+ },
171002
+ documentNumber: {
171003
+ pattern: "^[0-9]{3,15}$",
171004
+ description: "The document number, digits only.",
171005
+ type: "string"
171006
+ },
171007
+ idempotencyKey: {
171008
+ minLength: 8,
171009
+ maxLength: 64,
171010
+ pattern: "^[A-Za-z0-9_-]+$",
171011
+ description: "A key the caller chooses once per intended write, such as a UUID. Repeating it with the same request answers the recorded outcome and never writes again; another request with it answers IDEMPOTENCY_KEY_REUSED.",
171012
+ type: "string"
171013
+ },
171014
+ confirm: {
171015
+ description: "The patient or authorized staff explicitly confirmed cancellation of this appointment.",
171016
+ const: true,
171017
+ type: "boolean"
171018
+ },
171019
+ cancellation: {
171020
+ additionalProperties: false,
171021
+ type: "object",
171022
+ required: [
171023
+ "reason",
171024
+ "observations"
171025
+ ],
171026
+ properties: {
171027
+ reason: {
171028
+ minLength: 1,
171029
+ maxLength: 200,
171030
+ description: "Sent as pMotivo: exactly a reason list_cancellation_reasons answers, or BOOKING_OPTION_NOT_FOUND.",
171031
+ type: "string"
171032
+ },
171033
+ observations: {
171034
+ minLength: 1,
171035
+ maxLength: 250,
171036
+ pattern: "^[0-9A-Za-zÁÉÍÓÚÜÑáéíóúüñ ,.;:()/#-]*$",
171037
+ description: "Sent as pObservaciones; the provider's screen requires them, up to 250 characters.",
171038
+ type: "string"
171039
+ }
171040
+ }
171041
+ },
171042
+ agentMode: {
171043
+ description: "true answers { text }: concise Spanish facts for a messaging or voice agent, with the short ids and the cursor needed to continue. false, the default, answers the structured object.",
171044
+ type: "boolean",
171045
+ default: false
171046
+ }
171047
+ }
171048
+ },
171049
+ OficlinicCancelAppointmentConflictError: {
171050
+ type: "object",
171051
+ description: "A failed answer.",
171052
+ additionalProperties: false,
171053
+ required: [
171054
+ "success",
171055
+ "data",
171056
+ "error",
171057
+ "metadata"
171058
+ ],
171059
+ properties: {
171060
+ success: {
171061
+ type: "boolean",
171062
+ enum: [
171063
+ false
171064
+ ]
171065
+ },
171066
+ data: {
171067
+ const: null
171068
+ },
171069
+ error: {
171070
+ $ref: "#/components/schemas/OficlinicCancelAppointmentConflictFailure"
171071
+ },
171072
+ metadata: {
171073
+ $ref: "#/components/schemas/ResponseMetadata"
171074
+ }
171075
+ }
171076
+ },
171077
+ OficlinicCancelAppointmentConflictFailure: {
171078
+ oneOf: [
171079
+ {
171080
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
171081
+ },
171082
+ {
171083
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
171084
+ },
171085
+ {
171086
+ $ref: "#/components/schemas/OficlinicConnectionBusyFailure"
171087
+ },
171088
+ {
171089
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
171090
+ },
171091
+ {
171092
+ $ref: "#/components/schemas/OficlinicAppointmentNotCancellableFailure"
171093
+ },
171094
+ {
171095
+ $ref: "#/components/schemas/OficlinicIdempotencyKeyReusedFailure"
171096
+ },
171097
+ {
171098
+ $ref: "#/components/schemas/OficlinicWriteTargetUnresolvedFailure"
171099
+ }
171100
+ ],
171101
+ discriminator: {
171102
+ propertyName: "code",
171103
+ mapping: {
171104
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
171105
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
171106
+ CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
171107
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure",
171108
+ APPOINTMENT_NOT_CANCELLABLE: "#/components/schemas/OficlinicAppointmentNotCancellableFailure",
171109
+ IDEMPOTENCY_KEY_REUSED: "#/components/schemas/OficlinicIdempotencyKeyReusedFailure",
171110
+ WRITE_TARGET_UNRESOLVED: "#/components/schemas/OficlinicWriteTargetUnresolvedFailure"
171111
+ }
171112
+ }
171113
+ },
171114
+ OficlinicCancelAppointmentNotFoundError: {
171115
+ type: "object",
171116
+ description: "A failed answer.",
171117
+ additionalProperties: false,
171118
+ required: [
171119
+ "success",
171120
+ "data",
171121
+ "error",
171122
+ "metadata"
171123
+ ],
171124
+ properties: {
171125
+ success: {
171126
+ type: "boolean",
171127
+ enum: [
171128
+ false
171129
+ ]
171130
+ },
171131
+ data: {
171132
+ const: null
171133
+ },
171134
+ error: {
171135
+ $ref: "#/components/schemas/OficlinicCancelAppointmentNotFoundFailure"
171136
+ },
171137
+ metadata: {
171138
+ $ref: "#/components/schemas/ResponseMetadata"
171139
+ }
171140
+ }
171141
+ },
171142
+ OficlinicCancelAppointmentNotFoundFailure: {
171143
+ oneOf: [
171144
+ {
171145
+ $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
171146
+ },
171147
+ {
171148
+ $ref: "#/components/schemas/OficlinicPatientNotFoundFailure"
171149
+ },
171150
+ {
171151
+ $ref: "#/components/schemas/OficlinicAppointmentNotFoundFailure"
171152
+ },
171153
+ {
171154
+ $ref: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
171155
+ }
171156
+ ],
171157
+ discriminator: {
171158
+ propertyName: "code",
171159
+ mapping: {
171160
+ CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
171161
+ PATIENT_NOT_FOUND: "#/components/schemas/OficlinicPatientNotFoundFailure",
171162
+ APPOINTMENT_NOT_FOUND: "#/components/schemas/OficlinicAppointmentNotFoundFailure",
171163
+ BOOKING_OPTION_NOT_FOUND: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
171164
+ }
171165
+ }
171166
+ },
171167
+ OficlinicCancelAppointmentResult: {
171168
+ anyOf: [
171169
+ {
171170
+ $ref: "#/components/schemas/OficlinicAppointmentCancellation"
171171
+ },
171172
+ {
171173
+ $ref: "#/components/schemas/OficlinicAgentText"
171174
+ }
171175
+ ]
171176
+ },
171177
+ OficlinicCancelAppointmentResultResponse: {
171178
+ type: "object",
171179
+ description: "A successful answer.",
171180
+ additionalProperties: false,
171181
+ required: [
171182
+ "success",
171183
+ "data",
171184
+ "error",
171185
+ "metadata"
171186
+ ],
171187
+ properties: {
171188
+ success: {
171189
+ type: "boolean",
171190
+ enum: [
171191
+ true
171192
+ ]
171193
+ },
171194
+ data: {
171195
+ $ref: "#/components/schemas/OficlinicCancelAppointmentResult"
171196
+ },
171197
+ error: {
171198
+ const: null
171199
+ },
171200
+ metadata: {
171201
+ $ref: "#/components/schemas/ResponseMetadata"
171202
+ }
171203
+ }
171204
+ },
171205
+ OficlinicCancelAppointmentServiceUnavailableError: {
171206
+ type: "object",
171207
+ description: "A failed answer.",
171208
+ additionalProperties: false,
171209
+ required: [
171210
+ "success",
171211
+ "data",
171212
+ "error",
171213
+ "metadata"
171214
+ ],
171215
+ properties: {
171216
+ success: {
171217
+ type: "boolean",
171218
+ enum: [
171219
+ false
171220
+ ]
171221
+ },
171222
+ data: {
171223
+ const: null
171224
+ },
171225
+ error: {
171226
+ $ref: "#/components/schemas/OficlinicCancelAppointmentServiceUnavailableFailure"
171227
+ },
171228
+ metadata: {
171229
+ $ref: "#/components/schemas/ResponseMetadata"
171230
+ }
171231
+ }
171232
+ },
171233
+ OficlinicCancelAppointmentServiceUnavailableFailure: {
171234
+ oneOf: [
171235
+ {
171236
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
171237
+ },
171238
+ {
171239
+ $ref: "#/components/schemas/ProviderUnavailableFailure"
171240
+ },
171241
+ {
171242
+ $ref: "#/components/schemas/OficlinicWriteLedgerFullFailure"
171243
+ }
171244
+ ],
171245
+ discriminator: {
171246
+ propertyName: "code",
171247
+ mapping: {
171248
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
171249
+ PROVIDER_UNAVAILABLE: "#/components/schemas/ProviderUnavailableFailure",
171250
+ WRITE_LEDGER_FULL: "#/components/schemas/OficlinicWriteLedgerFullFailure"
171251
+ }
171252
+ }
171253
+ },
171254
+ OficlinicCancelAppointmentTooManyRequestsError: {
171255
+ type: "object",
171256
+ description: "A failed answer.",
171257
+ additionalProperties: false,
171258
+ required: [
171259
+ "success",
171260
+ "data",
171261
+ "error",
171262
+ "metadata"
171263
+ ],
171264
+ properties: {
171265
+ success: {
171266
+ type: "boolean",
171267
+ enum: [
171268
+ false
171269
+ ]
171270
+ },
171271
+ data: {
171272
+ const: null
171273
+ },
171274
+ error: {
171275
+ $ref: "#/components/schemas/OficlinicCancelAppointmentTooManyRequestsFailure"
171276
+ },
171277
+ metadata: {
171278
+ $ref: "#/components/schemas/ResponseMetadata"
171279
+ }
171280
+ }
171281
+ },
171282
+ OficlinicCancelAppointmentTooManyRequestsFailure: {
171283
+ oneOf: [
171284
+ {
171285
+ $ref: "#/components/schemas/RateLimitedFailure"
171286
+ },
171287
+ {
171288
+ $ref: "#/components/schemas/OficlinicLoginCoolingDownFailure"
171289
+ }
171290
+ ],
171291
+ discriminator: {
171292
+ propertyName: "code",
171293
+ mapping: {
171294
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
171295
+ LOGIN_COOLING_DOWN: "#/components/schemas/OficlinicLoginCoolingDownFailure"
171296
+ }
171297
+ }
171298
+ },
171299
+ OficlinicCancelAppointmentUnprocessableContentError: {
171300
+ type: "object",
171301
+ description: "A failed answer.",
171302
+ additionalProperties: false,
171303
+ required: [
171304
+ "success",
171305
+ "data",
171306
+ "error",
171307
+ "metadata"
171308
+ ],
171309
+ properties: {
171310
+ success: {
171311
+ type: "boolean",
171312
+ enum: [
171313
+ false
171314
+ ]
171315
+ },
171316
+ data: {
171317
+ const: null
171318
+ },
171319
+ error: {
171320
+ $ref: "#/components/schemas/OficlinicCancelAppointmentUnprocessableContentFailure"
171321
+ },
171322
+ metadata: {
171323
+ $ref: "#/components/schemas/ResponseMetadata"
171324
+ }
171325
+ }
171326
+ },
171327
+ OficlinicCancelAppointmentUnprocessableContentFailure: {
171328
+ oneOf: [
171329
+ {
171330
+ $ref: "#/components/schemas/CredentialsRejectedFailure"
171331
+ },
171332
+ {
171333
+ $ref: "#/components/schemas/OficlinicContextNotAvailableFailure"
171334
+ },
171335
+ {
171336
+ $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
171337
+ }
171338
+ ],
171339
+ discriminator: {
171340
+ propertyName: "code",
171341
+ mapping: {
171342
+ CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
171343
+ CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
171344
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
171345
+ }
171346
+ }
171347
+ },
170556
171348
  OficlinicCancellationReason: {
170557
171349
  additionalProperties: false,
170558
171350
  type: "object",
@@ -171676,6 +172468,441 @@ var schemaComponents = {
171676
172468
  }
171677
172469
  }
171678
172470
  },
172471
+ OficlinicDailyRosterAppointment: {
172472
+ additionalProperties: false,
172473
+ type: "object",
172474
+ required: [
172475
+ "appointmentId",
172476
+ "date",
172477
+ "timeLabel",
172478
+ "professional",
172479
+ "location",
172480
+ "patientName",
172481
+ "service"
172482
+ ],
172483
+ properties: {
172484
+ appointmentId: {
172485
+ pattern: "^[0-9]{1,15}$",
172486
+ type: "string"
172487
+ },
172488
+ date: {
172489
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
172490
+ description: "The appointment date in Colombia, as YYYY-MM-DD.",
172491
+ type: "string"
172492
+ },
172493
+ timeLabel: {
172494
+ minLength: 1,
172495
+ maxLength: 80,
172496
+ type: "string"
172497
+ },
172498
+ professional: {
172499
+ minLength: 1,
172500
+ maxLength: 256,
172501
+ type: "string"
172502
+ },
172503
+ location: {
172504
+ minLength: 1,
172505
+ maxLength: 256,
172506
+ type: "string"
172507
+ },
172508
+ patientName: {
172509
+ minLength: 1,
172510
+ maxLength: 256,
172511
+ type: "string"
172512
+ },
172513
+ service: {
172514
+ minLength: 1,
172515
+ maxLength: 256,
172516
+ type: "string"
172517
+ }
172518
+ }
172519
+ },
172520
+ OficlinicDailyRosterPage: {
172521
+ additionalProperties: false,
172522
+ type: "object",
172523
+ required: [
172524
+ "data",
172525
+ "object",
172526
+ "pageInfo"
172527
+ ],
172528
+ properties: {
172529
+ data: {
172530
+ description: "Items admitted by this resource contract within the verified organization.",
172531
+ type: "array",
172532
+ items: {
172533
+ $ref: "#/components/schemas/OficlinicDailyRosterAppointment"
172534
+ }
172535
+ },
172536
+ object: {
172537
+ description: "Discriminator for a resource list response.",
172538
+ const: "list",
172539
+ type: "string"
172540
+ },
172541
+ pageInfo: {
172542
+ $ref: "#/components/schemas/PageInfo",
172543
+ description: "Opaque navigation cursors for this page’s stable keyset order."
172544
+ }
172545
+ }
172546
+ },
172547
+ OficlinicDailyRosterPageResponse: {
172548
+ type: "object",
172549
+ description: "A successful answer.",
172550
+ additionalProperties: false,
172551
+ required: [
172552
+ "success",
172553
+ "data",
172554
+ "error",
172555
+ "metadata"
172556
+ ],
172557
+ properties: {
172558
+ success: {
172559
+ type: "boolean",
172560
+ enum: [
172561
+ true
172562
+ ]
172563
+ },
172564
+ data: {
172565
+ $ref: "#/components/schemas/OficlinicDailyRosterPage"
172566
+ },
172567
+ error: {
172568
+ const: null
172569
+ },
172570
+ metadata: {
172571
+ $ref: "#/components/schemas/ResponseMetadata"
172572
+ }
172573
+ }
172574
+ },
172575
+ OficlinicGetDailyRosterBadGatewayError: {
172576
+ type: "object",
172577
+ description: "A failed answer.",
172578
+ additionalProperties: false,
172579
+ required: [
172580
+ "success",
172581
+ "data",
172582
+ "error",
172583
+ "metadata"
172584
+ ],
172585
+ properties: {
172586
+ success: {
172587
+ type: "boolean",
172588
+ enum: [
172589
+ false
172590
+ ]
172591
+ },
172592
+ data: {
172593
+ const: null
172594
+ },
172595
+ error: {
172596
+ $ref: "#/components/schemas/OficlinicGetDailyRosterBadGatewayFailure"
172597
+ },
172598
+ metadata: {
172599
+ $ref: "#/components/schemas/ResponseMetadata"
172600
+ }
172601
+ }
172602
+ },
172603
+ OficlinicGetDailyRosterBadGatewayFailure: {
172604
+ oneOf: [
172605
+ {
172606
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
172607
+ },
172608
+ {
172609
+ $ref: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure"
172610
+ },
172611
+ {
172612
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
172613
+ }
172614
+ ],
172615
+ discriminator: {
172616
+ propertyName: "code",
172617
+ mapping: {
172618
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
172619
+ SIGN_IN_OUTCOME_UNKNOWN: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure",
172620
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure"
172621
+ }
172622
+ }
172623
+ },
172624
+ OficlinicGetDailyRosterBadRequestError: {
172625
+ type: "object",
172626
+ description: "A failed answer.",
172627
+ additionalProperties: false,
172628
+ required: [
172629
+ "success",
172630
+ "data",
172631
+ "error",
172632
+ "metadata"
172633
+ ],
172634
+ properties: {
172635
+ success: {
172636
+ type: "boolean",
172637
+ enum: [
172638
+ false
172639
+ ]
172640
+ },
172641
+ data: {
172642
+ const: null
172643
+ },
172644
+ error: {
172645
+ $ref: "#/components/schemas/OficlinicGetDailyRosterBadRequestFailure"
172646
+ },
172647
+ metadata: {
172648
+ $ref: "#/components/schemas/ResponseMetadata"
172649
+ }
172650
+ }
172651
+ },
172652
+ OficlinicGetDailyRosterBadRequestFailure: {
172653
+ oneOf: [
172654
+ {
172655
+ $ref: "#/components/schemas/InvalidInputFailure"
172656
+ },
172657
+ {
172658
+ $ref: "#/components/schemas/OficlinicInvalidCursorFailure"
172659
+ }
172660
+ ],
172661
+ discriminator: {
172662
+ propertyName: "code",
172663
+ mapping: {
172664
+ INVALID_INPUT: "#/components/schemas/InvalidInputFailure",
172665
+ INVALID_CURSOR: "#/components/schemas/OficlinicInvalidCursorFailure"
172666
+ }
172667
+ }
172668
+ },
172669
+ OficlinicGetDailyRosterConflictError: {
172670
+ type: "object",
172671
+ description: "A failed answer.",
172672
+ additionalProperties: false,
172673
+ required: [
172674
+ "success",
172675
+ "data",
172676
+ "error",
172677
+ "metadata"
172678
+ ],
172679
+ properties: {
172680
+ success: {
172681
+ type: "boolean",
172682
+ enum: [
172683
+ false
172684
+ ]
172685
+ },
172686
+ data: {
172687
+ const: null
172688
+ },
172689
+ error: {
172690
+ $ref: "#/components/schemas/OficlinicGetDailyRosterConflictFailure"
172691
+ },
172692
+ metadata: {
172693
+ $ref: "#/components/schemas/ResponseMetadata"
172694
+ }
172695
+ }
172696
+ },
172697
+ OficlinicGetDailyRosterConflictFailure: {
172698
+ oneOf: [
172699
+ {
172700
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
172701
+ },
172702
+ {
172703
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
172704
+ },
172705
+ {
172706
+ $ref: "#/components/schemas/OficlinicConnectionBusyFailure"
172707
+ },
172708
+ {
172709
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
172710
+ }
172711
+ ],
172712
+ discriminator: {
172713
+ propertyName: "code",
172714
+ mapping: {
172715
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
172716
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
172717
+ CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
172718
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
172719
+ }
172720
+ }
172721
+ },
172722
+ OficlinicGetDailyRosterNotFoundError: {
172723
+ type: "object",
172724
+ description: "A failed answer.",
172725
+ additionalProperties: false,
172726
+ required: [
172727
+ "success",
172728
+ "data",
172729
+ "error",
172730
+ "metadata"
172731
+ ],
172732
+ properties: {
172733
+ success: {
172734
+ type: "boolean",
172735
+ enum: [
172736
+ false
172737
+ ]
172738
+ },
172739
+ data: {
172740
+ const: null
172741
+ },
172742
+ error: {
172743
+ $ref: "#/components/schemas/OficlinicGetDailyRosterNotFoundFailure"
172744
+ },
172745
+ metadata: {
172746
+ $ref: "#/components/schemas/ResponseMetadata"
172747
+ }
172748
+ }
172749
+ },
172750
+ OficlinicGetDailyRosterNotFoundFailure: {
172751
+ oneOf: [
172752
+ {
172753
+ $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
172754
+ },
172755
+ {
172756
+ $ref: "#/components/schemas/OficlinicProfessionalNotFoundFailure"
172757
+ }
172758
+ ],
172759
+ discriminator: {
172760
+ propertyName: "code",
172761
+ mapping: {
172762
+ CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
172763
+ PROFESSIONAL_NOT_FOUND: "#/components/schemas/OficlinicProfessionalNotFoundFailure"
172764
+ }
172765
+ }
172766
+ },
172767
+ OficlinicGetDailyRosterServiceUnavailableError: {
172768
+ type: "object",
172769
+ description: "A failed answer.",
172770
+ additionalProperties: false,
172771
+ required: [
172772
+ "success",
172773
+ "data",
172774
+ "error",
172775
+ "metadata"
172776
+ ],
172777
+ properties: {
172778
+ success: {
172779
+ type: "boolean",
172780
+ enum: [
172781
+ false
172782
+ ]
172783
+ },
172784
+ data: {
172785
+ const: null
172786
+ },
172787
+ error: {
172788
+ $ref: "#/components/schemas/OficlinicGetDailyRosterServiceUnavailableFailure"
172789
+ },
172790
+ metadata: {
172791
+ $ref: "#/components/schemas/ResponseMetadata"
172792
+ }
172793
+ }
172794
+ },
172795
+ OficlinicGetDailyRosterServiceUnavailableFailure: {
172796
+ oneOf: [
172797
+ {
172798
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
172799
+ },
172800
+ {
172801
+ $ref: "#/components/schemas/ProviderUnavailableFailure"
172802
+ }
172803
+ ],
172804
+ discriminator: {
172805
+ propertyName: "code",
172806
+ mapping: {
172807
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
172808
+ PROVIDER_UNAVAILABLE: "#/components/schemas/ProviderUnavailableFailure"
172809
+ }
172810
+ }
172811
+ },
172812
+ OficlinicGetDailyRosterTooManyRequestsError: {
172813
+ type: "object",
172814
+ description: "A failed answer.",
172815
+ additionalProperties: false,
172816
+ required: [
172817
+ "success",
172818
+ "data",
172819
+ "error",
172820
+ "metadata"
172821
+ ],
172822
+ properties: {
172823
+ success: {
172824
+ type: "boolean",
172825
+ enum: [
172826
+ false
172827
+ ]
172828
+ },
172829
+ data: {
172830
+ const: null
172831
+ },
172832
+ error: {
172833
+ $ref: "#/components/schemas/OficlinicGetDailyRosterTooManyRequestsFailure"
172834
+ },
172835
+ metadata: {
172836
+ $ref: "#/components/schemas/ResponseMetadata"
172837
+ }
172838
+ }
172839
+ },
172840
+ OficlinicGetDailyRosterTooManyRequestsFailure: {
172841
+ oneOf: [
172842
+ {
172843
+ $ref: "#/components/schemas/RateLimitedFailure"
172844
+ },
172845
+ {
172846
+ $ref: "#/components/schemas/OficlinicLoginCoolingDownFailure"
172847
+ }
172848
+ ],
172849
+ discriminator: {
172850
+ propertyName: "code",
172851
+ mapping: {
172852
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
172853
+ LOGIN_COOLING_DOWN: "#/components/schemas/OficlinicLoginCoolingDownFailure"
172854
+ }
172855
+ }
172856
+ },
172857
+ OficlinicGetDailyRosterUnprocessableContentError: {
172858
+ type: "object",
172859
+ description: "A failed answer.",
172860
+ additionalProperties: false,
172861
+ required: [
172862
+ "success",
172863
+ "data",
172864
+ "error",
172865
+ "metadata"
172866
+ ],
172867
+ properties: {
172868
+ success: {
172869
+ type: "boolean",
172870
+ enum: [
172871
+ false
172872
+ ]
172873
+ },
172874
+ data: {
172875
+ const: null
172876
+ },
172877
+ error: {
172878
+ $ref: "#/components/schemas/OficlinicGetDailyRosterUnprocessableContentFailure"
172879
+ },
172880
+ metadata: {
172881
+ $ref: "#/components/schemas/ResponseMetadata"
172882
+ }
172883
+ }
172884
+ },
172885
+ OficlinicGetDailyRosterUnprocessableContentFailure: {
172886
+ oneOf: [
172887
+ {
172888
+ $ref: "#/components/schemas/CredentialsRejectedFailure"
172889
+ },
172890
+ {
172891
+ $ref: "#/components/schemas/OficlinicContextNotAvailableFailure"
172892
+ },
172893
+ {
172894
+ $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
172895
+ }
172896
+ ],
172897
+ discriminator: {
172898
+ propertyName: "code",
172899
+ mapping: {
172900
+ CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
172901
+ CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
172902
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
172903
+ }
172904
+ }
172905
+ },
171679
172906
  OficlinicGetServiceCatalogBadGatewayError: {
171680
172907
  type: "object",
171681
172908
  description: "A failed answer.",
@@ -233110,6 +234337,79 @@ var schemaComponents = {
233110
234337
  },
233111
234338
  additionalProperties: false
233112
234339
  },
234340
+ VisoftLookupPatientNameEncodingBadGatewayError: {
234341
+ type: "object",
234342
+ description: "A failed answer.",
234343
+ additionalProperties: false,
234344
+ required: [
234345
+ "success",
234346
+ "data",
234347
+ "error",
234348
+ "metadata"
234349
+ ],
234350
+ properties: {
234351
+ success: {
234352
+ type: "boolean",
234353
+ enum: [
234354
+ false
234355
+ ]
234356
+ },
234357
+ data: {
234358
+ const: null
234359
+ },
234360
+ error: {
234361
+ $ref: "#/components/schemas/VisoftLookupPatientNameEncodingBadGatewayFailure"
234362
+ },
234363
+ metadata: {
234364
+ $ref: "#/components/schemas/ResponseMetadata"
234365
+ }
234366
+ }
234367
+ },
234368
+ VisoftLookupPatientNameEncodingBadGatewayFailure: {
234369
+ oneOf: [
234370
+ {
234371
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
234372
+ },
234373
+ {
234374
+ $ref: "#/components/schemas/VisoftProviderUnavailableFailure"
234375
+ }
234376
+ ],
234377
+ discriminator: {
234378
+ propertyName: "code",
234379
+ mapping: {
234380
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
234381
+ PROVIDER_UNAVAILABLE: "#/components/schemas/VisoftProviderUnavailableFailure"
234382
+ }
234383
+ }
234384
+ },
234385
+ VisoftLookupPatientNameEncodingBody: {
234386
+ type: "object",
234387
+ required: [
234388
+ "documentNumbers"
234389
+ ],
234390
+ properties: {
234391
+ connectionId: {
234392
+ type: "string",
234393
+ minLength: 5,
234394
+ maxLength: 68,
234395
+ pattern: "^con_[0-9A-Za-z]+$",
234396
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
234397
+ },
234398
+ documentNumbers: {
234399
+ type: "array",
234400
+ items: {
234401
+ type: "string",
234402
+ pattern: "^[A-Za-z0-9]{1,20}$",
234403
+ description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
234404
+ },
234405
+ description: "Distinct patient document numbers from an authorized source.",
234406
+ minItems: 1,
234407
+ maxItems: 8,
234408
+ uniqueItems: true
234409
+ }
234410
+ },
234411
+ additionalProperties: false
234412
+ },
233113
234413
  VisoftPatient: {
233114
234414
  type: "object",
233115
234415
  required: [
@@ -233428,6 +234728,99 @@ var schemaComponents = {
233428
234728
  }
233429
234729
  }
233430
234730
  },
234731
+ VisoftPatientNameEncodingAudit: {
234732
+ type: "object",
234733
+ required: [
234734
+ "results"
234735
+ ],
234736
+ properties: {
234737
+ results: {
234738
+ type: "array",
234739
+ items: {
234740
+ $ref: "#/components/schemas/VisoftPatientNameEncodingResult"
234741
+ },
234742
+ description: "One result per supplied document number, in the same order."
234743
+ }
234744
+ },
234745
+ additionalProperties: false
234746
+ },
234747
+ VisoftPatientNameEncodingAuditResponse: {
234748
+ type: "object",
234749
+ description: "A successful answer.",
234750
+ additionalProperties: false,
234751
+ required: [
234752
+ "success",
234753
+ "data",
234754
+ "error",
234755
+ "metadata"
234756
+ ],
234757
+ properties: {
234758
+ success: {
234759
+ type: "boolean",
234760
+ enum: [
234761
+ true
234762
+ ]
234763
+ },
234764
+ data: {
234765
+ $ref: "#/components/schemas/VisoftPatientNameEncodingAudit"
234766
+ },
234767
+ error: {
234768
+ const: null
234769
+ },
234770
+ metadata: {
234771
+ $ref: "#/components/schemas/ResponseMetadata"
234772
+ }
234773
+ }
234774
+ },
234775
+ VisoftPatientNameEncodingResult: {
234776
+ type: "object",
234777
+ required: [
234778
+ "found",
234779
+ "documentType",
234780
+ "affectedFields"
234781
+ ],
234782
+ properties: {
234783
+ found: {
234784
+ type: "boolean"
234785
+ },
234786
+ documentType: {
234787
+ anyOf: [
234788
+ {
234789
+ type: "string"
234790
+ },
234791
+ {
234792
+ type: "null"
234793
+ }
234794
+ ],
234795
+ description: "The SIIPS document type for an affected patient, or null."
234796
+ },
234797
+ affectedFields: {
234798
+ type: "array",
234799
+ items: {
234800
+ anyOf: [
234801
+ {
234802
+ type: "string",
234803
+ const: "firstName1"
234804
+ },
234805
+ {
234806
+ type: "string",
234807
+ const: "firstName2"
234808
+ },
234809
+ {
234810
+ type: "string",
234811
+ const: "lastName1"
234812
+ },
234813
+ {
234814
+ type: "string",
234815
+ const: "lastName2"
234816
+ }
234817
+ ]
234818
+ },
234819
+ description: "Stored name fields containing a recognizable misdecoded Spanish accent."
234820
+ }
234821
+ },
234822
+ additionalProperties: false
234823
+ },
233431
234824
  VisoftPatientNotFoundFailure: {
233432
234825
  type: "object",
233433
234826
  description: "SIIPS has no patient with that document.",
@@ -241459,6 +242852,80 @@ var schemaComponents = {
241459
242852
  }
241460
242853
  }
241461
242854
  },
242855
+ OficlinicAppointmentsCancelInput: {
242856
+ additionalProperties: false,
242857
+ type: "object",
242858
+ required: [
242859
+ "documentType",
242860
+ "documentNumber",
242861
+ "idempotencyKey",
242862
+ "confirm",
242863
+ "cancellation",
242864
+ "appointmentId"
242865
+ ],
242866
+ properties: {
242867
+ connectionId: {
242868
+ pattern: "^con_[0-9A-Za-z]{26}$",
242869
+ description: "An Account connection id of the caller's organization.",
242870
+ type: "string"
242871
+ },
242872
+ documentType: {
242873
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
242874
+ const: "CC",
242875
+ type: "string"
242876
+ },
242877
+ documentNumber: {
242878
+ pattern: "^[0-9]{3,15}$",
242879
+ description: "The document number, digits only.",
242880
+ type: "string"
242881
+ },
242882
+ idempotencyKey: {
242883
+ minLength: 8,
242884
+ maxLength: 64,
242885
+ pattern: "^[A-Za-z0-9_-]+$",
242886
+ description: "A key the caller chooses once per intended write, such as a UUID. Repeating it with the same request answers the recorded outcome and never writes again; another request with it answers IDEMPOTENCY_KEY_REUSED.",
242887
+ type: "string"
242888
+ },
242889
+ confirm: {
242890
+ description: "The patient or authorized staff explicitly confirmed cancellation of this appointment.",
242891
+ const: true,
242892
+ type: "boolean"
242893
+ },
242894
+ cancellation: {
242895
+ additionalProperties: false,
242896
+ type: "object",
242897
+ required: [
242898
+ "reason",
242899
+ "observations"
242900
+ ],
242901
+ properties: {
242902
+ reason: {
242903
+ minLength: 1,
242904
+ maxLength: 200,
242905
+ description: "Sent as pMotivo: exactly a reason list_cancellation_reasons answers, or BOOKING_OPTION_NOT_FOUND.",
242906
+ type: "string"
242907
+ },
242908
+ observations: {
242909
+ minLength: 1,
242910
+ maxLength: 250,
242911
+ pattern: "^[0-9A-Za-zÁÉÍÓÚÜÑáéíóúüñ ,.;:()/#-]*$",
242912
+ description: "Sent as pObservaciones; the provider's screen requires them, up to 250 characters.",
242913
+ type: "string"
242914
+ }
242915
+ }
242916
+ },
242917
+ agentMode: {
242918
+ description: "true answers { text }: concise Spanish facts for a messaging or voice agent, with the short ids and the cursor needed to continue. false, the default, answers the structured object.",
242919
+ type: "boolean",
242920
+ default: false
242921
+ },
242922
+ appointmentId: {
242923
+ pattern: "^[0-9]{1,15}$",
242924
+ type: "string",
242925
+ description: "The appointment id."
242926
+ }
242927
+ }
242928
+ },
241462
242929
  OficlinicAppointmentsRescheduleInput: {
241463
242930
  additionalProperties: false,
241464
242931
  type: "object",
@@ -242236,6 +243703,59 @@ var schemaComponents = {
242236
243703
  ],
242237
243704
  additionalProperties: false
242238
243705
  },
243706
+ OficlinicDailyRosterListInput: {
243707
+ type: "object",
243708
+ properties: {
243709
+ connectionId: {
243710
+ pattern: "^con_[0-9A-Za-z]{26}$",
243711
+ description: "An Account connection id of the caller's organization.",
243712
+ type: "string"
243713
+ },
243714
+ date: {
243715
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
243716
+ description: "The appointment date in Colombia, as YYYY-MM-DD.",
243717
+ type: "string"
243718
+ },
243719
+ professionalId: {
243720
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
243721
+ description: "The professional's provider id, from list_professionals.",
243722
+ type: "string"
243723
+ },
243724
+ cursor: {
243725
+ minLength: 4,
243726
+ maxLength: 192,
243727
+ pattern: "^[A-Za-z0-9_-]+$",
243728
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
243729
+ type: "string"
243730
+ },
243731
+ direction: {
243732
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
243733
+ anyOf: [
243734
+ {
243735
+ const: "forward",
243736
+ type: "string"
243737
+ },
243738
+ {
243739
+ const: "backward",
243740
+ type: "string"
243741
+ }
243742
+ ],
243743
+ default: "forward"
243744
+ },
243745
+ limit: {
243746
+ minimum: 1,
243747
+ maximum: 50,
243748
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
243749
+ type: "integer",
243750
+ default: 25
243751
+ }
243752
+ },
243753
+ required: [
243754
+ "date",
243755
+ "professionalId"
243756
+ ],
243757
+ additionalProperties: false
243758
+ },
242239
243759
  OficlinicPatientsLookupInput: {
242240
243760
  additionalProperties: false,
242241
243761
  type: "object",
@@ -251742,6 +253262,35 @@ var schemaComponents = {
251742
253262
  },
251743
253263
  additionalProperties: false
251744
253264
  },
253265
+ VisoftPatientNameEncodingsLookupInput: {
253266
+ type: "object",
253267
+ required: [
253268
+ "documentNumbers"
253269
+ ],
253270
+ properties: {
253271
+ connectionId: {
253272
+ type: "string",
253273
+ minLength: 5,
253274
+ maxLength: 68,
253275
+ pattern: "^con_[0-9A-Za-z]+$",
253276
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
253277
+ },
253278
+ documentNumbers: {
253279
+ type: "array",
253280
+ items: {
253281
+ type: "string",
253282
+ pattern: "^[A-Za-z0-9]{1,20}$",
253283
+ description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
253284
+ },
253285
+ description: "Distinct patient document numbers from an authorized source.",
253286
+ minItems: 1,
253287
+ maxItems: 8,
253288
+ uniqueItems: true,
253289
+ secret: true
253290
+ }
253291
+ },
253292
+ additionalProperties: false
253293
+ },
251745
253294
  VisoftPatientsCreateInput: {
251746
253295
  type: "object",
251747
253296
  required: [
@@ -252294,9 +253843,9 @@ var schemaComponents = {
252294
253843
  // src/generated/generation.json
252295
253844
  var generation_default = {
252296
253845
  formatVersion: 6,
252297
- release: "1.20261111.45612",
252298
- openapiSha256: "5297bf1a8335b8586945c58f21a9f8e3ae1e932a1dd4eba94d73f619149e11ce",
252299
- openapiContentSha256: "46bcfbef3094b8f286fb9f846076e165320c673633d38f211f9face273e8751c",
253846
+ release: "1.20261111.183700",
253847
+ openapiSha256: "70f3635e50cf73439d791c5119d0ed0157abe437771fb721468a1afc900d26a1",
253848
+ openapiContentSha256: "33e7912ce177f9d40ce44d36412f91639dc136ee547d0fa3a8edd614274317d4",
252300
253849
  forge: {
252301
253850
  repository: "https://github.com/cloudflare/forge",
252302
253851
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -252309,7 +253858,7 @@ var generation_default = {
252309
253858
  outputs: [
252310
253859
  {
252311
253860
  path: "src/generated/commands.ts",
252312
- sha256: "71207e4be2def7fb71fb009559329323e6186baff8e19642b46050673dd49229"
253861
+ sha256: "53c309e4a0b0dc5f8fdb51e32f11b04616c6921af7c089016012ac3194b1b34b"
252313
253862
  }
252314
253863
  ]
252315
253864
  };
@@ -253909,7 +255458,7 @@ ${name}`);
253909
255458
  }
253910
255459
 
253911
255460
  // src/index.ts
253912
- var VERSION = "3.50.0";
255461
+ var VERSION = "3.52.0";
253913
255462
  var RELEASE = generation_default.release;
253914
255463
  var commands2 = { ...commands, ...accountOperatorCommands };
253915
255464
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));