@integraciones_doc24/sdk 1.9.0 → 1.9.1

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.
@@ -145,7 +145,7 @@ export declare const getExternalMethods: (makeRequest: RequestMaker) => {
145
145
  birthdate: Date;
146
146
  channel: "1" | "2";
147
147
  identificationNumber: string;
148
- }) => Promise<any>;
148
+ }) => Promise<void>;
149
149
  verifyExternalVerificationCode: (params: {
150
150
  code: string;
151
151
  birthdate: Date;
@@ -23,13 +23,13 @@ const getExternalMethods = (makeRequest) => {
23
23
  };
24
24
  const preExternalEnrollment = async (params) => {
25
25
  const path = '/pre-external-enrollment';
26
- const response = await makeRequest('POST', path, {
26
+ await makeRequest('POST', path, {
27
27
  identification_number: params.identificationNumber,
28
28
  birthdate: date_fns_1.format(params.birthdate, 'yyyy-MM-dd'),
29
29
  email: params.email,
30
30
  telephone: params.phone,
31
31
  });
32
- return response.data;
32
+ return;
33
33
  };
34
34
  const externalEnrollment = async (params) => {
35
35
  const path = '/external-enrollment';
@@ -88,7 +88,7 @@ const getExternalMethods = (makeRequest) => {
88
88
  externalLogin: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalLoginParams]), schemas_1.doc24Schemas.externalLoginResponse, externalLogin),
89
89
  preExternalEnrollment: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.preExternalEnrollmentParams]), zod_1.void(), preExternalEnrollment),
90
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.any(), sendExternalVerificationCode),
91
+ sendExternalVerificationCode: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.sendExternalVerificationCodeParams]), zod_1.void(), sendExternalVerificationCode),
92
92
  verifyExternalVerificationCode: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.verifyExternalVerificationCodeParams]), zod_1.any(), verifyExternalVerificationCode),
93
93
  externalResetPassword: validation_1.validateFunction(zod_1.tuple([schemas_1.doc24Schemas.externalResetPasswordParams]), zod_1.any(), externalResetPassword),
94
94
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integraciones_doc24/sdk",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },