@arbol-ai/sdk 5.40.0 → 5.41.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 (39) hide show
  1. package/dist/client.d.ts +2 -0
  2. package/dist/client.js +5 -0
  3. package/dist/insights/client.d.ts +13 -0
  4. package/dist/insights/client.js +15 -0
  5. package/dist/insights/index.d.ts +4 -0
  6. package/dist/insights/index.js +4 -0
  7. package/dist/insights/reports/client.d.ts +57 -0
  8. package/dist/insights/reports/client.js +27 -0
  9. package/dist/insights/reports/index.d.ts +5 -0
  10. package/dist/insights/reports/index.js +4 -0
  11. package/dist/insights/reports/models.d.ts +166 -0
  12. package/dist/insights/reports/models.js +10 -0
  13. package/dist/raiz/conversations/models.d.ts +2 -0
  14. package/dist/raiz/models.d.ts +1 -1
  15. package/dist/saludTotal/affiliations/client.js +1 -1
  16. package/dist/saludTotal/affiliations/models.d.ts +3 -3
  17. package/dist/saludTotal/authorizations/client.d.ts +38 -9
  18. package/dist/saludTotal/authorizations/client.js +12 -4
  19. package/dist/saludTotal/authorizations/index.d.ts +2 -2
  20. package/dist/saludTotal/authorizations/models.d.ts +167 -4
  21. package/dist/saludTotal/authorizations/models.js +18 -1
  22. package/dist/saludTotal/filings/client.d.ts +1 -1
  23. package/dist/saludTotal/filings/client.js +2 -2
  24. package/dist/saludTotal/filings/index.d.ts +1 -1
  25. package/dist/saludTotal/filings/models.d.ts +50 -3
  26. package/dist/saludTotal/filings/models.js +4 -1
  27. package/dist/saludTotal/index.d.ts +1 -1
  28. package/dist/saludTotal/invoices/client.js +1 -1
  29. package/dist/saludTotal/invoices/models.d.ts +3 -3
  30. package/dist/saludTotal/models.d.ts +79 -48
  31. package/dist/saludTotal/models.js +1 -4
  32. package/dist/saludTotal/notices/client.js +1 -1
  33. package/dist/saludTotal/notices/models.d.ts +3 -3
  34. package/dist/visoft/appointments/client.d.ts +46 -1
  35. package/dist/visoft/appointments/client.js +9 -1
  36. package/dist/visoft/appointments/index.d.ts +2 -2
  37. package/dist/visoft/appointments/models.d.ts +82 -1
  38. package/dist/visoft/appointments/models.js +10 -1
  39. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  export { ApiError } from "../../_/index.js";
2
2
  export type { RequestOptions } from "../../_/index.js";
3
3
  export { createClient } from "./client.js";
