@integraciones_doc24/sdk 0.37.2 → 0.37.4

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 CHANGED
@@ -302,15 +302,11 @@ export declare const doc24Schemas: {
302
302
  language: import("zod").ZodString;
303
303
  details: import("zod").ZodString;
304
304
  extraInfo: import("zod").ZodAny;
305
- kioskId: import("zod").ZodOptional<import("zod").ZodString>;
306
- kioskName: import("zod").ZodOptional<import("zod").ZodString>;
307
305
  }, {
308
306
  type: import("zod").ZodLiteral<"appointment">;
309
307
  appointmentId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
310
308
  }>, "strip", import("zod").ZodTypeAny, {
311
309
  extraInfo?: any;
312
- kioskId?: string | undefined;
313
- kioskName?: string | undefined;
314
310
  type: "appointment";
315
311
  patientId: number;
316
312
  specialtyId: number;
@@ -319,8 +315,6 @@ export declare const doc24Schemas: {
319
315
  appointmentId: string | number;
320
316
  }, {
321
317
  extraInfo?: any;
322
- kioskId?: string | undefined;
323
- kioskName?: string | undefined;
324
318
  type: "appointment";
325
319
  patientId: number;
326
320
  specialtyId: number;
@@ -333,14 +327,10 @@ export declare const doc24Schemas: {
333
327
  language: import("zod").ZodString;
334
328
  details: import("zod").ZodString;
335
329
  extraInfo: import("zod").ZodAny;
336
- kioskId: import("zod").ZodOptional<import("zod").ZodString>;
337
- kioskName: import("zod").ZodOptional<import("zod").ZodString>;
338
330
  }, {
339
331
  type: import("zod").ZodLiteral<"instant">;
340
332
  }>, "strip", import("zod").ZodTypeAny, {
341
333
  extraInfo?: any;
342
- kioskId?: string | undefined;
343
- kioskName?: string | undefined;
344
334
  type: "instant";
345
335
  patientId: number;
346
336
  specialtyId: number;
@@ -348,8 +338,6 @@ export declare const doc24Schemas: {
348
338
  details: string;
349
339
  }, {
350
340
  extraInfo?: any;
351
- kioskId?: string | undefined;
352
- kioskName?: string | undefined;
353
341
  type: "instant";
354
342
  patientId: number;
355
343
  specialtyId: number;
package/lib/schemas.js CHANGED
@@ -60,8 +60,6 @@ const baseScheduleParameters = zod_1.object({
60
60
  language: zod_1.string(),
61
61
  details: zod_1.string(),
62
62
  extraInfo: zod_1.any(),
63
- kioskId: zod_1.string().optional(),
64
- kioskName: zod_1.string().optional(),
65
63
  });
66
64
  const appointmentScheduleParameters = baseScheduleParameters.extend({
67
65
  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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integraciones_doc24/sdk",
3
- "version": "0.37.2",
3
+ "version": "0.37.4",
4
4
  "publishConfig": {
5
5
  "tag": "0.x"
6
6
  },