erpnext-queue-client 1.35.3 → 1.37.0

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.
@@ -48,6 +48,40 @@ export declare const ServiceportalProductConfiguration: z.ZodObject<{
48
48
  title: z.ZodString;
49
49
  return_fee: z.ZodNumber;
50
50
  return_fee_explanation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
+ return_fees: z.ZodArray<z.ZodObject<{
52
+ name: z.ZodString;
53
+ owner: z.ZodString;
54
+ creation: z.ZodString;
55
+ modified: z.ZodString;
56
+ modified_by: z.ZodString;
57
+ idx: z.ZodNumber;
58
+ docstatus: z.ZodNumber;
59
+ shipping_provider: z.ZodString;
60
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
61
+ fee: z.ZodNumber;
62
+ }, "strip", z.ZodTypeAny, {
63
+ name: string;
64
+ owner: string;
65
+ creation: string;
66
+ modified: string;
67
+ modified_by: string;
68
+ idx: number;
69
+ docstatus: number;
70
+ shipping_provider: string;
71
+ fee: number;
72
+ country?: string | null | undefined;
73
+ }, {
74
+ name: string;
75
+ owner: string;
76
+ creation: string;
77
+ modified: string;
78
+ modified_by: string;
79
+ idx: number;
80
+ docstatus: number;
81
+ shipping_provider: string;
82
+ fee: number;
83
+ country?: string | null | undefined;
84
+ }>, "many">;
51
85
  is_ask_for_batch_number: z.ZodNumber;
52
86
  batch_number_location_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
53
87
  return_conditions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -158,6 +192,18 @@ export declare const ServiceportalProductConfiguration: z.ZodObject<{
158
192
  internal_reason: string;
159
193
  }[];
160
194
  return_fee: number;
195
+ return_fees: {
196
+ name: string;
197
+ owner: string;
198
+ creation: string;
199
+ modified: string;
200
+ modified_by: string;
201
+ idx: number;
202
+ docstatus: number;
203
+ shipping_provider: string;
204
+ fee: number;
205
+ country?: string | null | undefined;
206
+ }[];
161
207
  is_ask_for_batch_number: number;
162
208
  batch_numbers: {
163
209
  name: string;
@@ -202,6 +248,18 @@ export declare const ServiceportalProductConfiguration: z.ZodObject<{
202
248
  internal_reason: string;
203
249
  }[];
204
250
  return_fee: number;
251
+ return_fees: {
252
+ name: string;
253
+ owner: string;
254
+ creation: string;
255
+ modified: string;
256
+ modified_by: string;
257
+ idx: number;
258
+ docstatus: number;
259
+ shipping_provider: string;
260
+ fee: number;
261
+ country?: string | null | undefined;
262
+ }[];
205
263
  is_ask_for_batch_number: number;
206
264
  batch_numbers: {
207
265
  name: string;
@@ -234,6 +292,40 @@ export declare const ServiceportalProductConfigurationInput: z.ZodObject<Omit<{
234
292
  title: z.ZodString;
235
293
  return_fee: z.ZodNumber;
236
294
  return_fee_explanation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
295
+ return_fees: z.ZodArray<z.ZodObject<{
296
+ name: z.ZodString;
297
+ owner: z.ZodString;
298
+ creation: z.ZodString;
299
+ modified: z.ZodString;
300
+ modified_by: z.ZodString;
301
+ idx: z.ZodNumber;
302
+ docstatus: z.ZodNumber;
303
+ shipping_provider: z.ZodString;
304
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
305
+ fee: z.ZodNumber;
306
+ }, "strip", z.ZodTypeAny, {
307
+ name: string;
308
+ owner: string;
309
+ creation: string;
310
+ modified: string;
311
+ modified_by: string;
312
+ idx: number;
313
+ docstatus: number;
314
+ shipping_provider: string;
315
+ fee: number;
316
+ country?: string | null | undefined;
317
+ }, {
318
+ name: string;
319
+ owner: string;
320
+ creation: string;
321
+ modified: string;
322
+ modified_by: string;
323
+ idx: number;
324
+ docstatus: number;
325
+ shipping_provider: string;
326
+ fee: number;
327
+ country?: string | null | undefined;
328
+ }>, "many">;
237
329
  is_ask_for_batch_number: z.ZodNumber;
238
330
  batch_number_location_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
239
331
  return_conditions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -365,6 +457,18 @@ export declare const ServiceportalProductConfigurationInput: z.ZodObject<Omit<{
365
457
  internal_reason: string;
366
458
  }[];
367
459
  return_fee: number;
460
+ return_fees: {
461
+ name: string;
462
+ owner: string;
463
+ creation: string;
464
+ modified: string;
465
+ modified_by: string;
466
+ idx: number;
467
+ docstatus: number;
468
+ shipping_provider: string;
469
+ fee: number;
470
+ country?: string | null | undefined;
471
+ }[];
368
472
  is_ask_for_batch_number: number;
369
473
  batch_numbers: {
370
474
  batch_number: string;
@@ -382,6 +486,18 @@ export declare const ServiceportalProductConfigurationInput: z.ZodObject<Omit<{
382
486
  internal_reason: string;
383
487
  }[];
384
488
  return_fee: number;
489
+ return_fees: {
490
+ name: string;
491
+ owner: string;
492
+ creation: string;
493
+ modified: string;
494
+ modified_by: string;
495
+ idx: number;
496
+ docstatus: number;
497
+ shipping_provider: string;
498
+ fee: number;
499
+ country?: string | null | undefined;
500
+ }[];
385
501
  is_ask_for_batch_number: number;
386
502
  batch_numbers: {
387
503
  batch_number: string;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ServiceportalProductConfigurationInput = exports.ServiceportalProductConfiguration = exports.InternalReasonList = void 0;
4
4
  const zod_1 = require("zod");
5
+ const ShippingFees_1 = require("./ShippingFees");
5
6
  const BatchNumberList = zod_1.z
6
7
  .object({
7
8
  name: zod_1.z.string(),
@@ -42,6 +43,7 @@ exports.ServiceportalProductConfiguration = zod_1.z
42
43
  title: zod_1.z.string(),
43
44
  return_fee: zod_1.z.number(),
44
45
  return_fee_explanation: zod_1.z.string().optional().nullable(),
46
+ return_fees: zod_1.z.array(ShippingFees_1.ShippingFee),
45
47
  is_ask_for_batch_number: zod_1.z.number(),
46
48
  batch_number_location_description: zod_1.z.string().optional().nullable(),
47
49
  return_conditions: zod_1.z.string().optional().nullable(),
@@ -0,0 +1,36 @@
1
+ import { z } from "zod";
2
+ export declare const ShippingFee: z.ZodObject<{
3
+ name: z.ZodString;
4
+ owner: z.ZodString;
5
+ creation: z.ZodString;
6
+ modified: z.ZodString;
7
+ modified_by: z.ZodString;
8
+ idx: z.ZodNumber;
9
+ docstatus: z.ZodNumber;
10
+ shipping_provider: z.ZodString;
11
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
+ fee: z.ZodNumber;
13
+ }, "strip", z.ZodTypeAny, {
14
+ name: string;
15
+ owner: string;
16
+ creation: string;
17
+ modified: string;
18
+ modified_by: string;
19
+ idx: number;
20
+ docstatus: number;
21
+ shipping_provider: string;
22
+ fee: number;
23
+ country?: string | null | undefined;
24
+ }, {
25
+ name: string;
26
+ owner: string;
27
+ creation: string;
28
+ modified: string;
29
+ modified_by: string;
30
+ idx: number;
31
+ docstatus: number;
32
+ shipping_provider: string;
33
+ fee: number;
34
+ country?: string | null | undefined;
35
+ }>;
36
+ export type ShippingFeeType = z.infer<typeof ShippingFee>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShippingFee = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.ShippingFee = zod_1.z
6
+ .object({
7
+ name: zod_1.z.string(),
8
+ owner: zod_1.z.string(),
9
+ creation: zod_1.z.string(),
10
+ modified: zod_1.z.string(),
11
+ modified_by: zod_1.z.string(),
12
+ idx: zod_1.z.number(),
13
+ docstatus: zod_1.z.number(),
14
+ shipping_provider: zod_1.z.string(),
15
+ country: zod_1.z.string().optional().nullable(),
16
+ fee: zod_1.z.number(),
17
+ })
18
+ .describe("Shipping Fee");
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "3.25.76"
27
27
  },
28
- "version": "1.35.3",
28
+ "version": "1.37.0",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",