@integraciones_doc24/sdk 0.39.5 → 0.39.7

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.
Files changed (43) hide show
  1. package/lib/baseSdk/diagnostica.d.ts +54 -0
  2. package/lib/baseSdk/diagnostica.js +82 -0
  3. package/lib/baseSdk/external.d.ts +177 -0
  4. package/lib/baseSdk/external.js +96 -0
  5. package/lib/baseSdk/index.d.ts +2 -0
  6. package/lib/baseSdk/index.js +74 -0
  7. package/lib/baseSdk/user.d.ts +91 -0
  8. package/lib/baseSdk/user.js +136 -0
  9. package/lib/index.d.ts +365 -0
  10. package/lib/index.js +22 -0
  11. package/lib/request/index.d.ts +3 -0
  12. package/lib/request/index.js +26 -0
  13. package/lib/request/token.d.ts +2 -0
  14. package/lib/request/token.js +34 -0
  15. package/lib/request/validation.d.ts +10 -0
  16. package/lib/request/validation.js +28 -0
  17. package/lib/schemas.d.ts +1816 -0
  18. package/lib/schemas.js +420 -0
  19. package/lib/types.d.ts +146 -0
  20. package/lib/types.js +2 -0
  21. package/lib/userSdk/chat.d.ts +57 -0
  22. package/lib/userSdk/chat.js +98 -0
  23. package/lib/userSdk/external.d.ts +34 -0
  24. package/lib/userSdk/external.js +72 -0
  25. package/lib/userSdk/index.d.ts +2 -0
  26. package/lib/userSdk/index.js +30 -0
  27. package/lib/userSdk/patients.d.ts +38 -0
  28. package/lib/userSdk/patients.js +67 -0
  29. package/lib/userSdk/schedule.d.ts +47 -0
  30. package/lib/userSdk/schedule.js +81 -0
  31. package/lib/userSdk/specialties.d.ts +7 -0
  32. package/lib/userSdk/specialties.js +19 -0
  33. package/lib/userSdk/videoVisit.d.ts +113 -0
  34. package/lib/userSdk/videoVisit.js +154 -0
  35. package/lib/utils.d.ts +2 -0
  36. package/lib/utils.js +16 -0
  37. package/lib/webhook/index.d.ts +2 -0
  38. package/lib/webhook/index.js +56 -0
  39. package/lib/webhook/responses.d.ts +35 -0
  40. package/lib/webhook/responses.js +42 -0
  41. package/lib/webhook/token.d.ts +2 -0
  42. package/lib/webhook/token.js +23 -0
  43. package/package.json +1 -1