4
- export type { Client, ClientOptions, CancelRequest, CancelResponse, CreateRequest, CreateResponse, } from "./client.js";
5
- export type { VisoftAppointmentNotCancellableFailure, VisoftAppointmentReferenceInvalidFailure, VisoftAppointmentRequestExistsFailure, VisoftAppointmentRequestExistsFailureData, VisoftBooking, VisoftBookingRefusedFailure, VisoftBookingRefusedFailureData, VisoftBookingResponse, VisoftCancelAppointmentBadGatewayError, VisoftCancelAppointmentBadGatewayFailure, VisoftCancelAppointmentBody, VisoftCancelAppointmentConflictError, VisoftCancelAppointmentConflictFailure, VisoftCancelAppointmentUnprocessableContentError, VisoftCancelAppointmentUnprocessableContentFailure, VisoftCancelNoticeRequiredFailure, VisoftCancelTimeUnverifiedFailure, VisoftCancellation, VisoftCancellationRefusedFailure, VisoftCancellationRefusedFailureData, VisoftCancellationResponse, VisoftCreateAppointmentBadGatewayError, VisoftCreateAppointmentBadGatewayFailure, VisoftCreateAppointmentBody, VisoftCreateAppointmentConflictError, VisoftCreateAppointmentConflictFailure, VisoftCreateAppointmentUnprocessableContentError, VisoftCreateAppointmentUnprocessableContentFailure, } from "./models.js";
4
+ export type { Client, ClientOptions, CancelRequest, CancelResponse, CreateRequest, CreateResponse, ListRequest, ListResponse, } from "./client.js";
5
+ export type { VisoftAppointmentNotCancellableFailure, VisoftAppointmentReferenceInvalidFailure, VisoftAppointmentRequestExistsFailure, VisoftAppointmentRequestExistsFailureData, VisoftAssignedAppointment, VisoftAssignedAppointmentPage, VisoftAssignedAppointmentPageResponse, VisoftBooking, VisoftBookingRefusedFailure, VisoftBookingRefusedFailureData, VisoftBookingResponse, VisoftCancelAppointmentBadGatewayError, VisoftCancelAppointmentBadGatewayFailure, VisoftCancelAppointmentBody, VisoftCancelAppointmentConflictError, VisoftCancelAppointmentConflictFailure, VisoftCancelAppointmentUnprocessableContentError, VisoftCancelAppointmentUnprocessableContentFailure, VisoftCancelNoticeRequiredFailure, VisoftCancelTimeUnverifiedFailure, VisoftCancellation, VisoftCancellationRefusedFailure, VisoftCancellationRefusedFailureData, VisoftCancellationResponse, VisoftCreateAppointmentBadGatewayError, VisoftCreateAppointmentBadGatewayFailure, VisoftCreateAppointmentBody, VisoftCreateAppointmentConflictError, VisoftCreateAppointmentConflictFailure, VisoftCreateAppointmentUnprocessableContentError, VisoftCreateAppointmentUnprocessableContentFailure, VisoftListAppointmentsBadGatewayError, VisoftListAppointmentsBadGatewayFailure, VisoftListAppointmentsUnprocessableContentError, VisoftListAppointmentsUnprocessableContentFailure, } from "./models.js";
@@ -1,4 +1,4 @@
1
- import type { Empty, OutcomeUnknownFailure, ResponseMetadata } from "../../models.js";
1
+ import type { Empty, OutcomeUnknownFailure, PageInfo, ResponseMetadata } from "../../models.js";
2
2
  import type { VisoftAgencyNotServedFailure, VisoftConnectionNotConfiguredFailure, VisoftCredentialsRejectedFailure, VisoftProviderUnavailableFailure } from "../models.js";
3
3
  /**
4
4
  * The appointment is no longer cancellable in the patient's current agenda;
@@ -70,6 +70,58 @@ export interface VisoftAppointmentRequestExistsFailureData {
70
70
  */
71
71
  message: string;
72
72
  }
