@arbol-ai/cli 3.55.0 → 3.57.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 +1430 -10
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -15503,6 +15503,184 @@ var commands = {
15503
15503
  confirmation: null,
15504
15504
  hidden: false
15505
15505
  },
15506
+ "oficlinic booking-slots search": {
15507
+ operation: "oficlinic.bookingSlots.search",
15508
+ sdkPath: [
15509
+ "oficlinic",
15510
+ "bookingSlots",
15511
+ "search"
15512
+ ],
15513
+ pathField: null,
15514
+ fields: [
15515
+ {
15516
+ name: "connectionId",
15517
+ flag: "connection-id",
15518
+ kind: "string",
15519
+ required: false,
15520
+ description: "An Account connection id of the caller's organization."
15521
+ },
15522
+ {
15523
+ name: "payerId",
15524
+ flag: "payer-id",
15525
+ kind: "string",
15526
+ required: true,
15527
+ description: "A payer id from list_payers."
15528
+ },
15529
+ {
15530
+ name: "serviceId",
15531
+ flag: "service-id",
15532
+ kind: "string",
15533
+ required: true,
15534
+ description: "A service id, such as one search_services answers."
15535
+ },
15536
+ {
15537
+ name: "programId",
15538
+ flag: "program-id",
15539
+ kind: "string",
15540
+ required: true,
15541
+ description: "A program id from list_programs."
15542
+ },
15543
+ {
15544
+ name: "attentionTypeId",
15545
+ flag: "attention-type-id",
15546
+ kind: "string",
15547
+ required: true,
15548
+ description: "An attention type id the program lists in list_programs, with bookable true."
15549
+ },
15550
+ {
15551
+ name: "professionalIds",
15552
+ flag: "professional-ids",
15553
+ kind: "list",
15554
+ required: false,
15555
+ description: "Only these professionals. Empty, the default, searches every professional the provider schedules for the service.",
15556
+ default: []
15557
+ },
15558
+ {
15559
+ name: "roomIds",
15560
+ flag: "room-ids",
15561
+ kind: "list",
15562
+ required: false,
15563
+ description: "Only these rooms, such as the rooms of one site. Empty, the default, searches every room.",
15564
+ default: []
15565
+ },
15566
+ {
15567
+ name: "from",
15568
+ flag: "from",
15569
+ kind: "string",
15570
+ required: false,
15571
+ description: "The first day to search, YYYY-MM-DD in Colombia. Today when absent or in the past."
15572
+ },
15573
+ {
15574
+ name: "to",
15575
+ flag: "to",
15576
+ kind: "string",
15577
+ required: false,
15578
+ description: "The last day to search, YYYY-MM-DD, not before from. Open when absent. The same day as from searches one day."
15579
+ },
15580
+ {
15581
+ name: "slotsPerRoom",
15582
+ flag: "slots-per-room",
15583
+ kind: "integer",
15584
+ required: false,
15585
+ description: "The most slots answered for each room, nearest first.",
15586
+ default: 3
15587
+ },
15588
+ {
15589
+ name: "agentMode",
15590
+ flag: "agent-mode",
15591
+ kind: "boolean",
15592
+ required: false,
15593
+ 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.",
15594
+ default: false
15595
+ }
15596
+ ],
15597
+ inputSchema: {
15598
+ additionalProperties: false,
15599
+ type: "object",
15600
+ required: [
15601
+ "payerId",
15602
+ "serviceId",
15603
+ "programId",
15604
+ "attentionTypeId"
15605
+ ],
15606
+ properties: {
15607
+ connectionId: {
15608
+ pattern: "^con_[0-9A-Za-z]{26}$",
15609
+ description: "An Account connection id of the caller's organization.",
15610
+ type: "string"
15611
+ },
15612
+ payerId: {
15613
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
15614
+ description: "A payer id from list_payers.",
15615
+ type: "string"
15616
+ },
15617
+ serviceId: {
15618
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
15619
+ description: "A service id, such as one search_services answers.",
15620
+ type: "string"
15621
+ },
15622
+ programId: {
15623
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
15624
+ description: "A program id from list_programs.",
15625
+ type: "string"
15626
+ },
15627
+ attentionTypeId: {
15628
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
15629
+ description: "An attention type id the program lists in list_programs, with bookable true.",
15630
+ type: "string"
15631
+ },
15632
+ professionalIds: {
15633
+ maxItems: 20,
15634
+ description: "Only these professionals. Empty, the default, searches every professional the provider schedules for the service.",
15635
+ type: "array",
15636
+ items: {
15637
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
15638
+ description: "A professional id an earlier search or list answered.",
15639
+ type: "string"
15640
+ },
15641
+ default: []
15642
+ },
15643
+ roomIds: {
15644
+ maxItems: 20,
15645
+ description: "Only these rooms, such as the rooms of one site. Empty, the default, searches every room.",
15646
+ type: "array",
15647
+ items: {
15648
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
15649
+ description: "A room id an earlier search or list answered.",
15650
+ type: "string"
15651
+ },
15652
+ default: []
15653
+ },
15654
+ from: {
15655
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
15656
+ description: "The first day to search, YYYY-MM-DD in Colombia. Today when absent or in the past.",
15657
+ type: "string"
15658
+ },
15659
+ to: {
15660
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
15661
+ description: "The last day to search, YYYY-MM-DD, not before from. Open when absent. The same day as from searches one day.",
15662
+ type: "string"
15663
+ },
15664
+ slotsPerRoom: {
15665
+ minimum: 1,
15666
+ maximum: 20,
15667
+ description: "The most slots answered for each room, nearest first.",
15668
+ type: "integer",
15669
+ default: 3
15670
+ },
15671
+ agentMode: {
15672
+ 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.",
15673
+ type: "boolean",
15674
+ default: false
15675
+ }
15676
+ }
15677
+ },
15678
+ title: "Search booking slots",
15679
+ description: "Find the nearest real slots e-Oficlinic offers for one payer, service, program and attention type, in one call: it opens an availability flow, reads the professionals the provider schedules for the service, their rooms and each combination's agenda days, then the slots of the earliest days, and answers up to slotsPerRoom future slots for each room with the professional, the room, the day and the flowId and slotId that book it. Use it instead of walking list_booking_professionals, list_booking_rooms, list_booking_days and list_booking_slots. Without from it starts today in Colombia; for one requested day pass that day as both from and to. professionalIds keeps a named professional; roomIds keeps the rooms of one site, since a room is the place of care and this provider names the site only in the room's name. dates lists every agenda day with availability found in those days, at most 60, so another date can be offered and searched next. Slots already past are left out. complete false means a bound stopped the search early (at most 40 professionals, 60 professional and room combinations, 16 agenda days read for slots, and 8 seconds): narrow the filters, and never present the result as the nearest. An empty slots list concerns this payer, service and filters only. The payer must be one list_payers answers, or PAYER_NOT_FOUND; the program and attention type come from list_programs, or BOOKING_OPTION_NOT_FOUND, and an attention type that is not exactly one unit answers PROGRAM_UNITS_NOT_SUPPORTED. Read-only: nothing is locked or reserved. The flow expires 30 minutes after the search; for create_appointment or reschedule_appointment, copy the selected slot's flowId and slotId verbatim. agentMode true answers concise Spanish text instead.",
15680
+ effect: "read",
15681
+ confirmation: null,
15682
+ hidden: false
15683
+ },
15506
15684
  "oficlinic cancellation-reasons list": {
15507
15685
  operation: "oficlinic.cancellationReasons.list",
15508
15686
  sdkPath: [
@@ -18035,6 +18213,38 @@ var commands = {
18035
18213
  confirmation: null,
18036
18214
  hidden: false
18037
18215
  },
18216
+ "raiz agents delete": {
18217
+ operation: "raiz.agents.delete",
18218
+ sdkPath: [
18219
+ "raiz",
18220
+ "agents",
18221
+ "delete"
18222
+ ],
18223
+ pathField: "agentId",
18224
+ fields: [],
18225
+ inputSchema: {
18226
+ type: "object",
18227
+ properties: {
18228
+ agentId: {
18229
+ type: "string",
18230
+ description: "Agent id.",
18231
+ examples: [
18232
+ "agt_01m45h8q2rf3t9w6y7z0b1c2d3"
18233
+ ],
18234
+ pattern: "^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$"
18235
+ }
18236
+ },
18237
+ required: [
18238
+ "agentId"
18239
+ ],
18240
+ additionalProperties: false
18241
+ },
18242
+ title: "Delete an Agent",
18243
+ description: "Delete an Agent for good; its conversations remain. Refused with AGENT_IN_USE while a channel or an active campaign uses it: unassign its channels (`update_channel` with `agentId: null`) or finish the campaign first. Not an AI tool; to stop an Agent without deleting it, pause it with `update_agent` (`status: paused`).",
18244
+ effect: "delete",
18245
+ confirmation: "Delete an Agent. This cannot be undone.",
18246
+ hidden: false
18247
+ },
18038
18248
  "raiz agents get": {
18039
18249
  operation: "raiz.agents.get",
18040
18250
  sdkPath: [
@@ -25581,7 +25791,7 @@ var commands = {
25581
25791
  flag: "name",
25582
25792
  kind: "string",
25583
25793
  required: false,
25584
- description: ""
25794
+ description: "Legacy field for clients that echo the existing name. Edit the organization name in Arbol Account."
25585
25795
  },
25586
25796
  {
25587
25797
  name: "timeZone",
@@ -25604,6 +25814,8 @@ var commands = {
25604
25814
  },
25605
25815
  name: {
25606
25816
  type: "string",
25817
+ deprecated: true,
25818
+ description: "Legacy field for clients that echo the existing name. Edit the organization name in Arbol Account.",
25607
25819
  maxLength: 200,
25608
25820
  minLength: 1
25609
25821
  },
@@ -25952,7 +26164,7 @@ var commands = {
25952
26164
  additionalProperties: false
25953
26165
  },
25954
26166
  title: "Update the organization",
25955
- description: "Change the organization's name, default language, time zone or settings. Settings merge: an omitted setting stays and `null` returns it to its default; `notifications.recipients` is replaced as a whole. Fails with TIME_ZONE_UNKNOWN when the time zone is not a valid IANA zone (for example `America/Bogota`).",
26167
+ description: "Change the organization's default language, time zone or settings. Edit the organization's name in Arbol Account. Settings merge: an omitted setting stays and `null` returns it to its default; `notifications.recipients` is replaced as a whole. Fails with TIME_ZONE_UNKNOWN when the time zone is not a valid IANA zone (for example `America/Bogota`).",
25956
26168
  effect: "write",
25957
26169
  confirmation: null,
25958
26170
  hidden: false
@@ -28988,6 +29200,16 @@ var commands = {
28988
29200
  required: false,
28989
29201
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
28990
29202
  },
29203
+ {
29204
+ name: "coveragePlan",
29205
+ flag: "coverage-plan",
29206
+ kind: "string",
29207
+ required: false,
29208
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening.",
29209
+ choices: [
29210
+ "POS"
29211
+ ]
29212
+ },
28991
29213
  {
28992
29214
  name: "documentNumber",
28993
29215
  flag: "document-number",
@@ -29115,6 +29337,18 @@ var commands = {
29115
29337
  ],
29116
29338
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
29117
29339
  },
29340
+ coveragePlan: {
29341
+ anyOf: [
29342
+ {
29343
+ type: "string",
29344
+ const: "POS"
29345
+ },
29346
+ {
29347
+ type: "null"
29348
+ }
29349
+ ],
29350
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
29351
+ },
29118
29352
  documentNumber: {
29119
29353
  type: "string",
29120
29354
  description: "Complete document number of the patient receiving care, from readable original evidence or their message. Normalize separators without changing digits. Request correction only for missing, illegible or conflicting identity; never guess digits."
@@ -30006,6 +30240,16 @@ var commands = {
30006
30240
  required: false,
30007
30241
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
30008
30242
  },
30243
+ {
30244
+ name: "coveragePlan",
30245
+ flag: "coverage-plan",
30246
+ kind: "string",
30247
+ required: false,
30248
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening.",
30249
+ choices: [
30250
+ "POS"
30251
+ ]
30252
+ },
30009
30253
  {
30010
30254
  name: "date",
30011
30255
  flag: "date",
@@ -30174,6 +30418,18 @@ var commands = {
30174
30418
  ],
30175
30419
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
30176
30420
  },
30421
+ coveragePlan: {
30422
+ anyOf: [
30423
+ {
30424
+ type: "string",
30425
+ const: "POS"
30426
+ },
30427
+ {
30428
+ type: "null"
30429
+ }
30430
+ ],
30431
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
30432
+ },
30177
30433
  date: {
30178
30434
  anyOf: [
30179
30435
  {
@@ -171160,6 +171416,76 @@ var schemaComponents = {
171160
171416
  }
171161
171417
  }
171162
171418
  },
171419
+ OficlinicBookingDateOffer: {
171420
+ additionalProperties: false,
171421
+ type: "object",
171422
+ required: [
171423
+ "dayId",
171424
+ "date",
171425
+ "availableCount",
171426
+ "slotsListed",
171427
+ "professional",
171428
+ "room"
171429
+ ],
171430
+ properties: {
171431
+ dayId: {
171432
+ description: "The provider's agenda id (agendaID): pass it as dayId for its slots.",
171433
+ type: "string"
171434
+ },
171435
+ date: {
171436
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
171437
+ type: "string"
171438
+ },
171439
+ availableCount: {
171440
+ description: "The provider's Disponibles count; null when not a count.",
171441
+ anyOf: [
171442
+ {
171443
+ minimum: 0,
171444
+ type: "integer"
171445
+ },
171446
+ {
171447
+ type: "null"
171448
+ }
171449
+ ]
171450
+ },
171451
+ slotsListed: {
171452
+ description: "Whether this search read the day's slots; its future ones are in slots.",
171453
+ type: "boolean"
171454
+ },
171455
+ professional: {
171456
+ additionalProperties: false,
171457
+ type: "object",
171458
+ required: [
171459
+ "id",
171460
+ "name"
171461
+ ],
171462
+ properties: {
171463
+ id: {
171464
+ type: "string"
171465
+ },
171466
+ name: {
171467
+ type: "string"
171468
+ }
171469
+ }
171470
+ },
171471
+ room: {
171472
+ additionalProperties: false,
171473
+ type: "object",
171474
+ required: [
171475
+ "id",
171476
+ "name"
171477
+ ],
171478
+ properties: {
171479
+ id: {
171480
+ type: "string"
171481
+ },
171482
+ name: {
171483
+ type: "string"
171484
+ }
171485
+ }
171486
+ }
171487
+ }
171488
+ },
171163
171489
  OficlinicBookingDay: {
171164
171490
  additionalProperties: false,
171165
171491
  type: "object",
@@ -171514,6 +171840,107 @@ var schemaComponents = {
171514
171840
  }
171515
171841
  }
171516
171842
  },
171843
+ OficlinicBookingSlotOffer: {
171844
+ additionalProperties: false,
171845
+ type: "object",
171846
+ required: [
171847
+ "id",
171848
+ "flowId",
171849
+ "dayId",
171850
+ "date",
171851
+ "label",
171852
+ "startsAt",
171853
+ "endsAt",
171854
+ "professional",
171855
+ "room"
171856
+ ],
171857
+ properties: {
171858
+ id: {
171859
+ description: "The provider's slot id (citaID): pass it as slotId to book.",
171860
+ type: "string"
171861
+ },
171862
+ flowId: {
171863
+ description: "The availability flow of this slot: pass it with slotId to book.",
171864
+ type: "string"
171865
+ },
171866
+ dayId: {
171867
+ description: "The provider's agenda id of the slot's day.",
171868
+ type: "string"
171869
+ },
171870
+ date: {
171871
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
171872
+ description: "The slot's day in Colombia.",
171873
+ type: "string"
171874
+ },
171875
+ label: {
171876
+ description: "The slot as the provider describes it (citaDescripcion), usually its time.",
171877
+ anyOf: [
171878
+ {
171879
+ type: "string"
171880
+ },
171881
+ {
171882
+ type: "null"
171883
+ }
171884
+ ]
171885
+ },
171886
+ startsAt: {
171887
+ description: "The slot's exact start in America/Bogota; null if unrecognized.",
171888
+ anyOf: [
171889
+ {
171890
+ format: "date-time",
171891
+ type: "string"
171892
+ },
171893
+ {
171894
+ type: "null"
171895
+ }
171896
+ ]
171897
+ },
171898
+ endsAt: {
171899
+ description: "The slot's exact end; null if unrecognized.",
171900
+ anyOf: [
171901
+ {
171902
+ format: "date-time",
171903
+ type: "string"
171904
+ },
171905
+ {
171906
+ type: "null"
171907
+ }
171908
+ ]
171909
+ },
171910
+ professional: {
171911
+ additionalProperties: false,
171912
+ type: "object",
171913
+ required: [
171914
+ "id",
171915
+ "name"
171916
+ ],
171917
+ properties: {
171918
+ id: {
171919
+ type: "string"
171920
+ },
171921
+ name: {
171922
+ type: "string"
171923
+ }
171924
+ }
171925
+ },
171926
+ room: {
171927
+ additionalProperties: false,
171928
+ type: "object",
171929
+ required: [
171930
+ "id",
171931
+ "name"
171932
+ ],
171933
+ properties: {
171934
+ id: {
171935
+ type: "string"
171936
+ },
171937
+ name: {
171938
+ type: "string"
171939
+ }
171940
+ }
171941
+ }
171942
+ }
171943
+ },
171517
171944
  OficlinicBookingSlotPage: {
171518
171945
  additionalProperties: false,
171519
171946
  type: "object",
@@ -171541,6 +171968,66 @@ var schemaComponents = {
171541
171968
  }
171542
171969
  }
171543
171970
  },
171971
+ OficlinicBookingSlotSearch: {
171972
+ additionalProperties: false,
171973
+ type: "object",
171974
+ required: [
171975
+ "flowId",
171976
+ "flowExpiresAt",
171977
+ "from",
171978
+ "to",
171979
+ "complete",
171980
+ "slots",
171981
+ "dates"
171982
+ ],
171983
+ properties: {
171984
+ flowId: {
171985
+ pattern: "^bf_[a-z2-7]{16}$",
171986
+ description: "The availability flow id every booking list item carries (flowId). It expires 30 minutes after the first list.",
171987
+ type: "string"
171988
+ },
171989
+ flowExpiresAt: {
171990
+ format: "date-time",
171991
+ description: "When the flow expires.",
171992
+ type: "string"
171993
+ },
171994
+ from: {
171995
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
171996
+ description: "The first day searched.",
171997
+ type: "string"
171998
+ },
171999
+ to: {
172000
+ description: "The last day searched; null when open.",
172001
+ anyOf: [
172002
+ {
172003
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
172004
+ type: "string"
172005
+ },
172006
+ {
172007
+ type: "null"
172008
+ }
172009
+ ]
172010
+ },
172011
+ complete: {
172012
+ description: "false when a bound stopped the search before every matching professional, room and day was read: nearer slots may exist.",
172013
+ type: "boolean"
172014
+ },
172015
+ slots: {
172016
+ description: "The nearest future slots of each room, earliest first.",
172017
+ type: "array",
172018
+ items: {
172019
+ $ref: "#/components/schemas/OficlinicBookingSlotOffer"
172020
+ }
172021
+ },
172022
+ dates: {
172023
+ description: "The agenda days with availability in the searched days, earliest first.",
172024
+ type: "array",
172025
+ items: {
172026
+ $ref: "#/components/schemas/OficlinicBookingDateOffer"
172027
+ }
172028
+ }
172029
+ }
172030
+ },
171544
172031
  OficlinicCancelAppointmentBadGatewayError: {
171545
172032
  type: "object",
171546
172033
  description: "A failed answer.",
@@ -183006,6 +183493,468 @@ var schemaComponents = {
183006
183493
  }
183007
183494
  }
183008
183495
  },
183496
+ OficlinicSearchBookingSlotsBadGatewayError: {
183497
+ type: "object",
183498
+ description: "A failed answer.",
183499
+ additionalProperties: false,
183500
+ required: [
183501
+ "success",
183502
+ "data",
183503
+ "error",
183504
+ "metadata"
183505
+ ],
183506
+ properties: {
183507
+ success: {
183508
+ type: "boolean",
183509
+ enum: [
183510
+ false
183511
+ ]
183512
+ },
183513
+ data: {
183514
+ const: null
183515
+ },
183516
+ error: {
183517
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsBadGatewayFailure"
183518
+ },
183519
+ metadata: {
183520
+ $ref: "#/components/schemas/ResponseMetadata"
183521
+ }
183522
+ }
183523
+ },
183524
+ OficlinicSearchBookingSlotsBadGatewayFailure: {
183525
+ oneOf: [
183526
+ {
183527
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
183528
+ },
183529
+ {
183530
+ $ref: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure"
183531
+ },
183532
+ {
183533
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
183534
+ }
183535
+ ],
183536
+ discriminator: {
183537
+ propertyName: "code",
183538
+ mapping: {
183539
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
183540
+ SIGN_IN_OUTCOME_UNKNOWN: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure",
183541
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure"
183542
+ }
183543
+ }
183544
+ },
183545
+ OficlinicSearchBookingSlotsBadRequestError: {
183546
+ type: "object",
183547
+ description: "A failed answer.",
183548
+ additionalProperties: false,
183549
+ required: [
183550
+ "success",
183551
+ "data",
183552
+ "error",
183553
+ "metadata"
183554
+ ],
183555
+ properties: {
183556
+ success: {
183557
+ type: "boolean",
183558
+ enum: [
183559
+ false
183560
+ ]
183561
+ },
183562
+ data: {
183563
+ const: null
183564
+ },
183565
+ error: {
183566
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsBadRequestFailure"
183567
+ },
183568
+ metadata: {
183569
+ $ref: "#/components/schemas/ResponseMetadata"
183570
+ }
183571
+ }
183572
+ },
183573
+ OficlinicSearchBookingSlotsBadRequestFailure: {
183574
+ oneOf: [
183575
+ {
183576
+ $ref: "#/components/schemas/InvalidInputFailure"
183577
+ },
183578
+ {
183579
+ $ref: "#/components/schemas/OficlinicInvalidCursorFailure"
183580
+ }
183581
+ ],
183582
+ discriminator: {
183583
+ propertyName: "code",
183584
+ mapping: {
183585
+ INVALID_INPUT: "#/components/schemas/InvalidInputFailure",
183586
+ INVALID_CURSOR: "#/components/schemas/OficlinicInvalidCursorFailure"
183587
+ }
183588
+ }
183589
+ },
183590
+ OficlinicSearchBookingSlotsBody: {
183591
+ additionalProperties: false,
183592
+ type: "object",
183593
+ required: [
183594
+ "payerId",
183595
+ "serviceId",
183596
+ "programId",
183597
+ "attentionTypeId"
183598
+ ],
183599
+ properties: {
183600
+ connectionId: {
183601
+ pattern: "^con_[0-9A-Za-z]{26}$",
183602
+ description: "An Account connection id of the caller's organization.",
183603
+ type: "string"
183604
+ },
183605
+ payerId: {
183606
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183607
+ description: "A payer id from list_payers.",
183608
+ type: "string"
183609
+ },
183610
+ serviceId: {
183611
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183612
+ description: "A service id, such as one search_services answers.",
183613
+ type: "string"
183614
+ },
183615
+ programId: {
183616
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183617
+ description: "A program id from list_programs.",
183618
+ type: "string"
183619
+ },
183620
+ attentionTypeId: {
183621
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183622
+ description: "An attention type id the program lists in list_programs, with bookable true.",
183623
+ type: "string"
183624
+ },
183625
+ professionalIds: {
183626
+ maxItems: 20,
183627
+ description: "Only these professionals. Empty, the default, searches every professional the provider schedules for the service.",
183628
+ type: "array",
183629
+ items: {
183630
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183631
+ description: "A professional id an earlier search or list answered.",
183632
+ type: "string"
183633
+ },
183634
+ default: []
183635
+ },
183636
+ roomIds: {
183637
+ maxItems: 20,
183638
+ description: "Only these rooms, such as the rooms of one site. Empty, the default, searches every room.",
183639
+ type: "array",
183640
+ items: {
183641
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183642
+ description: "A room id an earlier search or list answered.",
183643
+ type: "string"
183644
+ },
183645
+ default: []
183646
+ },
183647
+ from: {
183648
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
183649
+ description: "The first day to search, YYYY-MM-DD in Colombia. Today when absent or in the past.",
183650
+ type: "string"
183651
+ },
183652
+ to: {
183653
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
183654
+ description: "The last day to search, YYYY-MM-DD, not before from. Open when absent. The same day as from searches one day.",
183655
+ type: "string"
183656
+ },
183657
+ slotsPerRoom: {
183658
+ minimum: 1,
183659
+ maximum: 20,
183660
+ description: "The most slots answered for each room, nearest first.",
183661
+ type: "integer",
183662
+ default: 3
183663
+ },
183664
+ agentMode: {
183665
+ 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.",
183666
+ type: "boolean",
183667
+ default: false
183668
+ }
183669
+ }
183670
+ },
183671
+ OficlinicSearchBookingSlotsConflictError: {
183672
+ type: "object",
183673
+ description: "A failed answer.",
183674
+ additionalProperties: false,
183675
+ required: [
183676
+ "success",
183677
+ "data",
183678
+ "error",
183679
+ "metadata"
183680
+ ],
183681
+ properties: {
183682
+ success: {
183683
+ type: "boolean",
183684
+ enum: [
183685
+ false
183686
+ ]
183687
+ },
183688
+ data: {
183689
+ const: null
183690
+ },
183691
+ error: {
183692
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsConflictFailure"
183693
+ },
183694
+ metadata: {
183695
+ $ref: "#/components/schemas/ResponseMetadata"
183696
+ }
183697
+ }
183698
+ },
183699
+ OficlinicSearchBookingSlotsConflictFailure: {
183700
+ oneOf: [
183701
+ {
183702
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
183703
+ },
183704
+ {
183705
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
183706
+ },
183707
+ {
183708
+ $ref: "#/components/schemas/OficlinicConnectionBusyFailure"
183709
+ },
183710
+ {
183711
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
183712
+ },
183713
+ {
183714
+ $ref: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
183715
+ }
183716
+ ],
183717
+ discriminator: {
183718
+ propertyName: "code",
183719
+ mapping: {
183720
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
183721
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
183722
+ CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
183723
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure",
183724
+ SELECTION_NOT_AVAILABLE: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
183725
+ }
183726
+ }
183727
+ },
183728
+ OficlinicSearchBookingSlotsNotFoundError: {
183729
+ type: "object",
183730
+ description: "A failed answer.",
183731
+ additionalProperties: false,
183732
+ required: [
183733
+ "success",
183734
+ "data",
183735
+ "error",
183736
+ "metadata"
183737
+ ],
183738
+ properties: {
183739
+ success: {
183740
+ type: "boolean",
183741
+ enum: [
183742
+ false
183743
+ ]
183744
+ },
183745
+ data: {
183746
+ const: null
183747
+ },
183748
+ error: {
183749
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsNotFoundFailure"
183750
+ },
183751
+ metadata: {
183752
+ $ref: "#/components/schemas/ResponseMetadata"
183753
+ }
183754
+ }
183755
+ },
183756
+ OficlinicSearchBookingSlotsNotFoundFailure: {
183757
+ oneOf: [
183758
+ {
183759
+ $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
183760
+ },
183761
+ {
183762
+ $ref: "#/components/schemas/OficlinicPayerNotFoundFailure"
183763
+ },
183764
+ {
183765
+ $ref: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
183766
+ }
183767
+ ],
183768
+ discriminator: {
183769
+ propertyName: "code",
183770
+ mapping: {
183771
+ CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
183772
+ PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure",
183773
+ BOOKING_OPTION_NOT_FOUND: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
183774
+ }
183775
+ }
183776
+ },
183777
+ OficlinicSearchBookingSlotsResult: {
183778
+ anyOf: [
183779
+ {
183780
+ $ref: "#/components/schemas/OficlinicBookingSlotSearch"
183781
+ },
183782
+ {
183783
+ $ref: "#/components/schemas/OficlinicAgentText"
183784
+ }
183785
+ ]
183786
+ },
183787
+ OficlinicSearchBookingSlotsResultResponse: {
183788
+ type: "object",
183789
+ description: "A successful answer.",
183790
+ additionalProperties: false,
183791
+ required: [
183792
+ "success",
183793
+ "data",
183794
+ "error",
183795
+ "metadata"
183796
+ ],
183797
+ properties: {
183798
+ success: {
183799
+ type: "boolean",
183800
+ enum: [
183801
+ true
183802
+ ]
183803
+ },
183804
+ data: {
183805
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsResult"
183806
+ },
183807
+ error: {
183808
+ const: null
183809
+ },
183810
+ metadata: {
183811
+ $ref: "#/components/schemas/ResponseMetadata"
183812
+ }
183813
+ }
183814
+ },
183815
+ OficlinicSearchBookingSlotsServiceUnavailableError: {
183816
+ type: "object",
183817
+ description: "A failed answer.",
183818
+ additionalProperties: false,
183819
+ required: [
183820
+ "success",
183821
+ "data",
183822
+ "error",
183823
+ "metadata"
183824
+ ],
183825
+ properties: {
183826
+ success: {
183827
+ type: "boolean",
183828
+ enum: [
183829
+ false
183830
+ ]
183831
+ },
183832
+ data: {
183833
+ const: null
183834
+ },
183835
+ error: {
183836
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsServiceUnavailableFailure"
183837
+ },
183838
+ metadata: {
183839
+ $ref: "#/components/schemas/ResponseMetadata"
183840
+ }
183841
+ }
183842
+ },
183843
+ OficlinicSearchBookingSlotsServiceUnavailableFailure: {
183844
+ oneOf: [
183845
+ {
183846
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
183847
+ },
183848
+ {
183849
+ $ref: "#/components/schemas/ProviderUnavailableFailure"
183850
+ }
183851
+ ],
183852
+ discriminator: {
183853
+ propertyName: "code",
183854
+ mapping: {
183855
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
183856
+ PROVIDER_UNAVAILABLE: "#/components/schemas/ProviderUnavailableFailure"
183857
+ }
183858
+ }
183859
+ },
183860
+ OficlinicSearchBookingSlotsTooManyRequestsError: {
183861
+ type: "object",
183862
+ description: "A failed answer.",
183863
+ additionalProperties: false,
183864
+ required: [
183865
+ "success",
183866
+ "data",
183867
+ "error",
183868
+ "metadata"
183869
+ ],
183870
+ properties: {
183871
+ success: {
183872
+ type: "boolean",
183873
+ enum: [
183874
+ false
183875
+ ]
183876
+ },
183877
+ data: {
183878
+ const: null
183879
+ },
183880
+ error: {
183881
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsTooManyRequestsFailure"
183882
+ },
183883
+ metadata: {
183884
+ $ref: "#/components/schemas/ResponseMetadata"
183885
+ }
183886
+ }
183887
+ },
183888
+ OficlinicSearchBookingSlotsTooManyRequestsFailure: {
183889
+ oneOf: [
183890
+ {
183891
+ $ref: "#/components/schemas/RateLimitedFailure"
183892
+ },
183893
+ {
183894
+ $ref: "#/components/schemas/OficlinicLoginCoolingDownFailure"
183895
+ }
183896
+ ],
183897
+ discriminator: {
183898
+ propertyName: "code",
183899
+ mapping: {
183900
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
183901
+ LOGIN_COOLING_DOWN: "#/components/schemas/OficlinicLoginCoolingDownFailure"
183902
+ }
183903
+ }
183904
+ },
183905
+ OficlinicSearchBookingSlotsUnprocessableContentError: {
183906
+ type: "object",
183907
+ description: "A failed answer.",
183908
+ additionalProperties: false,
183909
+ required: [
183910
+ "success",
183911
+ "data",
183912
+ "error",
183913
+ "metadata"
183914
+ ],
183915
+ properties: {
183916
+ success: {
183917
+ type: "boolean",
183918
+ enum: [
183919
+ false
183920
+ ]
183921
+ },
183922
+ data: {
183923
+ const: null
183924
+ },
183925
+ error: {
183926
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsUnprocessableContentFailure"
183927
+ },
183928
+ metadata: {
183929
+ $ref: "#/components/schemas/ResponseMetadata"
183930
+ }
183931
+ }
183932
+ },
183933
+ OficlinicSearchBookingSlotsUnprocessableContentFailure: {
183934
+ oneOf: [
183935
+ {
183936
+ $ref: "#/components/schemas/CredentialsRejectedFailure"
183937
+ },
183938
+ {
183939
+ $ref: "#/components/schemas/OficlinicContextNotAvailableFailure"
183940
+ },
183941
+ {
183942
+ $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
183943
+ },
183944
+ {
183945
+ $ref: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
183946
+ }
183947
+ ],
183948
+ discriminator: {
183949
+ propertyName: "code",
183950
+ mapping: {
183951
+ CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
183952
+ CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
183953
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure",
183954
+ PROGRAM_UNITS_NOT_SUPPORTED: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
183955
+ }
183956
+ }
183957
+ },
183009
183958
  OficlinicSearchServicesBadGatewayError: {
183010
183959
  type: "object",
183011
183960
  description: "A failed answer.",
@@ -188831,6 +189780,210 @@ var schemaComponents = {
188831
189780
  "voiceId"
188832
189781
  ],
188833
189782
  properties: {
189783
+ backgroundSound: {
189784
+ anyOf: [
189785
+ {
189786
+ type: "object",
189787
+ required: [
189788
+ "sound"
189789
+ ],
189790
+ properties: {
189791
+ sound: {
189792
+ anyOf: [
189793
+ {
189794
+ type: "string",
189795
+ const: "office1"
189796
+ },
189797
+ {
189798
+ type: "string",
189799
+ const: "office2"
189800
+ },
189801
+ {
189802
+ type: "string",
189803
+ const: "restaurant"
189804
+ },
189805
+ {
189806
+ type: "string",
189807
+ const: "city"
189808
+ }
189809
+ ],
189810
+ description: "The place: `office1`, `office2`, `restaurant` or `city`."
189811
+ },
189812
+ volume: {
189813
+ type: "integer",
189814
+ default: 15,
189815
+ description: "How loud it plays next to the Agent's voice, from 1 to 100. The default, 15, is subtle.",
189816
+ maximum: 100,
189817
+ minimum: 1
189818
+ }
189819
+ },
189820
+ description: "A place that sounds behind the Agent's voice for the whole call, so it sounds less like a quiet studio. Only the caller hears it: it never reaches the transcript. Null turns it off. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
189821
+ additionalProperties: false
189822
+ },
189823
+ {
189824
+ type: "null"
189825
+ }
189826
+ ]
189827
+ },
189828
+ capacity: {
189829
+ anyOf: [
189830
+ {
189831
+ type: "object",
189832
+ required: [
189833
+ "callsPerDay",
189834
+ "maxHoldSeconds",
189835
+ "simultaneousCalls"
189836
+ ],
189837
+ properties: {
189838
+ callsPerDay: {
189839
+ anyOf: [
189840
+ {
189841
+ type: "integer",
189842
+ description: "The most calls this Agent takes in a day. Null: Arbol's limit, 100000.",
189843
+ maximum: 1e5,
189844
+ minimum: 1
189845
+ },
189846
+ {
189847
+ type: "null"
189848
+ }
189849
+ ]
189850
+ },
189851
+ maxHoldSeconds: {
189852
+ anyOf: [
189853
+ {
189854
+ type: "integer",
189855
+ description: "How long a caller waits on hold for a free place when the Agent is at its limit, before the call is refused. Null: no hold, the call is refused at once.",
189856
+ maximum: 1800,
189857
+ minimum: 10
189858
+ },
189859
+ {
189860
+ type: "null"
189861
+ }
189862
+ ]
189863
+ },
189864
+ simultaneousCalls: {
189865
+ anyOf: [
189866
+ {
189867
+ type: "integer",
189868
+ description: "The most calls this Agent is on at once, the calls it places included. Null: no limit of its own.",
189869
+ maximum: 1000,
189870
+ minimum: 1
189871
+ },
189872
+ {
189873
+ type: "null"
189874
+ }
189875
+ ]
189876
+ }
189877
+ },
189878
+ description: "How many calls the Agent takes and how long a caller waits on hold when it is at its limit. Null applies Arbol's defaults: no limit of its own, 100000 calls a day, and a hold of up to 180 seconds. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
189879
+ additionalProperties: false
189880
+ },
189881
+ {
189882
+ type: "null"
189883
+ }
189884
+ ]
189885
+ },
189886
+ guardrails: {
189887
+ anyOf: [
189888
+ {
189889
+ type: "object",
189890
+ required: [
189891
+ "blockManipulation",
189892
+ "blockedTopics",
189893
+ "rules",
189894
+ "stayOnTopic"
189895
+ ],
189896
+ properties: {
189897
+ blockManipulation: {
189898
+ type: "boolean",
189899
+ description: "End a call in which the caller tries to make the Agent ignore its instructions."
189900
+ },
189901
+ blockedTopics: {
189902
+ type: "array",
189903
+ items: {
189904
+ anyOf: [
189905
+ {
189906
+ type: "string",
189907
+ const: "sexual"
189908
+ },
189909
+ {
189910
+ type: "string",
189911
+ const: "violence"
189912
+ },
189913
+ {
189914
+ type: "string",
189915
+ const: "harassment"
189916
+ },
189917
+ {
189918
+ type: "string",
189919
+ const: "selfHarm"
189920
+ },
189921
+ {
189922
+ type: "string",
189923
+ const: "profanity"
189924
+ },
189925
+ {
189926
+ type: "string",
189927
+ const: "religionOrPolitics"
189928
+ },
189929
+ {
189930
+ type: "string",
189931
+ const: "medicalAndLegal"
189932
+ }
189933
+ ]
189934
+ },
189935
+ description: "Subjects the Agent must not speak about; a reply that touches one ends the call. Careful with `medicalAndLegal`: it can end the calls of an Agent whose work is to talk about specialties, exams or prescriptions. For `no clinical advice`, a rule of your own says it more exactly.",
189936
+ maxItems: 7,
189937
+ uniqueItems: true
189938
+ },
189939
+ rules: {
189940
+ type: "array",
189941
+ items: {
189942
+ type: "object",
189943
+ required: [
189944
+ "blocks",
189945
+ "name"
189946
+ ],
189947
+ properties: {
189948
+ blocks: {
189949
+ type: "string",
189950
+ description: "What the rule blocks, in plain words: `Any diagnosis, dose or treatment recommendation`.",
189951
+ maxLength: 1000,
189952
+ minLength: 1
189953
+ },
189954
+ name: {
189955
+ type: "string",
189956
+ description: "A short name for the rule.",
189957
+ maxLength: 80,
189958
+ minLength: 1
189959
+ }
189960
+ },
189961
+ additionalProperties: false
189962
+ },
189963
+ description: "The organization's own rules. Each one is checked against every reply of the Agent, and a reply that breaks one ends the call.",
189964
+ maxItems: 5
189965
+ },
189966
+ stayOnTopic: {
189967
+ type: "boolean",
189968
+ description: "Remind the Agent of its instructions throughout a long call, so it stays on its subject. It never ends a call."
189969
+ }
189970
+ },
189971
+ description: "Checks that run beside the Agent's instructions on every call. Every check other than `stayOnTopic` ends the call when it triggers, and the caller may hear the start of the reply before it is cut. Null turns every check off. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
189972
+ additionalProperties: false
189973
+ },
189974
+ {
189975
+ type: "null"
189976
+ }
189977
+ ]
189978
+ },
189979
+ ignoreBackgroundVoices: {
189980
+ type: "boolean",
189981
+ description: "Keep other people talking near the caller out of the conversation, so they neither answer for the caller nor interrupt the Agent. False turns it off. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
189982
+ },
189983
+ keypadInput: {
189984
+ type: "boolean",
189985
+ description: "Let callers type on their phone's keypad. What they type reaches the Agent as their message, and the Agent is told it may ask for a number that is long or easy to mishear (an identification number, a phone number) to be typed, ending with #. False ignores the keypad. On for an Agent that never set it; left out of a write, the Agent keeps its current value. Phone calls only. Applies to future calls once the Agent is published."
189986
+ },
188834
189987
  keywords: {
188835
189988
  type: "array",
188836
189989
  items: {
@@ -188842,6 +189995,19 @@ var schemaComponents = {
188842
189995
  maxItems: 50,
188843
189996
  uniqueItems: true
188844
189997
  },
189998
+ maxDurationMessage: {
189999
+ anyOf: [
190000
+ {
190001
+ type: "string",
190002
+ description: "What the Agent says when a call reaches `maxDurationSeconds`, instead of the line going silent. Null: it says nothing. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
190003
+ maxLength: 300,
190004
+ minLength: 1
190005
+ },
190006
+ {
190007
+ type: "null"
190008
+ }
190009
+ ]
190010
+ },
188845
190011
  maxDurationSeconds: {
188846
190012
  anyOf: [
188847
190013
  {
@@ -188855,6 +190021,44 @@ var schemaComponents = {
188855
190021
  }
188856
190022
  ]
188857
190023
  },
190024
+ nonInterruptingWords: {
190025
+ type: "array",
190026
+ items: {
190027
+ type: "string",
190028
+ maxLength: 40,
190029
+ minLength: 1
190030
+ },
190031
+ description: "Short words a caller says while listening (`ajá`, `sí`, `ok`) that must not cut the Agent off. Matched whole, whatever the case. An empty list removes them all. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
190032
+ maxItems: 50,
190033
+ uniqueItems: true
190034
+ },
190035
+ pronunciations: {
190036
+ type: "array",
190037
+ items: {
190038
+ type: "object",
190039
+ required: [
190040
+ "spokenAs",
190041
+ "term"
190042
+ ],
190043
+ properties: {
190044
+ spokenAs: {
190045
+ type: "string",
190046
+ description: "How to say it, written the way it sounds: `Yeison`, `ce pe a pe`.",
190047
+ maxLength: 120,
190048
+ minLength: 1
190049
+ },
190050
+ term: {
190051
+ type: "string",
190052
+ description: "The word or phrase as the Agent writes it: a surname, a site, a medicine. Matched as a whole word, whatever the case.",
190053
+ maxLength: 64,
190054
+ minLength: 1
190055
+ }
190056
+ },
190057
+ additionalProperties: false
190058
+ },
190059
+ description: "How the Agent pronounces the organization's own words: each `term` is spoken as its `spokenAs`. Terms are matched whatever their case, so a term repeated in another case keeps only its first entry. An empty list removes them all. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
190060
+ maxItems: 100
190061
+ },
188858
190062
  recordCalls: {
188859
190063
  type: "boolean",
188860
190064
  description: "Keep the call recording (copied to Raíz after the call)."
@@ -188904,6 +190108,23 @@ var schemaComponents = {
188904
190108
  }
188905
190109
  ]
188906
190110
  },
190111
+ replyTiming: {
190112
+ anyOf: [
190113
+ {
190114
+ type: "string",
190115
+ const: "patient"
190116
+ },
190117
+ {
190118
+ type: "string",
190119
+ const: "normal"
190120
+ },
190121
+ {
190122
+ type: "string",
190123
+ const: "quick"
190124
+ }
190125
+ ],
190126
+ description: "How soon the Agent replies once the caller pauses: `patient` waits longer, for people who think aloud or speak slowly; `normal`; `quick` replies sooner. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
190127
+ },
188907
190128
  responseDelayMessages: {
188908
190129
  type: "boolean",
188909
190130
  description: "Speak a short contextual message while preparing a slow response. False disables automatic delay messages. Omitted preserves the current runtime setting."
@@ -188960,9 +190181,29 @@ var schemaComponents = {
188960
190181
  toolCallSound: {
188961
190182
  anyOf: [
188962
190183
  {
188963
- type: "string",
188964
- const: "typing",
188965
- description: "Play a typing sound while this Agent's tools execute. Null disables the sound; omitted preserves the current setting. Applies to future calls after synchronization."
190184
+ anyOf: [
190185
+ {
190186
+ type: "string",
190187
+ const: "typing"
190188
+ },
190189
+ {
190190
+ type: "string",
190191
+ const: "music1"
190192
+ },
190193
+ {
190194
+ type: "string",
190195
+ const: "music2"
190196
+ },
190197
+ {
190198
+ type: "string",
190199
+ const: "music3"
190200
+ },
190201
+ {
190202
+ type: "string",
190203
+ const: "music4"
190204
+ }
190205
+ ],
190206
+ description: "What the caller hears while one of the Agent's tools runs, instead of silence: `typing` (a keyboard) or waiting music (`music1` to `music4`). Null: silence. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
188966
190207
  },
188967
190208
  {
188968
190209
  type: "null"
@@ -188982,6 +190223,23 @@ var schemaComponents = {
188982
190223
  }
188983
190224
  ]
188984
190225
  },
190226
+ uninterruptibleGreeting: {
190227
+ type: "boolean",
190228
+ description: "Say the first message whole: the caller cannot cut it off. For a greeting that carries a notice the caller must hear. False lets the caller interrupt it. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
190229
+ },
190230
+ voiceVersion: {
190231
+ anyOf: [
190232
+ {
190233
+ type: "string",
190234
+ const: "classic"
190235
+ },
190236
+ {
190237
+ type: "string",
190238
+ const: "turbo"
190239
+ }
190240
+ ],
190241
+ description: "Which version of the voice speaks. `classic` (what every Agent has spoken with) or `turbo`: it answers sooner and with more expression, ignores `speed`, and a voice can sound somewhat different in it. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
190242
+ },
188985
190243
  backupModels: {
188986
190244
  anyOf: [
188987
190245
  {
@@ -217357,6 +218615,8 @@ var schemaComponents = {
217357
218615
  },
217358
218616
  name: {
217359
218617
  type: "string",
218618
+ deprecated: true,
218619
+ description: "Legacy field for clients that echo the existing name. Edit the organization name in Arbol Account.",
217360
218620
  maxLength: 200,
217361
218621
  minLength: 1
217362
218622
  },
@@ -226568,6 +227828,18 @@ var schemaComponents = {
226568
227828
  ],
226569
227829
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
226570
227830
  },
227831
+ coveragePlan: {
227832
+ anyOf: [
227833
+ {
227834
+ type: "string",
227835
+ const: "POS"
227836
+ },
227837
+ {
227838
+ type: "null"
227839
+ }
227840
+ ],
227841
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
227842
+ },
226571
227843
  documentNumber: {
226572
227844
  type: "string",
226573
227845
  description: "Complete document number of the patient receiving care, from readable original evidence or their message. Normalize separators without changing digits. Request correction only for missing, illegible or conflicting identity; never guess digits."
@@ -230685,6 +231957,18 @@ var schemaComponents = {
230685
231957
  areaId: {
230686
231958
  type: "string"
230687
231959
  },
231960
+ coveragePlan: {
231961
+ anyOf: [
231962
+ {
231963
+ type: "string",
231964
+ const: "POS"
231965
+ },
231966
+ {
231967
+ type: "null"
231968
+ }
231969
+ ],
231970
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
231971
+ },
230688
231972
  date: {
230689
231973
  anyOf: [
230690
231974
  {
@@ -231105,6 +232389,18 @@ var schemaComponents = {
231105
232389
  ],
231106
232390
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
231107
232391
  },
232392
+ coveragePlan: {
232393
+ anyOf: [
232394
+ {
232395
+ type: "string",
232396
+ const: "POS"
232397
+ },
232398
+ {
232399
+ type: "null"
232400
+ }
232401
+ ],
232402
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
232403
+ },
231108
232404
  date: {
231109
232405
  anyOf: [
231110
232406
  {
@@ -245681,6 +246977,87 @@ var schemaComponents = {
245681
246977
  ],
245682
246978
  additionalProperties: false
245683
246979
  },
246980
+ OficlinicBookingSlotsSearchInput: {
246981
+ additionalProperties: false,
246982
+ type: "object",
246983
+ required: [
246984
+ "payerId",
246985
+ "serviceId",
246986
+ "programId",
246987
+ "attentionTypeId"
246988
+ ],
246989
+ properties: {
246990
+ connectionId: {
246991
+ pattern: "^con_[0-9A-Za-z]{26}$",
246992
+ description: "An Account connection id of the caller's organization.",
246993
+ type: "string"
246994
+ },
246995
+ payerId: {
246996
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
246997
+ description: "A payer id from list_payers.",
246998
+ type: "string"
246999
+ },
247000
+ serviceId: {
247001
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
247002
+ description: "A service id, such as one search_services answers.",
247003
+ type: "string"
247004
+ },
247005
+ programId: {
247006
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
247007
+ description: "A program id from list_programs.",
247008
+ type: "string"
247009
+ },
247010
+ attentionTypeId: {
247011
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
247012
+ description: "An attention type id the program lists in list_programs, with bookable true.",
247013
+ type: "string"
247014
+ },
247015
+ professionalIds: {
247016
+ maxItems: 20,
247017
+ description: "Only these professionals. Empty, the default, searches every professional the provider schedules for the service.",
247018
+ type: "array",
247019
+ items: {
247020
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
247021
+ description: "A professional id an earlier search or list answered.",
247022
+ type: "string"
247023
+ },
247024
+ default: []
247025
+ },
247026
+ roomIds: {
247027
+ maxItems: 20,
247028
+ description: "Only these rooms, such as the rooms of one site. Empty, the default, searches every room.",
247029
+ type: "array",
247030
+ items: {
247031
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
247032
+ description: "A room id an earlier search or list answered.",
247033
+ type: "string"
247034
+ },
247035
+ default: []
247036
+ },
247037
+ from: {
247038
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
247039
+ description: "The first day to search, YYYY-MM-DD in Colombia. Today when absent or in the past.",
247040
+ type: "string"
247041
+ },
247042
+ to: {
247043
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
247044
+ description: "The last day to search, YYYY-MM-DD, not before from. Open when absent. The same day as from searches one day.",
247045
+ type: "string"
247046
+ },
247047
+ slotsPerRoom: {
247048
+ minimum: 1,
247049
+ maximum: 20,
247050
+ description: "The most slots answered for each room, nearest first.",
247051
+ type: "integer",
247052
+ default: 3
247053
+ },
247054
+ agentMode: {
247055
+ 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.",
247056
+ type: "boolean",
247057
+ default: false
247058
+ }
247059
+ }
247060
+ },
245684
247061
  OficlinicCancellationReasonsListInput: {
245685
247062
  type: "object",
245686
247063
  properties: {
@@ -247102,6 +248479,23 @@ var schemaComponents = {
247102
248479
  },
247103
248480
  additionalProperties: false
247104
248481
  },
248482
+ RaizAgentsDeleteInput: {
248483
+ type: "object",
248484
+ properties: {
248485
+ agentId: {
248486
+ type: "string",
248487
+ description: "Agent id.",
248488
+ examples: [
248489
+ "agt_01m45h8q2rf3t9w6y7z0b1c2d3"
248490
+ ],
248491
+ pattern: "^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$"
248492
+ }
248493
+ },
248494
+ required: [
248495
+ "agentId"
248496
+ ],
248497
+ additionalProperties: false
248498
+ },
247105
248499
  RaizBulletinsListInput: {
247106
248500
  type: "object",
247107
248501
  properties: {
@@ -251300,6 +252694,8 @@ var schemaComponents = {
251300
252694
  },
251301
252695
  name: {
251302
252696
  type: "string",
252697
+ deprecated: true,
252698
+ description: "Legacy field for clients that echo the existing name. Edit the organization name in Arbol Account.",
251303
252699
  maxLength: 200,
251304
252700
  minLength: 1
251305
252701
  },
@@ -253342,6 +254738,18 @@ var schemaComponents = {
253342
254738
  ],
253343
254739
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
253344
254740
  },
254741
+ coveragePlan: {
254742
+ anyOf: [
254743
+ {
254744
+ type: "string",
254745
+ const: "POS"
254746
+ },
254747
+ {
254748
+ type: "null"
254749
+ }
254750
+ ],
254751
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
254752
+ },
253345
254753
  documentNumber: {
253346
254754
  type: "string",
253347
254755
  description: "Complete document number of the patient receiving care, from readable original evidence or their message. Normalize separators without changing digits. Request correction only for missing, illegible or conflicting identity; never guess digits."
@@ -254117,6 +255525,18 @@ var schemaComponents = {
254117
255525
  ],
254118
255526
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
254119
255527
  },
255528
+ coveragePlan: {
255529
+ anyOf: [
255530
+ {
255531
+ type: "string",
255532
+ const: "POS"
255533
+ },
255534
+ {
255535
+ type: "null"
255536
+ }
255537
+ ],
255538
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
255539
+ },
254120
255540
  date: {
254121
255541
  anyOf: [
254122
255542
  {
@@ -256174,9 +257594,9 @@ var schemaComponents = {
256174
257594
  // src/generated/generation.json
256175
257595
  var generation_default = {
256176
257596
  formatVersion: 6,
256177
- release: "1.20261112.173149",
256178
- openapiSha256: "1be578c3251f76215848f17c45ed563f6f2fd2fa6a21b7b8d23dd888e4cd1234",
256179
- openapiContentSha256: "65ea07f7d13d4676ad71c33b8aacc2ee3205bc106d2fa42b9248c1caa96e6c64",
257597
+ release: "1.20261113.63907",
257598
+ openapiSha256: "81682cd55bdbec958071ad3a5c9d74f35017085add4b08bba1cd284f07c79e7f",
257599
+ openapiContentSha256: "12e277340eb5ed2a2a2732fd87021c32c6d9bb2bfbba22f2a0eef5ed12e475dd",
256180
257600
  forge: {
256181
257601
  repository: "https://github.com/cloudflare/forge",
256182
257602
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -256189,7 +257609,7 @@ var generation_default = {
256189
257609
  outputs: [
256190
257610
  {
256191
257611
  path: "src/generated/commands.ts",
256192
- sha256: "b31c7825e13d36c625e928c566c6afdc4d748a062fefde6ccee321f857324ac8"
257612
+ sha256: "8643e558b0716cdb8675bcd1799b1beed208f9550438944943e15aa0c5f815ef"
256193
257613
  }
256194
257614
  ]
256195
257615
  };
@@ -257789,7 +259209,7 @@ ${name}`);
257789
259209
  }
257790
259210
 
257791
259211
  // src/index.ts
257792
- var VERSION = "3.55.0";
259212
+ var VERSION = "3.57.0";
257793
259213
  var RELEASE = generation_default.release;
257794
259214
  var commands2 = { ...commands, ...accountOperatorCommands };
257795
259215
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));