erpnext-queue-client 1.33.2 → 1.33.3
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>;
|
|
@@ -947,7 +947,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
947
947
|
item: z.ZodString;
|
|
948
948
|
return_item: z.ZodString;
|
|
949
949
|
quantity: z.ZodNumber;
|
|
950
|
-
return_label: z.ZodString
|
|
950
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
951
951
|
} & {
|
|
952
952
|
name: z.ZodString;
|
|
953
953
|
owner: z.ZodString;
|
|
@@ -964,8 +964,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
964
964
|
idx: number;
|
|
965
965
|
quantity: number;
|
|
966
966
|
item: string;
|
|
967
|
-
return_label: string;
|
|
968
967
|
return_item: string;
|
|
968
|
+
return_label?: string | null | undefined;
|
|
969
969
|
}, {
|
|
970
970
|
name: string;
|
|
971
971
|
owner: string;
|
|
@@ -975,8 +975,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
975
975
|
idx: number;
|
|
976
976
|
quantity: number;
|
|
977
977
|
item: string;
|
|
978
|
-
return_label: string;
|
|
979
978
|
return_item: string;
|
|
979
|
+
return_label?: string | null | undefined;
|
|
980
980
|
}>, "many">;
|
|
981
981
|
} & {
|
|
982
982
|
return_items: z.ZodArray<z.ZodObject<{
|
|
@@ -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;
|
|
@@ -1211,7 +1211,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1211
1211
|
item: z.ZodString;
|
|
1212
1212
|
return_item: z.ZodString;
|
|
1213
1213
|
quantity: z.ZodNumber;
|
|
1214
|
-
return_label: z.ZodString
|
|
1214
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1215
1215
|
} & {
|
|
1216
1216
|
name: z.ZodString;
|
|
1217
1217
|
owner: z.ZodString;
|
|
@@ -1228,8 +1228,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1228
1228
|
idx: number;
|
|
1229
1229
|
quantity: number;
|
|
1230
1230
|
item: string;
|
|
1231
|
-
return_label: string;
|
|
1232
1231
|
return_item: string;
|
|
1232
|
+
return_label?: string | null | undefined;
|
|
1233
1233
|
}, {
|
|
1234
1234
|
name: string;
|
|
1235
1235
|
owner: string;
|
|
@@ -1239,8 +1239,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1239
1239
|
idx: number;
|
|
1240
1240
|
quantity: number;
|
|
1241
1241
|
item: string;
|
|
1242
|
-
return_label: string;
|
|
1243
1242
|
return_item: string;
|
|
1243
|
+
return_label?: string | null | undefined;
|
|
1244
1244
|
}>, "many">;
|
|
1245
1245
|
} & {
|
|
1246
1246
|
return_items: z.ZodArray<z.ZodObject<{
|
|
@@ -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({
|