@integraciones_doc24/sdk 1.16.10 → 1.16.12
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 +23 -23
- package/lib/schemas.js +5 -5
- package/lib/userSdk/chat.d.ts +2 -2
- package/lib/userSdk/schedule.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -76,6 +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
80
|
status?: "active" | "deactivated" | undefined;
|
|
80
81
|
consultation_value?: string | null | undefined;
|
|
81
82
|
hasAvailability?: boolean | undefined;
|
|
@@ -85,7 +86,6 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
85
86
|
phone: string | null;
|
|
86
87
|
email: string;
|
|
87
88
|
id: number;
|
|
88
|
-
logoUrl: string;
|
|
89
89
|
specialties: {
|
|
90
90
|
start_age?: string | number | null | undefined;
|
|
91
91
|
end_age?: string | number | null | undefined;
|
|
@@ -99,8 +99,8 @@ export declare const doc24Sdk: (params: Doc24.SdkParams) => Promise<{
|
|
|
99
99
|
degree: string;
|
|
100
100
|
languages: string[];
|
|
101
101
|
resume: {
|
|
102
|
+
brief?: string | undefined;
|
|
102
103
|
link: string;
|
|
103
|
-
brief: string;
|
|
104
104
|
};
|
|
105
105
|
}>;
|
|
106
106
|
getAvailableScheduleClinics: () => Promise<{
|
package/lib/schemas.d.ts
CHANGED
|
@@ -173,15 +173,15 @@ 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").ZodString
|
|
176
|
+
logoUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
177
177
|
}, "strip", import("zod").ZodTypeAny, {
|
|
178
|
+
logoUrl?: string | undefined;
|
|
178
179
|
id: number;
|
|
179
180
|
fullName: string;
|
|
180
|
-
logoUrl: string;
|
|
181
181
|
}, {
|
|
182
|
+
logoUrl?: string | undefined;
|
|
182
183
|
id: number;
|
|
183
184
|
fullName: string;
|
|
184
|
-
logoUrl: string;
|
|
185
185
|
}>;
|
|
186
186
|
cost: import("zod").ZodString;
|
|
187
187
|
specialty: import("zod").ZodObject<{
|
|
@@ -213,9 +213,9 @@ export declare const doc24Schemas: {
|
|
|
213
213
|
type: "appointment" | "chat" | "instant";
|
|
214
214
|
id: string | number;
|
|
215
215
|
professional: {
|
|
216
|
+
logoUrl?: string | undefined;
|
|
216
217
|
id: number;
|
|
217
218
|
fullName: string;
|
|
218
|
-
logoUrl: string;
|
|
219
219
|
};
|
|
220
220
|
specialty: {
|
|
221
221
|
start_age?: string | number | null | undefined;
|
|
@@ -234,9 +234,9 @@ export declare const doc24Schemas: {
|
|
|
234
234
|
type: "appointment" | "chat" | "instant";
|
|
235
235
|
id: string | number;
|
|
236
236
|
professional: {
|
|
237
|
+
logoUrl?: string | undefined;
|
|
237
238
|
id: number;
|
|
238
239
|
fullName: string;
|
|
239
|
-
logoUrl: string;
|
|
240
240
|
};
|
|
241
241
|
specialty: {
|
|
242
242
|
start_age?: string | number | null | undefined;
|
|
@@ -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").ZodString
|
|
859
|
+
logoUrl: 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,19 +887,20 @@ 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").ZodString
|
|
890
|
+
brief: import("zod").ZodOptional<import("zod").ZodString>;
|
|
891
891
|
}, "strip", import("zod").ZodTypeAny, {
|
|
892
|
+
brief?: string | undefined;
|
|
892
893
|
link: string;
|
|
893
|
-
brief: string;
|
|
894
894
|
}, {
|
|
895
|
+
brief?: string | undefined;
|
|
895
896
|
link: string;
|
|
896
|
-
brief: string;
|
|
897
897
|
}>;
|
|
898
898
|
consultation_value: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
899
899
|
hasAvailability: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
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
904
|
status?: "active" | "deactivated" | undefined;
|
|
904
905
|
consultation_value?: string | null | undefined;
|
|
905
906
|
hasAvailability?: boolean | undefined;
|
|
@@ -909,7 +910,6 @@ export declare const doc24Schemas: {
|
|
|
909
910
|
phone: string | null;
|
|
910
911
|
email: string;
|
|
911
912
|
id: number;
|
|
912
|
-
logoUrl: string;
|
|
913
913
|
specialties: {
|
|
914
914
|
start_age?: string | number | null | undefined;
|
|
915
915
|
end_age?: string | number | null | undefined;
|
|
@@ -923,11 +923,12 @@ export declare const doc24Schemas: {
|
|
|
923
923
|
degree: string;
|
|
924
924
|
languages: string[];
|
|
925
925
|
resume: {
|
|
926
|
+
brief?: string | undefined;
|
|
926
927
|
link: string;
|
|
927
|
-
brief: string;
|
|
928
928
|
};
|
|
929
929
|
}, {
|
|
930
930
|
gender?: "m" | "f" | "o" | undefined;
|
|
931
|
+
logoUrl?: string | undefined;
|
|
931
932
|
status?: "active" | "deactivated" | undefined;
|
|
932
933
|
consultation_value?: string | null | undefined;
|
|
933
934
|
hasAvailability?: boolean | undefined;
|
|
@@ -937,7 +938,6 @@ export declare const doc24Schemas: {
|
|
|
937
938
|
phone: string | null;
|
|
938
939
|
email: string;
|
|
939
940
|
id: number;
|
|
940
|
-
logoUrl: string;
|
|
941
941
|
specialties: {
|
|
942
942
|
start_age?: string | number | null | undefined;
|
|
943
943
|
end_age?: string | number | null | undefined;
|
|
@@ -951,8 +951,8 @@ export declare const doc24Schemas: {
|
|
|
951
951
|
degree: string;
|
|
952
952
|
languages: string[];
|
|
953
953
|
resume: {
|
|
954
|
+
brief?: string | undefined;
|
|
954
955
|
link: string;
|
|
955
|
-
brief: string;
|
|
956
956
|
};
|
|
957
957
|
}>;
|
|
958
958
|
professionalsListItem: import("zod").ZodObject<{
|
|
@@ -1024,15 +1024,15 @@ 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").ZodString
|
|
1027
|
+
logoUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1028
1028
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1029
|
+
logoUrl?: string | undefined;
|
|
1029
1030
|
id: number;
|
|
1030
1031
|
fullName: string;
|
|
1031
|
-
logoUrl: string;
|
|
1032
1032
|
}, {
|
|
1033
|
+
logoUrl?: string | undefined;
|
|
1033
1034
|
id: number;
|
|
1034
1035
|
fullName: string;
|
|
1035
|
-
logoUrl: string;
|
|
1036
1036
|
}>;
|
|
1037
1037
|
specialty: import("zod").ZodObject<{
|
|
1038
1038
|
id: import("zod").ZodNumber;
|
|
@@ -1047,9 +1047,9 @@ export declare const doc24Schemas: {
|
|
|
1047
1047
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1048
1048
|
id: number;
|
|
1049
1049
|
professional: {
|
|
1050
|
+
logoUrl?: string | undefined;
|
|
1050
1051
|
id: number;
|
|
1051
1052
|
fullName: string;
|
|
1052
|
-
logoUrl: string;
|
|
1053
1053
|
};
|
|
1054
1054
|
specialty: {
|
|
1055
1055
|
id: number;
|
|
@@ -1058,9 +1058,9 @@ export declare const doc24Schemas: {
|
|
|
1058
1058
|
}, {
|
|
1059
1059
|
id: number;
|
|
1060
1060
|
professional: {
|
|
1061
|
+
logoUrl?: string | undefined;
|
|
1061
1062
|
id: number;
|
|
1062
1063
|
fullName: string;
|
|
1063
|
-
logoUrl: string;
|
|
1064
1064
|
};
|
|
1065
1065
|
specialty: {
|
|
1066
1066
|
id: number;
|
|
@@ -1090,15 +1090,15 @@ 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").ZodString
|
|
1093
|
+
logoUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1094
1094
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1095
|
+
logoUrl?: string | undefined;
|
|
1095
1096
|
id: number;
|
|
1096
1097
|
fullName: string;
|
|
1097
|
-
logoUrl: string;
|
|
1098
1098
|
}, {
|
|
1099
|
+
logoUrl?: string | undefined;
|
|
1099
1100
|
id: number;
|
|
1100
1101
|
fullName: string;
|
|
1101
|
-
logoUrl: string;
|
|
1102
1102
|
}>;
|
|
1103
1103
|
professionalLastPost: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1104
1104
|
specialty: import("zod").ZodObject<{
|
|
@@ -1121,9 +1121,9 @@ export declare const doc24Schemas: {
|
|
|
1121
1121
|
id: number;
|
|
1122
1122
|
};
|
|
1123
1123
|
professional: {
|
|
1124
|
+
logoUrl?: string | undefined;
|
|
1124
1125
|
id: number;
|
|
1125
1126
|
fullName: string;
|
|
1126
|
-
logoUrl: string;
|
|
1127
1127
|
};
|
|
1128
1128
|
status: string;
|
|
1129
1129
|
paymentStatus: string;
|
|
@@ -1145,9 +1145,9 @@ export declare const doc24Schemas: {
|
|
|
1145
1145
|
id: number;
|
|
1146
1146
|
};
|
|
1147
1147
|
professional: {
|
|
1148
|
+
logoUrl?: string | undefined;
|
|
1148
1149
|
id: number;
|
|
1149
1150
|
fullName: string;
|
|
1150
|
-
logoUrl: string;
|
|
1151
1151
|
};
|
|
1152
1152
|
status: string;
|
|
1153
1153
|
paymentStatus: string;
|
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().optional(),
|
|
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().optional(),
|
|
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().optional(),
|
|
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().optional(),
|
|
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().optional(),
|
|
424
424
|
}),
|
|
425
425
|
consultation_value: zod_1.string().optional().nullish(),
|
|
426
426
|
hasAvailability: zod_1.boolean().optional(),
|
package/lib/userSdk/chat.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export declare const getChatMethods: (makeRequest: RequestMaker) => {
|
|
|
6
6
|
}) => Promise<{
|
|
7
7
|
id: number;
|
|
8
8
|
professional: {
|
|
9
|
+
logoUrl?: string | undefined;
|
|
9
10
|
id: number;
|
|
10
11
|
fullName: string;
|
|
11
|
-
logoUrl: string;
|
|
12
12
|
};
|
|
13
13
|
specialty: {
|
|
14
14
|
id: number;
|
|
@@ -29,9 +29,9 @@ export declare const getChatMethods: (makeRequest: RequestMaker) => {
|
|
|
29
29
|
id: number;
|
|
30
30
|
};
|
|
31
31
|
professional: {
|
|
32
|
+
logoUrl?: string | undefined;
|
|
32
33
|
id: number;
|
|
33
34
|
fullName: string;
|
|
34
|
-
logoUrl: string;
|
|
35
35
|
};
|
|
36
36
|
status: string;
|
|
37
37
|
paymentStatus: string;
|
|
@@ -18,9 +18,9 @@ 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
22
|
id: number;
|
|
22
23
|
fullName: string;
|
|
23
|
-
logoUrl: string;
|
|
24
24
|
};
|
|
25
25
|
specialty: {
|
|
26
26
|
start_age?: string | number | null | undefined;
|