@integraciones_doc24/sdk 1.16.30 → 1.16.31
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 +5 -0
- package/lib/schemas.js +1 -0
- package/lib/userSdk/videoVisit.d.ts +1 -0
- package/lib/userSdk/videoVisit.js +3 -0
- package/package.json +1 -1
package/lib/schemas.d.ts
CHANGED
|
@@ -918,12 +918,15 @@ export declare const doc24Schemas: {
|
|
|
918
918
|
fullName: import("zod").ZodString;
|
|
919
919
|
specialtyId: import("zod").ZodNumber;
|
|
920
920
|
specialty: import("zod").ZodString;
|
|
921
|
+
idPrestadorInterno: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
921
922
|
}, "strip", import("zod").ZodTypeAny, {
|
|
923
|
+
idPrestadorInterno?: string | null | undefined;
|
|
922
924
|
id: number;
|
|
923
925
|
fullName: string;
|
|
924
926
|
specialtyId: number;
|
|
925
927
|
specialty: string;
|
|
926
928
|
}, {
|
|
929
|
+
idPrestadorInterno?: string | null | undefined;
|
|
927
930
|
id: number;
|
|
928
931
|
fullName: string;
|
|
929
932
|
specialtyId: number;
|
|
@@ -1081,6 +1084,7 @@ export declare const doc24Schemas: {
|
|
|
1081
1084
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1082
1085
|
modality?: "P" | "V" | undefined;
|
|
1083
1086
|
professional?: {
|
|
1087
|
+
idPrestadorInterno?: string | null | undefined;
|
|
1084
1088
|
id: number;
|
|
1085
1089
|
fullName: string;
|
|
1086
1090
|
specialtyId: number;
|
|
@@ -1138,6 +1142,7 @@ export declare const doc24Schemas: {
|
|
|
1138
1142
|
}, {
|
|
1139
1143
|
modality?: "P" | "V" | undefined;
|
|
1140
1144
|
professional?: {
|
|
1145
|
+
idPrestadorInterno?: string | null | undefined;
|
|
1141
1146
|
id: number;
|
|
1142
1147
|
fullName: string;
|
|
1143
1148
|
specialtyId: number;
|
package/lib/schemas.js
CHANGED
|
@@ -425,6 +425,7 @@ exports.doc24Schemas = {
|
|
|
425
425
|
fullName: zod_1.string(),
|
|
426
426
|
specialtyId: zod_1.number(),
|
|
427
427
|
specialty: zod_1.string(),
|
|
428
|
+
idPrestadorInterno: zod_1.string().nullish(),
|
|
428
429
|
}).optional(),
|
|
429
430
|
finishDate: zod_1.date().nullable(),
|
|
430
431
|
retries: zod_1.number().nullish(),
|
|
@@ -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),
|