erpnext-queue-client 1.18.0 → 1.18.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.
|
@@ -72,7 +72,7 @@ export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
|
72
72
|
doctype: z.ZodString;
|
|
73
73
|
document_name: z.ZodOptional<z.ZodString>;
|
|
74
74
|
document_url: z.ZodOptional<z.ZodString>;
|
|
75
|
-
}, "address" | "customer" | "shipping_provider" | "label_id" | "tracking_code" | "label_type" | "contact">, "strip", z.ZodTypeAny, {
|
|
75
|
+
}, "address" | "customer" | "shipping_provider" | "label_id" | "tracking_code" | "label_type" | "contact" | "document_name" | "document_url">, "strip", z.ZodTypeAny, {
|
|
76
76
|
shipping_provider: string;
|
|
77
77
|
label_id: string;
|
|
78
78
|
address?: string | null | undefined;
|
|
@@ -80,6 +80,8 @@ export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
|
80
80
|
tracking_code?: string | null | undefined;
|
|
81
81
|
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
82
82
|
contact?: string | null | undefined;
|
|
83
|
+
document_name?: string | undefined;
|
|
84
|
+
document_url?: string | undefined;
|
|
83
85
|
}, {
|
|
84
86
|
shipping_provider: string;
|
|
85
87
|
label_id: string;
|
|
@@ -88,6 +90,8 @@ export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
|
88
90
|
tracking_code?: string | null | undefined;
|
|
89
91
|
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
90
92
|
contact?: string | null | undefined;
|
|
93
|
+
document_name?: string | undefined;
|
|
94
|
+
document_url?: string | undefined;
|
|
91
95
|
}>;
|
|
92
96
|
export type ShippingLabelPostBodyType = z.infer<typeof ShippingLabelPostBody>;
|
|
93
97
|
export type ShippingLabelType = z.infer<typeof ShippingLabel>;
|
|
@@ -141,6 +141,11 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
141
141
|
product_id_germany: z.ZodString;
|
|
142
142
|
product_id_europe: z.ZodString;
|
|
143
143
|
sender_address: z.ZodString;
|
|
144
|
+
is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
145
|
+
return_address: z.ZodString;
|
|
146
|
+
return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
147
|
+
return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
148
|
+
is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
144
149
|
title: z.ZodString;
|
|
145
150
|
shopify_carrier_mapping: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof ShopifyCarrier>, z.ZodLiteral<"">]>>>;
|
|
146
151
|
doctype: z.ZodString;
|
|
@@ -161,6 +166,9 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
161
166
|
product_id_germany: string;
|
|
162
167
|
product_id_europe: string;
|
|
163
168
|
sender_address: string;
|
|
169
|
+
is_return_shipping_provider: boolean;
|
|
170
|
+
return_address: string;
|
|
171
|
+
is_self_service: boolean;
|
|
164
172
|
parent?: string | null | undefined;
|
|
165
173
|
parentfield?: string | null | undefined;
|
|
166
174
|
parenttype?: string | null | undefined;
|
|
@@ -169,6 +177,8 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
169
177
|
api_password?: string | null | undefined;
|
|
170
178
|
api_base_url?: string | null | undefined;
|
|
171
179
|
gls_shipper_id?: string | null | undefined;
|
|
180
|
+
return_label_link?: string | null | undefined;
|
|
181
|
+
return_label_instructions?: string | null | undefined;
|
|
172
182
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
173
183
|
}, {
|
|
174
184
|
name: string;
|
|
@@ -187,6 +197,9 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
187
197
|
product_id_germany: string;
|
|
188
198
|
product_id_europe: string;
|
|
189
199
|
sender_address: string;
|
|
200
|
+
is_return_shipping_provider: number;
|
|
201
|
+
return_address: string;
|
|
202
|
+
is_self_service: number;
|
|
190
203
|
parent?: string | null | undefined;
|
|
191
204
|
parentfield?: string | null | undefined;
|
|
192
205
|
parenttype?: string | null | undefined;
|
|
@@ -195,6 +208,8 @@ export declare const ShippingProvider: z.ZodObject<{
|
|
|
195
208
|
api_password?: string | null | undefined;
|
|
196
209
|
api_base_url?: string | null | undefined;
|
|
197
210
|
gls_shipper_id?: string | null | undefined;
|
|
211
|
+
return_label_link?: string | null | undefined;
|
|
212
|
+
return_label_instructions?: string | null | undefined;
|
|
198
213
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
199
214
|
}>;
|
|
200
215
|
export type ShippingProviderType = z.infer<typeof ShippingProvider>;
|
|
@@ -221,6 +236,11 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
221
236
|
product_id_germany: z.ZodString;
|
|
222
237
|
product_id_europe: z.ZodString;
|
|
223
238
|
sender_address: z.ZodString;
|
|
239
|
+
is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
240
|
+
return_address: z.ZodString;
|
|
241
|
+
return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
242
|
+
return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
243
|
+
is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
224
244
|
title: z.ZodString;
|
|
225
245
|
shopify_carrier_mapping: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof ShopifyCarrier>, z.ZodLiteral<"">]>>>;
|
|
226
246
|
doctype: z.ZodString;
|
|
@@ -240,6 +260,9 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
240
260
|
product_id_germany: string;
|
|
241
261
|
product_id_europe: string;
|
|
242
262
|
sender_address: string;
|
|
263
|
+
is_return_shipping_provider: boolean;
|
|
264
|
+
return_address: string;
|
|
265
|
+
is_self_service: boolean;
|
|
243
266
|
parent?: string | null | undefined;
|
|
244
267
|
parentfield?: string | null | undefined;
|
|
245
268
|
parenttype?: string | null | undefined;
|
|
@@ -248,6 +271,8 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
248
271
|
api_password?: string | null | undefined;
|
|
249
272
|
api_base_url?: string | null | undefined;
|
|
250
273
|
gls_shipper_id?: string | null | undefined;
|
|
274
|
+
return_label_link?: string | null | undefined;
|
|
275
|
+
return_label_instructions?: string | null | undefined;
|
|
251
276
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
252
277
|
}, {
|
|
253
278
|
name: string;
|
|
@@ -265,6 +290,9 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
265
290
|
product_id_germany: string;
|
|
266
291
|
product_id_europe: string;
|
|
267
292
|
sender_address: string;
|
|
293
|
+
is_return_shipping_provider: number;
|
|
294
|
+
return_address: string;
|
|
295
|
+
is_self_service: number;
|
|
268
296
|
parent?: string | null | undefined;
|
|
269
297
|
parentfield?: string | null | undefined;
|
|
270
298
|
parenttype?: string | null | undefined;
|
|
@@ -273,6 +301,8 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
|
|
|
273
301
|
api_password?: string | null | undefined;
|
|
274
302
|
api_base_url?: string | null | undefined;
|
|
275
303
|
gls_shipper_id?: string | null | undefined;
|
|
304
|
+
return_label_link?: string | null | undefined;
|
|
305
|
+
return_label_instructions?: string | null | undefined;
|
|
276
306
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
277
307
|
}>;
|
|
278
308
|
export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<Omit<{
|
|
@@ -298,6 +328,11 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
298
328
|
product_id_germany: z.ZodString;
|
|
299
329
|
product_id_europe: z.ZodString;
|
|
300
330
|
sender_address: z.ZodString;
|
|
331
|
+
is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
332
|
+
return_address: z.ZodString;
|
|
333
|
+
return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
334
|
+
return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
335
|
+
is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
301
336
|
title: z.ZodString;
|
|
302
337
|
shopify_carrier_mapping: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof ShopifyCarrier>, z.ZodLiteral<"">]>>>;
|
|
303
338
|
doctype: z.ZodString;
|
|
@@ -317,6 +352,9 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
317
352
|
product_id_germany: string;
|
|
318
353
|
product_id_europe: string;
|
|
319
354
|
sender_address: string;
|
|
355
|
+
is_return_shipping_provider: boolean;
|
|
356
|
+
return_address: string;
|
|
357
|
+
is_self_service: boolean;
|
|
320
358
|
parent?: string | null | undefined;
|
|
321
359
|
parentfield?: string | null | undefined;
|
|
322
360
|
parenttype?: string | null | undefined;
|
|
@@ -325,6 +363,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
325
363
|
api_password?: string | null | undefined;
|
|
326
364
|
api_base_url?: string | null | undefined;
|
|
327
365
|
gls_shipper_id?: string | null | undefined;
|
|
366
|
+
return_label_link?: string | null | undefined;
|
|
367
|
+
return_label_instructions?: string | null | undefined;
|
|
328
368
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
329
369
|
}, {
|
|
330
370
|
name: string;
|
|
@@ -342,6 +382,9 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
342
382
|
product_id_germany: string;
|
|
343
383
|
product_id_europe: string;
|
|
344
384
|
sender_address: string;
|
|
385
|
+
is_return_shipping_provider: number;
|
|
386
|
+
return_address: string;
|
|
387
|
+
is_self_service: number;
|
|
345
388
|
parent?: string | null | undefined;
|
|
346
389
|
parentfield?: string | null | undefined;
|
|
347
390
|
parenttype?: string | null | undefined;
|
|
@@ -350,6 +393,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
350
393
|
api_password?: string | null | undefined;
|
|
351
394
|
api_base_url?: string | null | undefined;
|
|
352
395
|
gls_shipper_id?: string | null | undefined;
|
|
396
|
+
return_label_link?: string | null | undefined;
|
|
397
|
+
return_label_instructions?: string | null | undefined;
|
|
353
398
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
354
399
|
}>, "many">, {
|
|
355
400
|
name: string;
|
|
@@ -367,6 +412,9 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
367
412
|
product_id_germany: string;
|
|
368
413
|
product_id_europe: string;
|
|
369
414
|
sender_address: string;
|
|
415
|
+
is_return_shipping_provider: boolean;
|
|
416
|
+
return_address: string;
|
|
417
|
+
is_self_service: boolean;
|
|
370
418
|
parent?: string | null | undefined;
|
|
371
419
|
parentfield?: string | null | undefined;
|
|
372
420
|
parenttype?: string | null | undefined;
|
|
@@ -375,6 +423,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
|
|
|
375
423
|
api_password?: string | null | undefined;
|
|
376
424
|
api_base_url?: string | null | undefined;
|
|
377
425
|
gls_shipper_id?: string | null | undefined;
|
|
426
|
+
return_label_link?: string | null | undefined;
|
|
427
|
+
return_label_instructions?: string | null | undefined;
|
|
378
428
|
shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
|
|
379
429
|
}[], unknown>;
|
|
380
430
|
export type ShippingProviderListType = z.infer<typeof ShippingProviderList>;
|
|
@@ -155,6 +155,11 @@ exports.ShippingProvider = zod_1.z
|
|
|
155
155
|
product_id_germany: zod_1.z.string(),
|
|
156
156
|
product_id_europe: zod_1.z.string(),
|
|
157
157
|
sender_address: zod_1.z.string(),
|
|
158
|
+
is_return_shipping_provider: zod_1.z.number().transform(Boolean),
|
|
159
|
+
return_address: zod_1.z.string(),
|
|
160
|
+
return_label_link: zod_1.z.string().optional().nullable(),
|
|
161
|
+
return_label_instructions: zod_1.z.string().optional().nullable(),
|
|
162
|
+
is_self_service: zod_1.z.number().transform(Boolean),
|
|
158
163
|
title: zod_1.z.string(),
|
|
159
164
|
shopify_carrier_mapping: zod_1.z
|
|
160
165
|
.nativeEnum(ShopifyCarrier)
|