@arbol-ai/sdk 5.56.0 → 5.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.
|
@@ -462,13 +462,69 @@ export interface RaizAgentTurnPolicy {
|
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
464
|
export interface RaizAgentVoiceSettings {
|
|
465
|
+
backgroundSound?: {
|
|
466
|
+
sound: "office1" | "office2" | "restaurant" | "city";
|
|
467
|
+
volume?: number;
|
|
468
|
+
} | null;
|
|
465
469
|
backupModels?: ("arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top")[] | null;
|
|
470
|
+
capacity?: {
|
|
471
|
+
callsPerDay: number | null;
|
|
472
|
+
maxHoldSeconds: number | null;
|
|
473
|
+
simultaneousCalls: number | null;
|
|
474
|
+
} | null;
|
|
475
|
+
guardrails?: {
|
|
476
|
+
blockManipulation: boolean;
|
|
477
|
+
blockedTopics: ("sexual" | "violence" | "harassment" | "selfHarm" | "profanity" | "religionOrPolitics" | "medicalAndLegal")[];
|
|
478
|
+
rules: {
|
|
479
|
+
blocks: string;
|
|
480
|
+
name: string;
|
|
481
|
+
}[];
|
|
482
|
+
stayOnTopic: boolean;
|
|
483
|
+
} | null;
|
|
484
|
+
/**
|
|
485
|
+
* Keep other people talking near the caller out of the conversation, so they
|
|
486
|
+
* neither answer for the caller nor interrupt the Agent. False turns it off.
|
|
487
|
+
* Left out, the Agent keeps its current value; until it is first set, calls
|
|
488
|
+
* keep behaving as they did. Applies to future calls once the Agent is
|
|
489
|
+
* published.
|
|
490
|
+
*/
|
|
491
|
+
ignoreBackgroundVoices?: boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Let callers type on their phone's keypad. What they type reaches the Agent
|
|
494
|
+
* as their message, and the Agent is told it may ask for a number that is
|
|
495
|
+
* long or easy to mishear (an identification number, a phone number) to be
|
|
496
|
+
* typed, ending with #. False ignores the keypad. On for an Agent that never
|
|
497
|
+
* set it; left out of a write, the Agent keeps its current value. Phone calls
|
|
498
|
+
* only. Applies to future calls once the Agent is published.
|
|
499
|
+
*/
|
|
500
|
+
keypadInput?: boolean;
|
|
466
501
|
/**
|
|
467
502
|
* Names and terms the transcriber should favor (people, places, products).
|
|
468
503
|
*/
|
|
469
504
|
keywords: string[];
|
|
470
505
|
llm: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
|
|
506
|
+
maxDurationMessage?: string | null;
|
|
471
507
|
maxDurationSeconds: number | null;
|
|
508
|
+
/**
|
|
509
|
+
* Short words a caller says while listening (`ajá`, `sí`, `ok`) that must not
|
|
510
|
+
* cut the Agent off. Matched whole, whatever the case. An empty list removes
|
|
511
|
+
* them all. Left out, the Agent keeps its current value; until it is first
|
|
512
|
+
* set, calls keep behaving as they did. Applies to future calls once the
|
|
513
|
+
* Agent is published.
|
|
514
|
+
*/
|
|
515
|
+
nonInterruptingWords?: string[];
|
|
516
|
+
/**
|
|
517
|
+
* How the Agent pronounces the organization's own words: each `term` is
|
|
518
|
+
* spoken as its `spokenAs`. Terms are matched whatever their case, so a term
|
|
519
|
+
* repeated in another case keeps only its first entry. An empty list removes
|
|
520
|
+
* them all. Left out, the Agent keeps its current value; until it is first
|
|
521
|
+
* set, calls keep behaving as they did. Applies to future calls once the
|
|
522
|
+
* Agent is published.
|
|
523
|
+
*/
|
|
524
|
+
pronunciations?: {
|
|
525
|
+
spokenAs: string;
|
|
526
|
+
term: string;
|
|
527
|
+
}[];
|
|
472
528
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
473
529
|
/**
|
|
474
530
|
* Keep the call recording (copied to Raíz after the call).
|
|
@@ -480,6 +536,14 @@ export interface RaizAgentVoiceSettings {
|
|
|
480
536
|
* to future calls; the Agent still receives the digits during the call.
|
|
481
537
|
*/
|
|
482
538
|
redactKeypadInput?: boolean;
|
|
539
|
+
/**
|
|
540
|
+
* How soon the Agent replies once the caller pauses: `patient` waits longer,
|
|
541
|
+
* for people who think aloud or speak slowly; `normal`; `quick` replies
|
|
542
|
+
* sooner. Left out, the Agent keeps its current value; until it is first set,
|
|
543
|
+
* calls keep behaving as they did. Applies to future calls once the Agent is
|
|
544
|
+
* published.
|
|
545
|
+
*/
|
|
546
|
+
replyTiming?: "patient" | "normal" | "quick";
|
|
483
547
|
/**
|
|
484
548
|
* Speak a short contextual message while preparing a slow response. False
|
|
485
549
|
* disables automatic delay messages. Omitted preserves the current runtime
|
|
@@ -490,9 +554,25 @@ export interface RaizAgentVoiceSettings {
|
|
|
490
554
|
similarityBoost: number | null;
|
|
491
555
|
speed: number | null;
|
|
492
556
|
stability: number | null;
|
|
493
|
-
toolCallSound?: "typing" | null;
|
|
557
|
+
toolCallSound?: "typing" | "music1" | "music2" | "music3" | "music4" | null;
|
|
494
558
|
turnTimeoutSeconds: number | null;
|
|
559
|
+
/**
|
|
560
|
+
* Say the first message whole: the caller cannot cut it off. For a greeting
|
|
561
|
+
* that carries a notice the caller must hear. False lets the caller interrupt
|
|
562
|
+
* it. Left out, the Agent keeps its current value; until it is first set,
|
|
563
|
+
* calls keep behaving as they did. Applies to future calls once the Agent is
|
|
564
|
+
* published.
|
|
565
|
+
*/
|
|
566
|
+
uninterruptibleGreeting?: boolean;
|
|
495
567
|
voiceId: string | null;
|
|
568
|
+
/**
|
|
569
|
+
* Which version of the voice speaks. `classic` (what every Agent has spoken
|
|
570
|
+
* with) or `turbo`: it answers sooner and with more expression, ignores
|
|
571
|
+
* `speed`, and a voice can sound somewhat different in it. Left out, the
|
|
572
|
+
* Agent keeps its current value; until it is first set, calls keep behaving
|
|
573
|
+
* as they did. Applies to future calls once the Agent is published.
|
|
574
|
+
*/
|
|
575
|
+
voiceVersion?: "classic" | "turbo";
|
|
496
576
|
}
|
|
497
577
|
export interface RaizAgentWorkflow {
|
|
498
578
|
/**
|
|
@@ -38,6 +38,12 @@ export interface SuraBookAppointmentBody {
|
|
|
38
38
|
* while the organization has one; required when it has several.
|
|
39
39
|
*/
|
|
40
40
|
connectionId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Exact plan printed on the reviewed SURA authorization. Send POS only when
|
|
43
|
+
* the document specifies it. Agenda must offer that plan for the same
|
|
44
|
+
* patient. Keep it when booking the returned opening.
|
|
45
|
+
*/
|
|
46
|
+
coveragePlan?: "POS" | null;
|
|
41
47
|
/**
|
|
42
48
|
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
43
49
|
*
|
|
@@ -47,6 +47,12 @@ export interface SuraPrepareAppointmentBody {
|
|
|
47
47
|
* while the organization has one; required when it has several.
|
|
48
48
|
*/
|
|
49
49
|
connectionId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Exact plan printed on the reviewed SURA authorization. Send POS only when
|
|
52
|
+
* the document specifies it. Agenda must offer that plan for the same
|
|
53
|
+
* patient. Keep it when booking the returned opening.
|
|
54
|
+
*/
|
|
55
|
+
coveragePlan?: "POS" | null;
|
|
50
56
|
/**
|
|
51
57
|
* A day the person asked for, as YYYY-MM-DD. Its openings come first; when it
|
|
52
58
|
* has none, the openings nearest to it on either side are offered instead and
|
package/dist/sura/models.d.ts
CHANGED
|
@@ -464,6 +464,7 @@ export interface SuraPreparationAvailable {
|
|
|
464
464
|
appointments: SuraAppointment[];
|
|
465
465
|
booking: {
|
|
466
466
|
areaId?: string;
|
|
467
|
+
coveragePlan?: "POS" | null;
|
|
467
468
|
date: string | null;
|
|
468
469
|
documentNumber: string;
|
|
469
470
|
documentType: "ASI" | "CC" | "CD" | "CE" | "CN" | "DE" | "IFE" | "MS" | "NIT" | "NUIP" | "PA" | "PC" | "PD" | "PE" | "PF" | "PT" | "RC" | "RCP" | "RES" | "SC" | "TE" | "TI";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.57.0",
|
|
4
4
|
"description": "The Arbol API for TypeScript and JavaScript, generated by Cloudflare Forge from the platform's public OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arbol",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"packageManager": "bun@1.4.3",
|
|
59
59
|
"arbol": {
|
|
60
60
|
"openapi": {
|
|
61
|
-
"release": "1.
|
|
62
|
-
"sha256": "
|
|
61
|
+
"release": "1.20261113.63907",
|
|
62
|
+
"sha256": "12e277340eb5ed2a2a2732fd87021c32c6d9bb2bfbba22f2a0eef5ed12e475dd"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|