@integraciones_doc24/sdk 1.10.0 → 1.11.0
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 +6 -0
- package/lib/schemas.js +2 -0
- package/lib/userSdk/videoVisit.d.ts +4 -0
- package/lib/userSdk/videoVisit.js +2 -0
- package/package.json +1 -1
package/lib/schemas.d.ts
CHANGED
|
@@ -389,6 +389,8 @@ export declare const doc24Schemas: {
|
|
|
389
389
|
}>>;
|
|
390
390
|
paymentStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
391
391
|
atentionId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
392
|
+
specialty: import("zod").ZodString;
|
|
393
|
+
professional: import("zod").ZodString;
|
|
392
394
|
}, "strip", import("zod").ZodTypeAny, {
|
|
393
395
|
appointment?: {
|
|
394
396
|
date: Date;
|
|
@@ -402,6 +404,8 @@ export declare const doc24Schemas: {
|
|
|
402
404
|
atentionId?: number | undefined;
|
|
403
405
|
id: number | null;
|
|
404
406
|
patientId: number;
|
|
407
|
+
professional: string;
|
|
408
|
+
specialty: string;
|
|
405
409
|
creationDate: Date;
|
|
406
410
|
user: {
|
|
407
411
|
phone: string | null;
|
|
@@ -422,6 +426,8 @@ export declare const doc24Schemas: {
|
|
|
422
426
|
atentionId?: number | undefined;
|
|
423
427
|
id: number | null;
|
|
424
428
|
patientId: number;
|
|
429
|
+
professional: string;
|
|
430
|
+
specialty: string;
|
|
425
431
|
creationDate: Date;
|
|
426
432
|
user: {
|
|
427
433
|
phone: string | null;
|
package/lib/schemas.js
CHANGED
|
@@ -316,6 +316,8 @@ exports.doc24Schemas = {
|
|
|
316
316
|
}).optional(),
|
|
317
317
|
paymentStatus: zod_1.string().optional(),
|
|
318
318
|
atentionId: zod_1.number().optional(),
|
|
319
|
+
specialty: zod_1.string(),
|
|
320
|
+
professional: zod_1.string(),
|
|
319
321
|
}),
|
|
320
322
|
videoVisitDetails: zod_1.object({
|
|
321
323
|
id: zod_1.number(),
|
|
@@ -30,6 +30,8 @@ export declare const getVideoVisitMethods: (makeRequest: RequestMaker) => {
|
|
|
30
30
|
atentionId?: number | undefined;
|
|
31
31
|
id: number | null;
|
|
32
32
|
patientId: number;
|
|
33
|
+
professional: string;
|
|
34
|
+
specialty: string;
|
|
33
35
|
creationDate: Date;
|
|
34
36
|
user: {
|
|
35
37
|
phone: string | null;
|
|
@@ -51,6 +53,8 @@ export declare const getVideoVisitMethods: (makeRequest: RequestMaker) => {
|
|
|
51
53
|
atentionId?: number | undefined;
|
|
52
54
|
id: number | null;
|
|
53
55
|
patientId: number;
|
|
56
|
+
professional: string;
|
|
57
|
+
specialty: string;
|
|
54
58
|
creationDate: Date;
|
|
55
59
|
user: {
|
|
56
60
|
phone: string | null;
|
|
@@ -143,5 +143,7 @@ const mapVideoVisit = (raw) => {
|
|
|
143
143
|
: undefined,
|
|
144
144
|
paymentStatus: (_a = raw.payment_status) !== null && _a !== void 0 ? _a : undefined,
|
|
145
145
|
atentionId: (_b = raw.atentionId) !== null && _b !== void 0 ? _b : undefined,
|
|
146
|
+
professional: raw.professional,
|
|
147
|
+
specialty: raw.specialty,
|
|
146
148
|
};
|
|
147
149
|
};
|