@arbol-ai/cli 3.55.0 → 3.56.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 +1014 -7
  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
@@ -171160,6 +171372,76 @@ var schemaComponents = {
171160
171372
  }
171161
171373
  }
171162
171374
  },
171375
+ OficlinicBookingDateOffer: {
171376
+ additionalProperties: false,
171377
+ type: "object",
171378
+ required: [
171379
+ "dayId",
171380
+ "date",
171381
+ "availableCount",
171382
+ "slotsListed",
171383
+ "professional",
171384
+ "room"
171385
+ ],
171386
+ properties: {
171387
+ dayId: {
171388
+ description: "The provider's agenda id (agendaID): pass it as dayId for its slots.",
171389
+ type: "string"
171390
+ },
171391
+ date: {
171392
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
171393
+ type: "string"
171394
+ },
171395
+ availableCount: {
171396
+ description: "The provider's Disponibles count; null when not a count.",
171397
+ anyOf: [
171398
+ {
171399
+ minimum: 0,
171400
+ type: "integer"
171401
+ },
171402
+ {
171403
+ type: "null"
171404
+ }
171405
+ ]
171406
+ },
171407
+ slotsListed: {
171408
+ description: "Whether this search read the day's slots; its future ones are in slots.",
171409
+ type: "boolean"
171410
+ },
171411
+ professional: {
171412
+ additionalProperties: false,
171413
+ type: "object",
171414
+ required: [
171415
+ "id",
171416
+ "name"
171417
+ ],
171418
+ properties: {
171419
+ id: {
171420
+ type: "string"
171421
+ },
171422
+ name: {
171423
+ type: "string"
171424
+ }
171425
+ }
171426
+ },
171427
+ room: {
171428
+ additionalProperties: false,
171429
+ type: "object",
171430
+ required: [
171431
+ "id",
171432
+ "name"
171433
+ ],
171434
+ properties: {
171435
+ id: {
171436
+ type: "string"
171437
+ },
171438
+ name: {
171439
+ type: "string"
171440
+ }
171441
+ }
171442
+ }
171443
+ }
171444
+ },
171163
171445
  OficlinicBookingDay: {
171164
171446
  additionalProperties: false,
171165
171447
  type: "object",
@@ -171514,6 +171796,107 @@ var schemaComponents = {
171514
171796
  }
171515
171797
  }
171516
171798
  },
171799
+ OficlinicBookingSlotOffer: {
171800
+ additionalProperties: false,
171801
+ type: "object",
171802
+ required: [
171803
+ "id",
171804
+ "flowId",
171805
+ "dayId",
171806
+ "date",
171807
+ "label",
171808
+ "startsAt",
171809
+ "endsAt",
171810
+ "professional",
171811
+ "room"
171812
+ ],
171813
+ properties: {
171814
+ id: {
171815
+ description: "The provider's slot id (citaID): pass it as slotId to book.",
171816
+ type: "string"
171817
+ },
171818
+ flowId: {
171819
+ description: "The availability flow of this slot: pass it with slotId to book.",
171820
+ type: "string"
171821
+ },
171822
+ dayId: {
171823
+ description: "The provider's agenda id of the slot's day.",
171824
+ type: "string"
171825
+ },
171826
+ date: {
171827
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
171828
+ description: "The slot's day in Colombia.",
171829
+ type: "string"
171830
+ },
171831
+ label: {
171832
+ description: "The slot as the provider describes it (citaDescripcion), usually its time.",
171833
+ anyOf: [
171834
+ {
171835
+ type: "string"
171836
+ },
171837
+ {
171838
+ type: "null"
171839
+ }
171840
+ ]
171841
+ },
171842
+ startsAt: {
171843
+ description: "The slot's exact start in America/Bogota; null if unrecognized.",
171844
+ anyOf: [
171845
+ {
171846
+ format: "date-time",
171847
+ type: "string"
171848
+ },
171849
+ {
171850
+ type: "null"
171851
+ }
171852
+ ]
171853
+ },
171854
+ endsAt: {
171855
+ description: "The slot's exact end; null if unrecognized.",
171856
+ anyOf: [
171857
+ {
171858
+ format: "date-time",
171859
+ type: "string"
171860
+ },
171861
+ {
171862
+ type: "null"
171863
+ }
171864
+ ]
171865
+ },
171866
+ professional: {
171867
+ additionalProperties: false,
171868
+ type: "object",
171869
+ required: [
171870
+ "id",
171871
+ "name"
171872
+ ],
171873
+ properties: {
171874
+ id: {
171875
+ type: "string"
171876
+ },
171877
+ name: {
171878
+ type: "string"
171879
+ }
171880
+ }
171881
+ },
171882
+ room: {
171883
+ additionalProperties: false,
171884
+ type: "object",
171885
+ required: [
171886
+ "id",
171887
+ "name"
171888
+ ],
171889
+ properties: {
171890
+ id: {
171891
+ type: "string"
171892
+ },
171893
+ name: {
171894
+ type: "string"
171895
+ }
171896
+ }
171897
+ }
171898
+ }
171899
+ },
171517
171900
  OficlinicBookingSlotPage: {
171518
171901
  additionalProperties: false,
171519
171902
  type: "object",
@@ -171541,6 +171924,66 @@ var schemaComponents = {
171541
171924
  }
171542
171925
  }
