erpnext-queue-client 1.18.1 → 1.19.0

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.
@@ -124,11 +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
- docstatus: z.ZodNumber;
128
- parent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
129
- parentfield: z.ZodNullable<z.ZodOptional<z.ZodString>>;
130
- parenttype: z.ZodNullable<z.ZodOptional<z.ZodString>>;
131
- idx: z.ZodNumber;
127
+ is_active: z.ZodEffects<z.ZodNumber, boolean, number>;
132
128
  is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
133
129
  is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
134
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">]>;
@@ -141,6 +137,11 @@ export declare const ShippingProvider: z.ZodObject<{
141
137
  product_id_germany: z.ZodString;
142
138
  product_id_europe: z.ZodString;
143
139
  sender_address: z.ZodString;
140
+ is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
141
+ return_address: z.ZodString;
142
+ return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
143
+ return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
144
+ is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
144
145
  title: z.ZodString;
145
146
  shopify_carrier_mapping: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof ShopifyCarrier>, z.ZodLiteral<"">]>>>;
146
147
  doctype: z.ZodString;
@@ -151,9 +152,8 @@ export declare const ShippingProvider: z.ZodObject<{
151
152
  creation: string;
152
153
  modified: string;
153
154
  modified_by: string;
154
- idx: number;
155
- docstatus: number;
156
155
  title: string;
156
+ is_active: boolean;
157
157
  is_transport_by_freight_forwarding: boolean;
158
158
  is_print_label: boolean;
159
159
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -161,14 +161,16 @@ export declare const ShippingProvider: z.ZodObject<{
161
161
  product_id_germany: string;
162
162
  product_id_europe: string;
163
163
  sender_address: string;
164
- parent?: string | null | undefined;
165
- parentfield?: string | null | undefined;
166
- parenttype?: string | null | undefined;
164
+ is_return_shipping_provider: boolean;
165
+ return_address: string;
166
+ is_self_service: boolean;
167
167
  dhl_ekp_number?: string | null | undefined;
168
168
  api_user?: string | null | undefined;
169
169
  api_password?: string | null | undefined;
170
170
  api_base_url?: string | null | undefined;
171
171
  gls_shipper_id?: string | null | undefined;
172
+ return_label_link?: string | null | undefined;
173
+ return_label_instructions?: string | null | undefined;
172
174
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
173
175
  }, {
174
176
  name: string;
@@ -177,9 +179,8 @@ export declare const ShippingProvider: z.ZodObject<{
177
179
  creation: string;
178
180
  modified: string;
179
181
  modified_by: string;
180
- idx: number;
181
- docstatus: number;
182
182
  title: string;
183
+ is_active: number;
183
184
  is_transport_by_freight_forwarding: number;
184
185
  is_print_label: number;
185
186
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -187,14 +188,16 @@ export declare const ShippingProvider: z.ZodObject<{
187
188
  product_id_germany: string;
188
189
  product_id_europe: string;
189
190
  sender_address: string;
190
- parent?: string | null | undefined;
191
- parentfield?: string | null | undefined;
192
- parenttype?: string | null | undefined;
191
+ is_return_shipping_provider: number;
192
+ return_address: string;
193
+ is_self_service: number;
193
194
  dhl_ekp_number?: string | null | undefined;
194
195
  api_user?: string | null | undefined;
195
196
  api_password?: string | null | undefined;
196
197
  api_base_url?: string | null | undefined;
197
198
  gls_shipper_id?: string | null | undefined;
199
+ return_label_link?: string | null | undefined;
200
+ return_label_instructions?: string | null | undefined;
198
201
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
199
202
  }>;
200
203
  export type ShippingProviderType = z.infer<typeof ShippingProvider>;
@@ -204,11 +207,7 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
204
207
  modified: z.ZodString;
205
208
  modified_by: z.ZodString;
206
209
  owner: z.ZodString;
207
- docstatus: z.ZodNumber;
208
- parent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
209
- parentfield: z.ZodNullable<z.ZodOptional<z.ZodString>>;
210
- parenttype: z.ZodNullable<z.ZodOptional<z.ZodString>>;
211
- idx: z.ZodNumber;
210
+ is_active: z.ZodEffects<z.ZodNumber, boolean, number>;
212
211
  is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
213
212
  is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
214
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,6 +220,11 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
221
220
  product_id_germany: z.ZodString;
222
221
  product_id_europe: z.ZodString;
223
222
  sender_address: z.ZodString;
223
+ is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
224
+ return_address: z.ZodString;
225
+ return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
226
+ return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
227
+ is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
224
228
  title: z.ZodString;
225
229
  shopify_carrier_mapping: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof ShopifyCarrier>, z.ZodLiteral<"">]>>>;
226
230
  doctype: z.ZodString;
@@ -230,9 +234,8 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
230
234
  creation: string;
231
235
  modified: string;
232
236
  modified_by: string;
233
- idx: number;
234
- docstatus: number;
235
237
  title: string;
238
+ is_active: boolean;
236
239
  is_transport_by_freight_forwarding: boolean;
237
240
  is_print_label: boolean;
238
241
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -240,14 +243,16 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
240
243
  product_id_germany: string;
241
244
  product_id_europe: string;
242
245
  sender_address: string;
243
- parent?: string | null | undefined;
244
- parentfield?: string | null | undefined;
245
- parenttype?: string | null | undefined;
246
+ is_return_shipping_provider: boolean;
247
+ return_address: string;
248
+ is_self_service: boolean;
246
249
  dhl_ekp_number?: string | null | undefined;
247
250
  api_user?: string | null | undefined;
248
251
  api_password?: string | null | undefined;
249
252
  api_base_url?: string | null | undefined;
250
253
  gls_shipper_id?: string | null | undefined;
254
+ return_label_link?: string | null | undefined;
255
+ return_label_instructions?: string | null | undefined;
251
256
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
252
257
  }, {
253
258
  name: string;
@@ -255,9 +260,8 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
255
260
  creation: string;
256
261
  modified: string;
257
262
  modified_by: string;
258
- idx: number;
259
- docstatus: number;
260
263
  title: string;
264
+ is_active: number;
261
265
  is_transport_by_freight_forwarding: number;
262
266
  is_print_label: number;
263
267
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -265,14 +269,16 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
265
269
  product_id_germany: string;
266
270
  product_id_europe: string;
267
271
  sender_address: string;
268
- parent?: string | null | undefined;
269
- parentfield?: string | null | undefined;
270
- parenttype?: string | null | undefined;
272
+ is_return_shipping_provider: number;
273
+ return_address: string;
274
+ is_self_service: number;
271
275
  dhl_ekp_number?: string | null | undefined;
272
276
  api_user?: string | null | undefined;
273
277
  api_password?: string | null | undefined;
274
278
  api_base_url?: string | null | undefined;
275
279
  gls_shipper_id?: string | null | undefined;
280
+ return_label_link?: string | null | undefined;
281
+ return_label_instructions?: string | null | undefined;
276
282
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
277
283
  }>;
278
284
  export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<Omit<{
@@ -281,11 +287,7 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
281
287
  modified: z.ZodString;
282
288
  modified_by: z.ZodString;
283
289
  owner: z.ZodString;
284
- docstatus: z.ZodNumber;
285
- parent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
286
- parentfield: z.ZodNullable<z.ZodOptional<z.ZodString>>;
287
- parenttype: z.ZodNullable<z.ZodOptional<z.ZodString>>;
288
- idx: z.ZodNumber;
290
+ is_active: z.ZodEffects<z.ZodNumber, boolean, number>;
289
291
  is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
290
292
  is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
291
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">]>;
@@ -298,6 +300,11 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
298
300
  product_id_germany: z.ZodString;
299
301
  product_id_europe: z.ZodString;
300
302
  sender_address: z.ZodString;
303
+ is_return_shipping_provider: z.ZodEffects<z.ZodNumber, boolean, number>;
304
+ return_address: z.ZodString;
305
+ return_label_link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
306
+ return_label_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
307
+ is_self_service: z.ZodEffects<z.ZodNumber, boolean, number>;
301
308
  title: z.ZodString;
302
309
  shopify_carrier_mapping: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof ShopifyCarrier>, z.ZodLiteral<"">]>>>;
303
310
  doctype: z.ZodString;
@@ -307,9 +314,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
307
314
  creation: string;
308
315
  modified: string;
309
316
  modified_by: string;
310
- idx: number;
311
- docstatus: number;
312
317
  title: string;
318
+ is_active: boolean;
313
319
  is_transport_by_freight_forwarding: boolean;
314
320
  is_print_label: boolean;
315
321
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -317,14 +323,16 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
317
323
  product_id_germany: string;
318
324
  product_id_europe: string;
319
325
  sender_address: string;
320
- parent?: string | null | undefined;
321
- parentfield?: string | null | undefined;
322
- parenttype?: string | null | undefined;
326
+ is_return_shipping_provider: boolean;
327
+ return_address: string;
328
+ is_self_service: boolean;
323
329
  dhl_ekp_number?: string | null | undefined;
324
330
  api_user?: string | null | undefined;
325
331
  api_password?: string | null | undefined;
326
332
  api_base_url?: string | null | undefined;
327
333
  gls_shipper_id?: string | null | undefined;
334
+ return_label_link?: string | null | undefined;
335
+ return_label_instructions?: string | null | undefined;
328
336
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
329
337
  }, {
330
338
  name: string;
@@ -332,9 +340,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
332
340
  creation: string;
333
341
  modified: string;
334
342
  modified_by: string;
335
- idx: number;
336
- docstatus: number;
337
343
  title: string;
344
+ is_active: number;
338
345
  is_transport_by_freight_forwarding: number;
339
346
  is_print_label: number;
340
347
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -342,14 +349,16 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
342
349
  product_id_germany: string;
343
350
  product_id_europe: string;
344
351
  sender_address: string;
345
- parent?: string | null | undefined;
346
- parentfield?: string | null | undefined;
347
- parenttype?: string | null | undefined;
352
+ is_return_shipping_provider: number;
353
+ return_address: string;
354
+ is_self_service: number;
348
355
  dhl_ekp_number?: string | null | undefined;
349
356
  api_user?: string | null | undefined;
350
357
  api_password?: string | null | undefined;
351
358
  api_base_url?: string | null | undefined;
352
359
  gls_shipper_id?: string | null | undefined;
360
+ return_label_link?: string | null | undefined;
361
+ return_label_instructions?: string | null | undefined;
353
362
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
354
363
  }>, "many">, {
355
364
  name: string;
@@ -357,9 +366,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
357
366
  creation: string;
358
367
  modified: string;
359
368
  modified_by: string;
360
- idx: number;
361
- docstatus: number;
362
369
  title: string;
370
+ is_active: boolean;
363
371
  is_transport_by_freight_forwarding: boolean;
364
372
  is_print_label: boolean;
365
373
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -367,14 +375,16 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
367
375
  product_id_germany: string;
368
376
  product_id_europe: string;
369
377
  sender_address: string;
370
- parent?: string | null | undefined;
371
- parentfield?: string | null | undefined;
372
- parenttype?: string | null | undefined;
378
+ is_return_shipping_provider: boolean;
379
+ return_address: string;
380
+ is_self_service: boolean;
373
381
  dhl_ekp_number?: string | null | undefined;
374
382
  api_user?: string | null | undefined;
375
383
  api_password?: string | null | undefined;
376
384
  api_base_url?: string | null | undefined;
377
385
  gls_shipper_id?: string | null | undefined;
386
+ return_label_link?: string | null | undefined;
387
+ return_label_instructions?: string | null | undefined;
378
388
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
379
389
  }[], unknown>;
