erpnext-queue-client 1.33.5 → 1.34.1
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.
|
@@ -54,9 +54,12 @@ export declare class ERPNextServicecase {
|
|
|
54
54
|
modified: string;
|
|
55
55
|
modified_by: string;
|
|
56
56
|
idx: number;
|
|
57
|
+
shipment_id: string;
|
|
57
58
|
quantity: number;
|
|
58
59
|
item: string;
|
|
60
|
+
return_fee: number;
|
|
59
61
|
return_item: string;
|
|
62
|
+
shipping_provider?: string | null | undefined;
|
|
60
63
|
return_label?: string | null | undefined;
|
|
61
64
|
}[];
|
|
62
65
|
external_id?: string | null | undefined;
|
|
@@ -117,9 +120,12 @@ export declare class ERPNextServicecase {
|
|
|
117
120
|
modified: string;
|
|
118
121
|
modified_by: string;
|
|
119
122
|
idx: number;
|
|
123
|
+
shipment_id: string;
|
|
120
124
|
quantity: number;
|
|
121
125
|
item: string;
|
|
126
|
+
return_fee: number;
|
|
122
127
|
return_item: string;
|
|
128
|
+
shipping_provider?: string | null | undefined;
|
|
123
129
|
return_label?: string | null | undefined;
|
|
124
130
|
}[];
|
|
125
131
|
external_id?: string | null | undefined;
|
|
@@ -175,9 +181,12 @@ export declare class ERPNextServicecase {
|
|
|
175
181
|
modified: string;
|
|
176
182
|
modified_by: string;
|
|
177
183
|
idx: number;
|
|
184
|
+
shipment_id: string;
|
|
178
185
|
quantity: number;
|
|
179
186
|
item: string;
|
|
187
|
+
return_fee: number;
|
|
180
188
|
return_item: string;
|
|
189
|
+
shipping_provider?: string | null | undefined;
|
|
181
190
|
return_label?: string | null | undefined;
|
|
182
191
|
}[];
|
|
183
192
|
external_id?: string | null | undefined;
|
|
@@ -232,9 +241,12 @@ export declare class ERPNextServicecase {
|
|
|
232
241
|
modified: string;
|
|
233
242
|
modified_by: string;
|
|
234
243
|
idx: number;
|
|
244
|
+
shipment_id: string;
|
|
235
245
|
quantity: number;
|
|
236
246
|
item: string;
|
|
247
|
+
return_fee: number;
|
|
237
248
|
return_item: string;
|
|
249
|
+
shipping_provider?: string | null | undefined;
|
|
238
250
|
return_label?: string | null | undefined;
|
|
239
251
|
}[];
|
|
240
252
|
external_id?: string | null | undefined;
|
|
@@ -294,9 +306,12 @@ export declare class ERPNextServicecase {
|
|
|
294
306
|
modified: string;
|
|
295
307
|
modified_by: string;
|
|
296
308
|
idx: number;
|
|
309
|
+
shipment_id: string;
|
|
297
310
|
quantity: number;
|
|
298
311
|
item: string;
|
|
312
|
+
return_fee: number;
|
|
299
313
|
return_item: string;
|
|
314
|
+
shipping_provider?: string | null | undefined;
|
|
300
315
|
return_label?: string | null | undefined;
|
|
301
316
|
}[];
|
|
302
317
|
external_id?: string | null | undefined;
|
|
@@ -351,9 +366,12 @@ export declare class ERPNextServicecase {
|
|
|
351
366
|
modified: string;
|
|
352
367
|
modified_by: string;
|
|
353
368
|
idx: number;
|
|
369
|
+
shipment_id: string;
|
|
354
370
|
quantity: number;
|
|
355
371
|
item: string;
|
|
372
|
+
return_fee: number;
|
|
356
373
|
return_item: string;
|
|
374
|
+
shipping_provider?: string | null | undefined;
|
|
357
375
|
return_label?: string | null | undefined;
|
|
358
376
|
}[];
|
|
359
377
|
external_id?: string | null | undefined;
|
|
@@ -415,9 +433,12 @@ export declare class ERPNextServicecase {
|
|
|
415
433
|
modified: string;
|
|
416
434
|
modified_by: string;
|
|
417
435
|
idx: number;
|
|
436
|
+
shipment_id: string;
|
|
418
437
|
quantity: number;
|
|
419
438
|
item: string;
|
|
439
|
+
return_fee: number;
|
|
420
440
|
return_item: string;
|
|
441
|
+
shipping_provider?: string | null | undefined;
|
|
421
442
|
return_label?: string | null | undefined;
|
|
422
443
|
}[];
|
|
423
444
|
external_id?: string | null | undefined;
|
|
@@ -446,16 +446,25 @@ export declare const ReturnShippingItemBase: z.ZodObject<{
|
|
|
446
446
|
item: z.ZodString;
|
|
447
447
|
return_item: z.ZodString;
|
|
448
448
|
quantity: z.ZodNumber;
|
|
449
|
+
shipment_id: z.ZodString;
|
|
450
|
+
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
449
451
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
452
|
+
shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
450
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
|
+
shipment_id: string;
|
|
451
455
|
quantity: number;
|
|
452
456
|
item: string;
|
|
457
|
+
return_fee: number;
|
|
453
458
|
return_item: string;
|
|
459
|
+
shipping_provider?: string | null | undefined;
|
|
454
460
|
return_label?: string | null | undefined;
|
|
455
461
|
}, {
|
|
462
|
+
shipment_id: string;
|
|
456
463
|
quantity: number;
|
|
457
464
|
item: string;
|
|
458
465
|
return_item: string;
|
|
466
|
+
shipping_provider?: string | null | undefined;
|
|
467
|
+
return_fee?: number | undefined;
|
|
459
468
|
return_label?: string | null | undefined;
|
|
460
469
|
}>;
|
|
461
470
|
export type ReturnShippingItemBaseType = z.infer<typeof ReturnShippingItemBase>;
|
|
@@ -463,7 +472,10 @@ export declare const ReturnShippingItem: z.ZodObject<{
|
|
|
463
472
|
item: z.ZodString;
|
|
464
473
|
return_item: z.ZodString;
|
|
465
474
|
quantity: z.ZodNumber;
|
|
475
|
+
shipment_id: z.ZodString;
|
|
476
|
+
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
466
477
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
478
|
+
shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
467
479
|
} & {
|
|
468
480
|
name: z.ZodString;
|
|
469
481
|
owner: z.ZodString;
|
|
@@ -478,9 +490,12 @@ export declare const ReturnShippingItem: z.ZodObject<{
|
|
|
478
490
|
modified: string;
|
|
479
491
|
modified_by: string;
|
|
480
492
|
idx: number;
|
|
493
|
+
shipment_id: string;
|
|
481
494
|
quantity: number;
|
|
482
495
|
item: string;
|
|
496
|
+
return_fee: number;
|
|
483
497
|
return_item: string;
|
|
498
|
+
shipping_provider?: string | null | undefined;
|
|
484
499
|
return_label?: string | null | undefined;
|
|
485
500
|
}, {
|
|
486
501
|
name: string;
|
|
@@ -489,9 +504,12 @@ export declare const ReturnShippingItem: z.ZodObject<{
|
|
|
489
504
|
modified: string;
|
|
490
505
|
modified_by: string;
|
|
491
506
|
idx: number;
|
|
507
|
+
shipment_id: string;
|
|
492
508
|
quantity: number;
|
|
493
509
|
item: string;
|
|
494
510
|
return_item: string;
|
|
511
|
+
shipping_provider?: string | null | undefined;
|
|
512
|
+
return_fee?: number | undefined;
|
|
495
513
|
return_label?: string | null | undefined;
|
|
496
514
|
}>;
|
|
497
515
|
export type ReturnShippingItemType = z.infer<typeof ReturnShippingItem>;
|
|
@@ -629,7 +647,10 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
629
647
|
item: z.ZodString;
|
|
630
648
|
return_item: z.ZodString;
|
|
631
649
|
quantity: z.ZodNumber;
|
|
650
|
+
shipment_id: z.ZodString;
|
|
651
|
+
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
632
652
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
653
|
+
shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
633
654
|
} & {
|
|
634
655
|
name: z.ZodString;
|
|
635
656
|
owner: z.ZodString;
|
|
@@ -644,9 +665,12 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
644
665
|
modified: string;
|
|
645
666
|
modified_by: string;
|
|
646
667
|
idx: number;
|
|
668
|
+
shipment_id: string;
|
|
647
669
|
quantity: number;
|
|
648
670
|
item: string;
|
|
671
|
+
return_fee: number;
|
|
649
672
|
return_item: string;
|
|
673
|
+
shipping_provider?: string | null | undefined;
|
|
650
674
|
return_label?: string | null | undefined;
|
|
651
675
|
}, {
|
|
652
676
|
name: string;
|
|
@@ -655,9 +679,12 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
655
679
|
modified: string;
|
|
656
680
|
modified_by: string;
|
|
657
681
|
idx: number;
|
|
682
|
+
shipment_id: string;
|
|
658
683
|
quantity: number;
|
|
659
684
|
item: string;
|
|
660
685
|
return_item: string;
|
|
686
|
+
shipping_provider?: string | null | undefined;
|
|
687
|
+
return_fee?: number | undefined;
|
|
661
688
|
return_label?: string | null | undefined;
|
|
662
689
|
}>, "many">;
|
|
663
690
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -706,9 +733,12 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
706
733
|
modified: string;
|
|
707
734
|
modified_by: string;
|
|
708
735
|
idx: number;
|
|
736
|
+
shipment_id: string;
|
|
709
737
|
quantity: number;
|
|
710
738
|
item: string;
|
|
739
|
+
return_fee: number;
|
|
711
740
|
return_item: string;
|
|
741
|
+
shipping_provider?: string | null | undefined;
|
|
712
742
|
return_label?: string | null | undefined;
|
|
713
743
|
}[];
|
|
714
744
|
external_id?: string | null | undefined;
|
|
@@ -758,9 +788,12 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
758
788
|
modified: string;
|
|
759
789
|
modified_by: string;
|
|
760
790
|
idx: number;
|
|
791
|
+
shipment_id: string;
|
|
761
792
|
quantity: number;
|
|
762
793
|
item: string;
|
|
763
794
|
return_item: string;
|
|
795
|
+
shipping_provider?: string | null | undefined;
|
|
796
|
+
return_fee?: number | undefined;
|
|
764
797
|
return_label?: string | null | undefined;
|
|
765
798
|
}[];
|
|
766
799
|
status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
|
|
@@ -842,16 +875,25 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
842
875
|
item: z.ZodString;
|
|
843
876
|
return_item: z.ZodString;
|
|
844
877
|
quantity: z.ZodNumber;
|
|
878
|
+
shipment_id: z.ZodString;
|
|
879
|
+
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
845
880
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
881
|
+
shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
846
882
|
}, "strip", z.ZodTypeAny, {
|
|
883
|
+
shipment_id: string;
|
|
847
884
|
quantity: number;
|
|
848
885
|
item: string;
|
|
886
|
+
return_fee: number;
|
|
849
887
|
return_item: string;
|
|
888
|
+
shipping_provider?: string | null | undefined;
|
|
850
889
|
return_label?: string | null | undefined;
|
|
851
890
|
}, {
|
|
891
|
+
shipment_id: string;
|
|
852
892
|
quantity: number;
|
|
853
893
|
item: string;
|
|
854
894
|
return_item: string;
|
|
895
|
+
shipping_provider?: string | null | undefined;
|
|
896
|
+
return_fee?: number | undefined;
|
|
855
897
|
return_label?: string | null | undefined;
|
|
856
898
|
}>, "many">>;
|
|
857
899
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -889,9 +931,12 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
889
931
|
customer_message?: string | null | undefined;
|
|
890
932
|
agreed_terms?: string | null | undefined;
|
|
891
933
|
return_shipping_items?: {
|
|
934
|
+
shipment_id: string;
|
|
892
935
|
quantity: number;
|
|
893
936
|
item: string;
|
|
937
|
+
return_fee: number;
|
|
894
938
|
return_item: string;
|
|
939
|
+
shipping_provider?: string | null | undefined;
|
|
895
940
|
return_label?: string | null | undefined;
|
|
896
941
|
}[] | undefined;
|
|
897
942
|
}, {
|
|
@@ -927,9 +972,12 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
927
972
|
agreed_terms?: string | null | undefined;
|
|
928
973
|
created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
|
|
929
974
|
return_shipping_items?: {
|
|
975
|
+
shipment_id: string;
|
|
930
976
|
quantity: number;
|
|
931
977
|
item: string;
|
|
932
978
|
return_item: string;
|
|
979
|
+
shipping_provider?: string | null | undefined;
|
|
980
|
+
return_fee?: number | undefined;
|
|
933
981
|
return_label?: string | null | undefined;
|
|
934
982
|
}[] | undefined;
|
|
935
983
|
}>;
|
|
@@ -1045,7 +1093,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1045
1093
|
item: z.ZodString;
|
|
1046
1094
|
return_item: z.ZodString;
|
|
1047
1095
|
quantity: z.ZodNumber;
|
|
1096
|
+
shipment_id: z.ZodString;
|
|
1097
|
+
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
1048
1098
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1099
|
+
shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1049
1100
|
} & {
|
|
1050
1101
|
name: z.ZodString;
|
|
1051
1102
|
owner: z.ZodString;
|
|
@@ -1060,9 +1111,12 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1060
1111
|
modified: string;
|
|
1061
1112
|
modified_by: string;
|
|
1062
1113
|
idx: number;
|
|
1114
|
+
shipment_id: string;
|
|
1063
1115
|
quantity: number;
|
|
1064
1116
|
item: string;
|
|
1117
|
+
return_fee: number;
|
|
1065
1118
|
return_item: string;
|
|
1119
|
+
shipping_provider?: string | null | undefined;
|
|
1066
1120
|
return_label?: string | null | undefined;
|
|
1067
1121
|
}, {
|
|
1068
1122
|
name: string;
|
|
@@ -1071,9 +1125,12 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1071
1125
|
modified: string;
|
|
1072
1126
|
modified_by: string;
|
|
1073
1127
|
idx: number;
|
|
1128
|
+
shipment_id: string;
|
|
1074
1129
|
quantity: number;
|
|
1075
1130
|
item: string;
|
|
1076
1131
|
return_item: string;
|
|
1132
|
+
shipping_provider?: string | null | undefined;
|
|
1133
|
+
return_fee?: number | undefined;
|
|
1077
1134
|
return_label?: string | null | undefined;
|
|
1078
1135
|
}>, "many">;
|
|
1079
1136
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -1127,9 +1184,12 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1127
1184
|
modified: string;
|
|
1128
1185
|
modified_by: string;
|
|
1129
1186
|
idx: number;
|
|
1187
|
+
shipment_id: string;
|
|
1130
1188
|
quantity: number;
|
|
1131
1189
|
item: string;
|
|
1190
|
+
return_fee: number;
|
|
1132
1191
|
return_item: string;
|
|
1192
|
+
shipping_provider?: string | null | undefined;
|
|
1133
1193
|
return_label?: string | null | undefined;
|
|
1134
1194
|
}[];
|
|
1135
1195
|
external_id?: string | null | undefined;
|
|
@@ -1184,9 +1244,12 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1184
1244
|
modified: string;
|
|
1185
1245
|
modified_by: string;
|
|
1186
1246
|
idx: number;
|
|
1247
|
+
shipment_id: string;
|
|
1187
1248
|
quantity: number;
|
|
1188
1249
|
item: string;
|
|
1189
1250
|
return_item: string;
|
|
1251
|
+
shipping_provider?: string | null | undefined;
|
|
1252
|
+
return_fee?: number | undefined;
|
|
1190
1253
|
return_label?: string | null | undefined;
|
|
1191
1254
|
}[];
|
|
1192
1255
|
status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
|
|
@@ -1309,7 +1372,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1309
1372
|
item: z.ZodString;
|
|
1310
1373
|
return_item: z.ZodString;
|
|
1311
1374
|
quantity: z.ZodNumber;
|
|
1375
|
+
shipment_id: z.ZodString;
|
|
1376
|
+
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
1312
1377
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1378
|
+
shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1313
1379
|
} & {
|
|
1314
1380
|
name: z.ZodString;
|
|
1315
1381
|
owner: z.ZodString;
|
|
@@ -1324,9 +1390,12 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1324
1390
|
modified: string;
|
|
1325
1391
|
modified_by: string;
|
|
1326
1392
|
idx: number;
|
|
1393
|
+
shipment_id: string;
|
|
1327
1394
|
quantity: number;
|
|
1328
1395
|
item: string;
|
|
1396
|
+
return_fee: number;
|
|
1329
1397
|
return_item: string;
|
|
1398
|
+
shipping_provider?: string | null | undefined;
|
|
1330
1399
|
return_label?: string | null | undefined;
|
|
1331
1400
|
}, {
|
|
1332
1401
|
name: string;
|
|
@@ -1335,9 +1404,12 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1335
1404
|
modified: string;
|
|
1336
1405
|
modified_by: string;
|
|
1337
1406
|
idx: number;
|
|
1407
|
+
shipment_id: string;
|
|
1338
1408
|
quantity: number;
|
|
1339
1409
|
item: string;
|
|
1340
1410
|
return_item: string;
|
|
1411
|
+
shipping_provider?: string | null | undefined;
|
|
1412
|
+
return_fee?: number | undefined;
|
|
1341
1413
|
return_label?: string | null | undefined;
|
|
1342
1414
|
}>, "many">;
|
|
1343
1415
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -1391,9 +1463,12 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1391
1463
|
modified: string;
|
|
1392
1464
|
modified_by: string;
|
|
1393
1465
|
idx: number;
|
|
1466
|
+
shipment_id: string;
|
|
1394
1467
|
quantity: number;
|
|
1395
1468
|
item: string;
|
|
1469
|
+
return_fee: number;
|
|
1396
1470
|
return_item: string;
|
|
1471
|
+
shipping_provider?: string | null | undefined;
|
|
1397
1472
|
return_label?: string | null | undefined;
|
|
1398
1473
|
}[];
|
|
1399
1474
|
external_id?: string | null | undefined;
|
|
@@ -1448,9 +1523,12 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1448
1523
|
modified: string;
|
|
1449
1524
|
modified_by: string;
|
|
1450
1525
|
idx: number;
|
|
1526
|
+
shipment_id: string;
|
|
1451
1527
|
quantity: number;
|
|
1452
1528
|
item: string;
|
|
1453
1529
|
return_item: string;
|
|
1530
|
+
shipping_provider?: string | null | undefined;
|
|
1531
|
+
return_fee?: number | undefined;
|
|
1454
1532
|
return_label?: string | null | undefined;
|
|
1455
1533
|
}[];
|
|
1456
1534
|
status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
|
|
@@ -124,7 +124,10 @@ exports.ReturnShippingItemBase = zod_1.z
|
|
|
124
124
|
item: zod_1.z.string(),
|
|
125
125
|
return_item: zod_1.z.string(),
|
|
126
126
|
quantity: zod_1.z.number(),
|
|
127
|
+
shipment_id: zod_1.z.string(),
|
|
128
|
+
return_fee: zod_1.z.number().default(0),
|
|
127
129
|
return_label: zod_1.z.string().optional().nullable(),
|
|
130
|
+
shipping_provider: zod_1.z.string().optional().nullable(),
|
|
128
131
|
})
|
|
129
132
|
.describe("ReturnShippingItemBase");
|
|
130
133
|
exports.ReturnShippingItem = exports.ReturnShippingItemBase.extend({
|