@arbol-ai/cli 3.34.0 → 3.35.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.
- package/dist/index.js +623 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -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: [
|
|
@@ -89648,6 +89773,10 @@ var schemaComponents = {
|
|
|
89648
89773
|
$ref: "#/components/schemas/SuraAvailability",
|
|
89649
89774
|
description: "The free times for one patient and one service on one day."
|
|
89650
89775
|
},
|
|
89776
|
+
{
|
|
89777
|
+
$ref: "#/components/schemas/SuraSchedule",
|
|
89778
|
+
description: "The professional’s administrative schedule and current capacity, without patient data. Not a patient-specific booking offer."
|
|
89779
|
+
},
|
|
89651
89780
|
{
|
|
89652
89781
|
$ref: "#/components/schemas/SuraPreparationExistingAppointment",
|
|
89653
89782
|
description: "An appointment of the requested service already exists; nothing new was searched."
|
|
@@ -91151,6 +91280,205 @@ var schemaComponents = {
|
|
|
91151
91280
|
}
|
|
91152
91281
|
}
|
|
91153
91282
|
},
|
|
91283
|
+
SuraLookupScheduleBadGatewayError: {
|
|
91284
|
+
type: "object",
|
|
91285
|
+
description: "A failed answer.",
|
|
91286
|
+
additionalProperties: false,
|
|
91287
|
+
required: [
|
|
91288
|
+
"success",
|
|
91289
|
+
"data",
|
|
91290
|
+
"error",
|
|
91291
|
+
"metadata"
|
|
91292
|
+
],
|
|
91293
|
+
properties: {
|
|
91294
|
+
success: {
|
|
91295
|
+
type: "boolean",
|
|
91296
|
+
enum: [
|
|
91297
|
+
false
|
|
91298
|
+
]
|
|
91299
|
+
},
|
|
91300
|
+
data: {
|
|
91301
|
+
const: null
|
|
91302
|
+
},
|
|
91303
|
+
error: {
|
|
91304
|
+
$ref: "#/components/schemas/SuraLookupScheduleBadGatewayFailure"
|
|
91305
|
+
},
|
|
91306
|
+
metadata: {
|
|
91307
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
91308
|
+
}
|
|
91309
|
+
}
|
|
91310
|
+
},
|
|
91311
|
+
SuraLookupScheduleBadGatewayFailure: {
|
|
91312
|
+
oneOf: [
|
|
91313
|
+
{
|
|
91314
|
+
$ref: "#/components/schemas/OutcomeUnknownFailure"
|
|
91315
|
+
},
|
|
91316
|
+
{
|
|
91317
|
+
$ref: "#/components/schemas/SuraPortalCredentialsRejectedFailure"
|
|
91318
|
+
},
|
|
91319
|
+
{
|
|
91320
|
+
$ref: "#/components/schemas/SuraPortalUnavailableFailure"
|
|
91321
|
+
}
|
|
91322
|
+
],
|
|
91323
|
+
discriminator: {
|
|
91324
|
+
propertyName: "code",
|
|
91325
|
+
mapping: {
|
|
91326
|
+
OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
|
|
91327
|
+
PORTAL_CREDENTIALS_REJECTED: "#/components/schemas/SuraPortalCredentialsRejectedFailure",
|
|
91328
|
+
PORTAL_UNAVAILABLE: "#/components/schemas/SuraPortalUnavailableFailure"
|
|
91329
|
+
}
|
|
91330
|
+
}
|
|
91331
|
+
},
|
|
91332
|
+
SuraLookupScheduleBody: {
|
|
91333
|
+
additionalProperties: false,
|
|
91334
|
+
type: "object",
|
|
91335
|
+
required: [
|
|
91336
|
+
"professional",
|
|
91337
|
+
"date"
|
|
91338
|
+
],
|
|
91339
|
+
properties: {
|
|
91340
|
+
professional: {
|
|
91341
|
+
minLength: 1,
|
|
91342
|
+
maxLength: 200,
|
|
91343
|
+
description: "The professional name or an unambiguous part of it. Resolved against this connection’s registered directory; never a patient identity.",
|
|
91344
|
+
type: "string"
|
|
91345
|
+
},
|
|
91346
|
+
date: {
|
|
91347
|
+
format: "date",
|
|
91348
|
+
description: "The calendar day to inspect, YYYY-MM-DD, in the clinic’s timezone.",
|
|
91349
|
+
type: "string"
|
|
91350
|
+
},
|
|
91351
|
+
serviceId: {
|
|
91352
|
+
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.",
|
|
91353
|
+
anyOf: [
|
|
91354
|
+
{
|
|
91355
|
+
maxLength: 200,
|
|
91356
|
+
type: "string"
|
|
91357
|
+
},
|
|
91358
|
+
{
|
|
91359
|
+
type: "null"
|
|
91360
|
+
}
|
|
91361
|
+
]
|
|
91362
|
+
},
|
|
91363
|
+
agentMode: {
|
|
91364
|
+
default: false,
|
|
91365
|
+
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.",
|
|
91366
|
+
type: "boolean"
|
|
91367
|
+
},
|
|
91368
|
+
connectionId: {
|
|
91369
|
+
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.",
|
|
91370
|
+
maxLength: 128,
|
|
91371
|
+
minLength: 1,
|
|
91372
|
+
type: "string"
|
|
91373
|
+
},
|
|
91374
|
+
channel: {
|
|
91375
|
+
anyOf: [
|
|
91376
|
+
{
|
|
91377
|
+
const: "voice",
|
|
91378
|
+
type: "string"
|
|
91379
|
+
},
|
|
91380
|
+
{
|
|
91381
|
+
const: "whatsapp",
|
|
91382
|
+
type: "string"
|
|
91383
|
+
},
|
|
91384
|
+
{
|
|
91385
|
+
const: "web",
|
|
91386
|
+
type: "string"
|
|
91387
|
+
}
|
|
91388
|
+
],
|
|
91389
|
+
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."
|
|
91390
|
+
}
|
|
91391
|
+
}
|
|
91392
|
+
},
|
|
91393
|
+
SuraLookupScheduleConflictError: {
|
|
91394
|
+
type: "object",
|
|
91395
|
+
description: "A failed answer.",
|
|
91396
|
+
additionalProperties: false,
|
|
91397
|
+
required: [
|
|
91398
|
+
"success",
|
|
91399
|
+
"data",
|
|
91400
|
+
"error",
|
|
91401
|
+
"metadata"
|
|
91402
|
+
],
|
|
91403
|
+
properties: {
|
|
91404
|
+
success: {
|
|
91405
|
+
type: "boolean",
|
|
91406
|
+
enum: [
|
|
91407
|
+
false
|
|
91408
|
+
]
|
|
91409
|
+
},
|
|
91410
|
+
data: {
|
|
91411
|
+
const: null
|
|
91412
|
+
},
|
|
91413
|
+
error: {
|
|
91414
|
+
$ref: "#/components/schemas/SuraLookupScheduleConflictFailure"
|
|
91415
|
+
},
|
|
91416
|
+
metadata: {
|
|
91417
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
91418
|
+
}
|
|
91419
|
+
}
|
|
91420
|
+
},
|
|
91421
|
+
SuraLookupScheduleConflictFailure: {
|
|
91422
|
+
oneOf: [
|
|
91423
|
+
{
|
|
91424
|
+
$ref: "#/components/schemas/SuraPortalSessionConflictFailure"
|
|
91425
|
+
},
|
|
91426
|
+
{
|
|
91427
|
+
$ref: "#/components/schemas/SuraConnectionNotConfiguredFailure"
|
|
91428
|
+
}
|
|
91429
|
+
],
|
|
91430
|
+
discriminator: {
|
|
91431
|
+
propertyName: "code",
|
|
91432
|
+
mapping: {
|
|
91433
|
+
PORTAL_SESSION_CONFLICT: "#/components/schemas/SuraPortalSessionConflictFailure",
|
|
91434
|
+
CONNECTION_NOT_CONFIGURED: "#/components/schemas/SuraConnectionNotConfiguredFailure"
|
|
91435
|
+
}
|
|
91436
|
+
}
|
|
91437
|
+
},
|
|
91438
|
+
SuraLookupScheduleResult: {
|
|
91439
|
+
anyOf: [
|
|
91440
|
+
{
|
|
91441
|
+
$ref: "#/components/schemas/SuraPendingResult",
|
|
91442
|
+
description: "The connection is still running the call; it continues if the caller stops waiting."
|
|
91443
|
+
},
|
|
91444
|
+
{
|
|
91445
|
+
$ref: "#/components/schemas/SuraRefusal",
|
|
91446
|
+
description: "An expected refusal. Nothing was booked or cancelled unless errorCode says the outcome is unconfirmed."
|
|
91447
|
+
},
|
|
91448
|
+
{
|
|
91449
|
+
$ref: "#/components/schemas/SuraSchedule",
|
|
91450
|
+
description: "The professional’s administrative schedule and current capacity, without patient data. Not a patient-specific booking offer."
|
|
91451
|
+
}
|
|
91452
|
+
]
|
|
91453
|
+
},
|
|
91454
|
+
SuraLookupScheduleResultResponse: {
|
|
91455
|
+
type: "object",
|
|
91456
|
+
description: "A successful answer.",
|
|
91457
|
+
additionalProperties: false,
|
|
91458
|
+
required: [
|
|
91459
|
+
"success",
|
|
91460
|
+
"data",
|
|
91461
|
+
"error",
|
|
91462
|
+
"metadata"
|
|
91463
|
+
],
|
|
91464
|
+
properties: {
|
|
91465
|
+
success: {
|
|
91466
|
+
type: "boolean",
|
|
91467
|
+
enum: [
|
|
91468
|
+
true
|
|
91469
|
+
]
|
|
91470
|
+
},
|
|
91471
|
+
data: {
|
|
91472
|
+
$ref: "#/components/schemas/SuraLookupScheduleResult"
|
|
91473
|
+
},
|
|
91474
|
+
error: {
|
|
91475
|
+
const: null
|
|
91476
|
+
},
|
|
91477
|
+
metadata: {
|
|
91478
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
91479
|
+
}
|
|
91480
|
+
}
|
|
91481
|
+
},
|
|
91154
91482
|
SuraNoContract: {
|
|
91155
91483
|
additionalProperties: false,
|
|
91156
91484
|
type: "object",
|
|
@@ -92719,6 +93047,161 @@ var schemaComponents = {
|
|
|
92719
93047
|
}
|
|
92720
93048
|
}
|
|
92721
93049
|
},
|
|
93050
|
+
SuraSchedule: {
|
|
93051
|
+
additionalProperties: false,
|
|
93052
|
+
type: "object",
|
|
93053
|
+
required: [
|
|
93054
|
+
"ok",
|
|
93055
|
+
"ai_hint",
|
|
93056
|
+
"date",
|
|
93057
|
+
"observedAt",
|
|
93058
|
+
"institutionId",
|
|
93059
|
+
"professional",
|
|
93060
|
+
"status",
|
|
93061
|
+
"capacity",
|
|
93062
|
+
"services"
|
|
93063
|
+
],
|
|
93064
|
+
properties: {
|
|
93065
|
+
ok: {
|
|
93066
|
+
const: true,
|
|
93067
|
+
type: "boolean"
|
|
93068
|
+
},
|
|
93069
|
+
ai_hint: {
|
|
93070
|
+
description: "Spanish guidance for the model: what to do next.",
|
|
93071
|
+
type: "string"
|
|
93072
|
+
},
|
|
93073
|
+
date: {
|
|
93074
|
+
format: "date",
|
|
93075
|
+
type: "string"
|
|
93076
|
+
},
|
|
93077
|
+
observedAt: {
|
|
93078
|
+
format: "date-time",
|
|
93079
|
+
type: "string"
|
|
93080
|
+
},
|
|
93081
|
+
institutionId: {
|
|
93082
|
+
type: "string"
|
|
93083
|
+
},
|
|
93084
|
+
professional: {
|
|
93085
|
+
type: "string"
|
|
93086
|
+
},
|
|
93087
|
+
status: {
|
|
93088
|
+
$ref: "#/components/schemas/SuraScheduleStatus"
|
|
93089
|
+
},
|
|
93090
|
+
capacity: {
|
|
93091
|
+
$ref: "#/components/schemas/SuraScheduleCapacity"
|
|
93092
|
+
},
|
|
93093
|
+
services: {
|
|
93094
|
+
type: "array",
|
|
93095
|
+
items: {
|
|
93096
|
+
$ref: "#/components/schemas/SuraServiceSchedule"
|
|
93097
|
+
}
|
|
93098
|
+
}
|
|
93099
|
+
}
|
|
93100
|
+
},
|
|
93101
|
+
SuraScheduleCapacity: {
|
|
93102
|
+
additionalProperties: false,
|
|
93103
|
+
type: "object",
|
|
93104
|
+
required: [
|
|
93105
|
+
"createdCount",
|
|
93106
|
+
"offeredCount",
|
|
93107
|
+
"assignedCount",
|
|
93108
|
+
"availableCount",
|
|
93109
|
+
"blockedCount"
|
|
93110
|
+
],
|
|
93111
|
+
properties: {
|
|
93112
|
+
createdCount: {
|
|
93113
|
+
minimum: 0,
|
|
93114
|
+
maximum: 1e7,
|
|
93115
|
+
type: "integer"
|
|
93116
|
+
},
|
|
93117
|
+
offeredCount: {
|
|
93118
|
+
minimum: 0,
|
|
93119
|
+
maximum: 1e7,
|
|
93120
|
+
type: "integer"
|
|
93121
|
+
},
|
|
93122
|
+
assignedCount: {
|
|
93123
|
+
minimum: 0,
|
|
93124
|
+
maximum: 1e7,
|
|
93125
|
+
type: "integer"
|
|
93126
|
+
},
|
|
93127
|
+
availableCount: {
|
|
93128
|
+
minimum: 0,
|
|
93129
|
+
maximum: 1e7,
|
|
93130
|
+
type: "integer"
|
|
93131
|
+
},
|
|
93132
|
+
blockedCount: {
|
|
93133
|
+
minimum: 0,
|
|
93134
|
+
maximum: 1e7,
|
|
93135
|
+
type: "integer"
|
|
93136
|
+
}
|
|
93137
|
+
}
|
|
93138
|
+
},
|
|
93139
|
+
SuraScheduleHours: {
|
|
93140
|
+
additionalProperties: false,
|
|
93141
|
+
type: "object",
|
|
93142
|
+
required: [
|
|
93143
|
+
"dayOfWeek",
|
|
93144
|
+
"timeFrom",
|
|
93145
|
+
"timeUntil",
|
|
93146
|
+
"durationMinutes",
|
|
93147
|
+
"patientsPerSlot",
|
|
93148
|
+
"generated"
|
|
93149
|
+
],
|
|
93150
|
+
properties: {
|
|
93151
|
+
dayOfWeek: {
|
|
93152
|
+
minimum: 0,
|
|
93153
|
+
maximum: 6,
|
|
93154
|
+
type: "integer"
|
|
93155
|
+
},
|
|
93156
|
+
timeFrom: {
|
|
93157
|
+
type: "string"
|
|
93158
|
+
},
|
|
93159
|
+
timeUntil: {
|
|
93160
|
+
type: "string"
|
|
93161
|
+
},
|
|
93162
|
+
durationMinutes: {
|
|
93163
|
+
minimum: 1,
|
|
93164
|
+
maximum: 1440,
|
|
93165
|
+
type: "integer"
|
|
93166
|
+
},
|
|
93167
|
+
patientsPerSlot: {
|
|
93168
|
+
minimum: 1,
|
|
93169
|
+
maximum: 200,
|
|
93170
|
+
type: "integer"
|
|
93171
|
+
},
|
|
93172
|
+
generated: {
|
|
93173
|
+
type: "boolean"
|
|
93174
|
+
}
|
|
93175
|
+
}
|
|
93176
|
+
},
|
|
93177
|
+
SuraScheduleStatus: {
|
|
93178
|
+
anyOf: [
|
|
93179
|
+
{
|
|
93180
|
+
const: "available",
|
|
93181
|
+
type: "string"
|
|
93182
|
+
},
|
|
93183
|
+
{
|
|
93184
|
+
const: "full",
|
|
93185
|
+
type: "string"
|
|
93186
|
+
},
|
|
93187
|
+
{
|
|
93188
|
+
const: "blocked",
|
|
93189
|
+
type: "string"
|
|
93190
|
+
},
|
|
93191
|
+
{
|
|
93192
|
+
const: "not_scheduled",
|
|
93193
|
+
type: "string"
|
|
93194
|
+
},
|
|
93195
|
+
{
|
|
93196
|
+
const: "not_generated",
|
|
93197
|
+
type: "string"
|
|
93198
|
+
},
|
|
93199
|
+
{
|
|
93200
|
+
const: "not_offered",
|
|
93201
|
+
type: "string"
|
|
93202
|
+
}
|
|
93203
|
+
]
|
|
93204
|
+
},
|
|
92722
93205
|
SuraSearchedDay: {
|
|
92723
93206
|
additionalProperties: false,
|
|
92724
93207
|
type: "object",
|
|
@@ -92828,6 +93311,80 @@ var schemaComponents = {
|
|
|
92828
93311
|
}
|
|
92829
93312
|
}
|
|
92830
93313
|
},
|
|
93314
|
+
SuraServiceSchedule: {
|
|
93315
|
+
additionalProperties: false,
|
|
93316
|
+
type: "object",
|
|
93317
|
+
required: [
|
|
93318
|
+
"serviceId",
|
|
93319
|
+
"serviceName",
|
|
93320
|
+
"status",
|
|
93321
|
+
"capacity",
|
|
93322
|
+
"periods"
|
|
93323
|
+
],
|
|
93324
|
+
properties: {
|
|
93325
|
+
serviceId: {
|
|
93326
|
+
type: "string"
|
|
93327
|
+
},
|
|
93328
|
+
serviceName: {
|
|
93329
|
+
type: "string"
|
|
93330
|
+
},
|
|
93331
|
+
status: {
|
|
93332
|
+
$ref: "#/components/schemas/SuraScheduleStatus"
|
|
93333
|
+
},
|
|
93334
|
+
capacity: {
|
|
93335
|
+
$ref: "#/components/schemas/SuraScheduleCapacity"
|
|
93336
|
+
},
|
|
93337
|
+
periods: {
|
|
93338
|
+
type: "array",
|
|
93339
|
+
items: {
|
|
93340
|
+
additionalProperties: false,
|
|
93341
|
+
type: "object",
|
|
93342
|
+
required: [
|
|
93343
|
+
"fromDate",
|
|
93344
|
+
"untilDate",
|
|
93345
|
+
"generated",
|
|
93346
|
+
"generationStatus",
|
|
93347
|
+
"hours"
|
|
93348
|
+
],
|
|
93349
|
+
properties: {
|
|
93350
|
+
fromDate: {
|
|
93351
|
+
format: "date",
|
|
93352
|
+
type: "string"
|
|
93353
|
+
},
|
|
93354
|
+
untilDate: {
|
|
93355
|
+
format: "date",
|
|
93356
|
+
type: "string"
|
|
93357
|
+
},
|
|
93358
|
+
generated: {
|
|
93359
|
+
type: "boolean"
|
|
93360
|
+
},
|
|
93361
|
+
generationStatus: {
|
|
93362
|
+
anyOf: [
|
|
93363
|
+
{
|
|
93364
|
+
const: "generated",
|
|
93365
|
+
type: "string"
|
|
93366
|
+
},
|
|
93367
|
+
{
|
|
93368
|
+
const: "not_generated",
|
|
93369
|
+
type: "string"
|
|
93370
|
+
},
|
|
93371
|
+
{
|
|
93372
|
+
const: "partially_generated",
|
|
93373
|
+
type: "string"
|
|
93374
|
+
}
|
|
93375
|
+
]
|
|
93376
|
+
},
|
|
93377
|
+
hours: {
|
|
93378
|
+
type: "array",
|
|
93379
|
+
items: {
|
|
93380
|
+
$ref: "#/components/schemas/SuraScheduleHours"
|
|
93381
|
+
}
|
|
93382
|
+
}
|
|
93383
|
+
}
|
|
93384
|
+
}
|
|
93385
|
+
}
|
|
93386
|
+
}
|
|
93387
|
+
},
|
|
92831
93388
|
SuraToolRefusedError: {
|
|
92832
93389
|
type: "object",
|
|
92833
93390
|
description: "A failed answer.",
|
|
@@ -112244,6 +112801,67 @@ var schemaComponents = {
|
|
|
112244
112801
|
}
|
|
112245
112802
|
}
|
|
112246
112803
|
},
|
|
112804
|
+
SuraSchedulesLookupInput: {
|
|
112805
|
+
additionalProperties: false,
|
|
112806
|
+
type: "object",
|
|
112807
|
+
required: [
|
|
112808
|
+
"professional",
|
|
112809
|
+
"date"
|
|
112810
|
+
],
|
|
112811
|
+
properties: {
|
|
112812
|
+
professional: {
|
|
112813
|
+
minLength: 1,
|
|
112814
|
+
maxLength: 200,
|
|
112815
|
+
description: "The professional name or an unambiguous part of it. Resolved against this connection’s registered directory; never a patient identity.",
|
|
112816
|
+
type: "string"
|
|
112817
|
+
},
|
|
112818
|
+
date: {
|
|
112819
|
+
format: "date",
|
|
112820
|
+
description: "The calendar day to inspect, YYYY-MM-DD, in the clinic’s timezone.",
|
|
112821
|
+
type: "string"
|
|
112822
|
+
},
|
|
112823
|
+
serviceId: {
|
|
112824
|
+
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.",
|
|
112825
|
+
anyOf: [
|
|
112826
|
+
{
|
|
112827
|
+
maxLength: 200,
|
|
112828
|
+
type: "string"
|
|
112829
|
+
},
|
|
112830
|
+
{
|
|
112831
|
+
type: "null"
|
|
112832
|
+
}
|
|
112833
|
+
]
|
|
112834
|
+
},
|
|
112835
|
+
agentMode: {
|
|
112836
|
+
default: false,
|
|
112837
|
+
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.",
|
|
112838
|
+
type: "boolean"
|
|
112839
|
+
},
|
|
112840
|
+
connectionId: {
|
|
112841
|
+
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.",
|
|
112842
|
+
maxLength: 128,
|
|
112843
|
+
minLength: 1,
|
|
112844
|
+
type: "string"
|
|
112845
|
+
},
|
|
112846
|
+
channel: {
|
|
112847
|
+
anyOf: [
|
|
112848
|
+
{
|
|
112849
|
+
const: "voice",
|
|
112850
|
+
type: "string"
|
|
112851
|
+
},
|
|
112852
|
+
{
|
|
112853
|
+
const: "whatsapp",
|
|
112854
|
+
type: "string"
|
|
112855
|
+
},
|
|
112856
|
+
{
|
|
112857
|
+
const: "web",
|
|
112858
|
+
type: "string"
|
|
112859
|
+
}
|
|
112860
|
+
],
|
|
112861
|
+
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."
|
|
112862
|
+
}
|
|
112863
|
+
}
|
|
112864
|
+
},
|
|
112247
112865
|
SuraServicesListInput: {
|
|
112248
112866
|
additionalProperties: false,
|
|
112249
112867
|
type: "object",
|
|
@@ -113376,9 +113994,9 @@ var schemaComponents = {
|
|
|
113376
113994
|
// src/generated/generation.json
|
|
113377
113995
|
var generation_default = {
|
|
113378
113996
|
formatVersion: 6,
|
|
113379
|
-
release: "1.20261105.
|
|
113380
|
-
openapiSha256: "
|
|
113381
|
-
openapiContentSha256: "
|
|
113997
|
+
release: "1.20261105.15838",
|
|
113998
|
+
openapiSha256: "96acdb9daafeb354a29bcd6da001717064ee931702045cc5a20dfe9c4c6507ce",
|
|
113999
|
+
openapiContentSha256: "046bba468060514045acd14deae2d0628d28870dbc10b41c400dfb619bd8b28b",
|
|
113382
114000
|
forge: {
|
|
113383
114001
|
repository: "https://github.com/cloudflare/forge",
|
|
113384
114002
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -113391,7 +114009,7 @@ var generation_default = {
|
|
|
113391
114009
|
outputs: [
|
|
113392
114010
|
{
|
|
113393
114011
|
path: "src/generated/commands.ts",
|
|
113394
|
-
sha256: "
|
|
114012
|
+
sha256: "1cbc2d664528daa6f02dfea6f03ab65309bebb20dedb4c32fdebaf52683f2d41"
|
|
113395
114013
|
}
|
|
113396
114014
|
]
|
|
113397
114015
|
};
|
|
@@ -113746,7 +114364,7 @@ ${name}`);
|
|
|
113746
114364
|
}
|
|
113747
114365
|
|
|
113748
114366
|
// src/index.ts
|
|
113749
|
-
var VERSION = "3.
|
|
114367
|
+
var VERSION = "3.35.0";
|
|
113750
114368
|
var RELEASE = generation_default.release;
|
|
113751
114369
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
113752
114370
|
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.
|
|
3
|
+
"version": "3.35.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.
|
|
48
|
+
"@arbol-ai/sdk": "5.34.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.
|
|
64
|
-
"sha256": "
|
|
63
|
+
"release": "1.20261105.15838",
|
|
64
|
+
"sha256": "046bba468060514045acd14deae2d0628d28870dbc10b41c400dfb619bd8b28b"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|