@@ -0,0 +1,1816 @@
1
+ export declare const doc24Schemas: {
2
+ sdkCredentials: import("zod").ZodObject<{
3
+ iss: import("zod").ZodString;
4
+ key: import("zod").ZodString;
5
+ }, "strip", import("zod").ZodTypeAny, {
6
+ iss: string;
7
+ key: string;
8
+ }, {
9
+ iss: string;
10
+ key: string;
11
+ }>;
12
+ sdkParams: import("zod").ZodObject<{
13
+ url: import("zod").ZodString;
14
+ credentials: import("zod").ZodObject<{
15
+ iss: import("zod").ZodString;
16
+ key: import("zod").ZodString;
17
+ }, "strip", import("zod").ZodTypeAny, {
18
+ iss: string;
19
+ key: string;
20
+ }, {
21
+ iss: string;
22
+ key: string;
23
+ }>;
24
+ }, "strip", import("zod").ZodTypeAny, {
25
+ url: string;
26
+ credentials: {
27
+ iss: string;
28
+ key: string;
29
+ };
30
+ }, {
31
+ url: string;
32
+ credentials: {
33
+ iss: string;
34
+ key: string;
35
+ };
36
+ }>;
37
+ user: import("zod").ZodObject<import("zod").extendShape<{
38
+ firstName: import("zod").ZodString;
39
+ lastName: import("zod").ZodString;
40
+ identificationType: import("zod").ZodOptional<import("zod").ZodNumber>;
41
+ identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
42
+ countryId: import("zod").ZodString;
43
+ birthdate: import("zod").ZodDate;
44
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
45
+ }, {
46
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
47
+ email: import("zod").ZodString;
48
+ }>, "strip", import("zod").ZodTypeAny, {
49
+ identificationType?: number | undefined;
50
+ identificationValue?: string | undefined;
51
+ gender?: "m" | "f" | "o" | undefined;
52
+ phone?: string | undefined;
53
+ firstName: string;
54
+ lastName: string;
55
+ countryId: string;
56
+ birthdate: Date;
57
+ email: string;
58
+ }, {
59
+ identificationType?: number | undefined;
60
+ identificationValue?: string | undefined;
61
+ gender?: "m" | "f" | "o" | undefined;
62
+ phone?: string | undefined;
63
+ firstName: string;
64
+ lastName: string;
65
+ countryId: string;
66
+ birthdate: Date;
67
+ email: string;
68
+ }>;
69
+ patient: import("zod").ZodObject<{
70
+ firstName: import("zod").ZodString;
71
+ lastName: import("zod").ZodString;
72
+ identificationType: import("zod").ZodOptional<import("zod").ZodNumber>;
73
+ identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
74
+ countryId: import("zod").ZodString;
75
+ birthdate: import("zod").ZodDate;
76
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
77
+ }, "strip", import("zod").ZodTypeAny, {
78
+ identificationType?: number | undefined;
79
+ identificationValue?: string | undefined;
80
+ gender?: "m" | "f" | "o" | undefined;
81
+ firstName: string;
82
+ lastName: string;
83
+ countryId: string;
84
+ birthdate: Date;
85
+ }, {
86
+ identificationType?: number | undefined;
87
+ identificationValue?: string | undefined;
88
+ gender?: "m" | "f" | "o" | undefined;
89
+ firstName: string;
90
+ lastName: string;
91
+ countryId: string;
92
+ birthdate: Date;
93
+ }>;
94
+ specialtyMode: import("zod").ZodEnum<["appointment", "chat", "instant"]>;
95
+ specialty: import("zod").ZodObject<{
96
+ id: import("zod").ZodNumber;
97
+ description: import("zod").ZodString;
98
+ }, "strip", import("zod").ZodTypeAny, {
99
+ id: number;
100
+ description: string;
101
+ }, {
102
+ id: number;
103
+ description: string;
104
+ }>;
105
+ scheduleAvailabilityFilter: import("zod").ZodObject<{
106
+ specialtyId: import("zod").ZodOptional<import("zod").ZodNumber>;
107
+ professionalId: import("zod").ZodOptional<import("zod").ZodNumber>;
108
+ language: import("zod").ZodOptional<import("zod").ZodString>;
109
+ }, "strip", import("zod").ZodTypeAny, {
110
+ specialtyId?: number | undefined;
111
+ language?: string | undefined;
112
+ professionalId?: number | undefined;
113
+ }, {
114
+ specialtyId?: number | undefined;
115
+ language?: string | undefined;
116
+ professionalId?: number | undefined;
117
+ }>;
118
+ availableAppointment: import("zod").ZodObject<{
119
+ id: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
120
+ date: import("zod").ZodDate;
121
+ clinicId: import("zod").ZodNumber;
122
+ professional: import("zod").ZodObject<{
123
+ id: import("zod").ZodNumber;
124
+ fullName: import("zod").ZodString;
125
+ logoUrl: import("zod").ZodString;
126
+ }, "strip", import("zod").ZodTypeAny, {
127
+ id: number;
128
+ fullName: string;
129
+ logoUrl: string;
130
+ }, {
131
+ id: number;
132
+ fullName: string;
133
+ logoUrl: string;
134
+ }>;
135
+ cost: import("zod").ZodString;
136
+ specialty: import("zod").ZodObject<{
137
+ id: import("zod").ZodNumber;
138
+ description: import("zod").ZodString;
139
+ }, "strip", import("zod").ZodTypeAny, {
140
+ id: number;
141
+ description: string;
142
+ }, {
143
+ id: number;
144
+ description: string;
145
+ }>;
146
+ type: import("zod").ZodEnum<["appointment", "chat", "instant"]>;
147
+ atentions: import("zod").ZodNumber;
148
+ ranking: import("zod").ZodUnknown;
149
+ length: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
150
+ consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
151
+ }, "strip", import("zod").ZodTypeAny, {
152
+ length?: number | null | undefined;
153
+ ranking?: unknown;
154
+ consultation_value?: string | null | undefined;
155
+ date: Date;
156
+ type: "appointment" | "chat" | "instant";
157
+ id: string | number;
158
+ professional: {
159
+ id: number;
160
+ fullName: string;
161
+ logoUrl: string;
162
+ };
163
+ specialty: {
164
+ id: number;
165
+ description: string;
166
+ };
167
+ clinicId: number;
168
+ cost: string;
169
+ atentions: number;
170
+ }, {
171
+ length?: number | null | undefined;
172
+ ranking?: unknown;
173
+ consultation_value?: string | null | undefined;
174
+ date: Date;
175
+ type: "appointment" | "chat" | "instant";
176
+ id: string | number;
177
+ professional: {
178
+ id: number;
179
+ fullName: string;
180
+ logoUrl: string;
181
+ };
182
+ specialty: {
183
+ id: number;
184
+ description: string;
185
+ };
186
+ clinicId: number;
187
+ cost: string;
188
+ atentions: number;
189
+ }>;
190
+ availableScheduleClinics: import("zod").ZodObject<{
191
+ specialties: import("zod").ZodArray<import("zod").ZodObject<{
192
+ id: import("zod").ZodNumber;
193
+ description: import("zod").ZodString;
194
+ }, "strip", import("zod").ZodTypeAny, {
195
+ id: number;
196
+ description: string;
197
+ }, {
198
+ id: number;
199
+ description: string;
200
+ }>, "many">;
201
+ specialtiesER: import("zod").ZodArray<import("zod").ZodObject<{
202
+ id: import("zod").ZodNumber;
203
+ description: import("zod").ZodString;
204
+ }, "strip", import("zod").ZodTypeAny, {
205
+ id: number;
206
+ description: string;
207
+ }, {
208
+ id: number;
209
+ description: string;
210
+ }>, "many">;
211
+ professionals: import("zod").ZodArray<import("zod").ZodObject<{
212
+ id: import("zod").ZodNumber;
213
+ fullName: import("zod").ZodString;
214
+ clinicId: import("zod").ZodNumber;
215
+ specialties: import("zod").ZodArray<import("zod").ZodObject<{
216
+ id: import("zod").ZodNumber;
217
+ description: import("zod").ZodString;
218
+ }, "strip", import("zod").ZodTypeAny, {
219
+ id: number;
220
+ description: string;
221
+ }, {
222
+ id: number;
223
+ description: string;
224
+ }>, "many">;
225
+ }, "strip", import("zod").ZodTypeAny, {
226
+ id: number;
227
+ fullName: string;
228
+ clinicId: number;
229
+ specialties: {
230
+ id: number;
231
+ description: string;
232
+ }[];
233
+ }, {
234
+ id: number;
235
+ fullName: string;
236
+ clinicId: number;
237
+ specialties: {
238
+ id: number;
239
+ description: string;
240
+ }[];
241
+ }>, "many">;
242
+ }, "strip", import("zod").ZodTypeAny, {
243
+ specialties: {
244
+ id: number;
245
+ description: string;
246
+ }[];
247
+ specialtiesER: {
248
+ id: number;
249
+ description: string;
250
+ }[];
251
+ professionals: {
252
+ id: number;
253
+ fullName: string;
254
+ clinicId: number;
255
+ specialties: {
256
+ id: number;
257
+ description: string;
258
+ }[];
259
+ }[];
260
+ }, {
261
+ specialties: {
262
+ id: number;
263
+ description: string;
264
+ }[];
265
+ specialtiesER: {
266
+ id: number;
267
+ description: string;
268
+ }[];
269
+ professionals: {
270
+ id: number;
271
+ fullName: string;
272
+ clinicId: number;
273
+ specialties: {
274
+ id: number;
275
+ description: string;
276
+ }[];
277
+ }[];
278
+ }>;
279
+ scheduleFilter: import("zod").ZodObject<{
280
+ professionalId: import("zod").ZodOptional<import("zod").ZodNumber>;
281
+ offset: import("zod").ZodOptional<import("zod").ZodNumber>;
282
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
283
+ weekDay: import("zod").ZodOptional<import("zod").ZodNumber>;
284
+ date: import("zod").ZodOptional<import("zod").ZodDate>;
285
+ startHour: import("zod").ZodOptional<import("zod").ZodString>;
286
+ finishHour: import("zod").ZodOptional<import("zod").ZodString>;
287
+ language: import("zod").ZodOptional<import("zod").ZodString>;
288
+ }, "strip", import("zod").ZodTypeAny, {
289
+ date?: Date | undefined;
290
+ language?: string | undefined;
291
+ professionalId?: number | undefined;
292
+ offset?: number | undefined;
293
+ limit?: number | undefined;
294
+ weekDay?: number | undefined;
295
+ startHour?: string | undefined;
296
+ finishHour?: string | undefined;
297
+ }, {
298
+ date?: Date | undefined;
299
+ language?: string | undefined;
300
+ professionalId?: number | undefined;
301
+ offset?: number | undefined;
302
+ limit?: number | undefined;
303
+ weekDay?: number | undefined;
304
+ startHour?: string | undefined;
305
+ finishHour?: string | undefined;
306
+ }>;
307
+ scheduleParameters: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").extendShape<{
308
+ patientId: import("zod").ZodNumber;
309
+ specialtyId: import("zod").ZodNumber;
310
+ language: import("zod").ZodString;
311
+ details: import("zod").ZodString;
312
+ extraInfo: import("zod").ZodAny;
313
+ }, {
314
+ type: import("zod").ZodLiteral<"appointment">;
315
+ appointmentId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
316
+ }>, "strip", import("zod").ZodTypeAny, {
317
+ extraInfo?: any;
318
+ type: "appointment";
319
+ patientId: number;
320
+ specialtyId: number;
321
+ language: string;
322
+ details: string;
323
+ appointmentId: string | number;
324
+ }, {
325
+ extraInfo?: any;
326
+ type: "appointment";
327
+ patientId: number;
328
+ specialtyId: number;
329
+ language: string;
330
+ details: string;
331
+ appointmentId: string | number;
332
+ }>, import("zod").ZodObject<import("zod").extendShape<{
333
+ patientId: import("zod").ZodNumber;
334
+ specialtyId: import("zod").ZodNumber;
335
+ language: import("zod").ZodString;
336
+ details: import("zod").ZodString;
337
+ extraInfo: import("zod").ZodAny;
338
+ }, {
339
+ type: import("zod").ZodLiteral<"instant">;
340
+ }>, "strip", import("zod").ZodTypeAny, {
341
+ extraInfo?: any;
342
+ type: "instant";
343
+ patientId: number;
344
+ specialtyId: number;
345
+ language: string;
346
+ details: string;
347
+ }, {
348
+ extraInfo?: any;
349
+ type: "instant";
350
+ patientId: number;
351
+ specialtyId: number;
352
+ language: string;
353
+ details: string;
354
+ }>]>;
355
+ videoVisit: import("zod").ZodObject<{
356
+ id: import("zod").ZodNullable<import("zod").ZodNumber>;
357
+ creationDate: import("zod").ZodDate;
358
+ patientId: import("zod").ZodNumber;
359
+ user: import("zod").ZodObject<{
360
+ id: import("zod").ZodNumber;
361
+ email: import("zod").ZodNullable<import("zod").ZodString>;
362
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
363
+ }, "strip", import("zod").ZodTypeAny, {
364
+ phone: string | null;
365
+ email: string | null;
366
+ id: number;
367
+ }, {
368
+ phone: string | null;
369
+ email: string | null;
370
+ id: number;
371
+ }>;
372
+ vcToken: import("zod").ZodString;
373
+ appointment: import("zod").ZodOptional<import("zod").ZodObject<{
374
+ id: import("zod").ZodNumber;
375
+ date: import("zod").ZodDate;
376
+ }, "strip", import("zod").ZodTypeAny, {
377
+ date: Date;
378
+ id: number;
379
+ }, {
380
+ date: Date;
381
+ id: number;
382
+ }>>;
383
+ videoVisit: import("zod").ZodOptional<import("zod").ZodObject<{
384
+ id: import("zod").ZodNumber;
385
+ status: import("zod").ZodString;
386
+ }, "strip", import("zod").ZodTypeAny, {
387
+ id: number;
388
+ status: string;
389
+ }, {
390
+ id: number;
391
+ status: string;
392
+ }>>;
393
+ paymentStatus: import("zod").ZodOptional<import("zod").ZodString>;
394
+ atentionId: import("zod").ZodOptional<import("zod").ZodNumber>;
395
+ }, "strip", import("zod").ZodTypeAny, {
396
+ appointment?: {
397
+ date: Date;
398
+ id: number;
399
+ } | undefined;
400
+ videoVisit?: {
401
+ id: number;
402
+ status: string;
403
+ } | undefined;
404
+ paymentStatus?: string | undefined;
405
+ atentionId?: number | undefined;
406
+ id: number | null;
407
+ patientId: number;
408
+ creationDate: Date;
409
+ user: {
410
+ phone: string | null;
411
+ email: string | null;
412
+ id: number;
413
+ };
414
+ vcToken: string;
415
+ }, {
416
+ appointment?: {
417
+ date: Date;
418
+ id: number;
419
+ } | undefined;
420
+ videoVisit?: {
421
+ id: number;
422
+ status: string;
423
+ } | undefined;
424
+ paymentStatus?: string | undefined;
425
+ atentionId?: number | undefined;
426
+ id: number | null;
427
+ patientId: number;
428
+ creationDate: Date;
429
+ user: {
430
+ phone: string | null;
431
+ email: string | null;
432
+ id: number;
433
+ };
434
+ vcToken: string;
435
+ }>;
436
+ historicalVideoVisit: import("zod").ZodObject<import("zod").extendShape<{
437
+ id: import("zod").ZodNullable<import("zod").ZodNumber>;
438
+ creationDate: import("zod").ZodDate;
439
+ patientId: import("zod").ZodNumber;
440
+ user: import("zod").ZodObject<{
441
+ id: import("zod").ZodNumber;
442
+ email: import("zod").ZodNullable<import("zod").ZodString>;
443
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
444
+ }, "strip", import("zod").ZodTypeAny, {
445
+ phone: string | null;
446
+ email: string | null;
447
+ id: number;
448
+ }, {
449
+ phone: string | null;
450
+ email: string | null;
451
+ id: number;
452
+ }>;
453
+ vcToken: import("zod").ZodString;
454
+ appointment: import("zod").ZodOptional<import("zod").ZodObject<{
455
+ id: import("zod").ZodNumber;
456
+ date: import("zod").ZodDate;
457
+ }, "strip", import("zod").ZodTypeAny, {
458
+ date: Date;
459
+ id: number;
460
+ }, {
461
+ date: Date;
462
+ id: number;
463
+ }>>;
464
+ videoVisit: import("zod").ZodOptional<import("zod").ZodObject<{
465
+ id: import("zod").ZodNumber;
466
+ status: import("zod").ZodString;
467
+ }, "strip", import("zod").ZodTypeAny, {
468
+ id: number;
469
+ status: string;
470
+ }, {
471
+ id: number;
472
+ status: string;
473
+ }>>;
474
+ paymentStatus: import("zod").ZodOptional<import("zod").ZodString>;
475
+ atentionId: import("zod").ZodOptional<import("zod").ZodNumber>;
476
+ }, {
477
+ specialty: import("zod").ZodString;
478
+ professional: import("zod").ZodString;
479
+ }>, "strip", import("zod").ZodTypeAny, {
480
+ appointment?: {
481
+ date: Date;
482
+ id: number;
483
+ } | undefined;
484
+ videoVisit?: {
485
+ id: number;
486
+ status: string;
487
+ } | undefined;
488
+ paymentStatus?: string | undefined;
489
+ atentionId?: number | undefined;
490
+ id: number | null;
491
+ patientId: number;
492
+ professional: string;
493
+ creationDate: Date;
494
+ user: {
495
+ phone: string | null;
496
+ email: string | null;
497
+ id: number;
498
+ };
499
+ vcToken: string;
500
+ specialty: string;
501
+ }, {
502
+ appointment?: {
503
+ date: Date;
504
+ id: number;
505
+ } | undefined;
506
+ videoVisit?: {
507
+ id: number;
508
+ status: string;
509
+ } | undefined;
510
+ paymentStatus?: string | undefined;
511
+ atentionId?: number | undefined;
512
+ id: number | null;
513
+ patientId: number;
514
+ professional: string;
515
+ creationDate: Date;
516
+ user: {
517
+ phone: string | null;
518
+ email: string | null;
519
+ id: number;
520
+ };
521
+ vcToken: string;
522
+ specialty: string;
523
+ }>;
524
+ videoVisitDetails: import("zod").ZodObject<{
525
+ id: import("zod").ZodNumber;
526
+ status: import("zod").ZodString;
527
+ paymentStatus: import("zod").ZodString;
528
+ professional: import("zod").ZodOptional<import("zod").ZodObject<{
529
+ id: import("zod").ZodNumber;
530
+ fullName: import("zod").ZodString;
531
+ }, "strip", import("zod").ZodTypeAny, {
532
+ id: number;
533
+ fullName: string;
534
+ }, {
535
+ id: number;
536
+ fullName: string;
537
+ }>>;
538
+ patient: import("zod").ZodObject<{
539
+ fullName: import("zod").ZodString;
540
+ firstAccessDate: import("zod").ZodDate;
541
+ lastAccessDate: import("zod").ZodDate;
542
+ }, "strip", import("zod").ZodTypeAny, {
543
+ fullName: string;
544
+ firstAccessDate: Date;
545
+ lastAccessDate: Date;
546
+ }, {
547
+ fullName: string;
548
+ firstAccessDate: Date;
549
+ lastAccessDate: Date;
550
+ }>;
551
+ finishDate: import("zod").ZodNullable<import("zod").ZodDate>;
552
+ retries: import("zod").ZodNumber;
553
+ language: import("zod").ZodString;
554
+ appointment: import("zod").ZodNullable<import("zod").ZodObject<{
555
+ id: import("zod").ZodNumber;
556
+ date: import("zod").ZodDate;
557
+ }, "strip", import("zod").ZodTypeAny, {
558
+ date: Date;
559
+ id: number;
560
+ }, {
561
+ date: Date;
562
+ id: number;
563
+ }>>;
564
+ report: import("zod").ZodObject<{
565
+ motive: import("zod").ZodNullable<import("zod").ZodString>;
566
+ actualDesease: import("zod").ZodNullable<import("zod").ZodString>;
567
+ indications: import("zod").ZodNullable<import("zod").ZodString>;
568
+ alertSigns: import("zod").ZodNullable<import("zod").ZodString>;
569
+ extendedMotive: import("zod").ZodNullable<import("zod").ZodString>;
570
+ diagnose: import("zod").ZodArray<import("zod").ZodObject<{
571
+ description: import("zod").ZodString;
572
+ code: import("zod").ZodString;
573
+ }, "strip", import("zod").ZodTypeAny, {
574
+ code: string;
575
+ description: string;
576
+ }, {
577
+ code: string;
578
+ description: string;
579
+ }>, "many">;
580
+ }, "strip", import("zod").ZodTypeAny, {
581
+ motive: string | null;
582
+ actualDesease: string | null;
583
+ indications: string | null;
584
+ alertSigns: string | null;
585
+ extendedMotive: string | null;
586
+ diagnose: {
587
+ code: string;
588
+ description: string;
589
+ }[];
590
+ }, {
591
+ motive: string | null;
592
+ actualDesease: string | null;
593
+ indications: string | null;
594
+ alertSigns: string | null;
595
+ extendedMotive: string | null;
596
+ diagnose: {
597
+ code: string;
598
+ description: string;
599
+ }[];
600
+ }>;
601
+ pdf: import("zod").ZodObject<{
602
+ atention: import("zod").ZodOptional<import("zod").ZodString>;
603
+ labs: import("zod").ZodOptional<import("zod").ZodString>;
604
+ otherExams: import("zod").ZodOptional<import("zod").ZodString>;
605
+ images: import("zod").ZodOptional<import("zod").ZodString>;
606
+ medication: import("zod").ZodArray<import("zod").ZodAny, "many">;
607
+ }, "strip", import("zod").ZodTypeAny, {
608
+ atention?: string | undefined;
609
+ labs?: string | undefined;
610
+ otherExams?: string | undefined;
611
+ images?: string | undefined;
612
+ medication: any[];
613
+ }, {
614
+ atention?: string | undefined;
615
+ labs?: string | undefined;
616
+ otherExams?: string | undefined;
617
+ images?: string | undefined;
618
+ medication: any[];
619
+ }>;
620
+ files: import("zod").ZodArray<import("zod").ZodObject<{
621
+ name: import("zod").ZodString;
622
+ url: import("zod").ZodString;
623
+ }, "strip", import("zod").ZodTypeAny, {
624
+ name: string;
625
+ url: string;
626
+ }, {
627
+ name: string;
628
+ url: string;
629
+ }>, "many">;
630
+ }, "strip", import("zod").ZodTypeAny, {
631
+ professional?: {
632
+ id: number;
633
+ fullName: string;
634
+ } | undefined;
635
+ appointment: {
636
+ date: Date;
637
+ id: number;
638
+ } | null;
639
+ id: number;
640
+ language: string;
641
+ patient: {
642
+ fullName: string;
643
+ firstAccessDate: Date;
644
+ lastAccessDate: Date;
645
+ };
646
+ status: string;
647
+ paymentStatus: string;
648
+ finishDate: Date | null;
649
+ retries: number;
650
+ report: {
651
+ motive: string | null;
652
+ actualDesease: string | null;
653
+ indications: string | null;
654
+ alertSigns: string | null;
655
+ extendedMotive: string | null;
656
+ diagnose: {
657
+ code: string;
658
+ description: string;
659
+ }[];
660
+ };
661
+ pdf: {
662
+ atention?: string | undefined;
663
+ labs?: string | undefined;
664
+ otherExams?: string | undefined;
665
+ images?: string | undefined;
666
+ medication: any[];
667
+ };
668
+ files: {
669
+ name: string;
670
+ url: string;
671
+ }[];
672
+ }, {
673
+ professional?: {
674
+ id: number;
675
+ fullName: string;
676
+ } | undefined;
677
+ appointment: {
678
+ date: Date;
679
+ id: number;
680
+ } | null;
681
+ id: number;
682
+ language: string;
683
+ patient: {
684
+ fullName: string;
685
+ firstAccessDate: Date;
686
+ lastAccessDate: Date;
687
+ };
688
+ status: string;
689
+ paymentStatus: string;
690
+ finishDate: Date | null;
691
+ retries: number;
692
+ report: {
693
+ motive: string | null;
694
+ actualDesease: string | null;
695
+ indications: string | null;
696
+ alertSigns: string | null;
697
+ extendedMotive: string | null;
698
+ diagnose: {
699
+ code: string;
700
+ description: string;
701
+ }[];
702
+ };
703
+ pdf: {
704
+ atention?: string | undefined;
705
+ labs?: string | undefined;
706
+ otherExams?: string | undefined;
707
+ images?: string | undefined;
708
+ medication: any[];
709
+ };
710
+ files: {
711
+ name: string;
712
+ url: string;
713
+ }[];
714
+ }>;
715
+ activeVideoVisitData: import("zod").ZodObject<{
716
+ consultationId: import("zod").ZodNumber;
717
+ patientId: import("zod").ZodNumber;
718
+ vcToken: import("zod").ZodString;
719
+ }, "strip", import("zod").ZodTypeAny, {
720
+ patientId: number;
721
+ vcToken: string;
722
+ consultationId: number;
723
+ }, {
724
+ patientId: number;
725
+ vcToken: string;
726
+ consultationId: number;
727
+ }>;
728
+ professional: import("zod").ZodObject<{
729
+ id: import("zod").ZodNumber;
730
+ firstName: import("zod").ZodString;
731
+ lastName: import("zod").ZodString;
732
+ birthdate: import("zod").ZodDate;
733
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
734
+ email: import("zod").ZodString;
735
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
736
+ logoUrl: import("zod").ZodString;
737
+ matriculation: import("zod").ZodArray<import("zod").ZodObject<{
738
+ number: import("zod").ZodString;
739
+ type: import("zod").ZodString;
740
+ }, "strip", import("zod").ZodTypeAny, {
741
+ number: string;
742
+ type: string;
743
+ }, {
744
+ number: string;
745
+ type: string;
746
+ }>, "many">;
747
+ specialties: import("zod").ZodArray<import("zod").ZodObject<{
748
+ id: import("zod").ZodNumber;
749
+ description: import("zod").ZodString;
750
+ }, "strip", import("zod").ZodTypeAny, {
751
+ id: number;
752
+ description: string;
753
+ }, {
754
+ id: number;
755
+ description: string;
756
+ }>, "many">;
757
+ degree: import("zod").ZodString;
758
+ languages: import("zod").ZodArray<import("zod").ZodString, "many">;
759
+ resume: import("zod").ZodObject<{
760
+ link: import("zod").ZodString;
761
+ brief: import("zod").ZodString;
762
+ }, "strip", import("zod").ZodTypeAny, {
763
+ link: string;
764
+ brief: string;
765
+ }, {
766
+ link: string;
767
+ brief: string;
768
+ }>;
769
+ consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
770
+ }, "strip", import("zod").ZodTypeAny, {
771
+ gender?: "m" | "f" | "o" | undefined;
772
+ consultation_value?: string | null | undefined;
773
+ firstName: string;
774
+ lastName: string;
775
+ birthdate: Date;
776
+ phone: string | null;
777
+ email: string;
778
+ id: number;
779
+ logoUrl: string;
780
+ specialties: {
781
+ id: number;
782
+ description: string;
783
+ }[];
784
+ matriculation: {
785
+ number: string;
786
+ type: string;
787
+ }[];
788
+ degree: string;
789
+ languages: string[];
790
+ resume: {
791
+ link: string;
792
+ brief: string;
793
+ };
794
+ }, {
795
+ gender?: "m" | "f" | "o" | undefined;
796
+ consultation_value?: string | null | undefined;
797
+ firstName: string;
798
+ lastName: string;
799
+ birthdate: Date;
800
+ phone: string | null;
801
+ email: string;
802
+ id: number;
803
+ logoUrl: string;
804
+ specialties: {
805
+ id: number;
806
+ description: string;
807
+ }[];
808
+ matriculation: {
809
+ number: string;
810
+ type: string;
811
+ }[];
812
+ degree: string;
813
+ languages: string[];
814
+ resume: {
815
+ link: string;
816
+ brief: string;
817
+ };
818
+ }>;
819
+ appointment: import("zod").ZodObject<{
820
+ id: import("zod").ZodNumber;
821
+ professionalId: import("zod").ZodNumber;
822
+ date: import("zod").ZodDate;
823
+ }, "strip", import("zod").ZodTypeAny, {
824
+ date: Date;
825
+ id: number;
826
+ professionalId: number;
827
+ }, {
828
+ date: Date;
829
+ id: number;
830
+ professionalId: number;
831
+ }>;
832
+ chatroomAvailabilityFilter: import("zod").ZodObject<{
833
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
834
+ offset: import("zod").ZodOptional<import("zod").ZodNumber>;
835
+ }, "strip", import("zod").ZodTypeAny, {
836
+ offset?: number | undefined;
837
+ limit?: number | undefined;
838
+ }, {
839
+ offset?: number | undefined;
840
+ limit?: number | undefined;
841
+ }>;
842
+ chatParameters: import("zod").ZodObject<{
843
+ patientId: import("zod").ZodNumber;
844
+ chatroomId: import("zod").ZodNumber;
845
+ language: import("zod").ZodString;
846
+ specialtyId: import("zod").ZodNumber;
847
+ }, "strip", import("zod").ZodTypeAny, {
848
+ patientId: number;
849
+ specialtyId: number;
850
+ language: string;
851
+ chatroomId: number;
852
+ }, {
853
+ patientId: number;
854
+ specialtyId: number;
855
+ language: string;
856
+ chatroomId: number;
857
+ }>;
858
+ availableChatroom: import("zod").ZodObject<{
859
+ id: import("zod").ZodNumber;
860
+ professional: import("zod").ZodObject<{
861
+ id: import("zod").ZodNumber;
862
+ fullName: import("zod").ZodString;
863
+ logoUrl: import("zod").ZodString;
864
+ }, "strip", import("zod").ZodTypeAny, {
865
+ id: number;
866
+ fullName: string;
867
+ logoUrl: string;
868
+ }, {
869
+ id: number;
870
+ fullName: string;
871
+ logoUrl: string;
872
+ }>;
873
+ specialty: import("zod").ZodObject<{
874
+ id: import("zod").ZodNumber;
875
+ description: import("zod").ZodString;
876
+ }, "strip", import("zod").ZodTypeAny, {
877
+ id: number;
878
+ description: string;
879
+ }, {
880
+ id: number;
881
+ description: string;
882
+ }>;
883
+ }, "strip", import("zod").ZodTypeAny, {
884
+ id: number;
885
+ professional: {
886
+ id: number;
887
+ fullName: string;
888
+ logoUrl: string;
889
+ };
890
+ specialty: {
891
+ id: number;
892
+ description: string;
893
+ };
894
+ }, {
895
+ id: number;
896
+ professional: {
897
+ id: number;
898
+ fullName: string;
899
+ logoUrl: string;
900
+ };
901
+ specialty: {
902
+ id: number;
903
+ description: string;
904
+ };
905
+ }>;
906
+ chatDetails: import("zod").ZodObject<{
907
+ id: import("zod").ZodNumber;
908
+ chatRoomId: import("zod").ZodNumber;
909
+ startDate: import("zod").ZodDate;
910
+ lastEventDate: import("zod").ZodDate;
911
+ closureDate: import("zod").ZodNullable<import("zod").ZodDate>;
912
+ patient: import("zod").ZodObject<{
913
+ id: import("zod").ZodNumber;
914
+ firstName: import("zod").ZodString;
915
+ lastName: import("zod").ZodString;
916
+ }, "strip", import("zod").ZodTypeAny, {
917
+ firstName: string;
918
+ lastName: string;
919
+ id: number;
920
+ }, {
921
+ firstName: string;
922
+ lastName: string;
923
+ id: number;
924
+ }>;
925
+ patientLastPost: import("zod").ZodNullable<import("zod").ZodDate>;
926
+ professional: import("zod").ZodObject<{
927
+ id: import("zod").ZodNumber;
928
+ fullName: import("zod").ZodString;
929
+ logoUrl: import("zod").ZodString;
930
+ }, "strip", import("zod").ZodTypeAny, {
931
+ id: number;
932
+ fullName: string;
933
+ logoUrl: string;
934
+ }, {
935
+ id: number;
936
+ fullName: string;
937
+ logoUrl: string;
938
+ }>;
939
+ professionalLastPost: import("zod").ZodNullable<import("zod").ZodDate>;
940
+ specialty: import("zod").ZodObject<{
941
+ id: import("zod").ZodNumber;
942
+ description: import("zod").ZodString;
943
+ }, "strip", import("zod").ZodTypeAny, {
944
+ id: number;
945
+ description: string;
946
+ }, {
947
+ id: number;
948
+ description: string;
949
+ }>;
950
+ status: import("zod").ZodString;
951
+ paymentStatus: import("zod").ZodString;
952
+ }, "strip", import("zod").ZodTypeAny, {
953
+ id: number;
954
+ patient: {
955
+ firstName: string;
956
+ lastName: string;
957
+ id: number;
958
+ };
959
+ professional: {
960
+ id: number;
961
+ fullName: string;
962
+ logoUrl: string;
963
+ };
964
+ status: string;
965
+ paymentStatus: string;
966
+ specialty: {
967
+ id: number;
968
+ description: string;
969
+ };
970
+ chatRoomId: number;
971
+ startDate: Date;
972
+ lastEventDate: Date;
973
+ closureDate: Date | null;
974
+ patientLastPost: Date | null;
975
+ professionalLastPost: Date | null;
976
+ }, {
977
+ id: number;
978
+ patient: {
979
+ firstName: string;
980
+ lastName: string;
981
+ id: number;
982
+ };
983
+ professional: {
984
+ id: number;
985
+ fullName: string;
986
+ logoUrl: string;
987
+ };
988
+ status: string;
989
+ paymentStatus: string;
990
+ specialty: {
991
+ id: number;
992
+ description: string;
993
+ };
994
+ chatRoomId: number;
995
+ startDate: Date;
996
+ lastEventDate: Date;
997
+ closureDate: Date | null;
998
+ patientLastPost: Date | null;
999
+ professionalLastPost: Date | null;
1000
+ }>;
1001
+ chatPost: import("zod").ZodObject<{
1002
+ id: import("zod").ZodNumber;
1003
+ userType: import("zod").ZodEnum<["patient", "professional"]>;
1004
+ message: import("zod").ZodString;
1005
+ date: import("zod").ZodDate;
1006
+ }, "strip", import("zod").ZodTypeAny, {
1007
+ date: Date;
1008
+ message: string;
1009
+ id: number;
1010
+ userType: "patient" | "professional";
1011
+ }, {
1012
+ date: Date;
1013
+ message: string;
1014
+ id: number;
1015
+ userType: "patient" | "professional";
1016
+ }>;
1017
+ enrollmentParams: import("zod").ZodObject<{
1018
+ firstName: import("zod").ZodString;
1019
+ lastName: import("zod").ZodString;
1020
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1021
+ identificationNumber: import("zod").ZodString;
1022
+ birthdate: import("zod").ZodDate;
1023
+ email: import("zod").ZodString;
1024
+ plan: import("zod").ZodString;
1025
+ startDate: import("zod").ZodDate;
1026
+ }, "strip", import("zod").ZodTypeAny, {
1027
+ gender?: "m" | "f" | "o" | undefined;
1028
+ firstName: string;
1029
+ lastName: string;
1030
+ birthdate: Date;
1031
+ email: string;
1032
+ identificationNumber: string;
1033
+ startDate: Date;
1034
+ plan: string;
1035
+ }, {
1036
+ gender?: "m" | "f" | "o" | undefined;
1037
+ firstName: string;
1038
+ lastName: string;
1039
+ birthdate: Date;
1040
+ email: string;
1041
+ identificationNumber: string;
1042
+ startDate: Date;
1043
+ plan: string;
1044
+ }>;
1045
+ diagnosticaPatientFilter: import("zod").ZodObject<{
1046
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1047
+ identificationType: import("zod").ZodLiteral<"DNI">;
1048
+ identificationValue: import("zod").ZodString;
1049
+ }, "strip", import("zod").ZodTypeAny, {
1050
+ gender?: "m" | "f" | "o" | undefined;
1051
+ identificationType: "DNI";
1052
+ identificationValue: string;
1053
+ }, {
1054
+ gender?: "m" | "f" | "o" | undefined;
1055
+ identificationType: "DNI";
1056
+ identificationValue: string;
1057
+ }>;
1058
+ diagnosticaHistoryAppointment: import("zod").ZodObject<{
1059
+ date: import("zod").ZodDate;
1060
+ location: import("zod").ZodString;
1061
+ exams: import("zod").ZodArray<import("zod").ZodString, "many">;
1062
+ deepLink: import("zod").ZodString;
1063
+ }, "strip", import("zod").ZodTypeAny, {
1064
+ date: Date;
1065
+ location: string;
1066
+ exams: string[];
1067
+ deepLink: string;
1068
+ }, {
1069
+ date: Date;
1070
+ location: string;
1071
+ exams: string[];
1072
+ deepLink: string;
1073
+ }>;
1074
+ diagnosticaUser: import("zod").ZodObject<import("zod").extendShape<{
1075
+ firstName: import("zod").ZodString;
1076
+ lastName: import("zod").ZodString;
1077
+ birthday: import("zod").ZodDate;
1078
+ identificationType: import("zod").ZodLiteral<"DNI">;
1079
+ identificationValue: import("zod").ZodString;
1080
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1081
+ }, {
1082
+ phone: import("zod").ZodString;
1083
+ email: import("zod").ZodString;
1084
+ language: import("zod").ZodString;
1085
+ }>, "strip", import("zod").ZodTypeAny, {
1086
+ gender?: "m" | "f" | "o" | undefined;
1087
+ firstName: string;
1088
+ lastName: string;
1089
+ identificationType: "DNI";
1090
+ identificationValue: string;
1091
+ phone: string;
1092
+ email: string;
1093
+ language: string;
1094
+ birthday: Date;
1095
+ }, {
1096
+ gender?: "m" | "f" | "o" | undefined;
1097
+ firstName: string;
1098
+ lastName: string;
1099
+ identificationType: "DNI";
1100
+ identificationValue: string;
1101
+ phone: string;
1102
+ email: string;
1103
+ language: string;
1104
+ birthday: Date;
1105
+ }>;
1106
+ diagnosticaPatient: import("zod").ZodObject<{
1107
+ firstName: import("zod").ZodString;
1108
+ lastName: import("zod").ZodString;
1109
+ birthday: import("zod").ZodDate;
1110
+ identificationType: import("zod").ZodLiteral<"DNI">;
1111
+ identificationValue: import("zod").ZodString;
1112
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1113
+ }, "strip", import("zod").ZodTypeAny, {
1114
+ gender?: "m" | "f" | "o" | undefined;
1115
+ firstName: string;
1116
+ lastName: string;
1117
+ identificationType: "DNI";
1118
+ identificationValue: string;
1119
+ birthday: Date;
1120
+ }, {
1121
+ gender?: "m" | "f" | "o" | undefined;
1122
+ firstName: string;
1123
+ lastName: string;
1124
+ identificationType: "DNI";
1125
+ identificationValue: string;
1126
+ birthday: Date;
1127
+ }>;
1128
+ diagnosticaDeepLinkResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
1129
+ forwardingRequired: import("zod").ZodLiteral<true>;
1130
+ deepLink: import("zod").ZodString;
1131
+ }, "strip", import("zod").ZodTypeAny, {
1132
+ forwardingRequired: true;
1133
+ deepLink: string;
1134
+ }, {
1135
+ forwardingRequired: true;
1136
+ deepLink: string;
1137
+ }>, import("zod").ZodObject<{
1138
+ forwardingRequired: import("zod").ZodLiteral<false>;
1139
+ }, "strip", import("zod").ZodTypeAny, {
1140
+ forwardingRequired: false;
1141
+ }, {
1142
+ forwardingRequired: false;
1143
+ }>]>;
1144
+ coverageInfo: import("zod").ZodNullable<import("zod").ZodObject<{
1145
+ financerId: import("zod").ZodNullable<import("zod").ZodNumber>;
1146
+ defaultAffiliationId: import("zod").ZodNullable<import("zod").ZodNumber>;
1147
+ plan: import("zod").ZodNullable<import("zod").ZodString>;
1148
+ identificationNumber: import("zod").ZodString;
1149
+ credentialNumber: import("zod").ZodNullable<import("zod").ZodString>;
1150
+ lastName: import("zod").ZodNullable<import("zod").ZodString>;
1151
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
1152
+ birthdate: import("zod").ZodDate;
1153
+ financerPlanId: import("zod").ZodNullable<import("zod").ZodNumber>;
1154
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1155
+ brand: import("zod").ZodNullable<import("zod").ZodNumber>;
1156
+ holderIdentificationNumber: import("zod").ZodNullable<import("zod").ZodString>;
1157
+ copaymentValue: import("zod").ZodNullable<import("zod").ZodNumber>;
1158
+ mobilePhone: import("zod").ZodNullable<import("zod").ZodString>;
1159
+ company: import("zod").ZodNullable<import("zod").ZodString>;
1160
+ email: import("zod").ZodNullable<import("zod").ZodString>;
1161
+ dischargeDate: import("zod").ZodNullable<import("zod").ZodDate>;
1162
+ leavingDate: import("zod").ZodNullable<import("zod").ZodDate>;
1163
+ identificacion_tributaria: import("zod").ZodNullable<import("zod").ZodString>;
1164
+ deregistrationDate: import("zod").ZodNullable<import("zod").ZodDate>;
1165
+ authorizationCode: import("zod").ZodNullable<import("zod").ZodString>;
1166
+ authorizationCodeExpiration: import("zod").ZodNullable<import("zod").ZodDate>;
1167
+ }, "strip", import("zod").ZodTypeAny, {
1168
+ gender?: "m" | "f" | "o" | undefined;
1169
+ firstName: string | null;
1170
+ lastName: string | null;
1171
+ birthdate: Date;
1172
+ email: string | null;
1173
+ identificationNumber: string;
1174
+ plan: string | null;
1175
+ financerId: number | null;
1176
+ defaultAffiliationId: number | null;
1177
+ credentialNumber: string | null;
1178
+ financerPlanId: number | null;
1179
+ brand: number | null;
1180
+ holderIdentificationNumber: string | null;
1181
+ copaymentValue: number | null;
1182
+ mobilePhone: string | null;
1183
+ company: string | null;
1184
+ dischargeDate: Date | null;
1185
+ leavingDate: Date | null;
1186
+ identificacion_tributaria: string | null;
1187
+ deregistrationDate: Date | null;
1188
+ authorizationCode: string | null;
1189
+ authorizationCodeExpiration: Date | null;
1190
+ }, {
1191
+ gender?: "m" | "f" | "o" | undefined;
1192
+ firstName: string | null;
1193
+ lastName: string | null;
1194
+ birthdate: Date;
1195
+ email: string | null;
1196
+ identificationNumber: string;
1197
+ plan: string | null;
1198
+ financerId: number | null;
1199
+ defaultAffiliationId: number | null;
1200
+ credentialNumber: string | null;
1201
+ financerPlanId: number | null;
1202
+ brand: number | null;
1203
+ holderIdentificationNumber: string | null;
1204
+ copaymentValue: number | null;
1205
+ mobilePhone: string | null;
1206
+ company: string | null;
1207
+ dischargeDate: Date | null;
1208
+ leavingDate: Date | null;
1209
+ identificacion_tributaria: string | null;
1210
+ deregistrationDate: Date | null;
1211
+ authorizationCode: string | null;
1212
+ authorizationCodeExpiration: Date | null;
1213
+ }>>;
1214
+ sendVerificationCodeParams: import("zod").ZodObject<{
1215
+ identificationType: import("zod").ZodNumber;
1216
+ identificationValue: import("zod").ZodString;
1217
+ channel: import("zod").ZodEnum<["1", "2"]>;
1218
+ }, "strip", import("zod").ZodTypeAny, {
1219
+ identificationType: number;
1220
+ identificationValue: string;
1221
+ channel: "1" | "2";
1222
+ }, {
1223
+ identificationType: number;
1224
+ identificationValue: string;
1225
+ channel: "1" | "2";
1226
+ }>;
1227
+ declareUserParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1228
+ user: import("zod").ZodObject<import("zod").extendShape<{
1229
+ firstName: import("zod").ZodString;
1230
+ lastName: import("zod").ZodString;
1231
+ identificationType: import("zod").ZodOptional<import("zod").ZodNumber>;
1232
+ identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
1233
+ countryId: import("zod").ZodString;
1234
+ birthdate: import("zod").ZodDate;
1235
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1236
+ }, {
1237
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
1238
+ email: import("zod").ZodString;
1239
+ }>, "strip", import("zod").ZodTypeAny, {
1240
+ identificationType?: number | undefined;
1241
+ identificationValue?: string | undefined;
1242
+ gender?: "m" | "f" | "o" | undefined;
1243
+ phone?: string | undefined;
1244
+ firstName: string;
1245
+ lastName: string;
1246
+ countryId: string;
1247
+ birthdate: Date;
1248
+ email: string;
1249
+ }, {
1250
+ identificationType?: number | undefined;
1251
+ identificationValue?: string | undefined;
1252
+ gender?: "m" | "f" | "o" | undefined;
1253
+ phone?: string | undefined;
1254
+ firstName: string;
1255
+ lastName: string;
1256
+ countryId: string;
1257
+ birthdate: Date;
1258
+ email: string;
1259
+ }>;
1260
+ }, "strip", import("zod").ZodTypeAny, {
1261
+ user: {
1262
+ identificationType?: number | undefined;
1263
+ identificationValue?: string | undefined;
1264
+ gender?: "m" | "f" | "o" | undefined;
1265
+ phone?: string | undefined;
1266
+ firstName: string;
1267
+ lastName: string;
1268
+ countryId: string;
1269
+ birthdate: Date;
1270
+ email: string;
1271
+ };
1272
+ }, {
1273
+ user: {
1274
+ identificationType?: number | undefined;
1275
+ identificationValue?: string | undefined;
1276
+ gender?: "m" | "f" | "o" | undefined;
1277
+ phone?: string | undefined;
1278
+ firstName: string;
1279
+ lastName: string;
1280
+ countryId: string;
1281
+ birthdate: Date;
1282
+ email: string;
1283
+ };
1284
+ }>, import("zod").ZodObject<{
1285
+ channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
1286
+ code: import("zod").ZodOptional<import("zod").ZodString>;
1287
+ }, "strip", import("zod").ZodTypeAny, {
1288
+ code?: string | undefined;
1289
+ channel?: "1" | "2" | undefined;
1290
+ }, {
1291
+ code?: string | undefined;
1292
+ channel?: "1" | "2" | undefined;
1293
+ }>>;
1294
+ declareUserResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
1295
+ userInfo: import("zod").ZodObject<{
1296
+ email: import("zod").ZodString;
1297
+ phone: import("zod").ZodString;
1298
+ }, "strip", import("zod").ZodTypeAny, {
1299
+ phone: string;
1300
+ email: string;
1301
+ }, {
1302
+ phone: string;
1303
+ email: string;
1304
+ }>;
1305
+ askCode: import("zod").ZodLiteral<true>;
1306
+ }, "strip", import("zod").ZodTypeAny, {
1307
+ askCode: true;
1308
+ userInfo: {
1309
+ phone: string;
1310
+ email: string;
1311
+ };
1312
+ }, {
1313
+ askCode: true;
1314
+ userInfo: {
1315
+ phone: string;
1316
+ email: string;
1317
+ };
1318
+ }>, import("zod").ZodObject<{
1319
+ askCode: import("zod").ZodLiteral<false>;
1320
+ patientId: import("zod").ZodNullable<import("zod").ZodNumber>;
1321
+ userId: import("zod").ZodNumber;
1322
+ }, "strip", import("zod").ZodTypeAny, {
1323
+ patientId: number | null;
1324
+ askCode: false;
1325
+ userId: number;
1326
+ }, {
1327
+ patientId: number | null;
1328
+ askCode: false;
1329
+ userId: number;
1330
+ }>]>;
1331
+ declarePatientParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1332
+ patient: import("zod").ZodObject<{
1333
+ firstName: import("zod").ZodString;
1334
+ lastName: import("zod").ZodString;
1335
+ identificationType: import("zod").ZodOptional<import("zod").ZodNumber>;
1336
+ identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
1337
+ countryId: import("zod").ZodString;
1338
+ birthdate: import("zod").ZodDate;
1339
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1340
+ }, "strip", import("zod").ZodTypeAny, {
1341
+ identificationType?: number | undefined;
1342
+ identificationValue?: string | undefined;
1343
+ gender?: "m" | "f" | "o" | undefined;
1344
+ firstName: string;
1345
+ lastName: string;
1346
+ countryId: string;
1347
+ birthdate: Date;
1348
+ }, {
1349
+ identificationType?: number | undefined;
1350
+ identificationValue?: string | undefined;
1351
+ gender?: "m" | "f" | "o" | undefined;
1352
+ firstName: string;
1353
+ lastName: string;
1354
+ countryId: string;
1355
+ birthdate: Date;
1356
+ }>;
1357
+ }, "strip", import("zod").ZodTypeAny, {
1358
+ patient: {
1359
+ identificationType?: number | undefined;
1360
+ identificationValue?: string | undefined;
1361
+ gender?: "m" | "f" | "o" | undefined;
1362
+ firstName: string;
1363
+ lastName: string;
1364
+ countryId: string;
1365
+ birthdate: Date;
1366
+ };
1367
+ }, {
1368
+ patient: {
1369
+ identificationType?: number | undefined;
1370
+ identificationValue?: string | undefined;
1371
+ gender?: "m" | "f" | "o" | undefined;
1372
+ firstName: string;
1373
+ lastName: string;
1374
+ countryId: string;
1375
+ birthdate: Date;
1376
+ };
1377
+ }>, import("zod").ZodObject<{
1378
+ channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
1379
+ code: import("zod").ZodOptional<import("zod").ZodString>;
1380
+ }, "strip", import("zod").ZodTypeAny, {
1381
+ code?: string | undefined;
1382
+ channel?: "1" | "2" | undefined;
1383
+ }, {
1384
+ code?: string | undefined;
1385
+ channel?: "1" | "2" | undefined;
1386
+ }>>;
1387
+ declarePatientResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
1388
+ userInfo: import("zod").ZodObject<{
1389
+ firstName: import("zod").ZodString;
1390
+ lastName: import("zod").ZodString;
1391
+ email: import("zod").ZodString;
1392
+ phone: import("zod").ZodString;
1393
+ }, "strip", import("zod").ZodTypeAny, {
1394
+ firstName: string;
1395
+ lastName: string;
1396
+ phone: string;
1397
+ email: string;
1398
+ }, {
1399
+ firstName: string;
1400
+ lastName: string;
1401
+ phone: string;
1402
+ email: string;
1403
+ }>;
1404
+ askCode: import("zod").ZodLiteral<true>;
1405
+ }, "strip", import("zod").ZodTypeAny, {
1406
+ askCode: true;
1407
+ userInfo: {
1408
+ firstName: string;
1409
+ lastName: string;
1410
+ phone: string;
1411
+ email: string;
1412
+ };
1413
+ }, {
1414
+ askCode: true;
1415
+ userInfo: {
1416
+ firstName: string;
1417
+ lastName: string;
1418
+ phone: string;
1419
+ email: string;
1420
+ };
1421
+ }>, import("zod").ZodObject<{
1422
+ askCode: import("zod").ZodLiteral<false>;
1423
+ patientId: import("zod").ZodNullable<import("zod").ZodNumber>;
1424
+ }, "strip", import("zod").ZodTypeAny, {
1425
+ patientId: number | null;
1426
+ askCode: false;
1427
+ }, {
1428
+ patientId: number | null;
1429
+ askCode: false;
1430
+ }>]>;
1431
+ verificationCodeParams: import("zod").ZodObject<{
1432
+ channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
1433
+ code: import("zod").ZodOptional<import("zod").ZodString>;
1434
+ }, "strip", import("zod").ZodTypeAny, {
1435
+ code?: string | undefined;
1436
+ channel?: "1" | "2" | undefined;
1437
+ }, {
1438
+ code?: string | undefined;
1439
+ channel?: "1" | "2" | undefined;
1440
+ }>;
1441
+ externalLoginParams: import("zod").ZodObject<{
1442
+ user: import("zod").ZodString;
1443
+ password: import("zod").ZodString;
1444
+ }, "strip", import("zod").ZodTypeAny, {
1445
+ user: string;
1446
+ password: string;
1447
+ }, {
1448
+ user: string;
1449
+ password: string;
1450
+ }>;
1451
+ externalLoginResponse: import("zod").ZodObject<{
1452
+ firstName: import("zod").ZodString;
1453
+ lastName: import("zod").ZodString;
1454
+ countryId: import("zod").ZodString;
1455
+ birthday: import("zod").ZodDate;
1456
+ identificationNumber: import("zod").ZodString;
1457
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1458
+ email: import("zod").ZodString;
1459
+ phone: import("zod").ZodString;
1460
+ }, "strip", import("zod").ZodTypeAny, {
1461
+ gender?: "m" | "f" | "o" | undefined;
1462
+ firstName: string;
1463
+ lastName: string;
1464
+ countryId: string;
1465
+ phone: string;
1466
+ email: string;
1467
+ birthday: Date;
1468
+ identificationNumber: string;
1469
+ }, {
1470
+ gender?: "m" | "f" | "o" | undefined;
1471
+ firstName: string;
1472
+ lastName: string;
1473
+ countryId: string;
1474
+ phone: string;
1475
+ email: string;
1476
+ birthday: Date;
1477
+ identificationNumber: string;
1478
+ }>;
1479
+ preExternalEnrollmentParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1480
+ identificationNumber: import("zod").ZodString;
1481
+ birthdate: import("zod").ZodDate;
1482
+ }, "strip", import("zod").ZodTypeAny, {
1483
+ birthdate: Date;
1484
+ identificationNumber: string;
1485
+ }, {
1486
+ birthdate: Date;
1487
+ identificationNumber: string;
1488
+ }>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1489
+ email: import("zod").ZodString;
1490
+ phone: import("zod").ZodString;
1491
+ }, "strip", import("zod").ZodTypeAny, {
1492
+ phone: string;
1493
+ email: string;
1494
+ }, {
1495
+ phone: string;
1496
+ email: string;
1497
+ }>, import("zod").ZodObject<{
1498
+ email: import("zod").ZodString;
1499
+ phone: import("zod").ZodUndefined;
1500
+ }, "strip", import("zod").ZodTypeAny, {
1501
+ phone?: undefined;
1502
+ email: string;
1503
+ }, {
1504
+ phone?: undefined;
1505
+ email: string;
1506
+ }>, import("zod").ZodObject<{
1507
+ email: import("zod").ZodUndefined;
1508
+ phone: import("zod").ZodString;
1509
+ }, "strip", import("zod").ZodTypeAny, {
1510
+ email?: undefined;
1511
+ phone: string;
1512
+ }, {
1513
+ email?: undefined;
1514
+ phone: string;
1515
+ }>]>, {
1516
+ phone: string;
1517
+ email: string;
1518
+ } | {
1519
+ phone?: undefined;
1520
+ email: string;
1521
+ } | {
1522
+ email?: undefined;
1523
+ phone: string;
1524
+ }>>;
1525
+ externalEnrollmentParams: import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
1526
+ identificationNumber: import("zod").ZodString;
1527
+ birthdate: import("zod").ZodDate;
1528
+ }, "strip", import("zod").ZodTypeAny, {
1529
+ birthdate: Date;
1530
+ identificationNumber: string;
1531
+ }, {
1532
+ birthdate: Date;
1533
+ identificationNumber: string;
1534
+ }>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1535
+ email: import("zod").ZodString;
1536
+ phone: import("zod").ZodString;
1537
+ }, "strip", import("zod").ZodTypeAny, {
1538
+ phone: string;
1539
+ email: string;
1540
+ }, {
1541
+ phone: string;
1542
+ email: string;
1543
+ }>, import("zod").ZodObject<{
1544
+ email: import("zod").ZodString;
1545
+ phone: import("zod").ZodUndefined;
1546
+ }, "strip", import("zod").ZodTypeAny, {
1547
+ phone?: undefined;
1548
+ email: string;
1549
+ }, {
1550
+ phone?: undefined;
1551
+ email: string;
1552
+ }>, import("zod").ZodObject<{
1553
+ email: import("zod").ZodUndefined;
1554
+ phone: import("zod").ZodString;
1555
+ }, "strip", import("zod").ZodTypeAny, {
1556
+ email?: undefined;
1557
+ phone: string;
1558
+ }, {
1559
+ email?: undefined;
1560
+ phone: string;
1561
+ }>]>, {
1562
+ phone: string;
1563
+ email: string;
1564
+ } | {
1565
+ phone?: undefined;
1566
+ email: string;
1567
+ } | {
1568
+ email?: undefined;
1569
+ phone: string;
1570
+ }>>, import("zod").ZodObject<{
1571
+ password: import("zod").ZodString;
1572
+ }, "strip", import("zod").ZodTypeAny, {
1573
+ password: string;
1574
+ }, {
1575
+ password: string;
1576
+ }>>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1577
+ emailCode: import("zod").ZodString;
1578
+ phoneCode: import("zod").ZodString;
1579
+ }, "strip", import("zod").ZodTypeAny, {
1580
+ emailCode: string;
1581
+ phoneCode: string;
1582
+ }, {
1583
+ emailCode: string;
1584
+ phoneCode: string;
1585
+ }>, import("zod").ZodObject<{
1586
+ emailCode: import("zod").ZodString;
1587
+ phoneCode: import("zod").ZodUndefined;
1588
+ }, "strip", import("zod").ZodTypeAny, {
1589
+ phoneCode?: undefined;
1590
+ emailCode: string;
1591
+ }, {
1592
+ phoneCode?: undefined;
1593
+ emailCode: string;
1594
+ }>, import("zod").ZodObject<{
1595
+ emailCode: import("zod").ZodUndefined;
1596
+ phoneCode: import("zod").ZodString;
1597
+ }, "strip", import("zod").ZodTypeAny, {
1598
+ emailCode?: undefined;
1599
+ phoneCode: string;
1600
+ }, {
1601
+ emailCode?: undefined;
1602
+ phoneCode: string;
1603
+ }>]>, {
1604
+ emailCode: string;
1605
+ phoneCode: string;
1606
+ } | {
1607
+ phoneCode?: undefined;
1608
+ emailCode: string;
1609
+ } | {
1610
+ emailCode?: undefined;
1611
+ phoneCode: string;
1612
+ }>>;
1613
+ sendExternalVerificationCodeParams: import("zod").ZodObject<{
1614
+ identificationNumber: import("zod").ZodString;
1615
+ birthdate: import("zod").ZodDate;
1616
+ channel: import("zod").ZodEnum<["1", "2"]>;
1617
+ }, "strip", import("zod").ZodTypeAny, {
1618
+ birthdate: Date;
1619
+ channel: "1" | "2";
1620
+ identificationNumber: string;
1621
+ }, {
1622
+ birthdate: Date;
1623
+ channel: "1" | "2";
1624
+ identificationNumber: string;
1625
+ }>;
1626
+ verifyExternalVerificationCodeParams: import("zod").ZodObject<import("zod").extendShape<{
1627
+ identificationNumber: import("zod").ZodString;
1628
+ birthdate: import("zod").ZodDate;
1629
+ channel: import("zod").ZodEnum<["1", "2"]>;
1630
+ }, {
1631
+ code: import("zod").ZodString;
1632
+ }>, "strip", import("zod").ZodTypeAny, {
1633
+ code: string;
1634
+ birthdate: Date;
1635
+ channel: "1" | "2";
1636
+ identificationNumber: string;
1637
+ }, {
1638
+ code: string;
1639
+ birthdate: Date;
1640
+ channel: "1" | "2";
1641
+ identificationNumber: string;
1642
+ }>;
1643
+ externalResetPasswordParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1644
+ identificationNumber: import("zod").ZodString;
1645
+ birthdate: import("zod").ZodDate;
1646
+ password: import("zod").ZodString;
1647
+ }, "strip", import("zod").ZodTypeAny, {
1648
+ birthdate: Date;
1649
+ password: string;
1650
+ identificationNumber: string;
1651
+ }, {
1652
+ birthdate: Date;
1653
+ password: string;
1654
+ identificationNumber: string;
1655
+ }>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1656
+ emailCode: import("zod").ZodString;
1657
+ phoneCode: import("zod").ZodString;
1658
+ }, "strip", import("zod").ZodTypeAny, {
1659
+ emailCode: string;
1660
+ phoneCode: string;
1661
+ }, {
1662
+ emailCode: string;
1663
+ phoneCode: string;
1664
+ }>, import("zod").ZodObject<{
1665
+ emailCode: import("zod").ZodString;
1666
+ phoneCode: import("zod").ZodUndefined;
1667
+ }, "strip", import("zod").ZodTypeAny, {
1668
+ phoneCode?: undefined;
1669
+ emailCode: string;
1670
+ }, {
1671
+ phoneCode?: undefined;
1672
+ emailCode: string;
1673
+ }>, import("zod").ZodObject<{
1674
+ emailCode: import("zod").ZodUndefined;
1675
+ phoneCode: import("zod").ZodString;
1676
+ }, "strip", import("zod").ZodTypeAny, {
1677
+ emailCode?: undefined;
1678
+ phoneCode: string;
1679
+ }, {
1680
+ emailCode?: undefined;
1681
+ phoneCode: string;
1682
+ }>]>, {
1683
+ emailCode: string;
1684
+ phoneCode: string;
1685
+ } | {
1686
+ phoneCode?: undefined;
1687
+ emailCode: string;
1688
+ } | {
1689
+ emailCode?: undefined;
1690
+ phoneCode: string;
1691
+ }>>;
1692
+ externalPatient: import("zod").ZodObject<{
1693
+ birthdate: import("zod").ZodDate;
1694
+ identificationType: import("zod").ZodLiteral<"DNI">;
1695
+ identificationValue: import("zod").ZodString;
1696
+ gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
1697
+ }, "strip", import("zod").ZodTypeAny, {
1698
+ gender?: "m" | "f" | "o" | undefined;
1699
+ identificationType: "DNI";
1700
+ identificationValue: string;
1701
+ birthdate: Date;
1702
+ }, {
1703
+ gender?: "m" | "f" | "o" | undefined;
1704
+ identificationType: "DNI";
1705
+ identificationValue: string;
1706
+ birthdate: Date;
1707
+ }>;
1708
+ externalAppointment: import("zod").ZodObject<{
1709
+ id: import("zod").ZodNumber;
1710
+ patientIdentification: import("zod").ZodOptional<import("zod").ZodString>;
1711
+ patientName: import("zod").ZodString;
1712
+ birthdate: import("zod").ZodDate;
1713
+ appointment: import("zod").ZodString;
1714
+ clinic: import("zod").ZodString;
1715
+ professionalName: import("zod").ZodString;
1716
+ date: import("zod").ZodDate;
1717
+ specialty: import("zod").ZodString;
1718
+ modality: import("zod").ZodString;
1719
+ }, "strip", import("zod").ZodTypeAny, {
1720
+ patientIdentification?: string | undefined;
1721
+ date: Date;
1722
+ birthdate: Date;
1723
+ appointment: string;
1724
+ id: number;
1725
+ specialty: string;
1726
+ patientName: string;
1727
+ clinic: string;
1728
+ professionalName: string;
1729
+ modality: string;
1730
+ }, {
1731
+ patientIdentification?: string | undefined;
1732
+ date: Date;
1733
+ birthdate: Date;
1734
+ appointment: string;
1735
+ id: number;
1736
+ specialty: string;
1737
+ patientName: string;
1738
+ clinic: string;
1739
+ professionalName: string;
1740
+ modality: string;
1741
+ }>;
1742
+ emailOrPhone: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1743
+ email: import("zod").ZodString;
1744
+ phone: import("zod").ZodString;
1745
+ }, "strip", import("zod").ZodTypeAny, {
1746
+ phone: string;
1747
+ email: string;
1748
+ }, {
1749
+ phone: string;
1750
+ email: string;
1751
+ }>, import("zod").ZodObject<{
1752
+ email: import("zod").ZodString;
1753
+ phone: import("zod").ZodUndefined;
1754
+ }, "strip", import("zod").ZodTypeAny, {
1755
+ phone?: undefined;
1756
+ email: string;
1757
+ }, {
1758
+ phone?: undefined;
1759
+ email: string;
1760
+ }>, import("zod").ZodObject<{
1761
+ email: import("zod").ZodUndefined;
1762
+ phone: import("zod").ZodString;
1763
+ }, "strip", import("zod").ZodTypeAny, {
1764
+ email?: undefined;
1765
+ phone: string;
1766
+ }, {
1767
+ email?: undefined;
1768
+ phone: string;
1769
+ }>]>, {
1770
+ phone: string;
1771
+ email: string;
1772
+ } | {
1773
+ phone?: undefined;
1774
+ email: string;
1775
+ } | {
1776
+ email?: undefined;
1777
+ phone: string;
1778
+ }>;
1779
+ emailOrPhoneCode: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1780
+ emailCode: import("zod").ZodString;
1781
+ phoneCode: import("zod").ZodString;
1782
+ }, "strip", import("zod").ZodTypeAny, {
1783
+ emailCode: string;
1784
+ phoneCode: string;
1785
+ }, {
1786
+ emailCode: string;
1787
+ phoneCode: string;
1788
+ }>, import("zod").ZodObject<{
1789
+ emailCode: import("zod").ZodString;
1790
+ phoneCode: import("zod").ZodUndefined;
1791
+ }, "strip", import("zod").ZodTypeAny, {
1792
+ phoneCode?: undefined;
1793
+ emailCode: string;
1794
+ }, {
1795
+ phoneCode?: undefined;
1796
+ emailCode: string;
1797
+ }>, import("zod").ZodObject<{
1798
+ emailCode: import("zod").ZodUndefined;
1799
+ phoneCode: import("zod").ZodString;
1800
+ }, "strip", import("zod").ZodTypeAny, {
1801
+ emailCode?: undefined;
1802
+ phoneCode: string;
1803
+ }, {
1804
+ emailCode?: undefined;
1805
+ phoneCode: string;
1806
+ }>]>, {
1807
+ emailCode: string;
1808
+ phoneCode: string;
1809
+ } | {
1810
+ phoneCode?: undefined;
1811
+ emailCode: string;
1812
+ } | {
1813
+ emailCode?: undefined;
1814
+ phoneCode: string;
1815
+ }>;
1816
+ };