@arbol-ai/cli 3.35.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.
- package/dist/index.js +56 -10
- 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
|
|
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
|
|
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
|
|
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
|
|
@@ -88040,6 +88040,17 @@ var schemaComponents = {
|
|
|
88040
88040
|
items: {
|
|
88041
88041
|
type: "string"
|
|
88042
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"
|
|
88043
88054
|
}
|
|
88044
88055
|
}
|
|
88045
88056
|
},
|
|
@@ -88500,6 +88511,37 @@ var schemaComponents = {
|
|
|
88500
88511
|
}
|
|
88501
88512
|
}
|
|
88502
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
|
+
},
|
|
88503
88545
|
SuraCancelAppointmentBadGatewayError: {
|
|
88504
88546
|
type: "object",
|
|
88505
88547
|
description: "A failed answer.",
|
|
@@ -89405,7 +89447,7 @@ var schemaComponents = {
|
|
|
89405
89447
|
]
|
|
89406
89448
|
},
|
|
89407
89449
|
date: {
|
|
89408
|
-
description: `A day to look at, as YYYY-MM-DD. Omit it
|
|
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.`,
|
|
89409
89451
|
anyOf: [
|
|
89410
89452
|
{
|
|
89411
89453
|
type: "string"
|
|
@@ -93011,6 +93053,10 @@ var schemaComponents = {
|
|
|
93011
93053
|
place: {
|
|
93012
93054
|
type: "string"
|
|
93013
93055
|
},
|
|
93056
|
+
plan: {
|
|
93057
|
+
description: "The plan a refusal about coverage was judged on.",
|
|
93058
|
+
type: "string"
|
|
93059
|
+
},
|
|
93014
93060
|
professionals: {
|
|
93015
93061
|
type: "array",
|
|
93016
93062
|
items: {
|
|
@@ -111904,7 +111950,7 @@ var schemaComponents = {
|
|
|
111904
111950
|
]
|
|
111905
111951
|
},
|
|
111906
111952
|
date: {
|
|
111907
|
-
description: `A day to look at, as YYYY-MM-DD. Omit it
|
|
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.`,
|
|
111908
111954
|
anyOf: [
|
|
111909
111955
|
{
|
|
111910
111956
|
type: "string"
|
|
@@ -113994,9 +114040,9 @@ var schemaComponents = {
|
|
|
113994
114040
|
// src/generated/generation.json
|
|
113995
114041
|
var generation_default = {
|
|
113996
114042
|
formatVersion: 6,
|
|
113997
|
-
release: "1.20261105.
|
|
113998
|
-
openapiSha256: "
|
|
113999
|
-
openapiContentSha256: "
|
|
114043
|
+
release: "1.20261105.41647",
|
|
114044
|
+
openapiSha256: "8da0a84e0f042302fe6d2a0e7571b9c4ef1fde2251cb85ee4369ab9783974616",
|
|
114045
|
+
openapiContentSha256: "9f4c514a6aa7f95ada90b3e20fcdd34835193d5190e350bad35061dac279115c",
|
|
114000
114046
|
forge: {
|
|
114001
114047
|
repository: "https://github.com/cloudflare/forge",
|
|
114002
114048
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -114009,7 +114055,7 @@ var generation_default = {
|
|
|
114009
114055
|
outputs: [
|
|
114010
114056
|
{
|
|
114011
114057
|
path: "src/generated/commands.ts",
|
|
114012
|
-
sha256: "
|
|
114058
|
+
sha256: "5e4b32f99efd8971fa3dd4bb7fbef0651530921c106d4ee237d311ee75e0c6e2"
|
|
114013
114059
|
}
|
|
114014
114060
|
]
|
|
114015
114061
|
};
|
|
@@ -114364,7 +114410,7 @@ ${name}`);
|
|
|
114364
114410
|
}
|
|
114365
114411
|
|
|
114366
114412
|
// src/index.ts
|
|
114367
|
-
var VERSION = "3.
|
|
114413
|
+
var VERSION = "3.36.0";
|
|
114368
114414
|
var RELEASE = generation_default.release;
|
|
114369
114415
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
114370
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.
|
|
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.
|
|
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.
|
|
64
|
-
"sha256": "
|
|
63
|
+
"release": "1.20261105.41647",
|
|
64
|
+
"sha256": "9f4c514a6aa7f95ada90b3e20fcdd34835193d5190e350bad35061dac279115c"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|