erpnext-queue-client 1.33.1 → 1.33.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.
@@ -832,6 +832,22 @@ export declare const ServicecaseInput: z.ZodObject<{
832
832
  complaint_description?: string | null | undefined;
833
833
  return_label?: string | null | undefined;
834
834
  }>, "many">;
835
+ return_shipping_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
836
+ item: z.ZodString;
837
+ return_item: z.ZodString;
838
+ quantity: z.ZodNumber;
839
+ return_label: z.ZodString;
840
+ }, "strip", z.ZodTypeAny, {
841
+ quantity: number;
842
+ item: string;
843
+ return_label: string;
844
+ return_item: string;
845
+ }, {
846
+ quantity: number;
847
+ item: string;
848
+ return_label: string;
849
+ return_item: string;
850
+ }>, "many">>;
835
851
  is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
836
852
  is_sent_to_cc: z.ZodEffects<z.ZodNumber, number, unknown>;
837
853
  }, "strip", z.ZodTypeAny, {
@@ -865,6 +881,12 @@ export declare const ServicecaseInput: z.ZodObject<{
865
881
  complaint_date?: string | null | undefined;
866
882
  customer_message?: string | null | undefined;
867
883
  agreed_terms?: string | null | undefined;
884
+ return_shipping_items?: {
885
+ quantity: number;
886
+ item: string;
887
+ return_label: string;
888
+ return_item: string;
889
+ }[] | undefined;
868
890
  }, {
869
891
  country: string;
870
892
  order_number: string;
@@ -896,6 +918,12 @@ export declare const ServicecaseInput: z.ZodObject<{
896
918
  customer_message?: string | null | undefined;
897
919
  agreed_terms?: string | null | undefined;
898
920
  created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
921
+ return_shipping_items?: {
922
+ quantity: number;
923
+ item: string;
924
+ return_label: string;
925
+ return_item: string;
926
+ }[] | undefined;
899
927
  }>;
900
928
  export type ServicecaseInputType = z.infer<typeof ServicecaseInput>;
901
929
  export declare const ServicecaseExtended: z.ZodObject<{
@@ -165,6 +165,7 @@ exports.Servicecase = exports.ServicecaseBase.extend({
165
165
  }).describe("Servicecase");
166
166
  exports.ServicecaseInput = exports.ServicecaseBase.extend({
167
167
  return_items: zod_1.z.array(exports.ReturnItemInput),
168
+ return_shipping_items: zod_1.z.array(exports.ReturnShippingItemBase).optional(),
168
169
  is_sent_to_client: zod_1.z.preprocess((i) => Number(i), zod_1.z.number()),
169
170
  is_sent_to_cc: zod_1.z.preprocess((i) => Number(i), zod_1.z.number()),
170
171
  }).describe("ServicecaseInput");
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.33.1",
28
+ "version": "1.33.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",