@arbol-ai/cli 3.53.0 → 3.54.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 +2201 -660
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -14154,10 +14154,10 @@ var commands = {
14154
14154
  ]
14155
14155
  },
14156
14156
  copaymentPercentage: {
14157
- description: "Sent as pPorCopagos.",
14157
+ description: "Sent unchanged as pPorCopagos, preserving the source rate's precision.",
14158
14158
  anyOf: [
14159
14159
  {
14160
- pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,2})?$",
14160
+ pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,6})?$",
14161
14161
  type: "string"
14162
14162
  },
14163
14163
  {
@@ -14280,7 +14280,7 @@ var commands = {
14280
14280
  }
14281
14281
  },
14282
14282
  title: "Create an appointment",
14283
- description: "Book one appointment in e-Oficlinic (ASIGNAR_CITAS) for a slot that list_booking_slots offered in an availability flow. Requires confirm true and an idempotencyKey. Before anything is written, the patient is resolved by citizenship card; the program and attention type must be the flow's, and the source must still count exactly one unit for them; the regime, affiliate type and relationship must be listed by the provider; the payer, plan, subplan and contract must be listed by the provider for the connection; the service must be configured for the slot's professional; and a fresh read must still show the slot. The classification, billing and referral values are the clinic's own provider codes, which the caller supplies explicitly: this service never guesses them, never derives them from a program and never loads the clinic's tariff matrix. The intent and a fence on the slot are recorded before the single provider request, which is never resent. Success means the provider answered a strictly positive appointment number, the source's own creation signal (verification provider_acknowledgement; this path has no live receipt yet). OUTCOME_UNKNOWN means the appointment may exist: do not book again; check lookup_appointments with status assigned and ask staff. WRITE_TARGET_UNRESOLVED means another key's write to this slot has no final outcome, so nothing was sent. WRITE_LEDGER_FULL means the connection's ledger refused a new write and nothing was sent. Repeating the same idempotencyKey and request answers the recorded outcome. One-slot, one-unit bookings only. agentMode true answers concise Spanish text instead.",
14283
+ description: "Book one appointment in e-Oficlinic (ASIGNAR_CITAS) for a slot that list_booking_slots offered in an availability flow. Requires confirm true and an idempotencyKey. Before anything is written, the patient is resolved by citizenship card; the program and attention type must be the flow's, and the source must still count exactly one unit for them; the regime, affiliate type and relationship must be listed by the provider; the payer, plan, subplan and contract must be listed by the provider for the connection; the service must be configured for the slot's professional; and a fresh read must still show the slot. The classification, billing and referral values are the clinic's own provider codes, which the caller supplies explicitly: this service never guesses them, never derives them from a program and never loads the clinic's tariff matrix. The intent and a fence on the slot are recorded before the single provider request, which is never resent. Success means the provider answered a strictly positive appointment number, the source's own creation signal (verification provider_acknowledgement). OUTCOME_UNKNOWN means the appointment may exist: do not book again; check lookup_appointments with status assigned and ask staff. WRITE_TARGET_UNRESOLVED means another key's write to this slot has no final outcome, so nothing was sent. WRITE_LEDGER_FULL means the connection's ledger refused a new write and nothing was sent. Repeating the same idempotencyKey and request answers the recorded outcome. One-slot, one-unit bookings only. agentMode true answers concise Spanish text instead.",
14284
14284
  effect: "write",
14285
14285
  confirmation: null,
14286
14286
  hidden: false
@@ -14448,7 +14448,7 @@ var commands = {
14448
14448
  }
14449
14449
  },
14450
14450
  title: "Lookup appointments",
14451
- description: "Look up one patient's e-Oficlinic appointment history by status: assigned, cancelled, absence (no-show) or legalized (attendance registered). The patient is resolved by citizenship card number first, sent in the body; PATIENT_NOT_FOUND answers only the provider explicit negative, and every row must name the resolved patient. Staff usernames and free-text observations are never returned. serviceNumber is the appointment's CAS, which reschedule_appointment takes for an assigned appointment. Mapped from the provider's source: a live positive answer has not been verified yet. Read-only. Pass pageInfo.nextCursor as cursor for more. agentMode true answers concise Spanish text instead.",
14451
+ description: "Look up one patient's e-Oficlinic appointment history by status: assigned, cancelled, absence (no-show) or legalized (attendance registered). The patient is resolved by citizenship card number first, sent in the body; PATIENT_NOT_FOUND answers only the provider explicit negative, and every row must name the resolved patient. Staff usernames and free-text observations are never returned. serviceNumber is the appointment's CAS, which reschedule_appointment takes for an assigned appointment. Read-only. Pass pageInfo.nextCursor as cursor for more. agentMode true answers concise Spanish text instead.",
14452
14452
  effect: "read",
14453
14453
  confirmation: null,
14454
14454
  hidden: false
@@ -14785,10 +14785,10 @@ var commands = {
14785
14785
  ]
14786
14786
  },
14787
14787
  copaymentPercentage: {
14788
- description: "Sent as pPorCopagos.",
14788
+ description: "Sent unchanged as pPorCopagos, preserving the source rate's precision.",
14789
14789
  anyOf: [
14790
14790
  {
14791
- pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,2})?$",
14791
+ pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,6})?$",
14792
14792
  type: "string"
14793
14793
  },
