erpnext-queue-client 1.19.1 → 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.
@@ -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, boolean, number>;
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, boolean, number>;
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, boolean, number>;
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),
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.19.1",
28
+ "version": "1.19.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",