@integraciones_doc24/sdk 1.15.2 → 1.15.4
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 +5 -5
- package/lib/baseSdk/external.d.ts +2 -2
- package/lib/baseSdk/user.d.ts +5 -5
- package/lib/index.d.ts +13 -13
- package/lib/schemas.d.ts +40 -40
- package/lib/schemas.js +1 -1
- package/lib/userSdk/external.d.ts +1 -1
- package/lib/userSdk/patients.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export declare const getDiagnosticaMethods: (makeRequest: RequestMaker) => {
|
|
|
3
3
|
getDiagnosticaHistory: (patient: {
|
|
4
4
|
identificationType: "DNI";
|
|
5
5
|
identificationValue: string;
|
|
6
|
-
gender: "m" | "f";
|
|
6
|
+
gender: "m" | "f" | "o";
|
|
7
7
|
}, from: Date, to: Date) => Promise<{
|
|
8
8
|
date: Date;
|
|
9
9
|
location: string;
|
|
@@ -15,7 +15,7 @@ export declare const getDiagnosticaMethods: (makeRequest: RequestMaker) => {
|
|
|
15
15
|
lastName: string;
|
|
16
16
|
identificationType: "DNI";
|
|
17
17
|
identificationValue: string;
|
|
18
|
-
gender: "m" | "f";
|
|
18
|
+
gender: "m" | "f" | "o";
|
|
19
19
|
phone: string;
|
|
20
20
|
email: string;
|
|
21
21
|
language: string;
|
|
@@ -25,7 +25,7 @@ export declare const getDiagnosticaMethods: (makeRequest: RequestMaker) => {
|
|
|
25
25
|
lastName: string;
|
|
26
26
|
identificationType: "DNI";
|
|
27
27
|
identificationValue: string;
|
|
28
|
-
gender: "m" | "f";
|
|
28
|
+
gender: "m" | "f" | "o";
|
|
29
29
|
birthday: Date;
|
|
30
30
|
}) => Promise<{
|
|
31
31
|
forwardingRequired: true;
|
|
@@ -38,7 +38,7 @@ export declare const getDiagnosticaMethods: (makeRequest: RequestMaker) => {
|
|
|
38
38
|
lastName: string;
|
|
39
39
|
identificationType: "DNI";
|
|
40
40
|
identificationValue: string;
|
|
41
|
-
gender: "m" | "f";
|
|
41
|
+
gender: "m" | "f" | "o";
|
|
42
42
|
phone: string;
|
|
43
43
|
email: string;
|
|
44
44
|
language: string;
|
|
@@ -48,7 +48,7 @@ export declare const getDiagnosticaMethods: (makeRequest: RequestMaker) => {
|
|
|
48
48
|
lastName: string;
|
|
49
49
|
identificationType: "DNI";
|
|
50
50
|
identificationValue: string;
|
|
51
|
-
gender: "m" | "f";
|
|
51
|
+
gender: "m" | "f" | "o";
|
|
52
52
|
birthday: Date;
|
|
53
53
|
}) => Promise<void>;
|
|
54
54
|
};
|
|
@@ -7,7 +7,7 @@ export declare const getExternalMethods: (makeRequest: RequestMaker) => {
|
|
|
7
7
|
firstName: string;
|
|
8
8
|
lastName: string;
|
|
9
9
|
countryId: string;
|
|
10
|
-
gender: "m" | "f";
|
|
10
|
+
gender: "m" | "f" | "o";
|
|
11
11
|
phone: string;
|
|
12
12
|
email: string;
|
|
13
13
|
birthday: Date;
|
|
@@ -135,7 +135,7 @@ export declare const getExternalMethods: (makeRequest: RequestMaker) => {
|
|
|
135
135
|
firstName: string;
|
|
136
136
|
lastName: string;
|
|
137
137
|
countryId: string;
|
|
138
|
-
gender: "m" | "f";
|
|
138
|
+
gender: "m" | "f" | "o";
|
|
139
139
|
phone: string;
|
|
140
140
|
email: string;
|
|
141
141
|
birthday: Date;
|
package/lib/baseSdk/user.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const getUserMethods: (makeRequest: RequestMaker, url: string, cr
|
|
|
9
9
|
identificationValue: string;
|
|
10
10
|
countryId: string;
|
|
11
11
|
birthdate: Date;
|
|
12
|
-
gender: "m" | "f";
|
|
12
|
+
gender: "m" | "f" | "o";
|
|
13
13
|
phone: string;
|
|
14
14
|
email: string;
|
|
15
15
|
};
|
|
@@ -34,7 +34,7 @@ export declare const getUserMethods: (makeRequest: RequestMaker, url: string, cr
|
|
|
34
34
|
identificationValue: string;
|
|
35
35
|
countryId: string;
|
|
36
36
|
birthdate: Date;
|
|
37
|
-
gender: "m" | "f";
|
|
37
|
+
gender: "m" | "f" | "o";
|
|
38
38
|
phone: string;
|
|
39
39
|
email: string;
|
|
40
40
|
}) => Promise<number>;
|
|
@@ -50,7 +50,7 @@ export declare const getUserMethods: (makeRequest: RequestMaker, url: string, cr
|
|
|
50
50
|
identificationValue: string;
|
|
51
51
|
countryId: string;
|
|
52
52
|
birthdate: Date;
|
|
53
|
-
gender: "m" | "f";
|
|
53
|
+
gender: "m" | "f" | "o";
|
|
54
54
|
phone: string;
|
|
55
55
|
email: string;
|
|
56
56
|
}) => Promise<any>;
|
|
@@ -58,7 +58,7 @@ export declare const getUserMethods: (makeRequest: RequestMaker, url: string, cr
|
|
|
58
58
|
firstName: string;
|
|
59
59
|
lastName: string;
|
|
60
60
|
birthdate: Date;
|
|
61
|
-
gender: "m" | "f";
|
|
61
|
+
gender: "m" | "f" | "o";
|
|
62
62
|
email: string;
|
|
63
63
|
identificationNumber: string;
|
|
64
64
|
startDate: Date;
|
|
@@ -68,7 +68,7 @@ export declare const getUserMethods: (makeRequest: RequestMaker, url: string, cr
|
|
|
68
68
|
firstName: string | null;
|
|
69
69
|
lastName: string | null;
|
|
70
70
|
birthdate: Date;
|
|
71
|
-
gender: "m" | "f";
|
|
71
|
+
gender: "m" | "f" | "o";
|
|
72
72
|
email: string | null;
|
|
73
73
|
identificationNumber: string;
|
|
74
74
|
plan: string | null;
|
package/lib/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
13
13
|
identificationValue: string;
|
|
14
14
|
countryId: string;
|
|
15
15
|
birthdate: Date;
|
|
16
|
-
gender: "m" | "f";
|
|
16
|
+
gender: "m" | "f" | "o";
|
|
17
17
|
phone: string;
|
|
18
18
|
email: string;
|
|
19
19
|
};
|
|
@@ -38,7 +38,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
38
38
|
identificationValue: string;
|
|
39
39
|
countryId: string;
|
|
40
40
|
birthdate: Date;
|
|
41
|
-
gender: "m" | "f";
|
|
41
|
+
gender: "m" | "f" | "o";
|
|
42
42
|
phone: string;
|
|
43
43
|
email: string;
|
|
44
44
|
}) => Promise<number>;
|
|
@@ -49,7 +49,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
49
49
|
identificationValue: string;
|
|
50
50
|
countryId: string;
|
|
51
51
|
birthdate: Date;
|
|
52
|
-
gender: "m" | "f";
|
|
52
|
+
gender: "m" | "f" | "o";
|
|
53
53
|
phone: string;
|
|
54
54
|
email: string;
|
|
55
55
|
}) => Promise<Doc24.UserSdk>;
|
|
@@ -57,7 +57,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
57
57
|
firstName: string;
|
|
58
58
|
lastName: string;
|
|
59
59
|
birthdate: Date;
|
|
60
|
-
gender: "m" | "f";
|
|
60
|
+
gender: "m" | "f" | "o";
|
|
61
61
|
phone: string | null;
|
|
62
62
|
email: string;
|
|
63
63
|
id: number;
|
|
@@ -100,7 +100,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
100
100
|
firstName: string;
|
|
101
101
|
lastName: string;
|
|
102
102
|
birthdate: Date;
|
|
103
|
-
gender: "m" | "f";
|
|
103
|
+
gender: "m" | "f" | "o";
|
|
104
104
|
email: string;
|
|
105
105
|
identificationNumber: string;
|
|
106
106
|
startDate: Date;
|
|
@@ -110,7 +110,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
110
110
|
firstName: string | null;
|
|
111
111
|
lastName: string | null;
|
|
112
112
|
birthdate: Date;
|
|
113
|
-
gender: "m" | "f";
|
|
113
|
+
gender: "m" | "f" | "o";
|
|
114
114
|
email: string | null;
|
|
115
115
|
identificationNumber: string;
|
|
116
116
|
plan: string | null;
|
|
@@ -138,7 +138,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
138
138
|
getDiagnosticaHistory: (patient: {
|
|
139
139
|
identificationType: "DNI";
|
|
140
140
|
identificationValue: string;
|
|
141
|
-
gender: "m" | "f";
|
|
141
|
+
gender: "m" | "f" | "o";
|
|
142
142
|
}, from: Date, to: Date) => Promise<{
|
|
143
143
|
date: Date;
|
|
144
144
|
location: string;
|
|
@@ -150,7 +150,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
150
150
|
lastName: string;
|
|
151
151
|
identificationType: "DNI";
|
|
152
152
|
identificationValue: string;
|
|
153
|
-
gender: "m" | "f";
|
|
153
|
+
gender: "m" | "f" | "o";
|
|
154
154
|
phone: string;
|
|
155
155
|
email: string;
|
|
156
156
|
language: string;
|
|
@@ -160,7 +160,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
160
160
|
lastName: string;
|
|
161
161
|
identificationType: "DNI";
|
|
162
162
|
identificationValue: string;
|
|
163
|
-
gender: "m" | "f";
|
|
163
|
+
gender: "m" | "f" | "o";
|
|
164
164
|
birthday: Date;
|
|
165
165
|
}) => Promise<{
|
|
166
166
|
forwardingRequired: true;
|
|
@@ -173,7 +173,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
173
173
|
lastName: string;
|
|
174
174
|
identificationType: "DNI";
|
|
175
175
|
identificationValue: string;
|
|
176
|
-
gender: "m" | "f";
|
|
176
|
+
gender: "m" | "f" | "o";
|
|
177
177
|
phone: string;
|
|
178
178
|
email: string;
|
|
179
179
|
language: string;
|
|
@@ -183,7 +183,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
183
183
|
lastName: string;
|
|
184
184
|
identificationType: "DNI";
|
|
185
185
|
identificationValue: string;
|
|
186
|
-
gender: "m" | "f";
|
|
186
|
+
gender: "m" | "f" | "o";
|
|
187
187
|
birthday: Date;
|
|
188
188
|
}) => Promise<void>;
|
|
189
189
|
externalLogin: (params: {
|
|
@@ -193,7 +193,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
193
193
|
firstName: string;
|
|
194
194
|
lastName: string;
|
|
195
195
|
countryId: string;
|
|
196
|
-
gender: "m" | "f";
|
|
196
|
+
gender: "m" | "f" | "o";
|
|
197
197
|
phone: string;
|
|
198
198
|
email: string;
|
|
199
199
|
birthday: Date;
|
|
@@ -321,7 +321,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
321
321
|
firstName: string;
|
|
322
322
|
lastName: string;
|
|
323
323
|
countryId: string;
|
|
324
|
-
gender: "m" | "f";
|
|
324
|
+
gender: "m" | "f" | "o";
|
|
325
325
|
phone: string;
|
|
326
326
|
email: string;
|
|
327
327
|
birthday: Date;
|
package/lib/schemas.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const doc24Schemas: {
|
|
|
41
41
|
identificationValue: import("zod").ZodString;
|
|
42
42
|
countryId: import("zod").ZodString;
|
|
43
43
|
birthdate: import("zod").ZodDate;
|
|
44
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
44
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
45
45
|
}, {
|
|
46
46
|
phone: import("zod").ZodString;
|
|
47
47
|
email: import("zod").ZodString;
|
|
@@ -52,7 +52,7 @@ export declare const doc24Schemas: {
|
|
|
52
52
|
identificationValue: string;
|
|
53
53
|
countryId: string;
|
|
54
54
|
birthdate: Date;
|
|
55
|
-
gender: "m" | "f";
|
|
55
|
+
gender: "m" | "f" | "o";
|
|
56
56
|
phone: string;
|
|
57
57
|
email: string;
|
|
58
58
|
}, {
|
|
@@ -62,7 +62,7 @@ export declare const doc24Schemas: {
|
|
|
62
62
|
identificationValue: string;
|
|
63
63
|
countryId: string;
|
|
64
64
|
birthdate: Date;
|
|
65
|
-
gender: "m" | "f";
|
|
65
|
+
gender: "m" | "f" | "o";
|
|
66
66
|
phone: string;
|
|
67
67
|
email: string;
|
|
68
68
|
}>;
|
|
@@ -73,7 +73,7 @@ export declare const doc24Schemas: {
|
|
|
73
73
|
identificationValue: import("zod").ZodString;
|
|
74
74
|
countryId: import("zod").ZodString;
|
|
75
75
|
birthdate: import("zod").ZodDate;
|
|
76
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
76
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
77
77
|
}, "strip", import("zod").ZodTypeAny, {
|
|
78
78
|
firstName: string;
|
|
79
79
|
lastName: string;
|
|
@@ -81,7 +81,7 @@ export declare const doc24Schemas: {
|
|
|
81
81
|
identificationValue: string;
|
|
82
82
|
countryId: string;
|
|
83
83
|
birthdate: Date;
|
|
84
|
-
gender: "m" | "f";
|
|
84
|
+
gender: "m" | "f" | "o";
|
|
85
85
|
}, {
|
|
86
86
|
firstName: string;
|
|
87
87
|
lastName: string;
|
|
@@ -89,7 +89,7 @@ export declare const doc24Schemas: {
|
|
|
89
89
|
identificationValue: string;
|
|
90
90
|
countryId: string;
|
|
91
91
|
birthdate: Date;
|
|
92
|
-
gender: "m" | "f";
|
|
92
|
+
gender: "m" | "f" | "o";
|
|
93
93
|
}>;
|
|
94
94
|
specialtyMode: import("zod").ZodEnum<["appointment", "chat", "instant"]>;
|
|
95
95
|
specialty: import("zod").ZodObject<{
|
|
@@ -727,7 +727,7 @@ export declare const doc24Schemas: {
|
|
|
727
727
|
firstName: import("zod").ZodString;
|
|
728
728
|
lastName: import("zod").ZodString;
|
|
729
729
|
birthdate: import("zod").ZodDate;
|
|
730
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
730
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
731
731
|
email: import("zod").ZodString;
|
|
732
732
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
733
733
|
logoUrl: import("zod").ZodString;
|
|
@@ -767,7 +767,7 @@ export declare const doc24Schemas: {
|
|
|
767
767
|
firstName: string;
|
|
768
768
|
lastName: string;
|
|
769
769
|
birthdate: Date;
|
|
770
|
-
gender: "m" | "f";
|
|
770
|
+
gender: "m" | "f" | "o";
|
|
771
771
|
phone: string | null;
|
|
772
772
|
email: string;
|
|
773
773
|
id: number;
|
|
@@ -790,7 +790,7 @@ export declare const doc24Schemas: {
|
|
|
790
790
|
firstName: string;
|
|
791
791
|
lastName: string;
|
|
792
792
|
birthdate: Date;
|
|
793
|
-
gender: "m" | "f";
|
|
793
|
+
gender: "m" | "f" | "o";
|
|
794
794
|
phone: string | null;
|
|
795
795
|
email: string;
|
|
796
796
|
id: number;
|
|
@@ -1011,7 +1011,7 @@ export declare const doc24Schemas: {
|
|
|
1011
1011
|
enrollmentParams: import("zod").ZodObject<{
|
|
1012
1012
|
firstName: import("zod").ZodString;
|
|
1013
1013
|
lastName: import("zod").ZodString;
|
|
1014
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1014
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1015
1015
|
identificationNumber: import("zod").ZodString;
|
|
1016
1016
|
birthdate: import("zod").ZodDate;
|
|
1017
1017
|
email: import("zod").ZodString;
|
|
@@ -1021,7 +1021,7 @@ export declare const doc24Schemas: {
|
|
|
1021
1021
|
firstName: string;
|
|
1022
1022
|
lastName: string;
|
|
1023
1023
|
birthdate: Date;
|
|
1024
|
-
gender: "m" | "f";
|
|
1024
|
+
gender: "m" | "f" | "o";
|
|
1025
1025
|
email: string;
|
|
1026
1026
|
identificationNumber: string;
|
|
1027
1027
|
startDate: Date;
|
|
@@ -1030,24 +1030,24 @@ export declare const doc24Schemas: {
|
|
|
1030
1030
|
firstName: string;
|
|
1031
1031
|
lastName: string;
|
|
1032
1032
|
birthdate: Date;
|
|
1033
|
-
gender: "m" | "f";
|
|
1033
|
+
gender: "m" | "f" | "o";
|
|
1034
1034
|
email: string;
|
|
1035
1035
|
identificationNumber: string;
|
|
1036
1036
|
startDate: Date;
|
|
1037
1037
|
plan: string;
|
|
1038
1038
|
}>;
|
|
1039
1039
|
diagnosticaPatientFilter: import("zod").ZodObject<{
|
|
1040
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1040
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1041
1041
|
identificationType: import("zod").ZodLiteral<"DNI">;
|
|
1042
1042
|
identificationValue: import("zod").ZodString;
|
|
1043
1043
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1044
1044
|
identificationType: "DNI";
|
|
1045
1045
|
identificationValue: string;
|
|
1046
|
-
gender: "m" | "f";
|
|
1046
|
+
gender: "m" | "f" | "o";
|
|
1047
1047
|
}, {
|
|
1048
1048
|
identificationType: "DNI";
|
|
1049
1049
|
identificationValue: string;
|
|
1050
|
-
gender: "m" | "f";
|
|
1050
|
+
gender: "m" | "f" | "o";
|
|
1051
1051
|
}>;
|
|
1052
1052
|
diagnosticaHistoryAppointment: import("zod").ZodObject<{
|
|
1053
1053
|
date: import("zod").ZodDate;
|
|
@@ -1071,7 +1071,7 @@ export declare const doc24Schemas: {
|
|
|
1071
1071
|
birthday: import("zod").ZodDate;
|
|
1072
1072
|
identificationType: import("zod").ZodLiteral<"DNI">;
|
|
1073
1073
|
identificationValue: import("zod").ZodString;
|
|
1074
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1074
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1075
1075
|
}, {
|
|
1076
1076
|
phone: import("zod").ZodString;
|
|
1077
1077
|
email: import("zod").ZodString;
|
|
@@ -1081,7 +1081,7 @@ export declare const doc24Schemas: {
|
|
|
1081
1081
|
lastName: string;
|
|
1082
1082
|
identificationType: "DNI";
|
|
1083
1083
|
identificationValue: string;
|
|
1084
|
-
gender: "m" | "f";
|
|
1084
|
+
gender: "m" | "f" | "o";
|
|
1085
1085
|
phone: string;
|
|
1086
1086
|
email: string;
|
|
1087
1087
|
language: string;
|
|
@@ -1091,7 +1091,7 @@ export declare const doc24Schemas: {
|
|
|
1091
1091
|
lastName: string;
|
|
1092
1092
|
identificationType: "DNI";
|
|
1093
1093
|
identificationValue: string;
|
|
1094
|
-
gender: "m" | "f";
|
|
1094
|
+
gender: "m" | "f" | "o";
|
|
1095
1095
|
phone: string;
|
|
1096
1096
|
email: string;
|
|
1097
1097
|
language: string;
|
|
@@ -1103,20 +1103,20 @@ export declare const doc24Schemas: {
|
|
|
1103
1103
|
birthday: import("zod").ZodDate;
|
|
1104
1104
|
identificationType: import("zod").ZodLiteral<"DNI">;
|
|
1105
1105
|
identificationValue: import("zod").ZodString;
|
|
1106
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1106
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1107
1107
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1108
1108
|
firstName: string;
|
|
1109
1109
|
lastName: string;
|
|
1110
1110
|
identificationType: "DNI";
|
|
1111
1111
|
identificationValue: string;
|
|
1112
|
-
gender: "m" | "f";
|
|
1112
|
+
gender: "m" | "f" | "o";
|
|
1113
1113
|
birthday: Date;
|
|
1114
1114
|
}, {
|
|
1115
1115
|
firstName: string;
|
|
1116
1116
|
lastName: string;
|
|
1117
1117
|
identificationType: "DNI";
|
|
1118
1118
|
identificationValue: string;
|
|
1119
|
-
gender: "m" | "f";
|
|
1119
|
+
gender: "m" | "f" | "o";
|
|
1120
1120
|
birthday: Date;
|
|
1121
1121
|
}>;
|
|
1122
1122
|
diagnosticaDeepLinkResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
@@ -1145,7 +1145,7 @@ export declare const doc24Schemas: {
|
|
|
1145
1145
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1146
1146
|
birthdate: import("zod").ZodDate;
|
|
1147
1147
|
financerPlanId: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1148
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1148
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1149
1149
|
brand: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1150
1150
|
holderIdentificationNumber: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1151
1151
|
copaymentValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -1162,7 +1162,7 @@ export declare const doc24Schemas: {
|
|
|
1162
1162
|
firstName: string | null;
|
|
1163
1163
|
lastName: string | null;
|
|
1164
1164
|
birthdate: Date;
|
|
1165
|
-
gender: "m" | "f";
|
|
1165
|
+
gender: "m" | "f" | "o";
|
|
1166
1166
|
email: string | null;
|
|
1167
1167
|
identificationNumber: string;
|
|
1168
1168
|
plan: string | null;
|
|
@@ -1185,7 +1185,7 @@ export declare const doc24Schemas: {
|
|
|
1185
1185
|
firstName: string | null;
|
|
1186
1186
|
lastName: string | null;
|
|
1187
1187
|
birthdate: Date;
|
|
1188
|
-
gender: "m" | "f";
|
|
1188
|
+
gender: "m" | "f" | "o";
|
|
1189
1189
|
email: string | null;
|
|
1190
1190
|
identificationNumber: string;
|
|
1191
1191
|
plan: string | null;
|
|
@@ -1226,7 +1226,7 @@ export declare const doc24Schemas: {
|
|
|
1226
1226
|
identificationValue: import("zod").ZodString;
|
|
1227
1227
|
countryId: import("zod").ZodString;
|
|
1228
1228
|
birthdate: import("zod").ZodDate;
|
|
1229
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1229
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1230
1230
|
}, {
|
|
1231
1231
|
phone: import("zod").ZodString;
|
|
1232
1232
|
email: import("zod").ZodString;
|
|
@@ -1237,7 +1237,7 @@ export declare const doc24Schemas: {
|
|
|
1237
1237
|
identificationValue: string;
|
|
1238
1238
|
countryId: string;
|
|
1239
1239
|
birthdate: Date;
|
|
1240
|
-
gender: "m" | "f";
|
|
1240
|
+
gender: "m" | "f" | "o";
|
|
1241
1241
|
phone: string;
|
|
1242
1242
|
email: string;
|
|
1243
1243
|
}, {
|
|
@@ -1247,7 +1247,7 @@ export declare const doc24Schemas: {
|
|
|
1247
1247
|
identificationValue: string;
|
|
1248
1248
|
countryId: string;
|
|
1249
1249
|
birthdate: Date;
|
|
1250
|
-
gender: "m" | "f";
|
|
1250
|
+
gender: "m" | "f" | "o";
|
|
1251
1251
|
phone: string;
|
|
1252
1252
|
email: string;
|
|
1253
1253
|
}>;
|
|
@@ -1259,7 +1259,7 @@ export declare const doc24Schemas: {
|
|
|
1259
1259
|
identificationValue: string;
|
|
1260
1260
|
countryId: string;
|
|
1261
1261
|
birthdate: Date;
|
|
1262
|
-
gender: "m" | "f";
|
|
1262
|
+
gender: "m" | "f" | "o";
|
|
1263
1263
|
phone: string;
|
|
1264
1264
|
email: string;
|
|
1265
1265
|
};
|
|
@@ -1271,7 +1271,7 @@ export declare const doc24Schemas: {
|
|
|
1271
1271
|
identificationValue: string;
|
|
1272
1272
|
countryId: string;
|
|
1273
1273
|
birthdate: Date;
|
|
1274
|
-
gender: "m" | "f";
|
|
1274
|
+
gender: "m" | "f" | "o";
|
|
1275
1275
|
phone: string;
|
|
1276
1276
|
email: string;
|
|
1277
1277
|
};
|
|
@@ -1330,7 +1330,7 @@ export declare const doc24Schemas: {
|
|
|
1330
1330
|
identificationValue: import("zod").ZodString;
|
|
1331
1331
|
countryId: import("zod").ZodString;
|
|
1332
1332
|
birthdate: import("zod").ZodDate;
|
|
1333
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1333
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1334
1334
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1335
1335
|
firstName: string;
|
|
1336
1336
|
lastName: string;
|
|
@@ -1338,7 +1338,7 @@ export declare const doc24Schemas: {
|
|
|
1338
1338
|
identificationValue: string;
|
|
1339
1339
|
countryId: string;
|
|
1340
1340
|
birthdate: Date;
|
|
1341
|
-
gender: "m" | "f";
|
|
1341
|
+
gender: "m" | "f" | "o";
|
|
1342
1342
|
}, {
|
|
1343
1343
|
firstName: string;
|
|
1344
1344
|
lastName: string;
|
|
@@ -1346,7 +1346,7 @@ export declare const doc24Schemas: {
|
|
|
1346
1346
|
identificationValue: string;
|
|
1347
1347
|
countryId: string;
|
|
1348
1348
|
birthdate: Date;
|
|
1349
|
-
gender: "m" | "f";
|
|
1349
|
+
gender: "m" | "f" | "o";
|
|
1350
1350
|
}>;
|
|
1351
1351
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1352
1352
|
patient: {
|
|
@@ -1356,7 +1356,7 @@ export declare const doc24Schemas: {
|
|
|
1356
1356
|
identificationValue: string;
|
|
1357
1357
|
countryId: string;
|
|
1358
1358
|
birthdate: Date;
|
|
1359
|
-
gender: "m" | "f";
|
|
1359
|
+
gender: "m" | "f" | "o";
|
|
1360
1360
|
};
|
|
1361
1361
|
}, {
|
|
1362
1362
|
patient: {
|
|
@@ -1366,7 +1366,7 @@ export declare const doc24Schemas: {
|
|
|
1366
1366
|
identificationValue: string;
|
|
1367
1367
|
countryId: string;
|
|
1368
1368
|
birthdate: Date;
|
|
1369
|
-
gender: "m" | "f";
|
|
1369
|
+
gender: "m" | "f" | "o";
|
|
1370
1370
|
};
|
|
1371
1371
|
}>, import("zod").ZodObject<{
|
|
1372
1372
|
channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
|
|
@@ -1448,14 +1448,14 @@ export declare const doc24Schemas: {
|
|
|
1448
1448
|
countryId: import("zod").ZodString;
|
|
1449
1449
|
birthday: import("zod").ZodDate;
|
|
1450
1450
|
identificationNumber: import("zod").ZodString;
|
|
1451
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1451
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1452
1452
|
email: import("zod").ZodString;
|
|
1453
1453
|
phone: import("zod").ZodString;
|
|
1454
1454
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1455
1455
|
firstName: string;
|
|
1456
1456
|
lastName: string;
|
|
1457
1457
|
countryId: string;
|
|
1458
|
-
gender: "m" | "f";
|
|
1458
|
+
gender: "m" | "f" | "o";
|
|
1459
1459
|
phone: string;
|
|
1460
1460
|
email: string;
|
|
1461
1461
|
birthday: Date;
|
|
@@ -1464,7 +1464,7 @@ export declare const doc24Schemas: {
|
|
|
1464
1464
|
firstName: string;
|
|
1465
1465
|
lastName: string;
|
|
1466
1466
|
countryId: string;
|
|
1467
|
-
gender: "m" | "f";
|
|
1467
|
+
gender: "m" | "f" | "o";
|
|
1468
1468
|
phone: string;
|
|
1469
1469
|
email: string;
|
|
1470
1470
|
birthday: Date;
|
|
@@ -1687,17 +1687,17 @@ export declare const doc24Schemas: {
|
|
|
1687
1687
|
birthdate: import("zod").ZodDate;
|
|
1688
1688
|
identificationType: import("zod").ZodLiteral<"DNI">;
|
|
1689
1689
|
identificationValue: import("zod").ZodString;
|
|
1690
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1690
|
+
gender: import("zod").ZodEnum<["m", "f", "o"]>;
|
|
1691
1691
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1692
1692
|
identificationType: "DNI";
|
|
1693
1693
|
identificationValue: string;
|
|
1694
1694
|
birthdate: Date;
|
|
1695
|
-
gender: "m" | "f";
|
|
1695
|
+
gender: "m" | "f" | "o";
|
|
1696
1696
|
}, {
|
|
1697
1697
|
identificationType: "DNI";
|
|
1698
1698
|
identificationValue: string;
|
|
1699
1699
|
birthdate: Date;
|
|
1700
|
-
gender: "m" | "f";
|
|
1700
|
+
gender: "m" | "f" | "o";
|
|
1701
1701
|
}>;
|
|
1702
1702
|
externalAppointment: import("zod").ZodObject<{
|
|
1703
1703
|
id: import("zod").ZodNumber;
|
package/lib/schemas.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.doc24Schemas = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const gender = zod_1.enum(['m', 'f']);
|
|
5
|
+
const gender = zod_1.enum(['m', 'f', 'o']);
|
|
6
6
|
// const identificationType = zEnum(['ndi', 'passport', 'credential']);
|
|
7
7
|
const sdkCredentials = zod_1.object({ iss: zod_1.string(), key: zod_1.string() });
|
|
8
8
|
const basePersonData = zod_1.object({
|
|
@@ -4,7 +4,7 @@ export declare const getExternalMethods: (makeRequest: RequestMaker) => {
|
|
|
4
4
|
identificationType: "DNI";
|
|
5
5
|
identificationValue: string;
|
|
6
6
|
birthdate: Date;
|
|
7
|
-
gender: "m" | "f";
|
|
7
|
+
gender: "m" | "f" | "o";
|
|
8
8
|
}) => Promise<string | null>;
|
|
9
9
|
getExternalAppointmentsLink: (identificationValue: string, birthdate: Date) => Promise<string | null>;
|
|
10
10
|
getExternalAppointments: () => Promise<{
|
|
@@ -8,7 +8,7 @@ export declare const getPatientMethods: (makeRequest: RequestMaker) => {
|
|
|
8
8
|
identificationValue: string;
|
|
9
9
|
countryId: string;
|
|
10
10
|
birthdate: Date;
|
|
11
|
-
gender: "m" | "f";
|
|
11
|
+
gender: "m" | "f" | "o";
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
code?: string | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const getPatientMethods: (makeRequest: RequestMaker) => {
|
|
|
32
32
|
identificationValue: string;
|
|
33
33
|
countryId: string;
|
|
34
34
|
birthdate: Date;
|
|
35
|
-
gender: "m" | "f";
|
|
35
|
+
gender: "m" | "f" | "o";
|
|
36
36
|
}) => Promise<number>;
|
|
37
37
|
deletePatient: (patientId: number) => Promise<void>;
|
|
38
38
|
};
|