@integraciones_doc24/sdk 0.42.1 → 0.42.3
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/baseSdk/consultation.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/schemas.d.ts +8 -8
- package/lib/schemas.js +2 -2
- package/lib/userSdk/schedule.d.ts +1 -1
- package/package.json +1 -1
|
@@ -69,7 +69,7 @@ export declare const getConsultationMethods: (url: string, credentials: Doc24.Sd
|
|
|
69
69
|
motivo_extendido_consulta: string;
|
|
70
70
|
presencial_requerida: string;
|
|
71
71
|
derivada: string;
|
|
72
|
-
derivada_id_especialidad: string;
|
|
72
|
+
derivada_id_especialidad: string | number;
|
|
73
73
|
derivada_presencial_obligatoria: string;
|
|
74
74
|
derivada_comentarios: string | null;
|
|
75
75
|
diagnostico: any[];
|
package/lib/index.d.ts
CHANGED
|
@@ -173,7 +173,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
173
173
|
motivo_extendido_consulta: string;
|
|
174
174
|
presencial_requerida: string;
|
|
175
175
|
derivada: string;
|
|
176
|
-
derivada_id_especialidad: string;
|
|
176
|
+
derivada_id_especialidad: string | number;
|
|
177
177
|
derivada_presencial_obligatoria: string;
|
|
178
178
|
derivada_comentarios: string | null;
|
|
179
179
|
diagnostico: any[];
|
package/lib/schemas.d.ts
CHANGED
|
@@ -120,15 +120,15 @@ export declare const doc24Schemas: {
|
|
|
120
120
|
professional: import("zod").ZodObject<{
|
|
121
121
|
id: import("zod").ZodNumber;
|
|
122
122
|
fullName: import("zod").ZodString;
|
|
123
|
-
logoUrl: import("zod").ZodString
|
|
123
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
124
124
|
}, "strip", import("zod").ZodTypeAny, {
|
|
125
|
+
logoUrl?: string | null | undefined;
|
|
125
126
|
id: number;
|
|
126
127
|
fullName: string;
|
|
127
|
-
logoUrl: string;
|
|
128
128
|
}, {
|
|
129
|
+
logoUrl?: string | null | undefined;
|
|
129
130
|
id: number;
|
|
130
131
|
fullName: string;
|
|
131
|
-
logoUrl: string;
|
|
132
132
|
}>;
|
|
133
133
|
cost: import("zod").ZodString;
|
|
134
134
|
specialty: import("zod").ZodObject<{
|
|
@@ -152,9 +152,9 @@ export declare const doc24Schemas: {
|
|
|
152
152
|
type: "appointment" | "chat" | "instant";
|
|
153
153
|
id: string | number;
|
|
154
154
|
professional: {
|
|
155
|
+
logoUrl?: string | null | undefined;
|
|
155
156
|
id: number;
|
|
156
157
|
fullName: string;
|
|
157
|
-
logoUrl: string;
|
|
158
158
|
};
|
|
159
159
|
clinicId: number;
|
|
160
160
|
cost: string;
|
|
@@ -170,9 +170,9 @@ export declare const doc24Schemas: {
|
|
|
170
170
|
type: "appointment" | "chat" | "instant";
|
|
171
171
|
id: string | number;
|
|
172
172
|
professional: {
|
|
173
|
+
logoUrl?: string | null | undefined;
|
|
173
174
|
id: number;
|
|
174
175
|
fullName: string;
|
|
175
|
-
logoUrl: string;
|
|
176
176
|
};
|
|
177
177
|
clinicId: number;
|
|
178
178
|
cost: string;
|
|
@@ -731,7 +731,7 @@ export declare const doc24Schemas: {
|
|
|
731
731
|
motivo_extendido_consulta: import("zod").ZodString;
|
|
732
732
|
presencial_requerida: import("zod").ZodString;
|
|
733
733
|
derivada: import("zod").ZodString;
|
|
734
|
-
derivada_id_especialidad: import("zod").ZodString
|
|
734
|
+
derivada_id_especialidad: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
735
735
|
derivada_presencial_obligatoria: import("zod").ZodString;
|
|
736
736
|
derivada_comentarios: import("zod").ZodNullable<import("zod").ZodString>;
|
|
737
737
|
diagnostico: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
|
@@ -836,7 +836,7 @@ export declare const doc24Schemas: {
|
|
|
836
836
|
motivo_extendido_consulta: string;
|
|
837
837
|
presencial_requerida: string;
|
|
838
838
|
derivada: string;
|
|
839
|
-
derivada_id_especialidad: string;
|
|
839
|
+
derivada_id_especialidad: string | number;
|
|
840
840
|
derivada_presencial_obligatoria: string;
|
|
841
841
|
derivada_comentarios: string | null;
|
|
842
842
|
diagnostico: any[];
|
|
@@ -931,7 +931,7 @@ export declare const doc24Schemas: {
|
|
|
931
931
|
motivo_extendido_consulta: string;
|
|
932
932
|
presencial_requerida: string;
|
|
933
933
|
derivada: string;
|
|
934
|
-
derivada_id_especialidad: string;
|
|
934
|
+
derivada_id_especialidad: string | number;
|
|
935
935
|
derivada_presencial_obligatoria: string;
|
|
936
936
|
derivada_comentarios: string | null;
|
|
937
937
|
diagnostico: any[];
|
package/lib/schemas.js
CHANGED
|
@@ -40,7 +40,7 @@ const availableAppointment = zod_1.object({
|
|
|
40
40
|
professional: zod_1.object({
|
|
41
41
|
id: zod_1.number(),
|
|
42
42
|
fullName: zod_1.string(),
|
|
43
|
-
logoUrl: zod_1.string(),
|
|
43
|
+
logoUrl: zod_1.string().nullish(),
|
|
44
44
|
}),
|
|
45
45
|
cost: zod_1.string(),
|
|
46
46
|
specialty: specialty,
|
|
@@ -256,7 +256,7 @@ const consultation = zod_1.object({
|
|
|
256
256
|
motivo_extendido_consulta: zod_1.string(),
|
|
257
257
|
presencial_requerida: zod_1.string(),
|
|
258
258
|
derivada: zod_1.string(),
|
|
259
|
-
derivada_id_especialidad: zod_1.string(),
|
|
259
|
+
derivada_id_especialidad: zod_1.union([zod_1.string(), zod_1.number()]),
|
|
260
260
|
derivada_presencial_obligatoria: zod_1.string(),
|
|
261
261
|
derivada_comentarios: zod_1.string().nullable(),
|
|
262
262
|
diagnostico: zod_1.array(zod_1.any()),
|
|
@@ -16,9 +16,9 @@ export declare const getScheduleMethods: (makeRequest: RequestMaker) => {
|
|
|
16
16
|
type: "appointment" | "chat" | "instant";
|
|
17
17
|
id: string | number;
|
|
18
18
|
professional: {
|
|
19
|
+
logoUrl?: string | null | undefined;
|
|
19
20
|
id: number;
|
|
20
21
|
fullName: string;
|
|
21
|
-
logoUrl: string;
|
|
22
22
|
};
|
|
23
23
|
clinicId: number;
|
|
24
24
|
cost: string;
|