@arbol-ai/cli 3.34.0 → 3.36.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 +674 -10
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -24999,7 +24999,7 @@ var commands = {
24999
24999
  flag: "date",
25000
25000
  kind: "string",
25001
25001
  required: false,
25002
- description: `A day to look at, as YYYY-MM-DD. Omit it for the soonest day with room. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`
25002
+ description: `A day to look at, as YYYY-MM-DD. Omit it to start from the professional's next day with an agenda. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`
25003
25003
  },
25004
25004
  {
25005
25005
  name: "documentNumber",
@@ -25102,7 +25102,7 @@ var commands = {
25102
25102
  ]
25103
25103
  },
25104
25104
  date: {
25105
- description: `A day to look at, as YYYY-MM-DD. Omit it for the soonest day with room. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
25105
+ description: `A day to look at, as YYYY-MM-DD. Omit it to start from the professional's next day with an agenda. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
25106
25106
  anyOf: [
25107
25107
  {
25108
25108
  type: "string"
@@ -25255,7 +25255,7 @@ var commands = {
25255
25255
  }
25256
25256
  },
25257
25257
  title: "Find availability",
25258
- description: "Find the free appointment times for one patient and one service. With no date it answers with the soonest day that has room; with a date it answers for that day. times[] are the hours you may book, otherDates[] are other days that month with room, and otherProfessionals[] are the other doctors who see this service. Offer two or three times, never the whole list.",
25258
+ description: "Find the free appointment times for one patient and one service. With a date it answers for that day. With no date it answers for the professional's next day with an agenda, which can be full. times[] are the hours you may book, and only free ones are ever listed; otherDates[] are other days that month with room; days[] says how every day of that month stands (available, full or no_agenda); reserved says the day's only free slot is held back; and otherProfessionals[] are the other doctors who see this service. An empty times[] does not mean the whole agenda is full: prepare_appointment searches other months. Offer two or three times, never the whole list.",
25259
25259
  effect: "read",
25260
25260
  confirmation: null,
25261
25261
  hidden: false
@@ -26599,6 +26599,131 @@ var commands = {
26599
26599
  confirmation: null,
26600
26600
  hidden: false
26601
26601
  },
26602
+ "sura schedules lookup": {
26603
+ operation: "sura.schedules.lookup",
26604
+ sdkPath: [
26605
+ "sura",
26606
+ "schedules",
26607
+ "lookup"
26608
+ ],
26609
+ pathField: null,
26610
+ fields: [
26611
+ {
26612
+ name: "professional",
26613
+ flag: "professional",
26614
+ kind: "string",
26615
+ required: true,
26616
+ description: "The professional name or an unambiguous part of it. Resolved against this connection’s registered directory; never a patient identity."
26617
+ },
26618
+ {
26619
+ name: "date",
26620
+ flag: "date",
26621
+ kind: "string",
26622
+ required: true,
26623
+ description: "The calendar day to inspect, YYYY-MM-DD, in the clinic’s timezone."
26624
+ },
26625
+ {
26626
+ name: "serviceId",
26627
+ flag: "service-id",
26628
+ kind: "string",
26629
+ required: false,
26630
+ description: "Optional exact service id or unambiguous service name. Omit to inspect every service in which this professional is registered at this connection’s institution."
26631
+ },
26632
+ {
26633
+ name: "agentMode",
26634
+ flag: "agent-mode",
26635
+ kind: "boolean",
26636
+ required: false,
26637
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
26638
+ default: false
26639
+ },
26640
+ {
26641
+ name: "connectionId",
26642
+ flag: "connection-id",
26643
+ kind: "string",
26644
+ required: false,
26645
+ description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several."
26646
+ },
26647
+ {
26648
+ name: "channel",
26649
+ flag: "channel",
26650
+ kind: "string",
26651
+ required: false,
26652
+ description: "The channel the caller is waiting on, which sets how long it waits before an answer comes back pending, and puts a phone call's reads ahead of others. Defaults to web.",
26653
+ choices: [
26654
+ "voice",
26655
+ "whatsapp",
26656
+ "web"
26657
+ ]
26658
+ }
26659
+ ],
26660
+ inputSchema: {
26661
+ additionalProperties: false,
26662
+ type: "object",
26663
+ required: [
26664
+ "professional",
26665
+ "date"
26666
+ ],
26667
+ properties: {
26668
+ professional: {
26669
+ minLength: 1,
26670
+ maxLength: 200,
26671
+ description: "The professional name or an unambiguous part of it. Resolved against this connection’s registered directory; never a patient identity.",
26672
+ type: "string"
26673
+ },
26674
+ date: {
26675
+ format: "date",
26676
+ description: "The calendar day to inspect, YYYY-MM-DD, in the clinic’s timezone.",
26677
+ type: "string"
26678
+ },
26679
+ serviceId: {
26680
+ description: "Optional exact service id or unambiguous service name. Omit to inspect every service in which this professional is registered at this connection’s institution.",
26681
+ anyOf: [
26682
+ {
26683
+ maxLength: 200,
26684
+ type: "string"
26685
+ },
26686
+ {
26687
+ type: "null"
26688
+ }
26689
+ ]
26690
+ },
26691
+ agentMode: {
26692
+ default: false,
26693
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
26694
+ type: "boolean"
26695
+ },
26696
+ connectionId: {
26697
+ description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
26698
+ maxLength: 128,
26699
+ minLength: 1,
26700
+ type: "string"
26701
+ },
26702
+ channel: {
26703
+ anyOf: [
26704
+ {
26705
+ const: "voice",
26706
+ type: "string"
26707
+ },
26708
+ {
26709
+ const: "whatsapp",
26710
+ type: "string"
26711
+ },
26712
+ {
26713
+ const: "web",
26714
+ type: "string"
26715
+ }
26716
+ ],
26717
+ description: "The channel the caller is waiting on, which sets how long it waits before an answer comes back pending, and puts a phone call's reads ahead of others. Defaults to web."
26718
+ }
26719
+ }
26720
+ },
26721
+ title: "Look up a professional schedule",
26722
+ description: "Read a professional’s generated schedule and capacity on one date without a patient document. Omit serviceId to inspect all their registered services at the connection’s institution. Distinguishes a full day from no schedule, an ungenerated period, blocked capacity and a generated period not offered. Returns real configured hours and created, offered, assigned, available and blocked counts. Counts are administrative capacity, never patient eligibility or a booking proposal. Does not create periods, change hours, book or cancel appointments. Use bookingOptions.lookup with the patient before offering a bookable slot. A technical failure never means no schedule.",
26723
+ effect: "read",
26724
+ confirmation: null,
26725
+ hidden: false
26726
+ },
26602
26727
  "sura services list": {
26603
26728
  operation: "sura.services.list",
26604
26729
  sdkPath: [
@@ -87915,6 +88040,17 @@ var schemaComponents = {
87915
88040
  items: {
87916
88041
  type: "string"
87917
88042
  }
88043
+ },
88044
+ days: {
88045
+ description: "Every day of that month for this professional, so a day with no hours says why. Empty only when SURA's calendar could not be read. Absent on older saved results; absence does not establish a day state.",
88046
+ type: "array",
88047
+ items: {
88048
+ $ref: "#/components/schemas/SuraCalendarDay"
88049
+ }
88050
+ },
88051
+ reserved: {
88052
+ description: "True when the day's only free slot is held for the primary-care IPS until 24 hours before it; times leaves it out. Absent on older saved results; absence does not mean false.",
88053
+ type: "boolean"
87918
88054
  }
87919
88055
  }
87920
88056
  },
@@ -88375,6 +88511,37 @@ var schemaComponents = {
88375
88511
  }
88376
88512
  }
88377
88513
  },
