@arbol-ai/sdk 5.50.0 → 5.52.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";
@@ -33,6 +34,7 @@ export interface Client {
33
34
  readonly bookingSlots: BookingSlotsClient;
34
35
  readonly cancellationReasons: CancellationReasonsClient;
35
36
  readonly connections: ConnectionsClient;
37
+ readonly dailyRoster: DailyRosterClient;
36
38
  readonly patients: PatientsClient;
37
39
  readonly payerContracts: PayerContractsClient;
38
40
  readonly payerPlans: PayerPlansClient;
@@ -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";
@@ -32,6 +33,7 @@ export function bind(transport) {
32
33
  let bookingSlotsClient;
33
34
  let cancellationReasonsClient;
34
35
  let connectionsClient;
36
+ let dailyRosterClient;
35
37
  let patientsClient;
36
38
  let payerContractsClient;
37
39
  let payerPlansClient;
@@ -68,6 +70,9 @@ export function bind(transport) {
68
70
  get connections() {
69
71
  return (connectionsClient ??= bindConnections(transport));
70
72
  },
73
+ get dailyRoster() {
74
+ return (dailyRosterClient ??= bindDailyRoster(transport));
75
+ },
71
76
  get patients() {
72
77
  return (patientsClient ??= bindPatients(transport));
73
78
  },
@@ -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.
@@ -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
  */
@@ -6,6 +6,7 @@ import { type Client as ClinicClient } from "./clinic/client.js";
6
6
  import { type Client as ClinicsClient } from "./clinics/client.js";
7
7
  import { type Client as ConnectionsClient } from "./connections/client.js";
8
8
  import { type Client as ContractsClient } from "./contracts/client.js";
9
+ import { type Client as PatientNameEncodingsClient } from "./patientNameEncodings/client.js";
9
10
  import { type Client as PatientsClient } from "./patients/client.js";
10
11
  import { type Client as ProfessionalsClient } from "./professionals/client.js";
11
12
  import { type Client as ServiceCatalogsClient } from "./serviceCatalogs/client.js";
@@ -24,6 +25,7 @@ export interface Client {
24
25
  readonly clinics: ClinicsClient;
25
26
  readonly connections: ConnectionsClient;
26
27
  readonly contracts: ContractsClient;
28
+ readonly patientNameEncodings: PatientNameEncodingsClient;
27
29
  readonly patients: PatientsClient;
28
30
  readonly professionals: ProfessionalsClient;
29
31
  readonly serviceCatalogs: ServiceCatalogsClient;
@@ -8,6 +8,7 @@ import { bind as bindClinic, } from "./clinic/client.js";
8
8
  import { bind as bindClinics, } from "./clinics/client.js";
9
9
  import { bind as bindConnections, } from "./connections/client.js";
10
10
  import { bind as bindContracts, } from "./contracts/client.js";
11
+ import { bind as bindPatientNameEncodings, } from "./patientNameEncodings/client.js";
11
12
  import { bind as bindPatients, } from "./patients/client.js";
12
13
  import { bind as bindProfessionals, } from "./professionals/client.js";
13
14
  import { bind as bindServiceCatalogs, } from "./serviceCatalogs/client.js";
@@ -23,6 +24,7 @@ export function bind(transport) {
23
24
  let clinicsClient;
24
25
  let connectionsClient;
25
26
  let contractsClient;
27
+ let patientNameEncodingsClient;
26
28
  let patientsClient;
27
29
  let professionalsClient;
28
30
  let serviceCatalogsClient;
@@ -49,6 +51,9 @@ export function bind(transport) {
49
51
  get contracts() {
50
52
  return (contractsClient ??= bindContracts(transport));
51
53
  },
54
+ get patientNameEncodings() {
55
+ return (patientNameEncodingsClient ??= bindPatientNameEncodings(transport));
56
+ },
52
57
  get patients() {
53
58
  return (patientsClient ??= bindPatients(transport));
54
59
  },
@@ -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 { VisoftAgencyNotServedFailure, VisoftClinic, VisoftClinicAgency, VisoftConnectionNotConfiguredError, VisoftConnectionNotConfiguredFailure, VisoftContractNotFoundFailure, VisoftContractService, VisoftCredentialsRejectedFailure, VisoftProfessional, VisoftProviderUnavailableFailure, } from "./models.js";
5
+ export type { VisoftAgencyNotServedFailure, VisoftClinic, VisoftClinicAgency, VisoftConnectionNotConfiguredError, VisoftConnectionNotConfiguredFailure, VisoftContractNotFoundFailure, VisoftContractService, VisoftCredentialsRejectedError, VisoftCredentialsRejectedFailure, VisoftProfessional, VisoftProviderUnavailableFailure, } from "./models.js";
@@ -141,6 +141,22 @@ export interface VisoftContractService {
141
141
  */
142
142
  price: number | null;
143
143
  }
144
+ /**
145
+ * A failed answer.
146
+ */
147
+ export interface VisoftCredentialsRejectedError {
148
+ data: null;
149
+ /**
150
+ * The clinical system rejected the username or password, or the user is
151
+ * blocked.
152
+ */
153
+ error: VisoftCredentialsRejectedFailure;
154
+ /**
155
+ * What every answer carries besides its data or error.
156
+ */
157
+ metadata: ResponseMetadata;
158
+ success: false;
159
+ }
144
160
  /**
145
161
  * The clinical system rejected the username or password, or the user is
146
162
  * blocked.
@@ -0,0 +1,24 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
+ import type { VisoftLookupPatientNameEncodingBody, VisoftPatientNameEncodingAuditResponse } 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
+ * Audit stored patient name encoding
12
+ *
13
+ * Read the current SIIPS records of the supplied patients and identify name
14
+ * fields with recognizable misdecoded Spanish accents. Returns only the
15
+ * affected field names and document type, without the names or document
16
+ * numbers. Requires the permission to correct patient records. This operation
17
+ * only reads records.
18
+ */
19
+ lookup(request: LookupRequest, options?: RequestOptions): Promise<LookupResponse>;
20
+ }
21
+ export declare function createClient(options: ClientOptions): Client;
22
+ export declare function bind(transport: Transport): Client;
23
+ export type LookupRequest = VisoftLookupPatientNameEncodingBody;
24
+ export type LookupResponse = VisoftPatientNameEncodingAuditResponse;
@@ -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
+ lookup: (request, options) => transport.send(LookupOperation, request, options),
10
+ };
11
+ }
12
+ const LookupOperation = {
13
+ method: "POST",
14
+ route: "/v1/visoft/patient-name-encodings/lookup",
15
+ body: "flat",
16
+ response: null,
17
+ 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 },
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, LookupRequest, LookupResponse, } from "./client.js";
5
+ export type { VisoftLookupPatientNameEncodingBadGatewayError, VisoftLookupPatientNameEncodingBadGatewayFailure, VisoftLookupPatientNameEncodingBody, VisoftPatientNameEncodingAudit, VisoftPatientNameEncodingAuditResponse, VisoftPatientNameEncodingResult, } 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,56 @@
1
+ import type { OutcomeUnknownFailure, ResponseMetadata } from "../../models.js";
2
+ import type { VisoftProviderUnavailableFailure } from "../models.js";
3
+ /**
4
+ * A failed answer.
5
+ */
6
+ export interface VisoftLookupPatientNameEncodingBadGatewayError {
7
+ data: null;
8
+ error: VisoftLookupPatientNameEncodingBadGatewayFailure;
9
+ /**
10
+ * What every answer carries besides its data or error.
11
+ */
12
+ metadata: ResponseMetadata;
13
+ success: false;
14
+ }
15
+ export type VisoftLookupPatientNameEncodingBadGatewayFailure = OutcomeUnknownFailure | VisoftProviderUnavailableFailure;
16
+ export interface VisoftLookupPatientNameEncodingBody {
17
+ /**
18
+ * The connection to run on. Optional when the organization has one Visoft
19
+ * connection; required when it has several. Another organization's connection
20
+ * is CONNECTION_NOT_FOUND.
21
+ */
22
+ connectionId?: string;
23
+ /**
24
+ * Distinct patient document numbers from an authorized source.
25
+ */
26
+ documentNumbers: string[];
27
+ }
28
+ export interface VisoftPatientNameEncodingAudit {
29
+ /**
30
+ * One result per supplied document number, in the same order.
31
+ */
32
+ results: VisoftPatientNameEncodingResult[];
33
+ }
34
+ /**
35
+ * A successful answer.
36
+ */
37
+ export interface VisoftPatientNameEncodingAuditResponse {
38
+ data: VisoftPatientNameEncodingAudit;
39
+ error: null;
40
+ /**
41
+ * What every answer carries besides its data or error.
42
+ */
43
+ metadata: ResponseMetadata;
44
+ success: true;
45
+ }
46
+ export interface VisoftPatientNameEncodingResult {
47
+ /**
48
+ * Stored name fields containing a recognizable misdecoded Spanish accent.
49
+ */
50
+ affectedFields: ("firstName1" | "firstName2" | "lastName1" | "lastName2")[];
51
+ /**
52
+ * The SIIPS document type for an affected patient, or null.
53
+ */
54
+ documentType: string | null;
55
+ found: boolean;
56
+ }
@@ -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, CorrectRequest, CorrectResponse, CreateRequest, CreateResponse, LookupRequest, LookupResponse, } from "./client.js";
5
- export type { VisoftAdmission, VisoftAppointment, VisoftCorrectPatientBadGatewayError, VisoftCorrectPatientBadGatewayFailure, VisoftCorrectPatientBody, VisoftCorrectPatientNotFoundError, VisoftCorrectPatientNotFoundFailure, VisoftCorrectPatientUnprocessableContentError, VisoftCorrectPatientUnprocessableContentFailure, VisoftCreatePatientBadGatewayError, VisoftCreatePatientBadGatewayFailure, VisoftCreatePatientBody, VisoftCreatePatientUnprocessableContentError, VisoftCreatePatientUnprocessableContentFailure, VisoftCredentialsRejectedError, VisoftLookupPatientBadGatewayError, VisoftLookupPatientBadGatewayFailure, VisoftLookupPatientBody, VisoftPatient, VisoftPatientHistory, VisoftPatientLookup, VisoftPatientLookupResponse, VisoftPatientNotFoundFailure, VisoftPatientNotSavedFailure, VisoftPatientRegistration, VisoftPatientRegistrationResponse, VisoftPatientResponse, } from "./models.js";
5
+ export type { VisoftAdmission, VisoftAppointment, VisoftCorrectPatientBadGatewayError, VisoftCorrectPatientBadGatewayFailure, VisoftCorrectPatientBody, VisoftCorrectPatientNotFoundError, VisoftCorrectPatientNotFoundFailure, VisoftCorrectPatientUnprocessableContentError, VisoftCorrectPatientUnprocessableContentFailure, VisoftCreatePatientBadGatewayError, VisoftCreatePatientBadGatewayFailure, VisoftCreatePatientBody, VisoftCreatePatientUnprocessableContentError, VisoftCreatePatientUnprocessableContentFailure, VisoftLookupPatientBadGatewayError, VisoftLookupPatientBadGatewayFailure, VisoftLookupPatientBody, VisoftPatient, VisoftPatientHistory, VisoftPatientLookup, VisoftPatientLookupResponse, VisoftPatientNotFoundFailure, VisoftPatientNotSavedFailure, VisoftPatientRegistration, VisoftPatientRegistrationResponse, VisoftPatientResponse, } from "./models.js";
@@ -390,22 +390,6 @@ export interface VisoftCreatePatientUnprocessableContentError {
390
390
  success: false;
391
391
  }
392
392
  export type VisoftCreatePatientUnprocessableContentFailure = VisoftCredentialsRejectedFailure | VisoftAgencyNotServedFailure;
393
- /**
394
- * A failed answer.
395
- */
396
- export interface VisoftCredentialsRejectedError {
397
- data: null;
398
- /**
399
- * The clinical system rejected the username or password, or the user is
400
- * blocked.
401
- */
402
- error: VisoftCredentialsRejectedFailure;
403
- /**
404
- * What every answer carries besides its data or error.
405
- */
406
- metadata: ResponseMetadata;
407
- success: false;
408
- }
409
393
  /**
410
394
  * A failed answer.
411
395
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.50.0",
3
+ "version": "5.52.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.45612",
62
- "sha256": "46bcfbef3094b8f286fb9f846076e165320c673633d38f211f9face273e8751c"
61
+ "release": "1.20261111.183700",
62
+ "sha256": "33e7912ce177f9d40ce44d36412f91639dc136ee547d0fa3a8edd614274317d4"
63
63
  }
64
64
  }
65
65
  }