erpnext-queue-client 1.21.2 → 1.21.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.
@@ -3,38 +3,28 @@ export declare const ServicecaseReason: z.ZodObject<{
3
3
  name: z.ZodString;
4
4
  title: z.ZodString;
5
5
  solutions: z.ZodArray<z.ZodObject<{
6
- name: z.ZodString;
7
- title: z.ZodString;
8
- is_return: z.ZodBoolean;
9
- return_message: z.ZodString;
6
+ idx: z.ZodNumber;
7
+ solution: z.ZodString;
10
8
  }, "strip", z.ZodTypeAny, {
11
- name: string;
12
- title: string;
13
- is_return: boolean;
14
- return_message: string;
9
+ idx: number;
10
+ solution: string;
15
11
  }, {
16
- name: string;
17
- title: string;
18
- is_return: boolean;
19
- return_message: string;
12
+ idx: number;
13
+ solution: string;
20
14
  }>, "many">;
21
15
  }, "strip", z.ZodTypeAny, {
22
16
  name: string;
23
17
  title: string;
24
18
  solutions: {
25
- name: string;
26
- title: string;
27
- is_return: boolean;
28
- return_message: string;
19
+ idx: number;
20
+ solution: string;
29
21
  }[];
30
22
  }, {
31
23
  name: string;
32
24
  title: string;
33
25
  solutions: {
34
- name: string;
35
- title: string;
36
- is_return: boolean;
37
- return_message: string;
26
+ idx: number;
27
+ solution: string;
38
28
  }[];
39
29
  }>;
40
30
  export type ServiceCaseReasonType = z.infer<typeof ServicecaseReason>;
@@ -5,11 +5,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ServicecaseReason = void 0;
7
7
  const zod_1 = __importDefault(require("zod"));
8
- const ServicecaseSolution_1 = require("./ServicecaseSolution");
8
+ const ServicecaseReasonSolutions = zod_1.default.array(zod_1.default.object({
9
+ idx: zod_1.default.number(),
10
+ solution: zod_1.default.string(),
11
+ }));
9
12
  exports.ServicecaseReason = zod_1.default
10
13
  .object({
11
14
  name: zod_1.default.string(),
12
15
  title: zod_1.default.string(),
13
- solutions: zod_1.default.array(ServicecaseSolution_1.ServiceCaseSolution),
16
+ solutions: ServicecaseReasonSolutions,
14
17
  })
15
18
  .describe("ServicecaseReason");
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "^3.24.1"
27
27
  },
28
- "version": "1.21.2",
28
+ "version": "1.21.3",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",