88514
+ SuraCalendarDay: {
88515
+ additionalProperties: false,
88516
+ type: "object",
88517
+ required: [
88518
+ "date",
88519
+ "status"
88520
+ ],
88521
+ properties: {
88522
+ date: {
88523
+ description: "YYYY-MM-DD.",
88524
+ type: "string"
88525
+ },
88526
+ status: {
88527
+ anyOf: [
88528
+ {
88529
+ const: "available",
88530
+ type: "string"
88531
+ },
88532
+ {
88533
+ const: "full",
88534
+ type: "string"
88535
+ },
88536
+ {
88537
+ const: "no_agenda",
88538
+ type: "string"
88539
+ }
88540
+ ],
88541
+ description: "available: it has free slots. full: it has an agenda with none free. no_agenda: the professional has no agenda that day."
88542
+ }
88543
+ }
88544
+ },
88378
88545
  SuraCancelAppointmentBadGatewayError: {
88379
88546
  type: "object",
88380
88547
  description: "A failed answer.",
@@ -89280,7 +89447,7 @@ var schemaComponents = {
89280
89447
  ]
89281
89448
  },
89282
89449
  date: {
89283
- description: `A day to look at, as YYYY-MM-DD. Omit it for the soonest day with room. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
89450
+ description: `A day to look at, as YYYY-MM-DD. Omit it to start from the professional's next day with an agenda. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
89284
89451
  anyOf: [
89285
89452
  {
89286
89453
  type: "string"
@@ -89648,6 +89815,10 @@ var schemaComponents = {
89648
89815
  $ref: "#/components/schemas/SuraAvailability",
89649
89816
  description: "The free times for one patient and one service on one day."
89650
89817
  },
89818
+ {
89819
+ $ref: "#/components/schemas/SuraSchedule",
89820
+ description: "The professional’s administrative schedule and current capacity, without patient data. Not a patient-specific booking offer."
89821
+ },
89651
89822
  {
89652
89823
  $ref: "#/components/schemas/SuraPreparationExistingAppointment",
89653
89824
  description: "An appointment of the requested service already exists; nothing new was searched."
@@ -91151,6 +91322,205 @@ var schemaComponents = {
91151
91322
  }
91152
91323
  }
91153
91324
  },
91325
+ SuraLookupScheduleBadGatewayError: {
91326
+ type: "object",
91327
+ description: "A failed answer.",
91328
+ additionalProperties: false,
91329
+ required: [
91330
+ "success",
91331
+ "data",
91332
+ "error",
91333
+ "metadata"
91334
+ ],
91335
+ properties: {
91336
+ success: {
91337
+ type: "boolean",
91338
+ enum: [
91339
+ false
91340
+ ]
91341
+ },
91342
+ data: {
91343
+ const: null
91344
+ },
91345
+ error: {
91346
+ $ref: "#/components/schemas/SuraLookupScheduleBadGatewayFailure"
91347
+ },
91348
+ metadata: {
91349
+ $ref: "#/components/schemas/ResponseMetadata"
91350
+ }
91351
+ }
91352
+ },
91353
+ SuraLookupScheduleBadGatewayFailure: {
91354
+ oneOf: [
91355
+ {
91356
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
91357
+ },
91358
+ {
91359
+ $ref: "#/components/schemas/SuraPortalCredentialsRejectedFailure"
91360
+ },
91361
+ {
91362
+ $ref: "#/components/schemas/SuraPortalUnavailableFailure"
91363
+ }
91364
+ ],
91365
+ discriminator: {
91366
+ propertyName: "code",
91367
+ mapping: {
91368
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
91369
+ PORTAL_CREDENTIALS_REJECTED: "#/components/schemas/SuraPortalCredentialsRejectedFailure",
91370
+ PORTAL_UNAVAILABLE: "#/components/schemas/SuraPortalUnavailableFailure"
91371
+ }
91372
+ }
91373
+ },
91374
+ SuraLookupScheduleBody: {
91375
+ additionalProperties: false,
91376
+ type: "object",
91377
+ required: [
91378
+ "professional",
91379
+ "date"
91380
+ ],
91381
+ properties: {
91382
+ professional: {
91383
+ minLength: 1,
91384
+ maxLength: 200,
91385
+ description: "The professional name or an unambiguous part of it. Resolved against this connection’s registered directory; never a patient identity.",
91386
+ type: "string"
91387
+ },
91388
+ date: {
91389
+ format: "date",
91390
+ description: "The calendar day to inspect, YYYY-MM-DD, in the clinic’s timezone.",
91391
+ type: "string"
91392
+ },
91393
+ serviceId: {
91394
+ description: "Optional exact service id or unambiguous service name. Omit to inspect every service in which this professional is registered at this connection’s institution.",
91395
+ anyOf: [
91396
+ {
91397
+ maxLength: 200,
91398
+ type: "string"
91399
+ },
91400
+ {
91401
+ type: "null"
91402
+ }
91403
+ ]
91404
+ },
91405
+ agentMode: {
91406
+ default: false,
91407
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
91408
+ type: "boolean"
91409
+ },
91410
+ connectionId: {
91411
+ description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
91412
+ maxLength: 128,
91413
+ minLength: 1,
91414
+ type: "string"
91415
+ },
91416
+ channel: {
91417
+ anyOf: [
91418
+ {
91419
+ const: "voice",
91420
+ type: "string"
91421
+ },
91422
+ {
91423
+ const: "whatsapp",
91424
+ type: "string"
91425
+ },
91426
+ {
91427
+ const: "web",
91428
+ type: "string"
91429
+ }
91430
+ ],
91431
+ description: "The channel the caller is waiting on, which sets how long it waits before an answer comes back pending, and puts a phone call's reads ahead of others. Defaults to web."
91432
+ }
91433
+ }
91434
+ },
91435
+ SuraLookupScheduleConflictError: {
91436
+ type: "object",
91437
+ description: "A failed answer.",
91438
+ additionalProperties: false,
91439
+ required: [
91440
+ "success",
91441
+ "data",
91442
+ "error",
91443
+ "metadata"
91444
+ ],
91445
+ properties: {
91446
+ success: {
91447
+ type: "boolean",
91448
+ enum: [
91449
+ false
91450
+ ]
91451
+ },
91452
+ data: {
91453
+ const: null
91454
+ },
91455
+ error: {
91456
+ $ref: "#/components/schemas/SuraLookupScheduleConflictFailure"
91457
+ },
91458
+ metadata: {
91459
+ $ref: "#/components/schemas/ResponseMetadata"
91460
+ }
91461
+ }
91462
+ },
91463
+ SuraLookupScheduleConflictFailure: {
91464
+ oneOf: [
91465
+ {
91466
+ $ref: "#/components/schemas/SuraPortalSessionConflictFailure"
91467
+ },
91468
+ {
91469
+ $ref: "#/components/schemas/SuraConnectionNotConfiguredFailure"
91470
+ }
91471
+ ],
91472
+ discriminator: {
91473
+ propertyName: "code",
91474
+ mapping: {
91475
+ PORTAL_SESSION_CONFLICT: "#/components/schemas/SuraPortalSessionConflictFailure",
91476
+ CONNECTION_NOT_CONFIGURED: "#/components/schemas/SuraConnectionNotConfiguredFailure"
91477
+ }
91478
+ }
91479
+ },
91480
+ SuraLookupScheduleResult: {
91481
+ anyOf: [
91482
+ {
91483
+ $ref: "#/components/schemas/SuraPendingResult",
91484
+ description: "The connection is still running the call; it continues if the caller stops waiting."
91485
+ },
91486
+ {
91487
+ $ref: "#/components/schemas/SuraRefusal",
91488
+ description: "An expected refusal. Nothing was booked or cancelled unless errorCode says the outcome is unconfirmed."
91489
+ },
91490
+ {
91491
+ $ref: "#/components/schemas/SuraSchedule",
91492
+ description: "The professional’s administrative schedule and current capacity, without patient data. Not a patient-specific booking offer."
91493
+ }
91494
+ ]
91495
+ },
91496
+ SuraLookupScheduleResultResponse: {
91497
+ type: "object",
91498
+ description: "A successful answer.",
91499
+ additionalProperties: false,
91500
+ required: [
91501
+ "success",
91502
+ "data",
91503
+ "error",
91504
+ "metadata"
91505
+ ],
91506
+ properties: {
91507
+ success: {
91508
+ type: "boolean",
91509
+ enum: [
91510
+ true
91511
+ ]
91512
+ },
91513
+ data: {
91514
+ $ref: "#/components/schemas/SuraLookupScheduleResult"
91515
+ },
91516
+ error: {
91517
+ const: null
91518
+ },
91519
+ metadata: {
91520
+ $ref: "#/components/schemas/ResponseMetadata"
91521
+ }
91522
+ }
91523
+ },
91154
91524
  SuraNoContract: {
91155
91525
  additionalProperties: false,
91156
91526
  type: "object",
@@ -92683,6 +93053,10 @@ var schemaComponents = {
92683
93053
  place: {
92684
93054
  type: "string"
92685
93055
  },
93056
+ plan: {
93057
+ description: "The plan a refusal about coverage was judged on.",
93058
+ type: "string"
93059
+ },
92686
93060
  professionals: {
92687
93061
  type: "array",
92688
93062
  items: {
@@ -92719,6 +93093,161 @@ var schemaComponents = {
92719
93093
  }
92720
93094
  }
92721
93095
  },
93096
+ SuraSchedule: {
93097
+ additionalProperties: false,
93098
+ type: "object",
93099
+ required: [
93100
+ "ok",
93101
+ "ai_hint",
93102
+ "date",
93103
+ "observedAt",
93104
+ "institutionId",
93105
+ "professional",
93106
+ "status",
93107
+ "capacity",
93108
+ "services"
93109
+ ],
93110
+ properties: {
93111
+ ok: {
93112
+ const: true,
93113
+ type: "boolean"
93114
+ },
93115
+ ai_hint: {
93116
+ description: "Spanish guidance for the model: what to do next.",
93117
+ type: "string"
93118
+ },
93119
+ date: {
93120
+ format: "date",
93121
+ type: "string"
93122
+ },
93123
+ observedAt: {
93124
+ format: "date-time",
93125
+ type: "string"
93126
+ },
93127
+ institutionId: {
93128
+ type: "string"
93129
+ },
93130
+ professional: {
93131
+ type: "string"
93132
+ },
93133
+ status: {
93134
+ $ref: "#/components/schemas/SuraScheduleStatus"
93135
+ },
93136
+ capacity: {
93137
+ $ref: "#/components/schemas/SuraScheduleCapacity"
93138
+ },
93139
+ services: {
93140
+ type: "array",
93141
+ items: {
93142
+ $ref: "#/components/schemas/SuraServiceSchedule"
93143
+ }
93144
+ }
93145
+ }
93146
+ },
93147
+ SuraScheduleCapacity: {
93148
+ additionalProperties: false,
93149
+ type: "object",
93150
+ required: [
93151
+ "createdCount",
93152
+ "offeredCount",
93153
+ "assignedCount",
93154
+ "availableCount",
93155
+ "blockedCount"
93156
+ ],
93157
+ properties: {
93158
+ createdCount: {
93159
+ minimum: 0,
93160
+ maximum: 1e7,
93161
+ type: "integer"
93162
+ },
93163
+ offeredCount: {
93164
+ minimum: 0,
93165
+ maximum: 1e7,
93166
+ type: "integer"
93167
+ },
93168
+ assignedCount: {
93169
+ minimum: 0,
93170
+ maximum: 1e7,
93171
+ type: "integer"
93172
+ },
93173
+ availableCount: {
93174
+ minimum: 0,
93175
+ maximum: 1e7,
93176
+ type: "integer"
93177
+ },
93178
+ blockedCount: {
93179
+ minimum: 0,
93180
+ maximum: 1e7,
93181
+ type: "integer"
93182
+ }
93183
+ }
93184
+ },
93185
+ SuraScheduleHours: {
93186
+ additionalProperties: false,
93187
+ type: "object",
93188
+ required: [
93189
+ "dayOfWeek",
93190
+ "timeFrom",
93191
+ "timeUntil",
93192
+ "durationMinutes",
93193
+ "patientsPerSlot",
93194
+ "generated"
93195
+ ],
93196
+ properties: {
93197
+ dayOfWeek: {
93198
+ minimum: 0,
93199
+ maximum: 6,
93200
+ type: "integer"
93201
+ },
93202
+ timeFrom: {
93203
+ type: "string"
93204
+ },
93205
+ timeUntil: {
93206
+ type: "string"
93207
+ },
93208
+ durationMinutes: {
93209
+ minimum: 1,
93210
+ maximum: 1440,
93211
+ type: "integer"
93212
+ },
93213
+ patientsPerSlot: {
93214
+ minimum: 1,
93215
+ maximum: 200,
93216
+ type: "integer"
93217
+ },
93218
+ generated: {
93219
+ type: "boolean"
93220
+ }
93221
+ }
93222
+ },
93223
+ SuraScheduleStatus: {
93224
+ anyOf: [
93225
+ {
93226
+ const: "available",
93227
+ type: "string"
93228
+ },
93229
+ {
93230
+ const: "full",
93231
+ type: "string"
93232
+ },
93233
+ {
93234
+ const: "blocked",
93235
+ type: "string"
93236
+ },
93237
+ {
93238
+ const: "not_scheduled",
93239
+ type: "string"
93240
+ },
93241
+ {
93242
+ const: "not_generated",
93243
+ type: "string"
93244
+ },
93245
+ {
93246
+ const: "not_offered",
93247
+ type: "string"
93248
+ }
93249
+ ]
93250
+ },
92722
93251
  SuraSearchedDay: {
92723
93252
  additionalProperties: false,
92724
93253
  type: "object",
@@ -92828,6 +93357,80 @@ var schemaComponents = {
92828
93357
  }
92829
93358
  }
92830
93359
  },
93360
+ SuraServiceSchedule: {
93361
+ additionalProperties: false,
93362
+ type: "object",
93363
+ required: [
93364
+ "serviceId",
93365
+ "serviceName",
93366
+ "status",
93367
+ "capacity",
93368
+ "periods"
93369
+ ],
93370
+ properties: {
93371
+ serviceId: {
93372
+ type: "string"
93373
+ },
93374
+ serviceName: {
93375
+ type: "string"
93376
+ },
93377
+ status: {
93378
+ $ref: "#/components/schemas/SuraScheduleStatus"
93379
+ },
93380
+ capacity: {
93381
+ $ref: "#/components/schemas/SuraScheduleCapacity"
93382
+ },
93383
+ periods: {
93384
+ type: "array",
93385
+ items: {
93386
+ additionalProperties: false,
93387
+ type: "object",
93388
+ required: [
93389
+ "fromDate",
93390
+ "untilDate",
93391
+ "generated",
93392
+ "generationStatus",
93393
+ "hours"
93394
+ ],
93395
+ properties: {
93396
+ fromDate: {
93397
+ format: "date",
93398
+ type: "string"
93399
+ },
93400
+ untilDate: {
93401
+ format: "date",
93402
+ type: "string"
93403
+ },
93404
+ generated: {
93405
+ type: "boolean"
93406
+ },
93407
+ generationStatus: {
93408
+ anyOf: [
93409
+ {
93410
+ const: "generated",
93411
+ type: "string"
93412
+ },
93413
+ {
93414
+ const: "not_generated",
93415
+ type: "string"
93416
+ },
93417
+ {
93418
+ const: "partially_generated",
93419
+ type: "string"
93420
+ }
93421
+ ]
93422
+ },
93423
+ hours: {
93424
+ type: "array",
93425
+ items: {
93426
+ $ref: "#/components/schemas/SuraScheduleHours"
93427
+ }
93428
+ }
93429
+ }
93430
+ }
93431
+ }
93432
+ }
93433
+ },
92831
93434
  SuraToolRefusedError: {
92832
93435
  type: "object",
92833
93436
  description: "A failed answer.",
@@ -111347,7 +111950,7 @@ var schemaComponents = {
111347
111950
  ]
111348
111951
  },
111349
111952
  date: {
111350
- description: `A day to look at, as YYYY-MM-DD. Omit it for the soonest day with room. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
111953
+ description: `A day to look at, as YYYY-MM-DD. Omit it to start from the professional's next day with an agenda. Resolve relative dates like "mañana" against the clinic's own timezone before calling.`,
111351
111954
  anyOf: [
111352
111955
  {
111353
111956
  type: "string"
@@ -112244,6 +112847,67 @@ var schemaComponents = {
112244
112847
  }
112245
112848
  }
112246
112849
  },
112850
+ SuraSchedulesLookupInput: {
112851
+ additionalProperties: false,
112852
+ type: "object",
112853
+ required: [
112854
+ "professional",
112855
+ "date"
112856
+ ],
112857
+ properties: {
112858
+ professional: {
112859
+ minLength: 1,
112860
+ maxLength: 200,
112861
+ description: "The professional name or an unambiguous part of it. Resolved against this connection’s registered directory; never a patient identity.",
112862
+ type: "string"
112863
+ },
112864
+ date: {
112865
+ format: "date",
112866
+ description: "The calendar day to inspect, YYYY-MM-DD, in the clinic’s timezone.",
112867
+ type: "string"
112868
+ },
112869
+ serviceId: {
112870
+ description: "Optional exact service id or unambiguous service name. Omit to inspect every service in which this professional is registered at this connection’s institution.",
112871
+ anyOf: [
112872
+ {
112873
+ maxLength: 200,
112874
+ type: "string"
112875
+ },
112876
+ {
112877
+ type: "null"
112878
+ }
112879
+ ]
112880
+ },
112881
+ agentMode: {
112882
+ default: false,
112883
+ description: "Set agentMode=true when calling this tool for an AI agent. The answer is concise Spanish text instead of JSON. Omit it for structured machine data. This changes presentation only, never authorization, consent or idempotency.",
112884
+ type: "boolean"
112885
+ },
112886
+ connectionId: {
112887
+ description: "Which of the organization's SURA connections to run on, by its id. Optional while the organization has one; required when it has several.",
112888
+ maxLength: 128,
112889
+ minLength: 1,
112890
+ type: "string"
112891
+ },
112892
+ channel: {
112893
+ anyOf: [
112894
+ {
112895
+ const: "voice",
112896
+ type: "string"
112897
+ },
112898
+ {
112899
+ const: "whatsapp",
112900
+ type: "string"
112901
+ },
112902
+ {
112903
+ const: "web",
112904
+ type: "string"
112905
+ }
112906
+ ],
112907
+ description: "The channel the caller is waiting on, which sets how long it waits before an answer comes back pending, and puts a phone call's reads ahead of others. Defaults to web."
112908
+ }
112909
+ }
112910
+ },
112247
112911
  SuraServicesListInput: {
112248
112912
  additionalProperties: false,
112249
112913
  type: "object",
@@ -113376,9 +114040,9 @@ var schemaComponents = {
113376
114040
  // src/generated/generation.json
113377
114041
  var generation_default = {
113378
114042
  formatVersion: 6,
113379
- release: "1.20261105.5813",
113380
- openapiSha256: "8a0603c6dd411a09b4c92e3c5f1028f92f92bb3d5378de5fb42067f1549bc537",
113381
- openapiContentSha256: "608afec9826be487c1894d6251251afa6b6f329d8145fb1d1f26a306a8b7be26",
114043
+ release: "1.20261105.41647",
114044
+ openapiSha256: "8da0a84e0f042302fe6d2a0e7571b9c4ef1fde2251cb85ee4369ab9783974616",
114045
+ openapiContentSha256: "9f4c514a6aa7f95ada90b3e20fcdd34835193d5190e350bad35061dac279115c",
113382
114046
  forge: {
113383
114047
  repository: "https://github.com/cloudflare/forge",
113384
114048
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -113391,7 +114055,7 @@ var generation_default = {
113391
114055
  outputs: [
113392
114056
  {
113393
114057
  path: "src/generated/commands.ts",
113394
- sha256: "40e6ed69c4bc86bcd015097de0b7b67dfe4b708c1978465dcd26da7bf3d56b01"
114058
+ sha256: "5e4b32f99efd8971fa3dd4bb7fbef0651530921c106d4ee237d311ee75e0c6e2"
113395
114059
  }
113396
114060
  ]
113397
114061
  };
@@ -113746,7 +114410,7 @@ ${name}`);
113746
114410
  }
113747
114411
 
113748
114412
  // src/index.ts
113749
- var VERSION = "3.34.0";
114413
+ var VERSION = "3.36.0";
113750
114414
  var RELEASE = generation_default.release;
113751
114415
  var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
113752
114416
  var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/cli",
3
- "version": "3.34.0",
3
+ "version": "3.36.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.33.0",
48
+ "@arbol-ai/sdk": "5.35.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.20261105.5813",
64
- "sha256": "608afec9826be487c1894d6251251afa6b6f329d8145fb1d1f26a306a8b7be26"
63
+ "release": "1.20261105.41647",
64
+ "sha256": "9f4c514a6aa7f95ada90b3e20fcdd34835193d5190e350bad35061dac279115c"
65
65
  }
66
66
  }
67
67
  }