@integraciones_doc24/sdk 1.16.30 → 1.16.32
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/lib/schemas.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ export declare const doc24Schemas: {
|
|
|
216
216
|
province: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
217
217
|
city: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
218
218
|
address: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
219
|
+
addressPhone: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
219
220
|
}, "strip", import("zod").ZodTypeAny, {
|
|
220
221
|
length?: number | null | undefined;
|
|
221
222
|
address?: string | null | undefined;
|
|
@@ -225,6 +226,7 @@ export declare const doc24Schemas: {
|
|
|
225
226
|
consultation_value?: string | null | undefined;
|
|
226
227
|
inPerson?: boolean | null | undefined;
|
|
227
228
|
virtual?: boolean | null | undefined;
|
|
229
|
+
addressPhone?: string | null | undefined;
|
|
228
230
|
date: Date;
|
|
229
231
|
type: "appointment" | "chat" | "instant";
|
|
230
232
|
id: string | number;
|
|
@@ -252,6 +254,7 @@ export declare const doc24Schemas: {
|
|
|
252
254
|
consultation_value?: string | null | undefined;
|
|
253
255
|
inPerson?: boolean | null | undefined;
|
|
254
256
|
virtual?: boolean | null | undefined;
|
|
257
|
+
addressPhone?: string | null | undefined;
|
|
255
258
|
date: Date;
|
|
256
259
|
type: "appointment" | "chat" | "instant";
|
|
257
260
|
id: string | number;
|
|
@@ -918,12 +921,15 @@ export declare const doc24Schemas: {
|
|
|
918
921
|
fullName: import("zod").ZodString;
|
|
919
922
|
specialtyId: import("zod").ZodNumber;
|
|
920
923
|
specialty: import("zod").ZodString;
|
|
924
|
+
idPrestadorInterno: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
921
925
|
}, "strip", import("zod").ZodTypeAny, {
|
|
926
|
+
idPrestadorInterno?: string | null | undefined;
|
|
922
927
|
id: number;
|
|
923
928
|
fullName: string;
|
|
924
929
|
specialtyId: number;
|
|
925
930
|
specialty: string;
|
|
926
931
|
}, {
|
|
932
|
+
idPrestadorInterno?: string | null | undefined;
|
|
927
933
|
id: number;
|
|
928
934
|
fullName: string;
|
|
929
935
|
specialtyId: number;
|
|
@@ -1081,6 +1087,7 @@ export declare const doc24Schemas: {
|
|
|
1081
1087
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1082
1088
|
modality?: "P" | "V" | undefined;
|
|
1083
1089
|
professional?: {
|
|
1090
|
+
idPrestadorInterno?: string | null | undefined;
|
|
1084
1091
|
id: number;
|
|
1085
1092
|
fullName: string;
|
|
1086
1093
|
specialtyId: number;
|
|
@@ -1138,6 +1145,7 @@ export declare const doc24Schemas: {
|
|
|
1138
1145
|
}, {
|
|
1139
1146
|
modality?: "P" | "V" | undefined;
|
|
1140
1147
|
professional?: {
|
|
1148
|
+
idPrestadorInterno?: string | null | undefined;
|
|
1141
1149
|
id: number;
|
|
1142
1150
|
fullName: string;
|
|
1143
1151
|
specialtyId: number;
|
package/lib/schemas.js
CHANGED
|
@@ -61,6 +61,7 @@ const availableAppointment = zod_1.object({
|
|
|
61
61
|
province: zod_1.string().nullish(),
|
|
62
62
|
city: zod_1.string().nullish(),
|
|
63
63
|
address: zod_1.string().nullish(),
|
|
64
|
+
addressPhone: zod_1.string().nullish(),
|
|
64
65
|
});
|
|
65
66
|
const appointment = zod_1.object({
|
|
66
67
|
id: zod_1.number(),
|
|
@@ -425,6 +426,7 @@ exports.doc24Schemas = {
|
|
|
425
426
|
fullName: zod_1.string(),
|
|
426
427
|
specialtyId: zod_1.number(),
|
|
427
428
|
specialty: zod_1.string(),
|
|
429
|
+
idPrestadorInterno: zod_1.string().nullish(),
|
|
428
430
|
}).optional(),
|
|
429
431
|
finishDate: zod_1.date().nullable(),
|
|
430
432
|
retries: zod_1.number().nullish(),
|
|
@@ -20,6 +20,7 @@ export declare const getScheduleMethods: (makeRequest: RequestMaker) => {
|
|
|
20
20
|
consultation_value?: string | null | undefined;
|
|
21
21
|
inPerson?: boolean | null | undefined;
|
|
22
22
|
virtual?: boolean | null | undefined;
|
|
23
|
+
addressPhone?: string | null | undefined;
|
|
23
24
|
date: Date;
|
|
24
25
|
type: "appointment" | "chat" | "instant";
|
|
25
26
|
id: string | number;
|
package/lib/userSdk/schedule.js
CHANGED
|
@@ -124,6 +124,7 @@ export declare const getVideoVisitMethods: (makeRequest: RequestMaker) => {
|
|
|
124
124
|
getCompleteVideoVisitDetails: (vcToken: string) => Promise<{
|
|
125
125
|
modality?: "P" | "V" | undefined;
|
|
126
126
|
professional?: {
|
|
127
|
+
idPrestadorInterno?: string | null | undefined;
|
|
127
128
|
id: number;
|
|
128
129
|
fullName: string;
|
|
129
130
|
specialtyId: number;
|
|
@@ -136,6 +136,9 @@ const getVideoVisitMethods = (makeRequest) => {
|
|
|
136
136
|
fullName: response.data.profesional,
|
|
137
137
|
specialtyId: response.data.id_especialidad,
|
|
138
138
|
specialty: response.data.especialidad,
|
|
139
|
+
idPrestadorInterno: response.data.id_prestador_interno != null
|
|
140
|
+
? String(response.data.id_prestador_interno)
|
|
141
|
+
: undefined,
|
|
139
142
|
}
|
|
140
143
|
: undefined,
|
|
141
144
|
finishDate: response.data.fecha_fin && utils_1.parseDateTime(response.data.fecha_fin),
|