erpnext-queue-client 2.6.5 → 2.6.7
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.
|
@@ -155,6 +155,7 @@ export declare class ERPNextShipment extends ERPNextDoctypeSubmittableResourceRe
|
|
|
155
155
|
custom_return_shipping_provider?: string | null | undefined;
|
|
156
156
|
tracking_status_info?: string | null | undefined;
|
|
157
157
|
tracking_url?: string | null | undefined;
|
|
158
|
+
custom_dispatch_run?: string | null | undefined;
|
|
158
159
|
custom_delivery_country?: string | null | undefined;
|
|
159
160
|
custom_is_export?: number | null | undefined;
|
|
160
161
|
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
@@ -130,13 +130,15 @@ export declare const ReturnItemInput: z.ZodObject<{
|
|
|
130
130
|
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
131
131
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
132
132
|
} & {
|
|
133
|
-
name: z.
|
|
133
|
+
name: z.ZodString & {
|
|
134
|
+
__optionalForInput: true;
|
|
135
|
+
};
|
|
134
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
name: string;
|
|
135
138
|
item: string;
|
|
136
139
|
return_quantity: number;
|
|
137
140
|
is_complaint: 0 | 1;
|
|
138
141
|
return_fee: number;
|
|
139
|
-
name?: string | undefined;
|
|
140
142
|
attachments?: string | null | undefined;
|
|
141
143
|
internal_reasons?: string | null | undefined;
|
|
142
144
|
line_item_id?: string | null | undefined;
|
|
@@ -149,9 +151,9 @@ export declare const ReturnItemInput: z.ZodObject<{
|
|
|
149
151
|
complaint_description?: string | null | undefined;
|
|
150
152
|
return_label?: string | null | undefined;
|
|
151
153
|
}, {
|
|
154
|
+
name: string;
|
|
152
155
|
item: string;
|
|
153
156
|
return_quantity: number;
|
|
154
|
-
name?: string | undefined;
|
|
155
157
|
attachments?: string | null | undefined;
|
|
156
158
|
internal_reasons?: string | null | undefined;
|
|
157
159
|
line_item_id?: string | null | undefined;
|
|
@@ -494,13 +496,15 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
|
|
|
494
496
|
return_fee: z.ZodDefault<z.ZodNumber>;
|
|
495
497
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
496
498
|
} & {
|
|
497
|
-
name: z.
|
|
499
|
+
name: z.ZodString & {
|
|
500
|
+
__optionalForInput: true;
|
|
501
|
+
};
|
|
498
502
|
}, "strip", z.ZodTypeAny, {
|
|
503
|
+
name: string;
|
|
499
504
|
item: string;
|
|
500
505
|
return_quantity: number;
|
|
501
506
|
is_complaint: 0 | 1;
|
|
502
507
|
return_fee: number;
|
|
503
|
-
name?: string | undefined;
|
|
504
508
|
attachments?: string | null | undefined;
|
|
505
509
|
internal_reasons?: string | null | undefined;
|
|
506
510
|
line_item_id?: string | null | undefined;
|
|
@@ -513,9 +517,9 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
|
|
|
513
517
|
complaint_description?: string | null | undefined;
|
|
514
518
|
return_label?: string | null | undefined;
|
|
515
519
|
}, {
|
|
520
|
+
name: string;
|
|
516
521
|
item: string;
|
|
517
522
|
return_quantity: number;
|
|
518
|
-
name?: string | undefined;
|
|
519
523
|
attachments?: string | null | undefined;
|
|
520
524
|
internal_reasons?: string | null | undefined;
|
|
521
525
|
line_item_id?: string | null | undefined;
|
|
@@ -565,11 +569,11 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
|
|
|
565
569
|
is_sent_to_cc: 0 | 1;
|
|
566
570
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
567
571
|
return_items: {
|
|
572
|
+
name: string;
|
|
568
573
|
item: string;
|
|
569
574
|
return_quantity: number;
|
|
570
575
|
is_complaint: 0 | 1;
|
|
571
576
|
return_fee: number;
|
|
572
|
-
name?: string | undefined;
|
|
573
577
|
attachments?: string | null | undefined;
|
|
574
578
|
internal_reasons?: string | null | undefined;
|
|
575
579
|
line_item_id?: string | null | undefined;
|
|
@@ -602,9 +606,9 @@ export declare const ServicecaseInput: import("../../utils/zodContextOptionals")
|
|
|
602
606
|
order_number: string;
|
|
603
607
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto" | "Amazon" | "WordPress";
|
|
604
608
|
return_items: {
|
|
609
|
+
name: string;
|
|
605
610
|
item: string;
|
|
606
611
|
return_quantity: number;
|
|
607
|
-
name?: string | undefined;
|
|
608
612
|
attachments?: string | null | undefined;
|
|
609
613
|
internal_reasons?: string | null | undefined;
|
|
610
614
|
line_item_id?: string | null | undefined;
|
|
@@ -61,7 +61,7 @@ exports.ReturnItem = zod_1.z
|
|
|
61
61
|
})
|
|
62
62
|
.describe("ReturnItem");
|
|
63
63
|
exports.ReturnItemInput = exports.ReturnItem.extend({
|
|
64
|
-
name: zod_1.z.string()
|
|
64
|
+
name: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
|
|
65
65
|
}).describe("ReturnItemInput");
|
|
66
66
|
exports.ReturnItemExtended = (0, DocTypeHelpers_1.DocModel)(exports.ReturnItem.extend({
|
|
67
67
|
attachments: zod_1.z.array(zod_1.z.object({ url: zod_1.z.string(), type: zod_1.z.enum(["image", "video"]) })),
|
|
@@ -243,6 +243,7 @@ export declare const Shipment: z.ZodObject<{
|
|
|
243
243
|
tracking_status_info: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
244
244
|
tracking_status: z.ZodString;
|
|
245
245
|
tracking_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
246
|
+
custom_dispatch_run: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
246
247
|
value_of_goods: z.ZodNumber;
|
|
247
248
|
custom_delivery_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
249
|
custom_is_export: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -306,6 +307,7 @@ export declare const Shipment: z.ZodObject<{
|
|
|
306
307
|
custom_return_shipping_provider?: string | null | undefined;
|
|
307
308
|
tracking_status_info?: string | null | undefined;
|
|
308
309
|
tracking_url?: string | null | undefined;
|
|
310
|
+
custom_dispatch_run?: string | null | undefined;
|
|
309
311
|
custom_delivery_country?: string | null | undefined;
|
|
310
312
|
custom_is_export?: number | null | undefined;
|
|
311
313
|
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
@@ -368,6 +370,7 @@ export declare const Shipment: z.ZodObject<{
|
|
|
368
370
|
custom_return_shipping_provider?: string | null | undefined;
|
|
369
371
|
tracking_status_info?: string | null | undefined;
|
|
370
372
|
tracking_url?: string | null | undefined;
|
|
373
|
+
custom_dispatch_run?: string | null | undefined;
|
|
371
374
|
custom_delivery_country?: string | null | undefined;
|
|
372
375
|
custom_is_export?: number | null | undefined;
|
|
373
376
|
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
@@ -537,6 +540,7 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
537
540
|
tracking_status_info: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
538
541
|
tracking_status: z.ZodString;
|
|
539
542
|
tracking_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
543
|
+
custom_dispatch_run: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
540
544
|
value_of_goods: z.ZodNumber;
|
|
541
545
|
custom_delivery_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
542
546
|
custom_is_export: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -129,6 +129,7 @@ exports.Shipment = zod_1.z
|
|
|
129
129
|
tracking_status_info: zod_1.z.string().optional().nullable(),
|
|
130
130
|
tracking_status: zod_1.z.string(),
|
|
131
131
|
tracking_url: zod_1.z.string().optional().nullable(),
|
|
132
|
+
custom_dispatch_run: zod_1.z.string().optional().nullable(),
|
|
132
133
|
value_of_goods: zod_1.z.number(),
|
|
133
134
|
custom_delivery_country: zod_1.z.string().nullish(),
|
|
134
135
|
custom_is_export: zod_1.z.number().optional().nullable(),
|