erpnext-queue-client 1.33.2 → 1.33.4
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,8 +56,8 @@ export declare class ERPNextServicecase {
|
|
|
56
56
|
idx: number;
|
|
57
57
|
quantity: number;
|
|
58
58
|
item: string;
|
|
59
|
-
return_label: string;
|
|
60
59
|
return_item: string;
|
|
60
|
+
return_label?: string | null | undefined;
|
|
61
61
|
}[];
|
|
62
62
|
external_id?: string | null | undefined;
|
|
63
63
|
customer_email?: string | null | undefined;
|
|
@@ -119,8 +119,8 @@ export declare class ERPNextServicecase {
|
|
|
119
119
|
idx: number;
|
|
120
120
|
quantity: number;
|
|
121
121
|
item: string;
|
|
122
|
-
return_label: string;
|
|
123
122
|
return_item: string;
|
|
123
|
+
return_label?: string | null | undefined;
|
|
124
124
|
}[];
|
|
125
125
|
external_id?: string | null | undefined;
|
|
126
126
|
customer_email?: string | null | undefined;
|
|
@@ -177,8 +177,8 @@ export declare class ERPNextServicecase {
|
|
|
177
177
|
idx: number;
|
|
178
178
|
quantity: number;
|
|
179
179
|
item: string;
|
|
180
|
-
return_label: string;
|
|
181
180
|
return_item: string;
|
|
181
|
+
return_label?: string | null | undefined;
|
|
182
182
|
}[];
|
|
183
183
|
external_id?: string | null | undefined;
|
|
184
184
|
customer_email?: string | null | undefined;
|
|
@@ -234,8 +234,8 @@ export declare class ERPNextServicecase {
|
|
|
234
234
|
idx: number;
|
|
235
235
|
quantity: number;
|
|
236
236
|
item: string;
|
|
237
|
-
return_label: string;
|
|
238
237
|
return_item: string;
|
|
238
|
+
return_label?: string | null | undefined;
|
|
239
239
|
}[];
|
|
240
240
|
external_id?: string | null | undefined;
|
|
241
241
|
customer_email?: string | null | undefined;
|
|
@@ -296,8 +296,8 @@ export declare class ERPNextServicecase {
|
|
|
296
296
|
idx: number;
|
|
297
297
|
quantity: number;
|
|
298
298
|
item: string;
|
|
299
|
-
return_label: string;
|
|
300
299
|
return_item: string;
|
|
300
|
+
return_label?: string | null | undefined;
|
|
301
301
|
}[];
|
|
302
302
|
external_id?: string | null | undefined;
|
|
303
303
|
customer_email?: string | null | undefined;
|
|
@@ -353,8 +353,8 @@ export declare class ERPNextServicecase {
|
|
|
353
353
|
idx: number;
|
|
354
354
|
quantity: number;
|
|
355
355
|
item: string;
|
|
356
|
-
return_label: string;
|
|
357
356
|
return_item: string;
|
|
357
|
+
return_label?: string | null | undefined;
|
|
358
358
|
}[];
|
|
359
359
|
external_id?: string | null | undefined;
|
|
360
360
|
customer_email?: string | null | undefined;
|
|
@@ -417,8 +417,8 @@ export declare class ERPNextServicecase {
|
|
|
417
417
|
idx: number;
|
|
418
418
|
quantity: number;
|
|
419
419
|
item: string;
|
|
420
|
-
return_label: string;
|
|
421
420
|
return_item: string;
|
|
421
|
+
return_label?: string | null | undefined;
|
|
422
422
|
}[];
|
|
423
423
|
external_id?: string | null | undefined;
|
|
424
424
|
customer_email?: string | null | undefined;
|
|
@@ -443,24 +443,24 @@ export declare const ReturnShippingItemBase: z.ZodObject<{
|
|
|
443
443
|
item: z.ZodString;
|
|
444
444
|
return_item: z.ZodString;
|
|
445
445
|
quantity: z.ZodNumber;
|
|
446
|
-
return_label: z.ZodString
|
|
446
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
448
|
quantity: number;
|
|
449
449
|
item: string;
|
|
450
|
-
return_label: string;
|
|
451
450
|
return_item: string;
|
|
451
|
+
return_label?: string | null | undefined;
|
|
452
452
|
}, {
|
|
453
453
|
quantity: number;
|
|
454
454
|
item: string;
|
|
455
|
-
return_label: string;
|
|
456
455
|
return_item: string;
|
|
456
|
+
return_label?: string | null | undefined;
|
|
457
457
|
}>;
|
|
458
458
|
export type ReturnShippingItemBaseType = z.infer<typeof ReturnShippingItemBase>;
|
|
459
459
|
export declare const ReturnShippingItem: z.ZodObject<{
|
|
460
460
|
item: z.ZodString;
|
|
461
461
|
return_item: z.ZodString;
|
|
462
462
|
quantity: z.ZodNumber;
|
|
463
|
-
return_label: z.ZodString
|
|
463
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
464
464
|
} & {
|
|
465
465
|
name: z.ZodString;
|
|
466
466
|
owner: z.ZodString;
|
|
@@ -477,8 +477,8 @@ export declare const ReturnShippingItem: z.ZodObject<{
|
|
|
477
477
|
idx: number;
|
|
478
478
|
quantity: number;
|
|
479
479
|
item: string;
|
|
480
|
-
return_label: string;
|
|
481
480
|
return_item: string;
|
|
481
|
+
return_label?: string | null | undefined;
|
|
482
482
|
}, {
|
|
483
483
|
name: string;
|
|
484
484
|
owner: string;
|
|
@@ -488,8 +488,8 @@ export declare const ReturnShippingItem: z.ZodObject<{
|
|
|
488
488
|
idx: number;
|
|
489
489
|
quantity: number;
|
|
490
490
|
item: string;
|
|
491
|
-
return_label: string;
|
|
492
491
|
return_item: string;
|
|
492
|
+
return_label?: string | null | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
export type ReturnShippingItemType = z.infer<typeof ReturnShippingItem>;
|
|
495
495
|
export declare const ServicecaseBase: z.ZodObject<{
|
|
@@ -626,7 +626,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
626
626
|
item: z.ZodString;
|
|
627
627
|
return_item: z.ZodString;
|
|
628
628
|
quantity: z.ZodNumber;
|
|
629
|
-
return_label: z.ZodString
|
|
629
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
630
630
|
} & {
|
|
631
631
|
name: z.ZodString;
|
|
632
632
|
owner: z.ZodString;
|
|
@@ -643,8 +643,8 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
643
643
|
idx: number;
|
|
644
644
|
quantity: number;
|
|
645
645
|
item: string;
|
|
646
|
-
return_label: string;
|
|
647
646
|
return_item: string;
|
|
647
|
+
return_label?: string | null | undefined;
|
|
648
648
|
}, {
|
|
649
649
|
name: string;
|
|
650
650
|
owner: string;
|
|
@@ -654,8 +654,8 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
654
654
|
idx: number;
|
|
655
655
|
quantity: number;
|
|
656
656
|
item: string;
|
|
657
|
-
return_label: string;
|
|
658
657
|
return_item: string;
|
|
658
|
+
return_label?: string | null | undefined;
|
|
659
659
|
}>, "many">;
|
|
660
660
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
661
661
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -705,8 +705,8 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
705
705
|
idx: number;
|
|
706
706
|
quantity: number;
|
|
707
707
|
item: string;
|
|
708
|
-
return_label: string;
|
|
709
708
|
return_item: string;
|
|
709
|
+
return_label?: string | null | undefined;
|
|
710
710
|
}[];
|
|
711
711
|
external_id?: string | null | undefined;
|
|
712
712
|
customer_email?: string | null | undefined;
|
|
@@ -757,8 +757,8 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
757
757
|
idx: number;
|
|
758
758
|
quantity: number;
|
|
759
759
|
item: string;
|
|
760
|
-
return_label: string;
|
|
761
760
|
return_item: string;
|
|
761
|
+
return_label?: string | null | undefined;
|
|
762
762
|
}[];
|
|
763
763
|
status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
|
|
764
764
|
external_id?: string | null | undefined;
|
|
@@ -836,17 +836,17 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
836
836
|
item: z.ZodString;
|
|
837
837
|
return_item: z.ZodString;
|
|
838
838
|
quantity: z.ZodNumber;
|
|
839
|
-
return_label: z.ZodString
|
|
839
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
841
|
quantity: number;
|
|
842
842
|
item: string;
|
|
843
|
-
return_label: string;
|
|
844
843
|
return_item: string;
|
|
844
|
+
return_label?: string | null | undefined;
|
|
845
845
|
}, {
|
|
846
846
|
quantity: number;
|
|
847
847
|
item: string;
|
|
848
|
-
return_label: string;
|
|
849
848
|
return_item: string;
|
|
849
|
+
return_label?: string | null | undefined;
|
|
850
850
|
}>, "many">>;
|
|
851
851
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
852
852
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -884,8 +884,8 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
884
884
|
return_shipping_items?: {
|
|
885
885
|
quantity: number;
|
|
886
886
|
item: string;
|
|
887
|
-
return_label: string;
|
|
888
887
|
return_item: string;
|
|
888
|
+
return_label?: string | null | undefined;
|
|
889
889
|
}[] | undefined;
|
|
890
890
|
}, {
|
|
891
891
|
country: string;
|
|
@@ -921,8 +921,8 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
921
921
|
return_shipping_items?: {
|
|
922
922
|
quantity: number;
|
|
923
923
|
item: string;
|
|
924
|
-
return_label: string;
|
|
925
924
|
return_item: string;
|
|
925
|
+
return_label?: string | null | undefined;
|
|
926
926
|
}[] | undefined;
|
|
927
927
|
}>;
|
|
928
928
|
export type ServicecaseInputType = z.infer<typeof ServicecaseInput>;
|
|
@@ -943,41 +943,6 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
943
943
|
creation: z.ZodString;
|
|
944
944
|
modified: z.ZodString;
|
|
945
945
|
modified_by: z.ZodString;
|
|
946
|
-
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
947
|
-
item: z.ZodString;
|
|
948
|
-
return_item: z.ZodString;
|
|
949
|
-
quantity: z.ZodNumber;
|
|
950
|
-
return_label: z.ZodString;
|
|
951
|
-
} & {
|
|
952
|
-
name: z.ZodString;
|
|
953
|
-
owner: z.ZodString;
|
|
954
|
-
creation: z.ZodString;
|
|
955
|
-
modified: z.ZodString;
|
|
956
|
-
modified_by: z.ZodString;
|
|
957
|
-
idx: z.ZodNumber;
|
|
958
|
-
}, "strip", z.ZodTypeAny, {
|
|
959
|
-
name: string;
|
|
960
|
-
owner: string;
|
|
961
|
-
creation: string;
|
|
962
|
-
modified: string;
|
|
963
|
-
modified_by: string;
|
|
964
|
-
idx: number;
|
|
965
|
-
quantity: number;
|
|
966
|
-
item: string;
|
|
967
|
-
return_label: string;
|
|
968
|
-
return_item: string;
|
|
969
|
-
}, {
|
|
970
|
-
name: string;
|
|
971
|
-
owner: string;
|
|
972
|
-
creation: string;
|
|
973
|
-
modified: string;
|
|
974
|
-
modified_by: string;
|
|
975
|
-
idx: number;
|
|
976
|
-
quantity: number;
|
|
977
|
-
item: string;
|
|
978
|
-
return_label: string;
|
|
979
|
-
return_item: string;
|
|
980
|
-
}>, "many">;
|
|
981
946
|
} & {
|
|
982
947
|
return_items: z.ZodArray<z.ZodObject<{
|
|
983
948
|
item: z.ZodString;
|
|
@@ -1068,6 +1033,41 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1068
1033
|
attachments_collection_name?: string | null | undefined;
|
|
1069
1034
|
internal_reasons_collection_name?: string | null | undefined;
|
|
1070
1035
|
}>, "many">;
|
|
1036
|
+
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
1037
|
+
item: z.ZodString;
|
|
1038
|
+
return_item: z.ZodString;
|
|
1039
|
+
quantity: z.ZodNumber;
|
|
1040
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1041
|
+
} & {
|
|
1042
|
+
name: z.ZodString;
|
|
1043
|
+
owner: z.ZodString;
|
|
1044
|
+
creation: z.ZodString;
|
|
1045
|
+
modified: z.ZodString;
|
|
1046
|
+
modified_by: z.ZodString;
|
|
1047
|
+
idx: z.ZodNumber;
|
|
1048
|
+
}, "strip", z.ZodTypeAny, {
|
|
1049
|
+
name: string;
|
|
1050
|
+
owner: string;
|
|
1051
|
+
creation: string;
|
|
1052
|
+
modified: string;
|
|
1053
|
+
modified_by: string;
|
|
1054
|
+
idx: number;
|
|
1055
|
+
quantity: number;
|
|
1056
|
+
item: string;
|
|
1057
|
+
return_item: string;
|
|
1058
|
+
return_label?: string | null | undefined;
|
|
1059
|
+
}, {
|
|
1060
|
+
name: string;
|
|
1061
|
+
owner: string;
|
|
1062
|
+
creation: string;
|
|
1063
|
+
modified: string;
|
|
1064
|
+
modified_by: string;
|
|
1065
|
+
idx: number;
|
|
1066
|
+
quantity: number;
|
|
1067
|
+
item: string;
|
|
1068
|
+
return_item: string;
|
|
1069
|
+
return_label?: string | null | undefined;
|
|
1070
|
+
}>, "many">;
|
|
1071
1071
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1072
1072
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1073
1073
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1121,8 +1121,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1121
1121
|
idx: number;
|
|
1122
1122
|
quantity: number;
|
|
1123
1123
|
item: string;
|
|
1124
|
-
return_label: string;
|
|
1125
1124
|
return_item: string;
|
|
1125
|
+
return_label?: string | null | undefined;
|
|
1126
1126
|
}[];
|
|
1127
1127
|
external_id?: string | null | undefined;
|
|
1128
1128
|
customer_email?: string | null | undefined;
|
|
@@ -1178,8 +1178,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1178
1178
|
idx: number;
|
|
1179
1179
|
quantity: number;
|
|
1180
1180
|
item: string;
|
|
1181
|
-
return_label: string;
|
|
1182
1181
|
return_item: string;
|
|
1182
|
+
return_label?: string | null | undefined;
|
|
1183
1183
|
}[];
|
|
1184
1184
|
status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
|
|
1185
1185
|
external_id?: string | null | undefined;
|
|
@@ -1207,41 +1207,6 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1207
1207
|
creation: z.ZodString;
|
|
1208
1208
|
modified: z.ZodString;
|
|
1209
1209
|
modified_by: z.ZodString;
|
|
1210
|
-
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
1211
|
-
item: z.ZodString;
|
|
1212
|
-
return_item: z.ZodString;
|
|
1213
|
-
quantity: z.ZodNumber;
|
|
1214
|
-
return_label: z.ZodString;
|
|
1215
|
-
} & {
|
|
1216
|
-
name: z.ZodString;
|
|
1217
|
-
owner: z.ZodString;
|
|
1218
|
-
creation: z.ZodString;
|
|
1219
|
-
modified: z.ZodString;
|
|
1220
|
-
modified_by: z.ZodString;
|
|
1221
|
-
idx: z.ZodNumber;
|
|
1222
|
-
}, "strip", z.ZodTypeAny, {
|
|
1223
|
-
name: string;
|
|
1224
|
-
owner: string;
|
|
1225
|
-
creation: string;
|
|
1226
|
-
modified: string;
|
|
1227
|
-
modified_by: string;
|
|
1228
|
-
idx: number;
|
|
1229
|
-
quantity: number;
|
|
1230
|
-
item: string;
|
|
1231
|
-
return_label: string;
|
|
1232
|
-
return_item: string;
|
|
1233
|
-
}, {
|
|
1234
|
-
name: string;
|
|
1235
|
-
owner: string;
|
|
1236
|
-
creation: string;
|
|
1237
|
-
modified: string;
|
|
1238
|
-
modified_by: string;
|
|
1239
|
-
idx: number;
|
|
1240
|
-
quantity: number;
|
|
1241
|
-
item: string;
|
|
1242
|
-
return_label: string;
|
|
1243
|
-
return_item: string;
|
|
1244
|
-
}>, "many">;
|
|
1245
1210
|
} & {
|
|
1246
1211
|
return_items: z.ZodArray<z.ZodObject<{
|
|
1247
1212
|
item: z.ZodString;
|
|
@@ -1332,6 +1297,41 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1332
1297
|
attachments_collection_name?: string | null | undefined;
|
|
1333
1298
|
internal_reasons_collection_name?: string | null | undefined;
|
|
1334
1299
|
}>, "many">;
|
|
1300
|
+
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
1301
|
+
item: z.ZodString;
|
|
1302
|
+
return_item: z.ZodString;
|
|
1303
|
+
quantity: z.ZodNumber;
|
|
1304
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1305
|
+
} & {
|
|
1306
|
+
name: z.ZodString;
|
|
1307
|
+
owner: z.ZodString;
|
|
1308
|
+
creation: z.ZodString;
|
|
1309
|
+
modified: z.ZodString;
|
|
1310
|
+
modified_by: z.ZodString;
|
|
1311
|
+
idx: z.ZodNumber;
|
|
1312
|
+
}, "strip", z.ZodTypeAny, {
|
|
1313
|
+
name: string;
|
|
1314
|
+
owner: string;
|
|
1315
|
+
creation: string;
|
|
1316
|
+
modified: string;
|
|
1317
|
+
modified_by: string;
|
|
1318
|
+
idx: number;
|
|
1319
|
+
quantity: number;
|
|
1320
|
+
item: string;
|
|
1321
|
+
return_item: string;
|
|
1322
|
+
return_label?: string | null | undefined;
|
|
1323
|
+
}, {
|
|
1324
|
+
name: string;
|
|
1325
|
+
owner: string;
|
|
1326
|
+
creation: string;
|
|
1327
|
+
modified: string;
|
|
1328
|
+
modified_by: string;
|
|
1329
|
+
idx: number;
|
|
1330
|
+
quantity: number;
|
|
1331
|
+
item: string;
|
|
1332
|
+
return_item: string;
|
|
1333
|
+
return_label?: string | null | undefined;
|
|
1334
|
+
}>, "many">;
|
|
1335
1335
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1336
1336
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1337
1337
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1385,8 +1385,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1385
1385
|
idx: number;
|
|
1386
1386
|
quantity: number;
|
|
1387
1387
|
item: string;
|
|
1388
|
-
return_label: string;
|
|
1389
1388
|
return_item: string;
|
|
1389
|
+
return_label?: string | null | undefined;
|
|
1390
1390
|
}[];
|
|
1391
1391
|
external_id?: string | null | undefined;
|
|
1392
1392
|
customer_email?: string | null | undefined;
|
|
@@ -1442,8 +1442,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1442
1442
|
idx: number;
|
|
1443
1443
|
quantity: number;
|
|
1444
1444
|
item: string;
|
|
1445
|
-
return_label: string;
|
|
1446
1445
|
return_item: string;
|
|
1446
|
+
return_label?: string | null | undefined;
|
|
1447
1447
|
}[];
|
|
1448
1448
|
status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
|
|
1449
1449
|
external_id?: string | null | undefined;
|
|
@@ -123,7 +123,7 @@ exports.ReturnShippingItemBase = zod_1.z
|
|
|
123
123
|
item: zod_1.z.string(),
|
|
124
124
|
return_item: zod_1.z.string(),
|
|
125
125
|
quantity: zod_1.z.number(),
|
|
126
|
-
return_label: zod_1.z.string(),
|
|
126
|
+
return_label: zod_1.z.string().optional().nullable(),
|
|
127
127
|
})
|
|
128
128
|
.describe("ReturnShippingItemBase");
|
|
129
129
|
exports.ReturnShippingItem = exports.ReturnShippingItemBase.extend({
|
|
@@ -171,6 +171,7 @@ exports.ServicecaseInput = exports.ServicecaseBase.extend({
|
|
|
171
171
|
}).describe("ServicecaseInput");
|
|
172
172
|
exports.ServicecaseExtended = exports.Servicecase.extend({
|
|
173
173
|
return_items: zod_1.z.array(exports.ReturnItemExtended),
|
|
174
|
+
return_shipping_items: zod_1.z.array(exports.ReturnShippingItem),
|
|
174
175
|
is_sent_to_client: zod_1.z.number().transform(Boolean),
|
|
175
176
|
is_sent_to_cc: zod_1.z.number().transform(Boolean),
|
|
176
177
|
}).describe("ServicecaseExtended");
|