@arbol-ai/sdk 5.51.0 → 5.53.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.
@@ -1,5 +1,5 @@
1
1
  import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
- import { type OficlinicCreateAppointmentBody, type OficlinicCreateAppointmentResultResponse, type OficlinicLookupAppointmentsBody, type OficlinicLookupAppointmentsResultResponse, type OficlinicRescheduleAppointmentBody, type OficlinicRescheduleAppointmentResultResponse } from "./models.js";
2
+ import { type OficlinicCancelAppointmentBody, type OficlinicCancelAppointmentResultResponse, type OficlinicCreateAppointmentBody, type OficlinicCreateAppointmentResultResponse, type OficlinicLookupAppointmentsBody, type OficlinicLookupAppointmentsResultResponse, type OficlinicRescheduleAppointmentBody, type OficlinicRescheduleAppointmentResultResponse } from "./models.js";
3
3
  export interface ClientOptions extends BaseClientOptions {
4
4
  /**
5
5
  * The URL the paths of the API are relative to.
@@ -7,6 +7,20 @@ export interface ClientOptions extends BaseClientOptions {
7
7
  baseUrl: string;
8
8
  }
9
9
  export interface Client {
10
+ /**
11
+ * Cancel an appointment
12
+ *
13
+ * Cancel one upcoming assigned e-Oficlinic appointment of the patient
14
+ * resolved by citizenship card. Use the exact CAS (serviceNumber) from that
15
+ * patient's assigned appointments, one exact listed cancellation reason, and
16
+ * confirm true only after the patient or authorized staff confirms this
17
+ * specific cancellation. The same idempotency key and request return the
18
+ * recorded result without sending again. OUTCOME_UNKNOWN means the
19
+ * cancellation may have happened: look up the patient's cancelled
20
+ * appointments and do not dispatch it again. agentMode true answers concise
21
+ * Spanish text instead.
22
+ */
23
+ cancel(request: CancelRequest, options?: RequestOptions): Promise<CancelResponse>;
10
24
  /**
11
25
  * Create an appointment
12
26
  *
@@ -77,6 +91,13 @@ export interface Client {
77
91
  }
78
92
  export declare function createClient(options: ClientOptions): Client;
79
93
  export declare function bind(transport: Transport): Client;
94
+ export type CancelRequest = {
95
+ /**
96
+ * The appointment id.
97
+ */
98
+ appointmentId: string;
99
+ } & OficlinicCancelAppointmentBody;
100
+ export type CancelResponse = OficlinicCancelAppointmentResultResponse;
80
101
  export type CreateRequest = OficlinicCreateAppointmentBody;
81
102
  export type CreateResponse = OficlinicCreateAppointmentResultResponse;
82
103
  export type LookupRequest = OficlinicLookupAppointmentsBody;
@@ -7,11 +7,19 @@ export function createClient(options) {
7
7
  }
8
8
  export function bind(transport) {
9
9
  return {
10
+ cancel: (request, options) => transport.send(CancelOperation, request, options),
10
11
  create: (request, options) => transport.send(CreateOperation, request, options),
11
12
  lookup: (request, options) => transport.send(LookupOperation, request, options),
12
13
  reschedule: (request, options) => transport.send(RescheduleOperation, request, options),
13
14
  };
14
15
  }
