@integraciones_doc24/sdk 1.15.5 → 1.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/baseSdk/diagnostica.d.ts +16 -16
- package/lib/baseSdk/diagnostica.js +18 -20
- package/lib/baseSdk/index.js +0 -3
- package/lib/baseSdk/user.d.ts +8 -58
- package/lib/baseSdk/user.js +25 -70
- package/lib/index.d.ts +35 -240
- package/lib/schemas.d.ts +78 -763
- package/lib/schemas.js +40 -151
- package/lib/types.d.ts +7 -35
- package/lib/userSdk/chat.d.ts +2 -2
- package/lib/userSdk/index.js +0 -3
- package/lib/userSdk/patients.d.ts +15 -29
- package/lib/userSdk/patients.js +12 -31
- package/lib/userSdk/schedule.d.ts +2 -4
- package/lib/userSdk/schedule.js +16 -20
- package/lib/userSdk/videoVisit.d.ts +2 -4
- package/lib/userSdk/videoVisit.js +4 -11
- package/lib/utils.d.ts +4 -2
- package/lib/utils.js +22 -11
- package/lib/webhook/index.js +0 -1
- package/package.json +1 -1
package/lib/schemas.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const doc24Schemas: {
|
|
2
|
+
identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn", "cpf", "rg"]>;
|
|
2
3
|
sdkCredentials: import("zod").ZodObject<{
|
|
3
4
|
iss: import("zod").ZodString;
|
|
4
5
|
key: import("zod").ZodString;
|
|
@@ -37,59 +38,59 @@ export declare const doc24Schemas: {
|
|
|
37
38
|
user: import("zod").ZodObject<import("zod").extendShape<{
|
|
38
39
|
firstName: import("zod").ZodString;
|
|
39
40
|
lastName: import("zod").ZodString;
|
|
40
|
-
identificationType: import("zod").
|
|
41
|
+
identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn", "cpf", "rg"]>;
|
|
41
42
|
identificationValue: import("zod").ZodString;
|
|
42
43
|
countryId: import("zod").ZodString;
|
|
43
44
|
birthdate: import("zod").ZodDate;
|
|
44
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
45
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
45
46
|
}, {
|
|
46
47
|
phone: import("zod").ZodString;
|
|
47
48
|
email: import("zod").ZodString;
|
|
48
49
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
49
50
|
firstName: string;
|
|
50
51
|
lastName: string;
|
|
51
|
-
identificationType:
|
|
52
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
52
53
|
identificationValue: string;
|
|
53
|
-
|
|
54
|
-
birthdate: Date;
|
|
55
|
-
gender: "m" | "f" | "o";
|
|
54
|
+
gender: "m" | "f";
|
|
56
55
|
phone: string;
|
|
57
56
|
email: string;
|
|
57
|
+
countryId: string;
|
|
58
|
+
birthdate: Date;
|
|
58
59
|
}, {
|
|
59
60
|
firstName: string;
|
|
60
61
|
lastName: string;
|
|
61
|
-
identificationType:
|
|
62
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
62
63
|
identificationValue: string;
|
|
63
|
-
|
|
64
|
-
birthdate: Date;
|
|
65
|
-
gender: "m" | "f" | "o";
|
|
64
|
+
gender: "m" | "f";
|
|
66
65
|
phone: string;
|
|
67
66
|
email: string;
|
|
67
|
+
countryId: string;
|
|
68
|
+
birthdate: Date;
|
|
68
69
|
}>;
|
|
69
70
|
patient: import("zod").ZodObject<{
|
|
70
71
|
firstName: import("zod").ZodString;
|
|
71
72
|
lastName: import("zod").ZodString;
|
|
72
|
-
identificationType: import("zod").
|
|
73
|
+
identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn", "cpf", "rg"]>;
|
|
73
74
|
identificationValue: import("zod").ZodString;
|
|
74
75
|
countryId: import("zod").ZodString;
|
|
75
76
|
birthdate: import("zod").ZodDate;
|
|
76
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
77
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
77
78
|
}, "strip", import("zod").ZodTypeAny, {
|
|
78
79
|
firstName: string;
|
|
79
80
|
lastName: string;
|
|
80
|
-
identificationType:
|
|
81
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
81
82
|
identificationValue: string;
|
|
83
|
+
gender: "m" | "f";
|
|
82
84
|
countryId: string;
|
|
83
85
|
birthdate: Date;
|
|
84
|
-
gender: "m" | "f" | "o";
|
|
85
86
|
}, {
|
|
86
87
|
firstName: string;
|
|
87
88
|
lastName: string;
|
|
88
|
-
identificationType:
|
|
89
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
89
90
|
identificationValue: string;
|
|
91
|
+
gender: "m" | "f";
|
|
90
92
|
countryId: string;
|
|
91
93
|
birthdate: Date;
|
|
92
|
-
gender: "m" | "f" | "o";
|
|
93
94
|
}>;
|
|
94
95
|
specialtyMode: import("zod").ZodEnum<["appointment", "chat", "instant"]>;
|
|
95
96
|
specialty: import("zod").ZodObject<{
|
|
@@ -105,14 +106,11 @@ export declare const doc24Schemas: {
|
|
|
105
106
|
scheduleAvailabilityFilter: import("zod").ZodObject<{
|
|
106
107
|
specialtyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
107
108
|
professionalId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
108
|
-
language: import("zod").ZodOptional<import("zod").ZodString>;
|
|
109
109
|
}, "strip", import("zod").ZodTypeAny, {
|
|
110
110
|
specialtyId?: number | undefined;
|
|
111
|
-
language?: string | undefined;
|
|
112
111
|
professionalId?: number | undefined;
|
|
113
112
|
}, {
|
|
114
113
|
specialtyId?: number | undefined;
|
|
115
|
-
language?: string | undefined;
|
|
116
114
|
professionalId?: number | undefined;
|
|
117
115
|
}>;
|
|
118
116
|
availableAppointment: import("zod").ZodObject<{
|
|
@@ -158,12 +156,12 @@ export declare const doc24Schemas: {
|
|
|
158
156
|
fullName: string;
|
|
159
157
|
logoUrl: string;
|
|
160
158
|
};
|
|
159
|
+
clinicId: number;
|
|
160
|
+
cost: string;
|
|
161
161
|
specialty: {
|
|
162
162
|
id: number;
|
|
163
163
|
description: string;
|
|
164
164
|
};
|
|
165
|
-
clinicId: number;
|
|
166
|
-
cost: string;
|
|
167
165
|
atentions: number;
|
|
168
166
|
}, {
|
|
169
167
|
length?: number | null | undefined;
|
|
@@ -176,12 +174,12 @@ export declare const doc24Schemas: {
|
|
|
176
174
|
fullName: string;
|
|
177
175
|
logoUrl: string;
|
|
178
176
|
};
|
|
177
|
+
clinicId: number;
|
|
178
|
+
cost: string;
|
|
179
179
|
specialty: {
|
|
180
180
|
id: number;
|
|
181
181
|
description: string;
|
|
182
182
|
};
|
|
183
|
-
clinicId: number;
|
|
184
|
-
cost: string;
|
|
185
183
|
atentions: number;
|
|
186
184
|
}>;
|
|
187
185
|
availableScheduleClinics: import("zod").ZodObject<{
|
|
@@ -281,10 +279,8 @@ export declare const doc24Schemas: {
|
|
|
281
279
|
date: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
282
280
|
startHour: import("zod").ZodOptional<import("zod").ZodString>;
|
|
283
281
|
finishHour: import("zod").ZodOptional<import("zod").ZodString>;
|
|
284
|
-
language: import("zod").ZodOptional<import("zod").ZodString>;
|
|
285
282
|
}, "strip", import("zod").ZodTypeAny, {
|
|
286
283
|
date?: Date | undefined;
|
|
287
|
-
language?: string | undefined;
|
|
288
284
|
professionalId?: number | undefined;
|
|
289
285
|
offset?: number | undefined;
|
|
290
286
|
limit?: number | undefined;
|
|
@@ -293,7 +289,6 @@ export declare const doc24Schemas: {
|
|
|
293
289
|
finishHour?: string | undefined;
|
|
294
290
|
}, {
|
|
295
291
|
date?: Date | undefined;
|
|
296
|
-
language?: string | undefined;
|
|
297
292
|
professionalId?: number | undefined;
|
|
298
293
|
offset?: number | undefined;
|
|
299
294
|
limit?: number | undefined;
|
|
@@ -358,13 +353,13 @@ export declare const doc24Schemas: {
|
|
|
358
353
|
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
359
354
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
360
355
|
}, "strip", import("zod").ZodTypeAny, {
|
|
356
|
+
id: number;
|
|
361
357
|
phone: string | null;
|
|
362
358
|
email: string | null;
|
|
363
|
-
id: number;
|
|
364
359
|
}, {
|
|
360
|
+
id: number;
|
|
365
361
|
phone: string | null;
|
|
366
362
|
email: string | null;
|
|
367
|
-
id: number;
|
|
368
363
|
}>;
|
|
369
364
|
vcToken: import("zod").ZodString;
|
|
370
365
|
appointment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -404,76 +399,12 @@ export declare const doc24Schemas: {
|
|
|
404
399
|
patientId: number;
|
|
405
400
|
creationDate: Date;
|
|
406
401
|
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
402
|
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
403
|
phone: string | null;
|
|
428
404
|
email: string | null;
|
|
429
|
-
id: number;
|
|
430
405
|
};
|
|
431
406
|
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
407
|
}, {
|
|
474
|
-
specialty: import("zod").ZodString;
|
|
475
|
-
professional: import("zod").ZodString;
|
|
476
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
|
477
408
|
appointment?: {
|
|
478
409
|
date: Date;
|
|
479
410
|
id: number;
|
|
@@ -486,37 +417,13 @@ export declare const doc24Schemas: {
|
|
|
486
417
|
atentionId?: number | undefined;
|
|
487
418
|
id: number | null;
|
|
488
419
|
patientId: number;
|
|
489
|
-
professional: string;
|
|
490
420
|
creationDate: Date;
|
|
491
421
|
user: {
|
|
492
|
-
phone: string | null;
|
|
493
|
-
email: string | null;
|
|
494
422
|
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
423
|
phone: string | null;
|
|
515
424
|
email: string | null;
|
|
516
|
-
id: number;
|
|
517
425
|
};
|
|
518
426
|
vcToken: string;
|
|
519
|
-
specialty: string;
|
|
520
427
|
}>;
|
|
521
428
|
videoVisitDetails: import("zod").ZodObject<{
|
|
522
429
|
id: import("zod").ZodNumber;
|
|
@@ -727,7 +634,7 @@ export declare const doc24Schemas: {
|
|
|
727
634
|
firstName: import("zod").ZodString;
|
|
728
635
|
lastName: import("zod").ZodString;
|
|
729
636
|
birthdate: import("zod").ZodDate;
|
|
730
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
637
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
731
638
|
email: import("zod").ZodString;
|
|
732
639
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
733
640
|
logoUrl: import("zod").ZodString;
|
|
@@ -764,14 +671,14 @@ export declare const doc24Schemas: {
|
|
|
764
671
|
brief: string;
|
|
765
672
|
}>;
|
|
766
673
|
}, "strip", import("zod").ZodTypeAny, {
|
|
674
|
+
id: number;
|
|
675
|
+
logoUrl: string;
|
|
767
676
|
firstName: string;
|
|
768
677
|
lastName: string;
|
|
769
|
-
|
|
770
|
-
gender: "m" | "f" | "o";
|
|
678
|
+
gender: "m" | "f";
|
|
771
679
|
phone: string | null;
|
|
772
680
|
email: string;
|
|
773
|
-
|
|
774
|
-
logoUrl: string;
|
|
681
|
+
birthdate: Date;
|
|
775
682
|
specialties: {
|
|
776
683
|
id: number;
|
|
777
684
|
description: string;
|
|
@@ -787,14 +694,14 @@ export declare const doc24Schemas: {
|
|
|
787
694
|
brief: string;
|
|
788
695
|
};
|
|
789
696
|
}, {
|
|
697
|
+
id: number;
|
|
698
|
+
logoUrl: string;
|
|
790
699
|
firstName: string;
|
|
791
700
|
lastName: string;
|
|
792
|
-
|
|
793
|
-
gender: "m" | "f" | "o";
|
|
701
|
+
gender: "m" | "f";
|
|
794
702
|
phone: string | null;
|
|
795
703
|
email: string;
|
|
796
|
-
|
|
797
|
-
logoUrl: string;
|
|
704
|
+
birthdate: Date;
|
|
798
705
|
specialties: {
|
|
799
706
|
id: number;
|
|
800
707
|
description: string;
|
|
@@ -908,13 +815,13 @@ export declare const doc24Schemas: {
|
|
|
908
815
|
firstName: import("zod").ZodString;
|
|
909
816
|
lastName: import("zod").ZodString;
|
|
910
817
|
}, "strip", import("zod").ZodTypeAny, {
|
|
818
|
+
id: number;
|
|
911
819
|
firstName: string;
|
|
912
820
|
lastName: string;
|
|
913
|
-
id: number;
|
|
914
821
|
}, {
|
|
822
|
+
id: number;
|
|
915
823
|
firstName: string;
|
|
916
824
|
lastName: string;
|
|
917
|
-
id: number;
|
|
918
825
|
}>;
|
|
919
826
|
patientLastPost: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
920
827
|
professional: import("zod").ZodObject<{
|
|
@@ -946,9 +853,9 @@ export declare const doc24Schemas: {
|
|
|
946
853
|
}, "strip", import("zod").ZodTypeAny, {
|
|
947
854
|
id: number;
|
|
948
855
|
patient: {
|
|
856
|
+
id: number;
|
|
949
857
|
firstName: string;
|
|
950
858
|
lastName: string;
|
|
951
|
-
id: number;
|
|
952
859
|
};
|
|
953
860
|
professional: {
|
|
954
861
|
id: number;
|
|
@@ -956,11 +863,11 @@ export declare const doc24Schemas: {
|
|
|
956
863
|
logoUrl: string;
|
|
957
864
|
};
|
|
958
865
|
status: string;
|
|
959
|
-
paymentStatus: string;
|
|
960
866
|
specialty: {
|
|
961
867
|
id: number;
|
|
962
868
|
description: string;
|
|
963
869
|
};
|
|
870
|
+
paymentStatus: string;
|
|
964
871
|
chatRoomId: number;
|
|
965
872
|
startDate: Date;
|
|
966
873
|
lastEventDate: Date;
|
|
@@ -970,9 +877,9 @@ export declare const doc24Schemas: {
|
|
|
970
877
|
}, {
|
|
971
878
|
id: number;
|
|
972
879
|
patient: {
|
|
880
|
+
id: number;
|
|
973
881
|
firstName: string;
|
|
974
882
|
lastName: string;
|
|
975
|
-
id: number;
|
|
976
883
|
};
|
|
977
884
|
professional: {
|
|
978
885
|
id: number;
|
|
@@ -980,11 +887,11 @@ export declare const doc24Schemas: {
|
|
|
980
887
|
logoUrl: string;
|
|
981
888
|
};
|
|
982
889
|
status: string;
|
|
983
|
-
paymentStatus: string;
|
|
984
890
|
specialty: {
|
|
985
891
|
id: number;
|
|
986
892
|
description: string;
|
|
987
893
|
};
|
|
894
|
+
paymentStatus: string;
|
|
988
895
|
chatRoomId: number;
|
|
989
896
|
startDate: Date;
|
|
990
897
|
lastEventDate: Date;
|
|
@@ -1011,7 +918,7 @@ export declare const doc24Schemas: {
|
|
|
1011
918
|
enrollmentParams: import("zod").ZodObject<{
|
|
1012
919
|
firstName: import("zod").ZodString;
|
|
1013
920
|
lastName: import("zod").ZodString;
|
|
1014
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
921
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1015
922
|
identificationNumber: import("zod").ZodString;
|
|
1016
923
|
birthdate: import("zod").ZodDate;
|
|
1017
924
|
email: import("zod").ZodString;
|
|
@@ -1020,34 +927,34 @@ export declare const doc24Schemas: {
|
|
|
1020
927
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1021
928
|
firstName: string;
|
|
1022
929
|
lastName: string;
|
|
1023
|
-
|
|
1024
|
-
gender: "m" | "f" | "o";
|
|
930
|
+
gender: "m" | "f";
|
|
1025
931
|
email: string;
|
|
1026
|
-
|
|
932
|
+
birthdate: Date;
|
|
1027
933
|
startDate: Date;
|
|
934
|
+
identificationNumber: string;
|
|
1028
935
|
plan: string;
|
|
1029
936
|
}, {
|
|
1030
937
|
firstName: string;
|
|
1031
938
|
lastName: string;
|
|
1032
|
-
|
|
1033
|
-
gender: "m" | "f" | "o";
|
|
939
|
+
gender: "m" | "f";
|
|
1034
940
|
email: string;
|
|
1035
|
-
|
|
941
|
+
birthdate: Date;
|
|
1036
942
|
startDate: Date;
|
|
943
|
+
identificationNumber: string;
|
|
1037
944
|
plan: string;
|
|
1038
945
|
}>;
|
|
1039
946
|
diagnosticaPatientFilter: import("zod").ZodObject<{
|
|
1040
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
1041
|
-
identificationType: import("zod").
|
|
947
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
948
|
+
identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn", "cpf", "rg"]>;
|
|
1042
949
|
identificationValue: import("zod").ZodString;
|
|
1043
950
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1044
|
-
identificationType: "
|
|
951
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
1045
952
|
identificationValue: string;
|
|
1046
|
-
gender: "m" | "f"
|
|
953
|
+
gender: "m" | "f";
|
|
1047
954
|
}, {
|
|
1048
|
-
identificationType: "
|
|
955
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
1049
956
|
identificationValue: string;
|
|
1050
|
-
gender: "m" | "f"
|
|
957
|
+
gender: "m" | "f";
|
|
1051
958
|
}>;
|
|
1052
959
|
diagnosticaHistoryAppointment: import("zod").ZodObject<{
|
|
1053
960
|
date: import("zod").ZodDate;
|
|
@@ -1069,55 +976,55 @@ export declare const doc24Schemas: {
|
|
|
1069
976
|
firstName: import("zod").ZodString;
|
|
1070
977
|
lastName: import("zod").ZodString;
|
|
1071
978
|
birthday: import("zod").ZodDate;
|
|
1072
|
-
identificationType: import("zod").ZodLiteral<"
|
|
979
|
+
identificationType: import("zod").ZodLiteral<"dni">;
|
|
1073
980
|
identificationValue: import("zod").ZodString;
|
|
1074
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
981
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1075
982
|
}, {
|
|
1076
983
|
phone: import("zod").ZodString;
|
|
1077
984
|
email: import("zod").ZodString;
|
|
1078
985
|
language: import("zod").ZodString;
|
|
1079
986
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
987
|
+
language: string;
|
|
1080
988
|
firstName: string;
|
|
1081
989
|
lastName: string;
|
|
1082
|
-
|
|
990
|
+
birthday: Date;
|
|
991
|
+
identificationType: "dni";
|
|
1083
992
|
identificationValue: string;
|
|
1084
|
-
gender: "m" | "f"
|
|
993
|
+
gender: "m" | "f";
|
|
1085
994
|
phone: string;
|
|
1086
995
|
email: string;
|
|
1087
|
-
language: string;
|
|
1088
|
-
birthday: Date;
|
|
1089
996
|
}, {
|
|
997
|
+
language: string;
|
|
1090
998
|
firstName: string;
|
|
1091
999
|
lastName: string;
|
|
1092
|
-
|
|
1000
|
+
birthday: Date;
|
|
1001
|
+
identificationType: "dni";
|
|
1093
1002
|
identificationValue: string;
|
|
1094
|
-
gender: "m" | "f"
|
|
1003
|
+
gender: "m" | "f";
|
|
1095
1004
|
phone: string;
|
|
1096
1005
|
email: string;
|
|
1097
|
-
language: string;
|
|
1098
|
-
birthday: Date;
|
|
1099
1006
|
}>;
|
|
1100
1007
|
diagnosticaPatient: import("zod").ZodObject<{
|
|
1101
1008
|
firstName: import("zod").ZodString;
|
|
1102
1009
|
lastName: import("zod").ZodString;
|
|
1103
1010
|
birthday: import("zod").ZodDate;
|
|
1104
|
-
identificationType: import("zod").ZodLiteral<"
|
|
1011
|
+
identificationType: import("zod").ZodLiteral<"dni">;
|
|
1105
1012
|
identificationValue: import("zod").ZodString;
|
|
1106
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
1013
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1107
1014
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1108
1015
|
firstName: string;
|
|
1109
1016
|
lastName: string;
|
|
1110
|
-
identificationType: "DNI";
|
|
1111
|
-
identificationValue: string;
|
|
1112
|
-
gender: "m" | "f" | "o";
|
|
1113
1017
|
birthday: Date;
|
|
1018
|
+
identificationType: "dni";
|
|
1019
|
+
identificationValue: string;
|
|
1020
|
+
gender: "m" | "f";
|
|
1114
1021
|
}, {
|
|
1115
1022
|
firstName: string;
|
|
1116
1023
|
lastName: string;
|
|
1117
|
-
identificationType: "DNI";
|
|
1118
|
-
identificationValue: string;
|
|
1119
|
-
gender: "m" | "f" | "o";
|
|
1120
1024
|
birthday: Date;
|
|
1025
|
+
identificationType: "dni";
|
|
1026
|
+
identificationValue: string;
|
|
1027
|
+
gender: "m" | "f";
|
|
1121
1028
|
}>;
|
|
1122
1029
|
diagnosticaDeepLinkResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1123
1030
|
forwardingRequired: import("zod").ZodLiteral<true>;
|
|
@@ -1145,7 +1052,7 @@ export declare const doc24Schemas: {
|
|
|
1145
1052
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1146
1053
|
birthdate: import("zod").ZodDate;
|
|
1147
1054
|
financerPlanId: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1148
|
-
gender: import("zod").ZodEnum<["m", "f"
|
|
1055
|
+
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1149
1056
|
brand: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1150
1057
|
holderIdentificationNumber: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1151
1058
|
copaymentValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -1161,9 +1068,9 @@ export declare const doc24Schemas: {
|
|
|
1161
1068
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1162
1069
|
firstName: string | null;
|
|
1163
1070
|
lastName: string | null;
|
|
1164
|
-
|
|
1165
|
-
gender: "m" | "f" | "o";
|
|
1071
|
+
gender: "m" | "f";
|
|
1166
1072
|
email: string | null;
|
|
1073
|
+
birthdate: Date;
|
|
1167
1074
|
identificationNumber: string;
|
|
1168
1075
|
plan: string | null;
|
|
1169
1076
|
financerId: number | null;
|
|
@@ -1184,9 +1091,9 @@ export declare const doc24Schemas: {
|
|
|
1184
1091
|
}, {
|
|
1185
1092
|
firstName: string | null;
|
|
1186
1093
|
lastName: string | null;
|
|
1187
|
-
|
|
1188
|
-
gender: "m" | "f" | "o";
|
|
1094
|
+
gender: "m" | "f";
|
|
1189
1095
|
email: string | null;
|
|
1096
|
+
birthdate: Date;
|
|
1190
1097
|
identificationNumber: string;
|
|
1191
1098
|
plan: string | null;
|
|
1192
1099
|
financerId: number | null;
|
|
@@ -1205,606 +1112,14 @@ export declare const doc24Schemas: {
|
|
|
1205
1112
|
authorizationCode: string | null;
|
|
1206
1113
|
authorizationCodeExpiration: Date | null;
|
|
1207
1114
|
}>>;
|
|
1208
|
-
|
|
1209
|
-
identificationType: import("zod").
|
|
1115
|
+
oldIdentificaiton: import("zod").ZodObject<{
|
|
1116
|
+
identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn", "cpf", "rg"]>;
|
|
1210
1117
|
identificationValue: import("zod").ZodString;
|
|
1211
|
-
channel: import("zod").ZodEnum<["1", "2"]>;
|
|
1212
1118
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1213
|
-
identificationType:
|
|
1119
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
1214
1120
|
identificationValue: string;
|
|
1215
|
-
channel: "1" | "2";
|
|
1216
1121
|
}, {
|
|
1217
|
-
identificationType:
|
|
1122
|
+
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
1218
1123
|
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", "o"]>;
|
|
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" | "o";
|
|
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" | "o";
|
|
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" | "o";
|
|
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" | "o";
|
|
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", "o"]>;
|
|
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" | "o";
|
|
1342
|
-
}, {
|
|
1343
|
-
firstName: string;
|
|
1344
|
-
lastName: string;
|
|
1345
|
-
identificationType: number;
|
|
1346
|
-
identificationValue: string;
|
|
1347
|
-
countryId: string;
|
|
1348
|
-
birthdate: Date;
|
|
1349
|
-
gender: "m" | "f" | "o";
|
|
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" | "o";
|
|
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" | "o";
|
|
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", "o"]>;
|
|
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" | "o";
|
|
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" | "o";
|
|
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", "o"]>;
|
|
1691
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1692
|
-
identificationType: "DNI";
|
|
1693
|
-
identificationValue: string;
|
|
1694
|
-
birthdate: Date;
|
|
1695
|
-
gender: "m" | "f" | "o";
|
|
1696
|
-
}, {
|
|
1697
|
-
identificationType: "DNI";
|
|
1698
|
-
identificationValue: string;
|
|
1699
|
-
birthdate: Date;
|
|
1700
|
-
gender: "m" | "f" | "o";
|
|
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
1124
|
}>;
|
|
1810
1125
|
};
|