erpnext-queue-client 1.23.0 → 1.24.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.
@@ -41,6 +41,7 @@ export declare class ERPNextServicecase {
41
41
  servicecase_solution?: string | null | undefined;
42
42
  batch_number?: string | null | undefined;
43
43
  complaint_description?: string | null | undefined;
44
+ return_label?: string | null | undefined;
44
45
  }[];
45
46
  external_id?: string | null | undefined;
46
47
  customer_email?: string | null | undefined;
@@ -89,6 +90,7 @@ export declare class ERPNextServicecase {
89
90
  servicecase_solution?: string | null | undefined;
90
91
  batch_number?: string | null | undefined;
91
92
  complaint_description?: string | null | undefined;
93
+ return_label?: string | null | undefined;
92
94
  }[];
93
95
  external_id?: string | null | undefined;
94
96
  customer_email?: string | null | undefined;
@@ -132,6 +134,7 @@ export declare class ERPNextServicecase {
132
134
  servicecase_solution?: string | null | undefined;
133
135
  batch_number?: string | null | undefined;
134
136
  complaint_description?: string | null | undefined;
137
+ return_label?: string | null | undefined;
135
138
  }[];
136
139
  external_id?: string | null | undefined;
137
140
  customer_email?: string | null | undefined;
@@ -172,6 +175,7 @@ export declare class ERPNextServicecase {
172
175
  servicecase_solution?: string | null | undefined;
173
176
  batch_number?: string | null | undefined;
174
177
  complaint_description?: string | null | undefined;
178
+ return_label?: string | null | undefined;
175
179
  }[];
176
180
  external_id?: string | null | undefined;
177
181
  customer_email?: string | null | undefined;
@@ -217,6 +221,7 @@ export declare class ERPNextServicecase {
217
221
  servicecase_solution?: string | null | undefined;
218
222
  batch_number?: string | null | undefined;
219
223
  complaint_description?: string | null | undefined;
224
+ return_label?: string | null | undefined;
220
225
  }[];
221
226
  external_id?: string | null | undefined;
222
227
  customer_email?: string | null | undefined;
@@ -257,6 +262,7 @@ export declare class ERPNextServicecase {
257
262
  servicecase_solution?: string | null | undefined;
258
263
  batch_number?: string | null | undefined;
259
264
  complaint_description?: string | null | undefined;
265
+ return_label?: string | null | undefined;
260
266
  }[];
261
267
  external_id?: string | null | undefined;
262
268
  customer_email?: string | null | undefined;
@@ -303,6 +309,7 @@ export declare class ERPNextServicecase {
303
309
  servicecase_solution?: string | null | undefined;
304
310
  batch_number?: string | null | undefined;
305
311
  complaint_description?: string | null | undefined;
312
+ return_label?: string | null | undefined;
306
313
  attachments_collection_name?: string | null | undefined;
307
314
  internal_reasons_collection_name?: string | null | undefined;
308
315
  }[];
