@arbol-ai/cli 3.49.0 → 3.51.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 +292 -11
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -18455,7 +18455,7 @@ var commands = {
|
|
|
18455
18455
|
flag: "recipients-status",
|
|
18456
18456
|
kind: "string",
|
|
18457
18457
|
required: false,
|
|
18458
|
-
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: an
|
|
18458
|
+
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: a call succeeded or ended normally with an inconclusive analysis; on WhatsApp, the message arrived. `failed`: its attempts ran out, or it cannot be reached.",
|
|
18459
18459
|
choices: [
|
|
18460
18460
|
"pending",
|
|
18461
18461
|
"in_progress",
|
|
@@ -18567,7 +18567,7 @@ var commands = {
|
|
|
18567
18567
|
const: "cancelled"
|
|
18568
18568
|
}
|
|
18569
18569
|
],
|
|
18570
|
-
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: an
|
|
18570
|
+
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: a call succeeded or ended normally with an inconclusive analysis; on WhatsApp, the message arrived. `failed`: its attempts ran out, or it cannot be reached."
|
|
18571
18571
|
}
|
|
18572
18572
|
},
|
|
18573
18573
|
required: [
|
|
@@ -27615,7 +27615,7 @@ var commands = {
|
|
|
27615
27615
|
}
|
|
27616
27616
|
},
|
|
27617
27617
|
title: "Look up affiliation",
|
|
27618
|
-
description: "Read one matching member contract from an active Account connection. Unknown or unresolved is never inactive. Session cookies are reused; one renewal is admitted only on expiry. This does not authorize care.",
|
|
27618
|
+
description: "Read one matching member contract from an active Account connection. Confirmed affiliation results are reused for seven days. Unknown or unresolved is never inactive. Session cookies are reused; one renewal is admitted only on expiry. This does not authorize care.",
|
|
27619
27619
|
effect: "read",
|
|
27620
27620
|
confirmation: null,
|
|
27621
27621
|
hidden: false
|
|
@@ -31947,6 +31947,65 @@ var commands = {
|
|
|
31947
31947
|
confirmation: null,
|
|
31948
31948
|
hidden: false
|
|
31949
31949
|
},
|
|
31950
|
+
"visoft patient-name-encodings lookup": {
|
|
31951
|
+
operation: "visoft.patientNameEncodings.lookup",
|
|
31952
|
+
sdkPath: [
|
|
31953
|
+
"visoft",
|
|
31954
|
+
"patientNameEncodings",
|
|
31955
|
+
"lookup"
|
|
31956
|
+
],
|
|
31957
|
+
pathField: null,
|
|
31958
|
+
fields: [
|
|
31959
|
+
{
|
|
31960
|
+
name: "connectionId",
|
|
31961
|
+
flag: "connection-id",
|
|
31962
|
+
kind: "string",
|
|
31963
|
+
required: false,
|
|
31964
|
+
description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
|
|
31965
|
+
},
|
|
31966
|
+
{
|
|
31967
|
+
name: "documentNumbers",
|
|
31968
|
+
flag: "document-numbers",
|
|
31969
|
+
kind: "list",
|
|
31970
|
+
required: true,
|
|
31971
|
+
description: "Distinct patient document numbers from an authorized source."
|
|
31972
|
+
}
|
|
31973
|
+
],
|
|
31974
|
+
inputSchema: {
|
|
31975
|
+
type: "object",
|
|
31976
|
+
required: [
|
|
31977
|
+
"documentNumbers"
|
|
31978
|
+
],
|
|
31979
|
+
properties: {
|
|
31980
|
+
connectionId: {
|
|
31981
|
+
type: "string",
|
|
31982
|
+
minLength: 5,
|
|
31983
|
+
maxLength: 68,
|
|
31984
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
31985
|
+
description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
|
|
31986
|
+
},
|
|
31987
|
+
documentNumbers: {
|
|
31988
|
+
type: "array",
|
|
31989
|
+
items: {
|
|
31990
|
+
type: "string",
|
|
31991
|
+
pattern: "^[A-Za-z0-9]{1,20}$",
|
|
31992
|
+
description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
|
|
31993
|
+
},
|
|
31994
|
+
description: "Distinct patient document numbers from an authorized source.",
|
|
31995
|
+
minItems: 1,
|
|
31996
|
+
maxItems: 8,
|
|
31997
|
+
uniqueItems: true,
|
|
31998
|
+
secret: true
|
|
31999
|
+
}
|
|
32000
|
+
},
|
|
32001
|
+
additionalProperties: false
|
|
32002
|
+
},
|
|
32003
|
+
title: "Audit stored patient name encoding",
|
|
32004
|
+
description: "Read the current SIIPS records of the supplied patients and identify name fields with recognizable misdecoded Spanish accents. Returns only the affected field names and document type, without the names or document numbers. Requires the permission to correct patient records. This operation only reads records.",
|
|
32005
|
+
effect: "read",
|
|
32006
|
+
confirmation: null,
|
|
32007
|
+
hidden: false
|
|
32008
|
+
},
|
|
31950
32009
|
"visoft patients correct": {
|
|
31951
32010
|
operation: "visoft.patients.correct",
|
|
31952
32011
|
sdkPath: [
|
|
@@ -33648,7 +33707,8 @@ var schemaComponents = {
|
|
|
33648
33707
|
"updatedAt",
|
|
33649
33708
|
"fields",
|
|
33650
33709
|
"logins",
|
|
33651
|
-
"reminders"
|
|
33710
|
+
"reminders",
|
|
33711
|
+
"arbi"
|
|
33652
33712
|
],
|
|
33653
33713
|
properties: {
|
|
33654
33714
|
id: {
|
|
@@ -34129,6 +34189,20 @@ var schemaComponents = {
|
|
|
34129
34189
|
}
|
|
34130
34190
|
],
|
|
34131
34191
|
description: "Its WhatsApp appointment reminders, or null when its integration cannot feed them. Until someone changes them they are off, at 09:00, the day before."
|
|
34192
|
+
},
|
|
34193
|
+
arbi: {
|
|
34194
|
+
type: "object",
|
|
34195
|
+
required: [
|
|
34196
|
+
"enabled"
|
|
34197
|
+
],
|
|
34198
|
+
properties: {
|
|
34199
|
+
enabled: {
|
|
34200
|
+
type: "boolean",
|
|
34201
|
+
description: "true: Arbi may use this connection's tools, within what the person asking may do. false: Arbi neither sees nor uses it. Agents and API keys are not affected."
|
|
34202
|
+
}
|
|
34203
|
+
},
|
|
34204
|
+
additionalProperties: false,
|
|
34205
|
+
description: "Whether Arbi, the organization's assistant, may use this connection. On until someone turns it off."
|
|
34132
34206
|
}
|
|
34133
34207
|
},
|
|
34134
34208
|
additionalProperties: false
|
|
@@ -187846,7 +187920,7 @@ var schemaComponents = {
|
|
|
187846
187920
|
const: "cancelled"
|
|
187847
187921
|
}
|
|
187848
187922
|
],
|
|
187849
|
-
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: an
|
|
187923
|
+
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: a call succeeded or ended normally with an inconclusive analysis; on WhatsApp, the message arrived. `failed`: its attempts ran out, or it cannot be reached."
|
|
187850
187924
|
},
|
|
187851
187925
|
updatedAt: {
|
|
187852
187926
|
type: "string",
|
|
@@ -195400,6 +195474,18 @@ var schemaComponents = {
|
|
|
195400
195474
|
type: "string",
|
|
195401
195475
|
const: "test",
|
|
195402
195476
|
description: "An isolated trial: business reads run normally; business writes are recorded as denied and never reach a provider. No contact memory is loaded. Required for a voice Agent, whose model reads that its writes went through so the whole flow can be followed."
|
|
195477
|
+
},
|
|
195478
|
+
variables: {
|
|
195479
|
+
type: "object",
|
|
195480
|
+
patternProperties: {
|
|
195481
|
+
"^[A-Za-z_][A-Za-z0-9_]{0,63}$": {
|
|
195482
|
+
type: "string",
|
|
195483
|
+
maxLength: 1000
|
|
195484
|
+
}
|
|
195485
|
+
},
|
|
195486
|
+
additionalProperties: false,
|
|
195487
|
+
maxProperties: 30,
|
|
195488
|
+
description: "Sample values for a voice Agent's text trial (`origin: test`). These fill the greeting and subsequent turns without contacting anyone."
|
|
195403
195489
|
}
|
|
195404
195490
|
},
|
|
195405
195491
|
description: "Open a web conversation with a text Agent, as the Dashboard playground does, or try a voice Agent by text with `origin: test`: write in it with `sendMessage` as the visitor or caller and the Agent answers. It needs no channel, phone or line and reaches nobody else.",
|
|
@@ -233083,6 +233169,79 @@ var schemaComponents = {
|
|
|
233083
233169
|
},
|
|
233084
233170
|
additionalProperties: false
|
|
233085
233171
|
},
|
|
233172
|
+
VisoftLookupPatientNameEncodingBadGatewayError: {
|
|
233173
|
+
type: "object",
|
|
233174
|
+
description: "A failed answer.",
|
|
233175
|
+
additionalProperties: false,
|
|
233176
|
+
required: [
|
|
233177
|
+
"success",
|
|
233178
|
+
"data",
|
|
233179
|
+
"error",
|
|
233180
|
+
"metadata"
|
|
233181
|
+
],
|
|
233182
|
+
properties: {
|
|
233183
|
+
success: {
|
|
233184
|
+
type: "boolean",
|
|
233185
|
+
enum: [
|
|
233186
|
+
false
|
|
233187
|
+
]
|
|
233188
|
+
},
|
|
233189
|
+
data: {
|
|
233190
|
+
const: null
|
|
233191
|
+
},
|
|
233192
|
+
error: {
|
|
233193
|
+
$ref: "#/components/schemas/VisoftLookupPatientNameEncodingBadGatewayFailure"
|
|
233194
|
+
},
|
|
233195
|
+
metadata: {
|
|
233196
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
233197
|
+
}
|
|
233198
|
+
}
|
|
233199
|
+
},
|
|
233200
|
+
VisoftLookupPatientNameEncodingBadGatewayFailure: {
|
|
233201
|
+
oneOf: [
|
|
233202
|
+
{
|
|
233203
|
+
$ref: "#/components/schemas/OutcomeUnknownFailure"
|
|
233204
|
+
},
|
|
233205
|
+
{
|
|
233206
|
+
$ref: "#/components/schemas/VisoftProviderUnavailableFailure"
|
|
233207
|
+
}
|
|
233208
|
+
],
|
|
233209
|
+
discriminator: {
|
|
233210
|
+
propertyName: "code",
|
|
233211
|
+
mapping: {
|
|
233212
|
+
OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
|
|
233213
|
+
PROVIDER_UNAVAILABLE: "#/components/schemas/VisoftProviderUnavailableFailure"
|
|
233214
|
+
}
|
|
233215
|
+
}
|
|
233216
|
+
},
|
|
233217
|
+
VisoftLookupPatientNameEncodingBody: {
|
|
233218
|
+
type: "object",
|
|
233219
|
+
required: [
|
|
233220
|
+
"documentNumbers"
|
|
233221
|
+
],
|
|
233222
|
+
properties: {
|
|
233223
|
+
connectionId: {
|
|
233224
|
+
type: "string",
|
|
233225
|
+
minLength: 5,
|
|
233226
|
+
maxLength: 68,
|
|
233227
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
233228
|
+
description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
|
|
233229
|
+
},
|
|
233230
|
+
documentNumbers: {
|
|
233231
|
+
type: "array",
|
|
233232
|
+
items: {
|
|
233233
|
+
type: "string",
|
|
233234
|
+
pattern: "^[A-Za-z0-9]{1,20}$",
|
|
233235
|
+
description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
|
|
233236
|
+
},
|
|
233237
|
+
description: "Distinct patient document numbers from an authorized source.",
|
|
233238
|
+
minItems: 1,
|
|
233239
|
+
maxItems: 8,
|
|
233240
|
+
uniqueItems: true
|
|
233241
|
+
}
|
|
233242
|
+
},
|
|
233243
|
+
additionalProperties: false
|
|
233244
|
+
},
|
|
233086
233245
|
VisoftPatient: {
|
|
233087
233246
|
type: "object",
|
|
233088
233247
|
required: [
|
|
@@ -233401,6 +233560,99 @@ var schemaComponents = {
|
|
|
233401
233560
|
}
|
|
233402
233561
|
}
|
|
233403
233562
|
},
|
|
233563
|
+
VisoftPatientNameEncodingAudit: {
|
|
233564
|
+
type: "object",
|
|
233565
|
+
required: [
|
|
233566
|
+
"results"
|
|
233567
|
+
],
|
|
233568
|
+
properties: {
|
|
233569
|
+
results: {
|
|
233570
|
+
type: "array",
|
|
233571
|
+
items: {
|
|
233572
|
+
$ref: "#/components/schemas/VisoftPatientNameEncodingResult"
|
|
233573
|
+
},
|
|
233574
|
+
description: "One result per supplied document number, in the same order."
|
|
233575
|
+
}
|
|
233576
|
+
},
|
|
233577
|
+
additionalProperties: false
|
|
233578
|
+
},
|
|
233579
|
+
VisoftPatientNameEncodingAuditResponse: {
|
|
233580
|
+
type: "object",
|
|
233581
|
+
description: "A successful answer.",
|
|
233582
|
+
additionalProperties: false,
|
|
233583
|
+
required: [
|
|
233584
|
+
"success",
|
|
233585
|
+
"data",
|
|
233586
|
+
"error",
|
|
233587
|
+
"metadata"
|
|
233588
|
+
],
|
|
233589
|
+
properties: {
|
|
233590
|
+
success: {
|
|
233591
|
+
type: "boolean",
|
|
233592
|
+
enum: [
|
|
233593
|
+
true
|
|
233594
|
+
]
|
|
233595
|
+
},
|
|
233596
|
+
data: {
|
|
233597
|
+
$ref: "#/components/schemas/VisoftPatientNameEncodingAudit"
|
|
233598
|
+
},
|
|
233599
|
+
error: {
|
|
233600
|
+
const: null
|
|
233601
|
+
},
|
|
233602
|
+
metadata: {
|
|
233603
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
233604
|
+
}
|
|
233605
|
+
}
|
|
233606
|
+
},
|
|
233607
|
+
VisoftPatientNameEncodingResult: {
|
|
233608
|
+
type: "object",
|
|
233609
|
+
required: [
|
|
233610
|
+
"found",
|
|
233611
|
+
"documentType",
|
|
233612
|
+
"affectedFields"
|
|
233613
|
+
],
|
|
233614
|
+
properties: {
|
|
233615
|
+
found: {
|
|
233616
|
+
type: "boolean"
|
|
233617
|
+
},
|
|
233618
|
+
documentType: {
|
|
233619
|
+
anyOf: [
|
|
233620
|
+
{
|
|
233621
|
+
type: "string"
|
|
233622
|
+
},
|
|
233623
|
+
{
|
|
233624
|
+
type: "null"
|
|
233625
|
+
}
|
|
233626
|
+
],
|
|
233627
|
+
description: "The SIIPS document type for an affected patient, or null."
|
|
233628
|
+
},
|
|
233629
|
+
affectedFields: {
|
|
233630
|
+
type: "array",
|
|
233631
|
+
items: {
|
|
233632
|
+
anyOf: [
|
|
233633
|
+
{
|
|
233634
|
+
type: "string",
|
|
233635
|
+
const: "firstName1"
|
|
233636
|
+
},
|
|
233637
|
+
{
|
|
233638
|
+
type: "string",
|
|
233639
|
+
const: "firstName2"
|
|
233640
|
+
},
|
|
233641
|
+
{
|
|
233642
|
+
type: "string",
|
|
233643
|
+
const: "lastName1"
|
|
233644
|
+
},
|
|
233645
|
+
{
|
|
233646
|
+
type: "string",
|
|
233647
|
+
const: "lastName2"
|
|
233648
|
+
}
|
|
233649
|
+
]
|
|
233650
|
+
},
|
|
233651
|
+
description: "Stored name fields containing a recognizable misdecoded Spanish accent."
|
|
233652
|
+
}
|
|
233653
|
+
},
|
|
233654
|
+
additionalProperties: false
|
|
233655
|
+
},
|
|
233404
233656
|
VisoftPatientNotFoundFailure: {
|
|
233405
233657
|
type: "object",
|
|
233406
233658
|
description: "SIIPS has no patient with that document.",
|
|
@@ -243947,7 +244199,7 @@ var schemaComponents = {
|
|
|
243947
244199
|
const: "cancelled"
|
|
243948
244200
|
}
|
|
243949
244201
|
],
|
|
243950
|
-
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: an
|
|
244202
|
+
description: "`pending`: waiting for its (next) call or message. `in_progress`: being called, or on WhatsApp waiting for a reply until a reminder is due. `completed`: a call succeeded or ended normally with an inconclusive analysis; on WhatsApp, the message arrived. `failed`: its attempts ran out, or it cannot be reached."
|
|
243951
244203
|
}
|
|
243952
244204
|
},
|
|
243953
244205
|
required: [
|
|
@@ -251715,6 +251967,35 @@ var schemaComponents = {
|
|
|
251715
251967
|
},
|
|
251716
251968
|
additionalProperties: false
|
|
251717
251969
|
},
|
|
251970
|
+
VisoftPatientNameEncodingsLookupInput: {
|
|
251971
|
+
type: "object",
|
|
251972
|
+
required: [
|
|
251973
|
+
"documentNumbers"
|
|
251974
|
+
],
|
|
251975
|
+
properties: {
|
|
251976
|
+
connectionId: {
|
|
251977
|
+
type: "string",
|
|
251978
|
+
minLength: 5,
|
|
251979
|
+
maxLength: 68,
|
|
251980
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
251981
|
+
description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
|
|
251982
|
+
},
|
|
251983
|
+
documentNumbers: {
|
|
251984
|
+
type: "array",
|
|
251985
|
+
items: {
|
|
251986
|
+
type: "string",
|
|
251987
|
+
pattern: "^[A-Za-z0-9]{1,20}$",
|
|
251988
|
+
description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
|
|
251989
|
+
},
|
|
251990
|
+
description: "Distinct patient document numbers from an authorized source.",
|
|
251991
|
+
minItems: 1,
|
|
251992
|
+
maxItems: 8,
|
|
251993
|
+
uniqueItems: true,
|
|
251994
|
+
secret: true
|
|
251995
|
+
}
|
|
251996
|
+
},
|
|
251997
|
+
additionalProperties: false
|
|
251998
|
+
},
|
|
251718
251999
|
VisoftPatientsCreateInput: {
|
|
251719
252000
|
type: "object",
|
|
251720
252001
|
required: [
|
|
@@ -252267,9 +252548,9 @@ var schemaComponents = {
|
|
|
252267
252548
|
// src/generated/generation.json
|
|
252268
252549
|
var generation_default = {
|
|
252269
252550
|
formatVersion: 6,
|
|
252270
|
-
release: "1.
|
|
252271
|
-
openapiSha256: "
|
|
252272
|
-
openapiContentSha256: "
|
|
252551
|
+
release: "1.20261111.142422",
|
|
252552
|
+
openapiSha256: "4d6a9df3fc9612bd91b1868b451c9920b3c1079ae7d41260001f621a94bf8d3b",
|
|
252553
|
+
openapiContentSha256: "bb24b083f82d419f963d51b86095e2271dc564389e6bcae1c93d50795e2c0595",
|
|
252273
252554
|
forge: {
|
|
252274
252555
|
repository: "https://github.com/cloudflare/forge",
|
|
252275
252556
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -252282,7 +252563,7 @@ var generation_default = {
|
|
|
252282
252563
|
outputs: [
|
|
252283
252564
|
{
|
|
252284
252565
|
path: "src/generated/commands.ts",
|
|
252285
|
-
sha256: "
|
|
252566
|
+
sha256: "260256f6d26e4f1ac387c8218dcc6201cbe12f385d0658870bab6884e7cf470a"
|
|
252286
252567
|
}
|
|
252287
252568
|
]
|
|
252288
252569
|
};
|
|
@@ -253882,7 +254163,7 @@ ${name}`);
|
|
|
253882
254163
|
}
|
|
253883
254164
|
|
|
253884
254165
|
// src/index.ts
|
|
253885
|
-
var VERSION = "3.
|
|
254166
|
+
var VERSION = "3.51.0";
|
|
253886
254167
|
var RELEASE = generation_default.release;
|
|
253887
254168
|
var commands2 = { ...commands, ...accountOperatorCommands };
|
|
253888
254169
|
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.51.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.51.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.20261111.142422",
|
|
64
|
+
"sha256": "bb24b083f82d419f963d51b86095e2271dc564389e6bcae1c93d50795e2c0595"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|