erpnext-queue-client 1.35.1 → 1.35.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.
|
@@ -20,7 +20,7 @@ export declare class ERPNextServicecase {
|
|
|
20
20
|
modified_by: string;
|
|
21
21
|
order_number: string;
|
|
22
22
|
title: string;
|
|
23
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
23
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
24
24
|
is_sent_to_client: boolean;
|
|
25
25
|
is_sent_to_cc: boolean;
|
|
26
26
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -86,7 +86,7 @@ export declare class ERPNextServicecase {
|
|
|
86
86
|
modified_by: string;
|
|
87
87
|
order_number: string;
|
|
88
88
|
title: string;
|
|
89
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
89
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
90
90
|
is_sent_to_client: boolean;
|
|
91
91
|
is_sent_to_cc: boolean;
|
|
92
92
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -147,7 +147,7 @@ export declare class ERPNextServicecase {
|
|
|
147
147
|
modified_by: string;
|
|
148
148
|
order_number: string;
|
|
149
149
|
title: string;
|
|
150
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
150
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
151
151
|
is_sent_to_client: boolean;
|
|
152
152
|
is_sent_to_cc: boolean;
|
|
153
153
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -207,7 +207,7 @@ export declare class ERPNextServicecase {
|
|
|
207
207
|
modified_by: string;
|
|
208
208
|
order_number: string;
|
|
209
209
|
title: string;
|
|
210
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
210
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
211
211
|
is_sent_to_client: boolean;
|
|
212
212
|
is_sent_to_cc: boolean;
|
|
213
213
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -272,7 +272,7 @@ export declare class ERPNextServicecase {
|
|
|
272
272
|
modified_by: string;
|
|
273
273
|
order_number: string;
|
|
274
274
|
title: string;
|
|
275
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
275
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
276
276
|
is_sent_to_client: boolean;
|
|
277
277
|
is_sent_to_cc: boolean;
|
|
278
278
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -332,7 +332,7 @@ export declare class ERPNextServicecase {
|
|
|
332
332
|
modified_by: string;
|
|
333
333
|
order_number: string;
|
|
334
334
|
title: string;
|
|
335
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
335
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
336
336
|
is_sent_to_client: boolean;
|
|
337
337
|
is_sent_to_cc: boolean;
|
|
338
338
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -394,7 +394,7 @@ export declare class ERPNextServicecase {
|
|
|
394
394
|
modified_by: string;
|
|
395
395
|
order_number: string;
|
|
396
396
|
title: string;
|
|
397
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
397
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
398
398
|
is_sent_to_client: boolean;
|
|
399
399
|
is_sent_to_cc: boolean;
|
|
400
400
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -195,19 +195,19 @@ export declare const DispatchRunPostFilteredResponse: z.ZodObject<{
|
|
|
195
195
|
export declare const DispatchRunMatchesByOrderNumber: z.ZodArray<z.ZodObject<{
|
|
196
196
|
name: z.ZodString;
|
|
197
197
|
picking_strategy: z.ZodString;
|
|
198
|
-
|
|
198
|
+
custom_order_number: z.ZodString;
|
|
199
199
|
customer_name: z.ZodString;
|
|
200
200
|
status: z.ZodEnum<["Processing", "Completed", "Failed"]>;
|
|
201
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
202
|
status: "Processing" | "Failed" | "Completed";
|
|
203
203
|
name: string;
|
|
204
|
-
|
|
204
|
+
custom_order_number: string;
|
|
205
205
|
customer_name: string;
|
|
206
206
|
picking_strategy: string;
|
|
207
207
|
}, {
|
|
208
208
|
status: "Processing" | "Failed" | "Completed";
|
|
209
209
|
name: string;
|
|
210
|
-
|
|
210
|
+
custom_order_number: string;
|
|
211
211
|
customer_name: string;
|
|
212
212
|
picking_strategy: string;
|
|
213
213
|
}>, "many">;
|
|
@@ -82,7 +82,7 @@ exports.DispatchRunMatchesByOrderNumber = zod_1.z
|
|
|
82
82
|
.array(zod_1.z.object({
|
|
83
83
|
name: zod_1.z.string(),
|
|
84
84
|
picking_strategy: zod_1.z.string(),
|
|
85
|
-
|
|
85
|
+
custom_order_number: zod_1.z.string(),
|
|
86
86
|
customer_name: zod_1.z.string(),
|
|
87
87
|
status: zod_1.z.enum(["Processing", "Completed", "Failed"]),
|
|
88
88
|
}))
|
|
@@ -532,7 +532,7 @@ export declare const ServicecaseBase: z.ZodObject<{
|
|
|
532
532
|
title: z.ZodString;
|
|
533
533
|
order_number: z.ZodString;
|
|
534
534
|
external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
535
|
-
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
535
|
+
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto", "Amazon", "WordPress"]>;
|
|
536
536
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
537
537
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
|
|
538
538
|
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -547,7 +547,7 @@ export declare const ServicecaseBase: z.ZodObject<{
|
|
|
547
547
|
country: string;
|
|
548
548
|
order_number: string;
|
|
549
549
|
title: string;
|
|
550
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
550
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
551
551
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
552
552
|
external_id?: string | null | undefined;
|
|
553
553
|
customer_email?: string | null | undefined;
|
|
@@ -560,7 +560,7 @@ export declare const ServicecaseBase: z.ZodObject<{
|
|
|
560
560
|
country: string;
|
|
561
561
|
order_number: string;
|
|
562
562
|
title: string;
|
|
563
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
563
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
564
564
|
status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
|
|
565
565
|
external_id?: string | null | undefined;
|
|
566
566
|
customer_email?: string | null | undefined;
|
|
@@ -576,7 +576,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
576
576
|
title: z.ZodString;
|
|
577
577
|
order_number: z.ZodString;
|
|
578
578
|
external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
579
|
-
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
579
|
+
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto", "Amazon", "WordPress"]>;
|
|
580
580
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
581
581
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
|
|
582
582
|
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -714,7 +714,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
714
714
|
modified_by: string;
|
|
715
715
|
order_number: string;
|
|
716
716
|
title: string;
|
|
717
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
717
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
718
718
|
is_sent_to_client: boolean;
|
|
719
719
|
is_sent_to_cc: boolean;
|
|
720
720
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -770,7 +770,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
770
770
|
modified_by: string;
|
|
771
771
|
order_number: string;
|
|
772
772
|
title: string;
|
|
773
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
773
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
774
774
|
is_sent_to_client: number;
|
|
775
775
|
is_sent_to_cc: number;
|
|
776
776
|
return_items: {
|
|
@@ -824,7 +824,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
824
824
|
title: z.ZodString;
|
|
825
825
|
order_number: z.ZodString;
|
|
826
826
|
external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
827
|
-
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
827
|
+
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto", "Amazon", "WordPress"]>;
|
|
828
828
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
829
829
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
|
|
830
830
|
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -918,7 +918,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
918
918
|
country: string;
|
|
919
919
|
order_number: string;
|
|
920
920
|
title: string;
|
|
921
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
921
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
922
922
|
is_sent_to_client: number;
|
|
923
923
|
is_sent_to_cc: number;
|
|
924
924
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -958,7 +958,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
958
958
|
country: string;
|
|
959
959
|
order_number: string;
|
|
960
960
|
title: string;
|
|
961
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
961
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
962
962
|
return_items: {
|
|
963
963
|
item: string;
|
|
964
964
|
return_quantity: number;
|
|
@@ -1001,7 +1001,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1001
1001
|
title: z.ZodString;
|
|
1002
1002
|
order_number: z.ZodString;
|
|
1003
1003
|
external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1004
|
-
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
1004
|
+
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto", "Amazon", "WordPress"]>;
|
|
1005
1005
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1006
1006
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
|
|
1007
1007
|
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1175,7 +1175,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1175
1175
|
modified_by: string;
|
|
1176
1176
|
order_number: string;
|
|
1177
1177
|
title: string;
|
|
1178
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
1178
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
1179
1179
|
is_sent_to_client: boolean;
|
|
1180
1180
|
is_sent_to_cc: boolean;
|
|
1181
1181
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -1239,7 +1239,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1239
1239
|
modified_by: string;
|
|
1240
1240
|
order_number: string;
|
|
1241
1241
|
title: string;
|
|
1242
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
1242
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
1243
1243
|
is_sent_to_client: number;
|
|
1244
1244
|
is_sent_to_cc: number;
|
|
1245
1245
|
return_items: {
|
|
@@ -1301,7 +1301,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1301
1301
|
title: z.ZodString;
|
|
1302
1302
|
order_number: z.ZodString;
|
|
1303
1303
|
external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1304
|
-
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
1304
|
+
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto", "Amazon", "WordPress"]>;
|
|
1305
1305
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1306
1306
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
|
|
1307
1307
|
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1475,7 +1475,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1475
1475
|
modified_by: string;
|
|
1476
1476
|
order_number: string;
|
|
1477
1477
|
title: string;
|
|
1478
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
1478
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
1479
1479
|
is_sent_to_client: boolean;
|
|
1480
1480
|
is_sent_to_cc: boolean;
|
|
1481
1481
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
@@ -1539,7 +1539,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1539
1539
|
modified_by: string;
|
|
1540
1540
|
order_number: string;
|
|
1541
1541
|
title: string;
|
|
1542
|
-
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
1542
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
1543
1543
|
is_sent_to_client: number;
|
|
1544
1544
|
is_sent_to_cc: number;
|
|
1545
1545
|
return_items: {
|
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ServicecaseMethodResponse = exports.ServicecaseExtended = exports.ServicecaseInput = exports.Servicecase = exports.ServicecaseBase = exports.ReturnShippingItem = exports.ReturnShippingItemBase = exports.ReturnItemExtended = exports.ReturnItem = exports.ReturnItemInput = exports.ReturnItemBase = exports.UpdateInternalReasonCollectionInput = exports.InternalReasonCollection = exports.UpdateAttachmentCollectionInput = exports.AttachmentCollection = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const Shop = zod_1.z.enum([
|
|
5
|
+
const Shop = zod_1.z.enum([
|
|
6
|
+
"Shopify",
|
|
7
|
+
"Amazon FBA",
|
|
8
|
+
"Amazon FBM",
|
|
9
|
+
"Otto",
|
|
10
|
+
"Amazon",
|
|
11
|
+
"WordPress",
|
|
12
|
+
]);
|
|
6
13
|
const Status = zod_1.z.enum(["EDITING", "SUBMITTED", "COMPLETED"]);
|
|
7
14
|
const CreatedWith = zod_1.z.enum([
|
|
8
15
|
"Serviceportal",
|