14794
14794
  {
@@ -15780,12 +15780,12 @@ var commands = {
15780
15780
  confirmation: null,
15781
15781
  hidden: false
15782
15782
  },
15783
- "oficlinic patients lookup": {
15784
- operation: "oficlinic.patients.lookup",
15783
+ "oficlinic patient-registration-options list": {
15784
+ operation: "oficlinic.patientRegistrationOptions.list",
15785
15785
  sdkPath: [
15786
15786
  "oficlinic",
15787
- "patients",
15788
- "lookup"
15787
+ "patientRegistrationOptions",
15788
+ "list"
15789
15789
  ],
15790
15790
  pathField: null,
15791
15791
  fields: [
@@ -15797,89 +15797,23 @@ var commands = {
15797
15797
  description: "An Account connection id of the caller's organization."
15798
15798
  },
15799
15799
  {
15800
- name: "documentType",
15801
- flag: "document-type",
15800
+ name: "kind",
15801
+ flag: "kind",
15802
15802
  kind: "string",
15803
15803
  required: true,
15804
- description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
15804
+ description: "The kind.",
15805
15805
  choices: [
15806
- "CC"
15806
+ "gender",
15807
+ "zone",
15808
+ "municipality"
15807
15809
  ]
15808
15810
  },
15809
15811
  {
15810
- name: "documentNumber",
15811
- flag: "document-number",
15812
- kind: "string",
15813
- required: true,
15814
- description: "The document number, digits only."
15815
- },
15816
- {
15817
- name: "agentMode",
15818
- flag: "agent-mode",
15819
- kind: "boolean",
15820
- required: false,
15821
- 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.",
15822
- default: false
15823
- }
15824
- ],
15825
- inputSchema: {
15826
- additionalProperties: false,
15827
- type: "object",
15828
- required: [
15829
- "documentType",
15830
- "documentNumber"
15831
- ],
15832
- properties: {
15833
- connectionId: {
15834
- pattern: "^con_[0-9A-Za-z]{26}$",
15835
- description: "An Account connection id of the caller's organization.",
15836
- type: "string"
15837
- },
15838
- documentType: {
15839
- description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
15840
- const: "CC",
15841
- type: "string"
15842
- },
15843
- documentNumber: {
15844
- pattern: "^[0-9]{3,15}$",
15845
- description: "The document number, digits only.",
15846
- type: "string"
15847
- },
15848
- agentMode: {
15849
- 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.",
15850
- type: "boolean",
15851
- default: false
15852
- }
15853
- }
15854
- },
15855
- title: "Look up a patient by document",
15856
- description: "Look up one patient in e-Oficlinic by citizenship card (CC) number, sent in the body and never in a URL. found answers a deliberately projected record (provider id, names, birth date, sex, address, phones, email, municipality) only when the provider returned a record with the requested document; not_found answers only the provider explicit negative. Any failure is not evidence that the patient is absent. This does not verify payer rights or the identity of the person presenting the document. agentMode true answers concise Spanish text instead.",
15857
- effect: "read",
15858
- confirmation: null,
15859
- hidden: false
15860
- },
15861
- "oficlinic payer-contracts list": {
15862
- operation: "oficlinic.payerContracts.list",
15863
- sdkPath: [
15864
- "oficlinic",
15865
- "payerContracts",
15866
- "list"
15867
- ],
15868
- pathField: null,
15869
- fields: [
15870
- {
15871
- name: "connectionId",
15872
- flag: "connection-id",
15812
+ name: "q",
15813
+ flag: "q",
15873
15814
  kind: "string",
15874
15815
  required: false,
15875
- description: "An Account connection id of the caller's organization."
15876
- },
15877
- {
15878
- name: "payerId",
15879
- flag: "payer-id",
15880
- kind: "string",
15881
- required: true,
15882
- description: "A payer id from list_payers."
15816
+ description: "The q."
15883
15817
  },
15884
15818
  {
15885
15819
  name: "cursor",
@@ -15925,256 +15859,767 @@ var commands = {
15925
15859
  description: "An Account connection id of the caller's organization.",
15926
15860
  type: "string"
15927
15861
  },
15928
- payerId: {
15929
- pattern: "^[0-9A-Za-z._-]{1,32}$",
15930
- description: "A payer id from list_payers.",
15931
- type: "string"
15932
- },
15933
- cursor: {
15934
- minLength: 4,
15935
- maxLength: 192,
15936
- pattern: "^[A-Za-z0-9_-]+$",
15937
- description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
15938
- type: "string"
15939
- },
15940
- direction: {
15941
- description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
15862
+ kind: {
15942
15863
  anyOf: [
15943
15864
  {
15944
- const: "forward",
15865
+ const: "gender",
15945
15866
  type: "string"
15946
15867
  },
15947
15868
  {
15948
- const: "backward",
15949
- type: "string"
15950
- }
15951
- ],
15952
- default: "forward"
15953
- },
15954
- limit: {
15955
- minimum: 1,
15956
- maximum: 100,
15957
- description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
15958
- type: "integer",
15959
- default: 25
15960
- },
15961
- agentMode: {
15962
- 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.",
15963
- type: "boolean",
15964
- default: false
15965
- }
15966
- },
15967
- required: [
15968
- "payerId"
15969
- ],
15970
- additionalProperties: false
15971
- },
15972
- title: "List payer contracts",
15973
- description: "List the contracts e-Oficlinic holds for one payer of the connection, in the provider's order, as its booking screen loads them (cbclientescontrato): id, names, number, validity days and active flag. Financial and internal contract fields are never returned. The payer must be one list_payers answers, or PAYER_NOT_FOUND. A contract is not proof of coverage for a patient. Pass pageInfo.nextCursor with the same payerId for more. agentMode true answers concise Spanish text instead.",
15974
- effect: "read",
15975
- confirmation: null,
15976
- hidden: false
15977
- },
15978
- "oficlinic payer-plans list": {
15979
- operation: "oficlinic.payerPlans.list",
15980
- sdkPath: [
15981
- "oficlinic",
15982
- "payerPlans",
15983
- "list"
15984
- ],
15985
- pathField: null,
15986
- fields: [
15987
- {
15988
- name: "connectionId",
15989
- flag: "connection-id",
15990
- kind: "string",
15991
- required: false,
15992
- description: "An Account connection id of the caller's organization."
15993
- },
15994
- {
15995
- name: "payerId",
15996
- flag: "payer-id",
15997
- kind: "string",
15998
- required: true,
15999
- description: "A payer id from list_payers."
16000
- },
16001
- {
16002
- name: "cursor",
16003
- flag: "cursor",
16004
- kind: "string",
16005
- required: false,
16006
- description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
16007
- },
16008
- {
16009
- name: "direction",
16010
- flag: "direction",
16011
- kind: "string",
16012
- required: false,
16013
- description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16014
- choices: [
16015
- "forward",
16016
- "backward"
16017
- ],
16018
- default: "forward"
16019
- },
16020
- {
16021
- name: "limit",
16022
- flag: "limit",
16023
- kind: "integer",
16024
- required: false,
16025
- description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16026
- default: 25
16027
- },
16028
- {
16029
- name: "agentMode",
16030
- flag: "agent-mode",
16031
- kind: "boolean",
16032
- required: false,
16033
- 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.",
16034
- default: false
16035
- }
16036
- ],
16037
- inputSchema: {
16038
- type: "object",
16039
- properties: {
16040
- connectionId: {
16041
- pattern: "^con_[0-9A-Za-z]{26}$",
16042
- description: "An Account connection id of the caller's organization.",
16043
- type: "string"
16044
- },
16045
- payerId: {
16046
- pattern: "^[0-9A-Za-z._-]{1,32}$",
16047
- description: "A payer id from list_payers.",
16048
- type: "string"
16049
- },
16050
- cursor: {
16051
- minLength: 4,
16052
- maxLength: 192,
16053
- pattern: "^[A-Za-z0-9_-]+$",
16054
- description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
16055
- type: "string"
16056
- },
16057
- direction: {
16058
- description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16059
- anyOf: [
16060
- {
16061
- const: "forward",
15869
+ const: "zone",
16062
15870
  type: "string"
16063
15871
  },
16064
15872
  {
16065
- const: "backward",
15873
+ const: "municipality",
16066
15874
  type: "string"
16067
15875
  }
16068
15876
  ],
16069
- default: "forward"
16070
- },
16071
- limit: {
16072
- minimum: 1,
16073
- maximum: 100,
16074
- description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16075
- type: "integer",
16076
- default: 25
15877
+ description: "The kind."
16077
15878
  },
16078
- agentMode: {
16079
- 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.",
16080
- type: "boolean",
16081
- default: false
16082
- }
16083
- },
16084
- required: [
16085
- "payerId"
16086
- ],
16087
- additionalProperties: false
16088
- },
16089
- title: "List payer plans",
16090
- description: "List the plans e-Oficlinic offers for one payer of the connection, in the provider's order, as its booking screen loads them (cbclientesplan). The payer must be one list_payers answers for the connection, or PAYER_NOT_FOUND. A booking takes one of these plans. Pass pageInfo.nextCursor with the same payerId for more. agentMode true answers concise Spanish text instead.",
16091
- effect: "read",
16092
- confirmation: null,
16093
- hidden: false
16094
- },
16095
- "oficlinic payer-subplans list": {
16096
- operation: "oficlinic.payerSubplans.list",
16097
- sdkPath: [
16098
- "oficlinic",
16099
- "payerSubplans",
16100
- "list"
16101
- ],
16102
- pathField: null,
16103
- fields: [
16104
- {
16105
- name: "connectionId",
16106
- flag: "connection-id",
16107
- kind: "string",
16108
- required: false,
16109
- description: "An Account connection id of the caller's organization."
16110
- },
16111
- {
16112
- name: "payerId",
16113
- flag: "payer-id",
16114
- kind: "string",
16115
- required: true,
16116
- description: "A payer id from list_payers."
16117
- },
16118
- {
16119
- name: "planId",
16120
- flag: "plan-id",
16121
- kind: "string",
16122
- required: true,
16123
- description: "A plan id of the payer, from list_payer_plans."
16124
- },
16125
- {
16126
- name: "cursor",
16127
- flag: "cursor",
16128
- kind: "string",
16129
- required: false,
16130
- description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
16131
- },
16132
- {
16133
- name: "direction",
16134
- flag: "direction",
16135
- kind: "string",
16136
- required: false,
16137
- description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16138
- choices: [
16139
- "forward",
16140
- "backward"
16141
- ],
16142
- default: "forward"
16143
- },
16144
- {
16145
- name: "limit",
16146
- flag: "limit",
16147
- kind: "integer",
16148
- required: false,
16149
- description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16150
- default: 25
16151
- },
16152
- {
16153
- name: "agentMode",
16154
- flag: "agent-mode",
16155
- kind: "boolean",
16156
- required: false,
16157
- 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.",
16158
- default: false
16159
- }
16160
- ],
16161
- inputSchema: {
16162
- type: "object",
16163
- properties: {
16164
- connectionId: {
16165
- pattern: "^con_[0-9A-Za-z]{26}$",
16166
- description: "An Account connection id of the caller's organization.",
16167
- type: "string"
16168
- },
16169
- payerId: {
16170
- pattern: "^[0-9A-Za-z._-]{1,32}$",
16171
- description: "A payer id from list_payers.",
16172
- type: "string"
16173
- },
16174
- planId: {
16175
- pattern: "^[0-9A-Za-z._-]{1,32}$",
16176
- description: "A plan id of the payer, from list_payer_plans.",
16177
- type: "string"
15879
+ q: {
15880
+ minLength: 1,
15881
+ maxLength: 100,
15882
+ type: "string",
15883
+ description: "The q."
15884
+ },
15885
+ cursor: {
15886
+ minLength: 4,
15887
+ maxLength: 192,
15888
+ pattern: "^[A-Za-z0-9_-]+$",
15889
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
15890
+ type: "string"
15891
+ },
15892
+ direction: {
15893
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
15894
+ anyOf: [
15895
+ {
15896
+ const: "forward",
15897
+ type: "string"
15898
+ },
15899
+ {
15900
+ const: "backward",
15901
+ type: "string"
15902
+ }
15903
+ ],
15904
+ default: "forward"
15905
+ },
15906
+ limit: {
15907
+ minimum: 1,
15908
+ maximum: 100,
15909
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
15910
+ type: "integer",
15911
+ default: 25
15912
+ },
15913
+ agentMode: {
15914
+ 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.",
15915
+ type: "boolean",
15916
+ default: false
15917
+ }
15918
+ },
15919
+ required: [
15920
+ "kind"
15921
+ ],
15922
+ additionalProperties: false
15923
+ },
15924
+ title: "List patient registration options",
15925
+ description: "Find the source codes for a patient's confirmed gender, residence zone or municipality before creating their clinic record. q filters the current provider catalog by name without accents, or exact code; use it for municipalities to keep the result short. A choice is not a fact about the patient: ask for missing profile details and never invent them. For regime, affiliate type and salary range use their dedicated lists. Pass pageInfo.nextCursor with the same kind and q for more. Read-only. agentMode true answers concise Spanish text instead.",
15926
+ effect: "read",
15927
+ confirmation: null,
15928
+ hidden: false
15929
+ },
15930
+ "oficlinic patients create": {
15931
+ operation: "oficlinic.patients.create",
15932
+ sdkPath: [
15933
+ "oficlinic",
15934
+ "patients",
15935
+ "create"
15936
+ ],
15937
+ pathField: null,
15938
+ fields: [
15939
+ {
15940
+ name: "connectionId",
15941
+ flag: "connection-id",
15942
+ kind: "string",
15943
+ required: false,
15944
+ description: "An Account connection id of the caller's organization."
15945
+ },
15946
+ {
15947
+ name: "documentType",
15948
+ flag: "document-type",
15949
+ kind: "string",
15950
+ required: true,
15951
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
15952
+ choices: [
15953
+ "CC"
15954
+ ]
15955
+ },
15956
+ {
15957
+ name: "documentNumber",
15958
+ flag: "document-number",
15959
+ kind: "string",
15960
+ required: true,
15961
+ description: "The document number, digits only."
15962
+ },
15963
+ {
15964
+ name: "firstGivenName",
15965
+ flag: "first-given-name",
15966
+ kind: "string",
15967
+ required: true,
15968
+ description: "First legal given name."
15969
+ },
15970
+ {
15971
+ name: "secondGivenName",
15972
+ flag: "second-given-name",
15973
+ kind: "string",
15974
+ required: false,
15975
+ description: "Other legal given names, if any."
15976
+ },
15977
+ {
15978
+ name: "firstFamilyName",
15979
+ flag: "first-family-name",
15980
+ kind: "string",
15981
+ required: true,
15982
+ description: "First legal surname."
15983
+ },
15984
+ {
15985
+ name: "secondFamilyName",
15986
+ flag: "second-family-name",
15987
+ kind: "string",
15988
+ required: false,
15989
+ description: "Other legal surnames, if any."
15990
+ },
15991
+ {
15992
+ name: "birthDate",
15993
+ flag: "birth-date",
15994
+ kind: "string",
15995
+ required: true,
15996
+ description: "The confirmed birth date in YYYY-MM-DD."
15997
+ },
15998
+ {
15999
+ name: "genderId",
16000
+ flag: "gender-id",
16001
+ kind: "string",
16002
+ required: true,
16003
+ description: "The confirmed code from the provider's gender catalog."
16004
+ },
16005
+ {
16006
+ name: "municipalityId",
16007
+ flag: "municipality-id",
16008
+ kind: "string",
16009
+ required: true,
16010
+ description: "The confirmed municipality code from the provider's catalog."
16011
+ },
16012
+ {
16013
+ name: "zoneId",
16014
+ flag: "zone-id",
16015
+ kind: "string",
16016
+ required: true,
16017
+ description: "The confirmed code from the provider's residence zone catalog."
16018
+ },
16019
+ {
16020
+ name: "address",
16021
+ flag: "address",
16022
+ kind: "string",
16023
+ required: true,
16024
+ description: "The confirmed residence address."
16025
+ },
16026
+ {
16027
+ name: "phone",
16028
+ flag: "phone",
16029
+ kind: "string",
16030
+ required: true,
16031
+ description: "The confirmed contact phone."
16032
+ },
16033
+ {
16034
+ name: "regimeId",
16035
+ flag: "regime-id",
16036
+ kind: "string",
16037
+ required: true,
16038
+ description: "The clinic-confirmed regime code."
16039
+ },
16040
+ {
16041
+ name: "affiliateTypeId",
16042
+ flag: "affiliate-type-id",
16043
+ kind: "string",
16044
+ required: true,
16045
+ description: "The clinic-confirmed affiliate type code for this regime."
16046
+ },
16047
+ {
16048
+ name: "relationshipId",
16049
+ flag: "relationship-id",
16050
+ kind: "string",
16051
+ required: false,
16052
+ description: "The provider relationship code, required when the affiliate type is neither C nor N."
16053
+ },
16054
+ {
16055
+ name: "salaryRangeId",
16056
+ flag: "salary-range-id",
16057
+ kind: "string",
16058
+ required: true,
16059
+ description: "The clinic-confirmed salary range code for this regime."
16060
+ },
16061
+ {
16062
+ name: "confirm",
16063
+ flag: "confirm",
16064
+ kind: "boolean",
16065
+ required: true,
16066
+ description: "The authorized person confirmed the patient's identity and the details to save.",
16067
+ choices: [
16068
+ true
16069
+ ]
16070
+ },
16071
+ {
16072
+ name: "idempotencyKey",
16073
+ flag: "idempotency-key",
16074
+ kind: "string",
16075
+ required: true,
16076
+ 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."
16077
+ },
16078
+ {
16079
+ name: "agentMode",
16080
+ flag: "agent-mode",
16081
+ kind: "boolean",
16082
+ required: false,
16083
+ 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.",
16084
+ default: false
16085
+ }
16086
+ ],
16087
+ inputSchema: {
16088
+ additionalProperties: false,
16089
+ type: "object",
16090
+ required: [
16091
+ "documentType",
16092
+ "documentNumber",
16093
+ "firstGivenName",
16094
+ "firstFamilyName",
16095
+ "birthDate",
16096
+ "genderId",
16097
+ "municipalityId",
16098
+ "zoneId",
16099
+ "address",
16100
+ "phone",
16101
+ "regimeId",
16102
+ "affiliateTypeId",
16103
+ "salaryRangeId",
16104
+ "confirm",
16105
+ "idempotencyKey"
16106
+ ],
16107
+ properties: {
16108
+ connectionId: {
16109
+ pattern: "^con_[0-9A-Za-z]{26}$",
16110
+ description: "An Account connection id of the caller's organization.",
16111
+ type: "string"
16112
+ },
16113
+ documentType: {
16114
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
16115
+ const: "CC",
16116
+ type: "string"
16117
+ },
16118
+ documentNumber: {
16119
+ pattern: "^[0-9]{3,15}$",
16120
+ description: "The document number, digits only.",
16121
+ type: "string"
16122
+ },
16123
+ firstGivenName: {
16124
+ minLength: 1,
16125
+ maxLength: 64,
16126
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
16127
+ description: "First legal given name.",
16128
+ type: "string"
16129
+ },
16130
+ secondGivenName: {
16131
+ minLength: 1,
16132
+ maxLength: 64,
16133
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
16134
+ description: "Other legal given names, if any.",
16135
+ type: "string"
16136
+ },
16137
+ firstFamilyName: {
16138
+ minLength: 1,
16139
+ maxLength: 64,
16140
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
16141
+ description: "First legal surname.",
16142
+ type: "string"
16143
+ },
16144
+ secondFamilyName: {
16145
+ minLength: 1,
16146
+ maxLength: 64,
16147
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
16148
+ description: "Other legal surnames, if any.",
16149
+ type: "string"
16150
+ },
16151
+ birthDate: {
16152
+ format: "date",
16153
+ description: "The confirmed birth date in YYYY-MM-DD.",
16154
+ type: "string"
16155
+ },
16156
+ genderId: {
16157
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16158
+ description: "The confirmed code from the provider's gender catalog.",
16159
+ type: "string"
16160
+ },
16161
+ municipalityId: {
16162
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16163
+ description: "The confirmed municipality code from the provider's catalog.",
16164
+ type: "string"
16165
+ },
16166
+ zoneId: {
16167
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16168
+ description: "The confirmed code from the provider's residence zone catalog.",
16169
+ type: "string"
16170
+ },
16171
+ address: {
16172
+ minLength: 1,
16173
+ maxLength: 160,
16174
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
16175
+ description: "The confirmed residence address.",
16176
+ type: "string"
16177
+ },
16178
+ phone: {
16179
+ pattern: "^\\+?[0-9]{7,15}$",
16180
+ description: "The confirmed contact phone.",
16181
+ type: "string"
16182
+ },
16183
+ regimeId: {
16184
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16185
+ description: "The clinic-confirmed regime code.",
16186
+ type: "string"
16187
+ },
16188
+ affiliateTypeId: {
16189
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16190
+ description: "The clinic-confirmed affiliate type code for this regime.",
16191
+ type: "string"
16192
+ },
16193
+ relationshipId: {
16194
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16195
+ description: "The provider relationship code, required when the affiliate type is neither C nor N.",
16196
+ type: "string"
16197
+ },
16198
+ salaryRangeId: {
16199
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16200
+ description: "The clinic-confirmed salary range code for this regime.",
16201
+ type: "string"
16202
+ },
16203
+ confirm: {
16204
+ description: "The authorized person confirmed the patient's identity and the details to save.",
16205
+ const: true,
16206
+ type: "boolean"
16207
+ },
16208
+ idempotencyKey: {
16209
+ minLength: 8,
16210
+ maxLength: 64,
16211
+ pattern: "^[A-Za-z0-9_-]+$",
16212
+ 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.",
16213
+ type: "string"
16214
+ },
16215
+ agentMode: {
16216
+ 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.",
16217
+ type: "boolean",
16218
+ default: false
16219
+ }
16220
+ }
16221
+ },
16222
+ title: "Create a patient",
16223
+ description: "Create one new patient in e-Oficlinic using the clinic-confirmed legal identity, contact and classification fields. Use only with verified authority to register this person and explicit confirmation of their details. Requires confirm true and one idempotency key for this intent. An existing patient is never changed. An uncertain result must be checked with lookup_patient and must not be sent again. The result contains no patient data. Verify the saved patient with lookup_patient before attempting a booking. The submission follows the live-verified Cardiología scheduling form. agentMode true answers concise Spanish text instead.",
16224
+ effect: "write",
16225
+ confirmation: null,
16226
+ hidden: false
16227
+ },
16228
+ "oficlinic patients lookup": {
16229
+ operation: "oficlinic.patients.lookup",
16230
+ sdkPath: [
16231
+ "oficlinic",
16232
+ "patients",
16233
+ "lookup"
16234
+ ],
16235
+ pathField: null,
16236
+ fields: [
16237
+ {
16238
+ name: "connectionId",
16239
+ flag: "connection-id",
16240
+ kind: "string",
16241
+ required: false,
16242
+ description: "An Account connection id of the caller's organization."
16243
+ },
16244
+ {
16245
+ name: "documentType",
16246
+ flag: "document-type",
16247
+ kind: "string",
16248
+ required: true,
16249
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
16250
+ choices: [
16251
+ "CC"
16252
+ ]
16253
+ },
16254
+ {
16255
+ name: "documentNumber",
16256
+ flag: "document-number",
16257
+ kind: "string",
16258
+ required: true,
16259
+ description: "The document number, digits only."
16260
+ },
16261
+ {
16262
+ name: "agentMode",
16263
+ flag: "agent-mode",
16264
+ kind: "boolean",
16265
+ required: false,
16266
+ 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.",
16267
+ default: false
16268
+ }
16269
+ ],
16270
+ inputSchema: {
16271
+ additionalProperties: false,
16272
+ type: "object",
16273
+ required: [
16274
+ "documentType",
16275
+ "documentNumber"
16276
+ ],
16277
+ properties: {
16278
+ connectionId: {
16279
+ pattern: "^con_[0-9A-Za-z]{26}$",
16280
+ description: "An Account connection id of the caller's organization.",
16281
+ type: "string"
16282
+ },
16283
+ documentType: {
16284
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
16285
+ const: "CC",
16286
+ type: "string"
16287
+ },
16288
+ documentNumber: {
16289
+ pattern: "^[0-9]{3,15}$",
16290
+ description: "The document number, digits only.",
16291
+ type: "string"
16292
+ },
16293
+ agentMode: {
16294
+ 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.",
16295
+ type: "boolean",
16296
+ default: false
16297
+ }
16298
+ }
16299
+ },
16300
+ title: "Look up a patient by document",
16301
+ description: "Look up one patient in e-Oficlinic by citizenship card (CC) number, sent in the body and never in a URL. found answers a deliberately projected record (provider id, names, birth date, sex, address, phones, email, municipality) only when the provider returned a record with the requested document; not_found answers only the provider explicit negative. Any failure is not evidence that the patient is absent. This does not verify payer rights or the identity of the person presenting the document. agentMode true answers concise Spanish text instead.",
16302
+ effect: "read",
16303
+ confirmation: null,
16304
+ hidden: false
16305
+ },
16306
+ "oficlinic payer-contracts list": {
16307
+ operation: "oficlinic.payerContracts.list",
16308
+ sdkPath: [
16309
+ "oficlinic",
16310
+ "payerContracts",
16311
+ "list"
16312
+ ],
16313
+ pathField: null,
16314
+ fields: [
16315
+ {
16316
+ name: "connectionId",
16317
+ flag: "connection-id",
16318
+ kind: "string",
16319
+ required: false,
16320
+ description: "An Account connection id of the caller's organization."
16321
+ },
16322
+ {
16323
+ name: "payerId",
16324
+ flag: "payer-id",
16325
+ kind: "string",
16326
+ required: true,
16327
+ description: "A payer id from list_payers."
16328
+ },
16329
+ {
16330
+ name: "cursor",
16331
+ flag: "cursor",
16332
+ kind: "string",
16333
+ required: false,
16334
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
16335
+ },
16336
+ {
16337
+ name: "direction",
16338
+ flag: "direction",
16339
+ kind: "string",
16340
+ required: false,
16341
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16342
+ choices: [
16343
+ "forward",
16344
+ "backward"
16345
+ ],
16346
+ default: "forward"
16347
+ },
16348
+ {
16349
+ name: "limit",
16350
+ flag: "limit",
16351
+ kind: "integer",
16352
+ required: false,
16353
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16354
+ default: 25
16355
+ },
16356
+ {
16357
+ name: "agentMode",
16358
+ flag: "agent-mode",
16359
+ kind: "boolean",
16360
+ required: false,
16361
+ 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.",
16362
+ default: false
16363
+ }
16364
+ ],
16365
+ inputSchema: {
16366
+ type: "object",
16367
+ properties: {
16368
+ connectionId: {
16369
+ pattern: "^con_[0-9A-Za-z]{26}$",
16370
+ description: "An Account connection id of the caller's organization.",
16371
+ type: "string"
16372
+ },
16373
+ payerId: {
16374
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16375
+ description: "A payer id from list_payers.",
16376
+ type: "string"
16377
+ },
16378
+ cursor: {
16379
+ minLength: 4,
16380
+ maxLength: 192,
16381
+ pattern: "^[A-Za-z0-9_-]+$",
16382
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
16383
+ type: "string"
16384
+ },
16385
+ direction: {
16386
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16387
+ anyOf: [
16388
+ {
16389
+ const: "forward",
16390
+ type: "string"
16391
+ },
16392
+ {
16393
+ const: "backward",
16394
+ type: "string"
16395
+ }
16396
+ ],
16397
+ default: "forward"
16398
+ },
16399
+ limit: {
16400
+ minimum: 1,
16401
+ maximum: 100,
16402
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16403
+ type: "integer",
16404
+ default: 25
16405
+ },
16406
+ agentMode: {
16407
+ 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.",
16408
+ type: "boolean",
16409
+ default: false
16410
+ }
16411
+ },
16412
+ required: [
16413
+ "payerId"
16414
+ ],
16415
+ additionalProperties: false
16416
+ },
16417
+ title: "List payer contracts",
16418
+ description: "List the contracts e-Oficlinic holds for one payer of the connection, in the provider's order, as its booking screen loads them (cbclientescontrato): id, names, number, validity days and active flag. Financial and internal contract fields are never returned. The payer must be one list_payers answers, or PAYER_NOT_FOUND. A contract is not proof of coverage for a patient. Pass pageInfo.nextCursor with the same payerId for more. agentMode true answers concise Spanish text instead.",
16419
+ effect: "read",
16420
+ confirmation: null,
16421
+ hidden: false
16422
+ },
16423
+ "oficlinic payer-plans list": {
16424
+ operation: "oficlinic.payerPlans.list",
16425
+ sdkPath: [
16426
+ "oficlinic",
16427
+ "payerPlans",
16428
+ "list"
16429
+ ],
16430
+ pathField: null,
16431
+ fields: [
16432
+ {
16433
+ name: "connectionId",
16434
+ flag: "connection-id",
16435
+ kind: "string",
16436
+ required: false,
16437
+ description: "An Account connection id of the caller's organization."
16438
+ },
16439
+ {
16440
+ name: "payerId",
16441
+ flag: "payer-id",
16442
+ kind: "string",
16443
+ required: true,
16444
+ description: "A payer id from list_payers."
16445
+ },
16446
+ {
16447
+ name: "cursor",
16448
+ flag: "cursor",
16449
+ kind: "string",
16450
+ required: false,
16451
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
16452
+ },
16453
+ {
16454
+ name: "direction",
16455
+ flag: "direction",
16456
+ kind: "string",
16457
+ required: false,
16458
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16459
+ choices: [
16460
+ "forward",
16461
+ "backward"
16462
+ ],
16463
+ default: "forward"
16464
+ },
16465
+ {
16466
+ name: "limit",
16467
+ flag: "limit",
16468
+ kind: "integer",
16469
+ required: false,
16470
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16471
+ default: 25
16472
+ },
16473
+ {
16474
+ name: "agentMode",
16475
+ flag: "agent-mode",
16476
+ kind: "boolean",
16477
+ required: false,
16478
+ 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.",
16479
+ default: false
16480
+ }
16481
+ ],
16482
+ inputSchema: {
16483
+ type: "object",
16484
+ properties: {
16485
+ connectionId: {
16486
+ pattern: "^con_[0-9A-Za-z]{26}$",
16487
+ description: "An Account connection id of the caller's organization.",
16488
+ type: "string"
16489
+ },
16490
+ payerId: {
16491
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16492
+ description: "A payer id from list_payers.",
16493
+ type: "string"
16494
+ },
16495
+ cursor: {
16496
+ minLength: 4,
16497
+ maxLength: 192,
16498
+ pattern: "^[A-Za-z0-9_-]+$",
16499
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
16500
+ type: "string"
16501
+ },
16502
+ direction: {
16503
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16504
+ anyOf: [
16505
+ {
16506
+ const: "forward",
16507
+ type: "string"
16508
+ },
16509
+ {
16510
+ const: "backward",
16511
+ type: "string"
16512
+ }
16513
+ ],
16514
+ default: "forward"
16515
+ },
16516
+ limit: {
16517
+ minimum: 1,
16518
+ maximum: 100,
16519
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16520
+ type: "integer",
16521
+ default: 25
16522
+ },
16523
+ agentMode: {
16524
+ 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.",
16525
+ type: "boolean",
16526
+ default: false
16527
+ }
16528
+ },
16529
+ required: [
16530
+ "payerId"
16531
+ ],
16532
+ additionalProperties: false
16533
+ },
16534
+ title: "List payer plans",
16535
+ description: "List the plans e-Oficlinic offers for one payer of the connection, in the provider's order, as its booking screen loads them (cbclientesplan). The payer must be one list_payers answers for the connection, or PAYER_NOT_FOUND. A booking takes one of these plans. Pass pageInfo.nextCursor with the same payerId for more. agentMode true answers concise Spanish text instead.",
16536
+ effect: "read",
16537
+ confirmation: null,
16538
+ hidden: false
16539
+ },
16540
+ "oficlinic payer-subplans list": {
16541
+ operation: "oficlinic.payerSubplans.list",
16542
+ sdkPath: [
16543
+ "oficlinic",
16544
+ "payerSubplans",
16545
+ "list"
16546
+ ],
16547
+ pathField: null,
16548
+ fields: [
16549
+ {
16550
+ name: "connectionId",
16551
+ flag: "connection-id",
16552
+ kind: "string",
16553
+ required: false,
16554
+ description: "An Account connection id of the caller's organization."
16555
+ },
16556
+ {
16557
+ name: "payerId",
16558
+ flag: "payer-id",
16559
+ kind: "string",
16560
+ required: true,
16561
+ description: "A payer id from list_payers."
16562
+ },
16563
+ {
16564
+ name: "planId",
16565
+ flag: "plan-id",
16566
+ kind: "string",
16567
+ required: true,
16568
+ description: "A plan id of the payer, from list_payer_plans."
16569
+ },
16570
+ {
16571
+ name: "cursor",
16572
+ flag: "cursor",
16573
+ kind: "string",
16574
+ required: false,
16575
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
16576
+ },
16577
+ {
16578
+ name: "direction",
16579
+ flag: "direction",
16580
+ kind: "string",
16581
+ required: false,
16582
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
16583
+ choices: [
16584
+ "forward",
16585
+ "backward"
16586
+ ],
16587
+ default: "forward"
16588
+ },
16589
+ {
16590
+ name: "limit",
16591
+ flag: "limit",
16592
+ kind: "integer",
16593
+ required: false,
16594
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
16595
+ default: 25
16596
+ },
16597
+ {
16598
+ name: "agentMode",
16599
+ flag: "agent-mode",
16600
+ kind: "boolean",
16601
+ required: false,
16602
+ 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.",
16603
+ default: false
16604
+ }
16605
+ ],
16606
+ inputSchema: {
16607
+ type: "object",
16608
+ properties: {
16609
+ connectionId: {
16610
+ pattern: "^con_[0-9A-Za-z]{26}$",
16611
+ description: "An Account connection id of the caller's organization.",
16612
+ type: "string"
16613
+ },
16614
+ payerId: {
16615
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16616
+ description: "A payer id from list_payers.",
16617
+ type: "string"
16618
+ },
16619
+ planId: {
16620
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
16621
+ description: "A plan id of the payer, from list_payer_plans.",
16622
+ type: "string"
16178
16623
  },
16179
16624
  cursor: {
16180
16625
  minLength: 4,
@@ -170314,7 +170759,7 @@ var schemaComponents = {
170314
170759
  type: "string"
170315
170760
  },
170316
170761
  verification: {
170317
- description: "The only evidence is the provider's acknowledgement, mapped from its source; no read has verified the appointment, and this booking path has no live receipt yet.",
170762
+ description: "The only evidence is the provider's acknowledgement, mapped from its source; use appointment lookup to independently verify the saved appointment.",
170318
170763
  const: "provider_acknowledgement",
170319
170764
  type: "string"
170320
170765
  },
@@ -172149,10 +172594,10 @@ var schemaComponents = {
172149
172594
  ]
172150
172595
  },
172151
172596
  copaymentPercentage: {
172152
- description: "Sent as pPorCopagos.",
172597
+ description: "Sent unchanged as pPorCopagos, preserving the source rate's precision.",
172153
172598
  anyOf: [
172154
172599
  {
172155
- pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,2})?$",
172600
+ pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,6})?$",
172156
172601
  type: "string"
172157
172602
  },
172158
172603
  {
@@ -172585,6 +173030,444 @@ var schemaComponents = {
172585
173030
  }
172586
173031
  }
172587
173032
  },
173033
+ OficlinicCreatePatientBadGatewayError: {
173034
+ type: "object",
173035
+ description: "A failed answer.",
173036
+ additionalProperties: false,
173037
+ required: [
173038
+ "success",
173039
+ "data",
173040
+ "error",
173041
+ "metadata"
173042
+ ],
173043
+ properties: {
173044
+ success: {
173045
+ type: "boolean",
173046
+ enum: [
173047
+ false
173048
+ ]
173049
+ },
173050
+ data: {
173051
+ const: null
173052
+ },
173053
+ error: {
173054
+ $ref: "#/components/schemas/OficlinicCreatePatientBadGatewayFailure"
173055
+ },
173056
+ metadata: {
173057
+ $ref: "#/components/schemas/ResponseMetadata"
173058
+ }
173059
+ }
173060
+ },
173061
+ OficlinicCreatePatientBadGatewayFailure: {
173062
+ oneOf: [
173063
+ {
173064
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
173065
+ },
173066
+ {
173067
+ $ref: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure"
173068
+ },
173069
+ {
173070
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
173071
+ },
173072
+ {
173073
+ $ref: "#/components/schemas/OficlinicPatientRecordMismatchFailure"
173074
+ }
173075
+ ],
173076
+ discriminator: {
173077
+ propertyName: "code",
173078
+ mapping: {
173079
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
173080
+ SIGN_IN_OUTCOME_UNKNOWN: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure",
173081
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure",
173082
+ PATIENT_RECORD_MISMATCH: "#/components/schemas/OficlinicPatientRecordMismatchFailure"
173083
+ }
173084
+ }
173085
+ },
173086
+ OficlinicCreatePatientBody: {
173087
+ additionalProperties: false,
173088
+ type: "object",
173089
+ required: [
173090
+ "documentType",
173091
+ "documentNumber",
173092
+ "firstGivenName",
173093
+ "firstFamilyName",
173094
+ "birthDate",
173095
+ "genderId",
173096
+ "municipalityId",
173097
+ "zoneId",
173098
+ "address",
173099
+ "phone",
173100
+ "regimeId",
173101
+ "affiliateTypeId",
173102
+ "salaryRangeId",
173103
+ "confirm",
173104
+ "idempotencyKey"
173105
+ ],
173106
+ properties: {
173107
+ connectionId: {
173108
+ pattern: "^con_[0-9A-Za-z]{26}$",
173109
+ description: "An Account connection id of the caller's organization.",
173110
+ type: "string"
173111
+ },
173112
+ documentType: {
173113
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
173114
+ const: "CC",
173115
+ type: "string"
173116
+ },
173117
+ documentNumber: {
173118
+ pattern: "^[0-9]{3,15}$",
173119
+ description: "The document number, digits only.",
173120
+ type: "string"
173121
+ },
173122
+ firstGivenName: {
173123
+ minLength: 1,
173124
+ maxLength: 64,
173125
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
173126
+ description: "First legal given name.",
173127
+ type: "string"
173128
+ },
173129
+ secondGivenName: {
173130
+ minLength: 1,
173131
+ maxLength: 64,
173132
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
173133
+ description: "Other legal given names, if any.",
173134
+ type: "string"
173135
+ },
173136
+ firstFamilyName: {
173137
+ minLength: 1,
173138
+ maxLength: 64,
173139
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
173140
+ description: "First legal surname.",
173141
+ type: "string"
173142
+ },
173143
+ secondFamilyName: {
173144
+ minLength: 1,
173145
+ maxLength: 64,
173146
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
173147
+ description: "Other legal surnames, if any.",
173148
+ type: "string"
173149
+ },
173150
+ birthDate: {
173151
+ format: "date",
173152
+ description: "The confirmed birth date in YYYY-MM-DD.",
173153
+ type: "string"
173154
+ },
173155
+ genderId: {
173156
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
173157
+ description: "The confirmed code from the provider's gender catalog.",
173158
+ type: "string"
173159
+ },
173160
+ municipalityId: {
173161
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
173162
+ description: "The confirmed municipality code from the provider's catalog.",
173163
+ type: "string"
173164
+ },
173165
+ zoneId: {
173166
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
173167
+ description: "The confirmed code from the provider's residence zone catalog.",
173168
+ type: "string"
173169
+ },
173170
+ address: {
173171
+ minLength: 1,
173172
+ maxLength: 160,
173173
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
173174
+ description: "The confirmed residence address.",
173175
+ type: "string"
173176
+ },
173177
+ phone: {
173178
+ pattern: "^\\+?[0-9]{7,15}$",
173179
+ description: "The confirmed contact phone.",
173180
+ type: "string"
173181
+ },
173182
+ regimeId: {
173183
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
173184
+ description: "The clinic-confirmed regime code.",
173185
+ type: "string"
173186
+ },
173187
+ affiliateTypeId: {
173188
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
173189
+ description: "The clinic-confirmed affiliate type code for this regime.",
173190
+ type: "string"
173191
+ },
173192
+ relationshipId: {
173193
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
173194
+ description: "The provider relationship code, required when the affiliate type is neither C nor N.",
173195
+ type: "string"
173196
+ },
173197
+ salaryRangeId: {
173198
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
173199
+ description: "The clinic-confirmed salary range code for this regime.",
173200
+ type: "string"
173201
+ },
173202
+ confirm: {
173203
+ description: "The authorized person confirmed the patient's identity and the details to save.",
173204
+ const: true,
173205
+ type: "boolean"
173206
+ },
173207
+ idempotencyKey: {
173208
+ minLength: 8,
173209
+ maxLength: 64,
173210
+ pattern: "^[A-Za-z0-9_-]+$",
173211
+ 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.",
173212
+ type: "string"
173213
+ },
173214
+ agentMode: {
173215
+ 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.",
173216
+ type: "boolean",
173217
+ default: false
173218
+ }
173219
+ }
173220
+ },
173221
+ OficlinicCreatePatientConflictError: {
173222
+ type: "object",
173223
+ description: "A failed answer.",
173224
+ additionalProperties: false,
173225
+ required: [
173226
+ "success",
173227
+ "data",
173228
+ "error",
173229
+ "metadata"
173230
+ ],
173231
+ properties: {
173232
+ success: {
173233
+ type: "boolean",
173234
+ enum: [
173235
+ false
173236
+ ]
173237
+ },
173238
+ data: {
173239
+ const: null
173240
+ },
173241
+ error: {
173242
+ $ref: "#/components/schemas/OficlinicCreatePatientConflictFailure"
173243
+ },
173244
+ metadata: {
173245
+ $ref: "#/components/schemas/ResponseMetadata"
173246
+ }
173247
+ }
173248
+ },
173249
+ OficlinicCreatePatientConflictFailure: {
173250
+ oneOf: [
173251
+ {
173252
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
173253
+ },
173254
+ {
173255
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
173256
+ },
173257
+ {
173258
+ $ref: "#/components/schemas/OficlinicConnectionBusyFailure"
173259
+ },
173260
+ {
173261
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
173262
+ },
173263
+ {
173264
+ $ref: "#/components/schemas/OficlinicPatientAlreadyRegisteredFailure"
173265
+ },
173266
+ {
173267
+ $ref: "#/components/schemas/OficlinicIdempotencyKeyReusedFailure"
173268
+ },
173269
+ {
173270
+ $ref: "#/components/schemas/OficlinicWriteTargetUnresolvedFailure"
173271
+ }
173272
+ ],
173273
+ discriminator: {
173274
+ propertyName: "code",
173275
+ mapping: {
173276
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
173277
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
173278
+ CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
173279
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure",
173280
+ PATIENT_ALREADY_REGISTERED: "#/components/schemas/OficlinicPatientAlreadyRegisteredFailure",
173281
+ IDEMPOTENCY_KEY_REUSED: "#/components/schemas/OficlinicIdempotencyKeyReusedFailure",
173282
+ WRITE_TARGET_UNRESOLVED: "#/components/schemas/OficlinicWriteTargetUnresolvedFailure"
173283
+ }
173284
+ }
173285
+ },
173286
+ OficlinicCreatePatientResult: {
173287
+ anyOf: [
173288
+ {
173289
+ $ref: "#/components/schemas/OficlinicPatientRegistration"
173290
+ },
173291
+ {
173292
+ $ref: "#/components/schemas/OficlinicAgentText"
173293
+ }
173294
+ ]
173295
+ },
173296
+ OficlinicCreatePatientResultResponse: {
173297
+ type: "object",
173298
+ description: "A successful answer.",
173299
+ additionalProperties: false,
173300
+ required: [
173301
+ "success",
173302
+ "data",
173303
+ "error",
173304
+ "metadata"
173305
+ ],
173306
+ properties: {
173307
+ success: {
173308
+ type: "boolean",
173309
+ enum: [
173310
+ true
173311
+ ]
173312
+ },
173313
+ data: {
173314
+ $ref: "#/components/schemas/OficlinicCreatePatientResult"
173315
+ },
173316
+ error: {
173317
+ const: null
173318
+ },
173319
+ metadata: {
173320
+ $ref: "#/components/schemas/ResponseMetadata"
173321
+ }
173322
+ }
173323
+ },
173324
+ OficlinicCreatePatientServiceUnavailableError: {
173325
+ type: "object",
173326
+ description: "A failed answer.",
173327
+ additionalProperties: false,
173328
+ required: [
173329
+ "success",
173330
+ "data",
173331
+ "error",
173332
+ "metadata"
173333
+ ],
173334
+ properties: {
173335
+ success: {
173336
+ type: "boolean",
173337
+ enum: [
173338
+ false
173339
+ ]
173340
+ },
173341
+ data: {
173342
+ const: null
173343
+ },
173344
+ error: {
173345
+ $ref: "#/components/schemas/OficlinicCreatePatientServiceUnavailableFailure"
173346
+ },
173347
+ metadata: {
173348
+ $ref: "#/components/schemas/ResponseMetadata"
173349
+ }
173350
+ }
173351
+ },
173352
+ OficlinicCreatePatientServiceUnavailableFailure: {
173353
+ oneOf: [
173354
+ {
173355
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
173356
+ },
173357
+ {
173358
+ $ref: "#/components/schemas/ProviderUnavailableFailure"
173359
+ },
173360
+ {
173361
+ $ref: "#/components/schemas/OficlinicWriteLedgerFullFailure"
173362
+ }
173363
+ ],
173364
+ discriminator: {
173365
+ propertyName: "code",
173366
+ mapping: {
173367
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
173368
+ PROVIDER_UNAVAILABLE: "#/components/schemas/ProviderUnavailableFailure",
173369
+ WRITE_LEDGER_FULL: "#/components/schemas/OficlinicWriteLedgerFullFailure"
173370
+ }
173371
+ }
173372
+ },
173373
+ OficlinicCreatePatientTooManyRequestsError: {
173374
+ type: "object",
173375
+ description: "A failed answer.",
173376
+ additionalProperties: false,
173377
+ required: [
173378
+ "success",
173379
+ "data",
173380
+ "error",
173381
+ "metadata"
173382
+ ],
173383
+ properties: {
173384
+ success: {
173385
+ type: "boolean",
173386
+ enum: [
173387
+ false
173388
+ ]
173389
+ },
173390
+ data: {
173391
+ const: null
173392
+ },
173393
+ error: {
173394
+ $ref: "#/components/schemas/OficlinicCreatePatientTooManyRequestsFailure"
173395
+ },
173396
+ metadata: {
173397
+ $ref: "#/components/schemas/ResponseMetadata"
173398
+ }
173399
+ }
173400
+ },
173401
+ OficlinicCreatePatientTooManyRequestsFailure: {
173402
+ oneOf: [
173403
+ {
173404
+ $ref: "#/components/schemas/RateLimitedFailure"
173405
+ },
173406
+ {
173407
+ $ref: "#/components/schemas/OficlinicLoginCoolingDownFailure"
173408
+ }
173409
+ ],
173410
+ discriminator: {
173411
+ propertyName: "code",
173412
+ mapping: {
173413
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
173414
+ LOGIN_COOLING_DOWN: "#/components/schemas/OficlinicLoginCoolingDownFailure"
173415
+ }
173416
+ }
173417
+ },
173418
+ OficlinicCreatePatientUnprocessableContentError: {
173419
+ type: "object",
173420
+ description: "A failed answer.",
173421
+ additionalProperties: false,
173422
+ required: [
173423
+ "success",
173424
+ "data",
173425
+ "error",
173426
+ "metadata"
173427
+ ],
173428
+ properties: {
173429
+ success: {
173430
+ type: "boolean",
173431
+ enum: [
173432
+ false
173433
+ ]
173434
+ },
173435
+ data: {
173436
+ const: null
173437
+ },
173438
+ error: {
173439
+ $ref: "#/components/schemas/OficlinicCreatePatientUnprocessableContentFailure"
173440
+ },
173441
+ metadata: {
173442
+ $ref: "#/components/schemas/ResponseMetadata"
173443
+ }
173444
+ }
173445
+ },
173446
+ OficlinicCreatePatientUnprocessableContentFailure: {
173447
+ oneOf: [
173448
+ {
173449
+ $ref: "#/components/schemas/CredentialsRejectedFailure"
173450
+ },
173451
+ {
173452
+ $ref: "#/components/schemas/OficlinicContextNotAvailableFailure"
173453
+ },
173454
+ {
173455
+ $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
173456
+ },
173457
+ {
173458
+ $ref: "#/components/schemas/OficlinicRegistrationOptionNotFoundFailure"
173459
+ }
173460
+ ],
173461
+ discriminator: {
173462
+ propertyName: "code",
173463
+ mapping: {
173464
+ CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
173465
+ CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
173466
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure",
173467
+ REGISTRATION_OPTION_NOT_FOUND: "#/components/schemas/OficlinicRegistrationOptionNotFoundFailure"
173468
+ }
173469
+ }
173470
+ },
172588
173471
  OficlinicDailyRosterAppointment: {
172589
173472
  additionalProperties: false,
172590
173473
  type: "object",
@@ -173041,31 +173924,401 @@ var schemaComponents = {
173041
173924
  const: null
173042
173925
  },
173043
173926
  error: {
173044
- $ref: "#/components/schemas/OficlinicGetServiceCatalogBadGatewayFailure"
173927
+ $ref: "#/components/schemas/OficlinicGetServiceCatalogBadGatewayFailure"
173928
+ },
173929
+ metadata: {
173930
+ $ref: "#/components/schemas/ResponseMetadata"
173931
+ }
173932
+ }
173933
+ },
173934
+ OficlinicGetServiceCatalogBadGatewayFailure: {
173935
+ oneOf: [
173936
+ {
173937
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
173938
+ },
173939
+ {
173940
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
173941
+ }
173942
+ ],
173943
+ discriminator: {
173944
+ propertyName: "code",
173945
+ mapping: {
173946
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
173947
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure"
173948
+ }
173949
+ }
173950
+ },
173951
+ OficlinicGetServiceCatalogConflictError: {
173952
+ type: "object",
173953
+ description: "A failed answer.",
173954
+ additionalProperties: false,
173955
+ required: [
173956
+ "success",
173957
+ "data",
173958
+ "error",
173959
+ "metadata"
173960
+ ],
173961
+ properties: {
173962
+ success: {
173963
+ type: "boolean",
173964
+ enum: [
173965
+ false
173966
+ ]
173967
+ },
173968
+ data: {
173969
+ const: null
173970
+ },
173971
+ error: {
173972
+ $ref: "#/components/schemas/OficlinicGetServiceCatalogConflictFailure"
173973
+ },
173974
+ metadata: {
173975
+ $ref: "#/components/schemas/ResponseMetadata"
173976
+ }
173977
+ }
173978
+ },
173979
+ OficlinicGetServiceCatalogConflictFailure: {
173980
+ oneOf: [
173981
+ {
173982
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
173983
+ },
173984
+ {
173985
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
173986
+ },
173987
+ {
173988
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
173989
+ }
173990
+ ],
173991
+ discriminator: {
173992
+ propertyName: "code",
173993
+ mapping: {
173994
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
173995
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
173996
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
173997
+ }
173998
+ }
173999
+ },
174000
+ OficlinicGetServiceCatalogResult: {
174001
+ anyOf: [
174002
+ {
174003
+ $ref: "#/components/schemas/OficlinicServiceCatalog"
174004
+ },
174005
+ {
174006
+ $ref: "#/components/schemas/OficlinicAgentText"
174007
+ }
174008
+ ]
174009
+ },
174010
+ OficlinicGetServiceCatalogResultResponse: {
174011
+ type: "object",
174012
+ description: "A successful answer.",
174013
+ additionalProperties: false,
174014
+ required: [
174015
+ "success",
174016
+ "data",
174017
+ "error",
174018
+ "metadata"
174019
+ ],
174020
+ properties: {
174021
+ success: {
174022
+ type: "boolean",
174023
+ enum: [
174024
+ true
174025
+ ]
174026
+ },
174027
+ data: {
174028
+ $ref: "#/components/schemas/OficlinicGetServiceCatalogResult"
174029
+ },
174030
+ error: {
174031
+ const: null
174032
+ },
174033
+ metadata: {
174034
+ $ref: "#/components/schemas/ResponseMetadata"
174035
+ }
174036
+ }
174037
+ },
174038
+ OficlinicIdempotencyKeyReusedFailure: {
174039
+ type: "object",
174040
+ description: "The idempotency key was already used for a different request.",
174041
+ additionalProperties: false,
174042
+ required: [
174043
+ "code",
174044
+ "message",
174045
+ "retryable",
174046
+ "data"
174047
+ ],
174048
+ properties: {
174049
+ code: {
174050
+ type: "string",
174051
+ enum: [
174052
+ "IDEMPOTENCY_KEY_REUSED"
174053
+ ],
174054
+ description: "The failure code, stable across releases."
174055
+ },
174056
+ message: {
174057
+ type: "string",
174058
+ description: "What went wrong, for people; it never contains input values."
174059
+ },
174060
+ retryable: {
174061
+ type: "boolean",
174062
+ enum: [
174063
+ false
174064
+ ],
174065
+ description: "Whether repeating the same request may succeed."
174066
+ },
174067
+ data: {
174068
+ $ref: "#/components/schemas/Empty"
174069
+ }
174070
+ }
174071
+ },
174072
+ OficlinicIndexNotReadyFailure: {
174073
+ type: "object",
174074
+ description: "The connection's service index is being built. Try again shortly.",
174075
+ additionalProperties: false,
174076
+ required: [
174077
+ "code",
174078
+ "message",
174079
+ "retryable",
174080
+ "data"
174081
+ ],
174082
+ properties: {
174083
+ code: {
174084
+ type: "string",
174085
+ enum: [
174086
+ "INDEX_NOT_READY"
174087
+ ],
174088
+ description: "The failure code, stable across releases."
174089
+ },
174090
+ message: {
174091
+ type: "string",
174092
+ description: "What went wrong, for people; it never contains input values."
174093
+ },
174094
+ retryable: {
174095
+ type: "boolean",
174096
+ enum: [
174097
+ true
174098
+ ],
174099
+ description: "Whether repeating the same request may succeed."
174100
+ },
174101
+ data: {
174102
+ $ref: "#/components/schemas/Empty"
174103
+ }
174104
+ }
174105
+ },
174106
+ OficlinicIndexUnavailableFailure: {
174107
+ type: "object",
174108
+ description: "The connection's service index could not be built. Staff must check the connection and sync the catalog.",
174109
+ additionalProperties: false,
174110
+ required: [
174111
+ "code",
174112
+ "message",
174113
+ "retryable",
174114
+ "data"
174115
+ ],
174116
+ properties: {
174117
+ code: {
174118
+ type: "string",
174119
+ enum: [
174120
+ "INDEX_UNAVAILABLE"
174121
+ ],
174122
+ description: "The failure code, stable across releases."
174123
+ },
174124
+ message: {
174125
+ type: "string",
174126
+ description: "What went wrong, for people; it never contains input values."
174127
+ },
174128
+ retryable: {
174129
+ type: "boolean",
174130
+ enum: [
174131
+ false
174132
+ ],
174133
+ description: "Whether repeating the same request may succeed."
174134
+ },
174135
+ data: {
174136
+ $ref: "#/components/schemas/Empty"
174137
+ }
174138
+ }
174139
+ },
174140
+ OficlinicInvalidCursorFailure: {
174141
+ type: "object",
174142
+ description: "The cursor is invalid or belongs to another list.",
174143
+ additionalProperties: false,
174144
+ required: [
174145
+ "code",
174146
+ "message",
174147
+ "retryable",
174148
+ "data"
174149
+ ],
174150
+ properties: {
174151
+ code: {
174152
+ type: "string",
174153
+ enum: [
174154
+ "INVALID_CURSOR"
174155
+ ],
174156
+ description: "The failure code, stable across releases."
174157
+ },
174158
+ message: {
174159
+ type: "string",
174160
+ description: "What went wrong, for people; it never contains input values."
174161
+ },
174162
+ retryable: {
174163
+ type: "boolean",
174164
+ enum: [
174165
+ false
174166
+ ],
174167
+ description: "Whether repeating the same request may succeed."
174168
+ },
174169
+ data: {
174170
+ $ref: "#/components/schemas/Empty"
174171
+ }
174172
+ }
174173
+ },
174174
+ OficlinicListAffiliateTypesBadGatewayError: {
174175
+ type: "object",
174176
+ description: "A failed answer.",
174177
+ additionalProperties: false,
174178
+ required: [
174179
+ "success",
174180
+ "data",
174181
+ "error",
174182
+ "metadata"
174183
+ ],
174184
+ properties: {
174185
+ success: {
174186
+ type: "boolean",
174187
+ enum: [
174188
+ false
174189
+ ]
174190
+ },
174191
+ data: {
174192
+ const: null
174193
+ },
174194
+ error: {
174195
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesBadGatewayFailure"
174196
+ },
174197
+ metadata: {
174198
+ $ref: "#/components/schemas/ResponseMetadata"
174199
+ }
174200
+ }
174201
+ },
174202
+ OficlinicListAffiliateTypesBadGatewayFailure: {
174203
+ oneOf: [
174204
+ {
174205
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
174206
+ },
174207
+ {
174208
+ $ref: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure"
174209
+ },
174210
+ {
174211
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
174212
+ }
174213
+ ],
174214
+ discriminator: {
174215
+ propertyName: "code",
174216
+ mapping: {
174217
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
174218
+ SIGN_IN_OUTCOME_UNKNOWN: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure",
174219
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure"
174220
+ }
174221
+ }
174222
+ },
174223
+ OficlinicListAffiliateTypesBadRequestError: {
174224
+ type: "object",
174225
+ description: "A failed answer.",
174226
+ additionalProperties: false,
174227
+ required: [
174228
+ "success",
174229
+ "data",
174230
+ "error",
174231
+ "metadata"
174232
+ ],
174233
+ properties: {
174234
+ success: {
174235
+ type: "boolean",
174236
+ enum: [
174237
+ false
174238
+ ]
174239
+ },
174240
+ data: {
174241
+ const: null
174242
+ },
174243
+ error: {
174244
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesBadRequestFailure"
174245
+ },
174246
+ metadata: {
174247
+ $ref: "#/components/schemas/ResponseMetadata"
174248
+ }
174249
+ }
174250
+ },
174251
+ OficlinicListAffiliateTypesBadRequestFailure: {
174252
+ oneOf: [
174253
+ {
174254
+ $ref: "#/components/schemas/InvalidInputFailure"
174255
+ },
174256
+ {
174257
+ $ref: "#/components/schemas/OficlinicInvalidCursorFailure"
174258
+ }
174259
+ ],
174260
+ discriminator: {
174261
+ propertyName: "code",
174262
+ mapping: {
174263
+ INVALID_INPUT: "#/components/schemas/InvalidInputFailure",
174264
+ INVALID_CURSOR: "#/components/schemas/OficlinicInvalidCursorFailure"
174265
+ }
174266
+ }
174267
+ },
174268
+ OficlinicListAffiliateTypesConflictError: {
174269
+ type: "object",
174270
+ description: "A failed answer.",
174271
+ additionalProperties: false,
174272
+ required: [
174273
+ "success",
174274
+ "data",
174275
+ "error",
174276
+ "metadata"
174277
+ ],
174278
+ properties: {
174279
+ success: {
174280
+ type: "boolean",
174281
+ enum: [
174282
+ false
174283
+ ]
174284
+ },
174285
+ data: {
174286
+ const: null
174287
+ },
174288
+ error: {
174289
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesConflictFailure"
173045
174290
  },
173046
174291
  metadata: {
173047
174292
  $ref: "#/components/schemas/ResponseMetadata"
173048
174293
  }
173049
174294
  }
173050
174295
  },
173051
- OficlinicGetServiceCatalogBadGatewayFailure: {
174296
+ OficlinicListAffiliateTypesConflictFailure: {
173052
174297
  oneOf: [
173053
174298
  {
173054
- $ref: "#/components/schemas/OutcomeUnknownFailure"
174299
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
173055
174300
  },
173056
174301
  {
173057
- $ref: "#/components/schemas/ProviderProtocolChangedFailure"
174302
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
174303
+ },
174304
+ {
174305
+ $ref: "#/components/schemas/OficlinicConnectionBusyFailure"
174306
+ },
174307
+ {
174308
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
173058
174309
  }
173059
174310
  ],
173060
174311
  discriminator: {
173061
174312
  propertyName: "code",
173062
174313
  mapping: {
173063
- OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
173064
- PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure"
174314
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
174315
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
174316
+ CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
174317
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
173065
174318
  }
173066
174319
  }
173067
174320
  },
173068
- OficlinicGetServiceCatalogConflictError: {
174321
+ OficlinicListAffiliateTypesNotFoundError: {
173069
174322
  type: "object",
173070
174323
  description: "A failed answer.",
173071
174324
  additionalProperties: false,
@@ -173086,45 +174339,41 @@ var schemaComponents = {
173086
174339
  const: null
173087
174340
  },
173088
174341
  error: {
173089
- $ref: "#/components/schemas/OficlinicGetServiceCatalogConflictFailure"
174342
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesNotFoundFailure"
173090
174343
  },
173091
174344
  metadata: {
173092
174345
  $ref: "#/components/schemas/ResponseMetadata"
173093
174346
  }
173094
174347
  }
173095
174348
  },
173096
- OficlinicGetServiceCatalogConflictFailure: {
174349
+ OficlinicListAffiliateTypesNotFoundFailure: {
173097
174350
  oneOf: [
173098
174351
  {
173099
- $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
173100
- },
173101
- {
173102
- $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
174352
+ $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
173103
174353
  },
173104
174354
  {
173105
- $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
174355
+ $ref: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
173106
174356
  }
173107
174357
  ],
173108
174358
  discriminator: {
173109
174359
  propertyName: "code",
173110
174360
  mapping: {
173111
- CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
173112
- CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
173113
- REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
174361
+ CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
174362
+ BOOKING_OPTION_NOT_FOUND: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
173114
174363
  }
173115
174364
  }
173116
174365
  },
173117
- OficlinicGetServiceCatalogResult: {
174366
+ OficlinicListAffiliateTypesResult: {
173118
174367
  anyOf: [
173119
174368
  {
173120
- $ref: "#/components/schemas/OficlinicServiceCatalog"
174369
+ $ref: "#/components/schemas/OficlinicAffiliateTypePage"
173121
174370
  },
173122
174371
  {
173123
174372
  $ref: "#/components/schemas/OficlinicAgentText"
173124
174373
  }
173125
174374
  ]
173126
174375
  },
173127
- OficlinicGetServiceCatalogResultResponse: {
174376
+ OficlinicListAffiliateTypesResultResponse: {
173128
174377
  type: "object",
173129
174378
  description: "A successful answer.",
173130
174379
  additionalProperties: false,
@@ -173142,7 +174391,7 @@ var schemaComponents = {
173142
174391
  ]
173143
174392
  },
173144
174393
  data: {
173145
- $ref: "#/components/schemas/OficlinicGetServiceCatalogResult"
174394
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesResult"
173146
174395
  },
173147
174396
  error: {
173148
174397
  const: null
@@ -173152,143 +174401,146 @@ var schemaComponents = {
173152
174401
  }
173153
174402
  }
173154
174403
  },
173155
- OficlinicIdempotencyKeyReusedFailure: {
174404
+ OficlinicListAffiliateTypesServiceUnavailableError: {
173156
174405
  type: "object",
173157
- description: "The idempotency key was already used for a different request.",
174406
+ description: "A failed answer.",
173158
174407
  additionalProperties: false,
173159
174408
  required: [
173160
- "code",
173161
- "message",
173162
- "retryable",
173163
- "data"
174409
+ "success",
174410
+ "data",
174411
+ "error",
174412
+ "metadata"
173164
174413
  ],
173165
174414
  properties: {
173166
- code: {
173167
- type: "string",
173168
- enum: [
173169
- "IDEMPOTENCY_KEY_REUSED"
173170
- ],
173171
- description: "The failure code, stable across releases."
173172
- },
173173
- message: {
173174
- type: "string",
173175
- description: "What went wrong, for people; it never contains input values."
173176
- },
173177
- retryable: {
174415
+ success: {
173178
174416
  type: "boolean",
173179
174417
  enum: [
173180
174418
  false
173181
- ],
173182
- description: "Whether repeating the same request may succeed."
174419
+ ]
173183
174420
  },
173184
174421
  data: {
173185
- $ref: "#/components/schemas/Empty"
174422
+ const: null
174423
+ },
174424
+ error: {
174425
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesServiceUnavailableFailure"
174426
+ },
174427
+ metadata: {
174428
+ $ref: "#/components/schemas/ResponseMetadata"
173186
174429
  }
173187
174430
  }
173188
174431
  },
173189
- OficlinicIndexNotReadyFailure: {
173190
- type: "object",
173191
- description: "The connection's service index is being built. Try again shortly.",
173192
- additionalProperties: false,
173193
- required: [
173194
- "code",
173195
- "message",
173196
- "retryable",
173197
- "data"
173198
- ],
173199
- properties: {
173200
- code: {
173201
- type: "string",
173202
- enum: [
173203
- "INDEX_NOT_READY"
173204
- ],
173205
- description: "The failure code, stable across releases."
173206
- },
173207
- message: {
173208
- type: "string",
173209
- description: "What went wrong, for people; it never contains input values."
173210
- },
173211
- retryable: {
173212
- type: "boolean",
173213
- enum: [
173214
- true
173215
- ],
173216
- description: "Whether repeating the same request may succeed."
174432
+ OficlinicListAffiliateTypesServiceUnavailableFailure: {
174433
+ oneOf: [
174434
+ {
174435
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
173217
174436
  },
173218
- data: {
173219
- $ref: "#/components/schemas/Empty"
174437
+ {
174438
+ $ref: "#/components/schemas/ProviderUnavailableFailure"
174439
+ }
174440
+ ],
174441
+ discriminator: {
174442
+ propertyName: "code",
174443
+ mapping: {
174444
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
174445
+ PROVIDER_UNAVAILABLE: "#/components/schemas/ProviderUnavailableFailure"
173220
174446
  }
173221
174447
  }
173222
174448
  },
173223
- OficlinicIndexUnavailableFailure: {
174449
+ OficlinicListAffiliateTypesTooManyRequestsError: {
173224
174450
  type: "object",
173225
- description: "The connection's service index could not be built. Staff must check the connection and sync the catalog.",
174451
+ description: "A failed answer.",
173226
174452
  additionalProperties: false,
173227
174453
  required: [
173228
- "code",
173229
- "message",
173230
- "retryable",
173231
- "data"
174454
+ "success",
174455
+ "data",
174456
+ "error",
174457
+ "metadata"
173232
174458
  ],
173233
174459
  properties: {
173234
- code: {
173235
- type: "string",
173236
- enum: [
173237
- "INDEX_UNAVAILABLE"
173238
- ],
173239
- description: "The failure code, stable across releases."
173240
- },
173241
- message: {
173242
- type: "string",
173243
- description: "What went wrong, for people; it never contains input values."
173244
- },
173245
- retryable: {
174460
+ success: {
173246
174461
  type: "boolean",
173247
174462
  enum: [
173248
174463
  false
173249
- ],
173250
- description: "Whether repeating the same request may succeed."
174464
+ ]
173251
174465
  },
173252
174466
  data: {
173253
- $ref: "#/components/schemas/Empty"
174467
+ const: null
174468
+ },
174469
+ error: {
174470
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesTooManyRequestsFailure"
174471
+ },
174472
+ metadata: {
174473
+ $ref: "#/components/schemas/ResponseMetadata"
173254
174474
  }
173255
174475
  }
173256
174476
  },
173257
- OficlinicInvalidCursorFailure: {
174477
+ OficlinicListAffiliateTypesTooManyRequestsFailure: {
174478
+ oneOf: [
174479
+ {
174480
+ $ref: "#/components/schemas/RateLimitedFailure"
174481
+ },
174482
+ {
174483
+ $ref: "#/components/schemas/OficlinicLoginCoolingDownFailure"
174484
+ }
174485
+ ],
174486
+ discriminator: {
174487
+ propertyName: "code",
174488
+ mapping: {
174489
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
174490
+ LOGIN_COOLING_DOWN: "#/components/schemas/OficlinicLoginCoolingDownFailure"
174491
+ }
174492
+ }
174493
+ },
174494
+ OficlinicListAffiliateTypesUnprocessableContentError: {
173258
174495
  type: "object",
173259
- description: "The cursor is invalid or belongs to another list.",
174496
+ description: "A failed answer.",
173260
174497
  additionalProperties: false,
173261
174498
  required: [
173262
- "code",
173263
- "message",
173264
- "retryable",
173265
- "data"
174499
+ "success",
174500
+ "data",
174501
+ "error",
174502
+ "metadata"
173266
174503
  ],
173267
174504
  properties: {
173268
- code: {
173269
- type: "string",
173270
- enum: [
173271
- "INVALID_CURSOR"
173272
- ],
173273
- description: "The failure code, stable across releases."
173274
- },
173275
- message: {
173276
- type: "string",
173277
- description: "What went wrong, for people; it never contains input values."
173278
- },
173279
- retryable: {
174505
+ success: {
173280
174506
  type: "boolean",
173281
174507
  enum: [
173282
174508
  false
173283
- ],
173284
- description: "Whether repeating the same request may succeed."
174509
+ ]
173285
174510
  },
173286
174511
  data: {
173287
- $ref: "#/components/schemas/Empty"
174512
+ const: null
174513
+ },
174514
+ error: {
174515
+ $ref: "#/components/schemas/OficlinicListAffiliateTypesUnprocessableContentFailure"
174516
+ },
174517
+ metadata: {
174518
+ $ref: "#/components/schemas/ResponseMetadata"
173288
174519
  }
173289
174520
  }
173290
174521
  },
173291
- OficlinicListAffiliateTypesBadGatewayError: {
174522
+ OficlinicListAffiliateTypesUnprocessableContentFailure: {
174523
+ oneOf: [
174524
+ {
174525
+ $ref: "#/components/schemas/CredentialsRejectedFailure"
174526
+ },
174527
+ {
174528
+ $ref: "#/components/schemas/OficlinicContextNotAvailableFailure"
174529
+ },
174530
+ {
174531
+ $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
174532
+ }
174533
+ ],
174534
+ discriminator: {
174535
+ propertyName: "code",
174536
+ mapping: {
174537
+ CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
174538
+ CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
174539
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
174540
+ }
174541
+ }
174542
+ },
174543
+ OficlinicListBookingDaysBadGatewayError: {
173292
174544
  type: "object",
173293
174545
  description: "A failed answer.",
173294
174546
  additionalProperties: false,
@@ -173309,14 +174561,14 @@ var schemaComponents = {
173309
174561
  const: null
173310
174562
  },
173311
174563
  error: {
173312
- $ref: "#/components/schemas/OficlinicListAffiliateTypesBadGatewayFailure"
174564
+ $ref: "#/components/schemas/OficlinicListBookingDaysBadGatewayFailure"
173313
174565
  },
173314
174566
  metadata: {
173315
174567
  $ref: "#/components/schemas/ResponseMetadata"
173316
174568
  }
173317
174569
  }
173318
174570
  },
173319
- OficlinicListAffiliateTypesBadGatewayFailure: {
174571
+ OficlinicListBookingDaysBadGatewayFailure: {
173320
174572
  oneOf: [
173321
174573
  {
173322
174574
  $ref: "#/components/schemas/OutcomeUnknownFailure"
@@ -173337,7 +174589,7 @@ var schemaComponents = {
173337
174589
  }
173338
174590
  }
173339
174591
  },
173340
- OficlinicListAffiliateTypesBadRequestError: {
174592
+ OficlinicListBookingDaysBadRequestError: {
173341
174593
  type: "object",
173342
174594
  description: "A failed answer.",
173343
174595
  additionalProperties: false,
@@ -173358,14 +174610,14 @@ var schemaComponents = {
173358
174610
  const: null
173359
174611
  },
173360
174612
  error: {
173361
- $ref: "#/components/schemas/OficlinicListAffiliateTypesBadRequestFailure"
174613
+ $ref: "#/components/schemas/OficlinicListBookingDaysBadRequestFailure"
173362
174614
  },
173363
174615
  metadata: {
173364
174616
  $ref: "#/components/schemas/ResponseMetadata"
173365
174617
  }
173366
174618
  }
173367
174619
  },
173368
- OficlinicListAffiliateTypesBadRequestFailure: {
174620
+ OficlinicListBookingDaysBadRequestFailure: {
173369
174621
  oneOf: [
173370
174622
  {
173371
174623
  $ref: "#/components/schemas/InvalidInputFailure"
@@ -173382,7 +174634,7 @@ var schemaComponents = {
173382
174634
  }
173383
174635
  }
173384
174636
  },
173385
- OficlinicListAffiliateTypesConflictError: {
174637
+ OficlinicListBookingDaysConflictError: {
173386
174638
  type: "object",
173387
174639
  description: "A failed answer.",
173388
174640
  additionalProperties: false,
@@ -173403,14 +174655,14 @@ var schemaComponents = {
173403
174655
  const: null
173404
174656
  },
173405
174657
  error: {
173406
- $ref: "#/components/schemas/OficlinicListAffiliateTypesConflictFailure"
174658
+ $ref: "#/components/schemas/OficlinicListBookingDaysConflictFailure"
173407
174659
  },
173408
174660
  metadata: {
173409
174661
  $ref: "#/components/schemas/ResponseMetadata"
173410
174662
  }
173411
174663
  }
173412
174664
  },
173413
- OficlinicListAffiliateTypesConflictFailure: {
174665
+ OficlinicListBookingDaysConflictFailure: {
173414
174666
  oneOf: [
173415
174667
  {
173416
174668
  $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
@@ -173423,6 +174675,9 @@ var schemaComponents = {
173423
174675
  },
173424
174676
  {
173425
174677
  $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
174678
+ },
174679
+ {
174680
+ $ref: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
173426
174681
  }
173427
174682
  ],
173428
174683
  discriminator: {
@@ -173431,11 +174686,12 @@ var schemaComponents = {
173431
174686
  CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
173432
174687
  CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
173433
174688
  CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
173434
- REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
174689
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure",
174690
+ SELECTION_NOT_AVAILABLE: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
173435
174691
  }
173436
174692
  }
173437
174693
  },
173438
- OficlinicListAffiliateTypesNotFoundError: {
174694
+ OficlinicListBookingDaysNotFoundError: {
173439
174695
  type: "object",
173440
174696
  description: "A failed answer.",
173441
174697
  additionalProperties: false,
@@ -173456,41 +174712,41 @@ var schemaComponents = {
173456
174712
  const: null
173457
174713
  },
173458
174714
  error: {
173459
- $ref: "#/components/schemas/OficlinicListAffiliateTypesNotFoundFailure"
174715
+ $ref: "#/components/schemas/OficlinicListBookingDaysNotFoundFailure"
173460
174716
  },
173461
174717
  metadata: {
173462
174718
  $ref: "#/components/schemas/ResponseMetadata"
173463
174719
  }
173464
174720
  }
173465
174721
  },
173466
- OficlinicListAffiliateTypesNotFoundFailure: {
174722
+ OficlinicListBookingDaysNotFoundFailure: {
173467
174723
  oneOf: [
173468
174724
  {
173469
174725
  $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
173470
174726
  },
173471
174727
  {
173472
- $ref: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
174728
+ $ref: "#/components/schemas/OficlinicPayerNotFoundFailure"
173473
174729
  }
173474
174730
  ],
173475
174731
  discriminator: {
173476
174732
  propertyName: "code",
173477
174733
  mapping: {
173478
174734
  CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
173479
- BOOKING_OPTION_NOT_FOUND: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
174735
+ PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure"
173480
174736
  }
173481
174737
  }
173482
174738
  },
173483
- OficlinicListAffiliateTypesResult: {
174739
+ OficlinicListBookingDaysResult: {
173484
174740
  anyOf: [
173485
174741
  {
173486
- $ref: "#/components/schemas/OficlinicAffiliateTypePage"
174742
+ $ref: "#/components/schemas/OficlinicBookingDayPage"
173487
174743
  },
173488
174744
  {
173489
174745
  $ref: "#/components/schemas/OficlinicAgentText"
173490
174746
  }
173491
174747
  ]
173492
174748
  },
173493
- OficlinicListAffiliateTypesResultResponse: {
174749
+ OficlinicListBookingDaysResultResponse: {
173494
174750
  type: "object",
173495
174751
  description: "A successful answer.",
173496
174752
  additionalProperties: false,
@@ -173508,7 +174764,7 @@ var schemaComponents = {
173508
174764
  ]
173509
174765
  },
173510
174766
  data: {
173511
- $ref: "#/components/schemas/OficlinicListAffiliateTypesResult"
174767
+ $ref: "#/components/schemas/OficlinicListBookingDaysResult"
173512
174768
  },
173513
174769
  error: {
173514
174770
  const: null
@@ -173518,7 +174774,7 @@ var schemaComponents = {
173518
174774
  }
173519
174775
  }
173520
174776
  },
173521
- OficlinicListAffiliateTypesServiceUnavailableError: {
174777
+ OficlinicListBookingDaysServiceUnavailableError: {
173522
174778
  type: "object",
173523
174779
  description: "A failed answer.",
173524
174780
  additionalProperties: false,
@@ -173539,14 +174795,14 @@ var schemaComponents = {
173539
174795
  const: null
173540
174796
  },
173541
174797
  error: {
173542
- $ref: "#/components/schemas/OficlinicListAffiliateTypesServiceUnavailableFailure"
174798
+ $ref: "#/components/schemas/OficlinicListBookingDaysServiceUnavailableFailure"
173543
174799
  },
173544
174800
  metadata: {
173545
174801
  $ref: "#/components/schemas/ResponseMetadata"
173546
174802
  }
173547
174803
  }
173548
174804
  },
173549
- OficlinicListAffiliateTypesServiceUnavailableFailure: {
174805
+ OficlinicListBookingDaysServiceUnavailableFailure: {
173550
174806
  oneOf: [
173551
174807
  {
173552
174808
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
@@ -173563,7 +174819,7 @@ var schemaComponents = {
173563
174819
  }
173564
174820
  }
173565
174821
  },
173566
- OficlinicListAffiliateTypesTooManyRequestsError: {
174822
+ OficlinicListBookingDaysTooManyRequestsError: {
173567
174823
  type: "object",
173568
174824
  description: "A failed answer.",
173569
174825
  additionalProperties: false,
@@ -173584,14 +174840,14 @@ var schemaComponents = {
173584
174840
  const: null
173585
174841
  },
173586
174842
  error: {
173587
- $ref: "#/components/schemas/OficlinicListAffiliateTypesTooManyRequestsFailure"
174843
+ $ref: "#/components/schemas/OficlinicListBookingDaysTooManyRequestsFailure"
173588
174844
  },
173589
174845
  metadata: {
173590
174846
  $ref: "#/components/schemas/ResponseMetadata"
173591
174847
  }
173592
174848
  }
173593
174849
  },
173594
- OficlinicListAffiliateTypesTooManyRequestsFailure: {
174850
+ OficlinicListBookingDaysTooManyRequestsFailure: {
173595
174851
  oneOf: [
173596
174852
  {
173597
174853
  $ref: "#/components/schemas/RateLimitedFailure"
@@ -173608,7 +174864,7 @@ var schemaComponents = {
173608
174864
  }
173609
174865
  }
173610
174866
  },
173611
- OficlinicListAffiliateTypesUnprocessableContentError: {
174867
+ OficlinicListBookingDaysUnprocessableContentError: {
173612
174868
  type: "object",
173613
174869
  description: "A failed answer.",
173614
174870
  additionalProperties: false,
@@ -173629,14 +174885,14 @@ var schemaComponents = {
173629
174885
  const: null
173630
174886
  },
173631
174887
  error: {
173632
- $ref: "#/components/schemas/OficlinicListAffiliateTypesUnprocessableContentFailure"
174888
+ $ref: "#/components/schemas/OficlinicListBookingDaysUnprocessableContentFailure"
173633
174889
  },
173634
174890
  metadata: {
173635
174891
  $ref: "#/components/schemas/ResponseMetadata"
173636
174892
  }
173637
174893
  }
173638
174894
  },
173639
- OficlinicListAffiliateTypesUnprocessableContentFailure: {
174895
+ OficlinicListBookingDaysUnprocessableContentFailure: {
173640
174896
  oneOf: [
173641
174897
  {
173642
174898
  $ref: "#/components/schemas/CredentialsRejectedFailure"
@@ -173657,7 +174913,7 @@ var schemaComponents = {
173657
174913
  }
173658
174914
  }
173659
174915
  },
173660
- OficlinicListBookingDaysBadGatewayError: {
174916
+ OficlinicListBookingProfessionalsBadGatewayError: {
173661
174917
  type: "object",
173662
174918
  description: "A failed answer.",
173663
174919
  additionalProperties: false,
@@ -173678,14 +174934,14 @@ var schemaComponents = {
173678
174934
  const: null
173679
174935
  },
173680
174936
  error: {
173681
- $ref: "#/components/schemas/OficlinicListBookingDaysBadGatewayFailure"
174937
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsBadGatewayFailure"
173682
174938
  },
173683
174939
  metadata: {
173684
174940
  $ref: "#/components/schemas/ResponseMetadata"
173685
174941
  }
173686
174942
  }
173687
174943
  },
173688
- OficlinicListBookingDaysBadGatewayFailure: {
174944
+ OficlinicListBookingProfessionalsBadGatewayFailure: {
173689
174945
  oneOf: [
173690
174946
  {
173691
174947
  $ref: "#/components/schemas/OutcomeUnknownFailure"
@@ -173706,7 +174962,7 @@ var schemaComponents = {
173706
174962
  }
173707
174963
  }
173708
174964
  },
173709
- OficlinicListBookingDaysBadRequestError: {
174965
+ OficlinicListBookingProfessionalsBadRequestError: {
173710
174966
  type: "object",
173711
174967
  description: "A failed answer.",
173712
174968
  additionalProperties: false,
@@ -173727,14 +174983,14 @@ var schemaComponents = {
173727
174983
  const: null
173728
174984
  },
173729
174985
  error: {
173730
- $ref: "#/components/schemas/OficlinicListBookingDaysBadRequestFailure"
174986
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsBadRequestFailure"
173731
174987
  },
173732
174988
  metadata: {
173733
174989
  $ref: "#/components/schemas/ResponseMetadata"
173734
174990
  }
173735
174991
  }
173736
174992
  },
173737
- OficlinicListBookingDaysBadRequestFailure: {
174993
+ OficlinicListBookingProfessionalsBadRequestFailure: {
173738
174994
  oneOf: [
173739
174995
  {
173740
174996
  $ref: "#/components/schemas/InvalidInputFailure"
@@ -173751,7 +175007,7 @@ var schemaComponents = {
173751
175007
  }
173752
175008
  }
173753
175009
  },
173754
- OficlinicListBookingDaysConflictError: {
175010
+ OficlinicListBookingProfessionalsConflictError: {
173755
175011
  type: "object",
173756
175012
  description: "A failed answer.",
173757
175013
  additionalProperties: false,
@@ -173772,14 +175028,14 @@ var schemaComponents = {
173772
175028
  const: null
173773
175029
  },
173774
175030
  error: {
173775
- $ref: "#/components/schemas/OficlinicListBookingDaysConflictFailure"
175031
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsConflictFailure"
173776
175032
  },
173777
175033
  metadata: {
173778
175034
  $ref: "#/components/schemas/ResponseMetadata"
173779
175035
  }
173780
175036
  }
173781
175037
  },
173782
- OficlinicListBookingDaysConflictFailure: {
175038
+ OficlinicListBookingProfessionalsConflictFailure: {
173783
175039
  oneOf: [
173784
175040
  {
173785
175041
  $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
@@ -173808,7 +175064,7 @@ var schemaComponents = {
173808
175064
  }
173809
175065
  }
173810
175066
  },
173811
- OficlinicListBookingDaysNotFoundError: {
175067
+ OficlinicListBookingProfessionalsNotFoundError: {
173812
175068
  type: "object",
173813
175069
  description: "A failed answer.",
173814
175070
  additionalProperties: false,
@@ -173829,41 +175085,45 @@ var schemaComponents = {
173829
175085
  const: null
173830
175086
  },
173831
175087
  error: {
173832
- $ref: "#/components/schemas/OficlinicListBookingDaysNotFoundFailure"
175088
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsNotFoundFailure"
173833
175089
  },
173834
175090
  metadata: {
173835
175091
  $ref: "#/components/schemas/ResponseMetadata"
173836
175092
  }
173837
175093
  }
173838
175094
  },
173839
- OficlinicListBookingDaysNotFoundFailure: {
175095
+ OficlinicListBookingProfessionalsNotFoundFailure: {
173840
175096
  oneOf: [
173841
175097
  {
173842
175098
  $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
173843
175099
  },
173844
175100
  {
173845
175101
  $ref: "#/components/schemas/OficlinicPayerNotFoundFailure"
175102
+ },
175103
+ {
175104
+ $ref: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
173846
175105
  }
173847
175106
  ],
173848
175107
  discriminator: {
173849
175108
  propertyName: "code",
173850
175109
  mapping: {
173851
175110
  CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
173852
- PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure"
175111
+ PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure",
175112
+ BOOKING_OPTION_NOT_FOUND: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
173853
175113
  }
173854
175114
  }
173855
175115
  },
173856
- OficlinicListBookingDaysResult: {
175116
+ OficlinicListBookingProfessionalsResult: {
173857
175117
  anyOf: [
173858
175118
  {
173859
- $ref: "#/components/schemas/OficlinicBookingDayPage"
175119
+ $ref: "#/components/schemas/OficlinicBookingProfessionalPage"
173860
175120
  },
173861
175121
  {
173862
175122
  $ref: "#/components/schemas/OficlinicAgentText"
173863
175123
  }
173864
175124
  ]
173865
175125
  },
173866
- OficlinicListBookingDaysResultResponse: {
175126
+ OficlinicListBookingProfessionalsResultResponse: {
173867
175127
  type: "object",
173868
175128
  description: "A successful answer.",
173869
175129
  additionalProperties: false,
@@ -173881,7 +175141,7 @@ var schemaComponents = {
173881
175141
  ]
173882
175142
  },
173883
175143
  data: {
173884
- $ref: "#/components/schemas/OficlinicListBookingDaysResult"
175144
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsResult"
173885
175145
  },
173886
175146
  error: {
173887
175147
  const: null
@@ -173891,7 +175151,7 @@ var schemaComponents = {
173891
175151
  }
173892
175152
  }
173893
175153
  },
173894
- OficlinicListBookingDaysServiceUnavailableError: {
175154
+ OficlinicListBookingProfessionalsServiceUnavailableError: {
173895
175155
  type: "object",
173896
175156
  description: "A failed answer.",
173897
175157
  additionalProperties: false,
@@ -173912,14 +175172,14 @@ var schemaComponents = {
173912
175172
  const: null
173913
175173
  },
173914
175174
  error: {
173915
- $ref: "#/components/schemas/OficlinicListBookingDaysServiceUnavailableFailure"
175175
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsServiceUnavailableFailure"
173916
175176
  },
173917
175177
  metadata: {
173918
175178
  $ref: "#/components/schemas/ResponseMetadata"
173919
175179
  }
173920
175180
  }
173921
175181
  },
173922
- OficlinicListBookingDaysServiceUnavailableFailure: {
175182
+ OficlinicListBookingProfessionalsServiceUnavailableFailure: {
173923
175183
  oneOf: [
173924
175184
  {
173925
175185
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
@@ -173936,7 +175196,7 @@ var schemaComponents = {
173936
175196
  }
173937
175197
  }
173938
175198
  },
173939
- OficlinicListBookingDaysTooManyRequestsError: {
175199
+ OficlinicListBookingProfessionalsTooManyRequestsError: {
173940
175200
  type: "object",
173941
175201
  description: "A failed answer.",
173942
175202
  additionalProperties: false,
@@ -173957,14 +175217,14 @@ var schemaComponents = {
173957
175217
  const: null
173958
175218
  },
173959
175219
  error: {
173960
- $ref: "#/components/schemas/OficlinicListBookingDaysTooManyRequestsFailure"
175220
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsTooManyRequestsFailure"
173961
175221
  },
173962
175222
  metadata: {
173963
175223
  $ref: "#/components/schemas/ResponseMetadata"
173964
175224
  }
173965
175225
  }
173966
175226
  },
173967
- OficlinicListBookingDaysTooManyRequestsFailure: {
175227
+ OficlinicListBookingProfessionalsTooManyRequestsFailure: {
173968
175228
  oneOf: [
173969
175229
  {
173970
175230
  $ref: "#/components/schemas/RateLimitedFailure"
@@ -173981,7 +175241,7 @@ var schemaComponents = {
173981
175241
  }
173982
175242
  }
173983
175243
  },
173984
- OficlinicListBookingDaysUnprocessableContentError: {
175244
+ OficlinicListBookingProfessionalsUnprocessableContentError: {
173985
175245
  type: "object",
173986
175246
  description: "A failed answer.",
173987
175247
  additionalProperties: false,
@@ -174002,14 +175262,14 @@ var schemaComponents = {
174002
175262
  const: null
174003
175263
  },
174004
175264
  error: {
174005
- $ref: "#/components/schemas/OficlinicListBookingDaysUnprocessableContentFailure"
175265
+ $ref: "#/components/schemas/OficlinicListBookingProfessionalsUnprocessableContentFailure"
174006
175266
  },
174007
175267
  metadata: {
174008
175268
  $ref: "#/components/schemas/ResponseMetadata"
174009
175269
  }
174010
175270
  }
174011
175271
  },
174012
- OficlinicListBookingDaysUnprocessableContentFailure: {
175272
+ OficlinicListBookingProfessionalsUnprocessableContentFailure: {
174013
175273
  oneOf: [
174014
175274
  {
174015
175275
  $ref: "#/components/schemas/CredentialsRejectedFailure"
@@ -174019,6 +175279,9 @@ var schemaComponents = {
174019
175279
  },
174020
175280
  {
174021
175281
  $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
175282
+ },
175283
+ {
175284
+ $ref: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
174022
175285
  }
174023
175286
  ],
174024
175287
  discriminator: {
@@ -174026,11 +175289,12 @@ var schemaComponents = {
174026
175289
  mapping: {
174027
175290
  CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
174028
175291
  CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
174029
- PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
175292
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure",
175293
+ PROGRAM_UNITS_NOT_SUPPORTED: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
174030
175294
  }
174031
175295
  }
174032
175296
  },
174033
- OficlinicListBookingProfessionalsBadGatewayError: {
175297
+ OficlinicListBookingRoomsBadGatewayError: {
174034
175298
  type: "object",
174035
175299
  description: "A failed answer.",
174036
175300
  additionalProperties: false,
@@ -174051,14 +175315,14 @@ var schemaComponents = {
174051
175315
  const: null
174052
175316
  },
174053
175317
  error: {
174054
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsBadGatewayFailure"
175318
+ $ref: "#/components/schemas/OficlinicListBookingRoomsBadGatewayFailure"
174055
175319
  },
174056
175320
  metadata: {
174057
175321
  $ref: "#/components/schemas/ResponseMetadata"
174058
175322
  }
174059
175323
  }
174060
175324
  },
174061
- OficlinicListBookingProfessionalsBadGatewayFailure: {
175325
+ OficlinicListBookingRoomsBadGatewayFailure: {
174062
175326
  oneOf: [
174063
175327
  {
174064
175328
  $ref: "#/components/schemas/OutcomeUnknownFailure"
@@ -174079,7 +175343,7 @@ var schemaComponents = {
174079
175343
  }
174080
175344
  }
174081
175345
  },
174082
- OficlinicListBookingProfessionalsBadRequestError: {
175346
+ OficlinicListBookingRoomsBadRequestError: {
174083
175347
  type: "object",
174084
175348
  description: "A failed answer.",
174085
175349
  additionalProperties: false,
@@ -174100,14 +175364,14 @@ var schemaComponents = {
174100
175364
  const: null
174101
175365
  },
174102
175366
  error: {
174103
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsBadRequestFailure"
175367
+ $ref: "#/components/schemas/OficlinicListBookingRoomsBadRequestFailure"
174104
175368
  },
174105
175369
  metadata: {
174106
175370
  $ref: "#/components/schemas/ResponseMetadata"
174107
175371
  }
174108
175372
  }
174109
175373
  },
174110
- OficlinicListBookingProfessionalsBadRequestFailure: {
175374
+ OficlinicListBookingRoomsBadRequestFailure: {
174111
175375
  oneOf: [
174112
175376
  {
174113
175377
  $ref: "#/components/schemas/InvalidInputFailure"
@@ -174124,7 +175388,7 @@ var schemaComponents = {
174124
175388
  }
174125
175389
  }
174126
175390
  },
174127
- OficlinicListBookingProfessionalsConflictError: {
175391
+ OficlinicListBookingRoomsConflictError: {
174128
175392
  type: "object",
174129
175393
  description: "A failed answer.",
174130
175394
  additionalProperties: false,
@@ -174145,14 +175409,14 @@ var schemaComponents = {
174145
175409
  const: null
174146
175410
  },
174147
175411
  error: {
174148
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsConflictFailure"
175412
+ $ref: "#/components/schemas/OficlinicListBookingRoomsConflictFailure"
174149
175413
  },
174150
175414
  metadata: {
174151
175415
  $ref: "#/components/schemas/ResponseMetadata"
174152
175416
  }
174153
175417
  }
174154
175418
  },
174155
- OficlinicListBookingProfessionalsConflictFailure: {
175419
+ OficlinicListBookingRoomsConflictFailure: {
174156
175420
  oneOf: [
174157
175421
  {
174158
175422
  $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
@@ -174181,7 +175445,7 @@ var schemaComponents = {
174181
175445
  }
174182
175446
  }
174183
175447
  },
174184
- OficlinicListBookingProfessionalsNotFoundError: {
175448
+ OficlinicListBookingRoomsNotFoundError: {
174185
175449
  type: "object",
174186
175450
  description: "A failed answer.",
174187
175451
  additionalProperties: false,
@@ -174202,45 +175466,41 @@ var schemaComponents = {
174202
175466
  const: null
174203
175467
  },
174204
175468
  error: {
174205
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsNotFoundFailure"
175469
+ $ref: "#/components/schemas/OficlinicListBookingRoomsNotFoundFailure"
174206
175470
  },
174207
175471
  metadata: {
174208
175472
  $ref: "#/components/schemas/ResponseMetadata"
174209
175473
  }
174210
175474
  }
174211
175475
  },
174212
- OficlinicListBookingProfessionalsNotFoundFailure: {
175476
+ OficlinicListBookingRoomsNotFoundFailure: {
174213
175477
  oneOf: [
174214
175478
  {
174215
175479
  $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
174216
175480
  },
174217
175481
  {
174218
175482
  $ref: "#/components/schemas/OficlinicPayerNotFoundFailure"
174219
- },
174220
- {
174221
- $ref: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
174222
175483
  }
174223
175484
  ],
174224
175485
  discriminator: {
174225
175486
  propertyName: "code",
174226
175487
  mapping: {
174227
175488
  CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
174228
- PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure",
174229
- BOOKING_OPTION_NOT_FOUND: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
175489
+ PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure"
174230
175490
  }
174231
175491
  }
174232
175492
  },
174233
- OficlinicListBookingProfessionalsResult: {
175493
+ OficlinicListBookingRoomsResult: {
174234
175494
  anyOf: [
174235
175495
  {
174236
- $ref: "#/components/schemas/OficlinicBookingProfessionalPage"
175496
+ $ref: "#/components/schemas/OficlinicBookingRoomPage"
174237
175497
  },
174238
175498
  {
174239
175499
  $ref: "#/components/schemas/OficlinicAgentText"
174240
175500
  }
174241
175501
  ]
174242
175502
  },
174243
- OficlinicListBookingProfessionalsResultResponse: {
175503
+ OficlinicListBookingRoomsResultResponse: {
174244
175504
  type: "object",
174245
175505
  description: "A successful answer.",
174246
175506
  additionalProperties: false,
@@ -174258,7 +175518,7 @@ var schemaComponents = {
174258
175518
  ]
174259
175519
  },
174260
175520
  data: {
174261
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsResult"
175521
+ $ref: "#/components/schemas/OficlinicListBookingRoomsResult"
174262
175522
  },
174263
175523
  error: {
174264
175524
  const: null
@@ -174268,7 +175528,7 @@ var schemaComponents = {
174268
175528
  }
174269
175529
  }
174270
175530
  },
174271
- OficlinicListBookingProfessionalsServiceUnavailableError: {
175531
+ OficlinicListBookingRoomsServiceUnavailableError: {
174272
175532
  type: "object",
174273
175533
  description: "A failed answer.",
174274
175534
  additionalProperties: false,
@@ -174289,14 +175549,14 @@ var schemaComponents = {
174289
175549
  const: null
174290
175550
  },
174291
175551
  error: {
174292
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsServiceUnavailableFailure"
175552
+ $ref: "#/components/schemas/OficlinicListBookingRoomsServiceUnavailableFailure"
174293
175553
  },
174294
175554
  metadata: {
174295
175555
  $ref: "#/components/schemas/ResponseMetadata"
174296
175556
  }
174297
175557
  }
174298
175558
  },
174299
- OficlinicListBookingProfessionalsServiceUnavailableFailure: {
175559
+ OficlinicListBookingRoomsServiceUnavailableFailure: {
174300
175560
  oneOf: [
174301
175561
  {
174302
175562
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
@@ -174313,7 +175573,7 @@ var schemaComponents = {
174313
175573
  }
174314
175574
  }
174315
175575
  },
174316
- OficlinicListBookingProfessionalsTooManyRequestsError: {
175576
+ OficlinicListBookingRoomsTooManyRequestsError: {
174317
175577
  type: "object",
174318
175578
  description: "A failed answer.",
174319
175579
  additionalProperties: false,
@@ -174334,14 +175594,14 @@ var schemaComponents = {
174334
175594
  const: null
174335
175595
  },
174336
175596
  error: {
174337
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsTooManyRequestsFailure"
175597
+ $ref: "#/components/schemas/OficlinicListBookingRoomsTooManyRequestsFailure"
174338
175598
  },
174339
175599
  metadata: {
174340
175600
  $ref: "#/components/schemas/ResponseMetadata"
174341
175601
  }
174342
175602
  }
174343
175603
  },
174344
- OficlinicListBookingProfessionalsTooManyRequestsFailure: {
175604
+ OficlinicListBookingRoomsTooManyRequestsFailure: {
174345
175605
  oneOf: [
174346
175606
  {
174347
175607
  $ref: "#/components/schemas/RateLimitedFailure"
@@ -174358,7 +175618,7 @@ var schemaComponents = {
174358
175618
  }
174359
175619
  }
174360
175620
  },
174361
- OficlinicListBookingProfessionalsUnprocessableContentError: {
175621
+ OficlinicListBookingRoomsUnprocessableContentError: {
174362
175622
  type: "object",
174363
175623
  description: "A failed answer.",
174364
175624
  additionalProperties: false,
@@ -174379,14 +175639,14 @@ var schemaComponents = {
174379
175639
  const: null
174380
175640
  },
174381
175641
  error: {
174382
- $ref: "#/components/schemas/OficlinicListBookingProfessionalsUnprocessableContentFailure"
175642
+ $ref: "#/components/schemas/OficlinicListBookingRoomsUnprocessableContentFailure"
174383
175643
  },
174384
175644
  metadata: {
174385
175645
  $ref: "#/components/schemas/ResponseMetadata"
174386
175646
  }
174387
175647
  }
174388
175648
  },
174389
- OficlinicListBookingProfessionalsUnprocessableContentFailure: {
175649
+ OficlinicListBookingRoomsUnprocessableContentFailure: {
174390
175650
  oneOf: [
174391
175651
  {
174392
175652
  $ref: "#/components/schemas/CredentialsRejectedFailure"
@@ -174396,9 +175656,6 @@ var schemaComponents = {
174396
175656
  },
174397
175657
  {
174398
175658
  $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
174399
- },
174400
- {
174401
- $ref: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
174402
175659
  }
174403
175660
  ],
174404
175661
  discriminator: {
@@ -174406,12 +175663,11 @@ var schemaComponents = {
174406
175663
  mapping: {
174407
175664
  CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
174408
175665
  CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
174409
- PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure",
174410
- PROGRAM_UNITS_NOT_SUPPORTED: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
175666
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
174411
175667
  }
174412
175668
  }
174413
175669
  },
174414
- OficlinicListBookingRoomsBadGatewayError: {
175670
+ OficlinicListBookingSlotsBadGatewayError: {
174415
175671
  type: "object",
174416
175672
  description: "A failed answer.",
174417
175673
  additionalProperties: false,
@@ -174432,14 +175688,14 @@ var schemaComponents = {
174432
175688
  const: null
174433
175689
  },
174434
175690
  error: {
174435
- $ref: "#/components/schemas/OficlinicListBookingRoomsBadGatewayFailure"
175691
+ $ref: "#/components/schemas/OficlinicListBookingSlotsBadGatewayFailure"
174436
175692
  },
174437
175693
  metadata: {
174438
175694
  $ref: "#/components/schemas/ResponseMetadata"
174439
175695
  }
174440
175696
  }
174441
175697
  },
174442
- OficlinicListBookingRoomsBadGatewayFailure: {
175698
+ OficlinicListBookingSlotsBadGatewayFailure: {
174443
175699
  oneOf: [
174444
175700
  {
174445
175701
  $ref: "#/components/schemas/OutcomeUnknownFailure"
@@ -174460,7 +175716,7 @@ var schemaComponents = {
174460
175716
  }
174461
175717
  }
174462
175718
  },
174463
- OficlinicListBookingRoomsBadRequestError: {
175719
+ OficlinicListBookingSlotsBadRequestError: {
174464
175720
  type: "object",
174465
175721
  description: "A failed answer.",
174466
175722
  additionalProperties: false,
@@ -174481,14 +175737,14 @@ var schemaComponents = {
174481
175737
  const: null
174482
175738
  },
174483
175739
  error: {
174484
- $ref: "#/components/schemas/OficlinicListBookingRoomsBadRequestFailure"
175740
+ $ref: "#/components/schemas/OficlinicListBookingSlotsBadRequestFailure"
174485
175741
  },
174486
175742
  metadata: {
174487
175743
  $ref: "#/components/schemas/ResponseMetadata"
174488
175744
  }
174489
175745
  }
174490
175746
  },
174491
- OficlinicListBookingRoomsBadRequestFailure: {
175747
+ OficlinicListBookingSlotsBadRequestFailure: {
174492
175748
  oneOf: [
174493
175749
  {
174494
175750
  $ref: "#/components/schemas/InvalidInputFailure"
@@ -174505,7 +175761,7 @@ var schemaComponents = {
174505
175761
  }
174506
175762
  }
174507
175763
  },
174508
- OficlinicListBookingRoomsConflictError: {
175764
+ OficlinicListBookingSlotsConflictError: {
174509
175765
  type: "object",
174510
175766
  description: "A failed answer.",
174511
175767
  additionalProperties: false,
@@ -174526,14 +175782,14 @@ var schemaComponents = {
174526
175782
  const: null
174527
175783
  },
174528
175784
  error: {
174529
- $ref: "#/components/schemas/OficlinicListBookingRoomsConflictFailure"
175785
+ $ref: "#/components/schemas/OficlinicListBookingSlotsConflictFailure"
174530
175786
  },
174531
175787
  metadata: {
174532
175788
  $ref: "#/components/schemas/ResponseMetadata"
174533
175789
  }
174534
175790
  }
174535
175791
  },
174536
- OficlinicListBookingRoomsConflictFailure: {
175792
+ OficlinicListBookingSlotsConflictFailure: {
174537
175793
  oneOf: [
174538
175794
  {
174539
175795
  $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
@@ -174562,7 +175818,7 @@ var schemaComponents = {
174562
175818
  }
174563
175819
  }
174564
175820
  },
174565
- OficlinicListBookingRoomsNotFoundError: {
175821
+ OficlinicListBookingSlotsNotFoundError: {
174566
175822
  type: "object",
174567
175823
  description: "A failed answer.",
174568
175824
  additionalProperties: false,
@@ -174583,14 +175839,14 @@ var schemaComponents = {
174583
175839
  const: null
174584
175840
  },
174585
175841
  error: {
174586
- $ref: "#/components/schemas/OficlinicListBookingRoomsNotFoundFailure"
175842
+ $ref: "#/components/schemas/OficlinicListBookingSlotsNotFoundFailure"
174587
175843
  },
174588
175844
  metadata: {
174589
175845
  $ref: "#/components/schemas/ResponseMetadata"
174590
175846
  }
174591
175847
  }
174592
175848
  },
174593
- OficlinicListBookingRoomsNotFoundFailure: {
175849
+ OficlinicListBookingSlotsNotFoundFailure: {
174594
175850
  oneOf: [
174595
175851
  {
174596
175852
  $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
@@ -174607,17 +175863,17 @@ var schemaComponents = {
174607
175863
  }
174608
175864
  }
174609
175865
  },
174610
- OficlinicListBookingRoomsResult: {
175866
+ OficlinicListBookingSlotsResult: {
174611
175867
  anyOf: [
174612
175868
  {
174613
- $ref: "#/components/schemas/OficlinicBookingRoomPage"
175869
+ $ref: "#/components/schemas/OficlinicBookingSlotPage"
174614
175870
  },
174615
175871
  {
174616
175872
  $ref: "#/components/schemas/OficlinicAgentText"
174617
175873
  }
174618
175874
  ]
174619
175875
  },
174620
- OficlinicListBookingRoomsResultResponse: {
175876
+ OficlinicListBookingSlotsResultResponse: {
174621
175877
  type: "object",
174622
175878
  description: "A successful answer.",
174623
175879
  additionalProperties: false,
@@ -174635,7 +175891,7 @@ var schemaComponents = {
174635
175891
  ]
174636
175892
  },
174637
175893
  data: {
174638
- $ref: "#/components/schemas/OficlinicListBookingRoomsResult"
175894
+ $ref: "#/components/schemas/OficlinicListBookingSlotsResult"
174639
175895
  },
174640
175896
  error: {
174641
175897
  const: null
@@ -174645,7 +175901,7 @@ var schemaComponents = {
174645
175901
  }
174646
175902
  }
174647
175903
  },
174648
- OficlinicListBookingRoomsServiceUnavailableError: {
175904
+ OficlinicListBookingSlotsServiceUnavailableError: {
174649
175905
  type: "object",
174650
175906
  description: "A failed answer.",
174651
175907
  additionalProperties: false,
@@ -174666,14 +175922,14 @@ var schemaComponents = {
174666
175922
  const: null
174667
175923
  },
174668
175924
  error: {
174669
- $ref: "#/components/schemas/OficlinicListBookingRoomsServiceUnavailableFailure"
175925
+ $ref: "#/components/schemas/OficlinicListBookingSlotsServiceUnavailableFailure"
174670
175926
  },
174671
175927
  metadata: {
174672
175928
  $ref: "#/components/schemas/ResponseMetadata"
174673
175929
  }
174674
175930
  }
174675
175931
  },
174676
- OficlinicListBookingRoomsServiceUnavailableFailure: {
175932
+ OficlinicListBookingSlotsServiceUnavailableFailure: {
174677
175933
  oneOf: [
174678
175934
  {
174679
175935
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
@@ -174690,7 +175946,7 @@ var schemaComponents = {
174690
175946
  }
174691
175947
  }
174692
175948
  },
174693
- OficlinicListBookingRoomsTooManyRequestsError: {
175949
+ OficlinicListBookingSlotsTooManyRequestsError: {
174694
175950
  type: "object",
174695
175951
  description: "A failed answer.",
174696
175952
  additionalProperties: false,
@@ -174711,14 +175967,14 @@ var schemaComponents = {
174711
175967
  const: null
174712
175968
  },
174713
175969
  error: {
174714
- $ref: "#/components/schemas/OficlinicListBookingRoomsTooManyRequestsFailure"
175970
+ $ref: "#/components/schemas/OficlinicListBookingSlotsTooManyRequestsFailure"
174715
175971
  },
174716
175972
  metadata: {
174717
175973
  $ref: "#/components/schemas/ResponseMetadata"
174718
175974
  }
174719
175975
  }
174720
175976
  },
174721
- OficlinicListBookingRoomsTooManyRequestsFailure: {
175977
+ OficlinicListBookingSlotsTooManyRequestsFailure: {
174722
175978
  oneOf: [
174723
175979
  {
174724
175980
  $ref: "#/components/schemas/RateLimitedFailure"
@@ -174735,7 +175991,7 @@ var schemaComponents = {
174735
175991
  }
174736
175992
  }
174737
175993
  },
174738
- OficlinicListBookingRoomsUnprocessableContentError: {
175994
+ OficlinicListBookingSlotsUnprocessableContentError: {
174739
175995
  type: "object",
174740
175996
  description: "A failed answer.",
174741
175997
  additionalProperties: false,
@@ -174756,14 +176012,14 @@ var schemaComponents = {
174756
176012
  const: null
174757
176013
  },
174758
176014
  error: {
174759
- $ref: "#/components/schemas/OficlinicListBookingRoomsUnprocessableContentFailure"
176015
+ $ref: "#/components/schemas/OficlinicListBookingSlotsUnprocessableContentFailure"
174760
176016
  },
174761
176017
  metadata: {
174762
176018
  $ref: "#/components/schemas/ResponseMetadata"
174763
176019
  }
174764
176020
  }
174765
176021
  },
174766
- OficlinicListBookingRoomsUnprocessableContentFailure: {
176022
+ OficlinicListBookingSlotsUnprocessableContentFailure: {
174767
176023
  oneOf: [
174768
176024
  {
174769
176025
  $ref: "#/components/schemas/CredentialsRejectedFailure"
@@ -174784,7 +176040,7 @@ var schemaComponents = {
174784
176040
  }
174785
176041
  }
174786
176042
  },
174787
- OficlinicListBookingSlotsBadGatewayError: {
176043
+ OficlinicListCancellationReasonsBadGatewayError: {
174788
176044
  type: "object",
174789
176045
  description: "A failed answer.",
174790
176046
  additionalProperties: false,
@@ -174805,14 +176061,14 @@ var schemaComponents = {
174805
176061
  const: null
174806
176062
  },
174807
176063
  error: {
174808
- $ref: "#/components/schemas/OficlinicListBookingSlotsBadGatewayFailure"
176064
+ $ref: "#/components/schemas/OficlinicListCancellationReasonsBadGatewayFailure"
174809
176065
  },
174810
176066
  metadata: {
174811
176067
  $ref: "#/components/schemas/ResponseMetadata"
174812
176068
  }
174813
176069
  }
174814
176070
  },
174815
- OficlinicListBookingSlotsBadGatewayFailure: {
176071
+ OficlinicListCancellationReasonsBadGatewayFailure: {
174816
176072
  oneOf: [
174817
176073
  {
174818
176074
  $ref: "#/components/schemas/OutcomeUnknownFailure"
@@ -174833,7 +176089,7 @@ var schemaComponents = {
174833
176089
  }
174834
176090
  }
174835
176091
  },
174836
- OficlinicListBookingSlotsBadRequestError: {
176092
+ OficlinicListCancellationReasonsBadRequestError: {
174837
176093
  type: "object",
174838
176094
  description: "A failed answer.",
174839
176095
  additionalProperties: false,
@@ -174854,14 +176110,14 @@ var schemaComponents = {
174854
176110
  const: null
174855
176111
  },
174856
176112
  error: {
174857
- $ref: "#/components/schemas/OficlinicListBookingSlotsBadRequestFailure"
176113
+ $ref: "#/components/schemas/OficlinicListCancellationReasonsBadRequestFailure"
174858
176114
  },
174859
176115
  metadata: {
174860
176116
  $ref: "#/components/schemas/ResponseMetadata"
174861
176117
  }
174862
176118
  }
174863
176119
  },
174864
- OficlinicListBookingSlotsBadRequestFailure: {
176120
+ OficlinicListCancellationReasonsBadRequestFailure: {
174865
176121
  oneOf: [
174866
176122
  {
174867
176123
  $ref: "#/components/schemas/InvalidInputFailure"
@@ -174878,7 +176134,7 @@ var schemaComponents = {
174878
176134
  }
174879
176135
  }
174880
176136
  },
174881
- OficlinicListBookingSlotsConflictError: {
176137
+ OficlinicListCancellationReasonsConflictError: {
174882
176138
  type: "object",
174883
176139
  description: "A failed answer.",
174884
176140
  additionalProperties: false,
@@ -174899,14 +176155,14 @@ var schemaComponents = {
174899
176155
  const: null
174900
176156
  },
174901
176157
  error: {
174902
- $ref: "#/components/schemas/OficlinicListBookingSlotsConflictFailure"
176158
+ $ref: "#/components/schemas/OficlinicListCancellationReasonsConflictFailure"
174903
176159
  },
174904
176160
  metadata: {
174905
176161
  $ref: "#/components/schemas/ResponseMetadata"
174906
176162
  }
174907
176163
  }
174908
176164
  },
174909
- OficlinicListBookingSlotsConflictFailure: {
176165
+ OficlinicListCancellationReasonsConflictFailure: {
174910
176166
  oneOf: [
174911
176167
  {
174912
176168
  $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
@@ -174919,9 +176175,6 @@ var schemaComponents = {
174919
176175
  },
174920
176176
  {
174921
176177
  $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
174922
- },
174923
- {
174924
- $ref: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
174925
176178
  }
174926
176179
  ],
174927
176180
  discriminator: {
@@ -174930,67 +176183,21 @@ var schemaComponents = {
174930
176183
  CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
174931
176184
  CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
174932
176185
  CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
174933
- REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure",
174934
- SELECTION_NOT_AVAILABLE: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
174935
- }
174936
- }
174937
- },
174938
- OficlinicListBookingSlotsNotFoundError: {
174939
- type: "object",
174940
- description: "A failed answer.",
174941
- additionalProperties: false,
174942
- required: [
174943
- "success",
174944
- "data",
174945
- "error",
174946
- "metadata"
174947
- ],
174948
- properties: {
174949
- success: {
174950
- type: "boolean",
174951
- enum: [
174952
- false
174953
- ]
174954
- },
174955
- data: {
174956
- const: null
174957
- },
174958
- error: {
174959
- $ref: "#/components/schemas/OficlinicListBookingSlotsNotFoundFailure"
174960
- },
174961
- metadata: {
174962
- $ref: "#/components/schemas/ResponseMetadata"
174963
- }
174964
- }
174965
- },
174966
- OficlinicListBookingSlotsNotFoundFailure: {
174967
- oneOf: [
174968
- {
174969
- $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
174970
- },
174971
- {
174972
- $ref: "#/components/schemas/OficlinicPayerNotFoundFailure"
174973
- }
174974
- ],
174975
- discriminator: {
174976
- propertyName: "code",
174977
- mapping: {
174978
- CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
174979
- PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure"
176186
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
174980
176187
  }
174981
176188
  }
174982
176189
  },
174983
- OficlinicListBookingSlotsResult: {
176190
+ OficlinicListCancellationReasonsResult: {
174984
176191
  anyOf: [
174985
176192
  {
174986
- $ref: "#/components/schemas/OficlinicBookingSlotPage"
176193
+ $ref: "#/components/schemas/OficlinicCancellationReasonPage"
174987
176194
  },
174988
176195
  {
174989
176196
  $ref: "#/components/schemas/OficlinicAgentText"
174990
176197
  }
174991
176198
  ]
174992
176199
  },
174993
- OficlinicListBookingSlotsResultResponse: {
176200
+ OficlinicListCancellationReasonsResultResponse: {
174994
176201
  type: "object",
174995
176202
  description: "A successful answer.",
174996
176203
  additionalProperties: false,
@@ -175008,7 +176215,7 @@ var schemaComponents = {
175008
176215
  ]
175009
176216
  },
175010
176217
  data: {
175011
- $ref: "#/components/schemas/OficlinicListBookingSlotsResult"
176218
+ $ref: "#/components/schemas/OficlinicListCancellationReasonsResult"
175012
176219
  },
175013
176220
  error: {
175014
176221
  const: null
@@ -175018,7 +176225,7 @@ var schemaComponents = {
175018
176225
  }
175019
176226
  }
175020
176227
  },
175021
- OficlinicListBookingSlotsServiceUnavailableError: {
176228
+ OficlinicListCancellationReasonsServiceUnavailableError: {
175022
176229
  type: "object",
175023
176230
  description: "A failed answer.",
175024
176231
  additionalProperties: false,
@@ -175039,14 +176246,14 @@ var schemaComponents = {
175039
176246
  const: null
175040
176247
  },
175041
176248
  error: {
175042
- $ref: "#/components/schemas/OficlinicListBookingSlotsServiceUnavailableFailure"
176249
+ $ref: "#/components/schemas/OficlinicListCancellationReasonsServiceUnavailableFailure"
175043
176250
  },
175044
176251
  metadata: {
175045
176252
  $ref: "#/components/schemas/ResponseMetadata"
175046
176253
  }
175047
176254
  }
175048
176255
  },
175049
- OficlinicListBookingSlotsServiceUnavailableFailure: {
176256
+ OficlinicListCancellationReasonsServiceUnavailableFailure: {
175050
176257
  oneOf: [
175051
176258
  {
175052
176259
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
@@ -175063,7 +176270,7 @@ var schemaComponents = {
175063
176270
  }
175064
176271
  }
175065
176272
  },
175066
- OficlinicListBookingSlotsTooManyRequestsError: {
176273
+ OficlinicListCancellationReasonsTooManyRequestsError: {
175067
176274
  type: "object",
175068
176275
  description: "A failed answer.",
175069
176276
  additionalProperties: false,
@@ -175084,14 +176291,14 @@ var schemaComponents = {
175084
176291
  const: null
175085
176292
  },
175086
176293
  error: {
175087
- $ref: "#/components/schemas/OficlinicListBookingSlotsTooManyRequestsFailure"
176294
+ $ref: "#/components/schemas/OficlinicListCancellationReasonsTooManyRequestsFailure"
175088
176295
  },
175089
176296
  metadata: {
175090
176297
  $ref: "#/components/schemas/ResponseMetadata"
175091
176298
  }
175092
176299
  }
175093
176300
  },
175094
- OficlinicListBookingSlotsTooManyRequestsFailure: {
176301
+ OficlinicListCancellationReasonsTooManyRequestsFailure: {
175095
176302
  oneOf: [
175096
176303
  {
175097
176304
  $ref: "#/components/schemas/RateLimitedFailure"
@@ -175108,7 +176315,7 @@ var schemaComponents = {
175108
176315
  }
175109
176316
  }
175110
176317
  },
175111
- OficlinicListBookingSlotsUnprocessableContentError: {
176318
+ OficlinicListCancellationReasonsUnprocessableContentError: {
175112
176319
  type: "object",
175113
176320
  description: "A failed answer.",
175114
176321
  additionalProperties: false,
@@ -175129,14 +176336,14 @@ var schemaComponents = {
175129
176336
  const: null
175130
176337
  },
175131
176338
  error: {
175132
- $ref: "#/components/schemas/OficlinicListBookingSlotsUnprocessableContentFailure"
176339
+ $ref: "#/components/schemas/OficlinicListCancellationReasonsUnprocessableContentFailure"
175133
176340
  },
175134
176341
  metadata: {
175135
176342
  $ref: "#/components/schemas/ResponseMetadata"
175136
176343
  }
175137
176344
  }
175138
176345
  },
175139
- OficlinicListBookingSlotsUnprocessableContentFailure: {
176346
+ OficlinicListCancellationReasonsUnprocessableContentFailure: {
175140
176347
  oneOf: [
175141
176348
  {
175142
176349
  $ref: "#/components/schemas/CredentialsRejectedFailure"
@@ -175157,7 +176364,7 @@ var schemaComponents = {
175157
176364
  }
175158
176365
  }
175159
176366
  },
175160
- OficlinicListCancellationReasonsBadGatewayError: {
176367
+ OficlinicListPatientRegistrationOptionsBadGatewayError: {
175161
176368
  type: "object",
175162
176369
  description: "A failed answer.",
175163
176370
  additionalProperties: false,
@@ -175178,14 +176385,14 @@ var schemaComponents = {
175178
176385
  const: null
175179
176386
  },
175180
176387
  error: {
175181
- $ref: "#/components/schemas/OficlinicListCancellationReasonsBadGatewayFailure"
176388
+ $ref: "#/components/schemas/OficlinicListPatientRegistrationOptionsBadGatewayFailure"
175182
176389
  },
175183
176390
  metadata: {
175184
176391
  $ref: "#/components/schemas/ResponseMetadata"
175185
176392
  }
175186
176393
  }
175187
176394
  },
175188
- OficlinicListCancellationReasonsBadGatewayFailure: {
176395
+ OficlinicListPatientRegistrationOptionsBadGatewayFailure: {
175189
176396
  oneOf: [
175190
176397
  {
175191
176398
  $ref: "#/components/schemas/OutcomeUnknownFailure"
@@ -175206,7 +176413,7 @@ var schemaComponents = {
175206
176413
  }
175207
176414
  }
175208
176415
  },
175209
- OficlinicListCancellationReasonsBadRequestError: {
176416
+ OficlinicListPatientRegistrationOptionsBadRequestError: {
175210
176417
  type: "object",
175211
176418
  description: "A failed answer.",
175212
176419
  additionalProperties: false,
@@ -175227,14 +176434,14 @@ var schemaComponents = {
175227
176434
  const: null
175228
176435
  },
175229
176436
  error: {
175230
- $ref: "#/components/schemas/OficlinicListCancellationReasonsBadRequestFailure"
176437
+ $ref: "#/components/schemas/OficlinicListPatientRegistrationOptionsBadRequestFailure"
175231
176438
  },
175232
176439
  metadata: {
175233
176440
  $ref: "#/components/schemas/ResponseMetadata"
175234
176441
  }
175235
176442
  }
175236
176443
  },
175237
- OficlinicListCancellationReasonsBadRequestFailure: {
176444
+ OficlinicListPatientRegistrationOptionsBadRequestFailure: {
175238
176445
  oneOf: [
175239
176446
  {
175240
176447
  $ref: "#/components/schemas/InvalidInputFailure"
@@ -175251,7 +176458,7 @@ var schemaComponents = {
175251
176458
  }
175252
176459
  }
175253
176460
  },
175254
- OficlinicListCancellationReasonsConflictError: {
176461
+ OficlinicListPatientRegistrationOptionsConflictError: {
175255
176462
  type: "object",
175256
176463
  description: "A failed answer.",
175257
176464
  additionalProperties: false,
@@ -175272,14 +176479,14 @@ var schemaComponents = {
175272
176479
  const: null
175273
176480
  },
175274
176481
  error: {
175275
- $ref: "#/components/schemas/OficlinicListCancellationReasonsConflictFailure"
176482
+ $ref: "#/components/schemas/OficlinicListPatientRegistrationOptionsConflictFailure"
175276
176483
  },
175277
176484
  metadata: {
175278
176485
  $ref: "#/components/schemas/ResponseMetadata"
175279
176486
  }
175280
176487
  }
175281
176488
  },
175282
- OficlinicListCancellationReasonsConflictFailure: {
176489
+ OficlinicListPatientRegistrationOptionsConflictFailure: {
175283
176490
  oneOf: [
175284
176491
  {
175285
176492
  $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
@@ -175304,17 +176511,17 @@ var schemaComponents = {
175304
176511
  }
175305
176512
  }
175306
176513
  },
175307
- OficlinicListCancellationReasonsResult: {
176514
+ OficlinicListPatientRegistrationOptionsResult: {
175308
176515
  anyOf: [
175309
176516
  {
175310
- $ref: "#/components/schemas/OficlinicCancellationReasonPage"
176517
+ $ref: "#/components/schemas/OficlinicRegistrationOptionPage"
175311
176518
  },
175312
176519
  {
175313
176520
  $ref: "#/components/schemas/OficlinicAgentText"
175314
176521
  }
175315
176522
  ]
175316
176523
  },
175317
- OficlinicListCancellationReasonsResultResponse: {
176524
+ OficlinicListPatientRegistrationOptionsResultResponse: {
175318
176525
  type: "object",
175319
176526
  description: "A successful answer.",
175320
176527
  additionalProperties: false,
@@ -175332,7 +176539,7 @@ var schemaComponents = {
175332
176539
  ]
175333
176540
  },
175334
176541
  data: {
175335
- $ref: "#/components/schemas/OficlinicListCancellationReasonsResult"
176542
+ $ref: "#/components/schemas/OficlinicListPatientRegistrationOptionsResult"
175336
176543
  },
175337
176544
  error: {
175338
176545
  const: null
@@ -175342,7 +176549,7 @@ var schemaComponents = {
175342
176549
  }
175343
176550
  }
175344
176551
  },
175345
- OficlinicListCancellationReasonsServiceUnavailableError: {
176552
+ OficlinicListPatientRegistrationOptionsServiceUnavailableError: {
175346
176553
  type: "object",
175347
176554
  description: "A failed answer.",
175348
176555
  additionalProperties: false,
@@ -175363,14 +176570,14 @@ var schemaComponents = {
175363
176570
  const: null
175364
176571
  },
175365
176572
  error: {
175366
- $ref: "#/components/schemas/OficlinicListCancellationReasonsServiceUnavailableFailure"
176573
+ $ref: "#/components/schemas/OficlinicListPatientRegistrationOptionsServiceUnavailableFailure"
175367
176574
  },
175368
176575
  metadata: {
175369
176576
  $ref: "#/components/schemas/ResponseMetadata"
175370
176577
  }
175371
176578
  }
175372
176579
  },
175373
- OficlinicListCancellationReasonsServiceUnavailableFailure: {
176580
+ OficlinicListPatientRegistrationOptionsServiceUnavailableFailure: {
175374
176581
  oneOf: [
175375
176582
  {
175376
176583
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
@@ -175387,7 +176594,7 @@ var schemaComponents = {
175387
176594
  }
175388
176595
  }
175389
176596
  },
175390
- OficlinicListCancellationReasonsTooManyRequestsError: {
176597
+ OficlinicListPatientRegistrationOptionsTooManyRequestsError: {
175391
176598
  type: "object",
175392
176599
  description: "A failed answer.",
175393
176600
  additionalProperties: false,
@@ -175408,14 +176615,14 @@ var schemaComponents = {
175408
176615
  const: null
175409
176616
  },
175410
176617
  error: {
175411
- $ref: "#/components/schemas/OficlinicListCancellationReasonsTooManyRequestsFailure"
176618
+ $ref: "#/components/schemas/OficlinicListPatientRegistrationOptionsTooManyRequestsFailure"
175412
176619
  },
175413
176620
  metadata: {
175414
176621
  $ref: "#/components/schemas/ResponseMetadata"
175415
176622
  }
175416
176623
  }
175417
176624
  },
175418
- OficlinicListCancellationReasonsTooManyRequestsFailure: {
176625
+ OficlinicListPatientRegistrationOptionsTooManyRequestsFailure: {
175419
176626
  oneOf: [
175420
176627
  {
175421
176628
  $ref: "#/components/schemas/RateLimitedFailure"
@@ -175432,7 +176639,7 @@ var schemaComponents = {
175432
176639
  }
175433
176640
  }
175434
176641
  },
175435
- OficlinicListCancellationReasonsUnprocessableContentError: {
176642
+ OficlinicListPatientRegistrationOptionsUnprocessableContentError: {
175436
176643
  type: "object",
175437
176644
  description: "A failed answer.",
175438
176645
  additionalProperties: false,
@@ -175453,14 +176660,14 @@ var schemaComponents = {
175453
176660
  const: null
175454
176661
  },
175455
176662
  error: {
175456
- $ref: "#/components/schemas/OficlinicListCancellationReasonsUnprocessableContentFailure"
176663
+ $ref: "#/components/schemas/OficlinicListPatientRegistrationOptionsUnprocessableContentFailure"
175457
176664
  },
175458
176665
  metadata: {
175459
176666
  $ref: "#/components/schemas/ResponseMetadata"
175460
176667
  }
175461
176668
  }
175462
176669
  },
175463
- OficlinicListCancellationReasonsUnprocessableContentFailure: {
176670
+ OficlinicListPatientRegistrationOptionsUnprocessableContentFailure: {
175464
176671
  oneOf: [
175465
176672
  {
175466
176673
  $ref: "#/components/schemas/CredentialsRejectedFailure"
@@ -179851,6 +181058,40 @@ var schemaComponents = {
179851
181058
  }
179852
181059
  }
179853
181060
  },
181061
+ OficlinicPatientAlreadyRegisteredFailure: {
181062
+ type: "object",
181063
+ description: "A patient with this document is already registered.",
181064
+ additionalProperties: false,
181065
+ required: [
181066
+ "code",
181067
+ "message",
181068
+ "retryable",
181069
+ "data"
181070
+ ],
181071
+ properties: {
181072
+ code: {
181073
+ type: "string",
181074
+ enum: [
181075
+ "PATIENT_ALREADY_REGISTERED"
181076
+ ],
181077
+ description: "The failure code, stable across releases."
181078
+ },
181079
+ message: {
181080
+ type: "string",
181081
+ description: "What went wrong, for people; it never contains input values."
181082
+ },
181083
+ retryable: {
181084
+ type: "boolean",
181085
+ enum: [
181086
+ false
181087
+ ],
181088
+ description: "Whether repeating the same request may succeed."
181089
+ },
181090
+ data: {
181091
+ $ref: "#/components/schemas/Empty"
181092
+ }
181093
+ }
181094
+ },
179854
181095
  OficlinicPatientFound: {
179855
181096
  additionalProperties: false,
179856
181097
  type: "object",
@@ -179963,6 +181204,24 @@ var schemaComponents = {
179963
181204
  }
179964
181205
  }
179965
181206
  },
181207
+ OficlinicPatientRegistration: {
181208
+ additionalProperties: false,
181209
+ type: "object",
181210
+ required: [
181211
+ "status",
181212
+ "verification"
181213
+ ],
181214
+ properties: {
181215
+ status: {
181216
+ const: "created",
181217
+ type: "string"
181218
+ },
181219
+ verification: {
181220
+ const: "provider_acknowledgement",
181221
+ type: "string"
181222
+ }
181223
+ }
181224
+ },
179966
181225
  OficlinicPayer: {
179967
181226
  additionalProperties: false,
179968
181227
  type: "object",
@@ -180768,6 +182027,83 @@ var schemaComponents = {
180768
182027
  }
180769
182028
  }
180770
182029
  },
182030
+ OficlinicRegistrationOption: {
182031
+ additionalProperties: false,
182032
+ type: "object",
182033
+ required: [
182034
+ "id",
182035
+ "name"
182036
+ ],
182037
+ properties: {
182038
+ id: {
182039
+ type: "string"
182040
+ },
182041
+ name: {
182042
+ type: "string"
182043
+ }
182044
+ }
182045
+ },
182046
+ OficlinicRegistrationOptionNotFoundFailure: {
182047
+ type: "object",
182048
+ description: "The provider's patient form did not offer one of the selected options.",
182049
+ additionalProperties: false,
182050
+ required: [
182051
+ "code",
182052
+ "message",
182053
+ "retryable",
182054
+ "data"
182055
+ ],
182056
+ properties: {
182057
+ code: {
182058
+ type: "string",
182059
+ enum: [
182060
+ "REGISTRATION_OPTION_NOT_FOUND"
182061
+ ],
182062
+ description: "The failure code, stable across releases."
182063
+ },
182064
+ message: {
182065
+ type: "string",
182066
+ description: "What went wrong, for people; it never contains input values."
182067
+ },
182068
+ retryable: {
182069
+ type: "boolean",
182070
+ enum: [
182071
+ false
182072
+ ],
182073
+ description: "Whether repeating the same request may succeed."
182074
+ },
182075
+ data: {
182076
+ $ref: "#/components/schemas/Empty"
182077
+ }
182078
+ }
182079
+ },
182080
+ OficlinicRegistrationOptionPage: {
182081
+ additionalProperties: false,
182082
+ type: "object",
182083
+ required: [
182084
+ "data",
182085
+ "object",
182086
+ "pageInfo"
182087
+ ],
182088
+ properties: {
182089
+ data: {
182090
+ description: "Items admitted by this resource contract within the verified organization.",
182091
+ type: "array",
182092
+ items: {
182093
+ $ref: "#/components/schemas/OficlinicRegistrationOption"
182094
+ }
182095
+ },
182096
+ object: {
182097
+ description: "Discriminator for a resource list response.",
182098
+ const: "list",
182099
+ type: "string"
182100
+ },
182101
+ pageInfo: {
182102
+ $ref: "#/components/schemas/PageInfo",
182103
+ description: "Opaque navigation cursors for this page’s stable keyset order."
182104
+ }
182105
+ }
182106
+ },
180771
182107
  OficlinicRelationship: {
180772
182108
  additionalProperties: false,
180773
182109
  type: "object",
@@ -181087,10 +182423,10 @@ var schemaComponents = {
181087
182423
  ]
181088
182424
  },
181089
182425
  copaymentPercentage: {
181090
- description: "Sent as pPorCopagos.",
182426
+ description: "Sent unchanged as pPorCopagos, preserving the source rate's precision.",
181091
182427
  anyOf: [
181092
182428
  {
181093
- pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,2})?$",
182429
+ pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,6})?$",
181094
182430
  type: "string"
181095
182431
  },
181096
182432
  {
@@ -243275,10 +244611,10 @@ var schemaComponents = {
243275
244611
  ]
243276
244612
  },
243277
244613
  copaymentPercentage: {
243278
- description: "Sent as pPorCopagos.",
244614
+ description: "Sent unchanged as pPorCopagos, preserving the source rate's precision.",
243279
244615
  anyOf: [
243280
244616
  {
243281
- pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,2})?$",
244617
+ pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,6})?$",
243282
244618
  type: "string"
243283
244619
  },
243284
244620
  {
@@ -243696,10 +245032,10 @@ var schemaComponents = {
243696
245032
  ]
243697
245033
  },
243698
245034
  copaymentPercentage: {
243699
- description: "Sent as pPorCopagos.",
245035
+ description: "Sent unchanged as pPorCopagos, preserving the source rate's precision.",
243700
245036
  anyOf: [
243701
245037
  {
243702
- pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,2})?$",
245038
+ pattern: "^(0|[1-9][0-9]{0,9})(\\.[0-9]{1,6})?$",
243703
245039
  type: "string"
243704
245040
  },
243705
245041
  {
@@ -244304,6 +245640,211 @@ var schemaComponents = {
244304
245640
  ],
244305
245641
  additionalProperties: false
244306
245642
  },
245643
+ OficlinicPatientRegistrationOptionsListInput: {
245644
+ type: "object",
245645
+ properties: {
245646
+ connectionId: {
245647
+ pattern: "^con_[0-9A-Za-z]{26}$",
245648
+ description: "An Account connection id of the caller's organization.",
245649
+ type: "string"
245650
+ },
245651
+ kind: {
245652
+ anyOf: [
245653
+ {
245654
+ const: "gender",
245655
+ type: "string"
245656
+ },
245657
+ {
245658
+ const: "zone",
245659
+ type: "string"
245660
+ },
245661
+ {
245662
+ const: "municipality",
245663
+ type: "string"
245664
+ }
245665
+ ],
245666
+ description: "The kind."
245667
+ },
245668
+ q: {
245669
+ minLength: 1,
245670
+ maxLength: 100,
245671
+ type: "string",
245672
+ description: "The q."
245673
+ },
245674
+ cursor: {
245675
+ minLength: 4,
245676
+ maxLength: 192,
245677
+ pattern: "^[A-Za-z0-9_-]+$",
245678
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.",
245679
+ type: "string"
245680
+ },
245681
+ direction: {
245682
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
245683
+ anyOf: [
245684
+ {
245685
+ const: "forward",
245686
+ type: "string"
245687
+ },
245688
+ {
245689
+ const: "backward",
245690
+ type: "string"
245691
+ }
245692
+ ],
245693
+ default: "forward"
245694
+ },
245695
+ limit: {
245696
+ minimum: 1,
245697
+ maximum: 100,
245698
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
245699
+ type: "integer",
245700
+ default: 25
245701
+ },
245702
+ agentMode: {
245703
+ 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.",
245704
+ type: "boolean",
245705
+ default: false
245706
+ }
245707
+ },
245708
+ required: [
245709
+ "kind"
245710
+ ],
245711
+ additionalProperties: false
245712
+ },
245713
+ OficlinicPatientsCreateInput: {
245714
+ additionalProperties: false,
245715
+ type: "object",
245716
+ required: [
245717
+ "documentType",
245718
+ "documentNumber",
245719
+ "firstGivenName",
245720
+ "firstFamilyName",
245721
+ "birthDate",
245722
+ "genderId",
245723
+ "municipalityId",
245724
+ "zoneId",
245725
+ "address",
245726
+ "phone",
245727
+ "regimeId",
245728
+ "affiliateTypeId",
245729
+ "salaryRangeId",
245730
+ "confirm",
245731
+ "idempotencyKey"
245732
+ ],
245733
+ properties: {
245734
+ connectionId: {
245735
+ pattern: "^con_[0-9A-Za-z]{26}$",
245736
+ description: "An Account connection id of the caller's organization.",
245737
+ type: "string"
245738
+ },
245739
+ documentType: {
245740
+ description: "Colombian citizenship card. Other document types are not verified against the provider yet.",
245741
+ const: "CC",
245742
+ type: "string"
245743
+ },
245744
+ documentNumber: {
245745
+ pattern: "^[0-9]{3,15}$",
245746
+ description: "The document number, digits only.",
245747
+ type: "string"
245748
+ },
245749
+ firstGivenName: {
245750
+ minLength: 1,
245751
+ maxLength: 64,
245752
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
245753
+ description: "First legal given name.",
245754
+ type: "string"
245755
+ },
245756
+ secondGivenName: {
245757
+ minLength: 1,
245758
+ maxLength: 64,
245759
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
245760
+ description: "Other legal given names, if any.",
245761
+ type: "string"
245762
+ },
245763
+ firstFamilyName: {
245764
+ minLength: 1,
245765
+ maxLength: 64,
245766
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
245767
+ description: "First legal surname.",
245768
+ type: "string"
245769
+ },
245770
+ secondFamilyName: {
245771
+ minLength: 1,
245772
+ maxLength: 64,
245773
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
245774
+ description: "Other legal surnames, if any.",
245775
+ type: "string"
245776
+ },
245777
+ birthDate: {
245778
+ format: "date",
245779
+ description: "The confirmed birth date in YYYY-MM-DD.",
245780
+ type: "string"
245781
+ },
245782
+ genderId: {
245783
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
245784
+ description: "The confirmed code from the provider's gender catalog.",
245785
+ type: "string"
245786
+ },
245787
+ municipalityId: {
245788
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
245789
+ description: "The confirmed municipality code from the provider's catalog.",
245790
+ type: "string"
245791
+ },
245792
+ zoneId: {
245793
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
245794
+ description: "The confirmed code from the provider's residence zone catalog.",
245795
+ type: "string"
245796
+ },
245797
+ address: {
245798
+ minLength: 1,
245799
+ maxLength: 160,
245800
+ pattern: "^(?!\\s*$)[^\\u0000-\\u001f\\u007f¬]+$",
245801
+ description: "The confirmed residence address.",
245802
+ type: "string"
245803
+ },
245804
+ phone: {
245805
+ pattern: "^\\+?[0-9]{7,15}$",
245806
+ description: "The confirmed contact phone.",
245807
+ type: "string"
245808
+ },
245809
+ regimeId: {
245810
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
245811
+ description: "The clinic-confirmed regime code.",
245812
+ type: "string"
245813
+ },
245814
+ affiliateTypeId: {
245815
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
245816
+ description: "The clinic-confirmed affiliate type code for this regime.",
245817
+ type: "string"
245818
+ },
245819
+ relationshipId: {
245820
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
245821
+ description: "The provider relationship code, required when the affiliate type is neither C nor N.",
245822
+ type: "string"
245823
+ },
245824
+ salaryRangeId: {
245825
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
245826
+ description: "The clinic-confirmed salary range code for this regime.",
245827
+ type: "string"
245828
+ },
245829
+ confirm: {
245830
+ description: "The authorized person confirmed the patient's identity and the details to save.",
245831
+ const: true,
245832
+ type: "boolean"
245833
+ },
245834
+ idempotencyKey: {
245835
+ minLength: 8,
245836
+ maxLength: 64,
245837
+ pattern: "^[A-Za-z0-9_-]+$",
245838
+ 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.",
245839
+ type: "string"
245840
+ },
245841
+ agentMode: {
245842
+ 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.",
245843
+ type: "boolean",
245844
+ default: false
245845
+ }
245846
+ }
245847
+ },
244307
245848
  OficlinicPatientsLookupInput: {
244308
245849
  additionalProperties: false,
244309
245850
  type: "object",
@@ -254443,9 +255984,9 @@ var schemaComponents = {
254443
255984
  // src/generated/generation.json
254444
255985
  var generation_default = {
254445
255986
  formatVersion: 6,
254446
- release: "1.20261111.193208",
254447
- openapiSha256: "7e7b41d0f6a072a8683df97721bf6d0bd8198e333076cf7707e8627860313c2f",
254448
- openapiContentSha256: "f24022d0de10fcdd240fa99570ed7c239769cc5231f2977de31da1593d1bab3f",
255987
+ release: "1.20261111.205940",
255988
+ openapiSha256: "060a07d028e24a508e38154b7c080767333b20c2dbb740963dddc4233547653a",
255989
+ openapiContentSha256: "97756a7305948ba3086f980b2109847a2733b03f0245b151dff3aea1e0a6f334",
254449
255990
  forge: {
254450
255991
  repository: "https://github.com/cloudflare/forge",
254451
255992
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -254458,7 +255999,7 @@ var generation_default = {
254458
255999
  outputs: [
254459
256000
  {
254460
256001
  path: "src/generated/commands.ts",
254461
- sha256: "245b2e94e85e39b4c1b8d125932b2e39bc2e0b14162651b7422166cb3441cc4b"
256002
+ sha256: "c202ca6cca3cf29b980081fa7b6269f387b36f6cb8b449f2a9e5fd40d75b4995"
254462
256003
  }
254463
256004
  ]
254464
256005
  };
@@ -256058,7 +257599,7 @@ ${name}`);
256058
257599
  }
256059
257600
 
256060
257601
  // src/index.ts
256061
- var VERSION = "3.53.0";
257602
+ var VERSION = "3.54.0";
256062
257603
  var RELEASE = generation_default.release;
256063
257604
  var commands2 = { ...commands, ...accountOperatorCommands };
256064
257605
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));