@arbol-ai/cli 2.3.0 → 2.4.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 +535 -17
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -13648,7 +13648,7 @@ var commands = {
|
|
|
13648
13648
|
]
|
|
13649
13649
|
},
|
|
13650
13650
|
title: "Add a channel",
|
|
13651
|
-
description: "Add a channel. `whatsapp` creates a pending channel and a setup link (`setup.url`) where the business connects its WhatsApp number; call `verify_channel` once that is done. `voice` connects a platform phone number (`platform_number`) or the organization's own carrier over SIP (`sip_trunk`) at once (SIP credentials are passed on once and never stored).
|
|
13651
|
+
description: "Add a channel. `web` creates a website chat or form (the widget) from its complete configuration (`widget`: mode, texts, fields, colors and fonts, allowed origins, `publicLink` for its own hosted page); it is the one kind an AI tool creates. Create it with `inboundEnabled: false` to review it before publishing, then publish or pause it with `update_channel`; `publication` says whether visitors can reach it and where. `whatsapp` creates a pending channel and a setup link (`setup.url`) where the business connects its WhatsApp number; call `verify_channel` once that is done. `voice` connects a platform phone number (`platform_number`) or the organization's own carrier over SIP (`sip_trunk`) at once (SIP credentials are passed on once and never stored). A person adds WhatsApp and voice channels in Settings → Channels or with the REST API: over MCP they fail with CHANNEL_CREATION_IN_APP. With an Agent, traffic is on by default. Not idempotent: after an unknown outcome, `list_channels` before trying again.",
|
|
13652
13652
|
effect: "write",
|
|
13653
13653
|
confirmation: null,
|
|
13654
13654
|
hidden: false
|
|
@@ -19278,7 +19278,7 @@ var commands = {
|
|
|
19278
19278
|
additionalProperties: false
|
|
19279
19279
|
},
|
|
19280
19280
|
title: "Get a report",
|
|
19281
|
-
description: "Get the numbers behind a question. `name`: `conversations_daily` (conversations the AI took part in, per day), `booking_outcomes` (verified saved booking receipts by completion day and integration, excluding tests, imports and deleted conversations; new
|
|
19281
|
+
description: "Get the numbers behind a question. `name`: `conversations_daily` (conversations the AI took part in, per day), `booking_outcomes` (verified saved booking receipts by completion day and integration, excluding tests, imports and deleted conversations; createdCount counts new appointments created by the AI, not confirmations of existing appointments; confirmedCount is its compatibility alias and must not be added again; reschedules, cancellations, failures, pending and unverified results separately), `tool_calls_daily` (Agent tool calls per day), `tool_calls` (each call, newest first), `assessment_results_daily` (assessment results per day), each over days in the organization's time zone (`from`, `to`; the last 30 days by default), or `campaign_progress`. Narrow with `agentId`, `channelType`, `campaignId` or `definitionId`; unsupported filters fail. At most 1000 rows: `hasMore` means split the range or filter. Booking outcomes return no partial totals when their evidence scan exceeds its bound. Conversation success and completed tool calls never establish a booking; these are historical receipts, not the provider's current appointment status.",
|
|
19282
19282
|
effect: "read",
|
|
19283
19283
|
confirmation: null,
|
|
19284
19284
|
hidden: false
|
|
@@ -42735,6 +42735,7 @@ var schemaComponents = {
|
|
|
42735
42735
|
"status",
|
|
42736
42736
|
"updatedAt",
|
|
42737
42737
|
"version",
|
|
42738
|
+
"publication",
|
|
42738
42739
|
"widget"
|
|
42739
42740
|
],
|
|
42740
42741
|
properties: {
|
|
@@ -42995,6 +42996,17 @@ var schemaComponents = {
|
|
|
42995
42996
|
}
|
|
42996
42997
|
]
|
|
42997
42998
|
},
|
|
42999
|
+
publication: {
|
|
43000
|
+
anyOf: [
|
|
43001
|
+
{
|
|
43002
|
+
$ref: "#/components/schemas/RaizWidgetPublication",
|
|
43003
|
+
description: "Web channels only; null for every other channel."
|
|
43004
|
+
},
|
|
43005
|
+
{
|
|
43006
|
+
type: "null"
|
|
43007
|
+
}
|
|
43008
|
+
]
|
|
43009
|
+
},
|
|
42998
43010
|
setup: {
|
|
42999
43011
|
description: "Present only in the response of the action that issued the link: `createChannel`, `renewChannelSetup`, or a `verifyChannel` that replaced an expired one.",
|
|
43000
43012
|
additionalProperties: false,
|
|
@@ -47374,6 +47386,35 @@ var schemaComponents = {
|
|
|
47374
47386
|
}
|
|
47375
47387
|
}
|
|
47376
47388
|
},
|
|
47389
|
+
{
|
|
47390
|
+
additionalProperties: false,
|
|
47391
|
+
type: "object",
|
|
47392
|
+
required: [
|
|
47393
|
+
"code",
|
|
47394
|
+
"message",
|
|
47395
|
+
"retryable",
|
|
47396
|
+
"data"
|
|
47397
|
+
],
|
|
47398
|
+
properties: {
|
|
47399
|
+
code: {
|
|
47400
|
+
const: "CHANNEL_CREATION_IN_APP",
|
|
47401
|
+
type: "string"
|
|
47402
|
+
},
|
|
47403
|
+
message: {
|
|
47404
|
+
const: "An AI tool creates website chats and forms only. A person adds WhatsApp numbers and phone numbers in Settings → Channels, or through the REST API.",
|
|
47405
|
+
type: "string"
|
|
47406
|
+
},
|
|
47407
|
+
retryable: {
|
|
47408
|
+
const: false,
|
|
47409
|
+
type: "boolean"
|
|
47410
|
+
},
|
|
47411
|
+
data: {
|
|
47412
|
+
additionalProperties: false,
|
|
47413
|
+
type: "object",
|
|
47414
|
+
properties: {}
|
|
47415
|
+
}
|
|
47416
|
+
}
|
|
47417
|
+
},
|
|
47377
47418
|
{
|
|
47378
47419
|
additionalProperties: false,
|
|
47379
47420
|
type: "object",
|
|
@@ -48853,6 +48894,35 @@ var schemaComponents = {
|
|
|
48853
48894
|
}
|
|
48854
48895
|
}
|
|
48855
48896
|
},
|
|
48897
|
+
{
|
|
48898
|
+
additionalProperties: false,
|
|
48899
|
+
type: "object",
|
|
48900
|
+
required: [
|
|
48901
|
+
"code",
|
|
48902
|
+
"message",
|
|
48903
|
+
"retryable",
|
|
48904
|
+
"data"
|
|
48905
|
+
],
|
|
48906
|
+
properties: {
|
|
48907
|
+
code: {
|
|
48908
|
+
const: "WIDGET_VOICE_UNHEARD",
|
|
48909
|
+
type: "string"
|
|
48910
|
+
},
|
|
48911
|
+
message: {
|
|
48912
|
+
const: "The voice message could not be understood. Record it again or write the message.",
|
|
48913
|
+
type: "string"
|
|
48914
|
+
},
|
|
48915
|
+
retryable: {
|
|
48916
|
+
const: false,
|
|
48917
|
+
type: "boolean"
|
|
48918
|
+
},
|
|
48919
|
+
data: {
|
|
48920
|
+
additionalProperties: false,
|
|
48921
|
+
type: "object",
|
|
48922
|
+
properties: {}
|
|
48923
|
+
}
|
|
48924
|
+
}
|
|
48925
|
+
},
|
|
48856
48926
|
{
|
|
48857
48927
|
additionalProperties: false,
|
|
48858
48928
|
type: "object",
|
|
@@ -51754,6 +51824,7 @@ var schemaComponents = {
|
|
|
51754
51824
|
"agentName",
|
|
51755
51825
|
"day",
|
|
51756
51826
|
"source",
|
|
51827
|
+
"createdCount",
|
|
51757
51828
|
"confirmedCount",
|
|
51758
51829
|
"rescheduledCount",
|
|
51759
51830
|
"cancelledCount",
|
|
@@ -51797,10 +51868,17 @@ var schemaComponents = {
|
|
|
51797
51868
|
description: "Integration recorded in the booking receipt; unknown when absent.",
|
|
51798
51869
|
type: "string"
|
|
51799
51870
|
},
|
|
51800
|
-
|
|
51871
|
+
createdCount: {
|
|
51801
51872
|
minimum: 0,
|
|
51873
|
+
description: "New appointments created by the AI, supported by successful booking receipts on the operation's completion day. Not confirmations of pre-existing appointments or appointment attendance.",
|
|
51802
51874
|
type: "integer"
|
|
51803
51875
|
},
|
|
51876
|
+
confirmedCount: {
|
|
51877
|
+
minimum: 0,
|
|
51878
|
+
type: "integer",
|
|
51879
|
+
deprecated: true,
|
|
51880
|
+
description: "Compatibility alias of createdCount: the same new bookings, not another category. Never add the two fields or label this as confirmations of existing appointments."
|
|
51881
|
+
},
|
|
51804
51882
|
rescheduledCount: {
|
|
51805
51883
|
minimum: 0,
|
|
51806
51884
|
type: "integer"
|
|
@@ -53122,6 +53200,12 @@ var schemaComponents = {
|
|
|
53122
53200
|
"type"
|
|
53123
53201
|
],
|
|
53124
53202
|
properties: {
|
|
53203
|
+
description: {
|
|
53204
|
+
default: "",
|
|
53205
|
+
description: "Help shown under the label.",
|
|
53206
|
+
maxLength: 300,
|
|
53207
|
+
type: "string"
|
|
53208
|
+
},
|
|
53125
53209
|
label: {
|
|
53126
53210
|
maxLength: 80,
|
|
53127
53211
|
minLength: 1,
|
|
@@ -53133,7 +53217,7 @@ var schemaComponents = {
|
|
|
53133
53217
|
},
|
|
53134
53218
|
options: {
|
|
53135
53219
|
default: [],
|
|
53136
|
-
maxItems:
|
|
53220
|
+
maxItems: 30,
|
|
53137
53221
|
type: "array",
|
|
53138
53222
|
items: {
|
|
53139
53223
|
maxLength: 80,
|
|
@@ -53179,9 +53263,85 @@ var schemaComponents = {
|
|
|
53179
53263
|
const: "select",
|
|
53180
53264
|
type: "string"
|
|
53181
53265
|
},
|
|
53266
|
+
{
|
|
53267
|
+
const: "radio",
|
|
53268
|
+
type: "string"
|
|
53269
|
+
},
|
|
53182
53270
|
{
|
|
53183
53271
|
const: "checkbox",
|
|
53184
53272
|
type: "string"
|
|
53273
|
+
},
|
|
53274
|
+
{
|
|
53275
|
+
const: "url",
|
|
53276
|
+
type: "string"
|
|
53277
|
+
}
|
|
53278
|
+
]
|
|
53279
|
+
},
|
|
53280
|
+
width: {
|
|
53281
|
+
default: "full",
|
|
53282
|
+
description: "`half` sets two consecutive half fields side by side on wide screens.",
|
|
53283
|
+
anyOf: [
|
|
53284
|
+
{
|
|
53285
|
+
const: "full",
|
|
53286
|
+
type: "string"
|
|
53287
|
+
},
|
|
53288
|
+
{
|
|
53289
|
+
const: "half",
|
|
53290
|
+
type: "string"
|
|
53291
|
+
}
|
|
53292
|
+
]
|
|
53293
|
+
}
|
|
53294
|
+
}
|
|
53295
|
+
},
|
|
53296
|
+
RaizWidgetPublication: {
|
|
53297
|
+
additionalProperties: false,
|
|
53298
|
+
type: "object",
|
|
53299
|
+
required: [
|
|
53300
|
+
"live",
|
|
53301
|
+
"problems",
|
|
53302
|
+
"url"
|
|
53303
|
+
],
|
|
53304
|
+
properties: {
|
|
53305
|
+
live: {
|
|
53306
|
+
description: "Visitors can start now: no `problems`. The hosted page answers at `url`, and the widget runs on its `allowedOrigins`.",
|
|
53307
|
+
type: "boolean"
|
|
53308
|
+
},
|
|
53309
|
+
problems: {
|
|
53310
|
+
description: "Why it is not live: `CHANNEL_INACTIVE` (the channel is not active), `PAUSED` (`inboundEnabled` is off), `AGENT_REQUIRED` (no Agent assigned), `AGENT_PAUSED` (its Agent is paused), `NOT_PLACED` (no hosted page and no https site may embed it).",
|
|
53311
|
+
type: "array",
|
|
53312
|
+
items: {
|
|
53313
|
+
anyOf: [
|
|
53314
|
+
{
|
|
53315
|
+
const: "CHANNEL_INACTIVE",
|
|
53316
|
+
type: "string"
|
|
53317
|
+
},
|
|
53318
|
+
{
|
|
53319
|
+
const: "PAUSED",
|
|
53320
|
+
type: "string"
|
|
53321
|
+
},
|
|
53322
|
+
{
|
|
53323
|
+
const: "AGENT_REQUIRED",
|
|
53324
|
+
type: "string"
|
|
53325
|
+
},
|
|
53326
|
+
{
|
|
53327
|
+
const: "AGENT_PAUSED",
|
|
53328
|
+
type: "string"
|
|
53329
|
+
},
|
|
53330
|
+
{
|
|
53331
|
+
const: "NOT_PLACED",
|
|
53332
|
+
type: "string"
|
|
53333
|
+
}
|
|
53334
|
+
]
|
|
53335
|
+
}
|
|
53336
|
+
},
|
|
53337
|
+
url: {
|
|
53338
|
+
anyOf: [
|
|
53339
|
+
{
|
|
53340
|
+
description: "The widget's own hosted page (`publicLink` on), live or not; null when it runs only on the allowed sites.",
|
|
53341
|
+
type: "string"
|
|
53342
|
+
},
|
|
53343
|
+
{
|
|
53344
|
+
type: "null"
|
|
53185
53345
|
}
|
|
53186
53346
|
]
|
|
53187
53347
|
}
|
|
@@ -53250,10 +53410,23 @@ var schemaComponents = {
|
|
|
53250
53410
|
},
|
|
53251
53411
|
assistantColor: {
|
|
53252
53412
|
default: "#FFFFFF",
|
|
53253
|
-
description: "A color in `#RRGGBB` form.",
|
|
53413
|
+
description: "Background behind the Agent's messages; the background color shows them as plain text. A color in `#RRGGBB` form.",
|
|
53254
53414
|
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53255
53415
|
type: "string"
|
|
53256
53416
|
},
|
|
53417
|
+
assistantTextColor: {
|
|
53418
|
+
default: null,
|
|
53419
|
+
description: "Text of the Agent's messages; null: `textColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
53420
|
+
anyOf: [
|
|
53421
|
+
{
|
|
53422
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53423
|
+
type: "string"
|
|
53424
|
+
},
|
|
53425
|
+
{
|
|
53426
|
+
type: "null"
|
|
53427
|
+
}
|
|
53428
|
+
]
|
|
53429
|
+
},
|
|
53257
53430
|
attachmentsEnabled: {
|
|
53258
53431
|
default: false,
|
|
53259
53432
|
type: "boolean"
|
|
@@ -53329,6 +53502,20 @@ var schemaComponents = {
|
|
|
53329
53502
|
$ref: "#/components/schemas/RaizWidgetClientTool"
|
|
53330
53503
|
}
|
|
53331
53504
|
},
|
|
53505
|
+
controlRadius: {
|
|
53506
|
+
default: null,
|
|
53507
|
+
description: "Corner radius of fields and buttons, in pixels; 24 makes pill-shaped buttons. Null: derived from `radius`.",
|
|
53508
|
+
anyOf: [
|
|
53509
|
+
{
|
|
53510
|
+
maximum: 24,
|
|
53511
|
+
minimum: 0,
|
|
53512
|
+
type: "integer"
|
|
53513
|
+
},
|
|
53514
|
+
{
|
|
53515
|
+
type: "null"
|
|
53516
|
+
}
|
|
53517
|
+
]
|
|
53518
|
+
},
|
|
53332
53519
|
consentText: {
|
|
53333
53520
|
default: "Acepto compartir estos datos y esta conversación con esta organización.",
|
|
53334
53521
|
maxLength: 500,
|
|
@@ -53341,10 +53528,16 @@ var schemaComponents = {
|
|
|
53341
53528
|
maxLength: 8000,
|
|
53342
53529
|
type: "string"
|
|
53343
53530
|
},
|
|
53531
|
+
errorColor: {
|
|
53532
|
+
default: "#B42318",
|
|
53533
|
+
description: "Field errors and failures the visitor must see. A color in `#RRGGBB` form.",
|
|
53534
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53535
|
+
type: "string"
|
|
53536
|
+
},
|
|
53344
53537
|
fields: {
|
|
53345
53538
|
default: [],
|
|
53346
|
-
description: "Up to
|
|
53347
|
-
maxItems:
|
|
53539
|
+
description: "Up to 40 form fields with unique names, asked before the conversation (or alone, in `form` mode).",
|
|
53540
|
+
maxItems: 40,
|
|
53348
53541
|
type: "array",
|
|
53349
53542
|
items: {
|
|
53350
53543
|
$ref: "#/components/schemas/RaizWidgetField"
|
|
@@ -53358,6 +53551,7 @@ var schemaComponents = {
|
|
|
53358
53551
|
},
|
|
53359
53552
|
font: {
|
|
53360
53553
|
default: "arbol",
|
|
53554
|
+
description: "The text typeface: `arbol` (bundled), `system` (the device's), `serif`, `rounded`, `page` (the embedding page's) or `custom` (`fontFamily`, with an optional `fontUrl`).",
|
|
53361
53555
|
anyOf: [
|
|
53362
53556
|
{
|
|
53363
53557
|
const: "arbol",
|
|
@@ -53387,6 +53581,7 @@ var schemaComponents = {
|
|
|
53387
53581
|
},
|
|
53388
53582
|
fontFamily: {
|
|
53389
53583
|
default: "",
|
|
53584
|
+
description: "The CSS font-family of `font: custom`.",
|
|
53390
53585
|
maxLength: 200,
|
|
53391
53586
|
pattern: `^[a-zA-Z0-9 ,"'_-]*$`,
|
|
53392
53587
|
type: "string"
|
|
@@ -53431,6 +53626,93 @@ var schemaComponents = {
|
|
|
53431
53626
|
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53432
53627
|
type: "string"
|
|
53433
53628
|
},
|
|
53629
|
+
headingFont: {
|
|
53630
|
+
default: "text",
|
|
53631
|
+
description: "The headings' typeface: `text` (the same as `font`) or one of `font`'s choices, with `headingFontFamily` and `headingFontUrl` for `custom`.",
|
|
53632
|
+
anyOf: [
|
|
53633
|
+
{
|
|
53634
|
+
const: "text",
|
|
53635
|
+
type: "string"
|
|
53636
|
+
},
|
|
53637
|
+
{
|
|
53638
|
+
const: "arbol",
|
|
53639
|
+
type: "string"
|
|
53640
|
+
},
|
|
53641
|
+
{
|
|
53642
|
+
const: "system",
|
|
53643
|
+
type: "string"
|
|
53644
|
+
},
|
|
53645
|
+
{
|
|
53646
|
+
const: "serif",
|
|
53647
|
+
type: "string"
|
|
53648
|
+
},
|
|
53649
|
+
{
|
|
53650
|
+
const: "rounded",
|
|
53651
|
+
type: "string"
|
|
53652
|
+
},
|
|
53653
|
+
{
|
|
53654
|
+
const: "page",
|
|
53655
|
+
type: "string"
|
|
53656
|
+
},
|
|
53657
|
+
{
|
|
53658
|
+
const: "custom",
|
|
53659
|
+
type: "string"
|
|
53660
|
+
}
|
|
53661
|
+
]
|
|
53662
|
+
},
|
|
53663
|
+
headingFontFamily: {
|
|
53664
|
+
default: "",
|
|
53665
|
+
description: "The CSS font-family of `headingFont: custom`.",
|
|
53666
|
+
maxLength: 200,
|
|
53667
|
+
pattern: `^[a-zA-Z0-9 ,"'_-]*$`,
|
|
53668
|
+
type: "string"
|
|
53669
|
+
},
|
|
53670
|
+
headingFontUrl: {
|
|
53671
|
+
default: null,
|
|
53672
|
+
anyOf: [
|
|
53673
|
+
{
|
|
53674
|
+
$ref: "#/components/schemas/RaizHttpsUrl",
|
|
53675
|
+
description: "An HTTPS URL."
|
|
53676
|
+
},
|
|
53677
|
+
{
|
|
53678
|
+
type: "null"
|
|
53679
|
+
}
|
|
53680
|
+
]
|
|
53681
|
+
},
|
|
53682
|
+
headingWeight: {
|
|
53683
|
+
default: 500,
|
|
53684
|
+
description: "The headings' weight, from 300 (light) to 800 (heavy).",
|
|
53685
|
+
maximum: 800,
|
|
53686
|
+
minimum: 300,
|
|
53687
|
+
multipleOf: 100,
|
|
53688
|
+
type: "integer"
|
|
53689
|
+
},
|
|
53690
|
+
inputBorderColor: {
|
|
53691
|
+
default: null,
|
|
53692
|
+
description: "The border of form fields and of the message box. A color in `#RRGGBB` form, or null to derive it.",
|
|
53693
|
+
anyOf: [
|
|
53694
|
+
{
|
|
53695
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53696
|
+
type: "string"
|
|
53697
|
+
},
|
|
53698
|
+
{
|
|
53699
|
+
type: "null"
|
|
53700
|
+
}
|
|
53701
|
+
]
|
|
53702
|
+
},
|
|
53703
|
+
inputColor: {
|
|
53704
|
+
default: null,
|
|
53705
|
+
description: "The background of form fields and of the message box. A color in `#RRGGBB` form, or null to derive it.",
|
|
53706
|
+
anyOf: [
|
|
53707
|
+
{
|
|
53708
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53709
|
+
type: "string"
|
|
53710
|
+
},
|
|
53711
|
+
{
|
|
53712
|
+
type: "null"
|
|
53713
|
+
}
|
|
53714
|
+
]
|
|
53715
|
+
},
|
|
53434
53716
|
language: {
|
|
53435
53717
|
default: "es",
|
|
53436
53718
|
description: "The visitor interface language when the browser asks for none of the translated ones.",
|
|
@@ -53486,6 +53768,19 @@ var schemaComponents = {
|
|
|
53486
53768
|
}
|
|
53487
53769
|
]
|
|
53488
53770
|
},
|
|
53771
|
+
linkColor: {
|
|
53772
|
+
default: null,
|
|
53773
|
+
description: "Links; null: `primaryColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
53774
|
+
anyOf: [
|
|
53775
|
+
{
|
|
53776
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53777
|
+
type: "string"
|
|
53778
|
+
},
|
|
53779
|
+
{
|
|
53780
|
+
type: "null"
|
|
53781
|
+
}
|
|
53782
|
+
]
|
|
53783
|
+
},
|
|
53489
53784
|
logoObjectKey: {
|
|
53490
53785
|
default: null,
|
|
53491
53786
|
anyOf: [
|
|
@@ -53507,6 +53802,19 @@ var schemaComponents = {
|
|
|
53507
53802
|
minimum: 1,
|
|
53508
53803
|
type: "integer"
|
|
53509
53804
|
},
|
|
53805
|
+
mutedTextColor: {
|
|
53806
|
+
default: null,
|
|
53807
|
+
description: "Secondary text: descriptions, hints and times. A color in `#RRGGBB` form, or null to derive it.",
|
|
53808
|
+
anyOf: [
|
|
53809
|
+
{
|
|
53810
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53811
|
+
type: "string"
|
|
53812
|
+
},
|
|
53813
|
+
{
|
|
53814
|
+
type: "null"
|
|
53815
|
+
}
|
|
53816
|
+
]
|
|
53817
|
+
},
|
|
53510
53818
|
mobileMode: {
|
|
53511
53819
|
default: "fullscreen",
|
|
53512
53820
|
anyOf: [
|
|
@@ -53678,10 +53986,41 @@ var schemaComponents = {
|
|
|
53678
53986
|
},
|
|
53679
53987
|
userTextColor: {
|
|
53680
53988
|
default: "#FFFFFF",
|
|
53681
|
-
description: "A color in `#RRGGBB` form.",
|
|
53989
|
+
description: "Text on `primaryColor`: buttons and the launcher. A color in `#RRGGBB` form.",
|
|
53682
53990
|
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53683
53991
|
type: "string"
|
|
53684
53992
|
},
|
|
53993
|
+
visitorColor: {
|
|
53994
|
+
default: null,
|
|
53995
|
+
description: "Background of the visitor's own messages; null: a light tint of `textColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
53996
|
+
anyOf: [
|
|
53997
|
+
{
|
|
53998
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53999
|
+
type: "string"
|
|
54000
|
+
},
|
|
54001
|
+
{
|
|
54002
|
+
type: "null"
|
|
54003
|
+
}
|
|
54004
|
+
]
|
|
54005
|
+
},
|
|
54006
|
+
visitorTextColor: {
|
|
54007
|
+
default: null,
|
|
54008
|
+
description: "Text of the visitor's own messages; null: `textColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
54009
|
+
anyOf: [
|
|
54010
|
+
{
|
|
54011
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54012
|
+
type: "string"
|
|
54013
|
+
},
|
|
54014
|
+
{
|
|
54015
|
+
type: "null"
|
|
54016
|
+
}
|
|
54017
|
+
]
|
|
54018
|
+
},
|
|
54019
|
+
voiceMessages: {
|
|
54020
|
+
default: false,
|
|
54021
|
+
description: "Let visitors record a voice message; Raíz transcribes it and the Agent answers the transcript.",
|
|
54022
|
+
type: "boolean"
|
|
54023
|
+
},
|
|
53685
54024
|
welcomeText: {
|
|
53686
54025
|
default: "Pregúntanos lo que necesites. Solemos responder en minutos.",
|
|
53687
54026
|
maxLength: 300,
|
|
@@ -53761,10 +54100,23 @@ var schemaComponents = {
|
|
|
53761
54100
|
},
|
|
53762
54101
|
assistantColor: {
|
|
53763
54102
|
default: "#FFFFFF",
|
|
53764
|
-
description: "A color in `#RRGGBB` form.",
|
|
54103
|
+
description: "Background behind the Agent's messages; the background color shows them as plain text. A color in `#RRGGBB` form.",
|
|
53765
54104
|
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53766
54105
|
type: "string"
|
|
53767
54106
|
},
|
|
54107
|
+
assistantTextColor: {
|
|
54108
|
+
default: null,
|
|
54109
|
+
description: "Text of the Agent's messages; null: `textColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
54110
|
+
anyOf: [
|
|
54111
|
+
{
|
|
54112
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54113
|
+
type: "string"
|
|
54114
|
+
},
|
|
54115
|
+
{
|
|
54116
|
+
type: "null"
|
|
54117
|
+
}
|
|
54118
|
+
]
|
|
54119
|
+
},
|
|
53768
54120
|
attachmentsEnabled: {
|
|
53769
54121
|
default: false,
|
|
53770
54122
|
type: "boolean"
|
|
@@ -53840,6 +54192,20 @@ var schemaComponents = {
|
|
|
53840
54192
|
$ref: "#/components/schemas/RaizWidgetClientTool"
|
|
53841
54193
|
}
|
|
53842
54194
|
},
|
|
54195
|
+
controlRadius: {
|
|
54196
|
+
default: null,
|
|
54197
|
+
description: "Corner radius of fields and buttons, in pixels; 24 makes pill-shaped buttons. Null: derived from `radius`.",
|
|
54198
|
+
anyOf: [
|
|
54199
|
+
{
|
|
54200
|
+
maximum: 24,
|
|
54201
|
+
minimum: 0,
|
|
54202
|
+
type: "integer"
|
|
54203
|
+
},
|
|
54204
|
+
{
|
|
54205
|
+
type: "null"
|
|
54206
|
+
}
|
|
54207
|
+
]
|
|
54208
|
+
},
|
|
53843
54209
|
consentText: {
|
|
53844
54210
|
default: "Acepto compartir estos datos y esta conversación con esta organización.",
|
|
53845
54211
|
maxLength: 500,
|
|
@@ -53852,10 +54218,16 @@ var schemaComponents = {
|
|
|
53852
54218
|
maxLength: 8000,
|
|
53853
54219
|
type: "string"
|
|
53854
54220
|
},
|
|
54221
|
+
errorColor: {
|
|
54222
|
+
default: "#B42318",
|
|
54223
|
+
description: "Field errors and failures the visitor must see. A color in `#RRGGBB` form.",
|
|
54224
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54225
|
+
type: "string"
|
|
54226
|
+
},
|
|
53855
54227
|
fields: {
|
|
53856
54228
|
default: [],
|
|
53857
|
-
description: "Up to
|
|
53858
|
-
maxItems:
|
|
54229
|
+
description: "Up to 40 form fields with unique names, asked before the conversation (or alone, in `form` mode).",
|
|
54230
|
+
maxItems: 40,
|
|
53859
54231
|
type: "array",
|
|
53860
54232
|
items: {
|
|
53861
54233
|
$ref: "#/components/schemas/RaizWidgetField"
|
|
@@ -53869,6 +54241,7 @@ var schemaComponents = {
|
|
|
53869
54241
|
},
|
|
53870
54242
|
font: {
|
|
53871
54243
|
default: "arbol",
|
|
54244
|
+
description: "The text typeface: `arbol` (bundled), `system` (the device's), `serif`, `rounded`, `page` (the embedding page's) or `custom` (`fontFamily`, with an optional `fontUrl`).",
|
|
53872
54245
|
anyOf: [
|
|
53873
54246
|
{
|
|
53874
54247
|
const: "arbol",
|
|
@@ -53898,6 +54271,7 @@ var schemaComponents = {
|
|
|
53898
54271
|
},
|
|
53899
54272
|
fontFamily: {
|
|
53900
54273
|
default: "",
|
|
54274
|
+
description: "The CSS font-family of `font: custom`.",
|
|
53901
54275
|
maxLength: 200,
|
|
53902
54276
|
pattern: `^[a-zA-Z0-9 ,"'_-]*$`,
|
|
53903
54277
|
type: "string"
|
|
@@ -53942,6 +54316,93 @@ var schemaComponents = {
|
|
|
53942
54316
|
pattern: "^#[0-9a-fA-F]{6}$",
|
|
53943
54317
|
type: "string"
|
|
53944
54318
|
},
|
|
54319
|
+
headingFont: {
|
|
54320
|
+
default: "text",
|
|
54321
|
+
description: "The headings' typeface: `text` (the same as `font`) or one of `font`'s choices, with `headingFontFamily` and `headingFontUrl` for `custom`.",
|
|
54322
|
+
anyOf: [
|
|
54323
|
+
{
|
|
54324
|
+
const: "text",
|
|
54325
|
+
type: "string"
|
|
54326
|
+
},
|
|
54327
|
+
{
|
|
54328
|
+
const: "arbol",
|
|
54329
|
+
type: "string"
|
|
54330
|
+
},
|
|
54331
|
+
{
|
|
54332
|
+
const: "system",
|
|
54333
|
+
type: "string"
|
|
54334
|
+
},
|
|
54335
|
+
{
|
|
54336
|
+
const: "serif",
|
|
54337
|
+
type: "string"
|
|
54338
|
+
},
|
|
54339
|
+
{
|
|
54340
|
+
const: "rounded",
|
|
54341
|
+
type: "string"
|
|
54342
|
+
},
|
|
54343
|
+
{
|
|
54344
|
+
const: "page",
|
|
54345
|
+
type: "string"
|
|
54346
|
+
},
|
|
54347
|
+
{
|
|
54348
|
+
const: "custom",
|
|
54349
|
+
type: "string"
|
|
54350
|
+
}
|
|
54351
|
+
]
|
|
54352
|
+
},
|
|
54353
|
+
headingFontFamily: {
|
|
54354
|
+
default: "",
|
|
54355
|
+
description: "The CSS font-family of `headingFont: custom`.",
|
|
54356
|
+
maxLength: 200,
|
|
54357
|
+
pattern: `^[a-zA-Z0-9 ,"'_-]*$`,
|
|
54358
|
+
type: "string"
|
|
54359
|
+
},
|
|
54360
|
+
headingFontUrl: {
|
|
54361
|
+
default: null,
|
|
54362
|
+
anyOf: [
|
|
54363
|
+
{
|
|
54364
|
+
$ref: "#/components/schemas/RaizHttpsUrl",
|
|
54365
|
+
description: "An HTTPS URL."
|
|
54366
|
+
},
|
|
54367
|
+
{
|
|
54368
|
+
type: "null"
|
|
54369
|
+
}
|
|
54370
|
+
]
|
|
54371
|
+
},
|
|
54372
|
+
headingWeight: {
|
|
54373
|
+
default: 500,
|
|
54374
|
+
description: "The headings' weight, from 300 (light) to 800 (heavy).",
|
|
54375
|
+
maximum: 800,
|
|
54376
|
+
minimum: 300,
|
|
54377
|
+
multipleOf: 100,
|
|
54378
|
+
type: "integer"
|
|
54379
|
+
},
|
|
54380
|
+
inputBorderColor: {
|
|
54381
|
+
default: null,
|
|
54382
|
+
description: "The border of form fields and of the message box. A color in `#RRGGBB` form, or null to derive it.",
|
|
54383
|
+
anyOf: [
|
|
54384
|
+
{
|
|
54385
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54386
|
+
type: "string"
|
|
54387
|
+
},
|
|
54388
|
+
{
|
|
54389
|
+
type: "null"
|
|
54390
|
+
}
|
|
54391
|
+
]
|
|
54392
|
+
},
|
|
54393
|
+
inputColor: {
|
|
54394
|
+
default: null,
|
|
54395
|
+
description: "The background of form fields and of the message box. A color in `#RRGGBB` form, or null to derive it.",
|
|
54396
|
+
anyOf: [
|
|
54397
|
+
{
|
|
54398
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54399
|
+
type: "string"
|
|
54400
|
+
},
|
|
54401
|
+
{
|
|
54402
|
+
type: "null"
|
|
54403
|
+
}
|
|
54404
|
+
]
|
|
54405
|
+
},
|
|
53945
54406
|
language: {
|
|
53946
54407
|
default: "es",
|
|
53947
54408
|
description: "The visitor interface language when the browser asks for none of the translated ones.",
|
|
@@ -53997,6 +54458,19 @@ var schemaComponents = {
|
|
|
53997
54458
|
}
|
|
53998
54459
|
]
|
|
53999
54460
|
},
|
|
54461
|
+
linkColor: {
|
|
54462
|
+
default: null,
|
|
54463
|
+
description: "Links; null: `primaryColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
54464
|
+
anyOf: [
|
|
54465
|
+
{
|
|
54466
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54467
|
+
type: "string"
|
|
54468
|
+
},
|
|
54469
|
+
{
|
|
54470
|
+
type: "null"
|
|
54471
|
+
}
|
|
54472
|
+
]
|
|
54473
|
+
},
|
|
54000
54474
|
logoObjectKey: {
|
|
54001
54475
|
default: null,
|
|
54002
54476
|
anyOf: [
|
|
@@ -54018,6 +54492,19 @@ var schemaComponents = {
|
|
|
54018
54492
|
minimum: 1,
|
|
54019
54493
|
type: "integer"
|
|
54020
54494
|
},
|
|
54495
|
+
mutedTextColor: {
|
|
54496
|
+
default: null,
|
|
54497
|
+
description: "Secondary text: descriptions, hints and times. A color in `#RRGGBB` form, or null to derive it.",
|
|
54498
|
+
anyOf: [
|
|
54499
|
+
{
|
|
54500
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54501
|
+
type: "string"
|
|
54502
|
+
},
|
|
54503
|
+
{
|
|
54504
|
+
type: "null"
|
|
54505
|
+
}
|
|
54506
|
+
]
|
|
54507
|
+
},
|
|
54021
54508
|
mobileMode: {
|
|
54022
54509
|
default: "fullscreen",
|
|
54023
54510
|
anyOf: [
|
|
@@ -54189,10 +54676,41 @@ var schemaComponents = {
|
|
|
54189
54676
|
},
|
|
54190
54677
|
userTextColor: {
|
|
54191
54678
|
default: "#FFFFFF",
|
|
54192
|
-
description: "A color in `#RRGGBB` form.",
|
|
54679
|
+
description: "Text on `primaryColor`: buttons and the launcher. A color in `#RRGGBB` form.",
|
|
54193
54680
|
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54194
54681
|
type: "string"
|
|
54195
54682
|
},
|
|
54683
|
+
visitorColor: {
|
|
54684
|
+
default: null,
|
|
54685
|
+
description: "Background of the visitor's own messages; null: a light tint of `textColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
54686
|
+
anyOf: [
|
|
54687
|
+
{
|
|
54688
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54689
|
+
type: "string"
|
|
54690
|
+
},
|
|
54691
|
+
{
|
|
54692
|
+
type: "null"
|
|
54693
|
+
}
|
|
54694
|
+
]
|
|
54695
|
+
},
|
|
54696
|
+
visitorTextColor: {
|
|
54697
|
+
default: null,
|
|
54698
|
+
description: "Text of the visitor's own messages; null: `textColor`. A color in `#RRGGBB` form, or null to derive it.",
|
|
54699
|
+
anyOf: [
|
|
54700
|
+
{
|
|
54701
|
+
pattern: "^#[0-9a-fA-F]{6}$",
|
|
54702
|
+
type: "string"
|
|
54703
|
+
},
|
|
54704
|
+
{
|
|
54705
|
+
type: "null"
|
|
54706
|
+
}
|
|
54707
|
+
]
|
|
54708
|
+
},
|
|
54709
|
+
voiceMessages: {
|
|
54710
|
+
default: false,
|
|
54711
|
+
description: "Let visitors record a voice message; Raíz transcribes it and the Agent answers the transcript.",
|
|
54712
|
+
type: "boolean"
|
|
54713
|
+
},
|
|
54196
54714
|
welcomeText: {
|
|
54197
54715
|
default: "Pregúntanos lo que necesites. Solemos responder en minutos.",
|
|
54198
54716
|
maxLength: 300,
|
|
@@ -71759,9 +72277,9 @@ var schemaComponents = {
|
|
|
71759
72277
|
// src/generated/generation.json
|
|
71760
72278
|
var generation_default = {
|
|
71761
72279
|
formatVersion: 6,
|
|
71762
|
-
release: "1.
|
|
71763
|
-
openapiSha256: "
|
|
71764
|
-
openapiContentSha256: "
|
|
72280
|
+
release: "1.20261021.53505",
|
|
72281
|
+
openapiSha256: "d0b2c69861cf5d9bf86d722c20f3d09c7420d4fbe3f1319c948fd39122505b3c",
|
|
72282
|
+
openapiContentSha256: "3dbd465d9ddac7ecd1b00c5694419214ef02e6aa3925085dabaea80077fbfcca",
|
|
71765
72283
|
forge: {
|
|
71766
72284
|
repository: "https://github.com/cloudflare/forge",
|
|
71767
72285
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -71774,7 +72292,7 @@ var generation_default = {
|
|
|
71774
72292
|
outputs: [
|
|
71775
72293
|
{
|
|
71776
72294
|
path: "src/generated/commands.ts",
|
|
71777
|
-
sha256: "
|
|
72295
|
+
sha256: "b359de474d469104dcb084c58616bb848fb2d88819774ca4396889667e2a4bcb"
|
|
71778
72296
|
}
|
|
71779
72297
|
]
|
|
71780
72298
|
};
|
|
@@ -72129,7 +72647,7 @@ ${name}`);
|
|
|
72129
72647
|
}
|
|
72130
72648
|
|
|
72131
72649
|
// src/index.ts
|
|
72132
|
-
var VERSION = "2.
|
|
72650
|
+
var VERSION = "2.4.0";
|
|
72133
72651
|
var RELEASE = generation_default.release;
|
|
72134
72652
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
72135
72653
|
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.4.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",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"verify": "bun run typecheck && bun run test && bun run build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@arbol-ai/sdk": "2.
|
|
47
|
+
"@arbol-ai/sdk": "2.5.0",
|
|
48
48
|
"ajv": "8.20.0",
|
|
49
49
|
"ajv-formats": "3.0.1",
|
|
50
50
|
"oauth4webapi": "3.8.8"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"packageManager": "bun@1.4.3",
|
|
60
60
|
"arbol": {
|
|
61
61
|
"openapi": {
|
|
62
|
-
"release": "1.
|
|
63
|
-
"sha256": "
|
|
62
|
+
"release": "1.20261021.53505",
|
|
63
|
+
"sha256": "3dbd465d9ddac7ecd1b00c5694419214ef02e6aa3925085dabaea80077fbfcca"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|