@integraciones_doc24/sdk 1.16.13 → 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 +4 -0
- package/lib/schemas.d.ts +30 -0
- package/lib/schemas.js +1 -0
- package/lib/userSdk/schedule.d.ts +1 -0
- package/lib/userSdk/specialties.d.ts +1 -0
- package/lib/userSdk/specialties.js +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -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
|
}[];
|
|
@@ -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
|
}>;
|
|
@@ -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
|
}>;
|
|
@@ -220,6 +226,7 @@ export declare const doc24Schemas: {
|
|
|
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
|
};
|
|
@@ -241,6 +248,7 @@ export declare const doc24Schemas: {
|
|
|
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
|
}[];
|
|
@@ -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">;
|
|
@@ -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
|
}[];
|
|
@@ -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
|
}[];
|
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(),
|
|
@@ -25,6 +25,7 @@ export declare const getScheduleMethods: (makeRequest: RequestMaker) => {
|
|
|
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,6 +3,7 @@ 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
|
}[]>;
|