@integraciones_doc24/sdk 1.15.6 → 1.15.8
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 +22 -19
- package/lib/baseSdk/external.d.ts +2 -2
- package/lib/baseSdk/index.js +3 -0
- package/lib/baseSdk/user.d.ts +60 -10
- package/lib/baseSdk/user.js +74 -26
- package/lib/index.d.ts +242 -37
- package/lib/schemas.d.ts +770 -85
- package/lib/schemas.js +152 -41
- package/lib/types.d.ts +39 -8
- package/lib/userSdk/chat.d.ts +2 -2
- package/lib/userSdk/external.d.ts +1 -1
- package/lib/userSdk/external.js +2 -1
- package/lib/userSdk/index.js +3 -0
- package/lib/userSdk/patients.d.ts +30 -16
- package/lib/userSdk/patients.js +35 -14
- package/lib/userSdk/schedule.d.ts +8 -3
- package/lib/userSdk/schedule.js +25 -16
- package/lib/userSdk/videoVisit.d.ts +4 -2
- package/lib/userSdk/videoVisit.js +11 -4
- package/lib/utils.d.ts +2 -4
- package/lib/utils.js +11 -22
- package/lib/webhook/index.js +1 -0
- package/package.json +1 -1
package/lib/schemas.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const doc24Schemas: {
|
|
2
|
-
identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn", "cpf", "rg"]>;
|
|
3
2
|
sdkCredentials: import("zod").ZodObject<{
|
|
4
3
|
iss: import("zod").ZodString;
|
|
5
4
|
key: import("zod").ZodString;
|
|
@@ -38,57 +37,57 @@ export declare const doc24Schemas: {
|
|
|
38
37
|
user: import("zod").ZodObject<import("zod").extendShape<{
|
|
39
38
|
firstName: import("zod").ZodString;
|
|
40
39
|
lastName: import("zod").ZodString;
|
|
41
|
-
identificationType: import("zod").
|
|
42
|
-
identificationValue: import("zod").ZodString
|
|
40
|
+
identificationType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
41
|
+
identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
42
|
countryId: import("zod").ZodString;
|
|
44
43
|
birthdate: import("zod").ZodDate;
|
|
45
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
44
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
46
45
|
}, {
|
|
47
|
-
phone: import("zod").ZodString
|
|
46
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
47
|
email: import("zod").ZodString;
|
|
49
48
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
49
|
+
identificationType?: number | undefined;
|
|
50
|
+
identificationValue?: string | undefined;
|
|
51
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
52
|
+
phone?: string | undefined;
|
|
50
53
|
firstName: string;
|
|
51
54
|
lastName: string;
|
|
52
|
-
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
53
|
-
identificationValue: string;
|
|
54
|
-
gender: "m" | "f";
|
|
55
|
-
phone: string;
|
|
56
|
-
email: string;
|
|
57
55
|
countryId: string;
|
|
58
56
|
birthdate: Date;
|
|
57
|
+
email: string;
|
|
59
58
|
}, {
|
|
59
|
+
identificationType?: number | undefined;
|
|
60
|
+
identificationValue?: string | undefined;
|
|
61
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
62
|
+
phone?: string | undefined;
|
|
60
63
|
firstName: string;
|
|
61
64
|
lastName: string;
|
|
62
|
-
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
63
|
-
identificationValue: string;
|
|
64
|
-
gender: "m" | "f";
|
|
65
|
-
phone: string;
|
|
66
|
-
email: string;
|
|
67
65
|
countryId: string;
|
|
68
66
|
birthdate: Date;
|
|
67
|
+
email: string;
|
|
69
68
|
}>;
|
|
70
69
|
patient: import("zod").ZodObject<{
|
|
71
70
|
firstName: import("zod").ZodString;
|
|
72
71
|
lastName: import("zod").ZodString;
|
|
73
|
-
identificationType: import("zod").
|
|
74
|
-
identificationValue: import("zod").ZodString
|
|
72
|
+
identificationType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
73
|
+
identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
74
|
countryId: import("zod").ZodString;
|
|
76
75
|
birthdate: import("zod").ZodDate;
|
|
77
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
76
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
78
77
|
}, "strip", import("zod").ZodTypeAny, {
|
|
78
|
+
identificationType?: number | undefined;
|
|
79
|
+
identificationValue?: string | undefined;
|
|
80
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
79
81
|
firstName: string;
|
|
80
82
|
lastName: string;
|
|
81
|
-
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
82
|
-
identificationValue: string;
|
|
83
|
-
gender: "m" | "f";
|
|
84
83
|
countryId: string;
|
|
85
84
|
birthdate: Date;
|
|
86
85
|
}, {
|
|
86
|
+
identificationType?: number | undefined;
|
|
87
|
+
identificationValue?: string | undefined;
|
|
88
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
87
89
|
firstName: string;
|
|
88
90
|
lastName: string;
|
|
89
|
-
identificationType: "dni" | "ndi" | "passport" | "credential" | "nn" | "cpf" | "rg";
|
|
90
|
-
identificationValue: string;
|
|
91
|
-
gender: "m" | "f";
|
|
92
91
|
countryId: string;
|
|
93
92
|
birthdate: Date;
|
|
94
93
|
}>;
|
|
@@ -106,11 +105,14 @@ export declare const doc24Schemas: {
|
|
|
106
105
|
scheduleAvailabilityFilter: import("zod").ZodObject<{
|
|
107
106
|
specialtyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
108
107
|
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;
|
|
111
112
|
professionalId?: number | undefined;
|
|
112
113
|
}, {
|
|
113
114
|
specialtyId?: number | undefined;
|
|
115
|
+
language?: string | undefined;
|
|
114
116
|
professionalId?: number | undefined;
|
|
115
117
|
}>;
|
|
116
118
|
availableAppointment: import("zod").ZodObject<{
|
|
@@ -156,12 +158,12 @@ export declare const doc24Schemas: {
|
|
|
156
158
|
fullName: string;
|
|
157
159
|
logoUrl: string;
|
|
158
160
|
};
|
|
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;
|
|
165
167
|
atentions: number;
|
|
166
168
|
}, {
|
|
167
169
|
length?: number | null | undefined;
|
|
@@ -174,12 +176,12 @@ export declare const doc24Schemas: {
|
|
|
174
176
|
fullName: string;
|
|
175
177
|
logoUrl: string;
|
|
176
178
|
};
|
|
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;
|
|
183
185
|
atentions: number;
|
|
184
186
|
}>;
|
|
185
187
|
availableScheduleClinics: import("zod").ZodObject<{
|
|
@@ -279,8 +281,10 @@ export declare const doc24Schemas: {
|
|
|
279
281
|
date: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
280
282
|
startHour: import("zod").ZodOptional<import("zod").ZodString>;
|
|
281
283
|
finishHour: import("zod").ZodOptional<import("zod").ZodString>;
|
|
284
|
+
language: import("zod").ZodOptional<import("zod").ZodString>;
|
|
282
285
|
}, "strip", import("zod").ZodTypeAny, {
|
|
283
286
|
date?: Date | undefined;
|
|
287
|
+
language?: string | undefined;
|
|
284
288
|
professionalId?: number | undefined;
|
|
285
289
|
offset?: number | undefined;
|
|
286
290
|
limit?: number | undefined;
|
|
@@ -289,6 +293,7 @@ export declare const doc24Schemas: {
|
|
|
289
293
|
finishHour?: string | undefined;
|
|
290
294
|
}, {
|
|
291
295
|
date?: Date | undefined;
|
|
296
|
+
language?: string | undefined;
|
|
292
297
|
professionalId?: number | undefined;
|
|
293
298
|
offset?: number | undefined;
|
|
294
299
|
limit?: number | undefined;
|
|
@@ -353,13 +358,13 @@ export declare const doc24Schemas: {
|
|
|
353
358
|
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
354
359
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
355
360
|
}, "strip", import("zod").ZodTypeAny, {
|
|
356
|
-
id: number;
|
|
357
361
|
phone: string | null;
|
|
358
362
|
email: string | null;
|
|
359
|
-
}, {
|
|
360
363
|
id: number;
|
|
364
|
+
}, {
|
|
361
365
|
phone: string | null;
|
|
362
366
|
email: string | null;
|
|
367
|
+
id: number;
|
|
363
368
|
}>;
|
|
364
369
|
vcToken: import("zod").ZodString;
|
|
365
370
|
appointment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -399,12 +404,76 @@ export declare const doc24Schemas: {
|
|
|
399
404
|
patientId: number;
|
|
400
405
|
creationDate: Date;
|
|
401
406
|
user: {
|
|
407
|
+
phone: string | null;
|
|
408
|
+
email: string | null;
|
|
402
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: {
|
|
403
427
|
phone: string | null;
|
|
404
428
|
email: string | null;
|
|
429
|
+
id: number;
|
|
405
430
|
};
|
|
406
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>;
|
|
407
473
|
}, {
|
|
474
|
+
specialty: import("zod").ZodString;
|
|
475
|
+
professional: import("zod").ZodString;
|
|
476
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
408
477
|
appointment?: {
|
|
409
478
|
date: Date;
|
|
410
479
|
id: number;
|
|
@@ -417,13 +486,37 @@ export declare const doc24Schemas: {
|
|
|
417
486
|
atentionId?: number | undefined;
|
|
418
487
|
id: number | null;
|
|
419
488
|
patientId: number;
|
|
489
|
+
professional: string;
|
|
420
490
|
creationDate: Date;
|
|
421
491
|
user: {
|
|
492
|
+
phone: string | null;
|
|
493
|
+
email: string | null;
|
|
422
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: {
|
|
423
514
|
phone: string | null;
|
|
424
515
|
email: string | null;
|
|
516
|
+
id: number;
|
|
425
517
|
};
|
|
426
518
|
vcToken: string;
|
|
519
|
+
specialty: string;
|
|
427
520
|
}>;
|
|
428
521
|
videoVisitDetails: import("zod").ZodObject<{
|
|
429
522
|
id: import("zod").ZodNumber;
|
|
@@ -634,7 +727,7 @@ export declare const doc24Schemas: {
|
|
|
634
727
|
firstName: import("zod").ZodString;
|
|
635
728
|
lastName: import("zod").ZodString;
|
|
636
729
|
birthdate: import("zod").ZodDate;
|
|
637
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
730
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
638
731
|
email: import("zod").ZodString;
|
|
639
732
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
640
733
|
logoUrl: import("zod").ZodString;
|
|
@@ -671,14 +764,14 @@ export declare const doc24Schemas: {
|
|
|
671
764
|
brief: string;
|
|
672
765
|
}>;
|
|
673
766
|
}, "strip", import("zod").ZodTypeAny, {
|
|
674
|
-
|
|
675
|
-
logoUrl: string;
|
|
767
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
676
768
|
firstName: string;
|
|
677
769
|
lastName: string;
|
|
678
|
-
|
|
770
|
+
birthdate: Date;
|
|
679
771
|
phone: string | null;
|
|
680
772
|
email: string;
|
|
681
|
-
|
|
773
|
+
id: number;
|
|
774
|
+
logoUrl: string;
|
|
682
775
|
specialties: {
|
|
683
776
|
id: number;
|
|
684
777
|
description: string;
|
|
@@ -694,14 +787,14 @@ export declare const doc24Schemas: {
|
|
|
694
787
|
brief: string;
|
|
695
788
|
};
|
|
696
789
|
}, {
|
|
697
|
-
|
|
698
|
-
logoUrl: string;
|
|
790
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
699
791
|
firstName: string;
|
|
700
792
|
lastName: string;
|
|
701
|
-
|
|
793
|
+
birthdate: Date;
|
|
702
794
|
phone: string | null;
|
|
703
795
|
email: string;
|
|
704
|
-
|
|
796
|
+
id: number;
|
|
797
|
+
logoUrl: string;
|
|
705
798
|
specialties: {
|
|
706
799
|
id: number;
|
|
707
800
|
description: string;
|
|
@@ -815,13 +908,13 @@ export declare const doc24Schemas: {
|
|
|
815
908
|
firstName: import("zod").ZodString;
|
|
816
909
|
lastName: import("zod").ZodString;
|
|
817
910
|
}, "strip", import("zod").ZodTypeAny, {
|
|
818
|
-
id: number;
|
|
819
911
|
firstName: string;
|
|
820
912
|
lastName: string;
|
|
821
|
-
}, {
|
|
822
913
|
id: number;
|
|
914
|
+
}, {
|
|
823
915
|
firstName: string;
|
|
824
916
|
lastName: string;
|
|
917
|
+
id: number;
|
|
825
918
|
}>;
|
|
826
919
|
patientLastPost: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
827
920
|
professional: import("zod").ZodObject<{
|
|
@@ -853,9 +946,9 @@ export declare const doc24Schemas: {
|
|
|
853
946
|
}, "strip", import("zod").ZodTypeAny, {
|
|
854
947
|
id: number;
|
|
855
948
|
patient: {
|
|
856
|
-
id: number;
|
|
857
949
|
firstName: string;
|
|
858
950
|
lastName: string;
|
|
951
|
+
id: number;
|
|
859
952
|
};
|
|
860
953
|
professional: {
|
|
861
954
|
id: number;
|
|
@@ -863,11 +956,11 @@ export declare const doc24Schemas: {
|
|
|
863
956
|
logoUrl: string;
|
|
864
957
|
};
|
|
865
958
|
status: string;
|
|
959
|
+
paymentStatus: string;
|
|
866
960
|
specialty: {
|
|
867
961
|
id: number;
|
|
868
962
|
description: string;
|
|
869
963
|
};
|
|
870
|
-
paymentStatus: string;
|
|
871
964
|
chatRoomId: number;
|
|
872
965
|
startDate: Date;
|
|
873
966
|
lastEventDate: Date;
|
|
@@ -877,9 +970,9 @@ export declare const doc24Schemas: {
|
|
|
877
970
|
}, {
|
|
878
971
|
id: number;
|
|
879
972
|
patient: {
|
|
880
|
-
id: number;
|
|
881
973
|
firstName: string;
|
|
882
974
|
lastName: string;
|
|
975
|
+
id: number;
|
|
883
976
|
};
|
|
884
977
|
professional: {
|
|
885
978
|
id: number;
|
|
@@ -887,11 +980,11 @@ export declare const doc24Schemas: {
|
|
|
887
980
|
logoUrl: string;
|
|
888
981
|
};
|
|
889
982
|
status: string;
|
|
983
|
+
paymentStatus: string;
|
|
890
984
|
specialty: {
|
|
891
985
|
id: number;
|
|
892
986
|
description: string;
|
|
893
987
|
};
|
|
894
|
-
paymentStatus: string;
|
|
895
988
|
chatRoomId: number;
|
|
896
989
|
startDate: Date;
|
|
897
990
|
lastEventDate: Date;
|
|
@@ -918,43 +1011,43 @@ export declare const doc24Schemas: {
|
|
|
918
1011
|
enrollmentParams: import("zod").ZodObject<{
|
|
919
1012
|
firstName: import("zod").ZodString;
|
|
920
1013
|
lastName: import("zod").ZodString;
|
|
921
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
1014
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
922
1015
|
identificationNumber: import("zod").ZodString;
|
|
923
1016
|
birthdate: import("zod").ZodDate;
|
|
924
1017
|
email: import("zod").ZodString;
|
|
925
1018
|
plan: import("zod").ZodString;
|
|
926
1019
|
startDate: import("zod").ZodDate;
|
|
927
1020
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1021
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
928
1022
|
firstName: string;
|
|
929
1023
|
lastName: string;
|
|
930
|
-
gender: "m" | "f";
|
|
931
|
-
email: string;
|
|
932
1024
|
birthdate: Date;
|
|
933
|
-
|
|
1025
|
+
email: string;
|
|
934
1026
|
identificationNumber: string;
|
|
1027
|
+
startDate: Date;
|
|
935
1028
|
plan: string;
|
|
936
1029
|
}, {
|
|
1030
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
937
1031
|
firstName: string;
|
|
938
1032
|
lastName: string;
|
|
939
|
-
gender: "m" | "f";
|
|
940
|
-
email: string;
|
|
941
1033
|
birthdate: Date;
|
|
942
|
-
|
|
1034
|
+
email: string;
|
|
943
1035
|
identificationNumber: string;
|
|
1036
|
+
startDate: Date;
|
|
944
1037
|
plan: string;
|
|
945
1038
|
}>;
|
|
946
1039
|
diagnosticaPatientFilter: import("zod").ZodObject<{
|
|
947
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
948
|
-
identificationType: import("zod").
|
|
1040
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
1041
|
+
identificationType: import("zod").ZodLiteral<"DNI">;
|
|
949
1042
|
identificationValue: import("zod").ZodString;
|
|
950
1043
|
}, "strip", import("zod").ZodTypeAny, {
|
|
951
|
-
|
|
1044
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1045
|
+
identificationType: "DNI";
|
|
952
1046
|
identificationValue: string;
|
|
953
|
-
gender: "m" | "f";
|
|
954
1047
|
}, {
|
|
955
|
-
|
|
1048
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1049
|
+
identificationType: "DNI";
|
|
956
1050
|
identificationValue: string;
|
|
957
|
-
gender: "m" | "f";
|
|
958
1051
|
}>;
|
|
959
1052
|
diagnosticaHistoryAppointment: import("zod").ZodObject<{
|
|
960
1053
|
date: import("zod").ZodDate;
|
|
@@ -976,55 +1069,55 @@ export declare const doc24Schemas: {
|
|
|
976
1069
|
firstName: import("zod").ZodString;
|
|
977
1070
|
lastName: import("zod").ZodString;
|
|
978
1071
|
birthday: import("zod").ZodDate;
|
|
979
|
-
identificationType: import("zod").ZodLiteral<"
|
|
1072
|
+
identificationType: import("zod").ZodLiteral<"DNI">;
|
|
980
1073
|
identificationValue: import("zod").ZodString;
|
|
981
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
1074
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
982
1075
|
}, {
|
|
983
1076
|
phone: import("zod").ZodString;
|
|
984
1077
|
email: import("zod").ZodString;
|
|
985
1078
|
language: import("zod").ZodString;
|
|
986
1079
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
987
|
-
|
|
1080
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
988
1081
|
firstName: string;
|
|
989
1082
|
lastName: string;
|
|
990
|
-
|
|
991
|
-
identificationType: "dni";
|
|
1083
|
+
identificationType: "DNI";
|
|
992
1084
|
identificationValue: string;
|
|
993
|
-
gender: "m" | "f";
|
|
994
1085
|
phone: string;
|
|
995
1086
|
email: string;
|
|
996
|
-
}, {
|
|
997
1087
|
language: string;
|
|
1088
|
+
birthday: Date;
|
|
1089
|
+
}, {
|
|
1090
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
998
1091
|
firstName: string;
|
|
999
1092
|
lastName: string;
|
|
1000
|
-
|
|
1001
|
-
identificationType: "dni";
|
|
1093
|
+
identificationType: "DNI";
|
|
1002
1094
|
identificationValue: string;
|
|
1003
|
-
gender: "m" | "f";
|
|
1004
1095
|
phone: string;
|
|
1005
1096
|
email: string;
|
|
1097
|
+
language: string;
|
|
1098
|
+
birthday: Date;
|
|
1006
1099
|
}>;
|
|
1007
1100
|
diagnosticaPatient: import("zod").ZodObject<{
|
|
1008
1101
|
firstName: import("zod").ZodString;
|
|
1009
1102
|
lastName: import("zod").ZodString;
|
|
1010
1103
|
birthday: import("zod").ZodDate;
|
|
1011
|
-
identificationType: import("zod").ZodLiteral<"
|
|
1104
|
+
identificationType: import("zod").ZodLiteral<"DNI">;
|
|
1012
1105
|
identificationValue: import("zod").ZodString;
|
|
1013
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
1106
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
1014
1107
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1108
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1015
1109
|
firstName: string;
|
|
1016
1110
|
lastName: string;
|
|
1017
|
-
|
|
1018
|
-
identificationType: "dni";
|
|
1111
|
+
identificationType: "DNI";
|
|
1019
1112
|
identificationValue: string;
|
|
1020
|
-
|
|
1113
|
+
birthday: Date;
|
|
1021
1114
|
}, {
|
|
1115
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1022
1116
|
firstName: string;
|
|
1023
1117
|
lastName: string;
|
|
1024
|
-
|
|
1025
|
-
identificationType: "dni";
|
|
1118
|
+
identificationType: "DNI";
|
|
1026
1119
|
identificationValue: string;
|
|
1027
|
-
|
|
1120
|
+
birthday: Date;
|
|
1028
1121
|
}>;
|
|
1029
1122
|
diagnosticaDeepLinkResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1030
1123
|
forwardingRequired: import("zod").ZodLiteral<true>;
|
|
@@ -1052,7 +1145,7 @@ export declare const doc24Schemas: {
|
|
|
1052
1145
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1053
1146
|
birthdate: import("zod").ZodDate;
|
|
1054
1147
|
financerPlanId: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1055
|
-
gender: import("zod").ZodEnum<["m", "f"]
|
|
1148
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
1056
1149
|
brand: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1057
1150
|
holderIdentificationNumber: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1058
1151
|
copaymentValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -1066,11 +1159,11 @@ export declare const doc24Schemas: {
|
|
|
1066
1159
|
authorizationCode: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1067
1160
|
authorizationCodeExpiration: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1068
1161
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1162
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1069
1163
|
firstName: string | null;
|
|
1070
1164
|
lastName: string | null;
|
|
1071
|
-
gender: "m" | "f";
|
|
1072
|
-
email: string | null;
|
|
1073
1165
|
birthdate: Date;
|
|
1166
|
+
email: string | null;
|
|
1074
1167
|
identificationNumber: string;
|
|
1075
1168
|
plan: string | null;
|
|
1076
1169
|
financerId: number | null;
|
|
@@ -1089,11 +1182,11 @@ export declare const doc24Schemas: {
|
|
|
1089
1182
|
authorizationCode: string | null;
|
|
1090
1183
|
authorizationCodeExpiration: Date | null;
|
|
1091
1184
|
}, {
|
|
1185
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1092
1186
|
firstName: string | null;
|
|
1093
1187
|
lastName: string | null;
|
|
1094
|
-
gender: "m" | "f";
|
|
1095
|
-
email: string | null;
|
|
1096
1188
|
birthdate: Date;
|
|
1189
|
+
email: string | null;
|
|
1097
1190
|
identificationNumber: string;
|
|
1098
1191
|
plan: string | null;
|
|
1099
1192
|
financerId: number | null;
|
|
@@ -1112,14 +1205,606 @@ export declare const doc24Schemas: {
|
|
|
1112
1205
|
authorizationCode: string | null;
|
|
1113
1206
|
authorizationCodeExpiration: Date | null;
|
|
1114
1207
|
}>>;
|
|
1115
|
-
|
|
1116
|
-
identificationType: import("zod").
|
|
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").ZodOptional<import("zod").ZodNumber>;
|
|
1226
|
+
identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1227
|
+
countryId: import("zod").ZodString;
|
|
1228
|
+
birthdate: import("zod").ZodDate;
|
|
1229
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
1230
|
+
}, {
|
|
1231
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1232
|
+
email: import("zod").ZodString;
|
|
1233
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
1234
|
+
identificationType?: number | undefined;
|
|
1235
|
+
identificationValue?: string | undefined;
|
|
1236
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1237
|
+
phone?: string | undefined;
|
|
1238
|
+
firstName: string;
|
|
1239
|
+
lastName: string;
|
|
1240
|
+
countryId: string;
|
|
1241
|
+
birthdate: Date;
|
|
1242
|
+
email: string;
|
|
1243
|
+
}, {
|
|
1244
|
+
identificationType?: number | undefined;
|
|
1245
|
+
identificationValue?: string | undefined;
|
|
1246
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1247
|
+
phone?: string | undefined;
|
|
1248
|
+
firstName: string;
|
|
1249
|
+
lastName: string;
|
|
1250
|
+
countryId: string;
|
|
1251
|
+
birthdate: Date;
|
|
1252
|
+
email: string;
|
|
1253
|
+
}>;
|
|
1254
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1255
|
+
user: {
|
|
1256
|
+
identificationType?: number | undefined;
|
|
1257
|
+
identificationValue?: string | undefined;
|
|
1258
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1259
|
+
phone?: string | undefined;
|
|
1260
|
+
firstName: string;
|
|
1261
|
+
lastName: string;
|
|
1262
|
+
countryId: string;
|
|
1263
|
+
birthdate: Date;
|
|
1264
|
+
email: string;
|
|
1265
|
+
};
|
|
1266
|
+
}, {
|
|
1267
|
+
user: {
|
|
1268
|
+
identificationType?: number | undefined;
|
|
1269
|
+
identificationValue?: string | undefined;
|
|
1270
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1271
|
+
phone?: string | undefined;
|
|
1272
|
+
firstName: string;
|
|
1273
|
+
lastName: string;
|
|
1274
|
+
countryId: string;
|
|
1275
|
+
birthdate: Date;
|
|
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").ZodOptional<import("zod").ZodNumber>;
|
|
1330
|
+
identificationValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1331
|
+
countryId: import("zod").ZodString;
|
|
1332
|
+
birthdate: import("zod").ZodDate;
|
|
1333
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
1334
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1335
|
+
identificationType?: number | undefined;
|
|
1336
|
+
identificationValue?: string | undefined;
|
|
1337
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1338
|
+
firstName: string;
|
|
1339
|
+
lastName: string;
|
|
1340
|
+
countryId: string;
|
|
1341
|
+
birthdate: Date;
|
|
1342
|
+
}, {
|
|
1343
|
+
identificationType?: number | undefined;
|
|
1344
|
+
identificationValue?: string | undefined;
|
|
1345
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1346
|
+
firstName: string;
|
|
1347
|
+
lastName: string;
|
|
1348
|
+
countryId: string;
|
|
1349
|
+
birthdate: Date;
|
|
1350
|
+
}>;
|
|
1351
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1352
|
+
patient: {
|
|
1353
|
+
identificationType?: number | undefined;
|
|
1354
|
+
identificationValue?: string | undefined;
|
|
1355
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1356
|
+
firstName: string;
|
|
1357
|
+
lastName: string;
|
|
1358
|
+
countryId: string;
|
|
1359
|
+
birthdate: Date;
|
|
1360
|
+
};
|
|
1361
|
+
}, {
|
|
1362
|
+
patient: {
|
|
1363
|
+
identificationType?: number | undefined;
|
|
1364
|
+
identificationValue?: string | undefined;
|
|
1365
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1366
|
+
firstName: string;
|
|
1367
|
+
lastName: string;
|
|
1368
|
+
countryId: string;
|
|
1369
|
+
birthdate: Date;
|
|
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").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
1452
|
+
email: import("zod").ZodString;
|
|
1453
|
+
phone: import("zod").ZodString;
|
|
1454
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1455
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1456
|
+
firstName: string;
|
|
1457
|
+
lastName: string;
|
|
1458
|
+
countryId: string;
|
|
1459
|
+
phone: string;
|
|
1460
|
+
email: string;
|
|
1461
|
+
birthday: Date;
|
|
1462
|
+
identificationNumber: string;
|
|
1463
|
+
}, {
|
|
1464
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1465
|
+
firstName: string;
|
|
1466
|
+
lastName: string;
|
|
1467
|
+
countryId: string;
|
|
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">;
|
|
1117
1689
|
identificationValue: import("zod").ZodString;
|
|
1690
|
+
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
1118
1691
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1119
|
-
|
|
1692
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1693
|
+
identificationType: "DNI";
|
|
1120
1694
|
identificationValue: string;
|
|
1695
|
+
birthdate: Date;
|
|
1121
1696
|
}, {
|
|
1122
|
-
|
|
1697
|
+
gender?: "m" | "f" | "o" | undefined;
|
|
1698
|
+
identificationType: "DNI";
|
|
1123
1699
|
identificationValue: string;
|
|
1700
|
+
birthdate: Date;
|
|
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;
|
|
1124
1809
|
}>;
|
|
1125
1810
|
};
|