@arbol-ai/cli 3.56.0 → 3.57.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.
Files changed (2) hide show
  1. package/dist/index.js +421 -8
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -29200,6 +29200,16 @@ var commands = {
29200
29200
  required: false,
29201
29201
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
29202
29202
  },
29203
+ {
29204
+ name: "coveragePlan",
29205
+ flag: "coverage-plan",
29206
+ kind: "string",
29207
+ required: false,
29208
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening.",
29209
+ choices: [
29210
+ "POS"
29211
+ ]
29212
+ },
29203
29213
  {
29204
29214
  name: "documentNumber",
29205
29215
  flag: "document-number",
@@ -29327,6 +29337,18 @@ var commands = {
29327
29337
  ],
29328
29338
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
29329
29339
  },
29340
+ coveragePlan: {
29341
+ anyOf: [
29342
+ {
29343
+ type: "string",
29344
+ const: "POS"
29345
+ },
29346
+ {
29347
+ type: "null"
29348
+ }
29349
+ ],
29350
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
29351
+ },
29330
29352
  documentNumber: {
29331
29353
  type: "string",
29332
29354
  description: "Complete document number of the patient receiving care, from readable original evidence or their message. Normalize separators without changing digits. Request correction only for missing, illegible or conflicting identity; never guess digits."
@@ -30218,6 +30240,16 @@ var commands = {
30218
30240
  required: false,
30219
30241
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
30220
30242
  },
30243
+ {
30244
+ name: "coveragePlan",
30245
+ flag: "coverage-plan",
30246
+ kind: "string",
30247
+ required: false,
30248
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening.",
30249
+ choices: [
30250
+ "POS"
30251
+ ]
30252
+ },
30221
30253
  {
30222
30254
  name: "date",
30223
30255
  flag: "date",
@@ -30386,6 +30418,18 @@ var commands = {
30386
30418
  ],
30387
30419
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
30388
30420
  },
30421
+ coveragePlan: {
30422
+ anyOf: [
30423
+ {
30424
+ type: "string",
30425
+ const: "POS"
30426
+ },
30427
+ {
30428
+ type: "null"
30429
+ }
30430
+ ],
30431
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
30432
+ },
30389
30433
  date: {
30390
30434
  anyOf: [
30391
30435
  {
@@ -189736,6 +189780,210 @@ var schemaComponents = {
189736
189780
  "voiceId"
189737
189781
  ],
189738
189782
  properties: {
189783
+ backgroundSound: {
189784
+ anyOf: [
189785
+ {
189786
+ type: "object",
189787
+ required: [
189788
+ "sound"
189789
+ ],
189790
+ properties: {
189791
+ sound: {
189792
+ anyOf: [
189793
+ {
189794
+ type: "string",
189795
+ const: "office1"
189796
+ },
189797
+ {
189798
+ type: "string",
189799
+ const: "office2"
189800
+ },
189801
+ {
189802
+ type: "string",
189803
+ const: "restaurant"
189804
+ },
189805
+ {
189806
+ type: "string",
189807
+ const: "city"
189808
+ }
189809
+ ],
189810
+ description: "The place: `office1`, `office2`, `restaurant` or `city`."
189811
+ },
189812
+ volume: {
189813
+ type: "integer",
189814
+ default: 15,
189815
+ description: "How loud it plays next to the Agent's voice, from 1 to 100. The default, 15, is subtle.",
189816
+ maximum: 100,
189817
+ minimum: 1
189818
+ }
189819
+ },
189820
+ description: "A place that sounds behind the Agent's voice for the whole call, so it sounds less like a quiet studio. Only the caller hears it: it never reaches the transcript. Null turns it off. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
189821
+ additionalProperties: false
189822
+ },
189823
+ {
189824
+ type: "null"
189825
+ }
189826
+ ]
189827
+ },
189828
+ capacity: {
189829
+ anyOf: [
189830
+ {
189831
+ type: "object",
189832
+ required: [
189833
+ "callsPerDay",
189834
+ "maxHoldSeconds",
189835
+ "simultaneousCalls"
189836
+ ],
189837
+ properties: {
189838
+ callsPerDay: {
189839
+ anyOf: [
189840
+ {
189841
+ type: "integer",
189842
+ description: "The most calls this Agent takes in a day. Null: Arbol's limit, 100000.",
189843
+ maximum: 1e5,
189844
+ minimum: 1
189845
+ },
189846
+ {
189847
+ type: "null"
189848
+ }
189849
+ ]
189850
+ },
189851
+ maxHoldSeconds: {
189852
+ anyOf: [
189853
+ {
189854
+ type: "integer",
189855
+ description: "How long a caller waits on hold for a free place when the Agent is at its limit, before the call is refused. Null: no hold, the call is refused at once.",
189856
+ maximum: 1800,
189857
+ minimum: 10
189858
+ },
189859
+ {
189860
+ type: "null"
189861
+ }
189862
+ ]
189863
+ },
189864
+ simultaneousCalls: {
189865
+ anyOf: [
189866
+ {
189867
+ type: "integer",
189868
+ description: "The most calls this Agent is on at once, the calls it places included. Null: no limit of its own.",
189869
+ maximum: 1000,
189870
+ minimum: 1
189871
+ },
189872
+ {
189873
+ type: "null"
189874
+ }
189875
+ ]
189876
+ }
189877
+ },
189878
+ description: "How many calls the Agent takes and how long a caller waits on hold when it is at its limit. Null applies Arbol's defaults: no limit of its own, 100000 calls a day, and a hold of up to 180 seconds. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
189879
+ additionalProperties: false
189880
+ },
189881
+ {
189882
+ type: "null"
189883
+ }
189884
+ ]
189885
+ },
189886
+ guardrails: {
189887
+ anyOf: [
189888
+ {
189889
+ type: "object",
189890
+ required: [
189891
+ "blockManipulation",
189892
+ "blockedTopics",
189893
+ "rules",
189894
+ "stayOnTopic"
189895
+ ],
189896
+ properties: {
189897
+ blockManipulation: {
189898
+ type: "boolean",
189899
+ description: "End a call in which the caller tries to make the Agent ignore its instructions."
189900
+ },
189901
+ blockedTopics: {
189902
+ type: "array",
189903
+ items: {
189904
+ anyOf: [
189905
+ {
189906
+ type: "string",
189907
+ const: "sexual"
189908
+ },
189909
+ {
189910
+ type: "string",
189911
+ const: "violence"
189912
+ },
189913
+ {
189914
+ type: "string",
189915
+ const: "harassment"
189916
+ },
189917
+ {
189918
+ type: "string",
189919
+ const: "selfHarm"
189920
+ },
189921
+ {
189922
+ type: "string",
189923
+ const: "profanity"
189924
+ },
189925
+ {
189926
+ type: "string",
189927
+ const: "religionOrPolitics"
189928
+ },
189929
+ {
189930
+ type: "string",
189931
+ const: "medicalAndLegal"
189932
+ }
189933
+ ]
189934
+ },
189935
+ description: "Subjects the Agent must not speak about; a reply that touches one ends the call. Careful with `medicalAndLegal`: it can end the calls of an Agent whose work is to talk about specialties, exams or prescriptions. For `no clinical advice`, a rule of your own says it more exactly.",
189936
+ maxItems: 7,
189937
+ uniqueItems: true
189938
+ },
189939
+ rules: {
189940
+ type: "array",
189941
+ items: {
189942
+ type: "object",
189943
+ required: [
189944
+ "blocks",
189945
+ "name"
189946
+ ],
189947
+ properties: {
189948
+ blocks: {
189949
+ type: "string",
189950
+ description: "What the rule blocks, in plain words: `Any diagnosis, dose or treatment recommendation`.",
189951
+ maxLength: 1000,
189952
+ minLength: 1
189953
+ },
189954
+ name: {
189955
+ type: "string",
189956
+ description: "A short name for the rule.",
189957
+ maxLength: 80,
189958
+ minLength: 1
189959
+ }
189960
+ },
189961
+ additionalProperties: false
189962
+ },
189963
+ description: "The organization's own rules. Each one is checked against every reply of the Agent, and a reply that breaks one ends the call.",
189964
+ maxItems: 5
189965
+ },
189966
+ stayOnTopic: {
189967
+ type: "boolean",
189968
+ description: "Remind the Agent of its instructions throughout a long call, so it stays on its subject. It never ends a call."
189969
+ }
189970
+ },
189971
+ description: "Checks that run beside the Agent's instructions on every call. Every check other than `stayOnTopic` ends the call when it triggers, and the caller may hear the start of the reply before it is cut. Null turns every check off. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
189972
+ additionalProperties: false
189973
+ },
189974
+ {
189975
+ type: "null"
189976
+ }
189977
+ ]
189978
+ },
189979
+ ignoreBackgroundVoices: {
189980
+ type: "boolean",
189981
+ description: "Keep other people talking near the caller out of the conversation, so they neither answer for the caller nor interrupt the Agent. False turns it off. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
189982
+ },
189983
+ keypadInput: {
189984
+ type: "boolean",
189985
+ description: "Let callers type on their phone's keypad. What they type reaches the Agent as their message, and the Agent is told it may ask for a number that is long or easy to mishear (an identification number, a phone number) to be typed, ending with #. False ignores the keypad. On for an Agent that never set it; left out of a write, the Agent keeps its current value. Phone calls only. Applies to future calls once the Agent is published."
189986
+ },
189739
189987
  keywords: {
189740
189988
  type: "array",
189741
189989
  items: {
@@ -189747,6 +189995,19 @@ var schemaComponents = {
189747
189995
  maxItems: 50,
189748
189996
  uniqueItems: true
189749
189997
  },
189998
+ maxDurationMessage: {
189999
+ anyOf: [
190000
+ {
190001
+ type: "string",
190002
+ description: "What the Agent says when a call reaches `maxDurationSeconds`, instead of the line going silent. Null: it says nothing. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
190003
+ maxLength: 300,
190004
+ minLength: 1
190005
+ },
190006
+ {
190007
+ type: "null"
190008
+ }
190009
+ ]
190010
+ },
189750
190011
  maxDurationSeconds: {
189751
190012
  anyOf: [
189752
190013
  {
@@ -189760,6 +190021,44 @@ var schemaComponents = {
189760
190021
  }
189761
190022
  ]
189762
190023
  },
190024
+ nonInterruptingWords: {
190025
+ type: "array",
190026
+ items: {
190027
+ type: "string",
190028
+ maxLength: 40,
190029
+ minLength: 1
190030
+ },
190031
+ description: "Short words a caller says while listening (`ajá`, `sí`, `ok`) that must not cut the Agent off. Matched whole, whatever the case. An empty list removes them all. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
190032
+ maxItems: 50,
190033
+ uniqueItems: true
190034
+ },
190035
+ pronunciations: {
190036
+ type: "array",
190037
+ items: {
190038
+ type: "object",
190039
+ required: [
190040
+ "spokenAs",
190041
+ "term"
190042
+ ],
190043
+ properties: {
190044
+ spokenAs: {
190045
+ type: "string",
190046
+ description: "How to say it, written the way it sounds: `Yeison`, `ce pe a pe`.",
190047
+ maxLength: 120,
190048
+ minLength: 1
190049
+ },
190050
+ term: {
190051
+ type: "string",
190052
+ description: "The word or phrase as the Agent writes it: a surname, a site, a medicine. Matched as a whole word, whatever the case.",
190053
+ maxLength: 64,
190054
+ minLength: 1
190055
+ }
190056
+ },
190057
+ additionalProperties: false
190058
+ },
190059
+ description: "How the Agent pronounces the organization's own words: each `term` is spoken as its `spokenAs`. Terms are matched whatever their case, so a term repeated in another case keeps only its first entry. An empty list removes them all. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published.",
190060
+ maxItems: 100
190061
+ },
189763
190062
  recordCalls: {
189764
190063
  type: "boolean",
189765
190064
  description: "Keep the call recording (copied to Raíz after the call)."
@@ -189809,6 +190108,23 @@ var schemaComponents = {
189809
190108
  }
189810
190109
  ]
189811
190110
  },
190111
+ replyTiming: {
190112
+ anyOf: [
190113
+ {
190114
+ type: "string",
190115
+ const: "patient"
190116
+ },
190117
+ {
190118
+ type: "string",
190119
+ const: "normal"
190120
+ },
190121
+ {
190122
+ type: "string",
190123
+ const: "quick"
190124
+ }
190125
+ ],
190126
+ description: "How soon the Agent replies once the caller pauses: `patient` waits longer, for people who think aloud or speak slowly; `normal`; `quick` replies sooner. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
190127
+ },
189812
190128
  responseDelayMessages: {
189813
190129
  type: "boolean",
189814
190130
  description: "Speak a short contextual message while preparing a slow response. False disables automatic delay messages. Omitted preserves the current runtime setting."
@@ -189865,9 +190181,29 @@ var schemaComponents = {
189865
190181
  toolCallSound: {
189866
190182
  anyOf: [
189867
190183
  {
189868
- type: "string",
189869
- const: "typing",
189870
- description: "Play a typing sound while this Agent's tools execute. Null disables the sound; omitted preserves the current setting. Applies to future calls after synchronization."
190184
+ anyOf: [
190185
+ {
190186
+ type: "string",
190187
+ const: "typing"
190188
+ },
190189
+ {
190190
+ type: "string",
190191
+ const: "music1"
190192
+ },
190193
+ {
190194
+ type: "string",
190195
+ const: "music2"
190196
+ },
190197
+ {
190198
+ type: "string",
190199
+ const: "music3"
190200
+ },
190201
+ {
190202
+ type: "string",
190203
+ const: "music4"
190204
+ }
190205
+ ],
190206
+ description: "What the caller hears while one of the Agent's tools runs, instead of silence: `typing` (a keyboard) or waiting music (`music1` to `music4`). Null: silence. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
189871
190207
  },
189872
190208
  {
189873
190209
  type: "null"
@@ -189887,6 +190223,23 @@ var schemaComponents = {
189887
190223
  }
189888
190224
  ]
189889
190225
  },
190226
+ uninterruptibleGreeting: {
190227
+ type: "boolean",
190228
+ description: "Say the first message whole: the caller cannot cut it off. For a greeting that carries a notice the caller must hear. False lets the caller interrupt it. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
190229
+ },
190230
+ voiceVersion: {
190231
+ anyOf: [
190232
+ {
190233
+ type: "string",
190234
+ const: "classic"
190235
+ },
190236
+ {
190237
+ type: "string",
190238
+ const: "turbo"
190239
+ }
190240
+ ],
190241
+ description: "Which version of the voice speaks. `classic` (what every Agent has spoken with) or `turbo`: it answers sooner and with more expression, ignores `speed`, and a voice can sound somewhat different in it. Left out, the Agent keeps its current value; until it is first set, calls keep behaving as they did. Applies to future calls once the Agent is published."
190242
+ },
189890
190243
  backupModels: {
189891
190244
  anyOf: [
189892
190245
  {
@@ -227475,6 +227828,18 @@ var schemaComponents = {
227475
227828
  ],
227476
227829
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
227477
227830
  },
227831
+ coveragePlan: {
227832
+ anyOf: [
227833
+ {
227834
+ type: "string",
227835
+ const: "POS"
227836
+ },
227837
+ {
227838
+ type: "null"
227839
+ }
227840
+ ],
227841
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
227842
+ },
227478
227843
  documentNumber: {
227479
227844
  type: "string",
227480
227845
  description: "Complete document number of the patient receiving care, from readable original evidence or their message. Normalize separators without changing digits. Request correction only for missing, illegible or conflicting identity; never guess digits."
@@ -231592,6 +231957,18 @@ var schemaComponents = {
231592
231957
  areaId: {
231593
231958
  type: "string"
231594
231959
  },
231960
+ coveragePlan: {
231961
+ anyOf: [
231962
+ {
231963
+ type: "string",
231964
+ const: "POS"
231965
+ },
231966
+ {
231967
+ type: "null"
231968
+ }
231969
+ ],
231970
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
231971
+ },
231595
231972
  date: {
231596
231973
  anyOf: [
231597
231974
  {
@@ -232012,6 +232389,18 @@ var schemaComponents = {
232012
232389
  ],
232013
232390
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
232014
232391
  },
232392
+ coveragePlan: {
232393
+ anyOf: [
232394
+ {
232395
+ type: "string",
232396
+ const: "POS"
232397
+ },
232398
+ {
232399
+ type: "null"
232400
+ }
232401
+ ],
232402
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
232403
+ },
232015
232404
  date: {
232016
232405
  anyOf: [
232017
232406
  {
@@ -254349,6 +254738,18 @@ var schemaComponents = {
254349
254738
  ],
254350
254739
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
254351
254740
  },
254741
+ coveragePlan: {
254742
+ anyOf: [
254743
+ {
254744
+ type: "string",
254745
+ const: "POS"
254746
+ },
254747
+ {
254748
+ type: "null"
254749
+ }
254750
+ ],
254751
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
254752
+ },
254352
254753
  documentNumber: {
254353
254754
  type: "string",
254354
254755
  description: "Complete document number of the patient receiving care, from readable original evidence or their message. Normalize separators without changing digits. Request correction only for missing, illegible or conflicting identity; never guess digits."
@@ -255124,6 +255525,18 @@ var schemaComponents = {
255124
255525
  ],
255125
255526
  description: "The areaId list_services returned beside that service. Pass it with an exact serviceId to skip a catalog lookup; omit it whenever you are naming the service in words."
255126
255527
  },
255528
+ coveragePlan: {
255529
+ anyOf: [
255530
+ {
255531
+ type: "string",
255532
+ const: "POS"
255533
+ },
255534
+ {
255535
+ type: "null"
255536
+ }
255537
+ ],
255538
+ description: "Exact plan printed on the reviewed SURA authorization. Send POS only when the document specifies it. Agenda must offer that plan for the same patient. Keep it when booking the returned opening."
255539
+ },
255127
255540
  date: {
255128
255541
  anyOf: [
255129
255542
  {
@@ -257181,9 +257594,9 @@ var schemaComponents = {
257181
257594
  // src/generated/generation.json
257182
257595
  var generation_default = {
257183
257596
  formatVersion: 6,
257184
- release: "1.20261112.191820",
257185
- openapiSha256: "67c05f66440ef691f071c57e882ec8a3ae3e7fa81a4cb2ee0113c6f9aaced310",
257186
- openapiContentSha256: "2f7c07c79d552e9dc7f380e56101da2571ccb50d22ebd1568c1282c69a0ef313",
257597
+ release: "1.20261113.63907",
257598
+ openapiSha256: "81682cd55bdbec958071ad3a5c9d74f35017085add4b08bba1cd284f07c79e7f",
257599
+ openapiContentSha256: "12e277340eb5ed2a2a2732fd87021c32c6d9bb2bfbba22f2a0eef5ed12e475dd",
257187
257600
  forge: {
257188
257601
  repository: "https://github.com/cloudflare/forge",
257189
257602
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -257196,7 +257609,7 @@ var generation_default = {
257196
257609
  outputs: [
257197
257610
  {
257198
257611
  path: "src/generated/commands.ts",
257199
- sha256: "2b5293688500f89473a3a3bc75c48f5e8b351698f8ea82ad53b17bfa91456b78"
257612
+ sha256: "8643e558b0716cdb8675bcd1799b1beed208f9550438944943e15aa0c5f815ef"
257200
257613
  }
257201
257614
  ]
257202
257615
  };
@@ -258796,7 +259209,7 @@ ${name}`);
258796
259209
  }
258797
259210
 
258798
259211
  // src/index.ts
258799
- var VERSION = "3.56.0";
259212
+ var VERSION = "3.57.0";
258800
259213
  var RELEASE = generation_default.release;
258801
259214
  var commands2 = { ...commands, ...accountOperatorCommands };
258802
259215
  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.56.0",
3
+ "version": "3.57.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.56.0",
48
+ "@arbol-ai/sdk": "5.57.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.20261112.191820",
64
- "sha256": "2f7c07c79d552e9dc7f380e56101da2571ccb50d22ebd1568c1282c69a0ef313"
63
+ "release": "1.20261113.63907",
64
+ "sha256": "12e277340eb5ed2a2a2732fd87021c32c6d9bb2bfbba22f2a0eef5ed12e475dd"
65
65
  }
66
66
  }
67
67
  }