16
+ const CancelOperation = {
17
+ method: "POST",
18
+ route: "/v1/oficlinic/appointments/{appointmentId}/cancel",
19
+ body: "flat",
20
+ response: null,
21
+ errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "415": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
22
+ };
15
23
  const CreateOperation = {
16
24
  method: "POST",
17
25
  route: "/v1/oficlinic/appointments",
@@ -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, CreateRequest, CreateResponse, LookupRequest, LookupResponse, RescheduleRequest, RescheduleResponse, } from "./client.js";
5
- export type { OficlinicAppointment, OficlinicAppointmentBooking, OficlinicAppointmentNotFoundFailure, OficlinicAppointmentNotReschedulableFailure, OficlinicAppointmentPage, OficlinicAppointmentReschedule, OficlinicCreateAppointmentBadGatewayError, OficlinicCreateAppointmentBadGatewayFailure, OficlinicCreateAppointmentBody, OficlinicCreateAppointmentConflictError, OficlinicCreateAppointmentConflictFailure, OficlinicCreateAppointmentNotFoundError, OficlinicCreateAppointmentNotFoundFailure, OficlinicCreateAppointmentResult, OficlinicCreateAppointmentResultResponse, OficlinicCreateAppointmentServiceUnavailableError, OficlinicCreateAppointmentServiceUnavailableFailure, OficlinicCreateAppointmentTooManyRequestsError, OficlinicCreateAppointmentTooManyRequestsFailure, OficlinicCreateAppointmentUnprocessableContentError, OficlinicCreateAppointmentUnprocessableContentFailure, OficlinicIdempotencyKeyReusedFailure, OficlinicLookupAppointmentsBadGatewayError, OficlinicLookupAppointmentsBadGatewayFailure, OficlinicLookupAppointmentsBadRequestError, OficlinicLookupAppointmentsBadRequestFailure, OficlinicLookupAppointmentsBody, OficlinicLookupAppointmentsConflictError, OficlinicLookupAppointmentsConflictFailure, OficlinicLookupAppointmentsNotFoundError, OficlinicLookupAppointmentsNotFoundFailure, OficlinicLookupAppointmentsResult, OficlinicLookupAppointmentsResultResponse, OficlinicLookupAppointmentsServiceUnavailableError, OficlinicLookupAppointmentsServiceUnavailableFailure, OficlinicLookupAppointmentsTooManyRequestsError, OficlinicLookupAppointmentsTooManyRequestsFailure, OficlinicLookupAppointmentsUnprocessableContentError, OficlinicLookupAppointmentsUnprocessableContentFailure, OficlinicPatientNotFoundFailure, OficlinicRescheduleAppointmentBadGatewayError, OficlinicRescheduleAppointmentBadGatewayFailure, OficlinicRescheduleAppointmentBody, OficlinicRescheduleAppointmentConflictError, OficlinicRescheduleAppointmentConflictFailure, OficlinicRescheduleAppointmentNotFoundError, OficlinicRescheduleAppointmentNotFoundFailure, OficlinicRescheduleAppointmentResult, OficlinicRescheduleAppointmentResultResponse, OficlinicRescheduleAppointmentServiceUnavailableError, OficlinicRescheduleAppointmentServiceUnavailableFailure, OficlinicRescheduleAppointmentTooManyRequestsError, OficlinicRescheduleAppointmentTooManyRequestsFailure, OficlinicRescheduleAppointmentUnprocessableContentError, OficlinicRescheduleAppointmentUnprocessableContentFailure, OficlinicServiceNotAvailableFailure, OficlinicWriteLedgerFullFailure, OficlinicWriteTargetUnresolvedFailure, } from "./models.js";
4
+ export type { Client, ClientOptions, CancelRequest, CancelResponse, CreateRequest, CreateResponse, LookupRequest, LookupResponse, RescheduleRequest, RescheduleResponse, } from "./client.js";
5
+ export type { OficlinicAppointment, OficlinicAppointmentBooking, OficlinicAppointmentCancellation, OficlinicAppointmentNotCancellableFailure, OficlinicAppointmentNotFoundFailure, OficlinicAppointmentNotReschedulableFailure, OficlinicAppointmentPage, OficlinicAppointmentReschedule, OficlinicCancelAppointmentBadGatewayError, OficlinicCancelAppointmentBadGatewayFailure, OficlinicCancelAppointmentBody, OficlinicCancelAppointmentConflictError, OficlinicCancelAppointmentConflictFailure, OficlinicCancelAppointmentNotFoundError, OficlinicCancelAppointmentNotFoundFailure, OficlinicCancelAppointmentResult, OficlinicCancelAppointmentResultResponse, OficlinicCancelAppointmentServiceUnavailableError, OficlinicCancelAppointmentServiceUnavailableFailure, OficlinicCancelAppointmentTooManyRequestsError, OficlinicCancelAppointmentTooManyRequestsFailure, OficlinicCancelAppointmentUnprocessableContentError, OficlinicCancelAppointmentUnprocessableContentFailure, OficlinicCreateAppointmentBadGatewayError, OficlinicCreateAppointmentBadGatewayFailure, OficlinicCreateAppointmentBody, OficlinicCreateAppointmentConflictError, OficlinicCreateAppointmentConflictFailure, OficlinicCreateAppointmentNotFoundError, OficlinicCreateAppointmentNotFoundFailure, OficlinicCreateAppointmentResult, OficlinicCreateAppointmentResultResponse, OficlinicCreateAppointmentServiceUnavailableError, OficlinicCreateAppointmentServiceUnavailableFailure, OficlinicCreateAppointmentTooManyRequestsError, OficlinicCreateAppointmentTooManyRequestsFailure, OficlinicCreateAppointmentUnprocessableContentError, OficlinicCreateAppointmentUnprocessableContentFailure, OficlinicIdempotencyKeyReusedFailure, OficlinicLookupAppointmentsBadGatewayError, OficlinicLookupAppointmentsBadGatewayFailure, OficlinicLookupAppointmentsBadRequestError, OficlinicLookupAppointmentsBadRequestFailure, OficlinicLookupAppointmentsBody, OficlinicLookupAppointmentsConflictError, OficlinicLookupAppointmentsConflictFailure, OficlinicLookupAppointmentsNotFoundError, OficlinicLookupAppointmentsNotFoundFailure, OficlinicLookupAppointmentsResult, OficlinicLookupAppointmentsResultResponse, OficlinicLookupAppointmentsServiceUnavailableError, OficlinicLookupAppointmentsServiceUnavailableFailure, OficlinicLookupAppointmentsTooManyRequestsError, OficlinicLookupAppointmentsTooManyRequestsFailure, OficlinicLookupAppointmentsUnprocessableContentError, OficlinicLookupAppointmentsUnprocessableContentFailure, OficlinicPatientNotFoundFailure, OficlinicRescheduleAppointmentBadGatewayError, OficlinicRescheduleAppointmentBadGatewayFailure, OficlinicRescheduleAppointmentBody, OficlinicRescheduleAppointmentConflictError, OficlinicRescheduleAppointmentConflictFailure, OficlinicRescheduleAppointmentNotFoundError, OficlinicRescheduleAppointmentNotFoundFailure, OficlinicRescheduleAppointmentResult, OficlinicRescheduleAppointmentResultResponse, OficlinicRescheduleAppointmentServiceUnavailableError, OficlinicRescheduleAppointmentServiceUnavailableFailure, OficlinicRescheduleAppointmentTooManyRequestsError, OficlinicRescheduleAppointmentTooManyRequestsFailure, OficlinicRescheduleAppointmentUnprocessableContentError, OficlinicRescheduleAppointmentUnprocessableContentFailure, OficlinicServiceNotAvailableFailure, OficlinicWriteLedgerFullFailure, OficlinicWriteTargetUnresolvedFailure, } from "./models.js";
@@ -66,6 +66,32 @@ export interface OficlinicAppointmentBooking {
66
66
  */
67
67
  verification: "provider_acknowledgement";
68
68
  }
69
+ export interface OficlinicAppointmentCancellation {
70
+ appointmentId: string;
71
+ status: "cancelled";
72
+ verification: "provider_acknowledgement";
73
+ }
74
+ /**
75
+ * The appointment's day has passed or is unknown, so it is not cancelled here.
76
+ */
77
+ export interface OficlinicAppointmentNotCancellableFailure {
78
+ /**
79
+ * The failure code, stable across releases.
80
+ */
81
+ code: "APPOINTMENT_NOT_CANCELLABLE";
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
+ }
69
95
  /**
70
96
  * The appointment is not among the patient's assigned appointments.
71
97
  */
@@ -138,6 +164,133 @@ export interface OficlinicAppointmentReschedule {
138
164
  */
139
165
  status: "completed" | "partial";
140
166
  }
