@integraciones_doc24/sdk 0.39.0 → 0.39.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.
package/lib/schemas.d.ts CHANGED
@@ -1113,13 +1113,13 @@ export declare const doc24Schemas: {
1113
1113
  authorizationCodeExpiration: Date | null;
1114
1114
  }>>;
1115
1115
  oldIdentificaiton: import("zod").ZodObject<{
1116
- identificationType: import("zod").ZodLiteral<"nn">;
1116
+ identificationType: import("zod").ZodEnum<["dni", "ndi", "passport", "credential", "nn"]>;
1117
1117
  identificationValue: import("zod").ZodString;
1118
1118
  }, "strip", import("zod").ZodTypeAny, {
1119
- identificationType: "nn";
1119
+ identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
1120
1120
  identificationValue: string;
1121
1121
  }, {
1122
- identificationType: "nn";
1122
+ identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
1123
1123
  identificationValue: string;
1124
1124
  }>;
1125
1125
  };
package/lib/schemas.js CHANGED
@@ -179,7 +179,7 @@ const coverageInfo = zod_1.object({
179
179
  authorizationCodeExpiration: zod_1.date().nullable(),
180
180
  }).nullable();
181
181
  const oldIdentificaiton = zod_1.object({
182
- identificationType: zod_1.literal('nn'),
182
+ identificationType,
183
183
  identificationValue: zod_1.string(),
184
184
  });
185
185
  exports.doc24Schemas = {
@@ -10,7 +10,7 @@ export declare const getPatientMethods: (makeRequest: RequestMaker) => {
10
10
  birthdate: Date;
11
11
  }) => Promise<number>;
12
12
  updatePatient: (oldIdentification: {
13
- identificationType: "nn";
13
+ identificationType: "dni" | "ndi" | "passport" | "credential" | "nn";
14
14
  identificationValue: string;
15
15
  }, patient: {
16
16
  firstName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integraciones_doc24/sdk",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "publishConfig": {
5
5
  "tag": "0.x"
6
6
  },