@integraciones_doc24/sdk 1.16.12 → 1.16.14
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/index.d.ts +6 -2
- package/lib/schemas.d.ts +59 -29
- package/lib/schemas.js +8 -7
- package/lib/userSdk/chat.d.ts +2 -2
- package/lib/userSdk/schedule.d.ts +2 -1
- package/lib/userSdk/specialties.d.ts +3 -2
- package/lib/userSdk/specialties.js +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
76
76
|
}) => Promise<Doc24.UserSdk>;
|
|
77
77
|
getProfessional: (professionalId: number) => Promise<{
|
|
78
78
|
gender?: "m" | "f" | "o" | undefined;
|
|
79
|
-
logoUrl?: string | undefined;
|
|
79
|
+
logoUrl?: string | null | undefined;
|
|
80
80
|
status?: "active" | "deactivated" | undefined;
|
|
81
81
|
consultation_value?: string | null | undefined;
|
|
82
82
|
hasAvailability?: boolean | undefined;
|
|
@@ -89,6 +89,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
89
89
|
specialties: {
|
|
90
90
|
start_age?: string | number | null | undefined;
|
|
91
91
|
end_age?: string | number | null | undefined;
|
|
92
|
+
authorization_code?: string | null | undefined;
|
|
92
93
|
id: number;
|
|
93
94
|
description: string;
|
|
94
95
|
}[];
|
|
@@ -99,7 +100,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
99
100
|
degree: string;
|
|
100
101
|
languages: string[];
|
|
101
102
|
resume: {
|
|
102
|
-
brief?: string | undefined;
|
|
103
|
+
brief?: string | null | undefined;
|
|
103
104
|
link: string;
|
|
104
105
|
};
|
|
105
106
|
}>;
|
|
@@ -107,12 +108,14 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
107
108
|
specialties: {
|
|
108
109
|
start_age?: string | number | null | undefined;
|
|
109
110
|
end_age?: string | number | null | undefined;
|
|
111
|
+
authorization_code?: string | null | undefined;
|
|
110
112
|
id: number;
|
|
111
113
|
description: string;
|
|
112
114
|
}[];
|
|
113
115
|
specialtiesER: {
|
|
114
116
|
start_age?: string | number | null | undefined;
|
|
115
117
|
end_age?: string | number | null | undefined;
|
|
118
|
+
authorization_code?: string | null | undefined;
|
|
116
119
|
id: number;
|
|
117
120
|
description: string;
|
|
118
121
|
}[];
|
|
@@ -123,6 +126,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
123
126
|
specialties: {
|
|
124
127
|
start_age?: string | number | null | undefined;
|
|
125
128
|
end_age?: string | number | null | undefined;
|
|
129
|
+
authorization_code?: string | null | undefined;
|
|
126
130
|
id: number;
|
|
127
131
|
description: string;
|
|
128
132
|
}[];
|
package/lib/schemas.d.ts
CHANGED
|
@@ -139,14 +139,17 @@ export declare const doc24Schemas: {
|
|
|
139
139
|
description: import("zod").ZodString;
|
|
140
140
|
start_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
141
141
|
end_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
142
|
+
authorization_code: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
142
143
|
}, "strip", import("zod").ZodTypeAny, {
|
|
143
144
|
start_age?: string | number | null | undefined;
|
|
144
145
|
end_age?: string | number | null | undefined;
|
|
146
|
+
authorization_code?: string | null | undefined;
|
|
145
147
|
id: number;
|
|
146
148
|
description: string;
|
|
147
149
|
}, {
|
|
148
150
|
start_age?: string | number | null | undefined;
|
|
149
151
|
end_age?: string | number | null | undefined;
|
|
152
|
+
authorization_code?: string | null | undefined;
|
|
150
153
|
id: number;
|
|
151
154
|
description: string;
|
|
152
155
|
}>;
|
|
@@ -173,13 +176,13 @@ export declare const doc24Schemas: {
|
|
|
173
176
|
professional: import("zod").ZodObject<{
|
|
174
177
|
id: import("zod").ZodNumber;
|
|
175
178
|
fullName: import("zod").ZodString;
|
|
176
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
179
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
177
180
|
}, "strip", import("zod").ZodTypeAny, {
|
|
178
|
-
logoUrl?: string | undefined;
|
|
181
|
+
logoUrl?: string | null | undefined;
|
|
179
182
|
id: number;
|
|
180
183
|
fullName: string;
|
|
181
184
|
}, {
|
|
182
|
-
logoUrl?: string | undefined;
|
|
185
|
+
logoUrl?: string | null | undefined;
|
|
183
186
|
id: number;
|
|
184
187
|
fullName: string;
|
|
185
188
|
}>;
|
|
@@ -189,14 +192,17 @@ export declare const doc24Schemas: {
|
|
|
189
192
|
description: import("zod").ZodString;
|
|
190
193
|
start_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
191
194
|
end_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
195
|
+
authorization_code: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
192
196
|
}, "strip", import("zod").ZodTypeAny, {
|
|
193
197
|
start_age?: string | number | null | undefined;
|
|
194
198
|
end_age?: string | number | null | undefined;
|
|
199
|
+
authorization_code?: string | null | undefined;
|
|
195
200
|
id: number;
|
|
196
201
|
description: string;
|
|
197
202
|
}, {
|
|
198
203
|
start_age?: string | number | null | undefined;
|
|
199
204
|
end_age?: string | number | null | undefined;
|
|
205
|
+
authorization_code?: string | null | undefined;
|
|
200
206
|
id: number;
|
|
201
207
|
description: string;
|
|
202
208
|
}>;
|
|
@@ -213,13 +219,14 @@ export declare const doc24Schemas: {
|
|
|
213
219
|
type: "appointment" | "chat" | "instant";
|
|
214
220
|
id: string | number;
|
|
215
221
|
professional: {
|
|
216
|
-
logoUrl?: string | undefined;
|
|
222
|
+
logoUrl?: string | null | undefined;
|
|
217
223
|
id: number;
|
|
218
224
|
fullName: string;
|
|
219
225
|
};
|
|
220
226
|
specialty: {
|
|
221
227
|
start_age?: string | number | null | undefined;
|
|
222
228
|
end_age?: string | number | null | undefined;
|
|
229
|
+
authorization_code?: string | null | undefined;
|
|
223
230
|
id: number;
|
|
224
231
|
description: string;
|
|
225
232
|
};
|
|
@@ -234,13 +241,14 @@ export declare const doc24Schemas: {
|
|
|
234
241
|
type: "appointment" | "chat" | "instant";
|
|
235
242
|
id: string | number;
|
|
236
243
|
professional: {
|
|
237
|
-
logoUrl?: string | undefined;
|
|
244
|
+
logoUrl?: string | null | undefined;
|
|
238
245
|
id: number;
|
|
239
246
|
fullName: string;
|
|
240
247
|
};
|
|
241
248
|
specialty: {
|
|
242
249
|
start_age?: string | number | null | undefined;
|
|
243
250
|
end_age?: string | number | null | undefined;
|
|
251
|
+
authorization_code?: string | null | undefined;
|
|
244
252
|
id: number;
|
|
245
253
|
description: string;
|
|
246
254
|
};
|
|
@@ -254,14 +262,17 @@ export declare const doc24Schemas: {
|
|
|
254
262
|
description: import("zod").ZodString;
|
|
255
263
|
start_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
256
264
|
end_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
265
|
+
authorization_code: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
257
266
|
}, "strip", import("zod").ZodTypeAny, {
|
|
258
267
|
start_age?: string | number | null | undefined;
|
|
259
268
|
end_age?: string | number | null | undefined;
|
|
269
|
+
authorization_code?: string | null | undefined;
|
|
260
270
|
id: number;
|
|
261
271
|
description: string;
|
|
262
272
|
}, {
|
|
263
273
|
start_age?: string | number | null | undefined;
|
|
264
274
|
end_age?: string | number | null | undefined;
|
|
275
|
+
authorization_code?: string | null | undefined;
|
|
265
276
|
id: number;
|
|
266
277
|
description: string;
|
|
267
278
|
}>, "many">;
|
|
@@ -270,14 +281,17 @@ export declare const doc24Schemas: {
|
|
|
270
281
|
description: import("zod").ZodString;
|
|
271
282
|
start_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
272
283
|
end_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
284
|
+
authorization_code: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
273
285
|
}, "strip", import("zod").ZodTypeAny, {
|
|
274
286
|
start_age?: string | number | null | undefined;
|
|
275
287
|
end_age?: string | number | null | undefined;
|
|
288
|
+
authorization_code?: string | null | undefined;
|
|
276
289
|
id: number;
|
|
277
290
|
description: string;
|
|
278
291
|
}, {
|
|
279
292
|
start_age?: string | number | null | undefined;
|
|
280
293
|
end_age?: string | number | null | undefined;
|
|
294
|
+
authorization_code?: string | null | undefined;
|
|
281
295
|
id: number;
|
|
282
296
|
description: string;
|
|
283
297
|
}>, "many">;
|
|
@@ -290,14 +304,17 @@ export declare const doc24Schemas: {
|
|
|
290
304
|
description: import("zod").ZodString;
|
|
291
305
|
start_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
292
306
|
end_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
307
|
+
authorization_code: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
293
308
|
}, "strip", import("zod").ZodTypeAny, {
|
|
294
309
|
start_age?: string | number | null | undefined;
|
|
295
310
|
end_age?: string | number | null | undefined;
|
|
311
|
+
authorization_code?: string | null | undefined;
|
|
296
312
|
id: number;
|
|
297
313
|
description: string;
|
|
298
314
|
}, {
|
|
299
315
|
start_age?: string | number | null | undefined;
|
|
300
316
|
end_age?: string | number | null | undefined;
|
|
317
|
+
authorization_code?: string | null | undefined;
|
|
301
318
|
id: number;
|
|
302
319
|
description: string;
|
|
303
320
|
}>, "many">;
|
|
@@ -308,6 +325,7 @@ export declare const doc24Schemas: {
|
|
|
308
325
|
specialties: {
|
|
309
326
|
start_age?: string | number | null | undefined;
|
|
310
327
|
end_age?: string | number | null | undefined;
|
|
328
|
+
authorization_code?: string | null | undefined;
|
|
311
329
|
id: number;
|
|
312
330
|
description: string;
|
|
313
331
|
}[];
|
|
@@ -318,6 +336,7 @@ export declare const doc24Schemas: {
|
|
|
318
336
|
specialties: {
|
|
319
337
|
start_age?: string | number | null | undefined;
|
|
320
338
|
end_age?: string | number | null | undefined;
|
|
339
|
+
authorization_code?: string | null | undefined;
|
|
321
340
|
id: number;
|
|
322
341
|
description: string;
|
|
323
342
|
}[];
|
|
@@ -326,12 +345,14 @@ export declare const doc24Schemas: {
|
|
|
326
345
|
specialties: {
|
|
327
346
|
start_age?: string | number | null | undefined;
|
|
328
347
|
end_age?: string | number | null | undefined;
|
|
348
|
+
authorization_code?: string | null | undefined;
|
|
329
349
|
id: number;
|
|
330
350
|
description: string;
|
|
331
351
|
}[];
|
|
332
352
|
specialtiesER: {
|
|
333
353
|
start_age?: string | number | null | undefined;
|
|
334
354
|
end_age?: string | number | null | undefined;
|
|
355
|
+
authorization_code?: string | null | undefined;
|
|
335
356
|
id: number;
|
|
336
357
|
description: string;
|
|
337
358
|
}[];
|
|
@@ -342,6 +363,7 @@ export declare const doc24Schemas: {
|
|
|
342
363
|
specialties: {
|
|
343
364
|
start_age?: string | number | null | undefined;
|
|
344
365
|
end_age?: string | number | null | undefined;
|
|
366
|
+
authorization_code?: string | null | undefined;
|
|
345
367
|
id: number;
|
|
346
368
|
description: string;
|
|
347
369
|
}[];
|
|
@@ -350,12 +372,14 @@ export declare const doc24Schemas: {
|
|
|
350
372
|
specialties: {
|
|
351
373
|
start_age?: string | number | null | undefined;
|
|
352
374
|
end_age?: string | number | null | undefined;
|
|
375
|
+
authorization_code?: string | null | undefined;
|
|
353
376
|
id: number;
|
|
354
377
|
description: string;
|
|
355
378
|
}[];
|
|
356
379
|
specialtiesER: {
|
|
357
380
|
start_age?: string | number | null | undefined;
|
|
358
381
|
end_age?: string | number | null | undefined;
|
|
382
|
+
authorization_code?: string | null | undefined;
|
|
359
383
|
id: number;
|
|
360
384
|
description: string;
|
|
361
385
|
}[];
|
|
@@ -366,6 +390,7 @@ export declare const doc24Schemas: {
|
|
|
366
390
|
specialties: {
|
|
367
391
|
start_age?: string | number | null | undefined;
|
|
368
392
|
end_age?: string | number | null | undefined;
|
|
393
|
+
authorization_code?: string | null | undefined;
|
|
369
394
|
id: number;
|
|
370
395
|
description: string;
|
|
371
396
|
}[];
|
|
@@ -856,7 +881,7 @@ export declare const doc24Schemas: {
|
|
|
856
881
|
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
857
882
|
email: import("zod").ZodString;
|
|
858
883
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
859
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
884
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
860
885
|
matriculation: import("zod").ZodArray<import("zod").ZodObject<{
|
|
861
886
|
number: import("zod").ZodString;
|
|
862
887
|
type: import("zod").ZodString;
|
|
@@ -872,14 +897,17 @@ export declare const doc24Schemas: {
|
|
|
872
897
|
description: import("zod").ZodString;
|
|
873
898
|
start_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
874
899
|
end_age: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
900
|
+
authorization_code: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
875
901
|
}, "strip", import("zod").ZodTypeAny, {
|
|
876
902
|
start_age?: string | number | null | undefined;
|
|
877
903
|
end_age?: string | number | null | undefined;
|
|
904
|
+
authorization_code?: string | null | undefined;
|
|
878
905
|
id: number;
|
|
879
906
|
description: string;
|
|
880
907
|
}, {
|
|
881
908
|
start_age?: string | number | null | undefined;
|
|
882
909
|
end_age?: string | number | null | undefined;
|
|
910
|
+
authorization_code?: string | null | undefined;
|
|
883
911
|
id: number;
|
|
884
912
|
description: string;
|
|
885
913
|
}>, "many">;
|
|
@@ -887,12 +915,12 @@ export declare const doc24Schemas: {
|
|
|
887
915
|
languages: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
888
916
|
resume: import("zod").ZodObject<{
|
|
889
917
|
link: import("zod").ZodString;
|
|
890
|
-
brief: import("zod").ZodOptional<import("zod").ZodString
|
|
918
|
+
brief: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
891
919
|
}, "strip", import("zod").ZodTypeAny, {
|
|
892
|
-
brief?: string | undefined;
|
|
920
|
+
brief?: string | null | undefined;
|
|
893
921
|
link: string;
|
|
894
922
|
}, {
|
|
895
|
-
brief?: string | undefined;
|
|
923
|
+
brief?: string | null | undefined;
|
|
896
924
|
link: string;
|
|
897
925
|
}>;
|
|
898
926
|
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
@@ -900,7 +928,7 @@ export declare const doc24Schemas: {
|
|
|
900
928
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "deactivated"]>>;
|
|
901
929
|
}, "strip", import("zod").ZodTypeAny, {
|
|
902
930
|
gender?: "m" | "f" | "o" | undefined;
|
|
903
|
-
logoUrl?: string | undefined;
|
|
931
|
+
logoUrl?: string | null | undefined;
|
|
904
932
|
status?: "active" | "deactivated" | undefined;
|
|
905
933
|
consultation_value?: string | null | undefined;
|
|
906
934
|
hasAvailability?: boolean | undefined;
|
|
@@ -913,6 +941,7 @@ export declare const doc24Schemas: {
|
|
|
913
941
|
specialties: {
|
|
914
942
|
start_age?: string | number | null | undefined;
|
|
915
943
|
end_age?: string | number | null | undefined;
|
|
944
|
+
authorization_code?: string | null | undefined;
|
|
916
945
|
id: number;
|
|
917
946
|
description: string;
|
|
918
947
|
}[];
|
|
@@ -923,12 +952,12 @@ export declare const doc24Schemas: {
|
|
|
923
952
|
degree: string;
|
|
924
953
|
languages: string[];
|
|
925
954
|
resume: {
|
|
926
|
-
brief?: string | undefined;
|
|
955
|
+
brief?: string | null | undefined;
|
|
927
956
|
link: string;
|
|
928
957
|
};
|
|
929
958
|
}, {
|
|
930
959
|
gender?: "m" | "f" | "o" | undefined;
|
|
931
|
-
logoUrl?: string | undefined;
|
|
960
|
+
logoUrl?: string | null | undefined;
|
|
932
961
|
status?: "active" | "deactivated" | undefined;
|
|
933
962
|
consultation_value?: string | null | undefined;
|
|
934
963
|
hasAvailability?: boolean | undefined;
|
|
@@ -941,6 +970,7 @@ export declare const doc24Schemas: {
|
|
|
941
970
|
specialties: {
|
|
942
971
|
start_age?: string | number | null | undefined;
|
|
943
972
|
end_age?: string | number | null | undefined;
|
|
973
|
+
authorization_code?: string | null | undefined;
|
|
944
974
|
id: number;
|
|
945
975
|
description: string;
|
|
946
976
|
}[];
|
|
@@ -951,7 +981,7 @@ export declare const doc24Schemas: {
|
|
|
951
981
|
degree: string;
|
|
952
982
|
languages: string[];
|
|
953
983
|
resume: {
|
|
954
|
-
brief?: string | undefined;
|
|
984
|
+
brief?: string | null | undefined;
|
|
955
985
|
link: string;
|
|
956
986
|
};
|
|
957
987
|
}>;
|
|
@@ -959,21 +989,21 @@ export declare const doc24Schemas: {
|
|
|
959
989
|
id: import("zod").ZodNumber;
|
|
960
990
|
fullName: import("zod").ZodString;
|
|
961
991
|
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>>;
|
|
962
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
992
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
963
993
|
primer_turno: import("zod").ZodOptional<import("zod").ZodString>;
|
|
964
994
|
degree: import("zod").ZodOptional<import("zod").ZodString>;
|
|
965
|
-
brief: import("zod").ZodOptional<import("zod").ZodString
|
|
995
|
+
brief: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
966
996
|
}, "strip", import("zod").ZodTypeAny, {
|
|
967
|
-
logoUrl?: string | undefined;
|
|
968
|
-
brief?: string | undefined;
|
|
997
|
+
logoUrl?: string | null | undefined;
|
|
998
|
+
brief?: string | null | undefined;
|
|
969
999
|
consultation_value?: string | number | null | undefined;
|
|
970
1000
|
degree?: string | undefined;
|
|
971
1001
|
primer_turno?: string | undefined;
|
|
972
1002
|
id: number;
|
|
973
1003
|
fullName: string;
|
|
974
1004
|
}, {
|
|
975
|
-
logoUrl?: string | undefined;
|
|
976
|
-
brief?: string | undefined;
|
|
1005
|
+
logoUrl?: string | null | undefined;
|
|
1006
|
+
brief?: string | null | undefined;
|
|
977
1007
|
consultation_value?: string | number | null | undefined;
|
|
978
1008
|
degree?: string | undefined;
|
|
979
1009
|
primer_turno?: string | undefined;
|
|
@@ -1024,13 +1054,13 @@ export declare const doc24Schemas: {
|
|
|
1024
1054
|
professional: import("zod").ZodObject<{
|
|
1025
1055
|
id: import("zod").ZodNumber;
|
|
1026
1056
|
fullName: import("zod").ZodString;
|
|
1027
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
1057
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1028
1058
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1029
|
-
logoUrl?: string | undefined;
|
|
1059
|
+
logoUrl?: string | null | undefined;
|
|
1030
1060
|
id: number;
|
|
1031
1061
|
fullName: string;
|
|
1032
1062
|
}, {
|
|
1033
|
-
logoUrl?: string | undefined;
|
|
1063
|
+
logoUrl?: string | null | undefined;
|
|
1034
1064
|
id: number;
|
|
1035
1065
|
fullName: string;
|
|
1036
1066
|
}>;
|
|
@@ -1047,7 +1077,7 @@ export declare const doc24Schemas: {
|
|
|
1047
1077
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1048
1078
|
id: number;
|
|
1049
1079
|
professional: {
|
|
1050
|
-
logoUrl?: string | undefined;
|
|
1080
|
+
logoUrl?: string | null | undefined;
|
|
1051
1081
|
id: number;
|
|
1052
1082
|
fullName: string;
|
|
1053
1083
|
};
|
|
@@ -1058,7 +1088,7 @@ export declare const doc24Schemas: {
|
|
|
1058
1088
|
}, {
|
|
1059
1089
|
id: number;
|
|
1060
1090
|
professional: {
|
|
1061
|
-
logoUrl?: string | undefined;
|
|
1091
|
+
logoUrl?: string | null | undefined;
|
|
1062
1092
|
id: number;
|
|
1063
1093
|
fullName: string;
|
|
1064
1094
|
};
|
|
@@ -1090,13 +1120,13 @@ export declare const doc24Schemas: {
|
|
|
1090
1120
|
professional: import("zod").ZodObject<{
|
|
1091
1121
|
id: import("zod").ZodNumber;
|
|
1092
1122
|
fullName: import("zod").ZodString;
|
|
1093
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
1123
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1094
1124
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1095
|
-
logoUrl?: string | undefined;
|
|
1125
|
+
logoUrl?: string | null | undefined;
|
|
1096
1126
|
id: number;
|
|
1097
1127
|
fullName: string;
|
|
1098
1128
|
}, {
|
|
1099
|
-
logoUrl?: string | undefined;
|
|
1129
|
+
logoUrl?: string | null | undefined;
|
|
1100
1130
|
id: number;
|
|
1101
1131
|
fullName: string;
|
|
1102
1132
|
}>;
|
|
@@ -1121,7 +1151,7 @@ export declare const doc24Schemas: {
|
|
|
1121
1151
|
id: number;
|
|
1122
1152
|
};
|
|
1123
1153
|
professional: {
|
|
1124
|
-
logoUrl?: string | undefined;
|
|
1154
|
+
logoUrl?: string | null | undefined;
|
|
1125
1155
|
id: number;
|
|
1126
1156
|
fullName: string;
|
|
1127
1157
|
};
|
|
@@ -1145,7 +1175,7 @@ export declare const doc24Schemas: {
|
|
|
1145
1175
|
id: number;
|
|
1146
1176
|
};
|
|
1147
1177
|
professional: {
|
|
1148
|
-
logoUrl?: string | undefined;
|
|
1178
|
+
logoUrl?: string | null | undefined;
|
|
1149
1179
|
id: number;
|
|
1150
1180
|
fullName: string;
|
|
1151
1181
|
};
|
package/lib/schemas.js
CHANGED
|
@@ -32,6 +32,7 @@ const specialty = zod_1.object({
|
|
|
32
32
|
description: zod_1.string(),
|
|
33
33
|
start_age: zod_1.number().or(zod_1.string()).nullish(),
|
|
34
34
|
end_age: zod_1.number().or(zod_1.string()).nullish(),
|
|
35
|
+
authorization_code: zod_1.string().nullish(),
|
|
35
36
|
});
|
|
36
37
|
const scheduleAvailabilityFilter = zod_1.object({
|
|
37
38
|
specialtyId: zod_1.number().optional(),
|
|
@@ -46,7 +47,7 @@ const availableAppointment = zod_1.object({
|
|
|
46
47
|
professional: zod_1.object({
|
|
47
48
|
id: zod_1.number(),
|
|
48
49
|
fullName: zod_1.string(),
|
|
49
|
-
logoUrl: zod_1.string().
|
|
50
|
+
logoUrl: zod_1.string().nullish(),
|
|
50
51
|
}),
|
|
51
52
|
cost: zod_1.string(),
|
|
52
53
|
specialty: specialty,
|
|
@@ -100,7 +101,7 @@ const availableChatroom = zod_1.object({
|
|
|
100
101
|
professional: zod_1.object({
|
|
101
102
|
id: zod_1.number(),
|
|
102
103
|
fullName: zod_1.string(),
|
|
103
|
-
logoUrl: zod_1.string().
|
|
104
|
+
logoUrl: zod_1.string().nullish(),
|
|
104
105
|
}),
|
|
105
106
|
specialty: zod_1.object({ id: zod_1.number(), description: zod_1.string() }),
|
|
106
107
|
});
|
|
@@ -119,7 +120,7 @@ const chatDetails = zod_1.object({
|
|
|
119
120
|
professional: zod_1.object({
|
|
120
121
|
id: zod_1.number(),
|
|
121
122
|
fullName: zod_1.string(),
|
|
122
|
-
logoUrl: zod_1.string().
|
|
123
|
+
logoUrl: zod_1.string().nullish(),
|
|
123
124
|
}),
|
|
124
125
|
professionalLastPost: zod_1.date().nullable(),
|
|
125
126
|
specialty: zod_1.object({ id: zod_1.number(), description: zod_1.string() }),
|
|
@@ -413,14 +414,14 @@ exports.doc24Schemas = {
|
|
|
413
414
|
gender,
|
|
414
415
|
email: zod_1.string(),
|
|
415
416
|
phone: zod_1.string().nullable(),
|
|
416
|
-
logoUrl: zod_1.string().
|
|
417
|
+
logoUrl: zod_1.string().nullish(),
|
|
417
418
|
matriculation: zod_1.array(zod_1.object({ number: zod_1.string(), type: zod_1.string() })),
|
|
418
419
|
specialties: zod_1.array(specialty),
|
|
419
420
|
degree: zod_1.string(),
|
|
420
421
|
languages: zod_1.array(zod_1.string()),
|
|
421
422
|
resume: zod_1.object({
|
|
422
423
|
link: zod_1.string(),
|
|
423
|
-
brief: zod_1.string().
|
|
424
|
+
brief: zod_1.string().nullish(),
|
|
424
425
|
}),
|
|
425
426
|
consultation_value: zod_1.string().optional().nullish(),
|
|
426
427
|
hasAvailability: zod_1.boolean().optional(),
|
|
@@ -430,10 +431,10 @@ exports.doc24Schemas = {
|
|
|
430
431
|
id: zod_1.number(),
|
|
431
432
|
fullName: zod_1.string(),
|
|
432
433
|
consultation_value: zod_1.number().or(zod_1.string()).optional().nullish(),
|
|
433
|
-
logoUrl: zod_1.string().
|
|
434
|
+
logoUrl: zod_1.string().nullish(),
|
|
434
435
|
primer_turno: zod_1.string().optional(),
|
|
435
436
|
degree: zod_1.string().optional(),
|
|
436
|
-
brief: zod_1.string().
|
|
437
|
+
brief: zod_1.string().nullish(),
|
|
437
438
|
}),
|
|
438
439
|
appointment,
|
|
439
440
|
chatroomAvailabilityFilter,
|
package/lib/userSdk/chat.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const getChatMethods: (makeRequest: RequestMaker) => {
|
|
|
6
6
|
}) => Promise<{
|
|
7
7
|
id: number;
|
|
8
8
|
professional: {
|
|
9
|
-
logoUrl?: string | undefined;
|
|
9
|
+
logoUrl?: string | null | undefined;
|
|
10
10
|
id: number;
|
|
11
11
|
fullName: string;
|
|
12
12
|
};
|
|
@@ -29,7 +29,7 @@ export declare const getChatMethods: (makeRequest: RequestMaker) => {
|
|
|
29
29
|
id: number;
|
|
30
30
|
};
|
|
31
31
|
professional: {
|
|
32
|
-
logoUrl?: string | undefined;
|
|
32
|
+
logoUrl?: string | null | undefined;
|
|
33
33
|
id: number;
|
|
34
34
|
fullName: string;
|
|
35
35
|
};
|
|
@@ -18,13 +18,14 @@ export declare const getScheduleMethods: (makeRequest: RequestMaker) => {
|
|
|
18
18
|
type: "appointment" | "chat" | "instant";
|
|
19
19
|
id: string | number;
|
|
20
20
|
professional: {
|
|
21
|
-
logoUrl?: string | undefined;
|
|
21
|
+
logoUrl?: string | null | undefined;
|
|
22
22
|
id: number;
|
|
23
23
|
fullName: string;
|
|
24
24
|
};
|
|
25
25
|
specialty: {
|
|
26
26
|
start_age?: string | number | null | undefined;
|
|
27
27
|
end_age?: string | number | null | undefined;
|
|
28
|
+
authorization_code?: string | null | undefined;
|
|
28
29
|
id: number;
|
|
29
30
|
description: string;
|
|
30
31
|
};
|
|
@@ -3,12 +3,13 @@ export declare const getSpecialtiesMethods: (makeRequest: RequestMaker) => {
|
|
|
3
3
|
getSpecialties: (mode: "appointment" | "chat" | "instant", language: string) => Promise<{
|
|
4
4
|
start_age?: string | number | null | undefined;
|
|
5
5
|
end_age?: string | number | null | undefined;
|
|
6
|
+
authorization_code?: string | null | undefined;
|
|
6
7
|
id: number;
|
|
7
8
|
description: string;
|
|
8
9
|
}[]>;
|
|
9
10
|
getProfessionalsBySpecialty: (...params: any) => Promise<{
|
|
10
|
-
logoUrl?: string | undefined;
|
|
11
|
-
brief?: string | undefined;
|
|
11
|
+
logoUrl?: string | null | undefined;
|
|
12
|
+
brief?: string | null | undefined;
|
|
12
13
|
consultation_value?: string | number | null | undefined;
|
|
13
14
|
degree?: string | undefined;
|
|
14
15
|
primer_turno?: string | undefined;
|