167
+ /**
168
+ * A failed answer.
169
+ */
170
+ export interface OficlinicCancelAppointmentBadGatewayError {
171
+ data: null;
172
+ error: OficlinicCancelAppointmentBadGatewayFailure;
173
+ /**
174
+ * What every answer carries besides its data or error.
175
+ */
176
+ metadata: ResponseMetadata;
177
+ success: false;
178
+ }
179
+ export type OficlinicCancelAppointmentBadGatewayFailure = OutcomeUnknownFailure | OficlinicSignInOutcomeUnknownFailure | ProviderProtocolChangedFailure | OficlinicPatientRecordMismatchFailure;
180
+ export interface OficlinicCancelAppointmentBody {
181
+ /**
182
+ * true answers { text }: concise Spanish facts for a messaging or voice
183
+ * agent, with the short ids and the cursor needed to continue. false, the
184
+ * default, answers the structured object.
185
+ */
186
+ agentMode?: boolean;
187
+ cancellation: {
188
+ observations: string;
189
+ reason: string;
190
+ };
191
+ /**
192
+ * The patient or authorized staff explicitly confirmed cancellation of this
193
+ * appointment.
194
+ */
195
+ confirm: true;
196
+ /**
197
+ * An Account connection id of the caller's organization.
198
+ */
199
+ connectionId?: string;
200
+ /**
201
+ * The document number, digits only.
202
+ */
203
+ documentNumber: string;
204
+ /**
205
+ * Colombian citizenship card. Other document types are not verified against
206
+ * the provider yet.
207
+ */
208
+ documentType: "CC";
209
+ /**
210
+ * A key the caller chooses once per intended write, such as a UUID. Repeating
211
+ * it with the same request answers the recorded outcome and never writes
212
+ * again; another request with it answers IDEMPOTENCY_KEY_REUSED.
213
+ */
214
+ idempotencyKey: string;
215
+ }
216
+ /**
217
+ * A failed answer.
218
+ */
219
+ export interface OficlinicCancelAppointmentConflictError {
220
+ data: null;
221
+ error: OficlinicCancelAppointmentConflictFailure;
222
+ /**
223
+ * What every answer carries besides its data or error.
224
+ */
225
+ metadata: ResponseMetadata;
226
+ success: false;
227
+ }
228
+ export type OficlinicCancelAppointmentConflictFailure = OficlinicConnectionRequiredFailure | OficlinicConnectionNotActiveFailure | OficlinicConnectionBusyFailure | OficlinicReauthenticationRequiredFailure | OficlinicAppointmentNotCancellableFailure | OficlinicIdempotencyKeyReusedFailure | OficlinicWriteTargetUnresolvedFailure;
229
+ /**
230
+ * A failed answer.
231
+ */
232
+ export interface OficlinicCancelAppointmentNotFoundError {
233
+ data: null;
234
+ error: OficlinicCancelAppointmentNotFoundFailure;
235
+ /**
236
+ * What every answer carries besides its data or error.
237
+ */
238
+ metadata: ResponseMetadata;
239
+ success: false;
240
+ }
241
+ export type OficlinicCancelAppointmentNotFoundFailure = OficlinicConnectionNotFoundFailure | OficlinicPatientNotFoundFailure | OficlinicAppointmentNotFoundFailure | OficlinicBookingOptionNotFoundFailure;
242
+ export type OficlinicCancelAppointmentResult = OficlinicAppointmentCancellation | OficlinicAgentText;
243
+ /**
244
+ * A successful answer.
245
+ */
246
+ export interface OficlinicCancelAppointmentResultResponse {
247
+ data: OficlinicCancelAppointmentResult;
248
+ error: null;
249
+ /**
250
+ * What every answer carries besides its data or error.
251
+ */
252
+ metadata: ResponseMetadata;
253
+ success: true;
254
+ }
255
+ /**
256
+ * A failed answer.
257
+ */
258
+ export interface OficlinicCancelAppointmentServiceUnavailableError {
259
+ data: null;
260
+ error: OficlinicCancelAppointmentServiceUnavailableFailure;
261
+ /**
262
+ * What every answer carries besides its data or error.
263
+ */
264
+ metadata: ResponseMetadata;
265
+ success: false;
266
+ }
267
+ export type OficlinicCancelAppointmentServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure | OficlinicWriteLedgerFullFailure;
268
+ /**
269
+ * A failed answer.
270
+ */
271
+ export interface OficlinicCancelAppointmentTooManyRequestsError {
272
+ data: null;
273
+ error: OficlinicCancelAppointmentTooManyRequestsFailure;
274
+ /**
275
+ * What every answer carries besides its data or error.
276
+ */
277
+ metadata: ResponseMetadata;
278
+ success: false;
279
+ }
280
+ export type OficlinicCancelAppointmentTooManyRequestsFailure = RateLimitedFailure | OficlinicLoginCoolingDownFailure;
281
+ /**
282
+ * A failed answer.
283
+ */
284
+ export interface OficlinicCancelAppointmentUnprocessableContentError {
285
+ data: null;
286
+ error: OficlinicCancelAppointmentUnprocessableContentFailure;
287
+ /**
288
+ * What every answer carries besides its data or error.
289
+ */
290
+ metadata: ResponseMetadata;
291
+ success: false;
292
+ }
293
+ export type OficlinicCancelAppointmentUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
141
294
  /**
142
295
  * A failed answer.
143
296
  */
@@ -17,9 +17,12 @@ export interface Client {
17
17
  * startsAt and endsAt come from the source's exact time range, and are null
18
18
  * rather than guessed when it is unrecognized. Observed live for one agenda;
19
19
  * the rows observed had no Estado, so status is usually null. Read-only:
20
- * nothing is locked or reserved. Book one with create_appointment and its id
21
- * as slotId. Pass pageInfo.nextCursor with the same filters for more.
22
- * agentMode true answers concise Spanish text instead.
20
+ * nothing is locked or reserved. For create_appointment or
21
+ * reschedule_appointment, copy the selected slot's flowId and slotId verbatim
22
+ * (slotId is called id in the structured result). Keep the two values
23
+ * together and refresh availability when the flow expires. Pass
24
+ * pageInfo.nextCursor with the same filters for more. agentMode true answers
25
+ * concise Spanish text instead.
23
26
  */
24
27
  list(request: ListRequest, options?: RequestOptions): Promise<ListResponse>;
25
28
  }
