erpnext-queue-client 1.19.0 → 1.19.2
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.
|
@@ -43,7 +43,7 @@ export declare class ERPNextServicecase {
|
|
|
43
43
|
is_complaint?: boolean | null | undefined;
|
|
44
44
|
external_id?: string | null | undefined;
|
|
45
45
|
customer_email?: string | null | undefined;
|
|
46
|
-
complaint_date?:
|
|
46
|
+
complaint_date?: string | null | undefined;
|
|
47
47
|
is_sent_to_client?: boolean | null | undefined;
|
|
48
48
|
is_sent_to_cc?: boolean | null | undefined;
|
|
49
49
|
customer_message?: string | null | undefined;
|
|
@@ -93,7 +93,7 @@ export declare class ERPNextServicecase {
|
|
|
93
93
|
is_complaint?: boolean | null | undefined;
|
|
94
94
|
external_id?: string | null | undefined;
|
|
95
95
|
customer_email?: string | null | undefined;
|
|
96
|
-
complaint_date?:
|
|
96
|
+
complaint_date?: string | null | undefined;
|
|
97
97
|
is_sent_to_client?: boolean | null | undefined;
|
|
98
98
|
is_sent_to_cc?: boolean | null | undefined;
|
|
99
99
|
customer_message?: string | null | undefined;
|
|
@@ -138,7 +138,7 @@ export declare class ERPNextServicecase {
|
|
|
138
138
|
is_complaint?: boolean | null | undefined;
|
|
139
139
|
external_id?: string | null | undefined;
|
|
140
140
|
customer_email?: string | null | undefined;
|
|
141
|
-
complaint_date?:
|
|
141
|
+
complaint_date?: string | null | undefined;
|
|
142
142
|
is_sent_to_client?: boolean | null | undefined;
|
|
143
143
|
is_sent_to_cc?: boolean | null | undefined;
|
|
144
144
|
customer_message?: string | null | undefined;
|
|
@@ -180,7 +180,7 @@ export declare class ERPNextServicecase {
|
|
|
180
180
|
is_complaint?: boolean | null | undefined;
|
|
181
181
|
external_id?: string | null | undefined;
|
|
182
182
|
customer_email?: string | null | undefined;
|
|
183
|
-
complaint_date?:
|
|
183
|
+
complaint_date?: string | null | undefined;
|
|
184
184
|
is_sent_to_client?: boolean | null | undefined;
|
|
185
185
|
is_sent_to_cc?: boolean | null | undefined;
|
|
186
186
|
customer_message?: string | null | undefined;
|
|
@@ -227,7 +227,7 @@ export declare class ERPNextServicecase {
|
|
|
227
227
|
is_complaint?: boolean | null | undefined;
|
|
228
228
|
external_id?: string | null | undefined;
|
|
229
229
|
customer_email?: string | null | undefined;
|
|
230
|
-
complaint_date?:
|
|
230
|
+
complaint_date?: string | null | undefined;
|
|
231
231
|
is_sent_to_client?: boolean | null | undefined;
|
|
232
232
|
is_sent_to_cc?: boolean | null | undefined;
|
|
233
233
|
customer_message?: string | null | undefined;
|
|
@@ -269,7 +269,7 @@ export declare class ERPNextServicecase {
|
|
|
269
269
|
is_complaint?: boolean | null | undefined;
|
|
270
270
|
external_id?: string | null | undefined;
|
|
271
271
|
customer_email?: string | null | undefined;
|
|
272
|
-
complaint_date?:
|
|
272
|
+
complaint_date?: string | null | undefined;
|
|
273
273
|
is_sent_to_client?: boolean | null | undefined;
|
|
274
274
|
is_sent_to_cc?: boolean | null | undefined;
|
|
275
275
|
customer_message?: string | null | undefined;
|
|
@@ -314,7 +314,7 @@ export declare class ERPNextServicecase {
|
|
|
314
314
|
is_complaint?: boolean | null | undefined;
|
|
315
315
|
external_id?: string | null | undefined;
|
|
316
316
|
customer_email?: string | null | undefined;
|
|
317
|
-
complaint_date?:
|
|
317
|
+
complaint_date?: string | null | undefined;
|
|
318
318
|
is_sent_to_client?: boolean | null | undefined;
|
|
319
319
|
is_sent_to_cc?: boolean | null | undefined;
|
|
320
320
|
customer_message?: string | null | undefined;
|
|
@@ -222,7 +222,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
222
222
|
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
223
223
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
224
224
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
|
|
225
|
-
complaint_date: z.ZodNullable<z.ZodOptional<z.
|
|
225
|
+
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
226
226
|
is_complaint: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
227
227
|
is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
228
228
|
is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
@@ -327,7 +327,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
327
327
|
is_complaint?: boolean | null | undefined;
|
|
328
328
|
external_id?: string | null | undefined;
|
|
329
329
|
customer_email?: string | null | undefined;
|
|
330
|
-
complaint_date?:
|
|
330
|
+
complaint_date?: string | null | undefined;
|
|
331
331
|
is_sent_to_client?: boolean | null | undefined;
|
|
332
332
|
is_sent_to_cc?: boolean | null | undefined;
|
|
333
333
|
customer_message?: string | null | undefined;
|
|
@@ -367,7 +367,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
367
367
|
is_complaint?: number | null | undefined;
|
|
368
368
|
external_id?: string | null | undefined;
|
|
369
369
|
customer_email?: string | null | undefined;
|
|
370
|
-
complaint_date?:
|
|
370
|
+
complaint_date?: string | null | undefined;
|
|
371
371
|
is_sent_to_client?: number | null | undefined;
|
|
372
372
|
is_sent_to_cc?: number | null | undefined;
|
|
373
373
|
customer_message?: string | null | undefined;
|
|
@@ -386,7 +386,7 @@ export declare const ServicecaseInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
386
386
|
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
387
387
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
388
388
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
|
|
389
|
-
complaint_date: z.ZodNullable<z.ZodOptional<z.
|
|
389
|
+
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
390
390
|
is_complaint: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
391
391
|
is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
392
392
|
is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
@@ -530,7 +530,7 @@ export declare const ServicecaseInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
530
530
|
is_complaint?: boolean | null | undefined;
|
|
531
531
|
external_id?: string | null | undefined;
|
|
532
532
|
customer_email?: string | null | undefined;
|
|
533
|
-
complaint_date?:
|
|
533
|
+
complaint_date?: string | null | undefined;
|
|
534
534
|
is_sent_to_client?: boolean | null | undefined;
|
|
535
535
|
is_sent_to_cc?: boolean | null | undefined;
|
|
536
536
|
customer_message?: string | null | undefined;
|
|
@@ -559,7 +559,7 @@ export declare const ServicecaseInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
559
559
|
is_complaint?: number | null | undefined;
|
|
560
560
|
external_id?: string | null | undefined;
|
|
561
561
|
customer_email?: string | null | undefined;
|
|
562
|
-
complaint_date?:
|
|
562
|
+
complaint_date?: string | null | undefined;
|
|
563
563
|
is_sent_to_client?: number | null | undefined;
|
|
564
564
|
is_sent_to_cc?: number | null | undefined;
|
|
565
565
|
customer_message?: string | null | undefined;
|
|
@@ -578,7 +578,7 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
578
578
|
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
579
579
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
580
580
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
|
|
581
|
-
complaint_date: z.ZodNullable<z.ZodOptional<z.
|
|
581
|
+
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
582
582
|
is_complaint: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
583
583
|
is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
584
584
|
is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
@@ -748,7 +748,7 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
748
748
|
is_complaint?: boolean | null | undefined;
|
|
749
749
|
external_id?: string | null | undefined;
|
|
750
750
|
customer_email?: string | null | undefined;
|
|
751
|
-
complaint_date?:
|
|
751
|
+
complaint_date?: string | null | undefined;
|
|
752
752
|
is_sent_to_client?: boolean | null | undefined;
|
|
753
753
|
is_sent_to_cc?: boolean | null | undefined;
|
|
754
754
|
customer_message?: string | null | undefined;
|
|
@@ -788,7 +788,7 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
788
788
|
is_complaint?: number | null | undefined;
|
|
789
789
|
external_id?: string | null | undefined;
|
|
790
790
|
customer_email?: string | null | undefined;
|
|
791
|
-
complaint_date?:
|
|
791
|
+
complaint_date?: string | null | undefined;
|
|
792
792
|
is_sent_to_client?: number | null | undefined;
|
|
793
793
|
is_sent_to_cc?: number | null | undefined;
|
|
794
794
|
customer_message?: string | null | undefined;
|
|
@@ -808,7 +808,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
808
808
|
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
809
809
|
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
810
810
|
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
|
|
811
|
-
complaint_date: z.ZodNullable<z.ZodOptional<z.
|
|
811
|
+
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
812
812
|
is_complaint: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
813
813
|
is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
814
814
|
is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
@@ -978,7 +978,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
978
978
|
is_complaint?: boolean | null | undefined;
|
|
979
979
|
external_id?: string | null | undefined;
|
|
980
980
|
customer_email?: string | null | undefined;
|
|
981
|
-
complaint_date?:
|
|
981
|
+
complaint_date?: string | null | undefined;
|
|
982
982
|
is_sent_to_client?: boolean | null | undefined;
|
|
983
983
|
is_sent_to_cc?: boolean | null | undefined;
|
|
984
984
|
customer_message?: string | null | undefined;
|
|
@@ -1018,7 +1018,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
1018
1018
|
is_complaint?: number | null | undefined;
|
|
1019
1019
|
external_id?: string | null | undefined;
|
|
1020
1020
|
customer_email?: string | null | undefined;
|
|
1021
|
-
complaint_date?:
|
|
1021
|
+
complaint_date?: string | null | undefined;
|
|
1022
1022
|
is_sent_to_client?: number | null | undefined;
|
|
1023
1023
|
is_sent_to_cc?: number | null | undefined;
|
|
1024
1024
|
customer_message?: string | null | undefined;
|
|
@@ -112,7 +112,7 @@ exports.Servicecase = zod_1.z
|
|
|
112
112
|
shop: Shop,
|
|
113
113
|
customer_email: zod_1.z.string().email().optional().nullable(),
|
|
114
114
|
status: Status.default("EDITING"),
|
|
115
|
-
complaint_date: zod_1.z.
|
|
115
|
+
complaint_date: zod_1.z.string().optional().nullable(),
|
|
116
116
|
is_complaint: zod_1.z.number().transform(Boolean).optional().nullable(),
|
|
117
117
|
is_sent_to_client: zod_1.z.number().transform(Boolean).optional().nullable(),
|
|
118
118
|
is_sent_to_cc: zod_1.z.number().transform(Boolean).optional().nullable(),
|
|
@@ -124,7 +124,7 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
124
124
|
modified: z.ZodString;
|
|
125
125
|
modified_by: z.ZodString;
|
|
126
126
|
owner: z.ZodString;
|
|
127
|
-
is_active: z.ZodEffects<z.ZodNumber
|
|
127
|
+
is_active: z.ZodEffects<z.ZodDefault<z.ZodNumber>, boolean, number | undefined>;
|
|
128
128
|
is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
129
129
|
is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
130
130
|
label_service: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"GLS Germany">, z.ZodLiteral<"GLS ADE-plus">]>, z.ZodLiteral<"DHL">]>, z.ZodLiteral<"DHL-2-Mann">]>, z.ZodLiteral<"Deutsche Post">]>, z.ZodLiteral<"Billbee">]>, z.ZodLiteral<"Billbee Amazon MCF">]>;
|
|
@@ -138,7 +138,7 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
138
138
|
product_id_europe: z.ZodString;
|
|
139
139
|
sender_address: z.ZodString;
|
|
140
140
|
is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
141
|
-
return_address: z.ZodString
|
|
141
|
+
return_address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
142
142
|
return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
143
143
|
return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
144
144
|
is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -162,13 +162,13 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
162
162
|
product_id_europe: string;
|
|
163
163
|
sender_address: string;
|
|
164
164
|
is_return_shipping_provider: boolean;
|
|
165
|
-
return_address: string;
|
|
166
165
|
is_self_service: boolean;
|
|
167
166
|
dhl_ekp_number?: string | null | undefined;
|
|
168
167
|
api_user?: string | null | undefined;
|
|
169
168
|
api_password?: string | null | undefined;
|
|
170
169
|
api_base_url?: string | null | undefined;
|
|
171
170
|
gls_shipper_id?: string | null | undefined;
|
|
171
|
+
return_address?: string | null | undefined;
|
|
172
172
|
return_label_link?: string | null | undefined;
|
|
173
173
|
return_label_instructions?: string | null | undefined;
|
|
174
174
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
@@ -180,7 +180,6 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
180
180
|
modified: string;
|
|
181
181
|
modified_by: string;
|
|
182
182
|
title: string;
|
|
183
|
-
is_active: number;
|
|
184
183
|
is_transport_by_freight_forwarding: number;
|
|
185
184
|
is_print_label: number;
|
|
186
185
|
label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
|
|
@@ -189,13 +188,14 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
189
188
|
product_id_europe: string;
|
|
190
189
|
sender_address: string;
|
|
191
190
|
is_return_shipping_provider: number;
|
|
192
|
-
return_address: string;
|
|
193
191
|
is_self_service: number;
|
|
192
|
+
is_active?: number | undefined;
|
|
194
193
|
dhl_ekp_number?: string | null | undefined;
|
|
195
194
|
api_user?: string | null | undefined;
|
|
196
195
|
api_password?: string | null | undefined;
|
|
197
196
|
api_base_url?: string | null | undefined;
|
|
198
197
|
gls_shipper_id?: string | null | undefined;
|
|
198
|
+
return_address?: string | null | undefined;
|
|
199
199
|
return_label_link?: string | null | undefined;
|
|
200
200
|
return_label_instructions?: string | null | undefined;
|
|
201
201
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
@@ -207,7 +207,7 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
207
207
|
modified: z.ZodString;
|
|
208
208
|
modified_by: z.ZodString;
|
|
209
209
|
owner: z.ZodString;
|
|
210
|
-
is_active: z.ZodEffects<z.ZodNumber
|
|
210
|
+
is_active: z.ZodEffects<z.ZodDefault<z.ZodNumber>, boolean, number | undefined>;
|
|
211
211
|
is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
212
212
|
is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
213
213
|
label_service: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"GLS Germany">, z.ZodLiteral<"GLS ADE-plus">]>, z.ZodLiteral<"DHL">]>, z.ZodLiteral<"DHL-2-Mann">]>, z.ZodLiteral<"Deutsche Post">]>, z.ZodLiteral<"Billbee">]>, z.ZodLiteral<"Billbee Amazon MCF">]>;
|
|
@@ -221,7 +221,7 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
221
221
|
product_id_europe: z.ZodString;
|
|
222
222
|
sender_address: z.ZodString;
|
|
223
223
|
is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
224
|
-
return_address: z.ZodString
|
|
224
|
+
return_address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
225
225
|
return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
226
226
|
return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
227
227
|
is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -244,13 +244,13 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
244
244
|
product_id_europe: string;
|
|
245
245
|
sender_address: string;
|
|
246
246
|
is_return_shipping_provider: boolean;
|
|
247
|
-
return_address: string;
|
|
248
247
|
is_self_service: boolean;
|
|
249
248
|
dhl_ekp_number?: string | null | undefined;
|
|
250
249
|
api_user?: string | null | undefined;
|
|
251
250
|
api_password?: string | null | undefined;
|
|
252
251
|
api_base_url?: string | null | undefined;
|
|
253
252
|
gls_shipper_id?: string | null | undefined;
|
|
253
|
+
return_address?: string | null | undefined;
|
|
254
254
|
return_label_link?: string | null | undefined;
|
|
255
255
|
return_label_instructions?: string | null | undefined;
|
|
256
256
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
@@ -261,7 +261,6 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
261
261
|
modified: string;
|
|
262
262
|
modified_by: string;
|
|
263
263
|
title: string;
|
|
264
|
-
is_active: number;
|
|
265
264
|
is_transport_by_freight_forwarding: number;
|
|
266
265
|
is_print_label: number;
|
|
267
266
|
label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
|
|
@@ -270,13 +269,14 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
270
269
|
product_id_europe: string;
|
|
271
270
|
sender_address: string;
|
|
272
271
|
is_return_shipping_provider: number;
|
|
273
|
-
return_address: string;
|
|
274
272
|
is_self_service: number;
|
|
273
|
+
is_active?: number | undefined;
|
|
275
274
|
dhl_ekp_number?: string | null | undefined;
|
|
276
275
|
api_user?: string | null | undefined;
|
|
277
276
|
api_password?: string | null | undefined;
|
|
278
277
|
api_base_url?: string | null | undefined;
|
|
279
278
|
gls_shipper_id?: string | null | undefined;
|
|
279
|
+
return_address?: string | null | undefined;
|
|
280
280
|
return_label_link?: string | null | undefined;
|
|
281
281
|
return_label_instructions?: string | null | undefined;
|
|
282
282
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
@@ -287,7 +287,7 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
287
287
|
modified: z.ZodString;
|
|
288
288
|
modified_by: z.ZodString;
|
|
289
289
|
owner: z.ZodString;
|
|
290
|
-
is_active: z.ZodEffects<z.ZodNumber
|
|
290
|
+
is_active: z.ZodEffects<z.ZodDefault<z.ZodNumber>, boolean, number | undefined>;
|
|
291
291
|
is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
292
292
|
is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
293
293
|
label_service: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"GLS Germany">, z.ZodLiteral<"GLS ADE-plus">]>, z.ZodLiteral<"DHL">]>, z.ZodLiteral<"DHL-2-Mann">]>, z.ZodLiteral<"Deutsche Post">]>, z.ZodLiteral<"Billbee">]>, z.ZodLiteral<"Billbee Amazon MCF">]>;
|
|
@@ -301,7 +301,7 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
301
301
|
product_id_europe: z.ZodString;
|
|
302
302
|
sender_address: z.ZodString;
|
|
303
303
|
is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
304
|
-
return_address: z.ZodString
|
|
304
|
+
return_address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
305
305
|
return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
306
306
|
return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
307
307
|
is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -324,13 +324,13 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
324
324
|
product_id_europe: string;
|
|
325
325
|
sender_address: string;
|
|
326
326
|
is_return_shipping_provider: boolean;
|
|
327
|
-
return_address: string;
|
|
328
327
|
is_self_service: boolean;
|
|
329
328
|
dhl_ekp_number?: string | null | undefined;
|
|
330
329
|
api_user?: string | null | undefined;
|
|
331
330
|
api_password?: string | null | undefined;
|
|
332
331
|
api_base_url?: string | null | undefined;
|
|
333
332
|
gls_shipper_id?: string | null | undefined;
|
|
333
|
+
return_address?: string | null | undefined;
|
|
334
334
|
return_label_link?: string | null | undefined;
|
|
335
335
|
return_label_instructions?: string | null | undefined;
|
|
336
336
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
@@ -341,7 +341,6 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
341
341
|
modified: string;
|
|
342
342
|
modified_by: string;
|
|
343
343
|
title: string;
|
|
344
|
-
is_active: number;
|
|
345
344
|
is_transport_by_freight_forwarding: number;
|
|
346
345
|
is_print_label: number;
|
|
347
346
|
label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
|
|
@@ -350,13 +349,14 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
350
349
|
product_id_europe: string;
|
|
351
350
|
sender_address: string;
|
|
352
351
|
is_return_shipping_provider: number;
|
|
353
|
-
return_address: string;
|
|
354
352
|
is_self_service: number;
|
|
353
|
+
is_active?: number | undefined;
|
|
355
354
|
dhl_ekp_number?: string | null | undefined;
|
|
356
355
|
api_user?: string | null | undefined;
|
|
357
356
|
api_password?: string | null | undefined;
|
|
358
357
|
api_base_url?: string | null | undefined;
|
|
359
358
|
gls_shipper_id?: string | null | undefined;
|
|
359
|
+
return_address?: string | null | undefined;
|
|
360
360
|
return_label_link?: string | null | undefined;
|
|
361
361
|
return_label_instructions?: string | null | undefined;
|
|
362
362
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
@@ -376,13 +376,13 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
376
376
|
product_id_europe: string;
|
|
377
377
|
sender_address: string;
|
|
378
378
|
is_return_shipping_provider: boolean;
|
|
379
|
-
return_address: string;
|
|
380
379
|
is_self_service: boolean;
|
|
381
380
|
dhl_ekp_number?: string | null | undefined;
|
|
382
381
|
api_user?: string | null | undefined;
|
|
383
382
|
api_password?: string | null | undefined;
|
|
384
383
|
api_base_url?: string | null | undefined;
|
|
385
384
|
gls_shipper_id?: string | null | undefined;
|
|
385
|
+
return_address?: string | null | undefined;
|
|
386
386
|
return_label_link?: string | null | undefined;
|
|
387
387
|
return_label_instructions?: string | null | undefined;
|
|
388
388
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
@@ -138,7 +138,7 @@ exports.ShippingProvider = zod_1.z
|
|
|
138
138
|
modified: zod_1.z.string(),
|
|
139
139
|
modified_by: zod_1.z.string(),
|
|
140
140
|
owner: zod_1.z.string(),
|
|
141
|
-
is_active: zod_1.z.number().transform(Boolean),
|
|
141
|
+
is_active: zod_1.z.number().default(1).transform(Boolean),
|
|
142
142
|
is_transport_by_freight_forwarding: zod_1.z.number().transform(Boolean),
|
|
143
143
|
is_print_label: zod_1.z.number().transform(Boolean),
|
|
144
144
|
label_service: exports.LabelService,
|
|
@@ -152,7 +152,7 @@ exports.ShippingProvider = zod_1.z
|
|
|
152
152
|
product_id_europe: zod_1.z.string(),
|
|
153
153
|
sender_address: zod_1.z.string(),
|
|
154
154
|
is_return_shipping_provider: zod_1.z.number().transform(Boolean),
|
|
155
|
-
return_address: zod_1.z.string(),
|
|
155
|
+
return_address: zod_1.z.string().optional().nullable(),
|
|
156
156
|
return_label_link: zod_1.z.string().optional().nullable(),
|
|
157
157
|
return_label_instructions: zod_1.z.string().optional().nullable(),
|
|
158
158
|
is_self_service: zod_1.z.number().transform(Boolean),
|