@arbol-ai/sdk 4.0.0 → 5.1.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/README.md +15 -3
- package/dist/agenda/appointments/client.d.ts +165 -52
- package/dist/agenda/appointments/client.js +19 -11
- package/dist/agenda/appointments/index.d.ts +1 -1
- package/dist/agenda/availability/client.d.ts +11 -72
- package/dist/agenda/availability/client.js +5 -14
- package/dist/agenda/availability/index.d.ts +1 -1
- package/dist/agenda/bookingLocations/client.d.ts +51 -0
- package/dist/agenda/bookingLocations/client.js +19 -0
- package/dist/agenda/bookingLocations/index.d.ts +4 -0
- package/dist/agenda/bookingLocations/index.js +4 -0
- package/dist/agenda/bookingOfferings/client.d.ts +82 -0
- package/dist/agenda/bookingOfferings/client.js +18 -0
- package/dist/agenda/bookingOfferings/index.d.ts +5 -0
- package/dist/agenda/bookingOfferings/index.js +4 -0
- package/dist/agenda/bookingOfferings/models.d.ts +92 -0
- package/dist/agenda/bookingOfferings/models.js +3 -0
- package/dist/agenda/bookingRequirements/client.d.ts +118 -0
- package/dist/agenda/bookingRequirements/client.js +18 -0
- package/dist/agenda/bookingRequirements/index.d.ts +4 -0
- package/dist/agenda/bookingRequirements/index.js +4 -0
- package/dist/agenda/bookingSlots/client.d.ts +78 -0
- package/dist/agenda/bookingSlots/client.js +19 -0
- package/dist/agenda/bookingSlots/index.d.ts +4 -0
- package/dist/agenda/bookingSlots/index.js +4 -0
- package/dist/agenda/bookings/client.d.ts +44 -375
- package/dist/agenda/bookings/client.js +10 -52
- package/dist/agenda/bookings/index.d.ts +2 -2
- package/dist/agenda/bookings/models.d.ts +0 -92
- package/dist/agenda/client.d.ts +14 -0
- package/dist/agenda/client.js +35 -0
- package/dist/agenda/firstAvailability/client.d.ts +74 -0
- package/dist/agenda/firstAvailability/client.js +19 -0
- package/dist/agenda/firstAvailability/index.d.ts +5 -0
- package/dist/agenda/firstAvailability/index.js +4 -0
- package/dist/agenda/firstAvailability/models.d.ts +31 -0
- package/dist/agenda/firstAvailability/models.js +7 -0
- package/dist/agenda/index.d.ts +1 -1
- package/dist/agenda/models.d.ts +19 -94
- package/dist/agenda/models.js +0 -3
- package/dist/agenda/nearestBookingSlots/client.d.ts +93 -0
- package/dist/agenda/nearestBookingSlots/client.js +19 -0
- package/dist/agenda/nearestBookingSlots/index.d.ts +5 -0
- package/dist/agenda/nearestBookingSlots/index.js +4 -0
- package/dist/agenda/nearestBookingSlots/models.d.ts +38 -0
- package/dist/agenda/nearestBookingSlots/models.js +7 -0
- package/dist/agenda/offerings/client.d.ts +2 -2
- package/dist/agenda/offerings/client.js +1 -1
- package/dist/agenda/resourceSchedules/client.d.ts +75 -0
- package/dist/agenda/resourceSchedules/client.js +19 -0
- package/dist/agenda/resourceSchedules/index.d.ts +4 -0
- package/dist/agenda/resourceSchedules/index.js +4 -0
- package/dist/agenda/resources/client.d.ts +2 -2
- package/dist/agenda/resources/client.js +1 -1
- package/dist/agenda/scheduleRules/client.d.ts +125 -85
- package/dist/agenda/scheduleRules/client.js +17 -16
- package/dist/agenda/scheduleRules/index.d.ts +2 -1
- package/dist/agenda/scheduleRules/models.d.ts +33 -0
- package/dist/agenda/scheduleRules/models.js +6 -0
- package/dist/agenda/services/client.d.ts +2 -2
- package/dist/agenda/services/client.js +1 -1
- package/dist/agenda/waitlist/client.d.ts +40 -29
- package/dist/agenda/waitlist/client.js +4 -4
- package/dist/agenda/waitlist/index.d.ts +1 -1
- package/dist/agenda/waitlist/models.d.ts +17 -0
- package/dist/agenda/waitlist/models.js +4 -1
- package/dist/axxa/authorizations/client.d.ts +3 -35
- package/dist/axxa/authorizations/client.js +1 -1
- package/dist/axxa/authorizations/index.d.ts +1 -0
- package/dist/axxa/authorizations/models.d.ts +112 -0
- package/dist/axxa/authorizations/models.js +3 -0
- package/dist/axxa/connections/client.d.ts +19 -45
- package/dist/axxa/connections/client.js +10 -11
- package/dist/axxa/connections/index.d.ts +1 -0
- package/dist/axxa/connections/models.d.ts +269 -0
- package/dist/axxa/connections/models.js +3 -0
- package/dist/axxa/eligibility/client.d.ts +3 -25
- package/dist/axxa/eligibility/client.js +1 -1
- package/dist/axxa/eligibility/index.d.ts +1 -0
- package/dist/axxa/eligibility/models.d.ts +102 -0
- package/dist/axxa/eligibility/models.js +3 -0
- package/dist/axxa/index.d.ts +1 -1
- package/dist/axxa/models.d.ts +243 -168
- package/dist/axxa/provider/client.d.ts +5 -11
- package/dist/axxa/provider/client.js +1 -1
- package/dist/axxa/provider/index.d.ts +1 -0
- package/dist/axxa/provider/models.d.ts +87 -0
- package/dist/axxa/provider/models.js +3 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +5 -0
- package/dist/gmedic/agendaServices/client.d.ts +13 -9
- package/dist/gmedic/agendaServices/client.js +2 -2
- package/dist/gmedic/agendaServices/index.d.ts +1 -1
- package/dist/gmedic/agendaServices/models.d.ts +53 -1
- package/dist/gmedic/agendas/client.d.ts +16 -9
- package/dist/gmedic/agendas/client.js +2 -2
- package/dist/gmedic/agendas/index.d.ts +1 -1
- package/dist/gmedic/agendas/models.d.ts +53 -1
- package/dist/gmedic/appointments/client.d.ts +34 -241
- package/dist/gmedic/appointments/client.js +12 -10
- package/dist/gmedic/appointments/index.d.ts +1 -1
- package/dist/gmedic/appointments/models.d.ts +518 -1
- package/dist/gmedic/appointments/models.js +28 -2
- package/dist/gmedic/availability/client.d.ts +24 -10
- package/dist/gmedic/availability/client.js +4 -3
- package/dist/gmedic/availability/index.d.ts +1 -1
- package/dist/gmedic/availability/models.d.ts +57 -1
- package/dist/gmedic/availability/models.js +7 -1
- package/dist/gmedic/availableDays/client.d.ts +11 -8
- package/dist/gmedic/availableDays/client.js +1 -1
- package/dist/gmedic/availableDays/index.d.ts +1 -1
- package/dist/gmedic/availableDays/models.d.ts +53 -1
- package/dist/gmedic/branchOffices/client.d.ts +13 -9
- package/dist/gmedic/branchOffices/client.js +2 -2
- package/dist/gmedic/branchOffices/index.d.ts +1 -1
- package/dist/gmedic/branchOffices/models.d.ts +58 -1
- package/dist/gmedic/connections/client.d.ts +19 -42
- package/dist/gmedic/connections/client.js +10 -11
- package/dist/gmedic/connections/index.d.ts +1 -0
- package/dist/gmedic/connections/models.d.ts +162 -0
- package/dist/gmedic/connections/models.js +3 -0
- package/dist/gmedic/dictionaryEntries/client.d.ts +20 -10
- package/dist/gmedic/dictionaryEntries/client.js +2 -2
- package/dist/gmedic/dictionaryEntries/index.d.ts +1 -1
- package/dist/gmedic/dictionaryEntries/models.d.ts +53 -1
- package/dist/gmedic/healthPartners/client.d.ts +19 -9
- package/dist/gmedic/healthPartners/client.js +2 -2
- package/dist/gmedic/healthPartners/index.d.ts +1 -1
- package/dist/gmedic/healthPartners/models.d.ts +53 -1
- package/dist/gmedic/healthPromotionEntities/client.d.ts +20 -10
- package/dist/gmedic/healthPromotionEntities/client.js +2 -2
- package/dist/gmedic/healthPromotionEntities/index.d.ts +1 -1
- package/dist/gmedic/healthPromotionEntities/models.d.ts +53 -1
- package/dist/gmedic/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/client.d.ts +20 -10
- package/dist/gmedic/laboralRiskManagers/client.js +2 -2
- package/dist/gmedic/laboralRiskManagers/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/models.d.ts +53 -1
- package/dist/gmedic/models.d.ts +194 -133
- package/dist/gmedic/occupations/client.d.ts +19 -9
- package/dist/gmedic/occupations/client.js +2 -2
- package/dist/gmedic/occupations/index.d.ts +1 -1
- package/dist/gmedic/occupations/models.d.ts +53 -1
- package/dist/gmedic/patientNotes/client.d.ts +25 -55
- package/dist/gmedic/patientNotes/client.js +5 -5
- package/dist/gmedic/patientNotes/index.d.ts +1 -1
- package/dist/gmedic/patientNotes/models.d.ts +232 -1
- package/dist/gmedic/patients/client.d.ts +40 -359
- package/dist/gmedic/patients/client.js +13 -5
- package/dist/gmedic/patients/index.d.ts +2 -2
- package/dist/gmedic/patients/models.d.ts +795 -1
- package/dist/gmedic/services/client.d.ts +22 -16
- package/dist/gmedic/services/client.js +2 -2
- package/dist/gmedic/services/index.d.ts +1 -1
- package/dist/gmedic/services/models.d.ts +53 -3
- package/dist/gmedic/sessionPackages/client.d.ts +21 -58
- package/dist/gmedic/sessionPackages/client.js +5 -5
- package/dist/gmedic/sessionPackages/index.d.ts +1 -1
- package/dist/gmedic/sessionPackages/models.d.ts +183 -1
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +61 -0
- package/dist/models.js +6 -0
- package/dist/nuevaEps/affiliations/client.js +1 -1
- package/dist/nuevaEps/affiliations/models.d.ts +3 -1
- package/dist/nuevaEps/connections/client.d.ts +9 -9
- package/dist/nuevaEps/connections/client.js +9 -9
- package/dist/nuevaEps/connections/index.d.ts +1 -1
- package/dist/nuevaEps/connections/models.d.ts +1 -47
- package/dist/nuevaEps/connections/models.js +1 -8
- package/dist/saludTotal/client.d.ts +15 -0
- package/dist/saludTotal/client.js +20 -0
- package/dist/saludTotal/connections/client.d.ts +53 -0
- package/dist/saludTotal/connections/client.js +33 -0
- package/dist/saludTotal/connections/index.d.ts +5 -0
- package/dist/saludTotal/connections/index.js +4 -0
- package/dist/saludTotal/connections/models.d.ts +62 -0
- package/dist/saludTotal/connections/models.js +9 -0
- package/dist/saludTotal/index.d.ts +5 -0
- package/dist/saludTotal/index.js +4 -0
- package/dist/saludTotal/models.d.ts +37 -0
- package/dist/saludTotal/models.js +3 -0
- package/dist/saludTotal/portals/client.d.ts +35 -0
- package/dist/saludTotal/portals/client.js +18 -0
- package/dist/saludTotal/portals/index.d.ts +5 -0
- package/dist/saludTotal/portals/index.js +4 -0
- package/dist/saludTotal/portals/models.d.ts +30 -0
- package/dist/saludTotal/portals/models.js +3 -0
- package/dist/sura/affiliations/client.d.ts +3 -35
- package/dist/sura/affiliations/client.js +6 -6
- package/dist/sura/affiliations/index.d.ts +1 -0
- package/dist/sura/affiliations/models.d.ts +71 -0
- package/dist/sura/affiliations/models.js +8 -0
- package/dist/sura/appointments/client.d.ts +27 -327
- package/dist/sura/appointments/client.js +15 -21
- package/dist/sura/appointments/index.d.ts +2 -1
- package/dist/sura/appointments/models.d.ts +310 -0
- package/dist/sura/appointments/models.js +22 -0
- package/dist/sura/authorizations/client.d.ts +3 -43
- package/dist/sura/authorizations/client.js +6 -6
- package/dist/sura/authorizations/index.d.ts +1 -0
- package/dist/sura/authorizations/models.d.ts +79 -0
- package/dist/sura/authorizations/models.js +8 -0
- package/dist/sura/availability/client.d.ts +4 -68
- package/dist/sura/availability/client.js +9 -9
- package/dist/sura/availability/index.d.ts +2 -1
- package/dist/sura/availability/models.d.ts +103 -0
- package/dist/sura/availability/models.js +8 -0
- package/dist/sura/bookingOptions/client.d.ts +35 -0
- package/dist/sura/bookingOptions/client.js +19 -0
- package/dist/sura/bookingOptions/index.d.ts +5 -0
- package/dist/sura/bookingOptions/index.js +4 -0
- package/dist/sura/bookingOptions/models.d.ts +143 -0
- package/dist/sura/bookingOptions/models.js +8 -0
- package/dist/sura/client.d.ts +2 -0
- package/dist/sura/client.js +5 -0
- package/dist/sura/connections/client.d.ts +20 -98
- package/dist/sura/connections/client.js +10 -10
- package/dist/sura/connections/index.d.ts +1 -1
- package/dist/sura/connections/models.d.ts +102 -1
- package/dist/sura/connections/models.js +6 -0
- package/dist/sura/copays/client.d.ts +4 -40
- package/dist/sura/copays/client.js +9 -9
- package/dist/sura/copays/index.d.ts +2 -1
- package/dist/sura/copays/models.d.ts +75 -0
- package/dist/sura/copays/models.js +8 -0
- package/dist/sura/index.d.ts +1 -1
- package/dist/sura/models.d.ts +204 -148
- package/dist/sura/models.js +20 -1
- package/dist/sura/operations/client.d.ts +2 -7
- package/dist/sura/operations/client.js +4 -4
- package/dist/sura/operations/index.d.ts +1 -0
- package/dist/sura/operations/models.d.ts +43 -0
- package/dist/sura/operations/models.js +8 -0
- package/dist/sura/patients/client.d.ts +3 -40
- package/dist/sura/patients/client.js +6 -6
- package/dist/sura/patients/index.d.ts +1 -0
- package/dist/sura/patients/models.d.ts +76 -0
- package/dist/sura/patients/models.js +8 -0
- package/dist/sura/professionals/client.d.ts +7 -9
- package/dist/sura/professionals/client.js +3 -4
- package/dist/sura/professionals/index.d.ts +1 -1
- package/dist/sura/professionals/models.d.ts +40 -1
- package/dist/sura/services/client.d.ts +7 -8
- package/dist/sura/services/client.js +3 -4
- package/dist/sura/services/index.d.ts +1 -0
- package/dist/sura/services/models.d.ts +40 -0
- package/dist/sura/services/models.js +3 -0
- package/dist/visoft/index.d.ts +1 -1
- package/dist/visoft/models.d.ts +1 -16
- package/package.json +3 -3
|
@@ -1,4 +1,26 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { Empty, OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
3
|
+
/**
|
|
4
|
+
* gMedic has no appointment with this id.
|
|
5
|
+
*/
|
|
6
|
+
export interface GmedicAppointmentNotFoundFailure {
|
|
7
|
+
/**
|
|
8
|
+
* The failure code, stable across releases.
|
|
9
|
+
*/
|
|
10
|
+
code: "APPOINTMENT_NOT_FOUND";
|
|
11
|
+
/**
|
|
12
|
+
* No fields.
|
|
13
|
+
*/
|
|
14
|
+
data: Empty;
|
|
15
|
+
/**
|
|
16
|
+
* What went wrong, for people; it never contains input values.
|
|
17
|
+
*/
|
|
18
|
+
message: string;
|
|
19
|
+
/**
|
|
20
|
+
* Whether repeating the same request may succeed.
|
|
21
|
+
*/
|
|
22
|
+
retryable: false;
|
|
23
|
+
}
|
|
2
24
|
export interface GmedicAppointmentsPage {
|
|
3
25
|
/**
|
|
4
26
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -20,6 +42,7 @@ export interface GmedicAppointmentsPage {
|
|
|
20
42
|
consultationPurposeCode?: string | null;
|
|
21
43
|
consultationPurposeId?: string | null;
|
|
22
44
|
consultationPurposeName?: string | null;
|
|
45
|
+
createdAt?: string | null;
|
|
23
46
|
creationDate?: string | null;
|
|
24
47
|
cupCode?: string | null;
|
|
25
48
|
cupName?: string | null;
|
|
@@ -28,6 +51,7 @@ export interface GmedicAppointmentsPage {
|
|
|
28
51
|
description?: string | null;
|
|
29
52
|
desiredDate?: string | null;
|
|
30
53
|
endDate?: string | null;
|
|
54
|
+
endsAt?: Temporal.Instant | null;
|
|
31
55
|
entidad?: string | null;
|
|
32
56
|
externalCauseCode?: string | null;
|
|
33
57
|
externalCauseId?: string | null;
|
|
@@ -77,14 +101,22 @@ export interface GmedicAppointmentsPage {
|
|
|
77
101
|
servicesGroupId?: string | null;
|
|
78
102
|
servicesGroupName?: string | null;
|
|
79
103
|
startDate?: string | null;
|
|
104
|
+
startsAt?: Temporal.Instant | null;
|
|
80
105
|
state?: {
|
|
81
106
|
id: string;
|
|
82
107
|
label?: string | null;
|
|
83
108
|
name?: string | null;
|
|
84
109
|
value?: string | null;
|
|
85
110
|
} | null;
|
|
111
|
+
status?: {
|
|
112
|
+
id: string;
|
|
113
|
+
label?: string | null;
|
|
114
|
+
name?: string | null;
|
|
115
|
+
value?: string | null;
|
|
116
|
+
} | null;
|
|
86
117
|
time?: string | null;
|
|
87
118
|
title?: string | null;
|
|
119
|
+
updatedAt?: string | null;
|
|
88
120
|
userObjectId?: string | null;
|
|
89
121
|
userType?: string | null;
|
|
90
122
|
viaEntryCode?: string | null;
|
|
@@ -101,4 +133,489 @@ export interface GmedicAppointmentsPage {
|
|
|
101
133
|
*/
|
|
102
134
|
pageInfo: PageInfo;
|
|
103
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* A successful answer.
|
|
138
|
+
*/
|
|
139
|
+
export interface GmedicAppointmentsPageResponse {
|
|
140
|
+
data: GmedicAppointmentsPage;
|
|
141
|
+
error: null;
|
|
142
|
+
/**
|
|
143
|
+
* What every answer carries besides its data or error.
|
|
144
|
+
*/
|
|
145
|
+
metadata: ResponseMetadata;
|
|
146
|
+
success: true;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* A failed answer.
|
|
150
|
+
*/
|
|
151
|
+
export interface GmedicCreateAppointmentBadGatewayError {
|
|
152
|
+
data: null;
|
|
153
|
+
error: GmedicCreateAppointmentBadGatewayFailure;
|
|
154
|
+
/**
|
|
155
|
+
* What every answer carries besides its data or error.
|
|
156
|
+
*/
|
|
157
|
+
metadata: ResponseMetadata;
|
|
158
|
+
success: false;
|
|
159
|
+
}
|
|
160
|
+
export type GmedicCreateAppointmentBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
161
|
+
export interface GmedicCreateAppointmentBody {
|
|
162
|
+
connectionId?: string;
|
|
163
|
+
data: {
|
|
164
|
+
agendaId: string;
|
|
165
|
+
allDay?: boolean;
|
|
166
|
+
attentionTypeId?: string;
|
|
167
|
+
authorization?: string;
|
|
168
|
+
authorizationSessions?: number;
|
|
169
|
+
block?: boolean;
|
|
170
|
+
branchOfficeId?: string;
|
|
171
|
+
colorId?: string;
|
|
172
|
+
consultationPurposeId?: string;
|
|
173
|
+
cupCode?: string;
|
|
174
|
+
currentSessions?: string;
|
|
175
|
+
description?: string;
|
|
176
|
+
desiredDate?: string;
|
|
177
|
+
endDate?: string;
|
|
178
|
+
endsAt?: Temporal.Instant;
|
|
179
|
+
externalCauseId?: string;
|
|
180
|
+
invoice?: string;
|
|
181
|
+
location?: string;
|
|
182
|
+
medicalAuthorizationId?: string;
|
|
183
|
+
medicalServiceId?: string;
|
|
184
|
+
modality?: string;
|
|
185
|
+
notificationMail?: string;
|
|
186
|
+
notificationNumber?: string;
|
|
187
|
+
patientId: string;
|
|
188
|
+
serviceId?: string;
|
|
189
|
+
serviceModalityId?: string;
|
|
190
|
+
servicesGroupId?: string;
|
|
191
|
+
startDate?: string;
|
|
192
|
+
startsAt?: Temporal.Instant;
|
|
193
|
+
stateId?: string;
|
|
194
|
+
title: string;
|
|
195
|
+
viaEntryId?: string;
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* A failed answer.
|
|
200
|
+
*/
|
|
201
|
+
export interface GmedicCreateAppointmentNotFoundError {
|
|
202
|
+
data: null;
|
|
203
|
+
error: GmedicCreateAppointmentNotFoundFailure;
|
|
204
|
+
/**
|
|
205
|
+
* What every answer carries besides its data or error.
|
|
206
|
+
*/
|
|
207
|
+
metadata: ResponseMetadata;
|
|
208
|
+
success: false;
|
|
209
|
+
}
|
|
210
|
+
export type GmedicCreateAppointmentNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
211
|
+
export interface GmedicCreateAppointmentResult {
|
|
212
|
+
agendaId?: string | null;
|
|
213
|
+
agendaName?: string | null;
|
|
214
|
+
allDay?: boolean | null;
|
|
215
|
+
appointmentColor?: {
|
|
216
|
+
id: string;
|
|
217
|
+
label?: string | null;
|
|
218
|
+
name?: string | null;
|
|
219
|
+
value?: string | null;
|
|
220
|
+
} | null;
|
|
221
|
+
authorization?: string | null;
|
|
222
|
+
authorizationSessions?: number | null;
|
|
223
|
+
block?: boolean | null;
|
|
224
|
+
branchOffice?: string | null;
|
|
225
|
+
consultationPurposeCode?: string | null;
|
|
226
|
+
consultationPurposeId?: string | null;
|
|
227
|
+
consultationPurposeName?: string | null;
|
|
228
|
+
createdAt?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* Deprecated: use `createdAt`. Answered until 2027-01-28.
|
|
231
|
+
*
|
|
232
|
+
* @deprecated
|
|
233
|
+
*/
|
|
234
|
+
creationDate?: string | null;
|
|
235
|
+
cupCode?: string | null;
|
|
236
|
+
cupName?: string | null;
|
|
237
|
+
currentSessions?: string | null;
|
|
238
|
+
/**
|
|
239
|
+
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
240
|
+
*
|
|
241
|
+
* @deprecated
|
|
242
|
+
*/
|
|
243
|
+
date?: string | null;
|
|
244
|
+
description?: string | null;
|
|
245
|
+
desiredDate?: string | null;
|
|
246
|
+
/**
|
|
247
|
+
* Deprecated: use `endsAt`. Answered until 2027-01-28.
|
|
248
|
+
*
|
|
249
|
+
* @deprecated
|
|
250
|
+
*/
|
|
251
|
+
endDate?: string | null;
|
|
252
|
+
endsAt?: Temporal.Instant | null;
|
|
253
|
+
entidad?: string | null;
|
|
254
|
+
externalCauseCode?: string | null;
|
|
255
|
+
externalCauseId?: string | null;
|
|
256
|
+
externalCauseName?: string | null;
|
|
257
|
+
id: string;
|
|
258
|
+
invoice?: string | null;
|
|
259
|
+
key?: string | null;
|
|
260
|
+
location?: string | null;
|
|
261
|
+
mainAttendantDocumentType?: {
|
|
262
|
+
id: string;
|
|
263
|
+
label?: string | null;
|
|
264
|
+
name?: string | null;
|
|
265
|
+
value?: string | null;
|
|
266
|
+
} | null;
|
|
267
|
+
mainAttendantEmail?: string | null;
|
|
268
|
+
mainAttendantId?: string | null;
|
|
269
|
+
mainAttendantIdentification?: string | null;
|
|
270
|
+
mainAttendantMobile?: string | null;
|
|
271
|
+
mainAttendantName?: string | null;
|
|
272
|
+
mainAttendantPhone?: string | null;
|
|
273
|
+
mainDiagnosticCode?: string | null;
|
|
274
|
+
mainDiagnosticName?: string | null;
|
|
275
|
+
medicalAuthorizationId?: string | null;
|
|
276
|
+
medicalServiceCode?: string | null;
|
|
277
|
+
medicalServiceId?: string | null;
|
|
278
|
+
medicalServiceName?: string | null;
|
|
279
|
+
meetUrl?: string | null;
|
|
280
|
+
modality?: "FACE_TO_FACE" | "VIRTUAL" | "HOME_VISIT" | "NOT_APPLICABLE" | null;
|
|
281
|
+
/**
|
|
282
|
+
* Deprecated: use `updatedAt`. Answered until 2027-01-28.
|
|
283
|
+
*
|
|
284
|
+
* @deprecated
|
|
285
|
+
*/
|
|
286
|
+
modificationDate?: string | null;
|
|
287
|
+
opportunityIndicator?: number | null;
|
|
288
|
+
personCreator?: string | null;
|
|
289
|
+
readOnly?: boolean | null;
|
|
290
|
+
rejectReason?: {
|
|
291
|
+
id: string;
|
|
292
|
+
label?: string | null;
|
|
293
|
+
name?: string | null;
|
|
294
|
+
value?: string | null;
|
|
295
|
+
} | null;
|
|
296
|
+
selfServiceAllowCancel?: boolean | null;
|
|
297
|
+
selfServiceAllowReschedule?: boolean | null;
|
|
298
|
+
service?: string | null;
|
|
299
|
+
serviceId?: string | null;
|
|
300
|
+
serviceModalityCode?: string | null;
|
|
301
|
+
serviceModalityId?: string | null;
|
|
302
|
+
serviceModalityName?: string | null;
|
|
303
|
+
servicesGroupCode?: string | null;
|
|
304
|
+
servicesGroupId?: string | null;
|
|
305
|
+
servicesGroupName?: string | null;
|
|
306
|
+
/**
|
|
307
|
+
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
308
|
+
*
|
|
309
|
+
* @deprecated
|
|
310
|
+
*/
|
|
311
|
+
startDate?: string | null;
|
|
312
|
+
startsAt?: Temporal.Instant | null;
|
|
313
|
+
/**
|
|
314
|
+
* Deprecated: use `status`. Answered until 2027-01-28.
|
|
315
|
+
*
|
|
316
|
+
* @deprecated
|
|
317
|
+
*/
|
|
318
|
+
state?: {
|
|
319
|
+
id: string;
|
|
320
|
+
label?: string | null;
|
|
321
|
+
name?: string | null;
|
|
322
|
+
value?: string | null;
|
|
323
|
+
} | null;
|
|
324
|
+
status?: {
|
|
325
|
+
id: string;
|
|
326
|
+
label?: string | null;
|
|
327
|
+
name?: string | null;
|
|
328
|
+
value?: string | null;
|
|
329
|
+
} | null;
|
|
330
|
+
/**
|
|
331
|
+
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
332
|
+
*
|
|
333
|
+
* @deprecated
|
|
334
|
+
*/
|
|
335
|
+
time?: string | null;
|
|
336
|
+
title?: string | null;
|
|
337
|
+
updatedAt?: string | null;
|
|
338
|
+
userObjectId?: string | null;
|
|
339
|
+
userType?: string | null;
|
|
340
|
+
viaEntryCode?: string | null;
|
|
341
|
+
viaEntryId?: string | null;
|
|
342
|
+
viaEntryName?: string | null;
|
|
343
|
+
videocallProvider?: string | null;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* A successful answer.
|
|
347
|
+
*/
|
|
348
|
+
export interface GmedicCreateAppointmentResultResponse {
|
|
349
|
+
data: GmedicCreateAppointmentResult;
|
|
350
|
+
error: null;
|
|
351
|
+
/**
|
|
352
|
+
* What every answer carries besides its data or error.
|
|
353
|
+
*/
|
|
354
|
+
metadata: ResponseMetadata;
|
|
355
|
+
success: true;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* A failed answer.
|
|
359
|
+
*/
|
|
360
|
+
export interface GmedicCreateAppointmentServiceUnavailableError {
|
|
361
|
+
data: null;
|
|
362
|
+
error: GmedicCreateAppointmentServiceUnavailableFailure;
|
|
363
|
+
/**
|
|
364
|
+
* What every answer carries besides its data or error.
|
|
365
|
+
*/
|
|
366
|
+
metadata: ResponseMetadata;
|
|
367
|
+
success: false;
|
|
368
|
+
}
|
|
369
|
+
export type GmedicCreateAppointmentServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
370
|
+
/**
|
|
371
|
+
* A failed answer.
|
|
372
|
+
*/
|
|
373
|
+
export interface GmedicListAppointmentsBadGatewayError {
|
|
374
|
+
data: null;
|
|
375
|
+
error: GmedicListAppointmentsBadGatewayFailure;
|
|
376
|
+
/**
|
|
377
|
+
* What every answer carries besides its data or error.
|
|
378
|
+
*/
|
|
379
|
+
metadata: ResponseMetadata;
|
|
380
|
+
success: false;
|
|
381
|
+
}
|
|
382
|
+
export type GmedicListAppointmentsBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
383
|
+
/**
|
|
384
|
+
* A failed answer.
|
|
385
|
+
*/
|
|
386
|
+
export interface GmedicListAppointmentsNotFoundError {
|
|
387
|
+
data: null;
|
|
388
|
+
error: GmedicListAppointmentsNotFoundFailure;
|
|
389
|
+
/**
|
|
390
|
+
* What every answer carries besides its data or error.
|
|
391
|
+
*/
|
|
392
|
+
metadata: ResponseMetadata;
|
|
393
|
+
success: false;
|
|
394
|
+
}
|
|
395
|
+
export type GmedicListAppointmentsNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure | GmedicAppointmentNotFoundFailure;
|
|
396
|
+
/**
|
|
397
|
+
* A failed answer.
|
|
398
|
+
*/
|
|
399
|
+
export interface GmedicListAppointmentsServiceUnavailableError {
|
|
400
|
+
data: null;
|
|
401
|
+
error: GmedicListAppointmentsServiceUnavailableFailure;
|
|
402
|
+
/**
|
|
403
|
+
* What every answer carries besides its data or error.
|
|
404
|
+
*/
|
|
405
|
+
metadata: ResponseMetadata;
|
|
406
|
+
success: false;
|
|
407
|
+
}
|
|
408
|
+
export type GmedicListAppointmentsServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
409
|
+
/**
|
|
410
|
+
* A failed answer.
|
|
411
|
+
*/
|
|
412
|
+
export interface GmedicUpdateAppointmentBadGatewayError {
|
|
413
|
+
data: null;
|
|
414
|
+
error: GmedicUpdateAppointmentBadGatewayFailure;
|
|
415
|
+
/**
|
|
416
|
+
* What every answer carries besides its data or error.
|
|
417
|
+
*/
|
|
418
|
+
metadata: ResponseMetadata;
|
|
419
|
+
success: false;
|
|
420
|
+
}
|
|
421
|
+
export type GmedicUpdateAppointmentBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
422
|
+
export interface GmedicUpdateAppointmentBody {
|
|
423
|
+
color?: "BLUE" | "RED" | "PINK" | "PURPLE" | "DARK_PURPLE" | "STEELE_BLUE" | "LIGHT_BLUE" | "TEAL" | "LIGHT_TEAL" | "GREEN" | "LIGHT_GREEN" | "YELLOW_GREEN" | "YELLOW" | "ORANGE" | "RED_ORANGE" | "LIGHT_BROWN" | "LIGHT_PURPLE" | "GREY" | "BLUE_GREY" | "YELLOW_GREY" | "BROWN";
|
|
424
|
+
connectionId?: string;
|
|
425
|
+
/**
|
|
426
|
+
* Deprecated: use `endsAt`. Answered until 2027-01-28.
|
|
427
|
+
*
|
|
428
|
+
* @deprecated
|
|
429
|
+
*/
|
|
430
|
+
endDate?: string;
|
|
431
|
+
endsAt?: Temporal.Instant;
|
|
432
|
+
rejectReasonCode?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
435
|
+
*
|
|
436
|
+
* @deprecated
|
|
437
|
+
*/
|
|
438
|
+
startDate?: string;
|
|
439
|
+
startsAt?: Temporal.Instant;
|
|
440
|
+
status?: "SCHEDULED" | "ATTENDED" | "UNATTENDED" | "CANCELED" | "PENALIZED" | "CONFIRMED" | "DECLINED";
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* A failed answer.
|
|
444
|
+
*/
|
|
445
|
+
export interface GmedicUpdateAppointmentNotFoundError {
|
|
446
|
+
data: null;
|
|
447
|
+
error: GmedicUpdateAppointmentNotFoundFailure;
|
|
448
|
+
/**
|
|
449
|
+
* What every answer carries besides its data or error.
|
|
450
|
+
*/
|
|
451
|
+
metadata: ResponseMetadata;
|
|
452
|
+
success: false;
|
|
453
|
+
}
|
|
454
|
+
export type GmedicUpdateAppointmentNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure | GmedicAppointmentNotFoundFailure;
|
|
455
|
+
export interface GmedicUpdateAppointmentResult {
|
|
456
|
+
agendaId?: string | null;
|
|
457
|
+
agendaName?: string | null;
|
|
458
|
+
allDay?: boolean | null;
|
|
459
|
+
appointmentColor?: {
|
|
460
|
+
id: string;
|
|
461
|
+
label?: string | null;
|
|
462
|
+
name?: string | null;
|
|
463
|
+
value?: string | null;
|
|
464
|
+
} | null;
|
|
465
|
+
authorization?: string | null;
|
|
466
|
+
authorizationSessions?: number | null;
|
|
467
|
+
block?: boolean | null;
|
|
468
|
+
branchOffice?: string | null;
|
|
469
|
+
consultationPurposeCode?: string | null;
|
|
470
|
+
consultationPurposeId?: string | null;
|
|
471
|
+
consultationPurposeName?: string | null;
|
|
472
|
+
createdAt?: string | null;
|
|
473
|
+
/**
|
|
474
|
+
* Deprecated: use `createdAt`. Answered until 2027-01-28.
|
|
475
|
+
*
|
|
476
|
+
* @deprecated
|
|
477
|
+
*/
|
|
478
|
+
creationDate?: string | null;
|
|
479
|
+
cupCode?: string | null;
|
|
480
|
+
cupName?: string | null;
|
|
481
|
+
currentSessions?: string | null;
|
|
482
|
+
/**
|
|
483
|
+
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
484
|
+
*
|
|
485
|
+
* @deprecated
|
|
486
|
+
*/
|
|
487
|
+
date?: string | null;
|
|
488
|
+
description?: string | null;
|
|
489
|
+
desiredDate?: string | null;
|
|
490
|
+
/**
|
|
491
|
+
* Deprecated: use `endsAt`. Answered until 2027-01-28.
|
|
492
|
+
*
|
|
493
|
+
* @deprecated
|
|
494
|
+
*/
|
|
495
|
+
endDate?: string | null;
|
|
496
|
+
endsAt?: Temporal.Instant | null;
|
|
497
|
+
entidad?: string | null;
|
|
498
|
+
externalCauseCode?: string | null;
|
|
499
|
+
externalCauseId?: string | null;
|
|
500
|
+
externalCauseName?: string | null;
|
|
501
|
+
id: string;
|
|
502
|
+
invoice?: string | null;
|
|
503
|
+
key?: string | null;
|
|
504
|
+
location?: string | null;
|
|
505
|
+
mainAttendantDocumentType?: {
|
|
506
|
+
id: string;
|
|
507
|
+
label?: string | null;
|
|
508
|
+
name?: string | null;
|
|
509
|
+
value?: string | null;
|
|
510
|
+
} | null;
|
|
511
|
+
mainAttendantEmail?: string | null;
|
|
512
|
+
mainAttendantId?: string | null;
|
|
513
|
+
mainAttendantIdentification?: string | null;
|
|
514
|
+
mainAttendantMobile?: string | null;
|
|
515
|
+
mainAttendantName?: string | null;
|
|
516
|
+
mainAttendantPhone?: string | null;
|
|
517
|
+
mainDiagnosticCode?: string | null;
|
|
518
|
+
mainDiagnosticName?: string | null;
|
|
519
|
+
medicalAuthorizationId?: string | null;
|
|
520
|
+
medicalServiceCode?: string | null;
|
|
521
|
+
medicalServiceId?: string | null;
|
|
522
|
+
medicalServiceName?: string | null;
|
|
523
|
+
meetUrl?: string | null;
|
|
524
|
+
modality?: "FACE_TO_FACE" | "VIRTUAL" | "HOME_VISIT" | "NOT_APPLICABLE" | null;
|
|
525
|
+
/**
|
|
526
|
+
* Deprecated: use `updatedAt`. Answered until 2027-01-28.
|
|
527
|
+
*
|
|
528
|
+
* @deprecated
|
|
529
|
+
*/
|
|
530
|
+
modificationDate?: string | null;
|
|
531
|
+
opportunityIndicator?: number | null;
|
|
532
|
+
personCreator?: string | null;
|
|
533
|
+
readOnly?: boolean | null;
|
|
534
|
+
rejectReason?: {
|
|
535
|
+
id: string;
|
|
536
|
+
label?: string | null;
|
|
537
|
+
name?: string | null;
|
|
538
|
+
value?: string | null;
|
|
539
|
+
} | null;
|
|
540
|
+
selfServiceAllowCancel?: boolean | null;
|
|
541
|
+
selfServiceAllowReschedule?: boolean | null;
|
|
542
|
+
service?: string | null;
|
|
543
|
+
serviceId?: string | null;
|
|
544
|
+
serviceModalityCode?: string | null;
|
|
545
|
+
serviceModalityId?: string | null;
|
|
546
|
+
serviceModalityName?: string | null;
|
|
547
|
+
servicesGroupCode?: string | null;
|
|
548
|
+
servicesGroupId?: string | null;
|
|
549
|
+
servicesGroupName?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
552
|
+
*
|
|
553
|
+
* @deprecated
|
|
554
|
+
*/
|
|
555
|
+
startDate?: string | null;
|
|
556
|
+
startsAt?: Temporal.Instant | null;
|
|
557
|
+
/**
|
|
558
|
+
* Deprecated: use `status`. Answered until 2027-01-28.
|
|
559
|
+
*
|
|
560
|
+
* @deprecated
|
|
561
|
+
*/
|
|
562
|
+
state?: {
|
|
563
|
+
id: string;
|
|
564
|
+
label?: string | null;
|
|
565
|
+
name?: string | null;
|
|
566
|
+
value?: string | null;
|
|
567
|
+
} | null;
|
|
568
|
+
status?: {
|
|
569
|
+
id: string;
|
|
570
|
+
label?: string | null;
|
|
571
|
+
name?: string | null;
|
|
572
|
+
value?: string | null;
|
|
573
|
+
} | null;
|
|
574
|
+
/**
|
|
575
|
+
* Deprecated: use `startsAt`. Answered until 2027-01-28.
|
|
576
|
+
*
|
|
577
|
+
* @deprecated
|
|
578
|
+
*/
|
|
579
|
+
time?: string | null;
|
|
580
|
+
title?: string | null;
|
|
581
|
+
updatedAt?: string | null;
|
|
582
|
+
userObjectId?: string | null;
|
|
583
|
+
userType?: string | null;
|
|
584
|
+
viaEntryCode?: string | null;
|
|
585
|
+
viaEntryId?: string | null;
|
|
586
|
+
viaEntryName?: string | null;
|
|
587
|
+
videocallProvider?: string | null;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* A successful answer.
|
|
591
|
+
*/
|
|
592
|
+
export interface GmedicUpdateAppointmentResultResponse {
|
|
593
|
+
data: GmedicUpdateAppointmentResult;
|
|
594
|
+
error: null;
|
|
595
|
+
/**
|
|
596
|
+
* What every answer carries besides its data or error.
|
|
597
|
+
*/
|
|
598
|
+
metadata: ResponseMetadata;
|
|
599
|
+
success: true;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* A failed answer.
|
|
603
|
+
*/
|
|
604
|
+
export interface GmedicUpdateAppointmentServiceUnavailableError {
|
|
605
|
+
data: null;
|
|
606
|
+
error: GmedicUpdateAppointmentServiceUnavailableFailure;
|
|
607
|
+
/**
|
|
608
|
+
* What every answer carries besides its data or error.
|
|
609
|
+
*/
|
|
610
|
+
metadata: ResponseMetadata;
|
|
611
|
+
success: false;
|
|
612
|
+
}
|
|
613
|
+
export type GmedicUpdateAppointmentServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
104
614
|
export declare const GmedicAppointmentsPageCodec: import("../../_/codec.js").Codec;
|
|
615
|
+
export declare const GmedicAppointmentsPageResponseCodec: import("../../_/codec.js").Codec;
|
|
616
|
+
export declare const GmedicCreateAppointmentBodyCodec: import("../../_/codec.js").Codec;
|
|
617
|
+
export declare const GmedicCreateAppointmentResultCodec: import("../../_/codec.js").Codec;
|
|
618
|
+
export declare const GmedicCreateAppointmentResultResponseCodec: import("../../_/codec.js").Codec;
|
|
619
|
+
export declare const GmedicUpdateAppointmentBodyCodec: import("../../_/codec.js").Codec;
|
|
620
|
+
export declare const GmedicUpdateAppointmentResultCodec: import("../../_/codec.js").Codec;
|
|
621
|
+
export declare const GmedicUpdateAppointmentResultResponseCodec: import("../../_/codec.js").Codec;
|
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
import { array, object } from "../../_/index.js";
|
|
3
|
+
import { array, instant, object } from "../../_/index.js";
|
|
4
4
|
export const GmedicAppointmentsPageCodec = object([
|
|
5
|
-
["data", null, array(object([["meetURL", "meetUrl"]]))],
|
|
5
|
+
["data", null, array(object([["endsAt", null, instant], ["meetURL", "meetUrl"], ["startsAt", null, instant]]))],
|
|
6
|
+
]);
|
|
7
|
+
export const GmedicAppointmentsPageResponseCodec = object([
|
|
8
|
+
["data", null, () => GmedicAppointmentsPageCodec],
|
|
9
|
+
]);
|
|
10
|
+
export const GmedicCreateAppointmentBodyCodec = object([
|
|
11
|
+
["data", null, object([["endsAt", null, instant], ["startsAt", null, instant]])],
|
|
12
|
+
]);
|
|
13
|
+
export const GmedicCreateAppointmentResultCodec = object([
|
|
14
|
+
["endsAt", null, instant],
|
|
15
|
+
["meetURL", "meetUrl"],
|
|
16
|
+
["startsAt", null, instant],
|
|
17
|
+
]);
|
|
18
|
+
export const GmedicCreateAppointmentResultResponseCodec = object([
|
|
19
|
+
["data", null, () => GmedicCreateAppointmentResultCodec],
|
|
20
|
+
]);
|
|
21
|
+
export const GmedicUpdateAppointmentBodyCodec = object([
|
|
22
|
+
["endsAt", null, instant],
|
|
23
|
+
["startsAt", null, instant],
|
|
24
|
+
]);
|
|
25
|
+
export const GmedicUpdateAppointmentResultCodec = object([
|
|
26
|
+
["endsAt", null, instant],
|
|
27
|
+
["meetURL", "meetUrl"],
|
|
28
|
+
["startsAt", null, instant],
|
|
29
|
+
]);
|
|
30
|
+
export const GmedicUpdateAppointmentResultResponseCodec = object([
|
|
31
|
+
["data", null, () => GmedicUpdateAppointmentResultCodec],
|
|
6
32
|
]);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type
|
|
3
|
-
import type { GmedicAvailabilityPage } from "./models.js";
|
|
2
|
+
import { type GmedicAvailabilityPageResponse } from "./models.js";
|
|
4
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The URL the paths of the API are relative to.
|
|
@@ -34,14 +33,29 @@ export interface ListRequest {
|
|
|
34
33
|
* another cursor.
|
|
35
34
|
*/
|
|
36
35
|
limit?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The agenda id.
|
|
38
|
+
*/
|
|
37
39
|
agendaId: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
/**
|
|
41
|
+
* First day, YYYYMMDD.
|
|
42
|
+
*/
|
|
43
|
+
from?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Last day, YYYYMMDD, at most six days after from.
|
|
46
|
+
*/
|
|
47
|
+
to?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The connection id.
|
|
50
|
+
*/
|
|
40
51
|
connectionId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Deprecated: use `from`. Answered until 2027-01-28.
|
|
54
|
+
*/
|
|
55
|
+
startDate?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Deprecated: use `to`. Answered until 2027-01-28.
|
|
58
|
+
*/
|
|
59
|
+
endDate?: string;
|
|
41
60
|
}
|
|
42
|
-
export
|
|
43
|
-
data: GmedicAvailabilityPage;
|
|
44
|
-
error: null;
|
|
45
|
-
metadata: GmedicResponseMetadata;
|
|
46
|
-
success: true;
|
|
47
|
-
}
|
|
61
|
+
export type ListResponse = GmedicAvailabilityPageResponse;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
import { Transport, } from "../../_/index.js";
|
|
4
|
+
import { GmedicAvailabilityPageResponseCodec, } from "./models.js";
|
|
4
5
|
export function createClient(options) {
|
|
5
6
|
return bind(new Transport(options));
|
|
6
7
|
}
|
|
@@ -12,7 +13,7 @@ export function bind(transport) {
|
|
|
12
13
|
const ListOperation = {
|
|
13
14
|
method: "GET",
|
|
14
15
|
route: "/v1/gmedic/availability",
|
|
15
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", agendaId: "agendaId",
|
|
16
|
-
response:
|
|
17
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
16
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", agendaId: "agendaId", from: "from", to: "to", connectionId: "connectionId", startDate: "startDate", endDate: "endDate" },
|
|
17
|
+
response: GmedicAvailabilityPageResponseCodec,
|
|
18
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
19
|
};
|
|
@@ -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 { GmedicAvailabilityPage } from "./models.js";
|
|
5
|
+
export type { GmedicAvailabilityPage, GmedicAvailabilityPageResponse, GmedicListAvailabilityBadGatewayError, GmedicListAvailabilityBadGatewayFailure, GmedicListAvailabilityNotFoundError, GmedicListAvailabilityNotFoundFailure, GmedicListAvailabilityServiceUnavailableError, GmedicListAvailabilityServiceUnavailableFailure, } from "./models.js";
|