@@ -162,6 +162,7 @@ export declare const ReturnItemBase: z.ZodObject<{
162
162
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
163
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
164
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
166
  }, "strip", z.ZodTypeAny, {
166
167
  item: string;
167
168
  return_quantity: number;
@@ -175,6 +176,7 @@ export declare const ReturnItemBase: z.ZodObject<{
175
176
  servicecase_solution?: string | null | undefined;
176
177
  batch_number?: string | null | undefined;
177
178
  complaint_description?: string | null | undefined;
179
+ return_label?: string | null | undefined;
178
180
  }, {
179
181
  item: string;
180
182
  return_quantity: number;
@@ -188,6 +190,7 @@ export declare const ReturnItemBase: z.ZodObject<{
188
190
  servicecase_solution?: string | null | undefined;
189
191
  batch_number?: string | null | undefined;
190
192
  complaint_description?: string | null | undefined;
193
+ return_label?: string | null | undefined;
191
194
  }>;
192
195
  export type ReturnItemBaseType = z.infer<typeof ReturnItemBase>;
193
196
  export declare const ReturnItemInput: z.ZodObject<{
@@ -202,6 +205,7 @@ export declare const ReturnItemInput: z.ZodObject<{
202
205
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
203
206
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
204
207
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
208
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
205
209
  } & {
206
210
  is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
207
211
  }, "strip", z.ZodTypeAny, {
@@ -217,6 +221,7 @@ export declare const ReturnItemInput: z.ZodObject<{
217
221
  servicecase_solution?: string | null | undefined;
218
222
  batch_number?: string | null | undefined;
219
223
  complaint_description?: string | null | undefined;
224
+ return_label?: string | null | undefined;
220
225
  }, {
221
226
  item: string;
222
227
  return_quantity: number;
@@ -230,6 +235,7 @@ export declare const ReturnItemInput: z.ZodObject<{
230
235
  servicecase_solution?: string | null | undefined;
231
236
  batch_number?: string | null | undefined;
232
237
  complaint_description?: string | null | undefined;
238
+ return_label?: string | null | undefined;
233
239
  }>;
234
240
  export type ReturnItemInputType = z.infer<typeof ReturnItemInput>;
235
241
  export declare const ReturnItem: z.ZodObject<{
@@ -245,6 +251,7 @@ export declare const ReturnItem: z.ZodObject<{
245
251
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
246
252
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
247
253
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
254
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
248
255
  } & {
249
256
  name: z.ZodString;
250
257
  owner: z.ZodString;
@@ -271,6 +278,7 @@ export declare const ReturnItem: z.ZodObject<{
271
278
  servicecase_solution?: string | null | undefined;
272
279
  batch_number?: string | null | undefined;
273
280
  complaint_description?: string | null | undefined;
281
+ return_label?: string | null | undefined;
274
282
  }, {
275
283
  name: string;
276
284
  owner: string;
@@ -290,6 +298,7 @@ export declare const ReturnItem: z.ZodObject<{
290
298
  servicecase_solution?: string | null | undefined;
291
299
  batch_number?: string | null | undefined;
292
300
  complaint_description?: string | null | undefined;
301
+ return_label?: string | null | undefined;
293
302
  }>;
294
303
  export type ReturnItemType = z.infer<typeof ReturnItem>;
295
304
  export declare const ReturnItemExtended: z.ZodObject<{
@@ -302,6 +311,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
302
311
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
303
312
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
304
313
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
314
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
305
315
  } & {
306
316
  name: z.ZodString;
307
317
  owner: z.ZodString;
@@ -345,6 +355,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
345
355
  servicecase_solution?: string | null | undefined;
346
356
  batch_number?: string | null | undefined;
347
357
  complaint_description?: string | null | undefined;
358
+ return_label?: string | null | undefined;
348
359
  attachments_collection_name?: string | null | undefined;
349
360
  internal_reasons_collection_name?: string | null | undefined;
350
361
  }, {
@@ -369,6 +380,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
369
380
  servicecase_solution?: string | null | undefined;
370
381
  batch_number?: string | null | undefined;
371
382
  complaint_description?: string | null | undefined;
383
+ return_label?: string | null | undefined;
372
384
  attachments_collection_name?: string | null | undefined;
373
385
  internal_reasons_collection_name?: string | null | undefined;
374
386
  }>;
@@ -448,6 +460,7 @@ export declare const Servicecase: z.ZodObject<{
448
460
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
449
461
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
450
462
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
463
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
451
464
  } & {
452
465
  name: z.ZodString;
453
466
  owner: z.ZodString;
@@ -474,6 +487,7 @@ export declare const Servicecase: z.ZodObject<{
474
487
  servicecase_solution?: string | null | undefined;
475
488
  batch_number?: string | null | undefined;
476
489
  complaint_description?: string | null | undefined;
490
+ return_label?: string | null | undefined;
477
491
  }, {
478
492
  name: string;
479
493
  owner: string;
@@ -493,6 +507,7 @@ export declare const Servicecase: z.ZodObject<{
493
507
  servicecase_solution?: string | null | undefined;
494
508
  batch_number?: string | null | undefined;
495
509
  complaint_description?: string | null | undefined;
510
+ return_label?: string | null | undefined;
496
511
  }>, "many">;
497
512
  is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
498
513
  is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
@@ -529,6 +544,7 @@ export declare const Servicecase: z.ZodObject<{
529
544
  servicecase_solution?: string | null | undefined;
530
545
  batch_number?: string | null | undefined;
531
546
  complaint_description?: string | null | undefined;
547
+ return_label?: string | null | undefined;
532
548
  }[];
533
549
  external_id?: string | null | undefined;
534
550
  customer_email?: string | null | undefined;
@@ -566,6 +582,7 @@ export declare const Servicecase: z.ZodObject<{
566
582
  servicecase_solution?: string | null | undefined;
567
583
  batch_number?: string | null | undefined;
568
584
  complaint_description?: string | null | undefined;
585
+ return_label?: string | null | undefined;
569
586
  }[];
570
587
  status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
571
588
  external_id?: string | null | undefined;
@@ -601,6 +618,7 @@ export declare const ServicecaseInput: z.ZodObject<{
601
618
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
602
619
  internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
603
620
  attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
621
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
604
622
  } & {
605
623
  is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
606
624
  }, "strip", z.ZodTypeAny, {
@@ -616,6 +634,7 @@ export declare const ServicecaseInput: z.ZodObject<{
616
634
  servicecase_solution?: string | null | undefined;
617
635
  batch_number?: string | null | undefined;
618
636
  complaint_description?: string | null | undefined;
637
+ return_label?: string | null | undefined;
619
638
  }, {
620
639
  item: string;
621
640
  return_quantity: number;
@@ -629,6 +648,7 @@ export declare const ServicecaseInput: z.ZodObject<{
629
648
  servicecase_solution?: string | null | undefined;
630
649
  batch_number?: string | null | undefined;
631
650
  complaint_description?: string | null | undefined;
651
+ return_label?: string | null | undefined;
632
652
  }>, "many">;
633
653
  is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
634
654
  is_sent_to_cc: z.ZodEffects<z.ZodNumber, number, unknown>;
@@ -654,6 +674,7 @@ export declare const ServicecaseInput: z.ZodObject<{
654
674
  servicecase_solution?: string | null | undefined;
655
675
  batch_number?: string | null | undefined;
656
676
  complaint_description?: string | null | undefined;
677
+ return_label?: string | null | undefined;
657
678
  }[];
658
679
  external_id?: string | null | undefined;
659
680
  customer_email?: string | null | undefined;
@@ -678,6 +699,7 @@ export declare const ServicecaseInput: z.ZodObject<{
678
699
  servicecase_solution?: string | null | undefined;
679
700
  batch_number?: string | null | undefined;
680
701
  complaint_description?: string | null | undefined;
702
+ return_label?: string | null | undefined;
681
703
  }[];
682
704
  status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
683
705
  external_id?: string | null | undefined;
@@ -718,6 +740,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
718
740
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
719
741
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
720
742
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
743
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
721
744
  } & {
722
745
  name: z.ZodString;
723
746
  owner: z.ZodString;
@@ -761,6 +784,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
761
784
  servicecase_solution?: string | null | undefined;
762
785
  batch_number?: string | null | undefined;
763
786
  complaint_description?: string | null | undefined;
787
+ return_label?: string | null | undefined;
764
788
  attachments_collection_name?: string | null | undefined;
765
789
  internal_reasons_collection_name?: string | null | undefined;
766
790
  }, {
@@ -785,6 +809,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
785
809
  servicecase_solution?: string | null | undefined;
786
810
  batch_number?: string | null | undefined;
787
811
  complaint_description?: string | null | undefined;
812
+ return_label?: string | null | undefined;
788
813
  attachments_collection_name?: string | null | undefined;
789
814
  internal_reasons_collection_name?: string | null | undefined;
790
815
  }>, "many">;
@@ -826,6 +851,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
826
851
  servicecase_solution?: string | null | undefined;
827
852
  batch_number?: string | null | undefined;
828
853
  complaint_description?: string | null | undefined;
854
+ return_label?: string | null | undefined;
829
855
  attachments_collection_name?: string | null | undefined;
830
856
  internal_reasons_collection_name?: string | null | undefined;
831
857
  }[];
@@ -868,6 +894,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
868
894
  servicecase_solution?: string | null | undefined;
869
895
  batch_number?: string | null | undefined;
870
896
  complaint_description?: string | null | undefined;
897
+ return_label?: string | null | undefined;
871
898
  attachments_collection_name?: string | null | undefined;
872
899
  internal_reasons_collection_name?: string | null | undefined;
873
900
  }[];
@@ -908,6 +935,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
908
935
  servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
909
936
  batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
910
937
  complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
938
+ return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
911
939
  } & {
912
940
  name: z.ZodString;
913
941
  owner: z.ZodString;
@@ -951,6 +979,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
951
979
  servicecase_solution?: string | null | undefined;
952
980
  batch_number?: string | null | undefined;
953
981
  complaint_description?: string | null | undefined;
982
+ return_label?: string | null | undefined;
954
983
  attachments_collection_name?: string | null | undefined;
955
984
  internal_reasons_collection_name?: string | null | undefined;
956
985
  }, {
@@ -975,6 +1004,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
975
1004
  servicecase_solution?: string | null | undefined;
976
1005
  batch_number?: string | null | undefined;
977
1006
  complaint_description?: string | null | undefined;
1007
+ return_label?: string | null | undefined;
978
1008
  attachments_collection_name?: string | null | undefined;
979
1009
  internal_reasons_collection_name?: string | null | undefined;
980
1010
  }>, "many">;
@@ -1016,6 +1046,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1016
1046
  servicecase_solution?: string | null | undefined;
1017
1047
  batch_number?: string | null | undefined;
1018
1048
  complaint_description?: string | null | undefined;
1049
+ return_label?: string | null | undefined;
1019
1050
  attachments_collection_name?: string | null | undefined;
1020
1051
  internal_reasons_collection_name?: string | null | undefined;
1021
1052
  }[];
@@ -1058,6 +1089,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1058
1089
  servicecase_solution?: string | null | undefined;
1059
1090
  batch_number?: string | null | undefined;
1060
1091
  complaint_description?: string | null | undefined;
1092
+ return_label?: string | null | undefined;
1061
1093
  attachments_collection_name?: string | null | undefined;
1062
1094
  internal_reasons_collection_name?: string | null | undefined;
1063
1095
  }[];
@@ -90,6 +90,7 @@ exports.ReturnItemBase = zod_1.z
90
90
  complaint_description: zod_1.z.string().optional().nullable(),
91
91
  internal_reasons: zod_1.z.string().optional().nullable(),
92
92
  attachments: zod_1.z.string().optional().nullable(),
93
+ return_label: zod_1.z.string().optional().nullable(),
93
94
  })
94
95
  .describe("ReturnItemBase");
95
96
  exports.ReturnItemInput = exports.ReturnItemBase.extend({
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.23.0",
28
+ "version": "1.24.0",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",