@integraciones_doc24/sdk 0.39.3 → 0.39.5

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