@arbol-ai/sdk 5.36.0 → 5.38.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 (149) hide show
  1. package/dist/client.d.ts +4 -0
  2. package/dist/client.js +10 -0
  3. package/dist/comfachoco/affiliations/client.d.ts +3 -1
  4. package/dist/comfachoco/affiliations/index.d.ts +1 -1
  5. package/dist/comfachoco/affiliations/models.d.ts +13 -6
  6. package/dist/comfachoco/connections/models.d.ts +11 -11
  7. package/dist/comfachoco/index.d.ts +1 -1
  8. package/dist/comfachoco/models.d.ts +0 -63
  9. package/dist/index.d.ts +1 -1
  10. package/dist/models.d.ts +63 -0
  11. package/dist/oficlinic/affiliateTypes/client.d.ts +55 -0
  12. package/dist/oficlinic/affiliateTypes/client.js +18 -0
  13. package/dist/oficlinic/affiliateTypes/index.d.ts +5 -0
  14. package/dist/oficlinic/affiliateTypes/index.js +4 -0
  15. package/dist/oficlinic/affiliateTypes/models.d.ts +135 -0
  16. package/dist/oficlinic/affiliateTypes/models.js +3 -0
  17. package/dist/oficlinic/appointments/client.d.ts +91 -0
  18. package/dist/oficlinic/appointments/client.js +35 -0
  19. package/dist/oficlinic/appointments/index.d.ts +5 -0
  20. package/dist/oficlinic/appointments/index.js +4 -0
  21. package/dist/oficlinic/appointments/models.d.ts +777 -0
  22. package/dist/oficlinic/appointments/models.js +15 -0
  23. package/dist/oficlinic/bookingDays/client.d.ts +64 -0
  24. package/dist/oficlinic/bookingDays/client.js +18 -0
  25. package/dist/oficlinic/bookingDays/index.d.ts +5 -0
  26. package/dist/oficlinic/bookingDays/index.js +4 -0
  27. package/dist/oficlinic/bookingDays/models.d.ts +142 -0
  28. package/dist/oficlinic/bookingDays/models.js +3 -0
  29. package/dist/oficlinic/bookingProfessionals/client.d.ts +76 -0
  30. package/dist/oficlinic/bookingProfessionals/client.js +19 -0
  31. package/dist/oficlinic/bookingProfessionals/index.d.ts +5 -0
  32. package/dist/oficlinic/bookingProfessionals/index.js +4 -0
  33. package/dist/oficlinic/bookingProfessionals/models.d.ts +159 -0
  34. package/dist/oficlinic/bookingProfessionals/models.js +12 -0
  35. package/dist/oficlinic/bookingRooms/client.d.ts +60 -0
  36. package/dist/oficlinic/bookingRooms/client.js +18 -0
  37. package/dist/oficlinic/bookingRooms/index.d.ts +5 -0
  38. package/dist/oficlinic/bookingRooms/index.js +4 -0
  39. package/dist/oficlinic/bookingRooms/models.d.ts +136 -0
  40. package/dist/oficlinic/bookingRooms/models.js +3 -0
  41. package/dist/oficlinic/bookingSlots/client.d.ts +63 -0
  42. package/dist/oficlinic/bookingSlots/client.js +19 -0
  43. package/dist/oficlinic/bookingSlots/index.d.ts +5 -0
  44. package/dist/oficlinic/bookingSlots/index.js +4 -0
  45. package/dist/oficlinic/bookingSlots/models.d.ts +167 -0
  46. package/dist/oficlinic/bookingSlots/models.js +13 -0
  47. package/dist/oficlinic/cancellationReasons/client.d.ts +49 -0
  48. package/dist/oficlinic/cancellationReasons/client.js +18 -0
  49. package/dist/oficlinic/cancellationReasons/index.d.ts +5 -0
  50. package/dist/oficlinic/cancellationReasons/index.js +4 -0
  51. package/dist/oficlinic/cancellationReasons/models.d.ts +114 -0
  52. package/dist/oficlinic/cancellationReasons/models.js +3 -0
  53. package/dist/oficlinic/client.d.ts +49 -0
  54. package/dist/oficlinic/client.js +105 -0
  55. package/dist/oficlinic/connections/client.d.ts +45 -0
  56. package/dist/oficlinic/connections/client.js +25 -0
  57. package/dist/oficlinic/connections/index.d.ts +5 -0
  58. package/dist/oficlinic/connections/index.js +4 -0
  59. package/dist/oficlinic/connections/models.d.ts +40 -0
  60. package/dist/oficlinic/connections/models.js +10 -0
  61. package/dist/oficlinic/index.d.ts +5 -0
  62. package/dist/oficlinic/index.js +4 -0
  63. package/dist/oficlinic/models.d.ts +403 -0
  64. package/dist/oficlinic/models.js +3 -0
  65. package/dist/oficlinic/patients/client.d.ts +27 -0
  66. package/dist/oficlinic/patients/client.js +19 -0
  67. package/dist/oficlinic/patients/index.d.ts +5 -0
  68. package/dist/oficlinic/patients/index.js +4 -0
  69. package/dist/oficlinic/patients/models.d.ts +134 -0
  70. package/dist/oficlinic/patients/models.js +13 -0
  71. package/dist/oficlinic/payerContracts/client.d.ts +55 -0
  72. package/dist/oficlinic/payerContracts/client.js +18 -0
  73. package/dist/oficlinic/payerContracts/index.d.ts +5 -0
  74. package/dist/oficlinic/payerContracts/index.js +4 -0
  75. package/dist/oficlinic/payerContracts/models.d.ts +154 -0
  76. package/dist/oficlinic/payerContracts/models.js +3 -0
  77. package/dist/oficlinic/payerPlans/client.d.ts +54 -0
  78. package/dist/oficlinic/payerPlans/client.js +18 -0
  79. package/dist/oficlinic/payerPlans/index.d.ts +5 -0
  80. package/dist/oficlinic/payerPlans/index.js +4 -0
  81. package/dist/oficlinic/payerPlans/models.d.ts +138 -0
  82. package/dist/oficlinic/payerPlans/models.js +3 -0
  83. package/dist/oficlinic/payerSubplans/client.d.ts +58 -0
  84. package/dist/oficlinic/payerSubplans/client.js +18 -0
  85. package/dist/oficlinic/payerSubplans/index.d.ts +5 -0
  86. package/dist/oficlinic/payerSubplans/index.js +4 -0
  87. package/dist/oficlinic/payerSubplans/models.d.ts +150 -0
  88. package/dist/oficlinic/payerSubplans/models.js +3 -0
  89. package/dist/oficlinic/payers/client.d.ts +50 -0
  90. package/dist/oficlinic/payers/client.js +18 -0
  91. package/dist/oficlinic/payers/index.d.ts +5 -0
  92. package/dist/oficlinic/payers/index.js +4 -0
  93. package/dist/oficlinic/payers/models.d.ts +139 -0
  94. package/dist/oficlinic/payers/models.js +3 -0
  95. package/dist/oficlinic/professionals/client.d.ts +51 -0
  96. package/dist/oficlinic/professionals/client.js +18 -0
  97. package/dist/oficlinic/professionals/index.d.ts +5 -0
  98. package/dist/oficlinic/professionals/index.js +4 -0
  99. package/dist/oficlinic/professionals/models.d.ts +125 -0
  100. package/dist/oficlinic/professionals/models.js +3 -0
  101. package/dist/oficlinic/programs/client.d.ts +54 -0
  102. package/dist/oficlinic/programs/client.js +18 -0
  103. package/dist/oficlinic/programs/index.d.ts +5 -0
  104. package/dist/oficlinic/programs/index.js +4 -0
  105. package/dist/oficlinic/programs/models.d.ts +133 -0
  106. package/dist/oficlinic/programs/models.js +3 -0
  107. package/dist/oficlinic/regimes/client.d.ts +50 -0
  108. package/dist/oficlinic/regimes/client.js +18 -0
  109. package/dist/oficlinic/regimes/index.d.ts +5 -0
  110. package/dist/oficlinic/regimes/index.js +4 -0
  111. package/dist/oficlinic/regimes/models.d.ts +117 -0
  112. package/dist/oficlinic/regimes/models.js +3 -0
  113. package/dist/oficlinic/relationships/client.d.ts +49 -0
  114. package/dist/oficlinic/relationships/client.js +18 -0
  115. package/dist/oficlinic/relationships/index.d.ts +5 -0
  116. package/dist/oficlinic/relationships/index.js +4 -0
  117. package/dist/oficlinic/relationships/models.d.ts +118 -0
  118. package/dist/oficlinic/relationships/models.js +3 -0
  119. package/dist/oficlinic/serviceCatalog/client.d.ts +50 -0
  120. package/dist/oficlinic/serviceCatalog/client.js +27 -0
  121. package/dist/oficlinic/serviceCatalog/index.d.ts +5 -0
  122. package/dist/oficlinic/serviceCatalog/index.js +4 -0
  123. package/dist/oficlinic/serviceCatalog/models.d.ts +126 -0
  124. package/dist/oficlinic/serviceCatalog/models.js +13 -0
  125. package/dist/oficlinic/services/client.d.ts +84 -0
  126. package/dist/oficlinic/services/client.js +27 -0
  127. package/dist/oficlinic/services/index.d.ts +5 -0
  128. package/dist/oficlinic/services/index.js +4 -0
  129. package/dist/oficlinic/services/models.d.ts +437 -0
  130. package/dist/oficlinic/services/models.js +12 -0
  131. package/dist/sanitas/affiliations/client.d.ts +22 -0
  132. package/dist/sanitas/affiliations/client.js +19 -0
  133. package/dist/sanitas/affiliations/index.d.ts +5 -0
  134. package/dist/sanitas/affiliations/index.js +4 -0
  135. package/dist/sanitas/affiliations/models.d.ts +86 -0
  136. package/dist/sanitas/affiliations/models.js +9 -0
  137. package/dist/sanitas/client.d.ts +15 -0
  138. package/dist/sanitas/client.js +20 -0
  139. package/dist/sanitas/connections/client.d.ts +25 -0
  140. package/dist/sanitas/connections/client.js +18 -0
  141. package/dist/sanitas/connections/index.d.ts +5 -0
  142. package/dist/sanitas/connections/index.js +4 -0
  143. package/dist/sanitas/connections/models.d.ts +74 -0
  144. package/dist/sanitas/connections/models.js +9 -0
  145. package/dist/sanitas/index.d.ts +5 -0
  146. package/dist/sanitas/index.js +4 -0
  147. package/dist/sanitas/models.d.ts +220 -0
  148. package/dist/sanitas/models.js +3 -0
  149. package/package.json +3 -3
