@arbol-ai/cli 2.15.0 → 2.17.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 +163 -9
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -8137,7 +8137,7 @@ var commands = {
|
|
|
8137
8137
|
flag: "branch-office-id",
|
|
8138
8138
|
kind: "string",
|
|
8139
8139
|
required: false,
|
|
8140
|
-
description: ""
|
|
8140
|
+
description: "Optional verified branch id returned by list_branch_offices. Omit when unknown; one physical site never implies id 1."
|
|
8141
8141
|
},
|
|
8142
8142
|
{
|
|
8143
8143
|
name: "id",
|
|
@@ -8193,6 +8193,7 @@ var commands = {
|
|
|
8193
8193
|
},
|
|
8194
8194
|
branchOfficeId: {
|
|
8195
8195
|
pattern: "^[1-9][0-9]{0,14}$",
|
|
8196
|
+
description: "Optional verified branch id returned by list_branch_offices. Omit when unknown; one physical site never implies id 1.",
|
|
8196
8197
|
type: "string"
|
|
8197
8198
|
},
|
|
8198
8199
|
id: {
|
|
@@ -8798,7 +8799,7 @@ var commands = {
|
|
|
8798
8799
|
flag: "cursor",
|
|
8799
8800
|
kind: "string",
|
|
8800
8801
|
required: false,
|
|
8801
|
-
description: "
|
|
8802
|
+
description: "Omit on the first lookup. For continuation, copy only a nextCursor returned by this exact query. Never supply an empty string, quotes, braces, a page number or an invented token."
|
|
8802
8803
|
},
|
|
8803
8804
|
{
|
|
8804
8805
|
name: "direction",
|
|
@@ -8859,7 +8860,10 @@ var commands = {
|
|
|
8859
8860
|
],
|
|
8860
8861
|
properties: {
|
|
8861
8862
|
cursor: {
|
|
8862
|
-
|
|
8863
|
+
minLength: 1,
|
|
8864
|
+
maxLength: 32768,
|
|
8865
|
+
pattern: "^[A-Za-z0-9_-]+$",
|
|
8866
|
+
description: "Omit on the first lookup. For continuation, copy only a nextCursor returned by this exact query. Never supply an empty string, quotes, braces, a page number or an invented token.",
|
|
8863
8867
|
type: "string"
|
|
8864
8868
|
},
|
|
8865
8869
|
direction: {
|
|
@@ -25602,6 +25606,13 @@ var commands = {
|
|
|
25602
25606
|
required: false,
|
|
25603
25607
|
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required."
|
|
25604
25608
|
},
|
|
25609
|
+
{
|
|
25610
|
+
name: "sex",
|
|
25611
|
+
flag: "sex",
|
|
25612
|
+
kind: "string",
|
|
25613
|
+
required: false,
|
|
25614
|
+
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required."
|
|
25615
|
+
},
|
|
25605
25616
|
{
|
|
25606
25617
|
name: "connectionId",
|
|
25607
25618
|
flag: "connection-id",
|
|
@@ -25674,6 +25685,10 @@ var commands = {
|
|
|
25674
25685
|
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
25675
25686
|
type: "string"
|
|
25676
25687
|
},
|
|
25688
|
+
sex: {
|
|
25689
|
+
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
25690
|
+
type: "string"
|
|
25691
|
+
},
|
|
25677
25692
|
connectionId: {
|
|
25678
25693
|
minLength: 5,
|
|
25679
25694
|
maxLength: 68,
|
|
@@ -36730,6 +36745,59 @@ var schemaComponents = {
|
|
|
36730
36745
|
}
|
|
36731
36746
|
]
|
|
36732
36747
|
},
|
|
36748
|
+
mainAttendantDocumentType: {
|
|
36749
|
+
anyOf: [
|
|
36750
|
+
{
|
|
36751
|
+
additionalProperties: false,
|
|
36752
|
+
type: "object",
|
|
36753
|
+
required: [
|
|
36754
|
+
"id"
|
|
36755
|
+
],
|
|
36756
|
+
properties: {
|
|
36757
|
+
id: {
|
|
36758
|
+
pattern: "^[1-9][0-9]{0,14}$",
|
|
36759
|
+
type: "string"
|
|
36760
|
+
},
|
|
36761
|
+
name: {
|
|
36762
|
+
anyOf: [
|
|
36763
|
+
{
|
|
36764
|
+
maxLength: 20000,
|
|
36765
|
+
type: "string"
|
|
36766
|
+
},
|
|
36767
|
+
{
|
|
36768
|
+
type: "null"
|
|
36769
|
+
}
|
|
36770
|
+
]
|
|
36771
|
+
},
|
|
36772
|
+
label: {
|
|
36773
|
+
anyOf: [
|
|
36774
|
+
{
|
|
36775
|
+
maxLength: 20000,
|
|
36776
|
+
type: "string"
|
|
36777
|
+
},
|
|
36778
|
+
{
|
|
36779
|
+
type: "null"
|
|
36780
|
+
}
|
|
36781
|
+
]
|
|
36782
|
+
},
|
|
36783
|
+
value: {
|
|
36784
|
+
anyOf: [
|
|
36785
|
+
{
|
|
36786
|
+
maxLength: 20000,
|
|
36787
|
+
type: "string"
|
|
36788
|
+
},
|
|
36789
|
+
{
|
|
36790
|
+
type: "null"
|
|
36791
|
+
}
|
|
36792
|
+
]
|
|
36793
|
+
}
|
|
36794
|
+
}
|
|
36795
|
+
},
|
|
36796
|
+
{
|
|
36797
|
+
type: "null"
|
|
36798
|
+
}
|
|
36799
|
+
]
|
|
36800
|
+
},
|
|
36733
36801
|
mainAttendantPhone: {
|
|
36734
36802
|
anyOf: [
|
|
36735
36803
|
{
|
|
@@ -37124,6 +37192,17 @@ var schemaComponents = {
|
|
|
37124
37192
|
}
|
|
37125
37193
|
]
|
|
37126
37194
|
},
|
|
37195
|
+
userType: {
|
|
37196
|
+
anyOf: [
|
|
37197
|
+
{
|
|
37198
|
+
maxLength: 20000,
|
|
37199
|
+
type: "string"
|
|
37200
|
+
},
|
|
37201
|
+
{
|
|
37202
|
+
type: "null"
|
|
37203
|
+
}
|
|
37204
|
+
]
|
|
37205
|
+
},
|
|
37127
37206
|
cupCode: {
|
|
37128
37207
|
anyOf: [
|
|
37129
37208
|
{
|
|
@@ -61345,6 +61424,69 @@ var schemaComponents = {
|
|
|
61345
61424
|
}
|
|
61346
61425
|
}
|
|
61347
61426
|
},
|
|
61427
|
+
VisoftAvailabilityBookingInput: {
|
|
61428
|
+
additionalProperties: false,
|
|
61429
|
+
type: "object",
|
|
61430
|
+
required: [
|
|
61431
|
+
"agency",
|
|
61432
|
+
"contract",
|
|
61433
|
+
"service",
|
|
61434
|
+
"date",
|
|
61435
|
+
"time",
|
|
61436
|
+
"medicName"
|
|
61437
|
+
],
|
|
61438
|
+
properties: {
|
|
61439
|
+
agency: {
|
|
61440
|
+
type: "string"
|
|
61441
|
+
},
|
|
61442
|
+
contract: {
|
|
61443
|
+
type: "string"
|
|
61444
|
+
},
|
|
61445
|
+
service: {
|
|
61446
|
+
type: "string"
|
|
61447
|
+
},
|
|
61448
|
+
date: {
|
|
61449
|
+
format: "date",
|
|
61450
|
+
type: "string"
|
|
61451
|
+
},
|
|
61452
|
+
time: {
|
|
61453
|
+
type: "string"
|
|
61454
|
+
},
|
|
61455
|
+
medicName: {
|
|
61456
|
+
type: "string"
|
|
61457
|
+
},
|
|
61458
|
+
specialty: {
|
|
61459
|
+
type: "string"
|
|
61460
|
+
},
|
|
61461
|
+
intent: {
|
|
61462
|
+
type: "string"
|
|
61463
|
+
},
|
|
61464
|
+
sala: {
|
|
61465
|
+
type: "string"
|
|
61466
|
+
},
|
|
61467
|
+
fonoGroup: {
|
|
61468
|
+
type: "string"
|
|
61469
|
+
},
|
|
61470
|
+
toGroup: {
|
|
61471
|
+
type: "string"
|
|
61472
|
+
},
|
|
61473
|
+
patientAgeMonths: {
|
|
61474
|
+
type: "string"
|
|
61475
|
+
},
|
|
61476
|
+
modality: {
|
|
61477
|
+
type: "string"
|
|
61478
|
+
},
|
|
61479
|
+
authorizationService: {
|
|
61480
|
+
type: "string"
|
|
61481
|
+
},
|
|
61482
|
+
professionalChangeConfirmed: {
|
|
61483
|
+
type: "boolean"
|
|
61484
|
+
},
|
|
61485
|
+
pairWithNext: {
|
|
61486
|
+
type: "boolean"
|
|
61487
|
+
}
|
|
61488
|
+
}
|
|
61489
|
+
},
|
|
61348
61490
|
VisoftAvailabilitySlot: {
|
|
61349
61491
|
additionalProperties: false,
|
|
61350
61492
|
type: "object",
|
|
@@ -61360,6 +61502,10 @@ var schemaComponents = {
|
|
|
61360
61502
|
"window"
|
|
61361
61503
|
],
|
|
61362
61504
|
properties: {
|
|
61505
|
+
bookingInput: {
|
|
61506
|
+
$ref: "#/components/schemas/VisoftAvailabilityBookingInput",
|
|
61507
|
+
description: "Copy these exact arguments to visoft.appointments.create only after the person confirms this slot and service; add the confirmed documentNumber. Retain separately confirmed consent. Never replace the service or contract with a fresh EPS guess."
|
|
61508
|
+
},
|
|
61363
61509
|
token: {
|
|
61364
61510
|
description: "The booking reference visoft.appointments.create takes, unchanged; null when the slot cannot be booked by reference.",
|
|
61365
61511
|
anyOf: [
|
|
@@ -66697,6 +66843,7 @@ var schemaComponents = {
|
|
|
66697
66843
|
},
|
|
66698
66844
|
branchOfficeId: {
|
|
66699
66845
|
pattern: "^[1-9][0-9]{0,14}$",
|
|
66846
|
+
description: "Optional verified branch id returned by list_branch_offices. Omit when unknown; one physical site never implies id 1.",
|
|
66700
66847
|
type: "string"
|
|
66701
66848
|
},
|
|
66702
66849
|
id: {
|
|
@@ -67087,7 +67234,10 @@ var schemaComponents = {
|
|
|
67087
67234
|
],
|
|
67088
67235
|
properties: {
|
|
67089
67236
|
cursor: {
|
|
67090
|
-
|
|
67237
|
+
minLength: 1,
|
|
67238
|
+
maxLength: 32768,
|
|
67239
|
+
pattern: "^[A-Za-z0-9_-]+$",
|
|
67240
|
+
description: "Omit on the first lookup. For continuation, copy only a nextCursor returned by this exact query. Never supply an empty string, quotes, braces, a page number or an invented token.",
|
|
67091
67241
|
type: "string"
|
|
67092
67242
|
},
|
|
67093
67243
|
direction: {
|
|
@@ -76550,6 +76700,10 @@ var schemaComponents = {
|
|
|
76550
76700
|
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
76551
76701
|
type: "string"
|
|
76552
76702
|
},
|
|
76703
|
+
sex: {
|
|
76704
|
+
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
76705
|
+
type: "string"
|
|
76706
|
+
},
|
|
76553
76707
|
connectionId: {
|
|
76554
76708
|
minLength: 5,
|
|
76555
76709
|
maxLength: 68,
|
|
@@ -76815,9 +76969,9 @@ var schemaComponents = {
|
|
|
76815
76969
|
// src/generated/generation.json
|
|
76816
76970
|
var generation_default = {
|
|
76817
76971
|
formatVersion: 6,
|
|
76818
|
-
release: "1.
|
|
76819
|
-
openapiSha256: "
|
|
76820
|
-
openapiContentSha256: "
|
|
76972
|
+
release: "1.20261029.184453",
|
|
76973
|
+
openapiSha256: "83953a1a495b756c60ae07abe6601ead7eac11c2842adc17a5c049bc4a8d6a5b",
|
|
76974
|
+
openapiContentSha256: "cc685cd801f985527bf5a7ddbb9fc69e1c400e8edace983dce97fde1d6e8475e",
|
|
76821
76975
|
forge: {
|
|
76822
76976
|
repository: "https://github.com/cloudflare/forge",
|
|
76823
76977
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -76830,7 +76984,7 @@ var generation_default = {
|
|
|
76830
76984
|
outputs: [
|
|
76831
76985
|
{
|
|
76832
76986
|
path: "src/generated/commands.ts",
|
|
76833
|
-
sha256: "
|
|
76987
|
+
sha256: "72d69e13f7341209acef22744c14ee25e652186dc5c21ac554186829873411d4"
|
|
76834
76988
|
}
|
|
76835
76989
|
]
|
|
76836
76990
|
};
|
|
@@ -77185,7 +77339,7 @@ ${name}`);
|
|
|
77185
77339
|
}
|
|
77186
77340
|
|
|
77187
77341
|
// src/index.ts
|
|
77188
|
-
var VERSION = "2.
|
|
77342
|
+
var VERSION = "2.17.0";
|
|
77189
77343
|
var RELEASE = generation_default.release;
|
|
77190
77344
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
77191
77345
|
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": "2.
|
|
3
|
+
"version": "2.17.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": "2.
|
|
48
|
+
"@arbol-ai/sdk": "2.18.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.
|
|
64
|
-
"sha256": "
|
|
63
|
+
"release": "1.20261029.184453",
|
|
64
|
+
"sha256": "cc685cd801f985527bf5a7ddbb9fc69e1c400e8edace983dce97fde1d6e8475e"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|