@@ -7,6 +7,7 @@ import { type Client as BookingRoomsClient } from "./bookingRooms/client.js";
7
7
  import { type Client as BookingSlotsClient } from "./bookingSlots/client.js";
8
8
  import { type Client as CancellationReasonsClient } from "./cancellationReasons/client.js";
9
9
  import { type Client as ConnectionsClient } from "./connections/client.js";
10
+ import { type Client as DailyRosterClient } from "./dailyRoster/client.js";
10
11
  import { type Client as PatientsClient } from "./patients/client.js";
11
12
  import { type Client as PayerContractsClient } from "./payerContracts/client.js";
12
13
  import { type Client as PayerPlansClient } from "./payerPlans/client.js";
@@ -16,6 +17,7 @@ import { type Client as ProfessionalsClient } from "./professionals/client.js";
16
17
  import { type Client as ProgramsClient } from "./programs/client.js";
17
18
  import { type Client as RegimesClient } from "./regimes/client.js";
18
19
  import { type Client as RelationshipsClient } from "./relationships/client.js";
20
+ import { type Client as SalaryRangesClient } from "./salaryRanges/client.js";
19
21
  import { type Client as ServiceCatalogClient } from "./serviceCatalog/client.js";
20
22
  import { type Client as ServicesClient } from "./services/client.js";
