@integraciones_doc24/sdk 1.1.1 → 1.3.0
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 +6 -6
- package/lib/baseSdk/index.js +5 -1
- package/lib/baseSdk/user.d.ts +4 -51
- package/lib/baseSdk/user.js +25 -67
- package/lib/index.d.ts +16 -44
- package/lib/lib/baseSdk/diagnostica.d.ts +11 -0
- package/lib/lib/baseSdk/diagnostica.js +79 -0
- package/lib/lib/baseSdk/index.d.ts +161 -0
- package/lib/lib/baseSdk/index.js +66 -0
- package/lib/lib/baseSdk/user.d.ts +41 -0
- package/lib/lib/baseSdk/user.js +130 -0
- package/lib/lib/index.d.ts +182 -0
- package/lib/lib/index.js +22 -0
- package/lib/lib/lib/baseSdk/diagnostica.d.ts +6 -0
- package/lib/lib/lib/baseSdk/diagnostica.js +79 -0
- package/lib/lib/lib/baseSdk/index.d.ts +51 -0
- package/lib/lib/lib/baseSdk/index.js +66 -0
- package/lib/lib/lib/baseSdk/user.d.ts +9 -0
- package/lib/lib/lib/baseSdk/user.js +130 -0
- package/lib/lib/lib/index.d.ts +168 -0
- package/lib/lib/lib/index.js +22 -0
- package/lib/lib/lib/lib/baseSdk/diagnostica.d.ts +6 -0
- package/lib/lib/lib/lib/baseSdk/diagnostica.js +79 -0
- package/lib/lib/lib/lib/baseSdk/index.d.ts +14 -0
- package/lib/lib/lib/lib/baseSdk/index.js +66 -0
- package/lib/lib/lib/lib/baseSdk/user.d.ts +9 -0
- package/lib/lib/lib/lib/baseSdk/user.js +130 -0
- package/lib/lib/lib/lib/index.d.ts +58 -0
- package/lib/lib/lib/lib/index.js +22 -0
- package/lib/lib/lib/lib/request/index.d.ts +2 -0
- package/lib/lib/lib/lib/request/index.js +26 -0
- package/lib/lib/lib/lib/request/token.d.ts +2 -0
- package/lib/lib/lib/lib/request/token.js +34 -0
- package/lib/lib/lib/lib/request/validation.d.ts +10 -0
- package/lib/lib/lib/lib/request/validation.js +28 -0
- package/lib/lib/lib/lib/schemas.d.ts +1334 -0
- package/lib/lib/lib/lib/schemas.js +325 -0
- package/lib/lib/lib/lib/test.d.ts +1 -0
- package/lib/lib/lib/lib/test.js +55 -0
- package/lib/lib/lib/lib/types.d.ts +1 -0
- package/lib/lib/lib/lib/types.js +2 -0
- package/lib/lib/lib/lib/userSdk/chat.d.ts +9 -0
- package/lib/lib/lib/lib/userSdk/chat.js +98 -0
- package/lib/lib/lib/lib/userSdk/index.d.ts +24 -0
- package/lib/lib/lib/lib/userSdk/index.js +27 -0
- package/lib/lib/lib/lib/userSdk/patients.d.ts +5 -0
- package/lib/lib/lib/lib/userSdk/patients.js +55 -0
- package/lib/lib/lib/lib/userSdk/schedule.d.ts +7 -0
- package/lib/lib/lib/lib/userSdk/schedule.js +76 -0
- package/lib/lib/lib/lib/userSdk/specialties.d.ts +4 -0
- package/lib/lib/lib/lib/userSdk/specialties.js +19 -0
- package/lib/lib/lib/lib/userSdk/videoVisit.d.ts +10 -0
- package/lib/lib/lib/lib/userSdk/videoVisit.js +147 -0
- package/lib/lib/lib/lib/utils.d.ts +4 -0
- package/lib/lib/lib/lib/utils.js +19 -0
- package/lib/lib/lib/lib/webhook/index.d.ts +8 -0
- package/lib/lib/lib/lib/webhook/index.js +55 -0
- package/lib/lib/lib/lib/webhook/responses.d.ts +36 -0
- package/lib/lib/lib/lib/webhook/responses.js +42 -0
- package/lib/lib/lib/lib/webhook/token.d.ts +2 -0
- package/lib/lib/lib/lib/webhook/token.js +23 -0
- package/lib/lib/lib/request/index.d.ts +2 -0
- package/lib/lib/lib/request/index.js +26 -0
- package/lib/lib/lib/request/token.d.ts +2 -0
- package/lib/lib/lib/request/token.js +34 -0
- package/lib/lib/lib/request/validation.d.ts +10 -0
- package/lib/lib/lib/request/validation.js +28 -0
- package/lib/lib/lib/schemas.d.ts +1334 -0
- package/lib/lib/lib/schemas.js +325 -0
- package/lib/lib/lib/src/baseSdk/diagnostica.d.ts +6 -0
- package/lib/lib/lib/src/baseSdk/diagnostica.js +79 -0
- package/lib/lib/lib/src/baseSdk/index.d.ts +51 -0
- package/lib/lib/lib/src/baseSdk/index.js +66 -0
- package/lib/lib/lib/src/baseSdk/user.d.ts +9 -0
- package/lib/lib/lib/src/baseSdk/user.js +130 -0
- package/lib/lib/lib/src/index.d.ts +169 -0
- package/lib/lib/lib/src/index.js +22 -0
- package/lib/lib/lib/src/request/index.d.ts +2 -0
- package/lib/lib/lib/src/request/index.js +26 -0
- package/lib/lib/lib/src/request/token.d.ts +2 -0
- package/lib/lib/lib/src/request/token.js +34 -0
- package/lib/lib/lib/src/request/validation.d.ts +10 -0
- package/lib/lib/lib/src/request/validation.js +28 -0
- package/lib/lib/lib/src/schemas.d.ts +1340 -0
- package/lib/lib/lib/src/schemas.js +325 -0
- package/lib/lib/lib/src/types.d.ts +1 -0
- package/lib/lib/lib/src/types.js +2 -0
- package/lib/lib/lib/src/userSdk/chat.d.ts +9 -0
- package/lib/lib/lib/src/userSdk/chat.js +98 -0
- package/lib/lib/lib/src/userSdk/index.d.ts +102 -0
- package/lib/lib/lib/src/userSdk/index.js +27 -0
- package/lib/lib/lib/src/userSdk/patients.d.ts +5 -0
- package/lib/lib/lib/src/userSdk/patients.js +55 -0
- package/lib/lib/lib/src/userSdk/schedule.d.ts +7 -0
- package/lib/lib/lib/src/userSdk/schedule.js +76 -0
- package/lib/lib/lib/src/userSdk/specialties.d.ts +4 -0
- package/lib/lib/lib/src/userSdk/specialties.js +19 -0
- package/lib/lib/lib/src/userSdk/videoVisit.d.ts +10 -0
- package/lib/lib/lib/src/userSdk/videoVisit.js +147 -0
- package/lib/lib/lib/src/utils.d.ts +4 -0
- package/lib/lib/lib/src/utils.js +19 -0
- package/lib/lib/lib/src/webhook/index.d.ts +8 -0
- package/lib/lib/lib/src/webhook/index.js +55 -0
- package/lib/lib/lib/src/webhook/responses.d.ts +36 -0
- package/lib/lib/lib/src/webhook/responses.js +42 -0
- package/lib/lib/lib/src/webhook/token.d.ts +2 -0
- package/lib/lib/lib/src/webhook/token.js +23 -0
- package/lib/lib/lib/test.d.ts +1 -0
- package/lib/lib/lib/test.js +55 -0
- package/lib/lib/lib/types.d.ts +1 -0
- package/lib/lib/lib/types.js +2 -0
- package/lib/lib/lib/userSdk/chat.d.ts +9 -0
- package/lib/lib/lib/userSdk/chat.js +98 -0
- package/lib/lib/lib/userSdk/index.d.ts +102 -0
- package/lib/lib/lib/userSdk/index.js +27 -0
- package/lib/lib/lib/userSdk/patients.d.ts +5 -0
- package/lib/lib/lib/userSdk/patients.js +55 -0
- package/lib/lib/lib/userSdk/schedule.d.ts +7 -0
- package/lib/lib/lib/userSdk/schedule.js +76 -0
- package/lib/lib/lib/userSdk/specialties.d.ts +4 -0
- package/lib/lib/lib/userSdk/specialties.js +19 -0
- package/lib/lib/lib/userSdk/videoVisit.d.ts +10 -0
- package/lib/lib/lib/userSdk/videoVisit.js +147 -0
- package/lib/lib/lib/utils.d.ts +4 -0
- package/lib/lib/lib/utils.js +19 -0
- package/lib/lib/lib/webhook/index.d.ts +8 -0
- package/lib/lib/lib/webhook/index.js +55 -0
- package/lib/lib/lib/webhook/responses.d.ts +36 -0
- package/lib/lib/lib/webhook/responses.js +42 -0
- package/lib/lib/lib/webhook/token.d.ts +2 -0
- package/lib/lib/lib/webhook/token.js +23 -0
- package/lib/lib/request/index.d.ts +2 -0
- package/lib/lib/request/index.js +26 -0
- package/lib/lib/request/token.d.ts +2 -0
- package/lib/lib/request/token.js +34 -0
- package/lib/lib/request/validation.d.ts +10 -0
- package/lib/lib/request/validation.js +28 -0
- package/lib/lib/schemas.d.ts +1334 -0
- package/lib/lib/schemas.js +325 -0
- package/lib/lib/src/baseSdk/diagnostica.d.ts +11 -0
- package/lib/lib/src/baseSdk/diagnostica.js +79 -0
- package/lib/lib/src/baseSdk/index.d.ts +162 -0
- package/lib/lib/src/baseSdk/index.js +66 -0
- package/lib/lib/src/baseSdk/user.d.ts +41 -0
- package/lib/lib/src/baseSdk/user.js +130 -0
- package/lib/lib/src/index.d.ts +183 -0
- package/lib/lib/src/index.js +22 -0
- package/lib/lib/src/request/index.d.ts +2 -0
- package/lib/lib/src/request/index.js +26 -0
- package/lib/lib/src/request/token.d.ts +2 -0
- package/lib/lib/src/request/token.js +34 -0
- package/lib/lib/src/request/validation.d.ts +10 -0
- package/lib/lib/src/request/validation.js +28 -0
- package/lib/lib/src/schemas.d.ts +1340 -0
- package/lib/lib/src/schemas.js +325 -0
- package/lib/lib/src/types.d.ts +1 -0
- package/lib/lib/src/types.js +2 -0
- package/lib/lib/src/userSdk/chat.d.ts +9 -0
- package/lib/lib/src/userSdk/chat.js +98 -0
- package/lib/lib/src/userSdk/index.d.ts +241 -0
- package/lib/lib/src/userSdk/index.js +27 -0
- package/lib/lib/src/userSdk/patients.d.ts +13 -0
- package/lib/lib/src/userSdk/patients.js +55 -0
- package/lib/lib/src/userSdk/schedule.d.ts +15 -0
- package/lib/lib/src/userSdk/schedule.js +76 -0
- package/lib/lib/src/userSdk/specialties.d.ts +4 -0
- package/lib/lib/src/userSdk/specialties.js +19 -0
- package/lib/lib/src/userSdk/videoVisit.d.ts +72 -0
- package/lib/lib/src/userSdk/videoVisit.js +147 -0
- package/lib/lib/src/utils.d.ts +4 -0
- package/lib/lib/src/utils.js +19 -0
- package/lib/lib/src/webhook/index.d.ts +8 -0
- package/lib/lib/src/webhook/index.js +55 -0
- package/lib/lib/src/webhook/responses.d.ts +36 -0
- package/lib/lib/src/webhook/responses.js +42 -0
- package/lib/lib/src/webhook/token.d.ts +2 -0
- package/lib/lib/src/webhook/token.js +23 -0
- package/lib/lib/test.d.ts +1 -0
- package/lib/lib/test.js +55 -0
- package/lib/lib/types.d.ts +1 -0
- package/lib/lib/types.js +2 -0
- package/lib/lib/userSdk/chat.d.ts +9 -0
- package/lib/lib/userSdk/chat.js +98 -0
- package/lib/lib/userSdk/index.d.ts +240 -0
- package/lib/lib/userSdk/index.js +27 -0
- package/lib/lib/userSdk/patients.d.ts +13 -0
- package/lib/lib/userSdk/patients.js +55 -0
- package/lib/lib/userSdk/schedule.d.ts +15 -0
- package/lib/lib/userSdk/schedule.js +76 -0
- package/lib/lib/userSdk/specialties.d.ts +4 -0
- package/lib/lib/userSdk/specialties.js +19 -0
- package/lib/lib/userSdk/videoVisit.d.ts +72 -0
- package/lib/lib/userSdk/videoVisit.js +147 -0
- package/lib/lib/utils.d.ts +4 -0
- package/lib/lib/utils.js +19 -0
- package/lib/lib/webhook/index.d.ts +8 -0
- package/lib/lib/webhook/index.js +55 -0
- package/lib/lib/webhook/responses.d.ts +36 -0
- package/lib/lib/webhook/responses.js +42 -0
- package/lib/lib/webhook/token.d.ts +2 -0
- package/lib/lib/webhook/token.js +23 -0
- package/lib/schemas.d.ts +30 -220
- package/lib/schemas.js +2 -33
- package/lib/src/baseSdk/diagnostica.d.ts +54 -0
- package/lib/src/baseSdk/diagnostica.js +79 -0
- package/lib/src/baseSdk/index.d.ts +2 -0
- package/lib/src/baseSdk/index.js +66 -0
- package/lib/src/baseSdk/user.d.ts +89 -0
- package/lib/src/baseSdk/user.js +130 -0
- package/lib/src/index.d.ts +188 -0
- package/lib/src/index.js +22 -0
- package/lib/src/request/index.d.ts +3 -0
- package/lib/src/request/index.js +26 -0
- package/lib/src/request/token.d.ts +2 -0
- package/lib/src/request/token.js +34 -0
- package/lib/src/request/validation.d.ts +10 -0
- package/lib/src/request/validation.js +28 -0
- package/lib/src/schemas.d.ts +1311 -0
- package/lib/src/schemas.js +325 -0
- package/lib/src/types.d.ts +124 -0
- package/lib/src/types.js +2 -0
- package/lib/src/userSdk/chat.d.ts +57 -0
- package/lib/src/userSdk/chat.js +98 -0
- package/lib/src/userSdk/index.d.ts +2 -0
- package/lib/src/userSdk/index.js +27 -0
- package/lib/src/userSdk/patients.d.ts +33 -0
- package/lib/src/userSdk/patients.js +55 -0
- package/lib/src/userSdk/schedule.d.ts +44 -0
- package/lib/src/userSdk/schedule.js +76 -0
- package/lib/src/userSdk/specialties.d.ts +7 -0
- package/lib/src/userSdk/specialties.js +19 -0
- package/lib/src/userSdk/videoVisit.d.ts +111 -0
- package/lib/src/userSdk/videoVisit.js +147 -0
- package/lib/src/utils.d.ts +4 -0
- package/lib/src/utils.js +19 -0
- package/lib/src/webhook/index.d.ts +2 -0
- package/lib/src/webhook/index.js +55 -0
- package/lib/src/webhook/responses.d.ts +35 -0
- package/lib/src/webhook/responses.js +42 -0
- package/lib/src/webhook/token.d.ts +2 -0
- package/lib/src/webhook/token.js +23 -0
- package/lib/test.js +1 -36
- package/lib/types.d.ts +2 -10
- package/lib/userSdk/chat.d.ts +1 -1
- package/lib/userSdk/patients.d.ts +2 -22
- package/lib/userSdk/patients.js +6 -34
- package/lib/userSdk/videoVisit.d.ts +2 -2
- package/lib/utils.d.ts +1 -1
- package/lib/utils.js +3 -3
- package/package.json +1 -1
package/lib/schemas.d.ts
CHANGED
|
@@ -51,21 +51,21 @@ export declare const doc24Schemas: {
|
|
|
51
51
|
lastName: string;
|
|
52
52
|
identificationType: "ndi" | "passport" | "credential";
|
|
53
53
|
identificationValue: string;
|
|
54
|
-
countryId: string;
|
|
55
|
-
birthdate: Date;
|
|
56
54
|
gender: "m" | "f";
|
|
57
55
|
phone: string;
|
|
58
56
|
email: string;
|
|
57
|
+
countryId: string;
|
|
58
|
+
birthdate: Date;
|
|
59
59
|
}, {
|
|
60
60
|
firstName: string;
|
|
61
61
|
lastName: string;
|
|
62
62
|
identificationType: "ndi" | "passport" | "credential";
|
|
63
63
|
identificationValue: string;
|
|
64
|
-
countryId: string;
|
|
65
|
-
birthdate: Date;
|
|
66
64
|
gender: "m" | "f";
|
|
67
65
|
phone: string;
|
|
68
66
|
email: string;
|
|
67
|
+
countryId: string;
|
|
68
|
+
birthdate: Date;
|
|
69
69
|
}>;
|
|
70
70
|
patient: import("zod").ZodObject<{
|
|
71
71
|
firstName: import("zod").ZodString;
|
|
@@ -80,17 +80,17 @@ export declare const doc24Schemas: {
|
|
|
80
80
|
lastName: string;
|
|
81
81
|
identificationType: "ndi" | "passport" | "credential";
|
|
82
82
|
identificationValue: string;
|
|
83
|
+
gender: "m" | "f";
|
|
83
84
|
countryId: string;
|
|
84
85
|
birthdate: Date;
|
|
85
|
-
gender: "m" | "f";
|
|
86
86
|
}, {
|
|
87
87
|
firstName: string;
|
|
88
88
|
lastName: string;
|
|
89
89
|
identificationType: "ndi" | "passport" | "credential";
|
|
90
90
|
identificationValue: string;
|
|
91
|
+
gender: "m" | "f";
|
|
91
92
|
countryId: string;
|
|
92
93
|
birthdate: Date;
|
|
93
|
-
gender: "m" | "f";
|
|
94
94
|
}>;
|
|
95
95
|
specialtyMode: import("zod").ZodEnum<["appointment", "chat", "instant"]>;
|
|
96
96
|
specialty: import("zod").ZodObject<{
|
|
@@ -353,13 +353,13 @@ export declare const doc24Schemas: {
|
|
|
353
353
|
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
354
354
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
355
355
|
}, "strip", import("zod").ZodTypeAny, {
|
|
356
|
+
id: number;
|
|
356
357
|
phone: string | null;
|
|
357
358
|
email: string | null;
|
|
358
|
-
id: number;
|
|
359
359
|
}, {
|
|
360
|
+
id: number;
|
|
360
361
|
phone: string | null;
|
|
361
362
|
email: string | null;
|
|
362
|
-
id: number;
|
|
363
363
|
}>;
|
|
364
364
|
vcToken: import("zod").ZodString;
|
|
365
365
|
appointment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -399,9 +399,9 @@ export declare const doc24Schemas: {
|
|
|
399
399
|
patientId: number;
|
|
400
400
|
creationDate: Date;
|
|
401
401
|
user: {
|
|
402
|
+
id: number;
|
|
402
403
|
phone: string | null;
|
|
403
404
|
email: string | null;
|
|
404
|
-
id: number;
|
|
405
405
|
};
|
|
406
406
|
vcToken: string;
|
|
407
407
|
}, {
|
|
@@ -419,9 +419,9 @@ export declare const doc24Schemas: {
|
|
|
419
419
|
patientId: number;
|
|
420
420
|
creationDate: Date;
|
|
421
421
|
user: {
|
|
422
|
+
id: number;
|
|
422
423
|
phone: string | null;
|
|
423
424
|
email: string | null;
|
|
424
|
-
id: number;
|
|
425
425
|
};
|
|
426
426
|
vcToken: string;
|
|
427
427
|
}>;
|
|
@@ -671,14 +671,14 @@ export declare const doc24Schemas: {
|
|
|
671
671
|
brief: string;
|
|
672
672
|
}>;
|
|
673
673
|
}, "strip", import("zod").ZodTypeAny, {
|
|
674
|
+
id: number;
|
|
675
|
+
logoUrl: string;
|
|
674
676
|
firstName: string;
|
|
675
677
|
lastName: string;
|
|
676
|
-
birthdate: Date;
|
|
677
678
|
gender: "m" | "f";
|
|
678
679
|
phone: string | null;
|
|
679
680
|
email: string;
|
|
680
|
-
|
|
681
|
-
logoUrl: string;
|
|
681
|
+
birthdate: Date;
|
|
682
682
|
specialties: {
|
|
683
683
|
id: number;
|
|
684
684
|
description: string;
|
|
@@ -694,14 +694,14 @@ export declare const doc24Schemas: {
|
|
|
694
694
|
brief: string;
|
|
695
695
|
};
|
|
696
696
|
}, {
|
|
697
|
+
id: number;
|
|
698
|
+
logoUrl: string;
|
|
697
699
|
firstName: string;
|
|
698
700
|
lastName: string;
|
|
699
|
-
birthdate: Date;
|
|
700
701
|
gender: "m" | "f";
|
|
701
702
|
phone: string | null;
|
|
702
703
|
email: string;
|
|
703
|
-
|
|
704
|
-
logoUrl: string;
|
|
704
|
+
birthdate: Date;
|
|
705
705
|
specialties: {
|
|
706
706
|
id: number;
|
|
707
707
|
description: string;
|
|
@@ -815,13 +815,13 @@ export declare const doc24Schemas: {
|
|
|
815
815
|
firstName: import("zod").ZodString;
|
|
816
816
|
lastName: import("zod").ZodString;
|
|
817
817
|
}, "strip", import("zod").ZodTypeAny, {
|
|
818
|
+
id: number;
|
|
818
819
|
firstName: string;
|
|
819
820
|
lastName: string;
|
|
820
|
-
id: number;
|
|
821
821
|
}, {
|
|
822
|
+
id: number;
|
|
822
823
|
firstName: string;
|
|
823
824
|
lastName: string;
|
|
824
|
-
id: number;
|
|
825
825
|
}>;
|
|
826
826
|
patientLastPost: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
827
827
|
professional: import("zod").ZodObject<{
|
|
@@ -853,9 +853,9 @@ export declare const doc24Schemas: {
|
|
|
853
853
|
}, "strip", import("zod").ZodTypeAny, {
|
|
854
854
|
id: number;
|
|
855
855
|
patient: {
|
|
856
|
+
id: number;
|
|
856
857
|
firstName: string;
|
|
857
858
|
lastName: string;
|
|
858
|
-
id: number;
|
|
859
859
|
};
|
|
860
860
|
professional: {
|
|
861
861
|
id: number;
|
|
@@ -877,9 +877,9 @@ export declare const doc24Schemas: {
|
|
|
877
877
|
}, {
|
|
878
878
|
id: number;
|
|
879
879
|
patient: {
|
|
880
|
+
id: number;
|
|
880
881
|
firstName: string;
|
|
881
882
|
lastName: string;
|
|
882
|
-
id: number;
|
|
883
883
|
};
|
|
884
884
|
professional: {
|
|
885
885
|
id: number;
|
|
@@ -927,18 +927,18 @@ export declare const doc24Schemas: {
|
|
|
927
927
|
}, "strip", import("zod").ZodTypeAny, {
|
|
928
928
|
firstName: string;
|
|
929
929
|
lastName: string;
|
|
930
|
-
birthdate: Date;
|
|
931
930
|
gender: "m" | "f";
|
|
932
931
|
email: string;
|
|
932
|
+
birthdate: Date;
|
|
933
933
|
startDate: Date;
|
|
934
934
|
identificationNumber: string;
|
|
935
935
|
plan: string;
|
|
936
936
|
}, {
|
|
937
937
|
firstName: string;
|
|
938
938
|
lastName: string;
|
|
939
|
-
birthdate: Date;
|
|
940
939
|
gender: "m" | "f";
|
|
941
940
|
email: string;
|
|
941
|
+
birthdate: Date;
|
|
942
942
|
startDate: Date;
|
|
943
943
|
identificationNumber: string;
|
|
944
944
|
plan: string;
|
|
@@ -984,25 +984,25 @@ export declare const doc24Schemas: {
|
|
|
984
984
|
email: import("zod").ZodString;
|
|
985
985
|
language: import("zod").ZodString;
|
|
986
986
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
987
|
+
language: string;
|
|
987
988
|
firstName: string;
|
|
988
989
|
lastName: string;
|
|
990
|
+
birthday: Date;
|
|
989
991
|
identificationType: "dni";
|
|
990
992
|
identificationValue: string;
|
|
991
993
|
gender: "m" | "f";
|
|
992
994
|
phone: string;
|
|
993
995
|
email: string;
|
|
994
|
-
language: string;
|
|
995
|
-
birthday: Date;
|
|
996
996
|
}, {
|
|
997
|
+
language: string;
|
|
997
998
|
firstName: string;
|
|
998
999
|
lastName: string;
|
|
1000
|
+
birthday: Date;
|
|
999
1001
|
identificationType: "dni";
|
|
1000
1002
|
identificationValue: string;
|
|
1001
1003
|
gender: "m" | "f";
|
|
1002
1004
|
phone: string;
|
|
1003
1005
|
email: string;
|
|
1004
|
-
language: string;
|
|
1005
|
-
birthday: Date;
|
|
1006
1006
|
}>;
|
|
1007
1007
|
diagnosticaPatient: import("zod").ZodObject<{
|
|
1008
1008
|
firstName: import("zod").ZodString;
|
|
@@ -1014,17 +1014,17 @@ export declare const doc24Schemas: {
|
|
|
1014
1014
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1015
1015
|
firstName: string;
|
|
1016
1016
|
lastName: string;
|
|
1017
|
+
birthday: Date;
|
|
1017
1018
|
identificationType: "dni";
|
|
1018
1019
|
identificationValue: string;
|
|
1019
1020
|
gender: "m" | "f";
|
|
1020
|
-
birthday: Date;
|
|
1021
1021
|
}, {
|
|
1022
1022
|
firstName: string;
|
|
1023
1023
|
lastName: string;
|
|
1024
|
+
birthday: Date;
|
|
1024
1025
|
identificationType: "dni";
|
|
1025
1026
|
identificationValue: string;
|
|
1026
1027
|
gender: "m" | "f";
|
|
1027
|
-
birthday: Date;
|
|
1028
1028
|
}>;
|
|
1029
1029
|
diagnosticaDeepLinkResponse: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1030
1030
|
forwardingRequired: import("zod").ZodLiteral<true>;
|
|
@@ -1068,9 +1068,9 @@ export declare const doc24Schemas: {
|
|
|
1068
1068
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1069
1069
|
firstName: string | null;
|
|
1070
1070
|
lastName: string | null;
|
|
1071
|
-
birthdate: Date;
|
|
1072
1071
|
gender: "m" | "f";
|
|
1073
1072
|
email: string | null;
|
|
1073
|
+
birthdate: Date;
|
|
1074
1074
|
identificationNumber: string;
|
|
1075
1075
|
plan: string | null;
|
|
1076
1076
|
financerId: number | null;
|
|
@@ -1091,9 +1091,9 @@ export declare const doc24Schemas: {
|
|
|
1091
1091
|
}, {
|
|
1092
1092
|
firstName: string | null;
|
|
1093
1093
|
lastName: string | null;
|
|
1094
|
-
birthdate: Date;
|
|
1095
1094
|
gender: "m" | "f";
|
|
1096
1095
|
email: string | null;
|
|
1096
|
+
birthdate: Date;
|
|
1097
1097
|
identificationNumber: string;
|
|
1098
1098
|
plan: string | null;
|
|
1099
1099
|
financerId: number | null;
|
|
@@ -1112,194 +1112,4 @@ export declare const doc24Schemas: {
|
|
|
1112
1112
|
authorizationCode: string | null;
|
|
1113
1113
|
authorizationCodeExpiration: Date | null;
|
|
1114
1114
|
}>>;
|
|
1115
|
-
sendVerificationCodeParams: import("zod").ZodObject<{
|
|
1116
|
-
identificationType: import("zod").ZodEnum<["ndi", "passport", "credential"]>;
|
|
1117
|
-
identificationValue: import("zod").ZodString;
|
|
1118
|
-
channel: import("zod").ZodEnum<["1", "2"]>;
|
|
1119
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1120
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1121
|
-
identificationValue: string;
|
|
1122
|
-
channel: "1" | "2";
|
|
1123
|
-
}, {
|
|
1124
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1125
|
-
identificationValue: string;
|
|
1126
|
-
channel: "1" | "2";
|
|
1127
|
-
}>;
|
|
1128
|
-
declareUserParams: import("zod").ZodObject<{
|
|
1129
|
-
user: import("zod").ZodObject<import("zod").extendShape<{
|
|
1130
|
-
firstName: import("zod").ZodString;
|
|
1131
|
-
lastName: import("zod").ZodString;
|
|
1132
|
-
identificationType: import("zod").ZodEnum<["ndi", "passport", "credential"]>;
|
|
1133
|
-
identificationValue: import("zod").ZodString;
|
|
1134
|
-
countryId: import("zod").ZodString;
|
|
1135
|
-
birthdate: import("zod").ZodDate;
|
|
1136
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1137
|
-
}, {
|
|
1138
|
-
phone: import("zod").ZodString;
|
|
1139
|
-
email: import("zod").ZodString;
|
|
1140
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
|
1141
|
-
firstName: string;
|
|
1142
|
-
lastName: string;
|
|
1143
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1144
|
-
identificationValue: string;
|
|
1145
|
-
countryId: string;
|
|
1146
|
-
birthdate: Date;
|
|
1147
|
-
gender: "m" | "f";
|
|
1148
|
-
phone: string;
|
|
1149
|
-
email: string;
|
|
1150
|
-
}, {
|
|
1151
|
-
firstName: string;
|
|
1152
|
-
lastName: string;
|
|
1153
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1154
|
-
identificationValue: string;
|
|
1155
|
-
countryId: string;
|
|
1156
|
-
birthdate: Date;
|
|
1157
|
-
gender: "m" | "f";
|
|
1158
|
-
phone: string;
|
|
1159
|
-
email: string;
|
|
1160
|
-
}>;
|
|
1161
|
-
channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
|
|
1162
|
-
code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1163
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1164
|
-
code?: string | undefined;
|
|
1165
|
-
channel?: "1" | "2" | undefined;
|
|
1166
|
-
user: {
|
|
1167
|
-
firstName: string;
|
|
1168
|
-
lastName: string;
|
|
1169
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1170
|
-
identificationValue: string;
|
|
1171
|
-
countryId: string;
|
|
1172
|
-
birthdate: Date;
|
|
1173
|
-
gender: "m" | "f";
|
|
1174
|
-
phone: string;
|
|
1175
|
-
email: string;
|
|
1176
|
-
};
|
|
1177
|
-
}, {
|
|
1178
|
-
code?: string | undefined;
|
|
1179
|
-
channel?: "1" | "2" | undefined;
|
|
1180
|
-
user: {
|
|
1181
|
-
firstName: string;
|
|
1182
|
-
lastName: string;
|
|
1183
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1184
|
-
identificationValue: string;
|
|
1185
|
-
countryId: string;
|
|
1186
|
-
birthdate: Date;
|
|
1187
|
-
gender: "m" | "f";
|
|
1188
|
-
phone: string;
|
|
1189
|
-
email: string;
|
|
1190
|
-
};
|
|
1191
|
-
}>;
|
|
1192
|
-
declareUserResponse: import("zod").ZodObject<import("zod").extendShape<{
|
|
1193
|
-
patientId: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1194
|
-
userInfo: import("zod").ZodObject<{
|
|
1195
|
-
email: import("zod").ZodString;
|
|
1196
|
-
phone: import("zod").ZodString;
|
|
1197
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1198
|
-
phone: string;
|
|
1199
|
-
email: string;
|
|
1200
|
-
}, {
|
|
1201
|
-
phone: string;
|
|
1202
|
-
email: string;
|
|
1203
|
-
}>;
|
|
1204
|
-
askCode: import("zod").ZodBoolean;
|
|
1205
|
-
}, {
|
|
1206
|
-
userId: import("zod").ZodNumber;
|
|
1207
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
|
1208
|
-
patientId: number | null;
|
|
1209
|
-
userInfo: {
|
|
1210
|
-
phone: string;
|
|
1211
|
-
email: string;
|
|
1212
|
-
};
|
|
1213
|
-
askCode: boolean;
|
|
1214
|
-
userId: number;
|
|
1215
|
-
}, {
|
|
1216
|
-
patientId: number | null;
|
|
1217
|
-
userInfo: {
|
|
1218
|
-
phone: string;
|
|
1219
|
-
email: string;
|
|
1220
|
-
};
|
|
1221
|
-
askCode: boolean;
|
|
1222
|
-
userId: number;
|
|
1223
|
-
}>;
|
|
1224
|
-
declarePatientParams: import("zod").ZodObject<{
|
|
1225
|
-
patient: import("zod").ZodObject<{
|
|
1226
|
-
firstName: import("zod").ZodString;
|
|
1227
|
-
lastName: import("zod").ZodString;
|
|
1228
|
-
identificationType: import("zod").ZodEnum<["ndi", "passport", "credential"]>;
|
|
1229
|
-
identificationValue: import("zod").ZodString;
|
|
1230
|
-
countryId: import("zod").ZodString;
|
|
1231
|
-
birthdate: import("zod").ZodDate;
|
|
1232
|
-
gender: import("zod").ZodEnum<["m", "f"]>;
|
|
1233
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1234
|
-
firstName: string;
|
|
1235
|
-
lastName: string;
|
|
1236
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1237
|
-
identificationValue: string;
|
|
1238
|
-
countryId: string;
|
|
1239
|
-
birthdate: Date;
|
|
1240
|
-
gender: "m" | "f";
|
|
1241
|
-
}, {
|
|
1242
|
-
firstName: string;
|
|
1243
|
-
lastName: string;
|
|
1244
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1245
|
-
identificationValue: string;
|
|
1246
|
-
countryId: string;
|
|
1247
|
-
birthdate: Date;
|
|
1248
|
-
gender: "m" | "f";
|
|
1249
|
-
}>;
|
|
1250
|
-
channel: import("zod").ZodOptional<import("zod").ZodEnum<["1", "2"]>>;
|
|
1251
|
-
code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1252
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1253
|
-
code?: string | undefined;
|
|
1254
|
-
channel?: "1" | "2" | undefined;
|
|
1255
|
-
patient: {
|
|
1256
|
-
firstName: string;
|
|
1257
|
-
lastName: string;
|
|
1258
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1259
|
-
identificationValue: string;
|
|
1260
|
-
countryId: string;
|
|
1261
|
-
birthdate: Date;
|
|
1262
|
-
gender: "m" | "f";
|
|
1263
|
-
};
|
|
1264
|
-
}, {
|
|
1265
|
-
code?: string | undefined;
|
|
1266
|
-
channel?: "1" | "2" | undefined;
|
|
1267
|
-
patient: {
|
|
1268
|
-
firstName: string;
|
|
1269
|
-
lastName: string;
|
|
1270
|
-
identificationType: "ndi" | "passport" | "credential";
|
|
1271
|
-
identificationValue: string;
|
|
1272
|
-
countryId: string;
|
|
1273
|
-
birthdate: Date;
|
|
1274
|
-
gender: "m" | "f";
|
|
1275
|
-
};
|
|
1276
|
-
}>;
|
|
1277
|
-
declarePatientResponse: import("zod").ZodObject<{
|
|
1278
|
-
patientId: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1279
|
-
userInfo: import("zod").ZodObject<{
|
|
1280
|
-
email: import("zod").ZodString;
|
|
1281
|
-
phone: import("zod").ZodString;
|
|
1282
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1283
|
-
phone: string;
|
|
1284
|
-
email: string;
|
|
1285
|
-
}, {
|
|
1286
|
-
phone: string;
|
|
1287
|
-
email: string;
|
|
1288
|
-
}>;
|
|
1289
|
-
askCode: import("zod").ZodBoolean;
|
|
1290
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1291
|
-
patientId: number | null;
|
|
1292
|
-
userInfo: {
|
|
1293
|
-
phone: string;
|
|
1294
|
-
email: string;
|
|
1295
|
-
};
|
|
1296
|
-
askCode: boolean;
|
|
1297
|
-
}, {
|
|
1298
|
-
patientId: number | null;
|
|
1299
|
-
userInfo: {
|
|
1300
|
-
phone: string;
|
|
1301
|
-
email: string;
|
|
1302
|
-
};
|
|
1303
|
-
askCode: boolean;
|
|
1304
|
-
}>;
|
|
1305
1115
|
};
|
package/lib/schemas.js
CHANGED
|
@@ -14,8 +14,6 @@ const basePersonData = zod_1.object({
|
|
|
14
14
|
birthdate: zod_1.date(),
|
|
15
15
|
gender,
|
|
16
16
|
});
|
|
17
|
-
const patient = basePersonData;
|
|
18
|
-
const user = basePersonData.extend({ phone: zod_1.string(), email: zod_1.string() });
|
|
19
17
|
const specialtyMode = zod_1.enum(['appointment', 'chat', 'instant']);
|
|
20
18
|
const specialty = zod_1.object({
|
|
21
19
|
id: zod_1.number(),
|
|
@@ -174,36 +172,12 @@ const coverageInfo = zod_1.object({
|
|
|
174
172
|
authorizationCode: zod_1.string().nullable(),
|
|
175
173
|
authorizationCodeExpiration: zod_1.date().nullable(),
|
|
176
174
|
}).nullable();
|
|
177
|
-
const sendVerificationCodeParams = zod_1.object({
|
|
178
|
-
identificationType,
|
|
179
|
-
identificationValue: zod_1.string(),
|
|
180
|
-
channel: zod_1.enum(['1', '2']),
|
|
181
|
-
});
|
|
182
|
-
const declareUserParams = zod_1.object({
|
|
183
|
-
user,
|
|
184
|
-
channel: zod_1.enum(['1', '2']).optional(),
|
|
185
|
-
code: zod_1.string().optional(),
|
|
186
|
-
});
|
|
187
|
-
const declarePatientParams = zod_1.object({
|
|
188
|
-
patient,
|
|
189
|
-
channel: zod_1.enum(['1', '2']).optional(),
|
|
190
|
-
code: zod_1.string().optional(),
|
|
191
|
-
});
|
|
192
|
-
const declarePatientResponse = zod_1.object({
|
|
193
|
-
patientId: zod_1.number().nullable(),
|
|
194
|
-
userInfo: zod_1.object({
|
|
195
|
-
email: zod_1.string(),
|
|
196
|
-
phone: zod_1.string(),
|
|
197
|
-
}),
|
|
198
|
-
askCode: zod_1.boolean(),
|
|
199
|
-
});
|
|
200
|
-
const declareUserResponse = declarePatientResponse.extend({ userId: zod_1.number() });
|
|
201
175
|
exports.doc24Schemas = {
|
|
202
176
|
identificationType,
|
|
203
177
|
sdkCredentials,
|
|
204
178
|
sdkParams: zod_1.object({ url: zod_1.string(), credentials: sdkCredentials }),
|
|
205
|
-
user,
|
|
206
|
-
patient,
|
|
179
|
+
user: basePersonData.extend({ phone: zod_1.string(), email: zod_1.string() }),
|
|
180
|
+
patient: basePersonData,
|
|
207
181
|
specialtyMode,
|
|
208
182
|
specialty,
|
|
209
183
|
scheduleAvailabilityFilter,
|
|
@@ -317,9 +291,4 @@ exports.doc24Schemas = {
|
|
|
317
291
|
diagnosticaPatient,
|
|
318
292
|
diagnosticaDeepLinkResponse,
|
|
319
293
|
coverageInfo,
|
|
320
|
-
sendVerificationCodeParams,
|
|
321
|
-
declareUserParams,
|
|
322
|
-
declareUserResponse,
|
|
323
|
-
declarePatientParams,
|
|
324
|
-
declarePatientResponse,
|
|
325
294
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { RequestMaker } from '../request';
|
|
2
|
+
export declare const getDiagnosticaMethods: (makeRequest: RequestMaker) => {
|
|
3
|
+
getDiagnosticaHistory: (patient: {
|
|
4
|
+
identificationType: "ndi" | "passport" | "credential";
|
|
5
|
+
identificationValue: string;
|
|
6
|
+
gender: "m" | "f";
|
|
7
|
+
}, from: Date, to: Date) => Promise<{
|
|
8
|
+
date: Date;
|
|
9
|
+
location: string;
|
|
10
|
+
exams: string[];
|
|
11
|
+
deepLink: string;
|
|
12
|
+
}[]>;
|
|
13
|
+
getDiagnosticaDeepLink: (kiosk: string, user: {
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
identificationType: "dni";
|
|
17
|
+
identificationValue: string;
|
|
18
|
+
gender: "m" | "f";
|
|
19
|
+
phone: string;
|
|
20
|
+
email: string;
|
|
21
|
+
language: string;
|
|
22
|
+
birthday: Date;
|
|
23
|
+
}, patient: {
|
|
24
|
+
firstName: string;
|
|
25
|
+
lastName: string;
|
|
26
|
+
identificationType: "dni";
|
|
27
|
+
identificationValue: string;
|
|
28
|
+
gender: "m" | "f";
|
|
29
|
+
birthday: Date;
|
|
30
|
+
}) => Promise<{
|
|
31
|
+
forwardingRequired: true;
|
|
32
|
+
deepLink: string;
|
|
33
|
+
} | {
|
|
34
|
+
forwardingRequired: false;
|
|
35
|
+
}>;
|
|
36
|
+
getDiagnosticaAccess: (kiosk: string, user: {
|
|
37
|
+
firstName: string;
|
|
38
|
+
lastName: string;
|
|
39
|
+
identificationType: "dni";
|
|
40
|
+
identificationValue: string;
|
|
41
|
+
gender: "m" | "f";
|
|
42
|
+
phone: string;
|
|
43
|
+
email: string;
|
|
44
|
+
language: string;
|
|
45
|
+
birthday: Date;
|
|
46
|
+
}, patient: {
|
|
47
|
+
firstName: string;
|
|
48
|
+
lastName: string;
|
|
49
|
+
identificationType: "dni";
|
|
50
|
+
identificationValue: string;
|
|
51
|
+
gender: "m" | "f";
|
|
52
|
+
birthday: Date;
|
|
53
|
+
}) => Promise<void>;
|
|
54
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getDiagnosticaMethods = void 0;
|
|
4
|
+
const date_fns_1 = require("date-fns");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const validation_1 = require("../request/validation");
|
|
7
|
+
const schemas_1 = require("../schemas");
|
|
8
|
+
const getDiagnosticaMethods = (makeRequest) => {
|
|
9
|
+
const getDiagnosticaHistory = validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.diagnosticaPatientFilter, zod_1.date(), zod_1.date()]), schemas_1.doc24Schemas.diagnosticaHistoryAppointment.array(), async (patient, from, to) => {
|
|
10
|
+
const path = '/history-diagnostica';
|
|
11
|
+
const response = await makeRequest('POST', path, {
|
|
12
|
+
patient: {
|
|
13
|
+
gender: patient.gender,
|
|
14
|
+
id_type: patient.identificationType === 'ndi'
|
|
15
|
+
? 'DNI'
|
|
16
|
+
: patient.identificationType,
|
|
17
|
+
id_value: patient.identificationValue,
|
|
18
|
+
},
|
|
19
|
+
dateFrom: from.toISOString(),
|
|
20
|
+
dateTo: to.toISOString(),
|
|
21
|
+
});
|
|
22
|
+
const list = response.data.info;
|
|
23
|
+
return list.map((i) => ({
|
|
24
|
+
date: new Date(Date.parse(i.date)),
|
|
25
|
+
location: i.location,
|
|
26
|
+
exams: i.exams,
|
|
27
|
+
deepLink: i.deeplink,
|
|
28
|
+
}));
|
|
29
|
+
});
|
|
30
|
+
const getDiagnosticaDeepLink = validation_1.validateFunction(zod_1.tuple([
|
|
31
|
+
zod_1.string(),
|
|
32
|
+
schemas_1.doc24Schemas.diagnosticaUser,
|
|
33
|
+
schemas_1.doc24Schemas.diagnosticaPatient,
|
|
34
|
+
]), schemas_1.doc24Schemas.diagnosticaDeepLinkResponse, async (kiosk, user, patient) => {
|
|
35
|
+
const path = '/deeplink-diagnostica';
|
|
36
|
+
const response = await makeRequest('POST', path, {
|
|
37
|
+
kiosk,
|
|
38
|
+
user: mapUserData(user),
|
|
39
|
+
patient: mapPatientData(patient),
|
|
40
|
+
});
|
|
41
|
+
const data = response.data.info.data;
|
|
42
|
+
if (data.forwarding_required)
|
|
43
|
+
return { forwardingRequired: true, deepLink: data.deeplink };
|
|
44
|
+
return { forwardingRequired: false };
|
|
45
|
+
});
|
|
46
|
+
const getDiagnosticaAccess = validation_1.validateFunction(zod_1.tuple([
|
|
47
|
+
zod_1.string(),
|
|
48
|
+
schemas_1.doc24Schemas.diagnosticaUser,
|
|
49
|
+
schemas_1.doc24Schemas.diagnosticaPatient,
|
|
50
|
+
]), zod_1.void(), async (kiosk, user, patient) => {
|
|
51
|
+
const path = '/access-diagnostica';
|
|
52
|
+
await makeRequest('POST', path, {
|
|
53
|
+
kiosk,
|
|
54
|
+
user: mapUserData(user),
|
|
55
|
+
patient: mapPatientData(patient),
|
|
56
|
+
});
|
|
57
|
+
return;
|
|
58
|
+
});
|
|
59
|
+
return { getDiagnosticaHistory, getDiagnosticaDeepLink, getDiagnosticaAccess };
|
|
60
|
+
};
|
|
61
|
+
exports.getDiagnosticaMethods = getDiagnosticaMethods;
|
|
62
|
+
const mapPatientData = (patient) => {
|
|
63
|
+
return {
|
|
64
|
+
name: patient.firstName,
|
|
65
|
+
surname: patient.lastName,
|
|
66
|
+
birthday: date_fns_1.format(patient.birthday, 'yyyy-MM-dd'),
|
|
67
|
+
id_type: 'DNI',
|
|
68
|
+
id_value: patient.identificationValue,
|
|
69
|
+
gender: patient.gender.toLocaleUpperCase(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
const mapUserData = (user) => {
|
|
73
|
+
return {
|
|
74
|
+
...mapPatientData(user),
|
|
75
|
+
phone: user.phone,
|
|
76
|
+
email: user.email,
|
|
77
|
+
language: user.language,
|
|
78
|
+
};
|
|
79
|
+
};
|