erpnext-queue-client 1.18.2 → 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">]>;
@@ -156,9 +152,8 @@ export declare const ShippingProvider: z.ZodObject<{
156
152
  creation: string;
157
153
  modified: string;
158
154
  modified_by: string;
159
- idx: number;
160
- docstatus: number;
161
155
  title: string;
156
+ is_active: boolean;
162
157
  is_transport_by_freight_forwarding: boolean;
163
158
  is_print_label: boolean;
164
159
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -169,9 +164,6 @@ export declare const ShippingProvider: z.ZodObject<{
169
164
  is_return_shipping_provider: boolean;
170
165
  return_address: string;
171
166
  is_self_service: boolean;
172
- parent?: string | null | undefined;
173
- parentfield?: string | null | undefined;
174
- parenttype?: string | null | undefined;
175
167
  dhl_ekp_number?: string | null | undefined;
176
168
  api_user?: string | null | undefined;
177
169
  api_password?: string | null | undefined;
@@ -187,9 +179,8 @@ export declare const ShippingProvider: z.ZodObject<{
187
179
  creation: string;
188
180
  modified: string;
189
181
  modified_by: string;
190
- idx: number;
191
- docstatus: number;
192
182
  title: string;
183
+ is_active: number;
193
184
  is_transport_by_freight_forwarding: number;
194
185
  is_print_label: number;
195
186
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -200,9 +191,6 @@ export declare const ShippingProvider: z.ZodObject<{
200
191
  is_return_shipping_provider: number;
201
192
  return_address: string;
202
193
  is_self_service: number;
203
- parent?: string | null | undefined;
204
- parentfield?: string | null | undefined;
205
- parenttype?: string | null | undefined;
206
194
  dhl_ekp_number?: string | null | undefined;
207
195
  api_user?: string | null | undefined;
208
196
  api_password?: string | null | undefined;
@@ -219,11 +207,7 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
219
207
  modified: z.ZodString;
220
208
  modified_by: z.ZodString;
221
209
  owner: z.ZodString;
222
- docstatus: z.ZodNumber;
223
- parent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
224
- parentfield: z.ZodNullable<z.ZodOptional<z.ZodString>>;
225
- parenttype: z.ZodNullable<z.ZodOptional<z.ZodString>>;
226
- idx: z.ZodNumber;
210
+ is_active: z.ZodEffects<z.ZodNumber, boolean, number>;
227
211
  is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
228
212
  is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
229
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">]>;
@@ -250,9 +234,8 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
250
234
  creation: string;
251
235
  modified: string;
252
236
  modified_by: string;
253
- idx: number;
254
- docstatus: number;
255
237
  title: string;
238
+ is_active: boolean;
256
239
  is_transport_by_freight_forwarding: boolean;
257
240
  is_print_label: boolean;
258
241
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -263,9 +246,6 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
263
246
  is_return_shipping_provider: boolean;
264
247
  return_address: string;
265
248
  is_self_service: boolean;
266
- parent?: string | null | undefined;
267
- parentfield?: string | null | undefined;
268
- parenttype?: string | null | undefined;
269
249
  dhl_ekp_number?: string | null | undefined;
270
250
  api_user?: string | null | undefined;
271
251
  api_password?: string | null | undefined;
@@ -280,9 +260,8 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
280
260
  creation: string;
281
261
  modified: string;
282
262
  modified_by: string;
283
- idx: number;
284
- docstatus: number;
285
263
  title: string;
264
+ is_active: number;
286
265
  is_transport_by_freight_forwarding: number;
287
266
  is_print_label: number;
288
267
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -293,9 +272,6 @@ export declare const ShippingProviderFromList: z.ZodObject<Omit<{
293
272
  is_return_shipping_provider: number;
294
273
  return_address: string;
295
274
  is_self_service: number;
296
- parent?: string | null | undefined;
297
- parentfield?: string | null | undefined;
298
- parenttype?: string | null | undefined;
299
275
  dhl_ekp_number?: string | null | undefined;
300
276
  api_user?: string | null | undefined;
301
277
  api_password?: string | null | undefined;
@@ -311,11 +287,7 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
311
287
  modified: z.ZodString;
312
288
  modified_by: z.ZodString;
313
289
  owner: z.ZodString;
314
- docstatus: z.ZodNumber;
315
- parent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
316
- parentfield: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
- parenttype: z.ZodNullable<z.ZodOptional<z.ZodString>>;
318
- idx: z.ZodNumber;
290
+ is_active: z.ZodEffects<z.ZodNumber, boolean, number>;
319
291
  is_transport_by_freight_forwarding: z.ZodEffects<z.ZodNumber, boolean, number>;
320
292
  is_print_label: z.ZodEffects<z.ZodNumber, boolean, number>;
321
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">]>;
@@ -342,9 +314,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
342
314
  creation: string;
343
315
  modified: string;
344
316
  modified_by: string;
345
- idx: number;
346
- docstatus: number;
347
317
  title: string;
318
+ is_active: boolean;
348
319
  is_transport_by_freight_forwarding: boolean;
349
320
  is_print_label: boolean;
350
321
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -355,9 +326,6 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
355
326
  is_return_shipping_provider: boolean;
356
327
  return_address: string;
357
328
  is_self_service: boolean;
358
- parent?: string | null | undefined;
359
- parentfield?: string | null | undefined;
360
- parenttype?: string | null | undefined;
361
329
  dhl_ekp_number?: string | null | undefined;
362
330
  api_user?: string | null | undefined;
363
331
  api_password?: string | null | undefined;
@@ -372,9 +340,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
372
340
  creation: string;
373
341
  modified: string;
374
342
  modified_by: string;
375
- idx: number;
376
- docstatus: number;
377
343
  title: string;
344
+ is_active: number;
378
345
  is_transport_by_freight_forwarding: number;
379
346
  is_print_label: number;
380
347
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -385,9 +352,6 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
385
352
  is_return_shipping_provider: number;
386
353
  return_address: string;
387
354
  is_self_service: number;
388
- parent?: string | null | undefined;
389
- parentfield?: string | null | undefined;
390
- parenttype?: string | null | undefined;
391
355
  dhl_ekp_number?: string | null | undefined;
392
356
  api_user?: string | null | undefined;
393
357
  api_password?: string | null | undefined;
@@ -402,9 +366,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
402
366
  creation: string;
403
367
  modified: string;
404
368
  modified_by: string;
405
- idx: number;
406
- docstatus: number;
407
369
  title: string;
370
+ is_active: boolean;
408
371
  is_transport_by_freight_forwarding: boolean;
409
372
  is_print_label: boolean;
410
373
  label_service: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
@@ -415,9 +378,6 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<z.ZodObject<O
415
378
  is_return_shipping_provider: boolean;
416
379
  return_address: string;
417
380
  is_self_service: boolean;
418
- parent?: string | null | undefined;
419
- parentfield?: string | null | undefined;
420
- parenttype?: string | null | undefined;
421
381
  dhl_ekp_number?: string | null | undefined;
422
382
  api_user?: string | null | undefined;
423
383
  api_password?: string | null | undefined;
@@ -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,
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.2",
28
+ "version": "1.19.0",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",