@integraciones_doc24/sdk 1.16.12 → 1.16.13
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 +2 -2
- package/lib/schemas.d.ts +29 -29
- package/lib/schemas.js +7 -7
- package/lib/userSdk/chat.d.ts +2 -2
- package/lib/userSdk/schedule.d.ts +1 -1
- package/lib/userSdk/specialties.d.ts +2 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
76
76
|
}) => Promise<Doc24.UserSdk>;
|
|
77
77
|
getProfessional: (professionalId: number) => Promise<{
|
|
78
78
|
gender?: "m" | "f" | "o" | undefined;
|
|
79
|
-
logoUrl?: string | undefined;
|
|
79
|
+
logoUrl?: string | null | undefined;
|
|
80
80
|
status?: "active" | "deactivated" | undefined;
|
|
81
81
|
consultation_value?: string | null | undefined;
|
|
82
82
|
hasAvailability?: boolean | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
99
99
|
degree: string;
|
|
100
100
|
languages: string[];
|
|
101
101
|
resume: {
|
|
102
|
-
brief?: string | undefined;
|
|
102
|
+
brief?: string | null | undefined;
|
|
103
103
|
link: string;
|
|
104
104
|
};
|
|
105
105
|
}>;
|
package/lib/schemas.d.ts
CHANGED
|
@@ -173,13 +173,13 @@ export declare const doc24Schemas: {
|
|
|
173
173
|
professional: import("zod").ZodObject<{
|
|
174
174
|
id: import("zod").ZodNumber;
|
|
175
175
|
fullName: import("zod").ZodString;
|
|
176
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
176
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
177
177
|
}, "strip", import("zod").ZodTypeAny, {
|
|
178
|
-
logoUrl?: string | undefined;
|
|
178
|
+
logoUrl?: string | null | undefined;
|
|
179
179
|
id: number;
|
|
180
180
|
fullName: string;
|
|
181
181
|
}, {
|
|
182
|
-
logoUrl?: string | undefined;
|
|
182
|
+
logoUrl?: string | null | undefined;
|
|
183
183
|
id: number;
|
|
184
184
|
fullName: string;
|
|
185
185
|
}>;
|
|
@@ -213,7 +213,7 @@ export declare const doc24Schemas: {
|
|
|
213
213
|
type: "appointment" | "chat" | "instant";
|
|
214
214
|
id: string | number;
|
|
215
215
|
professional: {
|
|
216
|
-
logoUrl?: string | undefined;
|
|
216
|
+
logoUrl?: string | null | undefined;
|
|
217
217
|
id: number;
|
|
218
218
|
fullName: string;
|
|
219
219
|
};
|
|
@@ -234,7 +234,7 @@ export declare const doc24Schemas: {
|
|
|
234
234
|
type: "appointment" | "chat" | "instant";
|
|
235
235
|
id: string | number;
|
|
236
236
|
professional: {
|
|
237
|
-
logoUrl?: string | undefined;
|
|
237
|
+
logoUrl?: string | null | undefined;
|
|
238
238
|
id: number;
|
|
239
239
|
fullName: string;
|
|
240
240
|
};
|
|
@@ -856,7 +856,7 @@ export declare const doc24Schemas: {
|
|
|
856
856
|
gender: import("zod").ZodOptional<import("zod").ZodEnum<["m", "f", "o"]>>;
|
|
857
857
|
email: import("zod").ZodString;
|
|
858
858
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
859
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
859
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
860
860
|
matriculation: import("zod").ZodArray<import("zod").ZodObject<{
|
|
861
861
|
number: import("zod").ZodString;
|
|
862
862
|
type: import("zod").ZodString;
|
|
@@ -887,12 +887,12 @@ export declare const doc24Schemas: {
|
|
|
887
887
|
languages: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
888
888
|
resume: import("zod").ZodObject<{
|
|
889
889
|
link: import("zod").ZodString;
|
|
890
|
-
brief: import("zod").ZodOptional<import("zod").ZodString
|
|
890
|
+
brief: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
891
891
|
}, "strip", import("zod").ZodTypeAny, {
|
|
892
|
-
brief?: string | undefined;
|
|
892
|
+
brief?: string | null | undefined;
|
|
893
893
|
link: string;
|
|
894
894
|
}, {
|
|
895
|
-
brief?: string | undefined;
|
|
895
|
+
brief?: string | null | undefined;
|
|
896
896
|
link: string;
|
|
897
897
|
}>;
|
|
898
898
|
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
@@ -900,7 +900,7 @@ export declare const doc24Schemas: {
|
|
|
900
900
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "deactivated"]>>;
|
|
901
901
|
}, "strip", import("zod").ZodTypeAny, {
|
|
902
902
|
gender?: "m" | "f" | "o" | undefined;
|
|
903
|
-
logoUrl?: string | undefined;
|
|
903
|
+
logoUrl?: string | null | undefined;
|
|
904
904
|
status?: "active" | "deactivated" | undefined;
|
|
905
905
|
consultation_value?: string | null | undefined;
|
|
906
906
|
hasAvailability?: boolean | undefined;
|
|
@@ -923,12 +923,12 @@ export declare const doc24Schemas: {
|
|
|
923
923
|
degree: string;
|
|
924
924
|
languages: string[];
|
|
925
925
|
resume: {
|
|
926
|
-
brief?: string | undefined;
|
|
926
|
+
brief?: string | null | undefined;
|
|
927
927
|
link: string;
|
|
928
928
|
};
|
|
929
929
|
}, {
|
|
930
930
|
gender?: "m" | "f" | "o" | undefined;
|
|
931
|
-
logoUrl?: string | undefined;
|
|
931
|
+
logoUrl?: string | null | undefined;
|
|
932
932
|
status?: "active" | "deactivated" | undefined;
|
|
933
933
|
consultation_value?: string | null | undefined;
|
|
934
934
|
hasAvailability?: boolean | undefined;
|
|
@@ -951,7 +951,7 @@ export declare const doc24Schemas: {
|
|
|
951
951
|
degree: string;
|
|
952
952
|
languages: string[];
|
|
953
953
|
resume: {
|
|
954
|
-
brief?: string | undefined;
|
|
954
|
+
brief?: string | null | undefined;
|
|
955
955
|
link: string;
|
|
956
956
|
};
|
|
957
957
|
}>;
|
|
@@ -959,21 +959,21 @@ export declare const doc24Schemas: {
|
|
|
959
959
|
id: import("zod").ZodNumber;
|
|
960
960
|
fullName: import("zod").ZodString;
|
|
961
961
|
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>>;
|
|
962
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
962
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
963
963
|
primer_turno: import("zod").ZodOptional<import("zod").ZodString>;
|
|
964
964
|
degree: import("zod").ZodOptional<import("zod").ZodString>;
|
|
965
|
-
brief: import("zod").ZodOptional<import("zod").ZodString
|
|
965
|
+
brief: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
966
966
|
}, "strip", import("zod").ZodTypeAny, {
|
|
967
|
-
logoUrl?: string | undefined;
|
|
968
|
-
brief?: string | undefined;
|
|
967
|
+
logoUrl?: string | null | undefined;
|
|
968
|
+
brief?: string | null | undefined;
|
|
969
969
|
consultation_value?: string | number | null | undefined;
|
|
970
970
|
degree?: string | undefined;
|
|
971
971
|
primer_turno?: string | undefined;
|
|
972
972
|
id: number;
|
|
973
973
|
fullName: string;
|
|
974
974
|
}, {
|
|
975
|
-
logoUrl?: string | undefined;
|
|
976
|
-
brief?: string | undefined;
|
|
975
|
+
logoUrl?: string | null | undefined;
|
|
976
|
+
brief?: string | null | undefined;
|
|
977
977
|
consultation_value?: string | number | null | undefined;
|
|
978
978
|
degree?: string | undefined;
|
|
979
979
|
primer_turno?: string | undefined;
|
|
@@ -1024,13 +1024,13 @@ export declare const doc24Schemas: {
|
|
|
1024
1024
|
professional: import("zod").ZodObject<{
|
|
1025
1025
|
id: import("zod").ZodNumber;
|
|
1026
1026
|
fullName: import("zod").ZodString;
|
|
1027
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
1027
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1028
1028
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1029
|
-
logoUrl?: string | undefined;
|
|
1029
|
+
logoUrl?: string | null | undefined;
|
|
1030
1030
|
id: number;
|
|
1031
1031
|
fullName: string;
|
|
1032
1032
|
}, {
|
|
1033
|
-
logoUrl?: string | undefined;
|
|
1033
|
+
logoUrl?: string | null | undefined;
|
|
1034
1034
|
id: number;
|
|
1035
1035
|
fullName: string;
|
|
1036
1036
|
}>;
|
|
@@ -1047,7 +1047,7 @@ export declare const doc24Schemas: {
|
|
|
1047
1047
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1048
1048
|
id: number;
|
|
1049
1049
|
professional: {
|
|
1050
|
-
logoUrl?: string | undefined;
|
|
1050
|
+
logoUrl?: string | null | undefined;
|
|
1051
1051
|
id: number;
|
|
1052
1052
|
fullName: string;
|
|
1053
1053
|
};
|
|
@@ -1058,7 +1058,7 @@ export declare const doc24Schemas: {
|
|
|
1058
1058
|
}, {
|
|
1059
1059
|
id: number;
|
|
1060
1060
|
professional: {
|
|
1061
|
-
logoUrl?: string | undefined;
|
|
1061
|
+
logoUrl?: string | null | undefined;
|
|
1062
1062
|
id: number;
|
|
1063
1063
|
fullName: string;
|
|
1064
1064
|
};
|
|
@@ -1090,13 +1090,13 @@ export declare const doc24Schemas: {
|
|
|
1090
1090
|
professional: import("zod").ZodObject<{
|
|
1091
1091
|
id: import("zod").ZodNumber;
|
|
1092
1092
|
fullName: import("zod").ZodString;
|
|
1093
|
-
logoUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
1093
|
+
logoUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1094
1094
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1095
|
-
logoUrl?: string | undefined;
|
|
1095
|
+
logoUrl?: string | null | undefined;
|
|
1096
1096
|
id: number;
|
|
1097
1097
|
fullName: string;
|
|
1098
1098
|
}, {
|
|
1099
|
-
logoUrl?: string | undefined;
|
|
1099
|
+
logoUrl?: string | null | undefined;
|
|
1100
1100
|
id: number;
|
|
1101
1101
|
fullName: string;
|
|
1102
1102
|
}>;
|
|
@@ -1121,7 +1121,7 @@ export declare const doc24Schemas: {
|
|
|
1121
1121
|
id: number;
|
|
1122
1122
|
};
|
|
1123
1123
|
professional: {
|
|
1124
|
-
logoUrl?: string | undefined;
|
|
1124
|
+
logoUrl?: string | null | undefined;
|
|
1125
1125
|
id: number;
|
|
1126
1126
|
fullName: string;
|
|
1127
1127
|
};
|
|
@@ -1145,7 +1145,7 @@ export declare const doc24Schemas: {
|
|
|
1145
1145
|
id: number;
|
|
1146
1146
|
};
|
|
1147
1147
|
professional: {
|
|
1148
|
-
logoUrl?: string | undefined;
|
|
1148
|
+
logoUrl?: string | null | undefined;
|
|
1149
1149
|
id: number;
|
|
1150
1150
|
fullName: string;
|
|
1151
1151
|
};
|
package/lib/schemas.js
CHANGED
|
@@ -46,7 +46,7 @@ const availableAppointment = zod_1.object({
|
|
|
46
46
|
professional: zod_1.object({
|
|
47
47
|
id: zod_1.number(),
|
|
48
48
|
fullName: zod_1.string(),
|
|
49
|
-
logoUrl: zod_1.string().
|
|
49
|
+
logoUrl: zod_1.string().nullish(),
|
|
50
50
|
}),
|
|
51
51
|
cost: zod_1.string(),
|
|
52
52
|
specialty: specialty,
|
|
@@ -100,7 +100,7 @@ const availableChatroom = zod_1.object({
|
|
|
100
100
|
professional: zod_1.object({
|
|
101
101
|
id: zod_1.number(),
|
|
102
102
|
fullName: zod_1.string(),
|
|
103
|
-
logoUrl: zod_1.string().
|
|
103
|
+
logoUrl: zod_1.string().nullish(),
|
|
104
104
|
}),
|
|
105
105
|
specialty: zod_1.object({ id: zod_1.number(), description: zod_1.string() }),
|
|
106
106
|
});
|
|
@@ -119,7 +119,7 @@ const chatDetails = zod_1.object({
|
|
|
119
119
|
professional: zod_1.object({
|
|
120
120
|
id: zod_1.number(),
|
|
121
121
|
fullName: zod_1.string(),
|
|
122
|
-
logoUrl: zod_1.string().
|
|
122
|
+
logoUrl: zod_1.string().nullish(),
|
|
123
123
|
}),
|
|
124
124
|
professionalLastPost: zod_1.date().nullable(),
|
|
125
125
|
specialty: zod_1.object({ id: zod_1.number(), description: zod_1.string() }),
|
|
@@ -413,14 +413,14 @@ exports.doc24Schemas = {
|
|
|
413
413
|
gender,
|
|
414
414
|
email: zod_1.string(),
|
|
415
415
|
phone: zod_1.string().nullable(),
|
|
416
|
-
logoUrl: zod_1.string().
|
|
416
|
+
logoUrl: zod_1.string().nullish(),
|
|
417
417
|
matriculation: zod_1.array(zod_1.object({ number: zod_1.string(), type: zod_1.string() })),
|
|
418
418
|
specialties: zod_1.array(specialty),
|
|
419
419
|
degree: zod_1.string(),
|
|
420
420
|
languages: zod_1.array(zod_1.string()),
|
|
421
421
|
resume: zod_1.object({
|
|
422
422
|
link: zod_1.string(),
|
|
423
|
-
brief: zod_1.string().
|
|
423
|
+
brief: zod_1.string().nullish(),
|
|
424
424
|
}),
|
|
425
425
|
consultation_value: zod_1.string().optional().nullish(),
|
|
426
426
|
hasAvailability: zod_1.boolean().optional(),
|
|
@@ -430,10 +430,10 @@ exports.doc24Schemas = {
|
|
|
430
430
|
id: zod_1.number(),
|
|
431
431
|
fullName: zod_1.string(),
|
|
432
432
|
consultation_value: zod_1.number().or(zod_1.string()).optional().nullish(),
|
|
433
|
-
logoUrl: zod_1.string().
|
|
433
|
+
logoUrl: zod_1.string().nullish(),
|
|
434
434
|
primer_turno: zod_1.string().optional(),
|
|
435
435
|
degree: zod_1.string().optional(),
|
|
436
|
-
brief: zod_1.string().
|
|
436
|
+
brief: zod_1.string().nullish(),
|
|
437
437
|
}),
|
|
438
438
|
appointment,
|
|
439
439
|
chatroomAvailabilityFilter,
|
package/lib/userSdk/chat.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const getChatMethods: (makeRequest: RequestMaker) => {
|
|
|
6
6
|
}) => Promise<{
|
|
7
7
|
id: number;
|
|
8
8
|
professional: {
|
|
9
|
-
logoUrl?: string | undefined;
|
|
9
|
+
logoUrl?: string | null | undefined;
|
|
10
10
|
id: number;
|
|
11
11
|
fullName: string;
|
|
12
12
|
};
|
|
@@ -29,7 +29,7 @@ export declare const getChatMethods: (makeRequest: RequestMaker) => {
|
|
|
29
29
|
id: number;
|
|
30
30
|
};
|
|
31
31
|
professional: {
|
|
32
|
-
logoUrl?: string | undefined;
|
|
32
|
+
logoUrl?: string | null | undefined;
|
|
33
33
|
id: number;
|
|
34
34
|
fullName: string;
|
|
35
35
|
};
|
|
@@ -18,7 +18,7 @@ export declare const getScheduleMethods: (makeRequest: RequestMaker) => {
|
|
|
18
18
|
type: "appointment" | "chat" | "instant";
|
|
19
19
|
id: string | number;
|
|
20
20
|
professional: {
|
|
21
|
-
logoUrl?: string | undefined;
|
|
21
|
+
logoUrl?: string | null | undefined;
|
|
22
22
|
id: number;
|
|
23
23
|
fullName: string;
|
|
24
24
|
};
|
|
@@ -7,8 +7,8 @@ export declare const getSpecialtiesMethods: (makeRequest: RequestMaker) => {
|
|
|
7
7
|
description: string;
|
|
8
8
|
}[]>;
|
|
9
9
|
getProfessionalsBySpecialty: (...params: any) => Promise<{
|
|
10
|
-
logoUrl?: string | undefined;
|
|
11
|
-
brief?: string | undefined;
|
|
10
|
+
logoUrl?: string | null | undefined;
|
|
11
|
+
brief?: string | null | undefined;
|
|
12
12
|
consultation_value?: string | number | null | undefined;
|
|
13
13
|
degree?: string | undefined;
|
|
14
14
|
primer_turno?: string | undefined;
|