@arbol-ai/cli 3.42.0 → 3.43.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 +475 -10
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -18943,7 +18943,7 @@ var commands = {
|
|
|
18943
18943
|
]
|
|
18944
18944
|
},
|
|
18945
18945
|
title: "Create a campaign",
|
|
18946
|
-
description: "Prepare a campaign with up to 10000 recipients, each a phone `address` with an optional `contactId` and `variables`. A call campaign (the default) has a voice Agent call each one. With `channelType: whatsapp` and an approved `template`, each one is sent the template, its `parameters` filled from their `variables` (`{{name}}`)
|
|
18946
|
+
description: "Prepare a campaign with up to 10000 recipients, each a phone `address` with an optional `contactId` and `variables`. A call campaign (the default) has a voice Agent call each one. With `channelType: whatsapp` and an approved `template`, each one is sent the template, its `parameters` filled from their `variables` (`{{name}}`) and, when its header is a document, image or video, their own `header` file; its text Agent answers whoever replies. Nobody is reached until it is started. A list adds nobody to the organization's contacts: a recipient becomes the contact it names, or the owner of its number (created when none exists), when the campaign first reaches them. A longer list continues with `updateCampaign` and `addRecipients`. Nothing happens outside `contactHours` (in `timeZone`, the organization's by default) or outside `scheduledStartAt` and `scheduledEndAt`; each recipient gets up to `maxAttempts` attempts, `retryAfterMinutes` apart, after the results in `retryOn`. Read it with `expand=readiness` to see whether it can start. Starting it (REST `POST /v1/campaigns/{campaignId}/start`) is not an AI tool. Read the `run-a-campaign` skill.",
|
|
18947
18947
|
effect: "write",
|
|
18948
18948
|
confirmation: null,
|
|
18949
18949
|
hidden: false
|
|
@@ -19270,6 +19270,38 @@ var commands = {
|
|
|
19270
19270
|
confirmation: null,
|
|
19271
19271
|
hidden: false
|
|
19272
19272
|
},
|
|
19273
|
+
"raiz campaigns start": {
|
|
19274
|
+
operation: "raiz.campaigns.start",
|
|
19275
|
+
sdkPath: [
|
|
19276
|
+
"raiz",
|
|
19277
|
+
"campaigns",
|
|
19278
|
+
"start"
|
|
19279
|
+
],
|
|
19280
|
+
pathField: "campaignId",
|
|
19281
|
+
fields: [],
|
|
19282
|
+
inputSchema: {
|
|
19283
|
+
additionalProperties: false,
|
|
19284
|
+
type: "object",
|
|
19285
|
+
required: [
|
|
19286
|
+
"campaignId"
|
|
19287
|
+
],
|
|
19288
|
+
properties: {
|
|
19289
|
+
campaignId: {
|
|
19290
|
+
description: "Campaign id.",
|
|
19291
|
+
examples: [
|
|
19292
|
+
"cmp_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
19293
|
+
],
|
|
19294
|
+
pattern: "^cmp_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$",
|
|
19295
|
+
type: "string"
|
|
19296
|
+
}
|
|
19297
|
+
}
|
|
19298
|
+
},
|
|
19299
|
+
title: "Start a campaign",
|
|
19300
|
+
description: "Start reaching people: from now on the campaign's due recipients are called, at most `settings.channels.maxConcurrentOutboundCalls` (five by default) at once across the organization, or sent their message, one after another, about 30 a minute. A call campaign needs an active, published voice Agent (VOICE_AGENT_NOT_READY). A WhatsApp campaign needs an active text Agent (CAMPAIGN_AGENT_NOT_READY), a line that can send (CHANNEL_NOT_READY), an approved template whose parameters fit (a `TEMPLATE_*` code), a value for every variable (CAMPAIGN_VARIABLE_MISSING) and, when the template's header is a document, image or video, the first pending recipient's own `header` file (CAMPAIGN_HEADER_MISSING). A recipient must be pending (CAMPAIGN_NO_RECIPIENTS). `get_campaign` with `expand=readiness` lists all of this beforehand. A campaign starts once: starting a running one changes nothing, and a paused one resumes with `update_campaign` and `paused: false`. Not an AI tool: it reaches real people.",
|
|
19301
|
+
effect: "write",
|
|
19302
|
+
confirmation: null,
|
|
19303
|
+
hidden: false
|
|
19304
|
+
},
|
|
19273
19305
|
"raiz campaigns update": {
|
|
19274
19306
|
operation: "raiz.campaigns.update",
|
|
19275
19307
|
sdkPath: [
|
|
@@ -19565,7 +19597,7 @@ var commands = {
|
|
|
19565
19597
|
}
|
|
19566
19598
|
},
|
|
19567
19599
|
title: "Update a campaign",
|
|
19568
|
-
description: "Change a campaign. Omitted fields stay. `paused: true` pauses a started campaign (no new call or message starts; those in progress finish) and `paused: false` resumes it, with the same checks as starting. Before the start, `recipients` is the complete set, replacing whoever was there; once started it only adds. `addRecipients` adds at any moment, which is how a list longer than one request arrives: a number the campaign already has is skipped, so repeating a part reaches nobody twice. The Agent changes only before the start, and a completed campaign accepts only its name and metadata. A change lifts the wait of a campaign held by `errorCode`: fixing a template and sending it here tries again at once.",
|
|
19600
|
+
description: "Change a campaign. Omitted fields stay. `paused: true` pauses a started campaign (no new call or message starts; those in progress finish) and `paused: false` resumes it, with the same checks as starting. Before the start, `recipients` is the complete set, replacing whoever was there; once started it only adds. `addRecipients` adds at any moment, which is how a list longer than one request arrives: a number the campaign already has is skipped, so repeating a part reaches nobody twice, and a recipient's `header` file is stored only when its row has none (CAMPAIGN_HEADER_NOT_STORED says some were not: send those recipients again). The Agent changes only before the start, and a completed campaign accepts only its name and metadata. A change lifts the wait of a campaign held by `errorCode`: fixing a template and sending it here tries again at once.",
|
|
19569
19601
|
effect: "write",
|
|
19570
19602
|
confirmation: null,
|
|
19571
19603
|
hidden: false
|
|
@@ -31039,6 +31071,59 @@ var commands = {
|
|
|
31039
31071
|
confirmation: null,
|
|
31040
31072
|
hidden: false
|
|
31041
31073
|
},
|
|
31074
|
+
"visoft appointment-receipts lookup": {
|
|
31075
|
+
operation: "visoft.appointmentReceipts.lookup",
|
|
31076
|
+
sdkPath: [
|
|
31077
|
+
"visoft",
|
|
31078
|
+
"appointmentReceipts",
|
|
31079
|
+
"lookup"
|
|
31080
|
+
],
|
|
31081
|
+
pathField: null,
|
|
31082
|
+
fields: [
|
|
31083
|
+
{
|
|
31084
|
+
name: "connectionId",
|
|
31085
|
+
flag: "connection-id",
|
|
31086
|
+
kind: "string",
|
|
31087
|
+
required: false,
|
|
31088
|
+
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."
|
|
31089
|
+
},
|
|
31090
|
+
{
|
|
31091
|
+
name: "reference",
|
|
31092
|
+
flag: "reference",
|
|
31093
|
+
kind: "string",
|
|
31094
|
+
required: true,
|
|
31095
|
+
description: "The appointment's opaque reference, as visoft.appointments.list answered it."
|
|
31096
|
+
}
|
|
31097
|
+
],
|
|
31098
|
+
inputSchema: {
|
|
31099
|
+
additionalProperties: false,
|
|
31100
|
+
type: "object",
|
|
31101
|
+
required: [
|
|
31102
|
+
"reference"
|
|
31103
|
+
],
|
|
31104
|
+
properties: {
|
|
31105
|
+
connectionId: {
|
|
31106
|
+
minLength: 5,
|
|
31107
|
+
maxLength: 68,
|
|
31108
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
31109
|
+
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.",
|
|
31110
|
+
type: "string"
|
|
31111
|
+
},
|
|
31112
|
+
reference: {
|
|
31113
|
+
minLength: 1,
|
|
31114
|
+
maxLength: 300,
|
|
31115
|
+
pattern: "^[A-Za-z0-9:._-]+(?:=[A-Za-z0-9:._-]*){8,24}$",
|
|
31116
|
+
description: "The appointment's opaque reference, as visoft.appointments.list answered it.",
|
|
31117
|
+
type: "string"
|
|
31118
|
+
}
|
|
31119
|
+
}
|
|
31120
|
+
},
|
|
31121
|
+
title: "Look up an appointment receipt",
|
|
31122
|
+
description: "SIIPS's own printed receipt (ticket) of one assigned appointment, by the reference visoft.appointments.list answered: the PDF SIIPS's print action serves, unchanged, base64. It is answered only when its text names the appointment's day, hour and patient; otherwise APPOINTMENT_RECEIPT_UNAVAILABLE. Never cached. Printing changes no appointment and sends nothing to the patient.",
|
|
31123
|
+
effect: "read",
|
|
31124
|
+
confirmation: null,
|
|
31125
|
+
hidden: false
|
|
31126
|
+
},
|
|
31042
31127
|
"visoft appointments cancel": {
|
|
31043
31128
|
operation: "visoft.appointments.cancel",
|
|
31044
31129
|
sdkPath: [
|
|
@@ -31559,7 +31644,7 @@ var commands = {
|
|
|
31559
31644
|
}
|
|
31560
31645
|
},
|
|
31561
31646
|
title: "List assigned appointments",
|
|
31562
|
-
description: "Read assigned appointments for one day at a cost centre, ordered by moment and reference, with the contact phone SIIPS records. Never cached. A full upstream page that cannot prove completeness is PROVIDER_UNAVAILABLE; narrow by professionalId rather than treating a partial agenda as complete. This operation changes no appointment and sends no message.",
|
|
31647
|
+
description: "Read assigned appointments for one day at a cost centre, ordered by moment and reference, with the contact phone and the state (`status`) SIIPS records. Never cached. A full upstream page that cannot prove completeness is PROVIDER_UNAVAILABLE; narrow by professionalId rather than treating a partial agenda as complete. This operation changes no appointment and sends no message.",
|
|
31563
31648
|
effect: "read",
|
|
31564
31649
|
confirmation: null,
|
|
31565
31650
|
hidden: false
|
|
@@ -88592,6 +88677,10 @@ var schemaComponents = {
|
|
|
88592
88677
|
}
|
|
88593
88678
|
]
|
|
88594
88679
|
},
|
|
88680
|
+
header: {
|
|
88681
|
+
$ref: "#/components/schemas/RaizTemplateHeaderFile",
|
|
88682
|
+
description: "WhatsApp only: this recipient's file for a template whose header is a document, image or video (an appointment's receipts, a ticket), shown above its text. Kept privately with the campaign and sent with this recipient's message; a number the campaign already has keeps its first file, and replacing the whole list replaces them. A request carries at most 2 MiB: send a long list with files in parts with `addRecipients`."
|
|
88683
|
+
},
|
|
88595
88684
|
instructions: {
|
|
88596
88685
|
anyOf: [
|
|
88597
88686
|
{
|
|
@@ -89048,7 +89137,7 @@ var schemaComponents = {
|
|
|
89048
89137
|
type: "string"
|
|
89049
89138
|
},
|
|
89050
89139
|
name: {
|
|
89051
|
-
description: "An approved template of the line's WhatsApp Business Account. Its body may have variables; a
|
|
89140
|
+
description: "An approved template of the line's WhatsApp Business Account. Its body may have variables; when its header is a document, image or video, each recipient brings its own file (`header`). Button parameters cannot be used in a campaign.",
|
|
89052
89141
|
maxLength: 512,
|
|
89053
89142
|
minLength: 1,
|
|
89054
89143
|
type: "string"
|
|
@@ -89079,7 +89168,7 @@ var schemaComponents = {
|
|
|
89079
89168
|
type: "string"
|
|
89080
89169
|
},
|
|
89081
89170
|
name: {
|
|
89082
|
-
description: "An approved template of the line's WhatsApp Business Account. Its body may have variables; a
|
|
89171
|
+
description: "An approved template of the line's WhatsApp Business Account. Its body may have variables; when its header is a document, image or video, each recipient brings its own file (`header`). Button parameters cannot be used in a campaign.",
|
|
89083
89172
|
maxLength: 512,
|
|
89084
89173
|
minLength: 1,
|
|
89085
89174
|
type: "string"
|
|
@@ -94843,6 +94932,72 @@ var schemaComponents = {
|
|
|
94843
94932
|
}
|
|
94844
94933
|
}
|
|
94845
94934
|
},
|
|
94935
|
+
{
|
|
94936
|
+
additionalProperties: false,
|
|
94937
|
+
type: "object",
|
|
94938
|
+
required: [
|
|
94939
|
+
"code",
|
|
94940
|
+
"message",
|
|
94941
|
+
"retryable",
|
|
94942
|
+
"data"
|
|
94943
|
+
],
|
|
94944
|
+
properties: {
|
|
94945
|
+
code: {
|
|
94946
|
+
const: "CAMPAIGN_HEADER_MISSING",
|
|
94947
|
+
type: "string"
|
|
94948
|
+
},
|
|
94949
|
+
message: {
|
|
94950
|
+
const: "A recipient has no file that fits the template's header (a PDF for a document, JPEG or PNG for an image, MP4 for a video). Each recipient brings its own as `header`.",
|
|
94951
|
+
type: "string"
|
|
94952
|
+
},
|
|
94953
|
+
retryable: {
|
|
94954
|
+
const: false,
|
|
94955
|
+
type: "boolean"
|
|
94956
|
+
},
|
|
94957
|
+
data: {
|
|
94958
|
+
additionalProperties: false,
|
|
94959
|
+
type: "object",
|
|
94960
|
+
properties: {}
|
|
94961
|
+
}
|
|
94962
|
+
}
|
|
94963
|
+
},
|
|
94964
|
+
{
|
|
94965
|
+
additionalProperties: false,
|
|
94966
|
+
type: "object",
|
|
94967
|
+
required: [
|
|
94968
|
+
"code",
|
|
94969
|
+
"message",
|
|
94970
|
+
"retryable",
|
|
94971
|
+
"data"
|
|
94972
|
+
],
|
|
94973
|
+
properties: {
|
|
94974
|
+
code: {
|
|
94975
|
+
const: "CAMPAIGN_HEADER_NOT_STORED",
|
|
94976
|
+
type: "string"
|
|
94977
|
+
},
|
|
94978
|
+
message: {
|
|
94979
|
+
const: "The campaign and its recipients were saved, but some recipients' files were not. Send those recipients again with `addRecipients` on this campaign: their numbers are kept and their files stored. Do not create the campaign again.",
|
|
94980
|
+
type: "string"
|
|
94981
|
+
},
|
|
94982
|
+
retryable: {
|
|
94983
|
+
const: false,
|
|
94984
|
+
type: "boolean"
|
|
94985
|
+
},
|
|
94986
|
+
data: {
|
|
94987
|
+
additionalProperties: false,
|
|
94988
|
+
type: "object",
|
|
94989
|
+
required: [
|
|
94990
|
+
"campaignId"
|
|
94991
|
+
],
|
|
94992
|
+
properties: {
|
|
94993
|
+
campaignId: {
|
|
94994
|
+
description: "The campaign, saved with its recipients.",
|
|
94995
|
+
type: "string"
|
|
94996
|
+
}
|
|
94997
|
+
}
|
|
94998
|
+
}
|
|
94999
|
+
}
|
|
95000
|
+
},
|
|
94846
95001
|
{
|
|
94847
95002
|
additionalProperties: false,
|
|
94848
95003
|
type: "object",
|
|
@@ -114186,6 +114341,7 @@ var schemaComponents = {
|
|
|
114186
114341
|
"startsAt",
|
|
114187
114342
|
"admissionNumber",
|
|
114188
114343
|
"attended",
|
|
114344
|
+
"status",
|
|
114189
114345
|
"purpose",
|
|
114190
114346
|
"resource",
|
|
114191
114347
|
"subCostCenter",
|
|
@@ -114252,6 +114408,10 @@ var schemaComponents = {
|
|
|
114252
114408
|
description: "SIIPS's attendance mark.",
|
|
114253
114409
|
type: "string"
|
|
114254
114410
|
},
|
|
114411
|
+
status: {
|
|
114412
|
+
description: "SIIPS's state of the appointment (its agenda's Estado), as stored: `S` for one requested.",
|
|
114413
|
+
type: "string"
|
|
114414
|
+
},
|
|
114255
114415
|
purpose: {
|
|
114256
114416
|
description: "The purpose SIIPS records.",
|
|
114257
114417
|
type: "string"
|
|
@@ -114316,6 +114476,108 @@ var schemaComponents = {
|
|
|
114316
114476
|
}
|
|
114317
114477
|
}
|
|
114318
114478
|
},
|
|
114479
|
+
VisoftAppointmentReceipt: {
|
|
114480
|
+
additionalProperties: false,
|
|
114481
|
+
type: "object",
|
|
114482
|
+
required: [
|
|
114483
|
+
"reference",
|
|
114484
|
+
"fileName",
|
|
114485
|
+
"mediaType",
|
|
114486
|
+
"sizeBytes",
|
|
114487
|
+
"sha256",
|
|
114488
|
+
"data"
|
|
114489
|
+
],
|
|
114490
|
+
properties: {
|
|
114491
|
+
reference: {
|
|
114492
|
+
description: "The reference the receipt was printed for.",
|
|
114493
|
+
type: "string"
|
|
114494
|
+
},
|
|
114495
|
+
fileName: {
|
|
114496
|
+
description: "A file name made of the appointment's day and hour; never the patient's.",
|
|
114497
|
+
type: "string"
|
|
114498
|
+
},
|
|
114499
|
+
mediaType: {
|
|
114500
|
+
const: "application/pdf",
|
|
114501
|
+
type: "string"
|
|
114502
|
+
},
|
|
114503
|
+
sizeBytes: {
|
|
114504
|
+
minimum: 1,
|
|
114505
|
+
type: "integer"
|
|
114506
|
+
},
|
|
114507
|
+
sha256: {
|
|
114508
|
+
pattern: "^[0-9a-f]{64}$",
|
|
114509
|
+
description: "The SHA-256 of the bytes, hexadecimal.",
|
|
114510
|
+
type: "string"
|
|
114511
|
+
},
|
|
114512
|
+
data: {
|
|
114513
|
+
contentEncoding: "base64",
|
|
114514
|
+
description: "The PDF, unchanged, base64.",
|
|
114515
|
+
type: "string"
|
|
114516
|
+
}
|
|
114517
|
+
}
|
|
114518
|
+
},
|
|
114519
|
+
VisoftAppointmentReceiptResponse: {
|
|
114520
|
+
type: "object",
|
|
114521
|
+
description: "A successful answer.",
|
|
114522
|
+
additionalProperties: false,
|
|
114523
|
+
required: [
|
|
114524
|
+
"success",
|
|
114525
|
+
"data",
|
|
114526
|
+
"error",
|
|
114527
|
+
"metadata"
|
|
114528
|
+
],
|
|
114529
|
+
properties: {
|
|
114530
|
+
success: {
|
|
114531
|
+
type: "boolean",
|
|
114532
|
+
enum: [
|
|
114533
|
+
true
|
|
114534
|
+
]
|
|
114535
|
+
},
|
|
114536
|
+
data: {
|
|
114537
|
+
$ref: "#/components/schemas/VisoftAppointmentReceipt"
|
|
114538
|
+
},
|
|
114539
|
+
error: {
|
|
114540
|
+
const: null
|
|
114541
|
+
},
|
|
114542
|
+
metadata: {
|
|
114543
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
114544
|
+
}
|
|
114545
|
+
}
|
|
114546
|
+
},
|
|
114547
|
+
VisoftAppointmentReceiptUnavailableFailure: {
|
|
114548
|
+
type: "object",
|
|
114549
|
+
description: "SIIPS printed no receipt naming this appointment's day, hour and patient. Read the day's appointments again for a current reference.",
|
|
114550
|
+
additionalProperties: false,
|
|
114551
|
+
required: [
|
|
114552
|
+
"code",
|
|
114553
|
+
"message",
|
|
114554
|
+
"retryable",
|
|
114555
|
+
"data"
|
|
114556
|
+
],
|
|
114557
|
+
properties: {
|
|
114558
|
+
code: {
|
|
114559
|
+
type: "string",
|
|
114560
|
+
enum: [
|
|
114561
|
+
"APPOINTMENT_RECEIPT_UNAVAILABLE"
|
|
114562
|
+
],
|
|
114563
|
+
description: "The failure code, stable across releases."
|
|
114564
|
+
},
|
|
114565
|
+
message: {
|
|
114566
|
+
type: "string",
|
|
114567
|
+
description: "What went wrong, for people; it never contains input values."
|
|
114568
|
+
},
|
|
114569
|
+
retryable: {
|
|
114570
|
+
type: "boolean",
|
|
114571
|
+
enum: [
|
|
114572
|
+
false
|
|
114573
|
+
],
|
|
114574
|
+
description: "Whether repeating the same request may succeed."
|
|
114575
|
+
},
|
|
114576
|
+
data: {
|
|
114577
|
+
$ref: "#/components/schemas/Empty"
|
|
114578
|
+
}
|
|
114579
|
+
}
|
|
114580
|
+
},
|
|
114319
114581
|
VisoftAppointmentReferenceInvalidFailure: {
|
|
114320
114582
|
type: "object",
|
|
114321
114583
|
description: "The reference is not one a patient's appointments answered. Nothing was cancelled.",
|
|
@@ -114411,6 +114673,7 @@ var schemaComponents = {
|
|
|
114411
114673
|
"patientName",
|
|
114412
114674
|
"phone",
|
|
114413
114675
|
"service",
|
|
114676
|
+
"status",
|
|
114414
114677
|
"attended"
|
|
114415
114678
|
],
|
|
114416
114679
|
properties: {
|
|
@@ -114445,6 +114708,10 @@ var schemaComponents = {
|
|
|
114445
114708
|
service: {
|
|
114446
114709
|
type: "string"
|
|
114447
114710
|
},
|
|
114711
|
+
status: {
|
|
114712
|
+
description: "SIIPS's state of the appointment (its agenda's Estado), as stored: `S` for one requested and still to be attended.",
|
|
114713
|
+
type: "string"
|
|
114714
|
+
},
|
|
114448
114715
|
attended: {
|
|
114449
114716
|
description: "SIIPS's attendance flag, as stored.",
|
|
114450
114717
|
type: "string"
|
|
@@ -117286,6 +117553,164 @@ var schemaComponents = {
|
|
|
117286
117553
|
}
|
|
117287
117554
|
}
|
|
117288
117555
|
},
|
|
117556
|
+
VisoftLookupAppointmentReceiptBadGatewayError: {
|
|
117557
|
+
type: "object",
|
|
117558
|
+
description: "A failed answer.",
|
|
117559
|
+
additionalProperties: false,
|
|
117560
|
+
required: [
|
|
117561
|
+
"success",
|
|
117562
|
+
"data",
|
|
117563
|
+
"error",
|
|
117564
|
+
"metadata"
|
|
117565
|
+
],
|
|
117566
|
+
properties: {
|
|
117567
|
+
success: {
|
|
117568
|
+
type: "boolean",
|
|
117569
|
+
enum: [
|
|
117570
|
+
false
|
|
117571
|
+
]
|
|
117572
|
+
},
|
|
117573
|
+
data: {
|
|
117574
|
+
const: null
|
|
117575
|
+
},
|
|
117576
|
+
error: {
|
|
117577
|
+
$ref: "#/components/schemas/VisoftLookupAppointmentReceiptBadGatewayFailure"
|
|
117578
|
+
},
|
|
117579
|
+
metadata: {
|
|
117580
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
117581
|
+
}
|
|
117582
|
+
}
|
|
117583
|
+
},
|
|
117584
|
+
VisoftLookupAppointmentReceiptBadGatewayFailure: {
|
|
117585
|
+
oneOf: [
|
|
117586
|
+
{
|
|
117587
|
+
$ref: "#/components/schemas/OutcomeUnknownFailure"
|
|
117588
|
+
},
|
|
117589
|
+
{
|
|
117590
|
+
$ref: "#/components/schemas/VisoftProviderUnavailableFailure"
|
|
117591
|
+
}
|
|
117592
|
+
],
|
|
117593
|
+
discriminator: {
|
|
117594
|
+
propertyName: "code",
|
|
117595
|
+
mapping: {
|
|
117596
|
+
OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
|
|
117597
|
+
PROVIDER_UNAVAILABLE: "#/components/schemas/VisoftProviderUnavailableFailure"
|
|
117598
|
+
}
|
|
117599
|
+
}
|
|
117600
|
+
},
|
|
117601
|
+
VisoftLookupAppointmentReceiptBody: {
|
|
117602
|
+
additionalProperties: false,
|
|
117603
|
+
type: "object",
|
|
117604
|
+
required: [
|
|
117605
|
+
"reference"
|
|
117606
|
+
],
|
|
117607
|
+
properties: {
|
|
117608
|
+
connectionId: {
|
|
117609
|
+
minLength: 5,
|
|
117610
|
+
maxLength: 68,
|
|
117611
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
117612
|
+
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.",
|
|
117613
|
+
type: "string"
|
|
117614
|
+
},
|
|
117615
|
+
reference: {
|
|
117616
|
+
minLength: 1,
|
|
117617
|
+
maxLength: 300,
|
|
117618
|
+
pattern: "^[A-Za-z0-9:._-]+(?:=[A-Za-z0-9:._-]*){8,24}$",
|
|
117619
|
+
description: "The appointment's opaque reference, as visoft.appointments.list answered it.",
|
|
117620
|
+
type: "string"
|
|
117621
|
+
}
|
|
117622
|
+
}
|
|
117623
|
+
},
|
|
117624
|
+
VisoftLookupAppointmentReceiptNotFoundError: {
|
|
117625
|
+
type: "object",
|
|
117626
|
+
description: "A failed answer.",
|
|
117627
|
+
additionalProperties: false,
|
|
117628
|
+
required: [
|
|
117629
|
+
"success",
|
|
117630
|
+
"data",
|
|
117631
|
+
"error",
|
|
117632
|
+
"metadata"
|
|
117633
|
+
],
|
|
117634
|
+
properties: {
|
|
117635
|
+
success: {
|
|
117636
|
+
type: "boolean",
|
|
117637
|
+
enum: [
|
|
117638
|
+
false
|
|
117639
|
+
]
|
|
117640
|
+
},
|
|
117641
|
+
data: {
|
|
117642
|
+
const: null
|
|
117643
|
+
},
|
|
117644
|
+
error: {
|
|
117645
|
+
$ref: "#/components/schemas/VisoftLookupAppointmentReceiptNotFoundFailure"
|
|
117646
|
+
},
|
|
117647
|
+
metadata: {
|
|
117648
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
117649
|
+
}
|
|
117650
|
+
}
|
|
117651
|
+
},
|
|
117652
|
+
VisoftLookupAppointmentReceiptNotFoundFailure: {
|
|
117653
|
+
oneOf: [
|
|
117654
|
+
{
|
|
117655
|
+
$ref: "#/components/schemas/ConnectionNotFoundFailure"
|
|
117656
|
+
},
|
|
117657
|
+
{
|
|
117658
|
+
$ref: "#/components/schemas/VisoftAppointmentReceiptUnavailableFailure"
|
|
117659
|
+
}
|
|
117660
|
+
],
|
|
117661
|
+
discriminator: {
|
|
117662
|
+
propertyName: "code",
|
|
117663
|
+
mapping: {
|
|
117664
|
+
CONNECTION_NOT_FOUND: "#/components/schemas/ConnectionNotFoundFailure",
|
|
117665
|
+
APPOINTMENT_RECEIPT_UNAVAILABLE: "#/components/schemas/VisoftAppointmentReceiptUnavailableFailure"
|
|
117666
|
+
}
|
|
117667
|
+
}
|
|
117668
|
+
},
|
|
117669
|
+
VisoftLookupAppointmentReceiptUnprocessableContentError: {
|
|
117670
|
+
type: "object",
|
|
117671
|
+
description: "A failed answer.",
|
|
117672
|
+
additionalProperties: false,
|
|
117673
|
+
required: [
|
|
117674
|
+
"success",
|
|
117675
|
+
"data",
|
|
117676
|
+
"error",
|
|
117677
|
+
"metadata"
|
|
117678
|
+
],
|
|
117679
|
+
properties: {
|
|
117680
|
+
success: {
|
|
117681
|
+
type: "boolean",
|
|
117682
|
+
enum: [
|
|
117683
|
+
false
|
|
117684
|
+
]
|
|
117685
|
+
},
|
|
117686
|
+
data: {
|
|
117687
|
+
const: null
|
|
117688
|
+
},
|
|
117689
|
+
error: {
|
|
117690
|
+
$ref: "#/components/schemas/VisoftLookupAppointmentReceiptUnprocessableContentFailure"
|
|
117691
|
+
},
|
|
117692
|
+
metadata: {
|
|
117693
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
117694
|
+
}
|
|
117695
|
+
}
|
|
117696
|
+
},
|
|
117697
|
+
VisoftLookupAppointmentReceiptUnprocessableContentFailure: {
|
|
117698
|
+
oneOf: [
|
|
117699
|
+
{
|
|
117700
|
+
$ref: "#/components/schemas/VisoftCredentialsRejectedFailure"
|
|
117701
|
+
},
|
|
117702
|
+
{
|
|
117703
|
+
$ref: "#/components/schemas/VisoftAgencyNotServedFailure"
|
|
117704
|
+
}
|
|
117705
|
+
],
|
|
117706
|
+
discriminator: {
|
|
117707
|
+
propertyName: "code",
|
|
117708
|
+
mapping: {
|
|
117709
|
+
CREDENTIALS_REJECTED: "#/components/schemas/VisoftCredentialsRejectedFailure",
|
|
117710
|
+
AGENCY_NOT_SERVED: "#/components/schemas/VisoftAgencyNotServedFailure"
|
|
117711
|
+
}
|
|
117712
|
+
}
|
|
117713
|
+
},
|
|
117289
117714
|
VisoftLookupAvailabilityBadGatewayError: {
|
|
117290
117715
|
type: "object",
|
|
117291
117716
|
description: "A failed answer.",
|
|
@@ -128838,6 +129263,23 @@ var schemaComponents = {
|
|
|
128838
129263
|
}
|
|
128839
129264
|
}
|
|
128840
129265
|
},
|
|
129266
|
+
RaizCampaignsStartInput: {
|
|
129267
|
+
additionalProperties: false,
|
|
129268
|
+
type: "object",
|
|
129269
|
+
required: [
|
|
129270
|
+
"campaignId"
|
|
129271
|
+
],
|
|
129272
|
+
properties: {
|
|
129273
|
+
campaignId: {
|
|
129274
|
+
description: "Campaign id.",
|
|
129275
|
+
examples: [
|
|
129276
|
+
"cmp_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
129277
|
+
],
|
|
129278
|
+
pattern: "^cmp_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$",
|
|
129279
|
+
type: "string"
|
|
129280
|
+
}
|
|
129281
|
+
}
|
|
129282
|
+
},
|
|
128841
129283
|
RaizChangesListInput: {
|
|
128842
129284
|
type: "object",
|
|
128843
129285
|
properties: {
|
|
@@ -135577,6 +136019,29 @@ var schemaComponents = {
|
|
|
135577
136019
|
}
|
|
135578
136020
|
}
|
|
135579
136021
|
},
|
|
136022
|
+
VisoftAppointmentReceiptsLookupInput: {
|
|
136023
|
+
additionalProperties: false,
|
|
136024
|
+
type: "object",
|
|
136025
|
+
required: [
|
|
136026
|
+
"reference"
|
|
136027
|
+
],
|
|
136028
|
+
properties: {
|
|
136029
|
+
connectionId: {
|
|
136030
|
+
minLength: 5,
|
|
136031
|
+
maxLength: 68,
|
|
136032
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
136033
|
+
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.",
|
|
136034
|
+
type: "string"
|
|
136035
|
+
},
|
|
136036
|
+
reference: {
|
|
136037
|
+
minLength: 1,
|
|
136038
|
+
maxLength: 300,
|
|
136039
|
+
pattern: "^[A-Za-z0-9:._-]+(?:=[A-Za-z0-9:._-]*){8,24}$",
|
|
136040
|
+
description: "The appointment's opaque reference, as visoft.appointments.list answered it.",
|
|
136041
|
+
type: "string"
|
|
136042
|
+
}
|
|
136043
|
+
}
|
|
136044
|
+
},
|
|
135580
136045
|
VisoftAppointmentsCreateInput: {
|
|
135581
136046
|
additionalProperties: false,
|
|
135582
136047
|
type: "object",
|
|
@@ -136694,9 +137159,9 @@ var schemaComponents = {
|
|
|
136694
137159
|
// src/generated/generation.json
|
|
136695
137160
|
var generation_default = {
|
|
136696
137161
|
formatVersion: 6,
|
|
136697
|
-
release: "1.20261106.
|
|
136698
|
-
openapiSha256: "
|
|
136699
|
-
openapiContentSha256: "
|
|
137162
|
+
release: "1.20261106.211734",
|
|
137163
|
+
openapiSha256: "4175207787b9909be1c8404cfc24c4f18230bf12e8fd96074241b11a8a928863",
|
|
137164
|
+
openapiContentSha256: "ef2bacbc6bbda25bcbb2bb78972e717f3a5d4e7efef6d308b1f5718f2c08a2ff",
|
|
136700
137165
|
forge: {
|
|
136701
137166
|
repository: "https://github.com/cloudflare/forge",
|
|
136702
137167
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -136709,7 +137174,7 @@ var generation_default = {
|
|
|
136709
137174
|
outputs: [
|
|
136710
137175
|
{
|
|
136711
137176
|
path: "src/generated/commands.ts",
|
|
136712
|
-
sha256: "
|
|
137177
|
+
sha256: "d69498a3fbbf7bb5af95810cd76ba97eecd5dfb668a53df88d0c20e8c6db499a"
|
|
136713
137178
|
}
|
|
136714
137179
|
]
|
|
136715
137180
|
};
|
|
@@ -138309,7 +138774,7 @@ ${name}`);
|
|
|
138309
138774
|
}
|
|
138310
138775
|
|
|
138311
138776
|
// src/index.ts
|
|
138312
|
-
var VERSION = "3.
|
|
138777
|
+
var VERSION = "3.43.0";
|
|
138313
138778
|
var RELEASE = generation_default.release;
|
|
138314
138779
|
var commands2 = { ...commands, ...accountOperatorCommands };
|
|
138315
138780
|
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.43.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.43.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.20261106.
|
|
64
|
-
"sha256": "
|
|
63
|
+
"release": "1.20261106.211734",
|
|
64
|
+
"sha256": "ef2bacbc6bbda25bcbb2bb78972e717f3a5d4e7efef6d308b1f5718f2c08a2ff"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|