@arbol-ai/sdk 5.28.0 → 5.30.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.
@@ -797,12 +797,19 @@ export interface AgendaFailureResponse {
797
797
  };
798
798
  message: "Report settings changed; reload before saving.";
799
799
  retryable: false;
800
+ } | {
801
+ code: "REPORT_NOTIFICATIONS_DISABLED";
802
+ data: {
803
+ [key: string]: unknown;
804
+ };
805
+ message: "Enable the notifications module before sending a daily agenda.";
806
+ retryable: false;
800
807
  } | {
801
808
  code: "REPORT_RECIPIENTS_REQUIRED";
802
809
  data: {
803
810
  [key: string]: unknown;
804
811
  };
805
- message: "Give or save at least one recipient before sending the daily agenda.";
812
+ message: "No eligible organization owner or additional delivery address is available for this agenda.";
806
813
  retryable: false;
807
814
  } | {
808
815
  code: "WAITLIST_ENTRY_VERSION_MISMATCH";
@@ -24,16 +24,27 @@ export interface Client {
24
24
  * patient's name, documentNumber and documentType, phone, serviceId and the
25
25
  * payer as the patient said it. Use resourceId only for the professional the
26
26
  * person requested. Calling again for the same patient, service and reason
27
- * returns the same open entry and updates supplied consented preferences,
28
- * note, payer, conversation or appointment association. A supplied confirmed
29
- * phone replaces the patient contact phone; omitted or null phone preserves
30
- * it. Omitted fields preserve their values; resourceId:null explicitly
31
- * accepts any professional. When supplying preferences, send the complete
32
- * consented date/time window; null fields clear those limits. Identical
33
- * repeats do not change the version. Staff status, priority and original
34
- * queue position are preserved. A closed entry is not reopened. This
35
- * registers a waiting-list request, never an appointment. Then tell the
36
- * patient the clinic's team will contact them.
27
+ * returns the same open entry. Only a request from the same verified Raíz
28
+ * conversation may reconcile manual and priority as one entry; payer_review
29
+ * stays separate. A consented reason priority request from the same verified
30
+ * Raíz conversation promotes a manual entry created in that same native
31
+ * conversation in place to priority urgent, preserving its ID, open status
32
+ * and queue date. For an Agenda booking include its verified appointmentId;
33
+ * for an external booking omit that ID and retain the verified booking in
34
+ * note. Historical entries, another conversation and explicit desk priority
35
+ * decisions are preserved; inspect the returned priority and never claim an
36
+ * upgrade unless it is urgent. A later manual join never lowers or duplicates
37
+ * that priority request. Supplied consented preferences, note, payer,
38
+ * conversation and appointment association can be reconciled; omit unchanged
39
+ * fields to retain them. A supplied confirmed phone replaces the patient
40
+ * contact phone; omitted or null phone preserves it. Omitted fields preserve
41
+ * their values; resourceId:null explicitly accepts any professional. When
42
+ * supplying preferences, send the complete consented date/time window; null
43
+ * fields clear those limits. Identical repeats do not change the version.
44
+ * Staff status, explicit desk priority and original queue position are
45
+ * preserved. A closed entry is not reopened. This registers a waiting-list
46
+ * request, never an appointment. Then tell the patient the clinic's team will
47
+ * contact them.
37
48
  */
38
49
  join(request: JoinRequest, options?: RequestOptions): Promise<JoinResponse>;
39
50
  /**
@@ -24,10 +24,11 @@ export interface Client {
24
24
  /**
25
25
  * Send the daily report now
26
26
  *
27
- * Email the daily report now to the recipients in `settings.dailyReport`,
28
- * whether or not it goes out by itself each day: the calls and conversations
29
- * registered in the last 24 hours, the conversations waiting for the team and
30
- * those that need a review. It arrives within a minute. Fails with
27
+ * Email the daily report now to the workspace owners with product access and
28
+ * the additional recipients in `settings.dailyReport`, whether or not it goes
29
+ * out by itself each day: the calls and conversations registered in the last
30
+ * 24 hours, the conversations waiting for the team and those that need a
31
+ * review. It arrives within a minute. Fails with
31
32
  * DAILY_REPORT_RECIPIENTS_MISSING when the report has no recipients, and
32
33
  * DAILY_REPORT_IN_PROGRESS while a report asked for earlier is still on its
33
34
  * way.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.28.0",
3
+ "version": "5.30.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",
@@ -57,8 +57,8 @@
57
57
  "packageManager": "bun@1.4.3",
58
58
  "arbol": {
59
59
  "openapi": {
60
- "release": "1.20261102.184552",
61
- "sha256": "e34650b3a648f26a1dde140e596839fe84e6e50dc89b5dc1d3a16ee2fd65ea24"
60
+ "release": "1.20261103.203558",
61
+ "sha256": "4f7c46eb0ec3879adf357e4c8a4c766c1d6b4d46e894d7dbc265c40ae34b50ed"
62
62
  }
63
63
  }
64
64
  }