@integraciones_doc24/sdk 1.15.10 → 1.15.12

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.
Files changed (44) hide show
  1. package/README.md +202 -202
  2. package/lib/baseSdk/diagnostica.d.ts +54 -54
  3. package/lib/baseSdk/diagnostica.js +82 -82
  4. package/lib/baseSdk/external.d.ts +177 -177
  5. package/lib/baseSdk/external.js +96 -96
  6. package/lib/baseSdk/index.d.ts +2 -2
  7. package/lib/baseSdk/index.js +74 -73
  8. package/lib/baseSdk/user.d.ts +91 -91
  9. package/lib/baseSdk/user.js +136 -136
  10. package/lib/index.d.ts +365 -364
  11. package/lib/index.js +22 -22
  12. package/lib/request/index.d.ts +3 -3
  13. package/lib/request/index.js +26 -26
  14. package/lib/request/token.d.ts +2 -2
  15. package/lib/request/token.js +34 -34
  16. package/lib/request/validation.d.ts +10 -10
  17. package/lib/request/validation.js +28 -28
  18. package/lib/schemas.d.ts +1822 -1813
  19. package/lib/schemas.js +421 -419
  20. package/lib/types.d.ts +146 -146
  21. package/lib/types.js +2 -2
  22. package/lib/userSdk/chat.d.ts +57 -57
  23. package/lib/userSdk/chat.js +98 -98
  24. package/lib/userSdk/external.d.ts +34 -34
  25. package/lib/userSdk/external.js +72 -72
  26. package/lib/userSdk/index.d.ts +2 -2
  27. package/lib/userSdk/index.js +30 -30
  28. package/lib/userSdk/patients.d.ts +38 -38
  29. package/lib/userSdk/patients.js +67 -67
  30. package/lib/userSdk/schedule.d.ts +47 -47
  31. package/lib/userSdk/schedule.js +81 -81
  32. package/lib/userSdk/specialties.d.ts +7 -7
  33. package/lib/userSdk/specialties.js +19 -19
  34. package/lib/userSdk/videoVisit.d.ts +115 -113
  35. package/lib/userSdk/videoVisit.js +155 -154
  36. package/lib/utils.d.ts +2 -2
  37. package/lib/utils.js +16 -16
  38. package/lib/webhook/index.d.ts +2 -2
  39. package/lib/webhook/index.js +56 -56
  40. package/lib/webhook/responses.d.ts +35 -35
  41. package/lib/webhook/responses.js +42 -42
  42. package/lib/webhook/token.d.ts +2 -2
  43. package/lib/webhook/token.js +23 -23
  44. package/package.json +36 -36
