@integraciones_doc24/sdk 0.39.1 → 0.39.2

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/schemas.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export declare const doc24Schemas: {
2
- identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn"]>;
3
2
  sdkCredentials: import("zod").ZodObject<{
4
3
  iss: import("zod").ZodString;
5
4
  key: import("zod").ZodString;
@@ -38,7 +37,7 @@ 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").ZodEnum<["dni", "ndi", "passport", "credential", "nn"]>;
40
+ identificationType: import("zod").ZodNumber;
42
41
  identificationValue: import("zod").ZodString;
43
42
  countryId: import("zod").ZodString;
44
43
  birthdate: import("zod").ZodDate;
@@ -49,28 +48,28 @@ export declare const doc24Schemas: {
49
48
  }>, "strip", import("zod").ZodTypeAny, {
50
49
  firstName: string;
51
50
  lastName: string;
52
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
51
+ identificationType: number;
53
52
  identificationValue: string;
53
+ countryId: string;
54
+ birthdate: Date;
54
55
  gender: "m" | "f";
55
56
  phone: string;
56
57
  email: string;
57
- countryId: string;
58
- birthdate: Date;
59
58
  }, {
60
59
  firstName: string;
61
60
  lastName: string;
62
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
61
+ identificationType: number;
63
62
  identificationValue: string;
63
+ countryId: string;
64
+ birthdate: Date;
64
65
  gender: "m" | "f";
65
66
  phone: string;
66
67
  email: string;
67
- countryId: string;
68
- birthdate: Date;
69
68
  }>;
70
69
  patient: import("zod").ZodObject<{
71
70
  firstName: import("zod").ZodString;
72
71
  lastName: import("zod").ZodString;
73
- identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn"]>;
72
+ identificationType: import("zod").ZodNumber;
74
73
  identificationValue: import("zod").ZodString;
75
74
  countryId: import("zod").ZodString;
76
75
  birthdate: import("zod").ZodDate;
@@ -78,19 +77,19 @@ export declare const doc24Schemas: {
78
77
  }, "strip", import("zod").ZodTypeAny, {
79
78
  firstName: string;
80
79
  lastName: string;
81
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
80
+ identificationType: number;
82
81
  identificationValue: string;
83
- gender: "m" | "f";
84
82
  countryId: string;
85
83
  birthdate: Date;
84
+ gender: "m" | "f";
86
85
  }, {
87
86
  firstName: string;
88
87
  lastName: string;
89
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
88
+ identificationType: number;
90
89
  identificationValue: string;
91
- gender: "m" | "f";
92
90
  countryId: string;
93
91
  birthdate: Date;
92
+ gender: "m" | "f";
94
93
  }>;
95
94
  specialtyMode: import("zod").ZodEnum<["appointment", "chat", "instant"]>;
96
95
  specialty: import("zod").ZodObject<{
@@ -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;
494
+ id: number;
495
+ };
496
+ vcToken: string;
497
+ specialty: string;
498
+ }, {
499
+ appointment?: {
500
+ date: Date;
501
+ id: number;
502
+ } | undefined;
503
+ videoVisit?: {
422
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;
@@ -671,14 +764,14 @@ export declare const doc24Schemas: {
671
764
  brief: string;
672
765
  }>;
673
766
  }, "strip", import("zod").ZodTypeAny, {
674
- id: number;
675
- logoUrl: string;
676
767
  firstName: string;
677
768
  lastName: string;
769
+ birthdate: Date;
678
770
  gender: "m" | "f";
679
771
  phone: string | null;
680
772
  email: string;
681
- birthdate: Date;
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
- id: number;
698
- logoUrl: string;
699
790
  firstName: string;
700
791
  lastName: string;
792
+ birthdate: Date;
701
793
  gender: "m" | "f";
702
794
  phone: string | null;
703
795
  email: string;
704
- birthdate: Date;
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;
@@ -927,32 +1020,32 @@ export declare const doc24Schemas: {
927
1020
  }, "strip", import("zod").ZodTypeAny, {
928
1021
  firstName: string;
929
1022
  lastName: string;
1023
+ birthdate: Date;
930
1024
  gender: "m" | "f";
931
1025
  email: string;
932
- birthdate: Date;
933
- startDate: Date;
934
1026
  identificationNumber: string;
1027
+ startDate: Date;
935
1028
  plan: string;
936
1029
  }, {
937
1030
  firstName: string;
938
1031
  lastName: string;
1032
+ birthdate: Date;
939
1033
  gender: "m" | "f";
940
1034
  email: string;
941
- birthdate: Date;
942
- startDate: Date;
943
1035
  identificationNumber: string;
1036
+ startDate: Date;
944
1037
  plan: string;
945
1038
  }>;
946
1039
  diagnosticaPatientFilter: import("zod").ZodObject<{
947
1040
  gender: import("zod").ZodEnum<["m", "f"]>;
948
- identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn"]>;
1041
+ identificationType: import("zod").ZodLiteral<"DNI">;
949
1042
  identificationValue: import("zod").ZodString;
950
1043
  }, "strip", import("zod").ZodTypeAny, {
951
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
1044
+ identificationType: "DNI";
952
1045
  identificationValue: string;
953
1046
  gender: "m" | "f";
954
1047
  }, {
955
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
1048
+ identificationType: "DNI";
956
1049
  identificationValue: string;
957
1050
  gender: "m" | "f";
958
1051
  }>;
@@ -976,7 +1069,7 @@ 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<"dni">;
1072
+ identificationType: import("zod").ZodLiteral<"DNI">;
980
1073
  identificationValue: import("zod").ZodString;
981
1074
  gender: import("zod").ZodEnum<["m", "f"]>;
982
1075
  }, {
@@ -984,47 +1077,47 @@ export declare const doc24Schemas: {
984
1077
  email: import("zod").ZodString;
985
1078
  language: import("zod").ZodString;
986
1079
  }>, "strip", import("zod").ZodTypeAny, {
987
- language: string;
988
1080
  firstName: string;
989
1081
  lastName: string;
990
- birthday: Date;
991
- identificationType: "dni";
1082
+ identificationType: "DNI";
992
1083
  identificationValue: string;
993
1084
  gender: "m" | "f";
994
1085
  phone: string;
995
1086
  email: string;
996
- }, {
997
1087
  language: string;
1088
+ birthday: Date;
1089
+ }, {
998
1090
  firstName: string;
999
1091
  lastName: string;
1000
- birthday: Date;
1001
- identificationType: "dni";
1092
+ identificationType: "DNI";
1002
1093
  identificationValue: string;
1003
1094
  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<"dni">;
1104
+ identificationType: import("zod").ZodLiteral<"DNI">;
1012
1105
  identificationValue: import("zod").ZodString;
1013
1106
  gender: import("zod").ZodEnum<["m", "f"]>;
1014
1107
  }, "strip", import("zod").ZodTypeAny, {
1015
1108
  firstName: string;
1016
1109
  lastName: string;
1017
- birthday: Date;
1018
- identificationType: "dni";
1110
+ identificationType: "DNI";
1019
1111
  identificationValue: string;
1020
1112
  gender: "m" | "f";
1113
+ birthday: Date;
1021
1114
  }, {
1022
1115
  firstName: string;
1023
1116
  lastName: string;
1024
- birthday: Date;
1025
- identificationType: "dni";
1117
+ identificationType: "DNI";
1026
1118
  identificationValue: string;
1027
1119
  gender: "m" | "f";
1120
+ birthday: Date;
1028
1121
  }>;
1029
1122
  diagnosticaDeepLinkResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
1030
1123
  forwardingRequired: import("zod").ZodLiteral<true>;
@@ -1068,9 +1161,9 @@ export declare const doc24Schemas: {
1068
1161
  }, "strip", import("zod").ZodTypeAny, {
1069
1162
  firstName: string | null;
1070
1163
  lastName: string | null;
1164
+ birthdate: Date;
1071
1165
  gender: "m" | "f";
1072
1166
  email: string | null;
1073
- birthdate: Date;
1074
1167
  identificationNumber: string;
1075
1168
  plan: string | null;
1076
1169
  financerId: number | null;
@@ -1091,9 +1184,9 @@ export declare const doc24Schemas: {
1091
1184
  }, {
1092
1185
  firstName: string | null;
1093
1186
  lastName: string | null;
1187
+ birthdate: Date;
1094
1188
  gender: "m" | "f";
1095
1189
  email: string | null;
1096
- birthdate: Date;
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
- oldIdentificaiton: import("zod").ZodObject<{
1116
- identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn"]>;
1208
+ sendVerificationCodeParams: import("zod").ZodObject<{
1209
+ identificationType: import("zod").ZodNumber;
1117
1210
  identificationValue: import("zod").ZodString;
1211
+ channel: import("zod").ZodEnum<["1", "2"]>;
1118
1212
  }, "strip", import("zod").ZodTypeAny, {
1119
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
1213
+ identificationType: number;
1120
1214
  identificationValue: string;
1215
+ channel: "1" | "2";
1121
1216
  }, {
1122
- identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
1217
+ identificationType: number;
1123
1218
  identificationValue: string;
1219
+ channel: "1" | "2";
1220
+ }>;
1221
+ declareUserParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1222
+ user: import("zod").ZodObject<import("zod").extendShape<{
1223
+ firstName: import("zod").ZodString;
1224
+ lastName: import("zod").ZodString;
1225
+ identificationType: import("zod").ZodNumber;
1226
+ identificationValue: import("zod").ZodString;
1227
+ countryId: import("zod").ZodString;
1228
+ birthdate: import("zod").ZodDate;
1229
+ gender: import("zod").ZodEnum<["m", "f"]>;
1230
+ }, {
1231
+ phone: import("zod").ZodString;
1232
+ email: import("zod").ZodString;
1233
+ }>, "strip", import("zod").ZodTypeAny, {
1234
+ firstName: string;
1235
+ lastName: string;
1236
+ identificationType: number;
1237
+ identificationValue: string;
1238
+ countryId: string;
1239
+ birthdate: Date;
1240
+ gender: "m" | "f";
1241
+ phone: string;
1242
+ email: string;
1243
+ }, {
1244
+ firstName: string;
1245
+ lastName: string;
1246
+ identificationType: number;
1247
+ identificationValue: string;
1248
+ countryId: string;
1249
+ birthdate: Date;
1250
+ gender: "m" | "f";
1251
+ phone: string;
1252
+ email: string;
1253
+ }>;
1254
+ }, "strip", import("zod").ZodTypeAny, {
1255
+ user: {
1256
+ firstName: string;
1257
+ lastName: string;
1258
+ identificationType: number;
1259
+ identificationValue: string;
1260
+ countryId: string;
1261
+ birthdate: Date;
1262
+ gender: "m" | "f";
1263
+ phone: string;
1264
+ email: string;
1265
+ };
1266
+ }, {
1267
+ user: {
1268
+ firstName: string;
1269
+ lastName: string;
1270
+ identificationType: number;
1271
+ identificationValue: string;
1272
+ countryId: string;
1273
+ birthdate: Date;
1274
+ gender: "m" | "f";
1275
+ phone: string;
1276
+ email: string;
1277
+ };
1278
+ }>, import("zod").ZodObject<{
1279
+ channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
1280
+ code: import("zod").ZodOptional<import("zod").ZodString>;
1281
+ }, "strip", import("zod").ZodTypeAny, {
1282
+ code?: string | undefined;
1283
+ channel?: "1" | "2" | undefined;
1284
+ }, {
1285
+ code?: string | undefined;
1286
+ channel?: "1" | "2" | undefined;
1287
+ }>>;
1288
+ declareUserResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
1289
+ userInfo: import("zod").ZodObject<{
1290
+ email: import("zod").ZodString;
1291
+ phone: import("zod").ZodString;
1292
+ }, "strip", import("zod").ZodTypeAny, {
1293
+ phone: string;
1294
+ email: string;
1295
+ }, {
1296
+ phone: string;
1297
+ email: string;
1298
+ }>;
1299
+ askCode: import("zod").ZodLiteral<true>;
1300
+ }, "strip", import("zod").ZodTypeAny, {
1301
+ askCode: true;
1302
+ userInfo: {
1303
+ phone: string;
1304
+ email: string;
1305
+ };
1306
+ }, {
1307
+ askCode: true;
1308
+ userInfo: {
1309
+ phone: string;
1310
+ email: string;
1311
+ };
1312
+ }>, import("zod").ZodObject<{
1313
+ askCode: import("zod").ZodLiteral<false>;
1314
+ patientId: import("zod").ZodNullable<import("zod").ZodNumber>;
1315
+ userId: import("zod").ZodNumber;
1316
+ }, "strip", import("zod").ZodTypeAny, {
1317
+ patientId: number | null;
1318
+ askCode: false;
1319
+ userId: number;
1320
+ }, {
1321
+ patientId: number | null;
1322
+ askCode: false;
1323
+ userId: number;
1324
+ }>]>;
1325
+ declarePatientParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1326
+ patient: import("zod").ZodObject<{
1327
+ firstName: import("zod").ZodString;
1328
+ lastName: import("zod").ZodString;
1329
+ identificationType: import("zod").ZodNumber;
1330
+ identificationValue: import("zod").ZodString;
1331
+ countryId: import("zod").ZodString;
1332
+ birthdate: import("zod").ZodDate;
1333
+ gender: import("zod").ZodEnum<["m", "f"]>;
1334
+ }, "strip", import("zod").ZodTypeAny, {
1335
+ firstName: string;
1336
+ lastName: string;
1337
+ identificationType: number;
1338
+ identificationValue: string;
1339
+ countryId: string;
1340
+ birthdate: Date;
1341
+ gender: "m" | "f";
1342
+ }, {
1343
+ firstName: string;
1344
+ lastName: string;
1345
+ identificationType: number;
1346
+ identificationValue: string;
1347
+ countryId: string;
1348
+ birthdate: Date;
1349
+ gender: "m" | "f";
1350
+ }>;
1351
+ }, "strip", import("zod").ZodTypeAny, {
1352
+ patient: {
1353
+ firstName: string;
1354
+ lastName: string;
1355
+ identificationType: number;
1356
+ identificationValue: string;
1357
+ countryId: string;
1358
+ birthdate: Date;
1359
+ gender: "m" | "f";
1360
+ };
1361
+ }, {
1362
+ patient: {
1363
+ firstName: string;
1364
+ lastName: string;
1365
+ identificationType: number;
1366
+ identificationValue: string;
1367
+ countryId: string;
1368
+ birthdate: Date;
1369
+ gender: "m" | "f";
1370
+ };
1371
+ }>, import("zod").ZodObject<{
1372
+ channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
1373
+ code: import("zod").ZodOptional<import("zod").ZodString>;
1374
+ }, "strip", import("zod").ZodTypeAny, {
1375
+ code?: string | undefined;
1376
+ channel?: "1" | "2" | undefined;
1377
+ }, {
1378
+ code?: string | undefined;
1379
+ channel?: "1" | "2" | undefined;
1380
+ }>>;
1381
+ declarePatientResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
1382
+ userInfo: import("zod").ZodObject<{
1383
+ firstName: import("zod").ZodString;
1384
+ lastName: import("zod").ZodString;
1385
+ email: import("zod").ZodString;
1386
+ phone: import("zod").ZodString;
1387
+ }, "strip", import("zod").ZodTypeAny, {
1388
+ firstName: string;
1389
+ lastName: string;
1390
+ phone: string;
1391
+ email: string;
1392
+ }, {
1393
+ firstName: string;
1394
+ lastName: string;
1395
+ phone: string;
1396
+ email: string;
1397
+ }>;
1398
+ askCode: import("zod").ZodLiteral<true>;
1399
+ }, "strip", import("zod").ZodTypeAny, {
1400
+ askCode: true;
1401
+ userInfo: {
1402
+ firstName: string;
1403
+ lastName: string;
1404
+ phone: string;
1405
+ email: string;
1406
+ };
1407
+ }, {
1408
+ askCode: true;
1409
+ userInfo: {
1410
+ firstName: string;
1411
+ lastName: string;
1412
+ phone: string;
1413
+ email: string;
1414
+ };
1415
+ }>, import("zod").ZodObject<{
1416
+ askCode: import("zod").ZodLiteral<false>;
1417
+ patientId: import("zod").ZodNullable<import("zod").ZodNumber>;
1418
+ }, "strip", import("zod").ZodTypeAny, {
1419
+ patientId: number | null;
1420
+ askCode: false;
1421
+ }, {
1422
+ patientId: number | null;
1423
+ askCode: false;
1424
+ }>]>;
1425
+ verificationCodeParams: import("zod").ZodObject<{
1426
+ channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
1427
+ code: import("zod").ZodOptional<import("zod").ZodString>;
1428
+ }, "strip", import("zod").ZodTypeAny, {
1429
+ code?: string | undefined;
1430
+ channel?: "1" | "2" | undefined;
1431
+ }, {
1432
+ code?: string | undefined;
1433
+ channel?: "1" | "2" | undefined;
1434
+ }>;
1435
+ externalLoginParams: import("zod").ZodObject<{
1436
+ user: import("zod").ZodString;
1437
+ password: import("zod").ZodString;
1438
+ }, "strip", import("zod").ZodTypeAny, {
1439
+ user: string;
1440
+ password: string;
1441
+ }, {
1442
+ user: string;
1443
+ password: string;
1444
+ }>;
1445
+ externalLoginResponse: import("zod").ZodObject<{
1446
+ firstName: import("zod").ZodString;
1447
+ lastName: import("zod").ZodString;
1448
+ countryId: import("zod").ZodString;
1449
+ birthday: import("zod").ZodDate;
1450
+ identificationNumber: import("zod").ZodString;
1451
+ gender: import("zod").ZodEnum<["m", "f"]>;
1452
+ email: import("zod").ZodString;
1453
+ phone: import("zod").ZodString;
1454
+ }, "strip", import("zod").ZodTypeAny, {
1455
+ firstName: string;
1456
+ lastName: string;
1457
+ countryId: string;
1458
+ gender: "m" | "f";
1459
+ phone: string;
1460
+ email: string;
1461
+ birthday: Date;
1462
+ identificationNumber: string;
1463
+ }, {
1464
+ firstName: string;
1465
+ lastName: string;
1466
+ countryId: string;
1467
+ gender: "m" | "f";
1468
+ phone: string;
1469
+ email: string;
1470
+ birthday: Date;
1471
+ identificationNumber: string;
1472
+ }>;
1473
+ preExternalEnrollmentParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1474
+ identificationNumber: import("zod").ZodString;
1475
+ birthdate: import("zod").ZodDate;
1476
+ }, "strip", import("zod").ZodTypeAny, {
1477
+ birthdate: Date;
1478
+ identificationNumber: string;
1479
+ }, {
1480
+ birthdate: Date;
1481
+ identificationNumber: string;
1482
+ }>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1483
+ email: import("zod").ZodString;
1484
+ phone: import("zod").ZodString;
1485
+ }, "strip", import("zod").ZodTypeAny, {
1486
+ phone: string;
1487
+ email: string;
1488
+ }, {
1489
+ phone: string;
1490
+ email: string;
1491
+ }>, import("zod").ZodObject<{
1492
+ email: import("zod").ZodString;
1493
+ phone: import("zod").ZodUndefined;
1494
+ }, "strip", import("zod").ZodTypeAny, {
1495
+ phone?: undefined;
1496
+ email: string;
1497
+ }, {
1498
+ phone?: undefined;
1499
+ email: string;
1500
+ }>, import("zod").ZodObject<{
1501
+ email: import("zod").ZodUndefined;
1502
+ phone: import("zod").ZodString;
1503
+ }, "strip", import("zod").ZodTypeAny, {
1504
+ email?: undefined;
1505
+ phone: string;
1506
+ }, {
1507
+ email?: undefined;
1508
+ phone: string;
1509
+ }>]>, {
1510
+ phone: string;
1511
+ email: string;
1512
+ } | {
1513
+ phone?: undefined;
1514
+ email: string;
1515
+ } | {
1516
+ email?: undefined;
1517
+ phone: string;
1518
+ }>>;
1519
+ externalEnrollmentParams: import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
1520
+ identificationNumber: import("zod").ZodString;
1521
+ birthdate: import("zod").ZodDate;
1522
+ }, "strip", import("zod").ZodTypeAny, {
1523
+ birthdate: Date;
1524
+ identificationNumber: string;
1525
+ }, {
1526
+ birthdate: Date;
1527
+ identificationNumber: string;
1528
+ }>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1529
+ email: import("zod").ZodString;
1530
+ phone: import("zod").ZodString;
1531
+ }, "strip", import("zod").ZodTypeAny, {
1532
+ phone: string;
1533
+ email: string;
1534
+ }, {
1535
+ phone: string;
1536
+ email: string;
1537
+ }>, import("zod").ZodObject<{
1538
+ email: import("zod").ZodString;
1539
+ phone: import("zod").ZodUndefined;
1540
+ }, "strip", import("zod").ZodTypeAny, {
1541
+ phone?: undefined;
1542
+ email: string;
1543
+ }, {
1544
+ phone?: undefined;
1545
+ email: string;
1546
+ }>, import("zod").ZodObject<{
1547
+ email: import("zod").ZodUndefined;
1548
+ phone: import("zod").ZodString;
1549
+ }, "strip", import("zod").ZodTypeAny, {
1550
+ email?: undefined;
1551
+ phone: string;
1552
+ }, {
1553
+ email?: undefined;
1554
+ phone: string;
1555
+ }>]>, {
1556
+ phone: string;
1557
+ email: string;
1558
+ } | {
1559
+ phone?: undefined;
1560
+ email: string;
1561
+ } | {
1562
+ email?: undefined;
1563
+ phone: string;
1564
+ }>>, import("zod").ZodObject<{
1565
+ password: import("zod").ZodString;
1566
+ }, "strip", import("zod").ZodTypeAny, {
1567
+ password: string;
1568
+ }, {
1569
+ password: string;
1570
+ }>>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1571
+ emailCode: import("zod").ZodString;
1572
+ phoneCode: import("zod").ZodString;
1573
+ }, "strip", import("zod").ZodTypeAny, {
1574
+ emailCode: string;
1575
+ phoneCode: string;
1576
+ }, {
1577
+ emailCode: string;
1578
+ phoneCode: string;
1579
+ }>, import("zod").ZodObject<{
1580
+ emailCode: import("zod").ZodString;
1581
+ phoneCode: import("zod").ZodUndefined;
1582
+ }, "strip", import("zod").ZodTypeAny, {
1583
+ phoneCode?: undefined;
1584
+ emailCode: string;
1585
+ }, {
1586
+ phoneCode?: undefined;
1587
+ emailCode: string;
1588
+ }>, import("zod").ZodObject<{
1589
+ emailCode: import("zod").ZodUndefined;
1590
+ phoneCode: import("zod").ZodString;
1591
+ }, "strip", import("zod").ZodTypeAny, {
1592
+ emailCode?: undefined;
1593
+ phoneCode: string;
1594
+ }, {
1595
+ emailCode?: undefined;
1596
+ phoneCode: string;
1597
+ }>]>, {
1598
+ emailCode: string;
1599
+ phoneCode: string;
1600
+ } | {
1601
+ phoneCode?: undefined;
1602
+ emailCode: string;
1603
+ } | {
1604
+ emailCode?: undefined;
1605
+ phoneCode: string;
1606
+ }>>;
1607
+ sendExternalVerificationCodeParams: import("zod").ZodObject<{
1608
+ identificationNumber: import("zod").ZodString;
1609
+ birthdate: import("zod").ZodDate;
1610
+ channel: import("zod").ZodEnum<["1", "2"]>;
1611
+ }, "strip", import("zod").ZodTypeAny, {
1612
+ birthdate: Date;
1613
+ channel: "1" | "2";
1614
+ identificationNumber: string;
1615
+ }, {
1616
+ birthdate: Date;
1617
+ channel: "1" | "2";
1618
+ identificationNumber: string;
1619
+ }>;
1620
+ verifyExternalVerificationCodeParams: import("zod").ZodObject<import("zod").extendShape<{
1621
+ identificationNumber: import("zod").ZodString;
1622
+ birthdate: import("zod").ZodDate;
1623
+ channel: import("zod").ZodEnum<["1", "2"]>;
1624
+ }, {
1625
+ code: import("zod").ZodString;
1626
+ }>, "strip", import("zod").ZodTypeAny, {
1627
+ code: string;
1628
+ birthdate: Date;
1629
+ channel: "1" | "2";
1630
+ identificationNumber: string;
1631
+ }, {
1632
+ code: string;
1633
+ birthdate: Date;
1634
+ channel: "1" | "2";
1635
+ identificationNumber: string;
1636
+ }>;
1637
+ externalResetPasswordParams: import("zod").ZodIntersection<import("zod").ZodObject<{
1638
+ identificationNumber: import("zod").ZodString;
1639
+ birthdate: import("zod").ZodDate;
1640
+ password: import("zod").ZodString;
1641
+ }, "strip", import("zod").ZodTypeAny, {
1642
+ birthdate: Date;
1643
+ password: string;
1644
+ identificationNumber: string;
1645
+ }, {
1646
+ birthdate: Date;
1647
+ password: string;
1648
+ identificationNumber: string;
1649
+ }>, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1650
+ emailCode: import("zod").ZodString;
1651
+ phoneCode: import("zod").ZodString;
1652
+ }, "strip", import("zod").ZodTypeAny, {
1653
+ emailCode: string;
1654
+ phoneCode: string;
1655
+ }, {
1656
+ emailCode: string;
1657
+ phoneCode: string;
1658
+ }>, import("zod").ZodObject<{
1659
+ emailCode: import("zod").ZodString;
1660
+ phoneCode: import("zod").ZodUndefined;
1661
+ }, "strip", import("zod").ZodTypeAny, {
1662
+ phoneCode?: undefined;
1663
+ emailCode: string;
1664
+ }, {
1665
+ phoneCode?: undefined;
1666
+ emailCode: string;
1667
+ }>, import("zod").ZodObject<{
1668
+ emailCode: import("zod").ZodUndefined;
1669
+ phoneCode: import("zod").ZodString;
1670
+ }, "strip", import("zod").ZodTypeAny, {
1671
+ emailCode?: undefined;
1672
+ phoneCode: string;
1673
+ }, {
1674
+ emailCode?: undefined;
1675
+ phoneCode: string;
1676
+ }>]>, {
1677
+ emailCode: string;
1678
+ phoneCode: string;
1679
+ } | {
1680
+ phoneCode?: undefined;
1681
+ emailCode: string;
1682
+ } | {
1683
+ emailCode?: undefined;
1684
+ phoneCode: string;
1685
+ }>>;
1686
+ externalPatient: import("zod").ZodObject<{
1687
+ birthdate: import("zod").ZodDate;
1688
+ identificationType: import("zod").ZodLiteral<"DNI">;
1689
+ identificationValue: import("zod").ZodString;
1690
+ gender: import("zod").ZodEnum<["m", "f"]>;
1691
+ }, "strip", import("zod").ZodTypeAny, {
1692
+ identificationType: "DNI";
1693
+ identificationValue: string;
1694
+ birthdate: Date;
1695
+ gender: "m" | "f";
1696
+ }, {
1697
+ identificationType: "DNI";
1698
+ identificationValue: string;
1699
+ birthdate: Date;
1700
+ gender: "m" | "f";
1701
+ }>;
1702
+ externalAppointment: import("zod").ZodObject<{
1703
+ id: import("zod").ZodNumber;
1704
+ patientIdentification: import("zod").ZodOptional<import("zod").ZodString>;
1705
+ patientName: import("zod").ZodString;
1706
+ birthdate: import("zod").ZodDate;
1707
+ appointment: import("zod").ZodString;
1708
+ clinic: import("zod").ZodString;
1709
+ professionalName: import("zod").ZodString;
1710
+ date: import("zod").ZodDate;
1711
+ specialty: import("zod").ZodString;
1712
+ modality: import("zod").ZodString;
1713
+ }, "strip", import("zod").ZodTypeAny, {
1714
+ patientIdentification?: string | undefined;
1715
+ date: Date;
1716
+ birthdate: Date;
1717
+ appointment: string;
1718
+ id: number;
1719
+ specialty: string;
1720
+ patientName: string;
1721
+ clinic: string;
1722
+ professionalName: string;
1723
+ modality: string;
1724
+ }, {
1725
+ patientIdentification?: string | undefined;
1726
+ date: Date;
1727
+ birthdate: Date;
1728
+ appointment: string;
1729
+ id: number;
1730
+ specialty: string;
1731
+ patientName: string;
1732
+ clinic: string;
1733
+ professionalName: string;
1734
+ modality: string;
1735
+ }>;
1736
+ emailOrPhone: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1737
+ email: import("zod").ZodString;
1738
+ phone: import("zod").ZodString;
1739
+ }, "strip", import("zod").ZodTypeAny, {
1740
+ phone: string;
1741
+ email: string;
1742
+ }, {
1743
+ phone: string;
1744
+ email: string;
1745
+ }>, import("zod").ZodObject<{
1746
+ email: import("zod").ZodString;
1747
+ phone: import("zod").ZodUndefined;
1748
+ }, "strip", import("zod").ZodTypeAny, {
1749
+ phone?: undefined;
1750
+ email: string;
1751
+ }, {
1752
+ phone?: undefined;
1753
+ email: string;
1754
+ }>, import("zod").ZodObject<{
1755
+ email: import("zod").ZodUndefined;
1756
+ phone: import("zod").ZodString;
1757
+ }, "strip", import("zod").ZodTypeAny, {
1758
+ email?: undefined;
1759
+ phone: string;
1760
+ }, {
1761
+ email?: undefined;
1762
+ phone: string;
1763
+ }>]>, {
1764
+ phone: string;
1765
+ email: string;
1766
+ } | {
1767
+ phone?: undefined;
1768
+ email: string;
1769
+ } | {
1770
+ email?: undefined;
1771
+ phone: string;
1772
+ }>;
1773
+ emailOrPhoneCode: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodObject<{
1774
+ emailCode: import("zod").ZodString;
1775
+ phoneCode: import("zod").ZodString;
1776
+ }, "strip", import("zod").ZodTypeAny, {
1777
+ emailCode: string;
1778
+ phoneCode: string;
1779
+ }, {
1780
+ emailCode: string;
1781
+ phoneCode: string;
1782
+ }>, import("zod").ZodObject<{
1783
+ emailCode: import("zod").ZodString;
1784
+ phoneCode: import("zod").ZodUndefined;
1785
+ }, "strip", import("zod").ZodTypeAny, {
1786
+ phoneCode?: undefined;
1787
+ emailCode: string;
1788
+ }, {
1789
+ phoneCode?: undefined;
1790
+ emailCode: string;
1791
+ }>, import("zod").ZodObject<{
1792
+ emailCode: import("zod").ZodUndefined;
1793
+ phoneCode: import("zod").ZodString;
1794
+ }, "strip", import("zod").ZodTypeAny, {
1795
+ emailCode?: undefined;
1796
+ phoneCode: string;
1797
+ }, {
1798
+ emailCode?: undefined;
1799
+ phoneCode: string;
1800
+ }>]>, {
1801
+ emailCode: string;
1802
+ phoneCode: string;
1803
+ } | {
1804
+ phoneCode?: undefined;
1805
+ emailCode: string;
1806
+ } | {
1807
+ emailCode?: undefined;
1808
+ phoneCode: string;
1124
1809
  }>;
1125
1810
  };