171543
171926
  },
171927
+ OficlinicBookingSlotSearch: {
171928
+ additionalProperties: false,
171929
+ type: "object",
171930
+ required: [
171931
+ "flowId",
171932
+ "flowExpiresAt",
171933
+ "from",
171934
+ "to",
171935
+ "complete",
171936
+ "slots",
171937
+ "dates"
171938
+ ],
171939
+ properties: {
171940
+ flowId: {
171941
+ pattern: "^bf_[a-z2-7]{16}$",
171942
+ description: "The availability flow id every booking list item carries (flowId). It expires 30 minutes after the first list.",
171943
+ type: "string"
171944
+ },
171945
+ flowExpiresAt: {
171946
+ format: "date-time",
171947
+ description: "When the flow expires.",
171948
+ type: "string"
171949
+ },
171950
+ from: {
171951
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
171952
+ description: "The first day searched.",
171953
+ type: "string"
171954
+ },
171955
+ to: {
171956
+ description: "The last day searched; null when open.",
171957
+ anyOf: [
171958
+ {
171959
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
171960
+ type: "string"
171961
+ },
171962
+ {
171963
+ type: "null"
171964
+ }
171965
+ ]
171966
+ },
171967
+ complete: {
171968
+ description: "false when a bound stopped the search before every matching professional, room and day was read: nearer slots may exist.",
171969
+ type: "boolean"
171970
+ },
171971
+ slots: {
171972
+ description: "The nearest future slots of each room, earliest first.",
171973
+ type: "array",
171974
+ items: {
171975
+ $ref: "#/components/schemas/OficlinicBookingSlotOffer"
171976
+ }
171977
+ },
171978
+ dates: {
171979
+ description: "The agenda days with availability in the searched days, earliest first.",
171980
+ type: "array",
171981
+ items: {
171982
+ $ref: "#/components/schemas/OficlinicBookingDateOffer"
171983
+ }
171984
+ }
171985
+ }
171986
+ },
171544
171987
  OficlinicCancelAppointmentBadGatewayError: {
171545
171988
  type: "object",
171546
171989
  description: "A failed answer.",
@@ -183006,6 +183449,468 @@ var schemaComponents = {
183006
183449
  }
183007
183450
  }
183008
183451
  },
