@arbol-ai/sdk 2.16.0 → 2.18.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.
- package/dist/gmedic/agendas/client.d.ts +4 -0
- package/dist/gmedic/appointments/client.d.ts +14 -0
- package/dist/gmedic/appointments/models.d.ts +7 -0
- package/dist/gmedic/availability/client.d.ts +3 -1
- package/dist/visoft/availability/index.d.ts +1 -1
- package/dist/visoft/availability/models.d.ts +26 -0
- package/dist/visoft/availability/models.js +4 -0
- package/dist/visoft/patients/client.d.ts +5 -0
- package/package.json +3 -3
|
@@ -32,6 +32,10 @@ export interface ListRequest {
|
|
|
32
32
|
* another cursor.
|
|
33
33
|
*/
|
|
34
34
|
limit?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Optional verified branch id returned by list_branch_offices. Omit when
|
|
37
|
+
* unknown; one physical site never implies id 1.
|
|
38
|
+
*/
|
|
35
39
|
branchOfficeId?: string;
|
|
36
40
|
id?: string;
|
|
37
41
|
serviceId?: string;
|
|
@@ -101,6 +101,12 @@ export interface CreateResponse {
|
|
|
101
101
|
invoice?: string | null;
|
|
102
102
|
key?: string | null;
|
|
103
103
|
location?: string | null;
|
|
104
|
+
mainAttendantDocumentType?: {
|
|
105
|
+
id: string;
|
|
106
|
+
label?: string | null;
|
|
107
|
+
name?: string | null;
|
|
108
|
+
value?: string | null;
|
|
109
|
+
} | null;
|
|
104
110
|
mainAttendantEmail?: string | null;
|
|
105
111
|
mainAttendantId?: string | null;
|
|
106
112
|
mainAttendantIdentification?: string | null;
|
|
@@ -145,6 +151,7 @@ export interface CreateResponse {
|
|
|
145
151
|
time?: string | null;
|
|
146
152
|
title?: string | null;
|
|
147
153
|
userObjectId?: string | null;
|
|
154
|
+
userType?: string | null;
|
|
148
155
|
viaEntryCode?: string | null;
|
|
149
156
|
viaEntryId?: string | null;
|
|
150
157
|
viaEntryName?: string | null;
|
|
@@ -224,6 +231,12 @@ export interface UpdateResponse {
|
|
|
224
231
|
invoice?: string | null;
|
|
225
232
|
key?: string | null;
|
|
226
233
|
location?: string | null;
|
|
234
|
+
mainAttendantDocumentType?: {
|
|
235
|
+
id: string;
|
|
236
|
+
label?: string | null;
|
|
237
|
+
name?: string | null;
|
|
238
|
+
value?: string | null;
|
|
239
|
+
} | null;
|
|
227
240
|
mainAttendantEmail?: string | null;
|
|
228
241
|
mainAttendantId?: string | null;
|
|
229
242
|
mainAttendantIdentification?: string | null;
|
|
@@ -268,6 +281,7 @@ export interface UpdateResponse {
|
|
|
268
281
|
time?: string | null;
|
|
269
282
|
title?: string | null;
|
|
270
283
|
userObjectId?: string | null;
|
|
284
|
+
userType?: string | null;
|
|
271
285
|
viaEntryCode?: string | null;
|
|
272
286
|
viaEntryId?: string | null;
|
|
273
287
|
viaEntryName?: string | null;
|
|
@@ -36,6 +36,12 @@ export interface GmedicAppointmentsPage {
|
|
|
36
36
|
invoice?: string | null;
|
|
37
37
|
key?: string | null;
|
|
38
38
|
location?: string | null;
|
|
39
|
+
mainAttendantDocumentType?: {
|
|
40
|
+
id: string;
|
|
41
|
+
label?: string | null;
|
|
42
|
+
name?: string | null;
|
|
43
|
+
value?: string | null;
|
|
44
|
+
} | null;
|
|
39
45
|
mainAttendantEmail?: string | null;
|
|
40
46
|
mainAttendantId?: string | null;
|
|
41
47
|
mainAttendantIdentification?: string | null;
|
|
@@ -80,6 +86,7 @@ export interface GmedicAppointmentsPage {
|
|
|
80
86
|
time?: string | null;
|
|
81
87
|
title?: string | null;
|
|
82
88
|
userObjectId?: string | null;
|
|
89
|
+
userType?: string | null;
|
|
83
90
|
viaEntryCode?: string | null;
|
|
84
91
|
viaEntryId?: string | null;
|
|
85
92
|
viaEntryName?: string | null;
|
|
@@ -20,7 +20,9 @@ export declare function createClient(options: ClientOptions): Client;
|
|
|
20
20
|
export declare function bind(transport: Transport): Client;
|
|
21
21
|
export interface ListRequest {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Omit on the first lookup. For continuation, copy only a nextCursor returned
|
|
24
|
+
* by this exact query. Never supply an empty string, quotes, braces, a page
|
|
25
|
+
* number or an invented token.
|
|
24
26
|
*/
|
|
25
27
|
cursor?: string;
|
|
26
28
|
/**
|
|
@@ -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, } from "./client.js";
|
|
5
|
-
export type { VisoftAvailabilitySlot, VisoftAvailabilitySlotPage, } from "./models.js";
|
|
5
|
+
export type { VisoftAvailabilityBookingInput, VisoftAvailabilitySlot, VisoftAvailabilitySlotPage, } from "./models.js";
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import type { PageInfo } from "../../models.js";
|
|
2
|
+
export interface VisoftAvailabilityBookingInput {
|
|
3
|
+
agency: string;
|
|
4
|
+
authorizationService?: string;
|
|
5
|
+
contract: string;
|
|
6
|
+
date: Temporal.PlainDate;
|
|
7
|
+
fonoGroup?: string;
|
|
8
|
+
intent?: string;
|
|
9
|
+
medicName: string;
|
|
10
|
+
modality?: string;
|
|
11
|
+
pairWithNext?: boolean;
|
|
12
|
+
patientAgeMonths?: string;
|
|
13
|
+
professionalChangeConfirmed?: boolean;
|
|
14
|
+
sala?: string;
|
|
15
|
+
service: string;
|
|
16
|
+
specialty?: string;
|
|
17
|
+
time: string;
|
|
18
|
+
toGroup?: string;
|
|
19
|
+
}
|
|
2
20
|
export interface VisoftAvailabilitySlot {
|
|
3
21
|
/**
|
|
4
22
|
* The professional's agenda, when they run several.
|
|
5
23
|
*/
|
|
6
24
|
agenda?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Copy these exact arguments to visoft.appointments.create only after the
|
|
27
|
+
* person confirms this slot and service; add the confirmed documentNumber.
|
|
28
|
+
* Retain separately confirmed consent. Never replace the service or contract
|
|
29
|
+
* with a fresh EPS guess.
|
|
30
|
+
*/
|
|
31
|
+
bookingInput?: VisoftAvailabilityBookingInput;
|
|
7
32
|
/**
|
|
8
33
|
* The day, in the clinic's timezone.
|
|
9
34
|
*/
|
|
@@ -70,5 +95,6 @@ export interface VisoftAvailabilitySlotPage {
|
|
|
70
95
|
*/
|
|
71
96
|
pageInfo: PageInfo;
|
|
72
97
|
}
|
|
98
|
+
export declare const VisoftAvailabilityBookingInputCodec: import("../../_/codec.js").Codec;
|
|
73
99
|
export declare const VisoftAvailabilitySlotCodec: import("../../_/codec.js").Codec;
|
|
74
100
|
export declare const VisoftAvailabilitySlotPageCodec: import("../../_/codec.js").Codec;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
import { array, date, object } from "../../_/index.js";
|
|
4
|
+
export const VisoftAvailabilityBookingInputCodec = object([
|
|
5
|
+
["date", null, date],
|
|
6
|
+
]);
|
|
4
7
|
export const VisoftAvailabilitySlotCodec = object([
|
|
8
|
+
["bookingInput", null, () => VisoftAvailabilityBookingInputCodec],
|
|
5
9
|
["date", null, date],
|
|
6
10
|
]);
|
|
7
11
|
export const VisoftAvailabilitySlotPageCodec = object([
|
|
@@ -111,6 +111,11 @@ export interface CorrectRequest {
|
|
|
111
111
|
* meaning, accepted values and whether it is required.
|
|
112
112
|
*/
|
|
113
113
|
phoneOffice?: string;
|
|
114
|
+
/**
|
|
115
|
+
* As the connection's clinic defines it: visoft.tools.list answers its
|
|
116
|
+
* meaning, accepted values and whether it is required.
|
|
117
|
+
*/
|
|
118
|
+
sex?: string;
|
|
114
119
|
}
|
|
115
120
|
export interface CorrectResponse {
|
|
116
121
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.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",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"packageManager": "bun@1.4.3",
|
|
51
51
|
"arbol": {
|
|
52
52
|
"openapi": {
|
|
53
|
-
"release": "1.
|
|
54
|
-
"sha256": "
|
|
53
|
+
"release": "1.20261029.184453",
|
|
54
|
+
"sha256": "cc685cd801f985527bf5a7ddbb9fc69e1c400e8edace983dce97fde1d6e8475e"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|