@integraciones_doc24/sdk 1.13.1 → 1.13.3
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 +0 -12
- package/lib/schemas.js +0 -2
- package/lib/userSdk/videoVisit.d.ts +0 -4
- package/lib/userSdk/videoVisit.js +0 -2
- package/package.json +1 -1
package/lib/schemas.d.ts
CHANGED
|
@@ -307,15 +307,11 @@ export declare const doc24Schemas: {
|
|
|
307
307
|
language: import("zod").ZodString;
|
|
308
308
|
details: import("zod").ZodString;
|
|
309
309
|
extraInfo: import("zod").ZodAny;
|
|
310
|
-
kioskId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
311
|
-
kioskName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
312
310
|
}, {
|
|
313
311
|
type: import("zod").ZodLiteral<"appointment">;
|
|
314
312
|
appointmentId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
315
313
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
316
314
|
extraInfo?: any;
|
|
317
|
-
kioskId?: string | undefined;
|
|
318
|
-
kioskName?: string | undefined;
|
|
319
315
|
type: "appointment";
|
|
320
316
|
patientId: number;
|
|
321
317
|
specialtyId: number;
|
|
@@ -324,8 +320,6 @@ export declare const doc24Schemas: {
|
|
|
324
320
|
appointmentId: string | number;
|
|
325
321
|
}, {
|
|
326
322
|
extraInfo?: any;
|
|
327
|
-
kioskId?: string | undefined;
|
|
328
|
-
kioskName?: string | undefined;
|
|
329
323
|
type: "appointment";
|
|
330
324
|
patientId: number;
|
|
331
325
|
specialtyId: number;
|
|
@@ -338,14 +332,10 @@ export declare const doc24Schemas: {
|
|
|
338
332
|
language: import("zod").ZodString;
|
|
339
333
|
details: import("zod").ZodString;
|
|
340
334
|
extraInfo: import("zod").ZodAny;
|
|
341
|
-
kioskId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
342
|
-
kioskName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
343
335
|
}, {
|
|
344
336
|
type: import("zod").ZodLiteral<"instant">;
|
|
345
337
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
346
338
|
extraInfo?: any;
|
|
347
|
-
kioskId?: string | undefined;
|
|
348
|
-
kioskName?: string | undefined;
|
|
349
339
|
type: "instant";
|
|
350
340
|
patientId: number;
|
|
351
341
|
specialtyId: number;
|
|
@@ -353,8 +343,6 @@ export declare const doc24Schemas: {
|
|
|
353
343
|
details: string;
|
|
354
344
|
}, {
|
|
355
345
|
extraInfo?: any;
|
|
356
|
-
kioskId?: string | undefined;
|
|
357
|
-
kioskName?: string | undefined;
|
|
358
346
|
type: "instant";
|
|
359
347
|
patientId: number;
|
|
360
348
|
specialtyId: number;
|
package/lib/schemas.js
CHANGED
|
@@ -63,8 +63,6 @@ const baseScheduleParameters = zod_1.object({
|
|
|
63
63
|
language: zod_1.string(),
|
|
64
64
|
details: zod_1.string(),
|
|
65
65
|
extraInfo: zod_1.any(),
|
|
66
|
-
kioskId: zod_1.string().optional(),
|
|
67
|
-
kioskName: zod_1.string().optional(),
|
|
68
66
|
});
|
|
69
67
|
const appointmentScheduleParameters = baseScheduleParameters.extend({
|
|
70
68
|
type: zod_1.literal('appointment'),
|
|
@@ -2,8 +2,6 @@ import { RequestMaker } from '../request';
|
|
|
2
2
|
export declare const getVideoVisitMethods: (makeRequest: RequestMaker) => {
|
|
3
3
|
scheduleVideoVisit: (params: {
|
|
4
4
|
extraInfo?: any;
|
|
5
|
-
kioskId?: string | undefined;
|
|
6
|
-
kioskName?: string | undefined;
|
|
7
5
|
type: "appointment";
|
|
8
6
|
patientId: number;
|
|
9
7
|
specialtyId: number;
|
|
@@ -12,8 +10,6 @@ export declare const getVideoVisitMethods: (makeRequest: RequestMaker) => {
|
|
|
12
10
|
appointmentId: string | number;
|
|
13
11
|
} | {
|
|
14
12
|
extraInfo?: any;
|
|
15
|
-
kioskId?: string | undefined;
|
|
16
|
-
kioskName?: string | undefined;
|
|
17
13
|
type: "instant";
|
|
18
14
|
patientId: number;
|
|
19
15
|
specialtyId: number;
|
|
@@ -20,8 +20,6 @@ const getVideoVisitMethods = (makeRequest) => {
|
|
|
20
20
|
language: params.language.toUpperCase(),
|
|
21
21
|
details: params.details,
|
|
22
22
|
extra_info: params.extraInfo,
|
|
23
|
-
kioskId: params.kioskId,
|
|
24
|
-
kioskName: params.kioskName,
|
|
25
23
|
};
|
|
26
24
|
const response = await makeRequest('POST', '/video-visit', mappedParams);
|
|
27
25
|
return response.data.vc_token;
|