@@ -0,0 +1,5 @@
1
+ export { ApiError } from "../../_/index.js";
2
+ export type { RequestOptions } from "../../_/index.js";
3
+ export { createClient } from "./client.js";
4
+ export type { Client, ClientOptions, GetRequest, GetResponse, } from "./client.js";
5
+ export type { SanitasGetConnectionBadGatewayError, SanitasGetConnectionBadGatewayFailure, SanitasGetConnectionConflictError, SanitasGetConnectionConflictFailure, SanitasGetConnectionServiceUnavailableError, SanitasGetConnectionServiceUnavailableFailure, SanitasGetConnectionTooManyRequestsError, SanitasGetConnectionTooManyRequestsFailure, SanitasSanitasConnection, SanitasSanitasConnectionResponse, } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,74 @@
1
+ import type { OutcomeUnknownFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
+ import type { SanitasConnectionRequiredFailure, SanitasLoginCoolingDownFailure, SanitasPatientUnresolvedFailure, SanitasProviderChallengeRequiredFailure, SanitasProviderProtocolChangedFailure, SanitasProviderSessionExpiredFailure, SanitasProviderUnavailableFailure } from "../models.js";
3
+ /**
4
+ * A failed answer.
5
+ */
6
+ export interface SanitasGetConnectionBadGatewayError {
7
+ data: null;
8
+ error: SanitasGetConnectionBadGatewayFailure;
9
+ /**
10
+ * What every answer carries besides its data or error.
11
+ */
12
+ metadata: ResponseMetadata;
13
+ success: false;
14
+ }
15
+ export type SanitasGetConnectionBadGatewayFailure = OutcomeUnknownFailure | SanitasProviderProtocolChangedFailure;
16
+ /**
17
+ * A failed answer.
18
+ */
19
+ export interface SanitasGetConnectionConflictError {
20
+ data: null;
21
+ error: SanitasGetConnectionConflictFailure;
22
+ /**
23
+ * What every answer carries besides its data or error.
24
+ */
25
+ metadata: ResponseMetadata;
26
+ success: false;
27
+ }
28
+ export type SanitasGetConnectionConflictFailure = SanitasConnectionRequiredFailure | SanitasProviderSessionExpiredFailure | SanitasPatientUnresolvedFailure;
29
+ /**
30
+ * A failed answer.
31
+ */
32
+ export interface SanitasGetConnectionServiceUnavailableError {
33
+ data: null;
34
+ error: SanitasGetConnectionServiceUnavailableFailure;
35
+ /**
36
+ * What every answer carries besides its data or error.
37
+ */
38
+ metadata: ResponseMetadata;
39
+ success: false;
40
+ }
41
+ export type SanitasGetConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | SanitasProviderUnavailableFailure | SanitasProviderChallengeRequiredFailure;
42
+ /**
43
+ * A failed answer.
44
+ */
45
+ export interface SanitasGetConnectionTooManyRequestsError {
46
+ data: null;
47
+ error: SanitasGetConnectionTooManyRequestsFailure;
48
+ /**
49
+ * What every answer carries besides its data or error.
50
+ */
51
+ metadata: ResponseMetadata;
52
+ success: false;
53
+ }
54
+ export type SanitasGetConnectionTooManyRequestsFailure = RateLimitedFailure | SanitasLoginCoolingDownFailure;
55
+ export interface SanitasSanitasConnection {
56
+ errorCode: string | null;
57
+ id: string;
58
+ status: "active" | "failed";
59
+ verifiedAt: Temporal.Instant | null;
60
+ }
61
+ /**
62
+ * A successful answer.
63
+ */
64
+ export interface SanitasSanitasConnectionResponse {
65
+ data: SanitasSanitasConnection;
66
+ error: null;
67
+ /**
68
+ * What every answer carries besides its data or error.
69
+ */
70
+ metadata: ResponseMetadata;
71
+ success: true;
72
+ }
73
+ export declare const SanitasSanitasConnectionCodec: import("../../_/codec.js").Codec;
74
+ export declare const SanitasSanitasConnectionResponseCodec: import("../../_/codec.js").Codec;
@@ -0,0 +1,9 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { instant, object } from "../../_/index.js";
4
+ export const SanitasSanitasConnectionCodec = object([
5
+ ["verifiedAt", null, instant],
6
+ ]);
7
+ export const SanitasSanitasConnectionResponseCodec = object([
8
+ ["data", null, () => SanitasSanitasConnectionCodec],
9
+ ]);
@@ -0,0 +1,5 @@
1
+ export { ApiError } from "../_/index.js";
2
+ export type { RequestOptions } from "../_/index.js";
3
+ export { createClient } from "./client.js";
4
+ export type { Client, ClientOptions, } from "./client.js";
5
+ export type { SanitasConnectionNotFoundError, SanitasConnectionNotFoundFailure, SanitasConnectionRequiredFailure, SanitasCredentialsRejectedError, SanitasCredentialsRejectedFailure, SanitasLoginCoolingDownFailure, SanitasPatientUnresolvedFailure, SanitasProviderChallengeRequiredFailure, SanitasProviderProtocolChangedFailure, SanitasProviderSessionExpiredFailure, SanitasProviderUnavailableFailure, } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,220 @@
1
+ import type { Empty, ResponseMetadata } from "../models.js";
2
+ /**
3
+ * A failed answer.
4
+ */
5
+ export interface SanitasConnectionNotFoundError {
6
+ data: null;
7
+ /**
8
+ * The connection is unavailable in this organization.
9
+ */
10
+ error: SanitasConnectionNotFoundFailure;
11
+ /**
12
+ * What every answer carries besides its data or error.
13
+ */
14
+ metadata: ResponseMetadata;
15
+ success: false;
16
+ }
17
+ /**
18
+ * The connection is unavailable in this organization.
19
+ */
20
+ export interface SanitasConnectionNotFoundFailure {
21
+ /**
22
+ * The failure code, stable across releases.
23
+ */
24
+ code: "CONNECTION_NOT_FOUND";
25
+ /**
26
+ * No fields.
27
+ */
28
+ data: Empty;
29
+ /**
30
+ * What went wrong, for people; it never contains input values.
31
+ */
32
+ message: string;
33
+ /**
34
+ * Whether repeating the same request may succeed.
35
+ */
36
+ retryable: false;
37
+ }
38
+ /**
39
+ * Select an active Sanitas connection.
40
+ */
41
+ export interface SanitasConnectionRequiredFailure {
42
+ /**
43
+ * The failure code, stable across releases.
44
+ */
45
+ code: "CONNECTION_REQUIRED";
46
+ /**
47
+ * No fields.
48
+ */
49
+ data: Empty;
50
+ /**
51
+ * What went wrong, for people; it never contains input values.
52
+ */
53
+ message: string;
54
+ /**
55
+ * Whether repeating the same request may succeed.
56
+ */
57
+ retryable: false;
58
+ }
59
+ /**
60
+ * A failed answer.
61
+ */
62
+ export interface SanitasCredentialsRejectedError {
63
+ data: null;
64
+ /**
65
+ * The provider refused these credentials.
66
+ */
67
+ error: SanitasCredentialsRejectedFailure;
68
+ /**
69
+ * What every answer carries besides its data or error.
70
+ */
71
+ metadata: ResponseMetadata;
72
+ success: false;
73
+ }
74
+ /**
75
+ * The provider refused these credentials.
76
+ */
77
+ export interface SanitasCredentialsRejectedFailure {
78
+ /**
79
+ * The failure code, stable across releases.
80
+ */
81
+ code: "CREDENTIALS_REJECTED";
82
+ /**
83
+ * No fields.
84
+ */
85
+ data: Empty;
86
+ /**
87
+ * What went wrong, for people; it never contains input values.
88
+ */
89
+ message: string;
90
+ /**
91
+ * Whether repeating the same request may succeed.
92
+ */
93
+ retryable: false;
94
+ }
95
+ /**
96
+ * Provider authentication is temporarily paused.
97
+ */
98
+ export interface SanitasLoginCoolingDownFailure {
99
+ /**
100
+ * The failure code, stable across releases.
101
+ */
102
+ code: "LOGIN_COOLING_DOWN";
103
+ /**
104
+ * No fields.
105
+ */
106
+ data: Empty;
107
+ /**
108
+ * What went wrong, for people; it never contains input values.
109
+ */
110
+ message: string;
111
+ /**
112
+ * Whether repeating the same request may succeed.
113
+ */
114
+ retryable: false;
115
+ }
116
+ /**
117
+ * The provider did not return one matching contract. Coverage is unknown.
118
+ */
119
+ export interface SanitasPatientUnresolvedFailure {
120
+ /**
121
+ * The failure code, stable across releases.
122
+ */
123
+ code: "PATIENT_UNRESOLVED";
124
+ /**
125
+ * No fields.
126
+ */
127
+ data: Empty;
128
+ /**
129
+ * What went wrong, for people; it never contains input values.
130
+ */
131
+ message: string;
132
+ /**
133
+ * Whether repeating the same request may succeed.
134
+ */
135
+ retryable: false;
136
+ }
137
+ /**
138
+ * The provider requires an interactive challenge. Coverage is unknown.
139
+ */
140
+ export interface SanitasProviderChallengeRequiredFailure {
141
+ /**
142
+ * The failure code, stable across releases.
143
+ */
144
+ code: "PROVIDER_CHALLENGE_REQUIRED";
145
+ /**
146
+ * No fields.
147
+ */
148
+ data: Empty;
149
+ /**
150
+ * What went wrong, for people; it never contains input values.
151
+ */
152
+ message: string;
153
+ /**
154
+ * Whether repeating the same request may succeed.
155
+ */
156
+ retryable: false;
157
+ }
158
+ /**
159
+ * The provider response could not be verified.
160
+ */
161
+ export interface SanitasProviderProtocolChangedFailure {
162
+ /**
163
+ * The failure code, stable across releases.
164
+ */
165
+ code: "PROVIDER_PROTOCOL_CHANGED";
166
+ /**
167
+ * No fields.
168
+ */
169
+ data: Empty;
170
+ /**
171
+ * What went wrong, for people; it never contains input values.
172
+ */
173
+ message: string;
174
+ /**
175
+ * Whether repeating the same request may succeed.
176
+ */
177
+ retryable: false;
178
+ }
179
+ /**
180
+ * The provider session requires verification.
181
+ */
182
+ export interface SanitasProviderSessionExpiredFailure {
183
+ /**
184
+ * The failure code, stable across releases.
185
+ */
186
+ code: "PROVIDER_SESSION_EXPIRED";
187
+ /**
188
+ * No fields.
189
+ */
190
+ data: Empty;
191
+ /**
192
+ * What went wrong, for people; it never contains input values.
193
+ */
194
+ message: string;
195
+ /**
196
+ * Whether repeating the same request may succeed.
197
+ */
198
+ retryable: false;
199
+ }
200
+ /**
201
+ * The provider is temporarily unavailable. Coverage is unknown.
202
+ */
203
+ export interface SanitasProviderUnavailableFailure {
204
+ /**
205
+ * The failure code, stable across releases.
206
+ */
207
+ code: "PROVIDER_UNAVAILABLE";
208
+ /**
209
+ * No fields.
210
+ */
211
+ data: Empty;
212
+ /**
213
+ * What went wrong, for people; it never contains input values.
214
+ */
215
+ message: string;
216
+ /**
217
+ * Whether repeating the same request may succeed.
218
+ */
219
+ retryable: true;
220
+ }
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.36.0",
3
+ "version": "5.38.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.52326",
62
- "sha256": "afc06a2cff07753a22d3364a2e0ab74e9883551748c112aef44db297bd08b660"
61
+ "release": "1.20261105.142412",
62
+ "sha256": "12f082ea2aa4a683c8d9b2cd0da26addee085672cdc67b386ea5da4596f08152"
63
63
  }
64
64
  }
65
65
  }