erpnext-queue-client 1.33.5 → 1.34.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.
|
@@ -56,7 +56,10 @@ export declare class ERPNextServicecase {
|
|
|
56
56
|
idx: number;
|
|
57
57
|
quantity: number;
|
|
58
58
|
item: string;
|
|
59
|
+
return_fee: number;
|
|
59
60
|
return_item: string;
|
|
61
|
+
shipmentId: string;
|
|
62
|
+
shipping_provider?: string | null | undefined;
|
|
60
63
|
return_label?: string | null | undefined;
|
|
61
64
|
}[];
|
|
62
65
|
external_id?: string | null | undefined;
|
|
@@ -119,7 +122,10 @@ export declare class ERPNextServicecase {
|
|
|
119
122
|
idx: number;
|
|
120
123
|
quantity: number;
|
|
121
124
|
item: string;
|
|
125
|
+
return_fee: number;
|
|
122
126
|
return_item: string;
|
|
127
|
+
shipmentId: string;
|
|
128
|
+
shipping_provider?: string | null | undefined;
|
|
123
129
|
return_label?: string | null | undefined;
|
|
124
130
|
}[];
|
|
125
131
|
external_id?: string | null | undefined;
|
|
@@ -177,7 +183,10 @@ export declare class ERPNextServicecase {
|
|
|
177
183
|
idx: number;
|
|
178
184
|
quantity: number;
|
|
179
185
|
item: string;
|
|
186
|
+
return_fee: number;
|
|
180
187
|
return_item: string;
|
|
188
|
+
shipmentId: string;
|
|
189
|
+
shipping_provider?: string | null | undefined;
|
|
181
190
|
return_label?: string | null | undefined;
|
|
182
191
|
}[];
|
|
183
192
|
external_id?: string | null | undefined;
|
|
@@ -234,7 +243,10 @@ export declare class ERPNextServicecase {
|
|
|
234
243
|
idx: number;
|
|
235
244
|
quantity: number;
|
|
236
245
|
item: string;
|
|
246
|
+
return_fee: number;
|
|
237
247
|
return_item: string;
|
|
248
|
+
shipmentId: string;
|
|
249
|
+
shipping_provider?: string | null | undefined;
|
|
238
250
|
return_label?: string | null | undefined;
|
|
239
251
|
}[];
|
|
240
252
|
external_id?: string | null | undefined;
|
|
@@ -296,7 +308,10 @@ export declare class ERPNextServicecase {
|
|
|
296
308
|
idx: number;
|
|
297
309
|
quantity: number;
|
|
298
310
|
item: string;
|
|
311
|
+
return_fee: number;
|
|
299
312
|
return_item: string;
|
|
313
|
+
shipmentId: string;
|
|
314
|
+
shipping_provider?: string | null | undefined;
|
|
300
315
|
return_label?: string | null | undefined;
|
|
301
316
|
}[];
|
|
302
317
|
external_id?: string | null | undefined;
|
|
@@ -353,7 +368,10 @@ export declare class ERPNextServicecase {
|
|
|
353
368
|
idx: number;
|
|
354
369
|
quantity: number;
|
|
355
370
|
item: string;
|
|
371
|
+
return_fee: number;
|
|
356
372
|
return_item: string;
|
|
373
|
+
shipmentId: string;
|
|
374
|
+
shipping_provider?: string | null | undefined;
|
|
357
375
|
return_label?: string | null | undefined;
|
|
358
376
|
}[];
|
|
359
377
|
external_id?: string | null | undefined;
|
|
@@ -417,7 +435,10 @@ export declare class ERPNextServicecase {
|
|
|
417
435
|
idx: number;
|
|
418
436
|
quantity: number;
|
|
419
437
|
item: string;
|
|
438
|
+
return_fee: number;
|
|
420
439
|
return_item: string;
|
|
440
|
+
shipmentId: 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
|
+
shipmentId: 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, {
|
|
451
454
|
quantity: number;
|
|
452
455
|
item: string;
|
|
456
|
+
return_fee: number;
|
|
453
457
|
return_item: string;
|
|
458
|
+
shipmentId: string;
|
|
459
|
+
shipping_provider?: string | null | undefined;
|
|
454
460
|
return_label?: string | null | undefined;
|
|
455
461
|
}, {
|
|
456
462
|
quantity: number;
|
|
457
463
|
item: string;
|
|
458
464
|
return_item: string;
|
|
465
|
+
shipmentId: 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
|
+
shipmentId: 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;
|
|
@@ -480,7 +492,10 @@ export declare const ReturnShippingItem: z.ZodObject<{
|
|
|
480
492
|
idx: number;
|
|
481
493
|
quantity: number;
|
|
482
494
|
item: string;
|
|
495
|
+
return_fee: number;
|
|
483
496
|
return_item: string;
|
|
497
|
+
shipmentId: string;
|
|
498
|
+
shipping_provider?: string | null | undefined;
|
|
484
499
|
return_label?: string | null | undefined;
|
|
485
500
|
}, {
|
|
486
501
|
name: string;
|
|
@@ -492,6 +507,9 @@ export declare const ReturnShippingItem: z.ZodObject<{
|
|
|
492
507
|
quantity: number;
|
|
493
508
|
item: string;
|
|
494
509
|
return_item: string;
|
|
510
|
+
shipmentId: 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
|
+
shipmentId: 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;
|
|
@@ -646,7 +667,10 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
646
667
|
idx: number;
|
|
647
668
|
quantity: number;
|
|
648
669
|
item: string;
|
|
670
|
+
return_fee: number;
|
|
649
671
|
return_item: string;
|
|
672
|
+
shipmentId: string;
|
|
673
|
+
shipping_provider?: string | null | undefined;
|
|
650
674
|
return_label?: string | null | undefined;
|
|
651
675
|
}, {
|
|
652
676
|
name: string;
|
|
@@ -658,6 +682,9 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
658
682
|
quantity: number;
|
|
659
683
|
item: string;
|
|
660
684
|
return_item: string;
|
|
685
|
+
shipmentId: 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>;
|
|
@@ -708,7 +735,10 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
708
735
|
idx: number;
|
|
709
736
|
quantity: number;
|
|
710
737
|
item: string;
|
|
738
|
+
return_fee: number;
|
|
711
739
|
return_item: string;
|
|
740
|
+
shipmentId: string;
|
|
741
|
+
shipping_provider?: string | null | undefined;
|
|
712
742
|
return_label?: string | null | undefined;
|
|
713
743
|
}[];
|
|
714
744
|
external_id?: string | null | undefined;
|
|
@@ -761,6 +791,9 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
761
791
|
quantity: number;
|
|
762
792
|
item: string;
|
|
763
793
|
return_item: string;
|
|
794
|
+
shipmentId: 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
|
+
shipmentId: 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, {
|
|
847
883
|
quantity: number;
|
|
848
884
|
item: string;
|
|
885
|
+
return_fee: number;
|
|
849
886
|
return_item: string;
|
|
887
|
+
shipmentId: string;
|
|
888
|
+
shipping_provider?: string | null | undefined;
|
|
850
889
|
return_label?: string | null | undefined;
|
|
851
890
|
}, {
|
|
852
891
|
quantity: number;
|
|
853
892
|
item: string;
|
|
854
893
|
return_item: string;
|
|
894
|
+
shipmentId: 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>;
|
|
@@ -891,7 +933,10 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
891
933
|
return_shipping_items?: {
|
|
892
934
|
quantity: number;
|
|
893
935
|
item: string;
|
|
936
|
+
return_fee: number;
|
|
894
937
|
return_item: string;
|
|
938
|
+
shipmentId: string;
|
|
939
|
+
shipping_provider?: string | null | undefined;
|
|
895
940
|
return_label?: string | null | undefined;
|
|
896
941
|
}[] | undefined;
|
|
897
942
|
}, {
|
|
@@ -930,6 +975,9 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
930
975
|
quantity: number;
|
|
931
976
|
item: string;
|
|
932
977
|
return_item: string;
|
|
978
|
+
shipmentId: 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
|
+
shipmentId: 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;
|
|
@@ -1062,7 +1113,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1062
1113
|
idx: number;
|
|
1063
1114
|
quantity: number;
|
|
1064
1115
|
item: string;
|
|
1116
|
+
return_fee: number;
|
|
1065
1117
|
return_item: string;
|
|
1118
|
+
shipmentId: string;
|
|
1119
|
+
shipping_provider?: string | null | undefined;
|
|
1066
1120
|
return_label?: string | null | undefined;
|
|
1067
1121
|
}, {
|
|
1068
1122
|
name: string;
|
|
@@ -1074,6 +1128,9 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1074
1128
|
quantity: number;
|
|
1075
1129
|
item: string;
|
|
1076
1130
|
return_item: string;
|
|
1131
|
+
shipmentId: 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>;
|
|
@@ -1129,7 +1186,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1129
1186
|
idx: number;
|
|
1130
1187
|
quantity: number;
|
|
1131
1188
|
item: string;
|
|
1189
|
+
return_fee: number;
|
|
1132
1190
|
return_item: string;
|
|
1191
|
+
shipmentId: string;
|
|
1192
|
+
shipping_provider?: string | null | undefined;
|
|
1133
1193
|
return_label?: string | null | undefined;
|
|
1134
1194
|
}[];
|
|
1135
1195
|
external_id?: string | null | undefined;
|
|
@@ -1187,6 +1247,9 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1187
1247
|
quantity: number;
|
|
1188
1248
|
item: string;
|
|
1189
1249
|
return_item: string;
|
|
1250
|
+
shipmentId: 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
|
+
shipmentId: 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;
|
|
@@ -1326,7 +1392,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1326
1392
|
idx: number;
|
|
1327
1393
|
quantity: number;
|
|
1328
1394
|
item: string;
|
|
1395
|
+
return_fee: number;
|
|
1329
1396
|
return_item: string;
|
|
1397
|
+
shipmentId: string;
|
|
1398
|
+
shipping_provider?: string | null | undefined;
|
|
1330
1399
|
return_label?: string | null | undefined;
|
|
1331
1400
|
}, {
|
|
1332
1401
|
name: string;
|
|
@@ -1338,6 +1407,9 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1338
1407
|
quantity: number;
|
|
1339
1408
|
item: string;
|
|
1340
1409
|
return_item: string;
|
|
1410
|
+
shipmentId: 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>;
|
|
@@ -1393,7 +1465,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1393
1465
|
idx: number;
|
|
1394
1466
|
quantity: number;
|
|
1395
1467
|
item: string;
|
|
1468
|
+
return_fee: number;
|
|
1396
1469
|
return_item: string;
|
|
1470
|
+
shipmentId: string;
|
|
1471
|
+
shipping_provider?: string | null | undefined;
|
|
1397
1472
|
return_label?: string | null | undefined;
|
|
1398
1473
|
}[];
|
|
1399
1474
|
external_id?: string | null | undefined;
|
|
@@ -1451,6 +1526,9 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1451
1526
|
quantity: number;
|
|
1452
1527
|
item: string;
|
|
1453
1528
|
return_item: string;
|
|
1529
|
+
shipmentId: 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
|
+
shipmentId: 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({
|