21
23
  export interface ClientOptions extends BaseClientOptions {
@@ -33,6 +35,7 @@ export interface Client {
33
35
  readonly bookingSlots: BookingSlotsClient;
34
36
  readonly cancellationReasons: CancellationReasonsClient;
35
37
  readonly connections: ConnectionsClient;
38
+ readonly dailyRoster: DailyRosterClient;
36
39
  readonly patients: PatientsClient;
37
40
  readonly payerContracts: PayerContractsClient;
38
41
  readonly payerPlans: PayerPlansClient;
@@ -42,6 +45,7 @@ export interface Client {
42
45
  readonly programs: ProgramsClient;
43
46
  readonly regimes: RegimesClient;
44
47
  readonly relationships: RelationshipsClient;
48
+ readonly salaryRanges: SalaryRangesClient;
45
49
  readonly serviceCatalog: ServiceCatalogClient;
46
50
  readonly services: ServicesClient;
47
51
  }
@@ -9,6 +9,7 @@ import { bind as bindBookingRooms, } from "./bookingRooms/client.js";
9
9
  import { bind as bindBookingSlots, } from "./bookingSlots/client.js";
10
10
  import { bind as bindCancellationReasons, } from "./cancellationReasons/client.js";
11
11
  import { bind as bindConnections, } from "./connections/client.js";
12
+ import { bind as bindDailyRoster, } from "./dailyRoster/client.js";
12
13
  import { bind as bindPatients, } from "./patients/client.js";
13
14
  import { bind as bindPayerContracts, } from "./payerContracts/client.js";
14
15
  import { bind as bindPayerPlans, } from "./payerPlans/client.js";
@@ -18,6 +19,7 @@ import { bind as bindProfessionals, } from "./professionals/client.js";
18
19
  import { bind as bindPrograms, } from "./programs/client.js";
19
20
  import { bind as bindRegimes, } from "./regimes/client.js";
20
21
  import { bind as bindRelationships, } from "./relationships/client.js";
22
+ import { bind as bindSalaryRanges, } from "./salaryRanges/client.js";
21
23
  import { bind as bindServiceCatalog, } from "./serviceCatalog/client.js";
22
24
  import { bind as bindServices, } from "./services/client.js";
23
25
  export function createClient(options) {
@@ -32,6 +34,7 @@ export function bind(transport) {
32
34
  let bookingSlotsClient;
33
35
  let cancellationReasonsClient;
34
36
  let connectionsClient;
37
+ let dailyRosterClient;
35
38
  let patientsClient;
36
39
  let payerContractsClient;
37
40
  let payerPlansClient;
@@ -41,6 +44,7 @@ export function bind(transport) {
41
44
  let programsClient;
42
45
  let regimesClient;
43
46
  let relationshipsClient;
47
+ let salaryRangesClient;
44
48
  let serviceCatalogClient;
45
49
  let servicesClient;
46
50
  return {
@@ -68,6 +72,9 @@ export function bind(transport) {
68
72
  get connections() {
69
73
  return (connectionsClient ??= bindConnections(transport));
70
74
  },
75
+ get dailyRoster() {
76
+ return (dailyRosterClient ??= bindDailyRoster(transport));
77
+ },
71
78
  get patients() {
72
79
  return (patientsClient ??= bindPatients(transport));
73
80
  },
@@ -95,6 +102,9 @@ export function bind(transport) {
95
102
  get relationships() {
96
103
  return (relationshipsClient ??= bindRelationships(transport));
97
104
  },
105
+ get salaryRanges() {
106
+ return (salaryRangesClient ??= bindSalaryRanges(transport));
107
+ },
98
108
  get serviceCatalog() {
99
109
  return (serviceCatalogClient ??= bindServiceCatalog(transport));
100
110
  },
@@ -0,0 +1,52 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
+ import type { OficlinicDailyRosterPageResponse } from "./models.js";
3
+ export interface ClientOptions extends BaseClientOptions {
4
+ /**
5
+ * The URL the paths of the API are relative to.
6
+ */
7
+ baseUrl: string;
8
+ }
9
+ export interface Client {
10
+ /**
11
+ * Get daily roster
12
+ *
13
+ * Read the e-Oficlinic daily patient roster for one professional and one date
14
+ * in Colombia. For authorized clinic staff only. Returns scheduled time,
15
+ * appointment number, patient display name, service and location. A vacant
16
+ * slot is not an appointment. Use the professional's id from
17
+ * list_professionals. Page through the same professional and date with
18
+ * pageInfo.nextCursor; results do not cover other professionals or sites.
19
+ */
20
+ list(request: ListRequest, options?: RequestOptions): Promise<ListResponse>;
21
+ }
22
+ export declare function createClient(options: ClientOptions): Client;
23
+ export declare function bind(transport: Transport): Client;
24
+ export interface ListRequest {
25
+ /**
26
+ * An Account connection id of the caller's organization.
27
+ */
28
+ connectionId?: string;
29
+ /**
30
+ * The appointment date in Colombia, as YYYY-MM-DD.
31
+ */
32
+ date: string;
33
+ /**
34
+ * The professional's provider id, from list_professionals.
35
+ */
36
+ professionalId: string;
37
+ /**
38
+ * An opaque cursor from a previous page's pageInfo.nextCursor or
39
+ * pageInfo.previousCursor.
40
+ */
41
+ cursor?: string;
42
+ /**
43
+ * Direction to traverse the stable keyset ordering from the supplied cursor.
44
+ */
45
+ direction?: "forward" | "backward";
46
+ /**
47
+ * Maximum items returned in one page. Defaults to 25; larger reads require
48
+ * another cursor.
49
+ */
50
+ limit?: number;
51
+ }
52
+ export type ListResponse = OficlinicDailyRosterPageResponse;
@@ -0,0 +1,18 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { Transport, } from "../../_/index.js";
4
+ export function createClient(options) {
5
+ return bind(new Transport(options));
6
+ }
7
+ export function bind(transport) {
8
+ return {
9
+ list: (request, options) => transport.send(ListOperation, request, options),
10
+ };
11
+ }
12
+ const ListOperation = {
13
+ method: "GET",
14
+ route: "/v1/oficlinic/daily-roster",
15
+ query: { connectionId: "connectionId", date: "date", professionalId: "professionalId", cursor: "cursor", direction: "direction", limit: "limit" },
16
+ response: null,
17
+ errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
18
+ };
@@ -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, ListRequest, ListResponse, } from "./client.js";
5
+ export type { OficlinicDailyRosterAppointment, OficlinicDailyRosterPage, OficlinicDailyRosterPageResponse, OficlinicGetDailyRosterBadGatewayError, OficlinicGetDailyRosterBadGatewayFailure, OficlinicGetDailyRosterBadRequestError, OficlinicGetDailyRosterBadRequestFailure, OficlinicGetDailyRosterConflictError, OficlinicGetDailyRosterConflictFailure, OficlinicGetDailyRosterNotFoundError, OficlinicGetDailyRosterNotFoundFailure, OficlinicGetDailyRosterServiceUnavailableError, OficlinicGetDailyRosterServiceUnavailableFailure, OficlinicGetDailyRosterTooManyRequestsError, OficlinicGetDailyRosterTooManyRequestsFailure, OficlinicGetDailyRosterUnprocessableContentError, OficlinicGetDailyRosterUnprocessableContentFailure, } 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,131 @@
1
+ import type { CredentialsRejectedFailure, InvalidInputFailure, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
+ import type { OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionNotFoundFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicProfessionalNotFoundFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSignInOutcomeUnknownFailure } from "../models.js";
3
+ export interface OficlinicDailyRosterAppointment {
4
+ appointmentId: string;
5
+ /**
6
+ * The appointment date in Colombia, as YYYY-MM-DD.
7
+ */
8
+ date: string;
9
+ location: string;
10
+ patientName: string;
11
+ professional: string;
12
+ service: string;
13
+ timeLabel: string;
14
+ }
15
+ export interface OficlinicDailyRosterPage {
16
+ /**
17
+ * Items admitted by this resource contract within the verified organization.
18
+ */
19
+ data: OficlinicDailyRosterAppointment[];
20
+ /**
21
+ * Discriminator for a resource list response.
22
+ */
23
+ object: "list";
24
+ /**
25
+ * Opaque navigation cursors for this page’s stable keyset order.
26
+ */
27
+ pageInfo: PageInfo;
28
+ }
29
+ /**
30
+ * A successful answer.
31
+ */
32
+ export interface OficlinicDailyRosterPageResponse {
33
+ data: OficlinicDailyRosterPage;
34
+ error: null;
35
+ /**
36
+ * What every answer carries besides its data or error.
37
+ */
38
+ metadata: ResponseMetadata;
39
+ success: true;
40
+ }
41
+ /**
42
+ * A failed answer.
43
+ */
44
+ export interface OficlinicGetDailyRosterBadGatewayError {
45
+ data: null;
46
+ error: OficlinicGetDailyRosterBadGatewayFailure;
47
+ /**
48
+ * What every answer carries besides its data or error.
49
+ */
50
+ metadata: ResponseMetadata;
51
+ success: false;
52
+ }
53
+ export type OficlinicGetDailyRosterBadGatewayFailure = OutcomeUnknownFailure | OficlinicSignInOutcomeUnknownFailure | ProviderProtocolChangedFailure;
54
+ /**
55
+ * A failed answer.
56
+ */
57
+ export interface OficlinicGetDailyRosterBadRequestError {
58
+ data: null;
59
+ error: OficlinicGetDailyRosterBadRequestFailure;
60
+ /**
61
+ * What every answer carries besides its data or error.
62
+ */
63
+ metadata: ResponseMetadata;
64
+ success: false;
65
+ }
66
+ export type OficlinicGetDailyRosterBadRequestFailure = InvalidInputFailure | OficlinicInvalidCursorFailure;
67
+ /**
68
+ * A failed answer.
69
+ */
70
+ export interface OficlinicGetDailyRosterConflictError {
71
+ data: null;
72
+ error: OficlinicGetDailyRosterConflictFailure;
73
+ /**
74
+ * What every answer carries besides its data or error.
75
+ */
76
+ metadata: ResponseMetadata;
77
+ success: false;
78
+ }
79
+ export type OficlinicGetDailyRosterConflictFailure = OficlinicConnectionRequiredFailure | OficlinicConnectionNotActiveFailure | OficlinicConnectionBusyFailure | OficlinicReauthenticationRequiredFailure;
80
+ /**
81
+ * A failed answer.
82
+ */
83
+ export interface OficlinicGetDailyRosterNotFoundError {
84
+ data: null;
85
+ error: OficlinicGetDailyRosterNotFoundFailure;
86
+ /**
87
+ * What every answer carries besides its data or error.
88
+ */
89
+ metadata: ResponseMetadata;
90
+ success: false;
91
+ }
92
+ export type OficlinicGetDailyRosterNotFoundFailure = OficlinicConnectionNotFoundFailure | OficlinicProfessionalNotFoundFailure;
93
+ /**
94
+ * A failed answer.
95
+ */
96
+ export interface OficlinicGetDailyRosterServiceUnavailableError {
97
+ data: null;
98
+ error: OficlinicGetDailyRosterServiceUnavailableFailure;
99
+ /**
100
+ * What every answer carries besides its data or error.
101
+ */
102
+ metadata: ResponseMetadata;
103
+ success: false;
104
+ }
105
+ export type OficlinicGetDailyRosterServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure;
106
+ /**
107
+ * A failed answer.
108
+ */
109
+ export interface OficlinicGetDailyRosterTooManyRequestsError {
110
+ data: null;
111
+ error: OficlinicGetDailyRosterTooManyRequestsFailure;
112
+ /**
113
+ * What every answer carries besides its data or error.
114
+ */
115
+ metadata: ResponseMetadata;
116
+ success: false;
117
+ }
118
+ export type OficlinicGetDailyRosterTooManyRequestsFailure = RateLimitedFailure | OficlinicLoginCoolingDownFailure;
119
+ /**
120
+ * A failed answer.
121
+ */
122
+ export interface OficlinicGetDailyRosterUnprocessableContentError {
123
+ data: null;
124
+ error: OficlinicGetDailyRosterUnprocessableContentFailure;
125
+ /**
126
+ * What every answer carries besides its data or error.
127
+ */
128
+ metadata: ResponseMetadata;
129
+ success: false;
130
+ }
131
+ export type OficlinicGetDailyRosterUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};
@@ -2,4 +2,4 @@ export { ApiError } from "../_/index.js";
2
2
  export type { RequestOptions } from "../_/index.js";
3
3
  export { createClient } from "./client.js";
4
4
  export type { Client, ClientOptions, } from "./client.js";
5
- export type { OficlinicAgentText, OficlinicBookingOptionNotFoundFailure, OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionNotFoundError, OficlinicConnectionNotFoundFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicPatientRecordMismatchFailure, OficlinicPayerNotFoundFailure, OficlinicPayerOptionNotFoundFailure, OficlinicProgramUnitsNotSupportedFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSelectionExpiredError, OficlinicSelectionExpiredFailure, OficlinicSelectionNotAvailableFailure, OficlinicSignInOutcomeUnknownFailure, } from "./models.js";
5
+ export type { OficlinicAgentText, OficlinicBookingOptionNotFoundFailure, OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionNotFoundError, OficlinicConnectionNotFoundFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicPatientRecordMismatchFailure, OficlinicPayerNotFoundFailure, OficlinicPayerOptionNotFoundFailure, OficlinicProfessionalNotFoundFailure, OficlinicProgramUnitsNotSupportedFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSelectionExpiredError, OficlinicSelectionExpiredFailure, OficlinicSelectionNotAvailableFailure, OficlinicSignInOutcomeUnknownFailure, } from "./models.js";
@@ -255,6 +255,28 @@ export interface OficlinicPayerOptionNotFoundFailure {
255
255
  */
256
256
  retryable: false;
257
257
  }
258
+ /**
259
+ * The professional is not an active professional of the connection's indexed
260
+ * directory.
261
+ */
262
+ export interface OficlinicProfessionalNotFoundFailure {
263
+ /**
264
+ * The failure code, stable across releases.
265
+ */
266
+ code: "PROFESSIONAL_NOT_FOUND";
267
+ /**
268
+ * No fields.
269
+ */
270
+ data: Empty;
271
+ /**
272
+ * What went wrong, for people; it never contains input values.
273
+ */
274
+ message: string;
275
+ /**
276
+ * Whether repeating the same request may succeed.
277
+ */
278
+ retryable: false;
279
+ }
258
280
  /**
259
281
  * The attention type's source unit count is not exactly one, and this service
260
282
  * books one-unit programs only.
@@ -0,0 +1,54 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
+ import type { OficlinicListSalaryRangesResultResponse } from "./models.js";
3
+ export interface ClientOptions extends BaseClientOptions {
4
+ /**
5
+ * The URL the paths of the API are relative to.
6
+ */
7
+ baseUrl: string;
8
+ }
9
+ export interface Client {
10
+ /**
11
+ * List salary ranges
12
+ *
13
+ * List the salary ranges that the e-Oficlinic registration form offers for
14
+ * one listed regime. The provider's code can identify a clinic-confirmed
15
+ * classification for scheduling. The catalog amount does not establish the
16
+ * patient's classification, service tariff or amount due. Pass
17
+ * pageInfo.nextCursor with the same regimeId for more. agentMode true answers
18
+ * concise Spanish text instead.
19
+ */
20
+ list(request: ListRequest, options?: RequestOptions): Promise<ListResponse>;
21
+ }
22
+ export declare function createClient(options: ClientOptions): Client;
23
+ export declare function bind(transport: Transport): Client;
24
+ export interface ListRequest {
25
+ /**
26
+ * An Account connection id of the caller's organization.
27
+ */
28
+ connectionId?: string;
29
+ /**
30
+ * A regime id from list_regimes.
31
+ */
32
+ regimeId: string;
33
+ /**
34
+ * An opaque cursor from a previous page's pageInfo.nextCursor or
35
+ * pageInfo.previousCursor.
36
+ */
37
+ cursor?: string;
38
+ /**
39
+ * Direction to traverse the stable keyset ordering from the supplied cursor.
40
+ */
41
+ direction?: "forward" | "backward";
42
+ /**
43
+ * Maximum items returned in one page. Defaults to 25; larger reads require
44
+ * another cursor.
45
+ */
46
+ limit?: number;
47
+ /**
48
+ * true answers { text }: concise Spanish facts for a messaging or voice
49
+ * agent, with the short ids and the cursor needed to continue. false, the
50
+ * default, answers the structured object.
51
+ */
52
+ agentMode?: boolean;
53
+ }
54
+ export type ListResponse = OficlinicListSalaryRangesResultResponse;
@@ -0,0 +1,18 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { Transport, } from "../../_/index.js";
4
+ export function createClient(options) {
5
+ return bind(new Transport(options));
6
+ }
7
+ export function bind(transport) {
8
+ return {
9
+ list: (request, options) => transport.send(ListOperation, request, options),
10
+ };
11
+ }
12
+ const ListOperation = {
13
+ method: "GET",
14
+ route: "/v1/oficlinic/salary-ranges",
15
+ query: { connectionId: "connectionId", regimeId: "regimeId", cursor: "cursor", direction: "direction", limit: "limit", agentMode: "agentMode" },
16
+ response: null,
17
+ errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
18
+ };
@@ -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, ListRequest, ListResponse, } from "./client.js";
5
+ export type { OficlinicListSalaryRangesBadGatewayError, OficlinicListSalaryRangesBadGatewayFailure, OficlinicListSalaryRangesBadRequestError, OficlinicListSalaryRangesBadRequestFailure, OficlinicListSalaryRangesConflictError, OficlinicListSalaryRangesConflictFailure, OficlinicListSalaryRangesNotFoundError, OficlinicListSalaryRangesNotFoundFailure, OficlinicListSalaryRangesResult, OficlinicListSalaryRangesResultResponse, OficlinicListSalaryRangesServiceUnavailableError, OficlinicListSalaryRangesServiceUnavailableFailure, OficlinicListSalaryRangesTooManyRequestsError, OficlinicListSalaryRangesTooManyRequestsFailure, OficlinicListSalaryRangesUnprocessableContentError, OficlinicListSalaryRangesUnprocessableContentFailure, OficlinicSalaryRange, OficlinicSalaryRangePage, } 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,139 @@
1
+ import type { CredentialsRejectedFailure, InvalidInputFailure, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
+ import type { OficlinicAgentText, OficlinicBookingOptionNotFoundFailure, OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionNotFoundFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSignInOutcomeUnknownFailure } from "../models.js";
3
+ /**
4
+ * A failed answer.
5
+ */
6
+ export interface OficlinicListSalaryRangesBadGatewayError {
7
+ data: null;
8
+ error: OficlinicListSalaryRangesBadGatewayFailure;
9
+ /**
10
+ * What every answer carries besides its data or error.
11
+ */
12
+ metadata: ResponseMetadata;
13
+ success: false;
14
+ }
15
+ export type OficlinicListSalaryRangesBadGatewayFailure = OutcomeUnknownFailure | OficlinicSignInOutcomeUnknownFailure | ProviderProtocolChangedFailure;
16
+ /**
17
+ * A failed answer.
18
+ */
19
+ export interface OficlinicListSalaryRangesBadRequestError {
20
+ data: null;
21
+ error: OficlinicListSalaryRangesBadRequestFailure;
22
+ /**
23
+ * What every answer carries besides its data or error.
24
+ */
25
+ metadata: ResponseMetadata;
26
+ success: false;
27
+ }
28
+ export type OficlinicListSalaryRangesBadRequestFailure = InvalidInputFailure | OficlinicInvalidCursorFailure;
29
+ /**
30
+ * A failed answer.
31
+ */
32
+ export interface OficlinicListSalaryRangesConflictError {
33
+ data: null;
34
+ error: OficlinicListSalaryRangesConflictFailure;
35
+ /**
36
+ * What every answer carries besides its data or error.
37
+ */
38
+ metadata: ResponseMetadata;
39
+ success: false;
40
+ }
41
+ export type OficlinicListSalaryRangesConflictFailure = OficlinicConnectionRequiredFailure | OficlinicConnectionNotActiveFailure | OficlinicConnectionBusyFailure | OficlinicReauthenticationRequiredFailure;
42
+ /**
43
+ * A failed answer.
44
+ */
45
+ export interface OficlinicListSalaryRangesNotFoundError {
46
+ data: null;
47
+ error: OficlinicListSalaryRangesNotFoundFailure;
48
+ /**
49
+ * What every answer carries besides its data or error.
50
+ */
51
+ metadata: ResponseMetadata;
52
+ success: false;
53
+ }
54
+ export type OficlinicListSalaryRangesNotFoundFailure = OficlinicConnectionNotFoundFailure | OficlinicBookingOptionNotFoundFailure;
55
+ export type OficlinicListSalaryRangesResult = OficlinicSalaryRangePage | OficlinicAgentText;
56
+ /**
57
+ * A successful answer.
58
+ */
59
+ export interface OficlinicListSalaryRangesResultResponse {
60
+ data: OficlinicListSalaryRangesResult;
61
+ error: null;
62
+ /**
63
+ * What every answer carries besides its data or error.
64
+ */
65
+ metadata: ResponseMetadata;
66
+ success: true;
67
+ }
68
+ /**
69
+ * A failed answer.
70
+ */
71
+ export interface OficlinicListSalaryRangesServiceUnavailableError {
72
+ data: null;
73
+ error: OficlinicListSalaryRangesServiceUnavailableFailure;
74
+ /**
75
+ * What every answer carries besides its data or error.
76
+ */
77
+ metadata: ResponseMetadata;
78
+ success: false;
79
+ }
80
+ export type OficlinicListSalaryRangesServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure;
81
+ /**
82
+ * A failed answer.
83
+ */
84
+ export interface OficlinicListSalaryRangesTooManyRequestsError {
85
+ data: null;
86
+ error: OficlinicListSalaryRangesTooManyRequestsFailure;
87
+ /**
88
+ * What every answer carries besides its data or error.
89
+ */
90
+ metadata: ResponseMetadata;
91
+ success: false;
92
+ }
93
+ export type OficlinicListSalaryRangesTooManyRequestsFailure = RateLimitedFailure | OficlinicLoginCoolingDownFailure;
94
+ /**
95
+ * A failed answer.
96
+ */
97
+ export interface OficlinicListSalaryRangesUnprocessableContentError {
98
+ data: null;
99
+ error: OficlinicListSalaryRangesUnprocessableContentFailure;
100
+ /**
101
+ * What every answer carries besides its data or error.
102
+ */
103
+ metadata: ResponseMetadata;
104
+ success: false;
105
+ }
106
+ export type OficlinicListSalaryRangesUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
107
+ export interface OficlinicSalaryRange {
108
+ /**
109
+ * The provider's salary range code (Codigo).
110
+ */
111
+ id: string;
112
+ /**
113
+ * The range's name (Descripcion).
114
+ */
115
+ name: string;
116
+ /**
117
+ * The regime the provider listed this range for.
118
+ */
119
+ regimeId: string;
120
+ /**
121
+ * The catalog's VlrCuotaModeradora, not the amount due for a specific patient
122
+ * or service.
123
+ */
124
+ sourceModeratorFee: string | null;
125
+ }
126
+ export interface OficlinicSalaryRangePage {
127
+ /**
128
+ * Items admitted by this resource contract within the verified organization.
129
+ */
130
+ data: OficlinicSalaryRange[];
131
+ /**
132
+ * Discriminator for a resource list response.
133
+ */
134
+ object: "list";
135
+ /**
136
+ * Opaque navigation cursors for this page’s stable keyset order.
137
+ */
138
+ pageInfo: PageInfo;
139
+ }
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
2
2
  export type { RequestOptions } from "../../_/index.js";
3
3
  export { createClient } from "./client.js";
4
4
  export type { Client, ClientOptions, ListRequest, ListResponse, SearchRequest, SearchResponse, } from "./client.js";
5
- export type { OficlinicIndexNotReadyFailure, OficlinicIndexUnavailableFailure, OficlinicListServicesBadGatewayError, OficlinicListServicesBadGatewayFailure, OficlinicListServicesBadRequestError, OficlinicListServicesBadRequestFailure, OficlinicListServicesConflictError, OficlinicListServicesConflictFailure, OficlinicListServicesResult, OficlinicListServicesResultResponse, OficlinicListServicesServiceUnavailableError, OficlinicListServicesServiceUnavailableFailure, OficlinicListServicesTooManyRequestsError, OficlinicListServicesTooManyRequestsFailure, OficlinicListServicesUnprocessableContentError, OficlinicListServicesUnprocessableContentFailure, OficlinicProfessionalNotFoundFailure, OficlinicSearchServicesBadGatewayError, OficlinicSearchServicesBadGatewayFailure, OficlinicSearchServicesBadRequestError, OficlinicSearchServicesBadRequestFailure, OficlinicSearchServicesBody, OficlinicSearchServicesConflictError, OficlinicSearchServicesConflictFailure, OficlinicSearchServicesNotFoundError, OficlinicSearchServicesNotFoundFailure, OficlinicSearchServicesResult, OficlinicSearchServicesResultResponse, OficlinicSearchServicesServiceUnavailableError, OficlinicSearchServicesServiceUnavailableFailure, OficlinicServiceCatalogEntry, OficlinicServiceCatalogPage, OficlinicServiceSearchPage, OficlinicServiceSearchResult, } from "./models.js";
5
+ export type { OficlinicIndexNotReadyFailure, OficlinicIndexUnavailableFailure, OficlinicListServicesBadGatewayError, OficlinicListServicesBadGatewayFailure, OficlinicListServicesBadRequestError, OficlinicListServicesBadRequestFailure, OficlinicListServicesConflictError, OficlinicListServicesConflictFailure, OficlinicListServicesResult, OficlinicListServicesResultResponse, OficlinicListServicesServiceUnavailableError, OficlinicListServicesServiceUnavailableFailure, OficlinicListServicesTooManyRequestsError, OficlinicListServicesTooManyRequestsFailure, OficlinicListServicesUnprocessableContentError, OficlinicListServicesUnprocessableContentFailure, OficlinicSearchServicesBadGatewayError, OficlinicSearchServicesBadGatewayFailure, OficlinicSearchServicesBadRequestError, OficlinicSearchServicesBadRequestFailure, OficlinicSearchServicesBody, OficlinicSearchServicesConflictError, OficlinicSearchServicesConflictFailure, OficlinicSearchServicesNotFoundError, OficlinicSearchServicesNotFoundFailure, OficlinicSearchServicesResult, OficlinicSearchServicesResultResponse, OficlinicSearchServicesServiceUnavailableError, OficlinicSearchServicesServiceUnavailableFailure, OficlinicServiceCatalogEntry, OficlinicServiceCatalogPage, OficlinicServiceSearchPage, OficlinicServiceSearchResult, } from "./models.js";
@@ -1,5 +1,5 @@
1
1
  import type { CredentialsRejectedFailure, Empty, InvalidInputFailure, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
- import type { OficlinicAgentText, OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionNotFoundFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSignInOutcomeUnknownFailure } from "../models.js";
2
+ import type { OficlinicAgentText, OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionNotFoundFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicProfessionalNotFoundFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSignInOutcomeUnknownFailure } from "../models.js";
3
3
  /**
4
4
  * The connection's service index is being built. Try again shortly.
5
5
  */
@@ -134,28 +134,6 @@ export interface OficlinicListServicesUnprocessableContentError {
134
134
  success: false;
135
135
  }
136
136
  export type OficlinicListServicesUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
137
- /**
138
- * The professional is not an active professional of the connection's indexed
139
- * directory.
140
- */
141
- export interface OficlinicProfessionalNotFoundFailure {
142
- /**
143
- * The failure code, stable across releases.
144
- */
145
- code: "PROFESSIONAL_NOT_FOUND";
146
- /**
147
- * No fields.
148
- */
149
- data: Empty;
150
- /**
151
- * What went wrong, for people; it never contains input values.
152
- */
153
- message: string;
154
- /**
155
- * Whether repeating the same request may succeed.
156
- */
157
- retryable: false;
158
- }
159
137
  /**
160
138
  * A failed answer.
161
139
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.51.0",
3
+ "version": "5.53.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.20261111.142422",
62
- "sha256": "bb24b083f82d419f963d51b86095e2271dc564389e6bcae1c93d50795e2c0595"
61
+ "release": "1.20261111.193208",
62
+ "sha256": "f24022d0de10fcdd240fa99570ed7c239769cc5231f2977de31da1593d1bab3f"
63
63
  }
64
64
  }
65
65
  }