@integraciones_doc24/sdk 1.15.9 → 1.15.11
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/baseSdk/index.js +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/schemas.d.ts +6 -3
- package/lib/schemas.js +2 -1
- package/lib/userSdk/schedule.d.ts +1 -1
- package/package.json +1 -1
package/lib/baseSdk/index.js
CHANGED
|
@@ -42,6 +42,7 @@ const getBaseSdk = async (url, credentials) => {
|
|
|
42
42
|
link: raw.resume_link,
|
|
43
43
|
brief: raw.resume_brief,
|
|
44
44
|
},
|
|
45
|
+
consultation_value: raw.consultation_value
|
|
45
46
|
};
|
|
46
47
|
}),
|
|
47
48
|
getAvailableScheduleClinics: validation_1.validateFunction(zod_1.tuple([]), schemas_1.doc24Schemas.availableScheduleClinics, async () => {
|
package/lib/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
55
55
|
}) => Promise<Doc24.UserSdk>;
|
|
56
56
|
getProfessional: (professionalId: number) => Promise<{
|
|
57
57
|
gender?: "m" | "f" | "o" | undefined;
|
|
58
|
+
consultation_value?: string | null | undefined;
|
|
58
59
|
firstName: string;
|
|
59
60
|
lastName: string;
|
|
60
61
|
birthdate: Date;
|
package/lib/schemas.d.ts
CHANGED
|
@@ -147,11 +147,11 @@ export declare const doc24Schemas: {
|
|
|
147
147
|
atentions: import("zod").ZodNumber;
|
|
148
148
|
ranking: import("zod").ZodUnknown;
|
|
149
149
|
length: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
150
|
-
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").
|
|
150
|
+
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
151
151
|
}, "strip", import("zod").ZodTypeAny, {
|
|
152
152
|
length?: number | null | undefined;
|
|
153
153
|
ranking?: unknown;
|
|
154
|
-
consultation_value?:
|
|
154
|
+
consultation_value?: string | null | undefined;
|
|
155
155
|
date: Date;
|
|
156
156
|
type: "appointment" | "chat" | "instant";
|
|
157
157
|
id: string | number;
|
|
@@ -170,7 +170,7 @@ export declare const doc24Schemas: {
|
|
|
170
170
|
}, {
|
|
171
171
|
length?: number | null | undefined;
|
|
172
172
|
ranking?: unknown;
|
|
173
|
-
consultation_value?:
|
|
173
|
+
consultation_value?: string | null | undefined;
|
|
174
174
|
date: Date;
|
|
175
175
|
type: "appointment" | "chat" | "instant";
|
|
176
176
|
id: string | number;
|
|
@@ -766,8 +766,10 @@ export declare const doc24Schemas: {
|
|
|
766
766
|
link: string;
|
|
767
767
|
brief: string;
|
|
768
768
|
}>;
|
|
769
|
+
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
769
770
|
}, "strip", import("zod").ZodTypeAny, {
|
|
770
771
|
gender?: "m" | "f" | "o" | undefined;
|
|
772
|
+
consultation_value?: string | null | undefined;
|
|
771
773
|
firstName: string;
|
|
772
774
|
lastName: string;
|
|
773
775
|
birthdate: Date;
|
|
@@ -791,6 +793,7 @@ export declare const doc24Schemas: {
|
|
|
791
793
|
};
|
|
792
794
|
}, {
|
|
793
795
|
gender?: "m" | "f" | "o" | undefined;
|
|
796
|
+
consultation_value?: string | null | undefined;
|
|
794
797
|
firstName: string;
|
|
795
798
|
lastName: string;
|
|
796
799
|
birthdate: Date;
|
package/lib/schemas.js
CHANGED
|
@@ -41,7 +41,7 @@ const availableAppointment = zod_1.object({
|
|
|
41
41
|
atentions: zod_1.number(),
|
|
42
42
|
ranking: zod_1.unknown(),
|
|
43
43
|
length: zod_1.number().nullish(),
|
|
44
|
-
consultation_value: zod_1.
|
|
44
|
+
consultation_value: zod_1.string().optional().nullish()
|
|
45
45
|
});
|
|
46
46
|
const appointment = zod_1.object({
|
|
47
47
|
id: zod_1.number(),
|
|
@@ -381,6 +381,7 @@ exports.doc24Schemas = {
|
|
|
381
381
|
link: zod_1.string(),
|
|
382
382
|
brief: zod_1.string(),
|
|
383
383
|
}),
|
|
384
|
+
consultation_value: zod_1.string().optional().nullish()
|
|
384
385
|
}),
|
|
385
386
|
appointment,
|
|
386
387
|
chatroomAvailabilityFilter,
|
|
@@ -12,7 +12,7 @@ export declare const getScheduleMethods: (makeRequest: RequestMaker) => {
|
|
|
12
12
|
} | undefined) => Promise<{
|
|
13
13
|
length?: number | null | undefined;
|
|
14
14
|
ranking?: unknown;
|
|
15
|
-
consultation_value?:
|
|
15
|
+
consultation_value?: string | null | undefined;
|
|
16
16
|
date: Date;
|
|
17
17
|
type: "appointment" | "chat" | "instant";
|
|
18
18
|
id: string | number;
|