@arbol-ai/cli 3.69.0 → 3.70.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 +105 -18
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -10245,7 +10245,7 @@ var commands = {
|
|
|
10245
10245
|
}
|
|
10246
10246
|
},
|
|
10247
10247
|
title: "List agendas",
|
|
10248
|
-
description: "Use the organization gMedic account. Read-only request; provider failures are never empty results.",
|
|
10248
|
+
description: "Use the organization gMedic account. Read-only request; provider failures are never empty results. Agendas gMedic marks inactive (active: false) are left out, so they are never offered; agendas without that flag are kept. A page can hold fewer items than limit: follow nextCursor while hasNextPage is true.",
|
|
10249
10249
|
effect: "read",
|
|
10250
10250
|
confirmation: null,
|
|
10251
10251
|
hidden: false
|
|
@@ -10465,7 +10465,7 @@ var commands = {
|
|
|
10465
10465
|
}
|
|
10466
10466
|
},
|
|
10467
10467
|
title: "Create appointment",
|
|
10468
|
-
description: "Create a patient appointment. For agents at clinics using colored booking windows, send bookingRoute with the verified payment route. The connector selects the appointment color and rechecks the entire interval. Reconcile unknown outcomes before repeating.",
|
|
10468
|
+
description: "Create a patient appointment. For agents at clinics using colored booking windows, send bookingRoute with the verified payment route. The connector selects the appointment color and rechecks the entire interval. An agenda gMedic marks inactive is refused with AGENDA_INACTIVE before anything is written. Reconcile unknown outcomes before repeating.",
|
|
10469
10469
|
effect: "write",
|
|
10470
10470
|
confirmation: null,
|
|
10471
10471
|
hidden: false
|
|
@@ -11125,7 +11125,7 @@ var commands = {
|
|
|
11125
11125
|
}
|
|
11126
11126
|
},
|
|
11127
11127
|
title: "List availability",
|
|
11128
|
-
description: "List available intervals. At clinics using colored booking windows, send the verified bookingRoute. Check the full duration within a returned interval and a compatible agenda.",
|
|
11128
|
+
description: "List available intervals. At clinics using colored booking windows, send the verified bookingRoute. Check the full duration within a returned interval and a compatible agenda. An agenda gMedic marks inactive answers AGENDA_INACTIVE: do not offer it.",
|
|
11129
11129
|
effect: "read",
|
|
11130
11130
|
confirmation: null,
|
|
11131
11131
|
hidden: false
|
|
@@ -11237,7 +11237,7 @@ var commands = {
|
|
|
11237
11237
|
}
|
|
11238
11238
|
},
|
|
11239
11239
|
title: "List available days",
|
|
11240
|
-
description: "Use the organization gMedic account. Read-only request; provider failures are never empty results.",
|
|
11240
|
+
description: "Use the organization gMedic account. Read-only request; provider failures are never empty results. An agenda gMedic marks inactive answers AGENDA_INACTIVE.",
|
|
11241
11241
|
effect: "read",
|
|
11242
11242
|
confirmation: null,
|
|
11243
11243
|
hidden: false
|
|
@@ -15390,7 +15390,7 @@ var commands = {
|
|
|
15390
15390
|
default: null
|
|
15391
15391
|
},
|
|
15392
15392
|
authorizationNumber: {
|
|
15393
|
-
description: "Sent as pAutorizacion: the payer's authorization number; empty when null.
|
|
15393
|
+
description: "Sent as pAutorizacion: the payer's authorization number; empty when null. A payer that requires authorization (requiresAuthorization in list_payers) is still booked without one, as the clinic's staff do; they complete it before the visit.",
|
|
15394
15394
|
anyOf: [
|
|
15395
15395
|
{
|
|
15396
15396
|
pattern: "^[0-9A-Za-z-]{1,30}$",
|
|
@@ -15432,7 +15432,7 @@ var commands = {
|
|
|
15432
15432
|
}
|
|
15433
15433
|
},
|
|
15434
15434
|
title: "Create an appointment",
|
|
15435
|
-
description: "Book one appointment in e-Oficlinic (ASIGNAR_CITAS) for a slot that search_booking_slots or list_booking_slots offered in an availability flow. Send what a person at the desk chooses: confirm true; the slot's flowId and slotId; the patient's documentType and documentNumber; the payer's planId and subplanId (list_payer_plans, list_payer_subplans); and in classification the patient's regime and affiliateType (list_regimes, list_affiliate_types) and, for copayments, salaryRange (list_salary_ranges). Leave the rest out: the service resolves it as the provider's own booking screen does. The payer, program and attention type are the flow's; the purpose is the form's default, 10; the contract is the payer's only active one, or none when it has none; billing takes its flags from the payer's row, its copayment rate, cap and moderator fee from the salary range's row, and its tariff from the payer's tariff matrix for the flow's service under the plan and subplan. A value the caller does send is used as given, and a billing object is sent unchanged with nothing resolved. BOOKING_VALUE_UNRESOLVED means a needed value could not be resolved from the provider's own data and nothing was written; send it and repeat: contractId when the payer has several active contracts; classification.relationship when the affiliate type is neither C nor N; classification.listStatus when the payer uses an attention list;
|
|
15435
|
+
description: "Book one appointment in e-Oficlinic (ASIGNAR_CITAS) for a slot that search_booking_slots or list_booking_slots offered in an availability flow. Send what a person at the desk chooses: confirm true; the slot's flowId and slotId; the patient's documentType and documentNumber; the payer's planId and subplanId (list_payer_plans, list_payer_subplans); and in classification the patient's regime and affiliateType (list_regimes, list_affiliate_types) and, for copayments, salaryRange (list_salary_ranges). Leave the rest out: the service resolves it as the provider's own booking screen does. The payer, program and attention type are the flow's; the purpose is the form's default, 10; the contract is the payer's only active one, or none when it has none; billing takes its flags from the payer's row, its copayment rate, cap and moderator fee from the salary range's row, and its tariff from the payer's tariff matrix for the flow's service under the plan and subplan. A value the caller does send is used as given, and a billing object is sent unchanged with nothing resolved. BOOKING_VALUE_UNRESOLVED means a needed value could not be resolved from the provider's own data and nothing was written; send it and repeat: contractId when the payer has several active contracts; classification.relationship when the affiliate type is neither C nor N; classification.listStatus when the payer uses an attention list; a classification.salaryRange the regime lists; or billing when the payer's tariff grid has no positive tariff for the service. Before anything is written, the patient is resolved by citizenship card; the source must still count exactly one unit for the program and attention type; the regime, affiliate type, relationship and salary range, and the payer, plan, subplan and contract, must be listed by the provider; the service must be configured for the slot's professional; and a fresh read must still show the slot. The intent and a fence on the slot are recorded before the single provider request, which is never resent. Success means the provider answered a strictly positive appointment number, the source's own creation signal (verification provider_acknowledgement). OUTCOME_UNKNOWN means the appointment may exist: do not book again; check lookup_appointments with status assigned and ask staff. WRITE_TARGET_UNRESOLVED means another key's write to this slot has no final outcome, so nothing was sent. WRITE_LEDGER_FULL means the connection's ledger refused a new write and nothing was sent. Repeating the identical request answers the recorded outcome; no idempotency key is needed. One-slot, one-unit bookings only. agentMode true answers concise Spanish text instead.",
|
|
15436
15436
|
effect: "write",
|
|
15437
15437
|
confirmation: null,
|
|
15438
15438
|
hidden: false
|
|
@@ -16014,7 +16014,7 @@ var commands = {
|
|
|
16014
16014
|
default: null
|
|
16015
16015
|
},
|
|
16016
16016
|
authorizationNumber: {
|
|
16017
|
-
description: "Sent as pAutorizacion: the payer's authorization number; empty when null.
|
|
16017
|
+
description: "Sent as pAutorizacion: the payer's authorization number; empty when null. A payer that requires authorization (requiresAuthorization in list_payers) is still booked without one, as the clinic's staff do; they complete it before the visit.",
|
|
16018
16018
|
anyOf: [
|
|
16019
16019
|
{
|
|
16020
16020
|
pattern: "^[0-9A-Za-z-]{1,30}$",
|
|
@@ -31533,7 +31533,7 @@ var commands = {
|
|
|
31533
31533
|
additionalProperties: false
|
|
31534
31534
|
},
|
|
31535
31535
|
title: "Look up an authorization",
|
|
31536
|
-
description: "Read an existing SaludWeb authorization for the exact patient, issuer and authorization number. Reports its status, dates, the authorized procedures, the provider it is directed to, explicit charge type, fixed fee or copay percentage and provider-reported payments. Procedures that could not be read, unknown balance and copay cap remain null. Does not issue, attend, modify or pay an authorization.",
|
|
31536
|
+
description: "Read an existing SaludWeb authorization for the exact patient, issuer and authorization number. Reports its status, dates, the authorized procedures, the provider it is directed to, explicit charge type, fixed fee or copay percentage and provider-reported payments. Procedures that could not be read, unknown balance and copay cap remain null. Does not issue, attend, modify or pay an authorization. It cannot search or list a patient’s authorizations: to check one, ask the person for its issuer code and number, and never say SURA is checking whether they have one. A pending or missing answer never means the patient has no authorization.",
|
|
31537
31537
|
effect: "read",
|
|
31538
31538
|
confirmation: null,
|
|
31539
31539
|
hidden: false
|
|
@@ -156538,6 +156538,40 @@ var schemaComponents = {
|
|
|
156538
156538
|
}
|
|
156539
156539
|
}
|
|
156540
156540
|
},
|
|
156541
|
+
GmedicAgendaInactiveFailure: {
|
|
156542
|
+
type: "object",
|
|
156543
|
+
description: "This agenda is inactive in gMedic. Do not offer or book it: choose an active agenda from list_agendas or refer the request to reception.",
|
|
156544
|
+
additionalProperties: false,
|
|
156545
|
+
required: [
|
|
156546
|
+
"code",
|
|
156547
|
+
"message",
|
|
156548
|
+
"retryable",
|
|
156549
|
+
"data"
|
|
156550
|
+
],
|
|
156551
|
+
properties: {
|
|
156552
|
+
code: {
|
|
156553
|
+
type: "string",
|
|
156554
|
+
enum: [
|
|
156555
|
+
"AGENDA_INACTIVE"
|
|
156556
|
+
],
|
|
156557
|
+
description: "The failure code, stable across releases."
|
|
156558
|
+
},
|
|
156559
|
+
message: {
|
|
156560
|
+
type: "string",
|
|
156561
|
+
description: "What went wrong, for people; it never contains input values."
|
|
156562
|
+
},
|
|
156563
|
+
retryable: {
|
|
156564
|
+
type: "boolean",
|
|
156565
|
+
enum: [
|
|
156566
|
+
false
|
|
156567
|
+
],
|
|
156568
|
+
description: "Whether repeating the same request may succeed."
|
|
156569
|
+
},
|
|
156570
|
+
data: {
|
|
156571
|
+
$ref: "#/components/schemas/Empty"
|
|
156572
|
+
}
|
|
156573
|
+
}
|
|
156574
|
+
},
|
|
156541
156575
|
GmedicAgendaServicesPage: {
|
|
156542
156576
|
additionalProperties: false,
|
|
156543
156577
|
type: "object",
|
|
@@ -159174,6 +159208,9 @@ var schemaComponents = {
|
|
|
159174
159208
|
{
|
|
159175
159209
|
$ref: "#/components/schemas/GmedicBookingColorRequiredFailure"
|
|
159176
159210
|
},
|
|
159211
|
+
{
|
|
159212
|
+
$ref: "#/components/schemas/GmedicAgendaInactiveFailure"
|
|
159213
|
+
},
|
|
159177
159214
|
{
|
|
159178
159215
|
$ref: "#/components/schemas/GmedicBookingInProgressFailure"
|
|
159179
159216
|
}
|
|
@@ -159183,6 +159220,7 @@ var schemaComponents = {
|
|
|
159183
159220
|
mapping: {
|
|
159184
159221
|
NOT_CONFIGURED: "#/components/schemas/GmedicNotConfiguredFailure",
|
|
159185
159222
|
BOOKING_COLOR_REQUIRED: "#/components/schemas/GmedicBookingColorRequiredFailure",
|
|
159223
|
+
AGENDA_INACTIVE: "#/components/schemas/GmedicAgendaInactiveFailure",
|
|
159186
159224
|
BOOKING_IN_PROGRESS: "#/components/schemas/GmedicBookingInProgressFailure"
|
|
159187
159225
|
}
|
|
159188
159226
|
}
|
|
@@ -163971,13 +164009,17 @@ var schemaComponents = {
|
|
|
163971
164009
|
},
|
|
163972
164010
|
{
|
|
163973
164011
|
$ref: "#/components/schemas/GmedicBookingColorRequiredFailure"
|
|
164012
|
+
},
|
|
164013
|
+
{
|
|
164014
|
+
$ref: "#/components/schemas/GmedicAgendaInactiveFailure"
|
|
163974
164015
|
}
|
|
163975
164016
|
],
|
|
163976
164017
|
discriminator: {
|
|
163977
164018
|
propertyName: "code",
|
|
163978
164019
|
mapping: {
|
|
163979
164020
|
NOT_CONFIGURED: "#/components/schemas/GmedicNotConfiguredFailure",
|
|
163980
|
-
BOOKING_COLOR_REQUIRED: "#/components/schemas/GmedicBookingColorRequiredFailure"
|
|
164021
|
+
BOOKING_COLOR_REQUIRED: "#/components/schemas/GmedicBookingColorRequiredFailure",
|
|
164022
|
+
AGENDA_INACTIVE: "#/components/schemas/GmedicAgendaInactiveFailure"
|
|
163981
164023
|
}
|
|
163982
164024
|
}
|
|
163983
164025
|
},
|
|
@@ -164124,6 +164166,51 @@ var schemaComponents = {
|
|
|
164124
164166
|
}
|
|
164125
164167
|
}
|
|
164126
164168
|
},
|
|
164169
|
+
GmedicListAvailableDaysConflictError: {
|
|
164170
|
+
type: "object",
|
|
164171
|
+
description: "A failed answer.",
|
|
164172
|
+
additionalProperties: false,
|
|
164173
|
+
required: [
|
|
164174
|
+
"success",
|
|
164175
|
+
"data",
|
|
164176
|
+
"error",
|
|
164177
|
+
"metadata"
|
|
164178
|
+
],
|
|
164179
|
+
properties: {
|
|
164180
|
+
success: {
|
|
164181
|
+
type: "boolean",
|
|
164182
|
+
enum: [
|
|
164183
|
+
false
|
|
164184
|
+
]
|
|
164185
|
+
},
|
|
164186
|
+
data: {
|
|
164187
|
+
const: null
|
|
164188
|
+
},
|
|
164189
|
+
error: {
|
|
164190
|
+
$ref: "#/components/schemas/GmedicListAvailableDaysConflictFailure"
|
|
164191
|
+
},
|
|
164192
|
+
metadata: {
|
|
164193
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
164194
|
+
}
|
|
164195
|
+
}
|
|
164196
|
+
},
|
|
164197
|
+
GmedicListAvailableDaysConflictFailure: {
|
|
164198
|
+
oneOf: [
|
|
164199
|
+
{
|
|
164200
|
+
$ref: "#/components/schemas/GmedicNotConfiguredFailure"
|
|
164201
|
+
},
|
|
164202
|
+
{
|
|
164203
|
+
$ref: "#/components/schemas/GmedicAgendaInactiveFailure"
|
|
164204
|
+
}
|
|
164205
|
+
],
|
|
164206
|
+
discriminator: {
|
|
164207
|
+
propertyName: "code",
|
|
164208
|
+
mapping: {
|
|
164209
|
+
NOT_CONFIGURED: "#/components/schemas/GmedicNotConfiguredFailure",
|
|
164210
|
+
AGENDA_INACTIVE: "#/components/schemas/GmedicAgendaInactiveFailure"
|
|
164211
|
+
}
|
|
164212
|
+
}
|
|
164213
|
+
},
|
|
164127
164214
|
GmedicListAvailableDaysNotFoundError: {
|
|
164128
164215
|
type: "object",
|
|
164129
164216
|
description: "A failed answer.",
|
|
@@ -179676,7 +179763,7 @@ var schemaComponents = {
|
|
|
179676
179763
|
default: null
|
|
179677
179764
|
},
|
|
179678
179765
|
authorizationNumber: {
|
|
179679
|
-
description: "Sent as pAutorizacion: the payer's authorization number; empty when null.
|
|
179766
|
+
description: "Sent as pAutorizacion: the payer's authorization number; empty when null. A payer that requires authorization (requiresAuthorization in list_payers) is still booked without one, as the clinic's staff do; they complete it before the visit.",
|
|
179680
179767
|
anyOf: [
|
|
179681
179768
|
{
|
|
179682
179769
|
pattern: "^[0-9A-Za-z-]{1,30}$",
|
|
@@ -189502,7 +189589,7 @@ var schemaComponents = {
|
|
|
189502
189589
|
default: null
|
|
189503
189590
|
},
|
|
189504
189591
|
authorizationNumber: {
|
|
189505
|
-
description: "Sent as pAutorizacion: the payer's authorization number; empty when null.
|
|
189592
|
+
description: "Sent as pAutorizacion: the payer's authorization number; empty when null. A payer that requires authorization (requiresAuthorization in list_payers) is still booked without one, as the clinic's staff do; they complete it before the visit.",
|
|
189506
189593
|
anyOf: [
|
|
189507
189594
|
{
|
|
189508
189595
|
pattern: "^[0-9A-Za-z-]{1,30}$",
|
|
@@ -255435,7 +255522,7 @@ var schemaComponents = {
|
|
|
255435
255522
|
default: null
|
|
255436
255523
|
},
|
|
255437
255524
|
authorizationNumber: {
|
|
255438
|
-
description: "Sent as pAutorizacion: the payer's authorization number; empty when null.
|
|
255525
|
+
description: "Sent as pAutorizacion: the payer's authorization number; empty when null. A payer that requires authorization (requiresAuthorization in list_payers) is still booked without one, as the clinic's staff do; they complete it before the visit.",
|
|
255439
255526
|
anyOf: [
|
|
255440
255527
|
{
|
|
255441
255528
|
pattern: "^[0-9A-Za-z-]{1,30}$",
|
|
@@ -255849,7 +255936,7 @@ var schemaComponents = {
|
|
|
255849
255936
|
default: null
|
|
255850
255937
|
},
|
|
255851
255938
|
authorizationNumber: {
|
|
255852
|
-
description: "Sent as pAutorizacion: the payer's authorization number; empty when null.
|
|
255939
|
+
description: "Sent as pAutorizacion: the payer's authorization number; empty when null. A payer that requires authorization (requiresAuthorization in list_payers) is still booked without one, as the clinic's staff do; they complete it before the visit.",
|
|
255853
255940
|
anyOf: [
|
|
255854
255941
|
{
|
|
255855
255942
|
pattern: "^[0-9A-Za-z-]{1,30}$",
|
|
@@ -267193,9 +267280,9 @@ var schemaComponents = {
|
|
|
267193
267280
|
// src/generated/generation.json
|
|
267194
267281
|
var generation_default = {
|
|
267195
267282
|
formatVersion: 6,
|
|
267196
|
-
release: "1.
|
|
267197
|
-
openapiSha256: "
|
|
267198
|
-
openapiContentSha256: "
|
|
267283
|
+
release: "1.20261123.204457",
|
|
267284
|
+
openapiSha256: "2ed733e6dbf56c09ee9a609852fb83da7800d7cc9df1f52e28338bfb3e02f28d",
|
|
267285
|
+
openapiContentSha256: "5b6ce70e9dbb8554fa44cc5a5b9b980ca15786e0df60f2f86ad4a483b5748754",
|
|
267199
267286
|
forge: {
|
|
267200
267287
|
repository: "https://github.com/cloudflare/forge",
|
|
267201
267288
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -267208,7 +267295,7 @@ var generation_default = {
|
|
|
267208
267295
|
outputs: [
|
|
267209
267296
|
{
|
|
267210
267297
|
path: "src/generated/commands.ts",
|
|
267211
|
-
sha256: "
|
|
267298
|
+
sha256: "558b9a4224ea93653e395216d5c11e3937f44e79e01451cb86d6f091278df172"
|
|
267212
267299
|
}
|
|
267213
267300
|
]
|
|
267214
267301
|
};
|
|
@@ -268808,7 +268895,7 @@ ${name}`);
|
|
|
268808
268895
|
}
|
|
268809
268896
|
|
|
268810
268897
|
// src/index.ts
|
|
268811
|
-
var VERSION = "3.
|
|
268898
|
+
var VERSION = "3.70.0";
|
|
268812
268899
|
var RELEASE = generation_default.release;
|
|
268813
268900
|
var commands2 = { ...commands, ...accountOperatorCommands };
|
|
268814
268901
|
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.
|
|
3
|
+
"version": "3.70.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.70.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.20261123.204457",
|
|
64
|
+
"sha256": "5b6ce70e9dbb8554fa44cc5a5b9b980ca15786e0df60f2f86ad4a483b5748754"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|