erpnext-queue-client 2.4.4 → 2.4.5

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.
@@ -1,20 +1,35 @@
1
1
  import { z } from "zod";
2
- export declare const WaitlistInput: z.ZodObject<{
2
+ export declare const Waitlist: z.ZodObject<{
3
3
  sku: z.ZodString;
4
4
  e_mail: z.ZodString;
5
+ is_notified: z.ZodNumber & {
6
+ __optionalForInput: true;
7
+ };
8
+ requested_at: z.ZodString & {
9
+ __optionalForInput: true;
10
+ };
5
11
  }, "strip", z.ZodTypeAny, {
6
12
  sku: string;
7
13
  e_mail: string;
14
+ is_notified: number;
15
+ requested_at: string;
8
16
  }, {
9
17
  sku: string;
10
18
  e_mail: string;
19
+ is_notified: number;
20
+ requested_at: string;
11
21
  }>;
12
- export type WaitlistInputType = z.infer<typeof WaitlistInput>;
13
- export declare const Waitlist: z.ZodObject<{
22
+ export type WaitlistType = z.infer<typeof Waitlist>;
23
+ /** @deprecated Use `Waitlist` instead. */
24
+ export declare const WaitlistInput: z.ZodObject<{
14
25
  sku: z.ZodString;
15
26
  e_mail: z.ZodString;
16
- is_notified: z.ZodNumber;
17
- requested_at: z.ZodString;
27
+ is_notified: z.ZodNumber & {
28
+ __optionalForInput: true;
29
+ };
30
+ requested_at: z.ZodString & {
31
+ __optionalForInput: true;
32
+ };
18
33
  }, "strip", z.ZodTypeAny, {
19
34
  sku: string;
20
35
  e_mail: string;
@@ -26,4 +41,5 @@ export declare const Waitlist: z.ZodObject<{
26
41
  is_notified: number;
27
42
  requested_at: string;
28
43
  }>;
29
- export type WaitlistType = z.infer<typeof Waitlist>;
44
+ /** @deprecated Use `WaitlistType` instead. */
45
+ export type WaitlistInputType = WaitlistType;
@@ -1,18 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Waitlist = exports.WaitlistInput = void 0;
3
+ exports.WaitlistInput = exports.Waitlist = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.WaitlistInput = zod_1.z
6
- .object({
7
- sku: zod_1.z.string(),
8
- e_mail: zod_1.z.string(),
9
- })
10
- .describe("WaitlistInput");
5
+ const zodContextOptionals_1 = require("../../utils/zodContextOptionals");
11
6
  exports.Waitlist = zod_1.z
12
7
  .object({
13
8
  sku: zod_1.z.string(),
14
9
  e_mail: zod_1.z.string(),
15
- is_notified: zod_1.z.number(),
16
- requested_at: zod_1.z.string(),
10
+ is_notified: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.number()),
11
+ requested_at: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
17
12
  })
18
13
  .describe("Waitlist");
14
+ /** @deprecated Use `Waitlist` instead. */
15
+ exports.WaitlistInput = exports.Waitlist;
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "winston": "^3.15.0",
31
31
  "zod": "3.25.76"
32
32
  },
33
- "version": "2.4.4",
33
+ "version": "2.4.5",
34
34
  "devDependencies": {
35
35
  "@types/crypto-js": "^4.2.2",
36
36
  "@types/lodash": "^4.17.13",