@integraciones_doc24/sdk 0.29.0 → 0.29.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/index.d.ts CHANGED
@@ -34,7 +34,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
34
34
  lastName: string;
35
35
  birthdate: Date;
36
36
  gender: "m" | "f";
37
- phone: string;
37
+ phone: string | null;
38
38
  email: string;
39
39
  specialties: {
40
40
  id: number;
package/lib/schemas.d.ts CHANGED
@@ -618,7 +618,7 @@ export declare const doc24Schemas: {
618
618
  birthdate: import("zod").ZodDate;
619
619
  gender: import("zod").ZodEnum<["m", "f"]>;
620
620
  email: import("zod").ZodString;
621
- phone: import("zod").ZodString;
621
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
622
622
  logoUrl: import("zod").ZodString;
623
623
  matriculation: import("zod").ZodArray<import("zod").ZodObject<{
624
624
  number: import("zod").ZodString;
@@ -659,7 +659,7 @@ export declare const doc24Schemas: {
659
659
  lastName: string;
660
660
  birthdate: Date;
661
661
  gender: "m" | "f";
662
- phone: string;
662
+ phone: string | null;
663
663
  email: string;
664
664
  specialties: {
665
665
  id: number;
@@ -682,7 +682,7 @@ export declare const doc24Schemas: {
682
682
  lastName: string;
683
683
  birthdate: Date;
684
684
  gender: "m" | "f";
685
- phone: string;
685
+ phone: string | null;
686
686
  email: string;
687
687
  specialties: {
688
688
  id: number;
package/lib/schemas.js CHANGED
@@ -215,7 +215,7 @@ exports.doc24Schemas = {
215
215
  birthdate: zod_1.date(),
216
216
  gender,
217
217
  email: zod_1.string(),
218
- phone: zod_1.string(),
218
+ phone: zod_1.string().nullable(),
219
219
  logoUrl: zod_1.string(),
220
220
  matriculation: zod_1.array(zod_1.object({ number: zod_1.string(), type: zod_1.string() })),
221
221
  specialties: zod_1.array(specialty),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integraciones_doc24/sdk",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {