@integraciones_doc24/sdk 0.37.1 → 0.37.2

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
@@ -303,14 +303,14 @@ export declare const doc24Schemas: {
303
303
  details: import("zod").ZodString;
304
304
  extraInfo: import("zod").ZodAny;
305
305
  kioskId: import("zod").ZodOptional<import("zod").ZodString>;
306
- kioskLocation: import("zod").ZodOptional<import("zod").ZodString>;
306
+ kioskName: import("zod").ZodOptional<import("zod").ZodString>;
307
307
  }, {
308
308
  type: import("zod").ZodLiteral<"appointment">;
309
309
  appointmentId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
310
310
  }>, "strip", import("zod").ZodTypeAny, {
311
311
  extraInfo?: any;
312
312
  kioskId?: string | undefined;
313
- kioskLocation?: string | undefined;
313
+ kioskName?: string | undefined;
314
314
  type: "appointment";
315
315
  patientId: number;
316
316
  specialtyId: number;
@@ -320,7 +320,7 @@ export declare const doc24Schemas: {
320
320
  }, {
321
321
  extraInfo?: any;
322
322
  kioskId?: string | undefined;
323
- kioskLocation?: string | undefined;
323
+ kioskName?: string | undefined;
324
324
  type: "appointment";
325
325
  patientId: number;
326
326
  specialtyId: number;
@@ -334,13 +334,13 @@ export declare const doc24Schemas: {
334
334
  details: import("zod").ZodString;
335
335
  extraInfo: import("zod").ZodAny;
336
336
  kioskId: import("zod").ZodOptional<import("zod").ZodString>;
337
- kioskLocation: import("zod").ZodOptional<import("zod").ZodString>;
337
+ kioskName: import("zod").ZodOptional<import("zod").ZodString>;
338
338
  }, {
339
339
  type: import("zod").ZodLiteral<"instant">;
340
340
  }>, "strip", import("zod").ZodTypeAny, {
341
341
  extraInfo?: any;
342
342
  kioskId?: string | undefined;
343
- kioskLocation?: string | undefined;
343
+ kioskName?: string | undefined;
344
344
  type: "instant";
345
345
  patientId: number;
346
346
  specialtyId: number;
@@ -349,7 +349,7 @@ export declare const doc24Schemas: {
349
349
  }, {
350
350
  extraInfo?: any;
351
351
  kioskId?: string | undefined;
352
- kioskLocation?: string | undefined;
352
+ kioskName?: string | undefined;
353
353
  type: "instant";
354
354
  patientId: number;
355
355
  specialtyId: number;
package/lib/schemas.js CHANGED
@@ -61,7 +61,7 @@ const baseScheduleParameters = zod_1.object({
61
61
  details: zod_1.string(),
62
62
  extraInfo: zod_1.any(),
63
63
  kioskId: zod_1.string().optional(),
64
- kioskLocation: zod_1.string().optional(),
64
+ kioskName: zod_1.string().optional(),
65
65
  });
66
66
  const appointmentScheduleParameters = baseScheduleParameters.extend({
67
67
  type: zod_1.literal('appointment'),
@@ -3,7 +3,7 @@ export declare const getVideoVisitMethods: (makeRequest: RequestMaker) => {
3
3
  scheduleVideoVisit: (params: {
4
4
  extraInfo?: any;
5
5
  kioskId?: string | undefined;
6
- kioskLocation?: string | undefined;
6
+ kioskName?: string | undefined;
7
7
  type: "appointment";
8
8
  patientId: number;
9
9
  specialtyId: number;
@@ -13,7 +13,7 @@ export declare const getVideoVisitMethods: (makeRequest: RequestMaker) => {
13
13
  } | {
14
14
  extraInfo?: any;
15
15
  kioskId?: string | undefined;
16
- kioskLocation?: string | undefined;
16
+ kioskName?: string | undefined;
17
17
  type: "instant";
18
18
  patientId: number;
19
19
  specialtyId: number;
@@ -21,7 +21,7 @@ const getVideoVisitMethods = (makeRequest) => {
21
21
  details: params.details,
22
22
  extra_info: params.extraInfo,
23
23
  kioskId: params.kioskId,
24
- kioskLocation: params.kioskLocation,
24
+ kioskName: params.kioskName,
25
25
  };
26
26
  const response = await makeRequest('POST', '/video-visit', mappedParams);
27
27
  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.1",
3
+ "version": "0.37.2",
4
4
  "publishConfig": {
5
5
  "tag": "0.x"
6
6
  },