@arbol-ai/sdk 5.70.0 → 5.72.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.
@@ -126,9 +126,8 @@ export interface AccountConnection {
126
126
  */
127
127
  portal?: string;
128
128
  /**
129
- * Its WhatsApp appointment reminders, or null when its integration cannot
130
- * feed them. Until someone changes them they are off, at 09:00, the day
131
- * before.
129
+ * Its appointment reminders, or null when its integration cannot feed them.
130
+ * Until someone changes them they are off, at 09:00, the day before.
132
131
  */
133
132
  reminders: {
134
133
  daysBefore: number;
@@ -12,8 +12,10 @@ export interface Client {
12
12
  *
13
13
  * Use the organization gMedic account. Some clinics need every detail of a
14
14
  * patient an agent registers (names, document, birth date, sex, mobilePhone,
15
- * email, address); a refusal names what is missing. No automatic write
16
- * retries; reconcile an unknown outcome before repeating.
15
+ * email, address); a refusal names what is missing. At clinics with colored
16
+ * booking windows, send the patient's verified bookingRoute: an agreement
17
+ * route (EPS_SURA, AXA_PREPAID) registers them under that health partner. No
18
+ * automatic write retries; reconcile an unknown outcome before repeating.
17
19
  */
18
20
  create(request: CreateRequest, options?: RequestOptions): Promise<CreateResponse>;
19
21
  /**
@@ -35,10 +37,15 @@ export interface Client {
35
37
  /**
36
38
  * Update patient
37
39
  *
38
- * Use the organization gMedic account. Send only the fields that change:
39
- * every other field gMedic stores is kept. An agent cannot change a patient’s
40
- * document, names or birth date. No automatic write retries; reconcile an
41
- * unknown outcome before repeating.
40
+ * Use the organization gMedic account. Send only the fields that change; the
41
+ * connector re-sends what gMedic's read answers in a writable form, but
42
+ * gMedic replaces the stored patient, so agreement, residence, EPS, ARL,
43
+ * occupation and fields its read omits are lost and its creation date is
44
+ * reset. An agent cannot change a patient's document, names or birth date,
45
+ * and at clinics with colored booking windows cannot update an existing
46
+ * patient at all: book with the contact in notificationNumber and
47
+ * notificationMail. No automatic write retries; reconcile an unknown outcome
48
+ * before repeating.
42
49
  */
43
50
  update(request: UpdateRequest, options?: RequestOptions): Promise<UpdateResponse>;
44
51
  }
@@ -14,6 +14,11 @@ export interface GmedicCreatePatientBadGatewayError {
14
14
  }
15
15
  export type GmedicCreatePatientBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
16
16
  export interface GmedicCreatePatientBody {
17
+ /**
18
+ * Verified payment route, required for agent scheduling at clinics using
19
+ * colored booking windows.
20
+ */
21
+ bookingRoute?: "PRIVATE" | "AXA_PREPAID" | "AXA_ARL" | "PONAL_STARKEY" | "EPS_SURA";
17
22
  connectionId?: string;
18
23
  data: {
19
24
  address?: string;
@@ -530,7 +530,7 @@ export interface RaizAgentVoiceSettings {
530
530
  * Names and terms the transcriber should favor (people, places, products).
531
531
  */
532
532
  keywords: string[];
533
- llm: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
533
+ llm: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "arbolito/voice-fast" | null;
534
534
  maxDurationMessage?: string | null;
535
535
  maxDurationSeconds: number | null;
536
536
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.70.0",
3
+ "version": "5.72.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.20261123.204457",
62
- "sha256": "5b6ce70e9dbb8554fa44cc5a5b9b980ca15786e0df60f2f86ad4a483b5748754"
61
+ "release": "1.20261125.195549",
62
+ "sha256": "c28321b7270b9775280aafd72c47548f4aff51bf1858677f6a597cd1fd0a0cc1"
63
63
  }
64
64
  }
65
65
  }