380
390
  export type ShippingProviderListType = z.infer<typeof ShippingProviderList>;
@@ -138,11 +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
- docstatus: zod_1.z.number(),
142
- parent: zod_1.z.string().optional().nullable(),
143
- parentfield: zod_1.z.string().optional().nullable(),
144
- parenttype: zod_1.z.string().optional().nullable(),
145
- idx: zod_1.z.number(),
141
+ is_active: zod_1.z.number().transform(Boolean),
146
142
  is_transport_by_freight_forwarding: zod_1.z.number().transform(Boolean),
147
143
  is_print_label: zod_1.z.number().transform(Boolean),
148
144
  label_service: exports.LabelService,
@@ -155,6 +151,11 @@ exports.ShippingProvider = zod_1.z
155
151
  product_id_germany: zod_1.z.string(),
156
152
  product_id_europe: zod_1.z.string(),
157
153
  sender_address: zod_1.z.string(),
154
+ is_return_shipping_provider: zod_1.z.number().transform(Boolean),
155
+ return_address: zod_1.z.string(),
156
+ return_label_link: zod_1.z.string().optional().nullable(),
157
+ return_label_instructions: zod_1.z.string().optional().nullable(),
158
+ is_self_service: zod_1.z.number().transform(Boolean),
158
159
  title: zod_1.z.string(),
159
160
  shopify_carrier_mapping: zod_1.z
160
161
  .nativeEnum(ShopifyCarrier)
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "3.24.1"
27
27
  },
28
- "version": "1.18.1",
28
+ "version": "1.19.0",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",