73
+ export interface VisoftAssignedAppointment {
74
+ agencyCode: string;
75
+ /**
76
+ * SIIPS's attendance flag, as stored.
77
+ */
78
+ attended: string;
79
+ patientName: string;
80
+ /**
81
+ * SIIPS's contact phone text; may be empty or contain several numbers.
82
+ */
83
+ phone: string;
84
+ professionalId: string;
85
+ professionalName: string;
86
+ /**
87
+ * The assigned appointment's opaque SIIPS reference.
88
+ */
89
+ reference: string;
90
+ service: string;
91
+ specialty: string;
92
+ /**
93
+ * The moment, as an RFC 3339 instant written in the clinic's own offset (for
94
+ * example "2026-11-04T08:50:00-05:00"), so its first ten characters are the
95
+ * clinic's day and the next eight its hour.
96
+ */
97
+ startsAt: Temporal.Instant;
98
+ }
99
+ export interface VisoftAssignedAppointmentPage {
100
+ /**
101
+ * Items admitted by this resource contract within the verified organization.
102
+ */
103
+ data: VisoftAssignedAppointment[];
104
+ /**
105
+ * Discriminator for a resource list response.
106
+ */
107
+ object: "list";
108
+ /**
109
+ * Opaque navigation cursors for this page’s stable keyset order.
110
+ */
111
+ pageInfo: PageInfo;
112
+ }
113
+ /**
114
+ * A successful answer.
115
+ */
116
+ export interface VisoftAssignedAppointmentPageResponse {
117
+ data: VisoftAssignedAppointmentPage;
118
+ error: null;
119
+ /**
120
+ * What every answer carries besides its data or error.
121
+ */
122
+ metadata: ResponseMetadata;
123
+ success: true;
124
+ }
73
125
  export interface VisoftBooking {
74
126
  /**
75
127
  * The professional's SIIPS id.
@@ -387,6 +439,35 @@ export interface VisoftCreateAppointmentUnprocessableContentError {
387
439
  success: false;
388
440
  }
389
441
  export type VisoftCreateAppointmentUnprocessableContentFailure = VisoftCredentialsRejectedFailure | VisoftAgencyNotServedFailure | VisoftBookingRefusedFailure;
442
+ /**
443
+ * A failed answer.
444
+ */
445
+ export interface VisoftListAppointmentsBadGatewayError {
446
+ data: null;
447
+ error: VisoftListAppointmentsBadGatewayFailure;
448
+ /**
449
+ * What every answer carries besides its data or error.
450
+ */
451
+ metadata: ResponseMetadata;
452
+ success: false;
453
+ }
454
+ export type VisoftListAppointmentsBadGatewayFailure = OutcomeUnknownFailure | VisoftProviderUnavailableFailure;
455
+ /**
456
+ * A failed answer.
457
+ */
458
+ export interface VisoftListAppointmentsUnprocessableContentError {
459
+ data: null;
460
+ error: VisoftListAppointmentsUnprocessableContentFailure;
461
+ /**
462
+ * What every answer carries besides its data or error.
463
+ */
464
+ metadata: ResponseMetadata;
465
+ success: false;
466
+ }
467
+ export type VisoftListAppointmentsUnprocessableContentFailure = VisoftCredentialsRejectedFailure | VisoftAgencyNotServedFailure;
468
+ export declare const VisoftAssignedAppointmentCodec: import("../../_/codec.js").Codec;
469
+ export declare const VisoftAssignedAppointmentPageCodec: import("../../_/codec.js").Codec;
470
+ export declare const VisoftAssignedAppointmentPageResponseCodec: import("../../_/codec.js").Codec;
390
471
  export declare const VisoftBookingCodec: import("../../_/codec.js").Codec;
391
472
  export declare const VisoftBookingResponseCodec: import("../../_/codec.js").Codec;
392
473
  export declare const VisoftCancellationCodec: import("../../_/codec.js").Codec;
@@ -1,6 +1,15 @@
1
1
  // Code generated by forge. DO NOT EDIT.
2
2
  /* eslint-disable */
3
- import { instant, object } from "../../_/index.js";
3
+ import { array, instant, object } from "../../_/index.js";
4
+ export const VisoftAssignedAppointmentCodec = object([
5
+ ["startsAt", null, instant],
6
+ ]);
7
+ export const VisoftAssignedAppointmentPageCodec = object([
8
+ ["data", null, array(() => VisoftAssignedAppointmentCodec)],
9
+ ]);
10
+ export const VisoftAssignedAppointmentPageResponseCodec = object([
11
+ ["data", null, () => VisoftAssignedAppointmentPageCodec],
12
+ ]);
4
13
  export const VisoftBookingCodec = object([
5
14
  ["startsAt", null, instant],
6
15
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.40.0",
3
+ "version": "5.41.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.20261105.212004",
62
- "sha256": "a32ec00dfc0c9e3b9ba937ca70389051bec347a58cb58f41741d7f9677b31421"
61
+ "release": "1.20261106.171439",
62
+ "sha256": "e7c2c8058a6f848070f1d5933ea788446ac39acb99aa97b4f6eed2f83162f71f"
63
63
  }
64
64
  }
65
65
  }