@integraciones_doc24/sdk 0.29.1 → 0.29.2
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 +3 -3
- package/lib/schemas.js +1 -1
- package/lib/userSdk/schedule.d.ts +1 -1
- package/package.json +1 -1
package/lib/schemas.d.ts
CHANGED
|
@@ -144,11 +144,11 @@ export declare const doc24Schemas: {
|
|
|
144
144
|
type: import("zod").ZodEnum<["appointment", "chat", "instant"]>;
|
|
145
145
|
atentions: import("zod").ZodNumber;
|
|
146
146
|
ranking: import("zod").ZodUnknown;
|
|
147
|
-
length: import("zod").ZodNullable<import("zod").ZodNumber
|
|
147
|
+
length: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
148
148
|
}, "strip", import("zod").ZodTypeAny, {
|
|
149
|
+
length?: number | null | undefined;
|
|
149
150
|
ranking?: unknown;
|
|
150
151
|
date: Date;
|
|
151
|
-
length: number | null;
|
|
152
152
|
type: "appointment" | "chat" | "instant";
|
|
153
153
|
id: string | number;
|
|
154
154
|
professional: {
|
|
@@ -164,9 +164,9 @@ export declare const doc24Schemas: {
|
|
|
164
164
|
};
|
|
165
165
|
atentions: number;
|
|
166
166
|
}, {
|
|
167
|
+
length?: number | null | undefined;
|
|
167
168
|
ranking?: unknown;
|
|
168
169
|
date: Date;
|
|
169
|
-
length: number | null;
|
|
170
170
|
type: "appointment" | "chat" | "instant";
|
|
171
171
|
id: string | number;
|
|
172
172
|
professional: {
|
package/lib/schemas.js
CHANGED
|
@@ -37,7 +37,7 @@ const availableAppointment = zod_1.object({
|
|
|
37
37
|
type: specialtyMode,
|
|
38
38
|
atentions: zod_1.number(),
|
|
39
39
|
ranking: zod_1.unknown(),
|
|
40
|
-
length: zod_1.number().
|
|
40
|
+
length: zod_1.number().nullish(),
|
|
41
41
|
});
|
|
42
42
|
const appointment = zod_1.object({
|
|
43
43
|
id: zod_1.number(),
|
|
@@ -9,9 +9,9 @@ export declare const getScheduleMethods: (makeRequest: RequestMaker) => {
|
|
|
9
9
|
startHour?: string | undefined;
|
|
10
10
|
finishHour?: string | undefined;
|
|
11
11
|
} | undefined) => Promise<{
|
|
12
|
+
length?: number | null | undefined;
|
|
12
13
|
ranking?: unknown;
|
|
13
14
|
date: Date;
|
|
14
|
-
length: number | null;
|
|
15
15
|
type: "appointment" | "chat" | "instant";
|
|
16
16
|
id: string | number;
|
|
17
17
|
professional: {
|