183452
+ OficlinicSearchBookingSlotsBadGatewayError: {
183453
+ type: "object",
183454
+ description: "A failed answer.",
183455
+ additionalProperties: false,
183456
+ required: [
183457
+ "success",
183458
+ "data",
183459
+ "error",
183460
+ "metadata"
183461
+ ],
183462
+ properties: {
183463
+ success: {
183464
+ type: "boolean",
183465
+ enum: [
183466
+ false
183467
+ ]
183468
+ },
183469
+ data: {
183470
+ const: null
183471
+ },
183472
+ error: {
183473
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsBadGatewayFailure"
183474
+ },
183475
+ metadata: {
183476
+ $ref: "#/components/schemas/ResponseMetadata"
183477
+ }
183478
+ }
183479
+ },
183480
+ OficlinicSearchBookingSlotsBadGatewayFailure: {
183481
+ oneOf: [
183482
+ {
183483
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
183484
+ },
183485
+ {
183486
+ $ref: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure"
183487
+ },
183488
+ {
183489
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
183490
+ }
183491
+ ],
183492
+ discriminator: {
183493
+ propertyName: "code",
183494
+ mapping: {
183495
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
183496
+ SIGN_IN_OUTCOME_UNKNOWN: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure",
183497
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure"
183498
+ }
183499
+ }
183500
+ },
183501
+ OficlinicSearchBookingSlotsBadRequestError: {
183502
+ type: "object",
183503
+ description: "A failed answer.",
183504
+ additionalProperties: false,
183505
+ required: [
183506
+ "success",
183507
+ "data",
183508
+ "error",
183509
+ "metadata"
183510
+ ],
183511
+ properties: {
183512
+ success: {
183513
+ type: "boolean",
183514
+ enum: [
183515
+ false
183516
+ ]
183517
+ },
183518
+ data: {
183519
+ const: null
183520
+ },
183521
+ error: {
183522
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsBadRequestFailure"
183523
+ },
183524
+ metadata: {
183525
+ $ref: "#/components/schemas/ResponseMetadata"
183526
+ }
183527
+ }
183528
+ },
183529
+ OficlinicSearchBookingSlotsBadRequestFailure: {
183530
+ oneOf: [
183531
+ {
183532
+ $ref: "#/components/schemas/InvalidInputFailure"
183533
+ },
183534
+ {
183535
+ $ref: "#/components/schemas/OficlinicInvalidCursorFailure"
183536
+ }
183537
+ ],
183538
+ discriminator: {
183539
+ propertyName: "code",
183540
+ mapping: {
183541
+ INVALID_INPUT: "#/components/schemas/InvalidInputFailure",
183542
+ INVALID_CURSOR: "#/components/schemas/OficlinicInvalidCursorFailure"
183543
+ }
183544
+ }
183545
+ },
183546
+ OficlinicSearchBookingSlotsBody: {
183547
+ additionalProperties: false,
183548
+ type: "object",
183549
+ required: [
183550
+ "payerId",
183551
+ "serviceId",
183552
+ "programId",
183553
+ "attentionTypeId"
183554
+ ],
183555
+ properties: {
183556
+ connectionId: {
183557
+ pattern: "^con_[0-9A-Za-z]{26}$",
183558
+ description: "An Account connection id of the caller's organization.",
183559
+ type: "string"
183560
+ },
183561
+ payerId: {
183562
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183563
+ description: "A payer id from list_payers.",
183564
+ type: "string"
183565
+ },
183566
+ serviceId: {
183567
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183568
+ description: "A service id, such as one search_services answers.",
183569
+ type: "string"
183570
+ },
183571
+ programId: {
183572
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183573
+ description: "A program id from list_programs.",
183574
+ type: "string"
183575
+ },
183576
+ attentionTypeId: {
183577
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183578
+ description: "An attention type id the program lists in list_programs, with bookable true.",
183579
+ type: "string"
183580
+ },
183581
+ professionalIds: {
183582
+ maxItems: 20,
183583
+ description: "Only these professionals. Empty, the default, searches every professional the provider schedules for the service.",
183584
+ type: "array",
183585
+ items: {
183586
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183587
+ description: "A professional id an earlier search or list answered.",
183588
+ type: "string"
183589
+ },
183590
+ default: []
183591
+ },
183592
+ roomIds: {
183593
+ maxItems: 20,
183594
+ description: "Only these rooms, such as the rooms of one site. Empty, the default, searches every room.",
183595
+ type: "array",
183596
+ items: {
183597
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
183598
+ description: "A room id an earlier search or list answered.",
183599
+ type: "string"
183600
+ },
183601
+ default: []
183602
+ },
183603
+ from: {
183604
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
183605
+ description: "The first day to search, YYYY-MM-DD in Colombia. Today when absent or in the past.",
183606
+ type: "string"
183607
+ },
183608
+ to: {
183609
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
183610
+ description: "The last day to search, YYYY-MM-DD, not before from. Open when absent. The same day as from searches one day.",
183611
+ type: "string"
183612
+ },
183613
+ slotsPerRoom: {
183614
+ minimum: 1,
183615
+ maximum: 20,
183616
+ description: "The most slots answered for each room, nearest first.",
183617
+ type: "integer",
183618
+ default: 3
183619
+ },
183620
+ agentMode: {
183621
+ 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.",
183622
+ type: "boolean",
183623
+ default: false
183624
+ }
183625
+ }
183626
+ },
183627
+ OficlinicSearchBookingSlotsConflictError: {
183628
+ type: "object",
183629
+ description: "A failed answer.",
183630
+ additionalProperties: false,
183631
+ required: [
183632
+ "success",
183633
+ "data",
183634
+ "error",
183635
+ "metadata"
183636
+ ],
183637
+ properties: {
183638
+ success: {
183639
+ type: "boolean",
183640
+ enum: [
183641
+ false
183642
+ ]
183643
+ },
183644
+ data: {
183645
+ const: null
183646
+ },
183647
+ error: {
183648
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsConflictFailure"
183649
+ },
183650
+ metadata: {
183651
+ $ref: "#/components/schemas/ResponseMetadata"
183652
+ }
183653
+ }
183654
+ },
183655
+ OficlinicSearchBookingSlotsConflictFailure: {
183656
+ oneOf: [
183657
+ {
183658
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
183659
+ },
183660
+ {
183661
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
183662
+ },
183663
+ {
183664
+ $ref: "#/components/schemas/OficlinicConnectionBusyFailure"
183665
+ },
183666
+ {
183667
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
183668
+ },
183669
+ {
183670
+ $ref: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
183671
+ }
183672
+ ],
183673
+ discriminator: {
183674
+ propertyName: "code",
183675
+ mapping: {
183676
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
183677
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
183678
+ CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
183679
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure",
183680
+ SELECTION_NOT_AVAILABLE: "#/components/schemas/OficlinicSelectionNotAvailableFailure"
183681
+ }
183682
+ }
183683
+ },
183684
+ OficlinicSearchBookingSlotsNotFoundError: {
183685
+ type: "object",
183686
+ description: "A failed answer.",
183687
+ additionalProperties: false,
183688
+ required: [
183689
+ "success",
183690
+ "data",
183691
+ "error",
183692
+ "metadata"
183693
+ ],
183694
+ properties: {
183695
+ success: {
183696
+ type: "boolean",
183697
+ enum: [
183698
+ false
183699
+ ]
183700
+ },
183701
+ data: {
183702
+ const: null
183703
+ },
183704
+ error: {
183705
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsNotFoundFailure"
183706
+ },
183707
+ metadata: {
183708
+ $ref: "#/components/schemas/ResponseMetadata"
183709
+ }
183710
+ }
183711
+ },
183712
+ OficlinicSearchBookingSlotsNotFoundFailure: {
183713
+ oneOf: [
183714
+ {
183715
+ $ref: "#/components/schemas/OficlinicConnectionNotFoundFailure"
183716
+ },
183717
+ {
183718
+ $ref: "#/components/schemas/OficlinicPayerNotFoundFailure"
183719
+ },
183720
+ {
183721
+ $ref: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
183722
+ }
183723
+ ],
183724
+ discriminator: {
183725
+ propertyName: "code",
183726
+ mapping: {
183727
+ CONNECTION_NOT_FOUND: "#/components/schemas/OficlinicConnectionNotFoundFailure",
183728
+ PAYER_NOT_FOUND: "#/components/schemas/OficlinicPayerNotFoundFailure",
183729
+ BOOKING_OPTION_NOT_FOUND: "#/components/schemas/OficlinicBookingOptionNotFoundFailure"
183730
+ }
183731
+ }
183732
+ },
183733
+ OficlinicSearchBookingSlotsResult: {
183734
+ anyOf: [
183735
+ {
183736
+ $ref: "#/components/schemas/OficlinicBookingSlotSearch"
183737
+ },
183738
+ {
183739
+ $ref: "#/components/schemas/OficlinicAgentText"
183740
+ }
183741
+ ]
183742
+ },
183743
+ OficlinicSearchBookingSlotsResultResponse: {
183744
+ type: "object",
183745
+ description: "A successful answer.",
183746
+ additionalProperties: false,
183747
+ required: [
183748
+ "success",
183749
+ "data",
183750
+ "error",
183751
+ "metadata"
183752
+ ],
183753
+ properties: {
183754
+ success: {
183755
+ type: "boolean",
183756
+ enum: [
183757
+ true
183758
+ ]
183759
+ },
183760
+ data: {
183761
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsResult"
183762
+ },
183763
+ error: {
183764
+ const: null
183765
+ },
183766
+ metadata: {
183767
+ $ref: "#/components/schemas/ResponseMetadata"
183768
+ }
183769
+ }
183770
+ },
183771
+ OficlinicSearchBookingSlotsServiceUnavailableError: {
183772
+ type: "object",
183773
+ description: "A failed answer.",
183774
+ additionalProperties: false,
183775
+ required: [
183776
+ "success",
183777
+ "data",
183778
+ "error",
183779
+ "metadata"
183780
+ ],
183781
+ properties: {
183782
+ success: {
183783
+ type: "boolean",
183784
+ enum: [
183785
+ false
183786
+ ]
183787
+ },
183788
+ data: {
183789
+ const: null
183790
+ },
183791
+ error: {
183792
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsServiceUnavailableFailure"
183793
+ },
183794
+ metadata: {
183795
+ $ref: "#/components/schemas/ResponseMetadata"
183796
+ }
183797
+ }
183798
+ },
183799
+ OficlinicSearchBookingSlotsServiceUnavailableFailure: {
183800
+ oneOf: [
183801
+ {
183802
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
183803
+ },
183804
+ {
183805
+ $ref: "#/components/schemas/ProviderUnavailableFailure"
183806
+ }
183807
+ ],
183808
+ discriminator: {
183809
+ propertyName: "code",
183810
+ mapping: {
183811
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
183812
+ PROVIDER_UNAVAILABLE: "#/components/schemas/ProviderUnavailableFailure"
183813
+ }
183814
+ }
183815
+ },
183816
+ OficlinicSearchBookingSlotsTooManyRequestsError: {
183817
+ type: "object",
183818
+ description: "A failed answer.",
183819
+ additionalProperties: false,
183820
+ required: [
183821
+ "success",
183822
+ "data",
183823
+ "error",
183824
+ "metadata"
183825
+ ],
183826
+ properties: {
183827
+ success: {
183828
+ type: "boolean",
183829
+ enum: [
183830
+ false
183831
+ ]
183832
+ },
183833
+ data: {
183834
+ const: null
183835
+ },
183836
+ error: {
183837
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsTooManyRequestsFailure"
183838
+ },
183839
+ metadata: {
183840
+ $ref: "#/components/schemas/ResponseMetadata"
183841
+ }
183842
+ }
183843
+ },
183844
+ OficlinicSearchBookingSlotsTooManyRequestsFailure: {
183845
+ oneOf: [
183846
+ {
183847
+ $ref: "#/components/schemas/RateLimitedFailure"
183848
+ },
183849
+ {
183850
+ $ref: "#/components/schemas/OficlinicLoginCoolingDownFailure"
183851
+ }
183852
+ ],
183853
+ discriminator: {
183854
+ propertyName: "code",
183855
+ mapping: {
183856
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
183857
+ LOGIN_COOLING_DOWN: "#/components/schemas/OficlinicLoginCoolingDownFailure"
183858
+ }
183859
+ }
183860
+ },
183861
+ OficlinicSearchBookingSlotsUnprocessableContentError: {
183862
+ type: "object",
183863
+ description: "A failed answer.",
183864
+ additionalProperties: false,
183865
+ required: [
183866
+ "success",
183867
+ "data",
183868
+ "error",
183869
+ "metadata"
183870
+ ],
183871
+ properties: {
183872
+ success: {
183873
+ type: "boolean",
183874
+ enum: [
183875
+ false
183876
+ ]
183877
+ },
183878
+ data: {
183879
+ const: null
183880
+ },
183881
+ error: {
183882
+ $ref: "#/components/schemas/OficlinicSearchBookingSlotsUnprocessableContentFailure"
183883
+ },
183884
+ metadata: {
183885
+ $ref: "#/components/schemas/ResponseMetadata"
183886
+ }
183887
+ }
183888
+ },
183889
+ OficlinicSearchBookingSlotsUnprocessableContentFailure: {
183890
+ oneOf: [
183891
+ {
183892
+ $ref: "#/components/schemas/CredentialsRejectedFailure"
183893
+ },
183894
+ {
183895
+ $ref: "#/components/schemas/OficlinicContextNotAvailableFailure"
183896
+ },
183897
+ {
183898
+ $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
183899
+ },
183900
+ {
183901
+ $ref: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
183902
+ }
183903
+ ],
183904
+ discriminator: {
183905
+ propertyName: "code",
183906
+ mapping: {
183907
+ CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
183908
+ CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
183909
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure",
183910
+ PROGRAM_UNITS_NOT_SUPPORTED: "#/components/schemas/OficlinicProgramUnitsNotSupportedFailure"
183911
+ }
183912
+ }
183913
+ },
183009
183914
  OficlinicSearchServicesBadGatewayError: {
183010
183915
  type: "object",
183011
183916
  description: "A failed answer.",
@@ -217357,6 +218262,8 @@ var schemaComponents = {
217357
218262
  },
217358
218263
  name: {
217359
218264
  type: "string",
218265
+ deprecated: true,
218266
+ description: "Legacy field for clients that echo the existing name. Edit the organization name in Arbol Account.",
217360
218267
  maxLength: 200,
217361
218268
  minLength: 1
217362
218269
  },
@@ -245681,6 +246588,87 @@ var schemaComponents = {
245681
246588
  ],
245682
246589
  additionalProperties: false
245683
246590
  },
246591
+ OficlinicBookingSlotsSearchInput: {
246592
+ additionalProperties: false,
246593
+ type: "object",
246594
+ required: [
246595
+ "payerId",
246596
+ "serviceId",
246597
+ "programId",
246598
+ "attentionTypeId"
246599
+ ],
246600
+ properties: {
246601
+ connectionId: {
246602
+ pattern: "^con_[0-9A-Za-z]{26}$",
246603
+ description: "An Account connection id of the caller's organization.",
246604
+ type: "string"
246605
+ },
246606
+ payerId: {
246607
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
246608
+ description: "A payer id from list_payers.",
246609
+ type: "string"
246610
+ },
246611
+ serviceId: {
246612
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
246613
+ description: "A service id, such as one search_services answers.",
246614
+ type: "string"
246615
+ },
246616
+ programId: {
246617
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
246618
+ description: "A program id from list_programs.",
246619
+ type: "string"
246620
+ },
246621
+ attentionTypeId: {
246622
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
246623
+ description: "An attention type id the program lists in list_programs, with bookable true.",
246624
+ type: "string"
246625
+ },
246626
+ professionalIds: {
246627
+ maxItems: 20,
246628
+ description: "Only these professionals. Empty, the default, searches every professional the provider schedules for the service.",
246629
+ type: "array",
246630
+ items: {
246631
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
246632
+ description: "A professional id an earlier search or list answered.",
246633
+ type: "string"
246634
+ },
246635
+ default: []
246636
+ },
246637
+ roomIds: {
246638
+ maxItems: 20,
246639
+ description: "Only these rooms, such as the rooms of one site. Empty, the default, searches every room.",
246640
+ type: "array",
246641
+ items: {
246642
+ pattern: "^[0-9A-Za-z._-]{1,32}$",
246643
+ description: "A room id an earlier search or list answered.",
246644
+ type: "string"
246645
+ },
246646
+ default: []
246647
+ },
246648
+ from: {
246649
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
246650
+ description: "The first day to search, YYYY-MM-DD in Colombia. Today when absent or in the past.",
246651
+ type: "string"
246652
+ },
246653
+ to: {
246654
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
246655
+ description: "The last day to search, YYYY-MM-DD, not before from. Open when absent. The same day as from searches one day.",
246656
+ type: "string"
246657
+ },
246658
+ slotsPerRoom: {
246659
+ minimum: 1,
246660
+ maximum: 20,
246661
+ description: "The most slots answered for each room, nearest first.",
246662
+ type: "integer",
246663
+ default: 3
246664
+ },
246665
+ agentMode: {
246666
+ 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.",
246667
+ type: "boolean",
246668
+ default: false
246669
+ }
246670
+ }
246671
+ },
245684
246672
  OficlinicCancellationReasonsListInput: {
245685
246673
  type: "object",
245686
246674
  properties: {
@@ -247102,6 +248090,23 @@ var schemaComponents = {
247102
248090
  },
247103
248091
  additionalProperties: false
247104
248092
  },
248093
+ RaizAgentsDeleteInput: {
248094
+ type: "object",
248095
+ properties: {
248096
+ agentId: {
248097
+ type: "string",
248098
+ description: "Agent id.",
248099
+ examples: [
248100
+ "agt_01m45h8q2rf3t9w6y7z0b1c2d3"
248101
+ ],
248102
+ 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}))$"
248103
+ }
248104
+ },
248105
+ required: [
248106
+ "agentId"
248107
+ ],
248108
+ additionalProperties: false
248109
+ },
247105
248110
  RaizBulletinsListInput: {
247106
248111
  type: "object",
247107
248112
  properties: {
@@ -251300,6 +252305,8 @@ var schemaComponents = {
251300
252305
  },
251301
252306
  name: {
251302
252307
  type: "string",
252308
+ deprecated: true,
252309
+ description: "Legacy field for clients that echo the existing name. Edit the organization name in Arbol Account.",
251303
252310
  maxLength: 200,
251304
252311
  minLength: 1
251305
252312
  },
@@ -256174,9 +257181,9 @@ var schemaComponents = {
256174
257181
  // src/generated/generation.json
256175
257182
  var generation_default = {
256176
257183
  formatVersion: 6,
256177
- release: "1.20261112.173149",
256178
- openapiSha256: "1be578c3251f76215848f17c45ed563f6f2fd2fa6a21b7b8d23dd888e4cd1234",
256179
- openapiContentSha256: "65ea07f7d13d4676ad71c33b8aacc2ee3205bc106d2fa42b9248c1caa96e6c64",
257184
+ release: "1.20261112.191820",
257185
+ openapiSha256: "67c05f66440ef691f071c57e882ec8a3ae3e7fa81a4cb2ee0113c6f9aaced310",
257186
+ openapiContentSha256: "2f7c07c79d552e9dc7f380e56101da2571ccb50d22ebd1568c1282c69a0ef313",
256180
257187
  forge: {
256181
257188
  repository: "https://github.com/cloudflare/forge",
256182
257189
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -256189,7 +257196,7 @@ var generation_default = {
256189
257196
  outputs: [
256190
257197
  {
256191
257198
  path: "src/generated/commands.ts",
256192
- sha256: "b31c7825e13d36c625e928c566c6afdc4d748a062fefde6ccee321f857324ac8"
257199
+ sha256: "2b5293688500f89473a3a3bc75c48f5e8b351698f8ea82ad53b17bfa91456b78"
256193
257200
  }
256194
257201
  ]
256195
257202
  };
@@ -257789,7 +258796,7 @@ ${name}`);
257789
258796
  }
257790
258797
 
257791
258798
  // src/index.ts
257792
- var VERSION = "3.55.0";
258799
+ var VERSION = "3.56.0";
257793
258800
  var RELEASE = generation_default.release;
257794
258801
  var commands2 = { ...commands, ...accountOperatorCommands };
257795
258802
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/cli",
3
- "version": "3.55.0",
3
+ "version": "3.56.0",
4
4
  "description": "The Arbol CLI: the Arbol API from your terminal, with commands generated by Cloudflare Forge from the public OpenAPI.",
5
5
  "keywords": [
6
6
  "arbol",
@@ -45,7 +45,7 @@
45
45
  "verify:with-tests": "bun run typecheck && bun run test && bun run build"
46
46
  },
47
47
  "dependencies": {
48
- "@arbol-ai/sdk": "5.55.0",
48
+ "@arbol-ai/sdk": "5.56.0",
49
49
  "ajv": "8.20.0",
50
50
  "ajv-formats": "3.0.1",
51
51
  "oauth4webapi": "3.8.8"
@@ -60,8 +60,8 @@
60
60
  "packageManager": "bun@1.4.3",
61
61
  "arbol": {
62
62
  "openapi": {
63
- "release": "1.20261112.173149",
64
- "sha256": "65ea07f7d13d4676ad71c33b8aacc2ee3205bc106d2fa42b9248c1caa96e6c64"
63
+ "release": "1.20261112.191820",
64
+ "sha256": "2f7c07c79d552e9dc7f380e56101da2571ccb50d22ebd1568c1282c69a0ef313"
65
65
  }
66
66
  }
67
67
  }