@@ -1,96 +1,96 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getExternalMethods = 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 getExternalMethods = (makeRequest) => {
9
- const externalLogin = async ({ user, password, }) => {
10
- const path = '/external-login';
11
- const response = await makeRequest('POST', path, { user, password });
12
- const info = response.data.login_info;
13
- return {
14
- firstName: info.firstname,
15
- lastName: info.lastname,
16
- countryId: info.country_id,
17
- birthday: new Date(Date.parse(info.birthdate)),
18
- identificationNumber: info.identification_number,
19
- gender: info.gender.toLowerCase(),
20
- email: info.email,
21
- phone: info.telephone,
22
- };
23
- };
24
- const preExternalEnrollment = async (params) => {
25
- const path = '/pre-external-enrollment';
26
- await makeRequest('POST', path, {
27
- identification_number: params.identificationNumber,
28
- birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
29
- email: params.email,
30
- telephone: params.phone,
31
- });
32
- return;
33
- };
34
- const externalEnrollment = async (params) => {
35
- const path = '/external-enrollment';
36
- const response = await makeRequest('POST', path, {
37
- identification_number: params.identificationNumber,
38
- birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
39
- email: params.email,
40
- telephone: params.phone,
41
- password: params.password,
42
- email_code: params.emailCode,
43
- telephone_code: params.phoneCode,
44
- });
45
- const info = response.data.info;
46
- return {
47
- firstName: info.firstname,
48
- lastName: info.lastname,
49
- countryId: info.country_id,
50
- birthday: new Date(Date.parse(info.birthdate)),
51
- identificationNumber: info.identification_number,
52
- gender: info.gender.toLowerCase(),
53
- email: info.email,
54
- phone: info.telephone,
55
- };
56
- };
57
- const sendExternalVerificationCode = async (params) => {
58
- const path = '/send-external-verification-code';
59
- await makeRequest('POST', path, {
60
- identification_number: params.identificationNumber,
61
- birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
62
- channel: params.channel,
63
- });
64
- return;
65
- };
66
- const verifyExternalVerificationCode = async (params) => {
67
- const path = '/verify-external-verification-code';
68
- const response = await makeRequest('POST', path, {
69
- identification_number: params.identificationNumber,
70
- birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
71
- channel: params.channel,
72
- code: params.code,
73
- });
74
- return response.data;
75
- };
76
- const externalResetPassword = async (params) => {
77
- const path = '/external-reset';
78
- const response = await makeRequest('POST', path, {
79
- identification_number: params.identificationNumber,
80
- birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
81
- password: params.password,
82
- email_code: params.emailCode,
83
- telephone_code: params.phoneCode,
84
- });
85
- return response.data;
86
- };
87
- return {
88
- externalLogin: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalLoginParams]), schemas_1.doc24Schemas.externalLoginResponse, externalLogin),
89
- preExternalEnrollment: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.preExternalEnrollmentParams]), zod_1.void(), preExternalEnrollment),
90
- externalEnrollment: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalEnrollmentParams]), schemas_1.doc24Schemas.externalLoginResponse, externalEnrollment),
91
- sendExternalVerificationCode: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.sendExternalVerificationCodeParams]), zod_1.void(), sendExternalVerificationCode),
92
- verifyExternalVerificationCode: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.verifyExternalVerificationCodeParams]), zod_1.any(), verifyExternalVerificationCode),
93
- externalResetPassword: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalResetPasswordParams]), zod_1.any(), externalResetPassword),
94
- };
95
- };
96
- exports.getExternalMethods = getExternalMethods;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getExternalMethods = 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 getExternalMethods = (makeRequest) => {
9
+ const externalLogin = async ({ user, password, }) => {
10
+ const path = '/external-login';
11
+ const response = await makeRequest('POST', path, { user, password });
12
+ const info = response.data.login_info;
13
+ return {
14
+ firstName: info.firstname,
15
+ lastName: info.lastname,
16
+ countryId: info.country_id,
17
+ birthday: new Date(Date.parse(info.birthdate)),
18
+ identificationNumber: info.identification_number,
19
+ gender: info.gender.toLowerCase(),
20
+ email: info.email,
21
+ phone: info.telephone,
22
+ };
23
+ };
24
+ const preExternalEnrollment = async (params) => {
25
+ const path = '/pre-external-enrollment';
26
+ await makeRequest('POST', path, {
27
+ identification_number: params.identificationNumber,
28
+ birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
29
+ email: params.email,
30
+ telephone: params.phone,
31
+ });
32
+ return;
33
+ };
34
+ const externalEnrollment = async (params) => {
35
+ const path = '/external-enrollment';
36
+ const response = await makeRequest('POST', path, {
37
+ identification_number: params.identificationNumber,
38
+ birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
39
+ email: params.email,
40
+ telephone: params.phone,
41
+ password: params.password,
42
+ email_code: params.emailCode,
43
+ telephone_code: params.phoneCode,
44
+ });
45
+ const info = response.data.info;
46
+ return {
47
+ firstName: info.firstname,
48
+ lastName: info.lastname,
49
+ countryId: info.country_id,
50
+ birthday: new Date(Date.parse(info.birthdate)),
51
+ identificationNumber: info.identification_number,
52
+ gender: info.gender.toLowerCase(),
53
+ email: info.email,
54
+ phone: info.telephone,
55
+ };
56
+ };
57
+ const sendExternalVerificationCode = async (params) => {
58
+ const path = '/send-external-verification-code';
59
+ await makeRequest('POST', path, {
60
+ identification_number: params.identificationNumber,
61
+ birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
62
+ channel: params.channel,
63
+ });
64
+ return;
65
+ };
66
+ const verifyExternalVerificationCode = async (params) => {
67
+ const path = '/verify-external-verification-code';
68
+ const response = await makeRequest('POST', path, {
69
+ identification_number: params.identificationNumber,
70
+ birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
71
+ channel: params.channel,
72
+ code: params.code,
73
+ });
74
+ return response.data;
75
+ };
76
+ const externalResetPassword = async (params) => {
77
+ const path = '/external-reset';
78
+ const response = await makeRequest('POST', path, {
79
+ identification_number: params.identificationNumber,
80
+ birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
81
+ password: params.password,
82
+ email_code: params.emailCode,
83
+ telephone_code: params.phoneCode,
84
+ });
85
+ return response.data;
86
+ };
87
+ return {
88
+ externalLogin: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalLoginParams]), schemas_1.doc24Schemas.externalLoginResponse, externalLogin),
89
+ preExternalEnrollment: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.preExternalEnrollmentParams]), zod_1.void(), preExternalEnrollment),
90
+ externalEnrollment: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalEnrollmentParams]), schemas_1.doc24Schemas.externalLoginResponse, externalEnrollment),
91
+ sendExternalVerificationCode: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.sendExternalVerificationCodeParams]), zod_1.void(), sendExternalVerificationCode),
92
+ verifyExternalVerificationCode: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.verifyExternalVerificationCodeParams]), zod_1.any(), verifyExternalVerificationCode),
93
+ externalResetPassword: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalResetPasswordParams]), zod_1.any(), externalResetPassword),
94
+ };
95
+ };
96
+ exports.getExternalMethods = getExternalMethods;
@@ -1,2 +1,2 @@
1
- import { Doc24 } from '../types';
2
- export declare const getBaseSdk: (url: string, credentials: Doc24.SdkCredentials) => Promise<Doc24.BaseSdk>;
1
+ import { Doc24 } from '../types';
2
+ export declare const getBaseSdk: (url: string, credentials: Doc24.SdkCredentials) => Promise<Doc24.BaseSdk>;
@@ -1,73 +1,74 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBaseSdk = void 0;
4
- const zod_1 = require("zod");
5
- const request_1 = require("../request");
6
- const validation_1 = require("../request/validation");
7
- const schemas_1 = require("../schemas");
8
- const utils_1 = require("../utils");
9
- const diagnostica_1 = require("./diagnostica");
10
- const user_1 = require("./user");
11
- const external_1 = require("./external");
12
- const getBaseSdk = async (url, credentials) => {
13
- const makeRequest = await request_1.getRequestFactory(url, credentials);
14
- const diagnosticaMethods = diagnostica_1.getDiagnosticaMethods(makeRequest);
15
- const externalMethods = external_1.getExternalMethods(makeRequest);
16
- const userMethods = user_1.getUserMethods(makeRequest, url, credentials);
17
- const baseSdk = {
18
- ...diagnosticaMethods,
19
- ...externalMethods,
20
- ...userMethods,
21
- getProfessional: validation_1.validateFunction(zod_1.tuple([zod_1.number()]), schemas_1.doc24Schemas.professional, async (professionalId) => {
22
- const path = `/professional/${professionalId}`;
23
- const response = await makeRequest('GET', path);
24
- const raw = response.data;
25
- return {
26
- id: raw.professional_id,
27
- firstName: raw.name,
28
- lastName: raw.lastname,
29
- birthdate: utils_1.parseDate(raw.birthdate),
30
- gender: raw.gender.toLowerCase(),
31
- email: raw.email,
32
- phone: raw.phone,
33
- logoUrl: raw.image,
34
- matriculation: raw.matriculation,
35
- specialties: raw.specialties.map((s) => ({
36
- id: s.specialty_id,
37
- description: s.specialty,
38
- })),
39
- degree: raw.degree,
40
- languages: raw.languages.map((l) => l.languages),
41
- resume: {
42
- link: raw.resume_link,
43
- brief: raw.resume_brief,
44
- },
45
- };
46
- }),
47
- getAvailableScheduleClinics: validation_1.validateFunction(zod_1.tuple([]), schemas_1.doc24Schemas.availableScheduleClinics, async () => {
48
- const path = `/schedule/clinics`;
49
- const response = await makeRequest('GET', path);
50
- const mapSpeciality = (s) => ({
51
- id: s.id_especialidad,
52
- description: s.especialidad,
53
- });
54
- const mapSpecialityER = (s) => ({
55
- id: s.specialty_id,
56
- description: s.specialty,
57
- });
58
- const mapped = {
59
- specialties: response.data.specialties.map(mapSpeciality),
60
- specialtiesER: response.data.specialties_er.map(mapSpecialityER),
61
- professionals: response.data.professionals.map((p) => ({
62
- id: p.id_profesional,
63
- fullName: p.denominacion,
64
- clinicId: p.id_consultorio,
65
- specialties: p.especialidades.map(mapSpeciality),
66
- })),
67
- };
68
- return mapped;
69
- }),
70
- };
71
- return baseSdk;
72
- };
73
- exports.getBaseSdk = getBaseSdk;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getBaseSdk = void 0;
4
+ const zod_1 = require("zod");
5
+ const request_1 = require("../request");
6
+ const validation_1 = require("../request/validation");
7
+ const schemas_1 = require("../schemas");
8
+ const utils_1 = require("../utils");
9
+ const diagnostica_1 = require("./diagnostica");
10
+ const user_1 = require("./user");
11
+ const external_1 = require("./external");
12
+ const getBaseSdk = async (url, credentials) => {
13
+ const makeRequest = await request_1.getRequestFactory(url, credentials);
14
+ const diagnosticaMethods = diagnostica_1.getDiagnosticaMethods(makeRequest);
15
+ const externalMethods = external_1.getExternalMethods(makeRequest);
16
+ const userMethods = user_1.getUserMethods(makeRequest, url, credentials);
17
+ const baseSdk = {
18
+ ...diagnosticaMethods,
19
+ ...externalMethods,
20
+ ...userMethods,
21
+ getProfessional: validation_1.validateFunction(zod_1.tuple([zod_1.number()]), schemas_1.doc24Schemas.professional, async (professionalId) => {
22
+ const path = `/professional/${professionalId}`;
23
+ const response = await makeRequest('GET', path);
24
+ const raw = response.data;
25
+ return {
26
+ id: raw.professional_id,
27
+ firstName: raw.name,
28
+ lastName: raw.lastname,
29
+ birthdate: utils_1.parseDate(raw.birthdate),
30
+ gender: raw.gender.toLowerCase(),
31
+ email: raw.email,
32
+ phone: raw.phone,
33
+ logoUrl: raw.image,
34
+ matriculation: raw.matriculation,
35
+ specialties: raw.specialties.map((s) => ({
36
+ id: s.specialty_id,
37
+ description: s.specialty,
38
+ })),
39
+ degree: raw.degree,
40
+ languages: raw.languages.map((l) => l.languages),
41
+ resume: {
42
+ link: raw.resume_link,
43
+ brief: raw.resume_brief,
44
+ },
45
+ consultation_value: raw.consultation_value
46
+ };
47
+ }),
48
+ getAvailableScheduleClinics: validation_1.validateFunction(zod_1.tuple([]), schemas_1.doc24Schemas.availableScheduleClinics, async () => {
49
+ const path = `/schedule/clinics`;
50
+ const response = await makeRequest('GET', path);
51
+ const mapSpeciality = (s) => ({
52
+ id: s.id_especialidad,
53
+ description: s.especialidad,
54
+ });
55
+ const mapSpecialityER = (s) => ({
56
+ id: s.specialty_id,
57
+ description: s.specialty,
58
+ });
59
+ const mapped = {
60
+ specialties: response.data.specialties.map(mapSpeciality),
61
+ specialtiesER: response.data.specialties_er.map(mapSpecialityER),
62
+ professionals: response.data.professionals.map((p) => ({
63
+ id: p.id_profesional,
64
+ fullName: p.denominacion,
65
+ clinicId: p.id_consultorio,
66
+ specialties: p.especialidades.map(mapSpeciality),
67
+ })),
68
+ };
69
+ return mapped;
70
+ }),
71
+ };
72
+ return baseSdk;
73
+ };
74
+ exports.getBaseSdk = getBaseSdk;
@@ -1,91 +1,91 @@
1
- import { RequestMaker } from '../request';
2
- import { Doc24 } from '../types';
3
- export declare const getUserMethods: (makeRequest: RequestMaker, url: string, credentials: Doc24.SdkCredentials) => {
4
- declareUser: (params: {
5
- user: {
6
- identificationType?: number | undefined;
7
- identificationValue?: string | undefined;
8
- gender?: "m" | "f" | "o" | undefined;
9
- phone?: string | undefined;
10
- firstName: string;
11
- lastName: string;
12
- countryId: string;
13
- birthdate: Date;
14
- email: string;
15
- };
16
- } & {
17
- code?: string | undefined;
18
- channel?: "1" | "2" | undefined;
19
- }) => Promise<{
20
- askCode: true;
21
- userInfo: {
22
- phone: string;
23
- email: string;
24
- };
25
- } | {
26
- patientId: number | null;
27
- askCode: false;
28
- userId: number;
29
- }>;
30
- getUserId: (user: {
31
- identificationType?: number | undefined;
32
- identificationValue?: string | undefined;
33
- gender?: "m" | "f" | "o" | undefined;
34
- phone?: string | undefined;
35
- firstName: string;
36
- lastName: string;
37
- countryId: string;
38
- birthdate: Date;
39
- email: string;
40
- }) => Promise<number>;
41
- sendVerificationCode: (params: {
42
- identificationType: number;
43
- identificationValue: string;
44
- channel: "1" | "2";
45
- }) => Promise<void>;
46
- getUserInstance: (user: number | {
47
- identificationType?: number | undefined;
48
- identificationValue?: string | undefined;
49
- gender?: "m" | "f" | "o" | undefined;
50
- phone?: string | undefined;
51
- firstName: string;
52
- lastName: string;
53
- countryId: string;
54
- birthdate: Date;
55
- email: string;
56
- }) => Promise<any>;
57
- enroll: (params: {
58
- gender?: "m" | "f" | "o" | undefined;
59
- firstName: string;
60
- lastName: string;
61
- birthdate: Date;
62
- email: string;
63
- identificationNumber: string;
64
- startDate: Date;
65
- plan: string;
66
- }) => Promise<void>;
67
- getCoverageInfo: (identificationValue: string) => Promise<{
68
- gender?: "m" | "f" | "o" | undefined;
69
- firstName: string | null;
70
- lastName: string | null;
71
- birthdate: Date;
72
- email: string | null;
73
- identificationNumber: string;
74
- plan: string | null;
75
- financerId: number | null;
76
- defaultAffiliationId: number | null;
77
- credentialNumber: string | null;
78
- financerPlanId: number | null;
79
- brand: number | null;
80
- holderIdentificationNumber: string | null;
81
- copaymentValue: number | null;
82
- mobilePhone: string | null;
83
- company: string | null;
84
- dischargeDate: Date | null;
85
- leavingDate: Date | null;
86
- identificacion_tributaria: string | null;
87
- deregistrationDate: Date | null;
88
- authorizationCode: string | null;
89
- authorizationCodeExpiration: Date | null;
90
- } | null>;
91
- };
1
+ import { RequestMaker } from '../request';
2
+ import { Doc24 } from '../types';
3
+ export declare const getUserMethods: (makeRequest: RequestMaker, url: string, credentials: Doc24.SdkCredentials) => {
4
+ declareUser: (params: {
5
+ user: {
6
+ identificationType?: number | undefined;
7
+ identificationValue?: string | undefined;
8
+ gender?: "m" | "f" | "o" | undefined;
9
+ phone?: string | undefined;
10
+ firstName: string;
11
+ lastName: string;
12
+ countryId: string;
13
+ birthdate: Date;
14
+ email: string;
15
+ };
16
+ } & {
17
+ code?: string | undefined;
18
+ channel?: "1" | "2" | undefined;
19
+ }) => Promise<{
20
+ askCode: true;
21
+ userInfo: {
22
+ phone: string;
23
+ email: string;
24
+ };
25
+ } | {
26
+ patientId: number | null;
27
+ askCode: false;
28
+ userId: number;
29
+ }>;
30
+ getUserId: (user: {
31
+ identificationType?: number | undefined;
32
+ identificationValue?: string | undefined;
33
+ gender?: "m" | "f" | "o" | undefined;
34
+ phone?: string | undefined;
35
+ firstName: string;
36
+ lastName: string;
37
+ countryId: string;
38
+ birthdate: Date;
39
+ email: string;
40
+ }) => Promise<number>;
41
+ sendVerificationCode: (params: {
42
+ identificationType: number;
43
+ identificationValue: string;
44
+ channel: "1" | "2";
45
+ }) => Promise<void>;
46
+ getUserInstance: (user: number | {
47
+ identificationType?: number | undefined;
48
+ identificationValue?: string | undefined;
49
+ gender?: "m" | "f" | "o" | undefined;
50
+ phone?: string | undefined;
51
+ firstName: string;
52
+ lastName: string;
53
+ countryId: string;
54
+ birthdate: Date;
55
+ email: string;
56
+ }) => Promise<any>;
57
+ enroll: (params: {
58
+ gender?: "m" | "f" | "o" | undefined;
59
+ firstName: string;
60
+ lastName: string;
61
+ birthdate: Date;
62
+ email: string;
63
+ identificationNumber: string;
64
+ startDate: Date;
65
+ plan: string;
66
+ }) => Promise<void>;
67
+ getCoverageInfo: (identificationValue: string) => Promise<{
68
+ gender?: "m" | "f" | "o" | undefined;
69
+ firstName: string | null;
70
+ lastName: string | null;
71
+ birthdate: Date;
72
+ email: string | null;
73
+ identificationNumber: string;
74
+ plan: string | null;
75
+ financerId: number | null;
76
+ defaultAffiliationId: number | null;
77
+ credentialNumber: string | null;
78
+ financerPlanId: number | null;
79
+ brand: number | null;
80
+ holderIdentificationNumber: string | null;
81
+ copaymentValue: number | null;
82
+ mobilePhone: string | null;
83
+ company: string | null;
84
+ dischargeDate: Date | null;
85
+ leavingDate: Date | null;
86
+ identificacion_tributaria: string | null;
87
+ deregistrationDate: Date | null;
88
+ authorizationCode: string | null;
89
+ authorizationCodeExpiration: Date | null;
90
+ } | null>;
91
+ };