erpnext-queue-client 2.6.5 → 2.6.6

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.
@@ -130,13 +130,15 @@ export declare const ReturnItemInput: z.ZodObject<{
130
130
  return_fee: z.ZodDefault<z.ZodNumber>;
131
131
  return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
132
  } & {
133
- name: z.ZodOptional<z.ZodString>;
133
+ name: z.ZodString & {
134
+ __optionalForInput: true;
135
+ };
134
136
  }, "strip", z.ZodTypeAny, {
137
+ name: string;
135
138
  item: string;
136
139
  return_quantity: number;
137
140
  is_complaint: 0 | 1;
138
141
  return_fee: number;
139
- name?: string | undefined;
140
142
  attachments?: string | null | undefined;
141
143
  internal_reasons?: string | null | undefined;
142
144
  line_item_id?: string | null | undefined;
@@ -149,9 +151,9 @@ export declare const ReturnItemInput: z.ZodObject<{
149
151
  complaint_description?: string | null | undefined;
150
152
  return_label?: string | null | undefined;
151
153
  }, {
154
+ name: string;
152
155
  item: string;
153
156
  return_quantity: number;
154
- name?: string | undefined;
155
157
  attachments?: string | null | undefined;
156
158
  internal_reasons?: string | null | undefined;
157
159
  line_item_id?: string | null | undefined;
@@ -494,13 +496,15 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
494
496
  return_fee: z.ZodDefault<z.ZodNumber>;
495
497
  return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
496
498
  } & {
497
- name: z.ZodOptional<z.ZodString>;
499
+ name: z.ZodString & {
500
+ __optionalForInput: true;
501
+ };
498
502
  }, "strip", z.ZodTypeAny, {
503
+ name: string;
499
504
  item: string;
500
505
  return_quantity: number;
501
506
  is_complaint: 0 | 1;
502
507
  return_fee: number;
503
- name?: string | undefined;
504
508
  attachments?: string | null | undefined;
505
509
  internal_reasons?: string | null | undefined;
506
510
  line_item_id?: string | null | undefined;
@@ -513,9 +517,9 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
513
517
  complaint_description?: string | null | undefined;
514
518
  return_label?: string | null | undefined;
515
519
  }, {
520
+ name: string;
516
521
  item: string;
517
522
  return_quantity: number;
518
- name?: string | undefined;
519
523
  attachments?: string | null | undefined;
520
524
  internal_reasons?: string | null | undefined;
521
525
  line_item_id?: string | null | undefined;
@@ -565,11 +569,11 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
565
569
  is_sent_to_cc: 0 | 1;
566
570
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
567
571
  return_items: {
572
+ name: string;
568
573
  item: string;
569
574
  return_quantity: number;
570
575
  is_complaint: 0 | 1;
571
576
  return_fee: number;
572
- name?: string | undefined;
573
577
  attachments?: string | null | undefined;
574
578
  internal_reasons?: string | null | undefined;
575
579
  line_item_id?: string | null | undefined;
@@ -602,9 +606,9 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
602
606
  order_number: string;
603
607
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
604
608
  return_items: {
609
+ name: string;
605
610
  item: string;
606
611
  return_quantity: number;
607
- name?: string | undefined;
608
612
  attachments?: string | null | undefined;
609
613
  internal_reasons?: string | null | undefined;
610
614
  line_item_id?: string | null | undefined;
@@ -61,7 +61,7 @@ exports.ReturnItem = zod_1.z
61
61
  })
62
62
  .describe("ReturnItem");
63
63
  exports.ReturnItemInput = exports.ReturnItem.extend({
64
- name: zod_1.z.string().optional(),
64
+ name: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
65
65
  }).describe("ReturnItemInput");
66
66
  exports.ReturnItemExtended = (0, DocTypeHelpers_1.DocModel)(exports.ReturnItem.extend({
67
67
  attachments: zod_1.z.array(zod_1.z.object({ url: zod_1.z.string(), type: zod_1.z.enum(["image", "video"]) })),
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "winston": "^3.15.0",
35
35
  "zod": "3.25.76"
36
36
  },
37
- "version": "2.6.5",
37
+ "version": "2.6.6",
38
38
  "devDependencies": {
39
39
  "@types/crypto-js": "^4.2.2",
40
40
  "@types/lodash": "^4.17.13",