erpnext-queue-client 1.5.4 → 1.6.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.
Files changed (32) hide show
  1. package/dist/client.js +1 -1
  2. package/dist/erpnext/doctypes/address.d.ts +13 -13
  3. package/dist/erpnext/doctypes/contact.d.ts +25 -25
  4. package/dist/erpnext/doctypes/deliveryNote.d.ts +15 -15
  5. package/dist/erpnext/doctypes/item.d.ts +25 -25
  6. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +33 -33
  7. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +19 -19
  8. package/dist/erpnext/doctypes/shipment.d.ts +30 -30
  9. package/dist/erpnext/model/Account.d.ts +2 -2
  10. package/dist/erpnext/model/Address.d.ts +8 -8
  11. package/dist/erpnext/model/Contact.d.ts +20 -20
  12. package/dist/erpnext/model/Country.d.ts +2 -2
  13. package/dist/erpnext/model/Customer.d.ts +2 -2
  14. package/dist/erpnext/model/DeliveryNote.d.ts +12 -12
  15. package/dist/erpnext/model/DispatchRun.d.ts +25 -25
  16. package/dist/erpnext/model/DispatcherPreset.d.ts +8 -8
  17. package/dist/erpnext/model/File.d.ts +4 -4
  18. package/dist/erpnext/model/Fulfiller.d.ts +2 -2
  19. package/dist/erpnext/model/Item.d.ts +44 -44
  20. package/dist/erpnext/model/PaymentEntry.d.ts +2 -2
  21. package/dist/erpnext/model/ProductBundle.d.ts +6 -6
  22. package/dist/erpnext/model/PurchaseInvoice.d.ts +26 -26
  23. package/dist/erpnext/model/PurchaseOrder.d.ts +10 -10
  24. package/dist/erpnext/model/Receipt.d.ts +6 -6
  25. package/dist/erpnext/model/ReceiptDraft.d.ts +4 -4
  26. package/dist/erpnext/model/Shipment.d.ts +32 -32
  27. package/dist/erpnext/model/ShippingProvider.d.ts +2 -2
  28. package/dist/erpnext/model/StockEntry.d.ts +2 -2
  29. package/dist/erpnext/model/StockReconciliation.d.ts +2 -2
  30. package/dist/erpnext/model/Supplier.d.ts +6 -6
  31. package/dist/erpnext/resourceRequest.js +9 -5
  32. package/package.json +1 -1
@@ -14,6 +14,7 @@ declare const DispatcherPresetFulfillerPriority: z.ZodObject<{
14
14
  doctype: z.ZodString;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  name: string;
17
+ doctype: string;
17
18
  owner: string;
18
19
  creation: Date;
19
20
  modified: Date;
@@ -23,10 +24,10 @@ declare const DispatcherPresetFulfillerPriority: z.ZodObject<{
23
24
  parenttype: string;
24
25
  idx: number;
25
26
  docstatus: number;
26
- doctype: string;
27
27
  fulfiller: string;
28
28
  }, {
29
29
  name: string;
30
+ doctype: string;
30
31
  owner: string;
31
32
  modified_by: string;
32
33
  parent: string;
@@ -34,7 +35,6 @@ declare const DispatcherPresetFulfillerPriority: z.ZodObject<{
34
35
  parenttype: string;
35
36
  idx: number;
36
37
  docstatus: number;
37
- doctype: string;
38
38
  fulfiller: string;
39
39
  creation?: unknown;
40
40
  modified?: unknown;
@@ -68,6 +68,7 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
68
68
  doctype: z.ZodString;
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  name: string;
71
+ doctype: string;
71
72
  owner: string;
72
73
  creation: Date;
73
74
  modified: Date;
@@ -77,10 +78,10 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
77
78
  parenttype: string;
78
79
  idx: number;
79
80
  docstatus: number;
80
- doctype: string;
81
81
  fulfiller: string;
82
82
  }, {
83
83
  name: string;
84
+ doctype: string;
84
85
  owner: string;
85
86
  modified_by: string;
86
87
  parent: string;
@@ -88,25 +89,25 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
88
89
  parenttype: string;
89
90
  idx: number;
90
91
  docstatus: number;
91
- doctype: string;
92
92
  fulfiller: string;
93
93
  creation?: unknown;
94
94
  modified?: unknown;
95
95
  }>, "many">;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  name: string;
98
+ doctype: string;
98
99
  owner: string;
99
100
  creation: Date;
100
101
  modified: Date;
101
102
  modified_by: string;
102
103
  idx: number;
103
104
  docstatus: number;
104
- doctype: string;
105
105
  title: string;
106
106
  fulfiller: string;
107
107
  is_active: boolean;
108
108
  fulfiller_priority: {
109
109
  name: string;
110
+ doctype: string;
110
111
  owner: string;
111
112
  creation: Date;
112
113
  modified: Date;
@@ -116,22 +117,22 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
116
117
  parenttype: string;
117
118
  idx: number;
118
119
  docstatus: number;
119
- doctype: string;
120
120
  fulfiller: string;
121
121
  }[];
122
122
  is_simulation_mode?: number | null | undefined;
123
123
  }, {
124
124
  name: string;
125
+ doctype: string;
125
126
  owner: string;
126
127
  modified_by: string;
127
128
  idx: number;
128
129
  docstatus: number;
129
- doctype: string;
130
130
  title: string;
131
131
  fulfiller: string;
132
132
  is_active: number;
133
133
  fulfiller_priority: {
134
134
  name: string;
135
+ doctype: string;
135
136
  owner: string;
136
137
  modified_by: string;
137
138
  parent: string;
@@ -139,7 +140,6 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
139
140
  parenttype: string;
140
141
  idx: number;
141
142
  docstatus: number;
142
- doctype: string;
143
143
  fulfiller: string;
144
144
  creation?: unknown;
145
145
  modified?: unknown;
@@ -208,6 +208,7 @@ export declare const ERPNextShipstormRun: z.ZodObject<z.objectUtil.extendShape<O
208
208
  doctype: z.ZodString;
209
209
  }, "strip", z.ZodTypeAny, {
210
210
  name: string;
211
+ doctype: string;
211
212
  owner: string;
212
213
  creation: Date;
213
214
  modified: Date;
@@ -217,10 +218,10 @@ export declare const ERPNextShipstormRun: z.ZodObject<z.objectUtil.extendShape<O
217
218
  parenttype: string;
218
219
  idx: number;
219
220
  docstatus: number;
220
- doctype: string;
221
221
  fulfiller: string;
222
222
  }, {
223
223
  name: string;
224
+ doctype: string;
224
225
  owner: string;
225
226
  modified_by: string;
226
227
  parent: string;
@@ -228,7 +229,6 @@ export declare const ERPNextShipstormRun: z.ZodObject<z.objectUtil.extendShape<O
228
229
  parenttype: string;
229
230
  idx: number;
230
231
  docstatus: number;
231
- doctype: string;
232
232
  fulfiller: string;
233
233
  creation?: unknown;
234
234
  modified?: unknown;
@@ -248,17 +248,18 @@ export declare const ERPNextShipstormRun: z.ZodObject<z.objectUtil.extendShape<O
248
248
  }>, "strip", z.ZodTypeAny, {
249
249
  status: "Processing" | "Failed" | "Completed";
250
250
  name: string;
251
+ doctype: string;
251
252
  owner: string;
252
253
  creation: Date;
253
254
  modified: Date;
254
255
  modified_by: string;
255
256
  idx: number;
256
257
  docstatus: number;
257
- doctype: string;
258
258
  title: string;
259
259
  fulfiller: string;
260
260
  fulfiller_priority: {
261
261
  name: string;
262
+ doctype: string;
262
263
  owner: string;
263
264
  creation: Date;
264
265
  modified: Date;
@@ -268,7 +269,6 @@ export declare const ERPNextShipstormRun: z.ZodObject<z.objectUtil.extendShape<O
268
269
  parenttype: string;
269
270
  idx: number;
270
271
  docstatus: number;
271
- doctype: string;
272
272
  fulfiller: string;
273
273
  }[];
274
274
  dispatch_run_id: string;
@@ -285,15 +285,16 @@ export declare const ERPNextShipstormRun: z.ZodObject<z.objectUtil.extendShape<O
285
285
  }, {
286
286
  status: "Processing" | "Failed" | "Completed";
287
287
  name: string;
288
+ doctype: string;
288
289
  owner: string;
289
290
  modified_by: string;
290
291
  idx: number;
291
292
  docstatus: number;
292
- doctype: string;
293
293
  title: string;
294
294
  fulfiller: string;
295
295
  fulfiller_priority: {
296
296
  name: string;
297
+ doctype: string;
297
298
  owner: string;
298
299
  modified_by: string;
299
300
  parent: string;
@@ -301,7 +302,6 @@ export declare const ERPNextShipstormRun: z.ZodObject<z.objectUtil.extendShape<O
301
302
  parenttype: string;
302
303
  idx: number;
303
304
  docstatus: number;
304
- doctype: string;
305
305
  fulfiller: string;
306
306
  creation?: unknown;
307
307
  modified?: unknown;
@@ -349,6 +349,7 @@ export declare const ShipstormRun: z.ZodObject<z.objectUtil.extendShape<Omit<z.o
349
349
  doctype: z.ZodString;
350
350
  }, "strip", z.ZodTypeAny, {
351
351
  name: string;
352
+ doctype: string;
352
353
  owner: string;
353
354
  creation: Date;
354
355
  modified: Date;
@@ -358,10 +359,10 @@ export declare const ShipstormRun: z.ZodObject<z.objectUtil.extendShape<Omit<z.o
358
359
  parenttype: string;
359
360
  idx: number;
360
361
  docstatus: number;
361
- doctype: string;
362
362
  fulfiller: string;
363
363
  }, {
364
364
  name: string;
365
+ doctype: string;
365
366
  owner: string;
366
367
  modified_by: string;
367
368
  parent: string;
@@ -369,7 +370,6 @@ export declare const ShipstormRun: z.ZodObject<z.objectUtil.extendShape<Omit<z.o
369
370
  parenttype: string;
370
371
  idx: number;
371
372
  docstatus: number;
372
- doctype: string;
373
373
  fulfiller: string;
374
374
  creation?: unknown;
375
375
  modified?: unknown;
@@ -386,7 +386,7 @@ export declare const ShipstormRun: z.ZodObject<z.objectUtil.extendShape<Omit<z.o
386
386
  trigger: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"UI">, z.ZodLiteral<"API">]>, z.ZodLiteral<"API-TEST">]>, z.ZodLiteral<"REAL-DATA-TEST">]>, z.ZodLiteral<"SCHEDULE">]>;
387
387
  order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
388
388
  status: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"Processing">, z.ZodLiteral<"Failed">]>, z.ZodLiteral<"Completed">]>;
389
- }>, "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "doctype">, {
389
+ }>, "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus">, {
390
390
  fulfiller_priority: z.ZodArray<z.ZodObject<{
391
391
  fulfiller: z.ZodString;
392
392
  }, "strip", z.ZodTypeAny, {
@@ -460,6 +460,7 @@ export declare const ERPNextDispatchRunPostBody: z.ZodObject<z.objectUtil.extend
460
460
  doctype: z.ZodString;
461
461
  }, "strip", z.ZodTypeAny, {
462
462
  name: string;
463
+ doctype: string;
463
464
  owner: string;
464
465
  creation: Date;
465
466
  modified: Date;
@@ -469,10 +470,10 @@ export declare const ERPNextDispatchRunPostBody: z.ZodObject<z.objectUtil.extend
469
470
  parenttype: string;
470
471
  idx: number;
471
472
  docstatus: number;
472
- doctype: string;
473
473
  fulfiller: string;
474
474
  }, {
475
475
  name: string;
476
+ doctype: string;
476
477
  owner: string;
477
478
  modified_by: string;
478
479
  parent: string;
@@ -480,7 +481,6 @@ export declare const ERPNextDispatchRunPostBody: z.ZodObject<z.objectUtil.extend
480
481
  parenttype: string;
481
482
  idx: number;
482
483
  docstatus: number;
483
- doctype: string;
484
484
  fulfiller: string;
485
485
  creation?: unknown;
486
486
  modified?: unknown;
@@ -570,6 +570,7 @@ export declare const DispatchRun: z.ZodObject<{
570
570
  doctype: z.ZodString;
571
571
  }, "strip", z.ZodTypeAny, {
572
572
  name: string;
573
+ doctype: string;
573
574
  owner: string;
574
575
  creation: Date;
575
576
  modified: Date;
@@ -579,10 +580,10 @@ export declare const DispatchRun: z.ZodObject<{
579
580
  parenttype: string;
580
581
  idx: number;
581
582
  docstatus: number;
582
- doctype: string;
583
583
  fulfiller: string;
584
584
  }, {
585
585
  name: string;
586
+ doctype: string;
586
587
  owner: string;
587
588
  creation: string;
588
589
  modified: string;
@@ -592,7 +593,6 @@ export declare const DispatchRun: z.ZodObject<{
592
593
  parenttype: string;
593
594
  idx: number;
594
595
  docstatus: number;
595
- doctype: string;
596
596
  fulfiller: string;
597
597
  }>, "many">;
598
598
  is_auto_bundling: z.ZodEffects<z.ZodNumber, boolean, number>;
@@ -600,18 +600,19 @@ export declare const DispatchRun: z.ZodObject<{
600
600
  is_simulation_mode: z.ZodNumber;
601
601
  }, "strip", z.ZodTypeAny, {
602
602
  name: string;
603
+ doctype: string;
603
604
  owner: string;
604
605
  creation: Date;
605
606
  modified: Date;
606
607
  modified_by: string;
607
608
  idx: number;
608
609
  docstatus: number;
609
- doctype: string;
610
610
  title: string;
611
611
  fulfiller: string;
612
612
  is_simulation_mode: number;
613
613
  fulfiller_priority: {
614
614
  name: string;
615
+ doctype: string;
615
616
  owner: string;
616
617
  creation: Date;
617
618
  modified: Date;
@@ -621,7 +622,6 @@ export declare const DispatchRun: z.ZodObject<{
621
622
  parenttype: string;
622
623
  idx: number;
623
624
  docstatus: number;
624
- doctype: string;
625
625
  fulfiller: string;
626
626
  }[];
627
627
  is_auto_bundling: boolean;
@@ -633,18 +633,19 @@ export declare const DispatchRun: z.ZodObject<{
633
633
  warehouse_categories?: string[] | null | undefined;
634
634
  }, {
635
635
  name: string;
636
+ doctype: string;
636
637
  owner: string;
637
638
  creation: string;
638
639
  modified: string;
639
640
  modified_by: string;
640
641
  idx: number;
641
642
  docstatus: number;
642
- doctype: string;
643
643
  title: string;
644
644
  fulfiller: string;
645
645
  is_simulation_mode: number;
646
646
  fulfiller_priority: {
647
647
  name: string;
648
+ doctype: string;
648
649
  owner: string;
649
650
  creation: string;
650
651
  modified: string;
@@ -654,7 +655,6 @@ export declare const DispatchRun: z.ZodObject<{
654
655
  parenttype: string;
655
656
  idx: number;
656
657
  docstatus: number;
657
- doctype: string;
658
658
  fulfiller: string;
659
659
  }[];
660
660
  is_auto_bundling: number;
@@ -14,6 +14,7 @@ declare const DispatcherPresetFulfillerPriority: z.ZodObject<{
14
14
  doctype: z.ZodString;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  name: string;
17
+ doctype: string;
17
18
  owner: string;
18
19
  creation: Date;
19
20
  modified: Date;
@@ -23,10 +24,10 @@ declare const DispatcherPresetFulfillerPriority: z.ZodObject<{
23
24
  parenttype: string;
24
25
  idx: number;
25
26
  docstatus: number;
26
- doctype: string;
27
27
  fulfiller: string;
28
28
  }, {
29
29
  name: string;
30
+ doctype: string;
30
31
  owner: string;
31
32
  modified_by: string;
32
33
  parent: string;
@@ -34,7 +35,6 @@ declare const DispatcherPresetFulfillerPriority: z.ZodObject<{
34
35
  parenttype: string;
35
36
  idx: number;
36
37
  docstatus: number;
37
- doctype: string;
38
38
  fulfiller: string;
39
39
  creation?: unknown;
40
40
  modified?: unknown;
@@ -68,6 +68,7 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
68
68
  doctype: z.ZodString;
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  name: string;
71
+ doctype: string;
71
72
  owner: string;
72
73
  creation: Date;
73
74
  modified: Date;
@@ -77,10 +78,10 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
77
78
  parenttype: string;
78
79
  idx: number;
79
80
  docstatus: number;
80
- doctype: string;
81
81
  fulfiller: string;
82
82
  }, {
83
83
  name: string;
84
+ doctype: string;
84
85
  owner: string;
85
86
  modified_by: string;
86
87
  parent: string;
@@ -88,25 +89,25 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
88
89
  parenttype: string;
89
90
  idx: number;
90
91
  docstatus: number;
91
- doctype: string;
92
92
  fulfiller: string;
93
93
  creation?: unknown;
94
94
  modified?: unknown;
95
95
  }>, "many">;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  name: string;
98
+ doctype: string;
98
99
  owner: string;
99
100
  creation: Date;
100
101
  modified: Date;
101
102
  modified_by: string;
102
103
  idx: number;
103
104
  docstatus: number;
104
- doctype: string;
105
105
  title: string;
106
106
  fulfiller: string;
107
107
  is_active: boolean;
108
108
  fulfiller_priority: {
109
109
  name: string;
110
+ doctype: string;
110
111
  owner: string;
111
112
  creation: Date;
112
113
  modified: Date;
@@ -116,22 +117,22 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
116
117
  parenttype: string;
117
118
  idx: number;
118
119
  docstatus: number;
119
- doctype: string;
120
120
  fulfiller: string;
121
121
  }[];
122
122
  is_simulation_mode?: number | null | undefined;
123
123
  }, {
124
124
  name: string;
125
+ doctype: string;
125
126
  owner: string;
126
127
  modified_by: string;
127
128
  idx: number;
128
129
  docstatus: number;
129
- doctype: string;
130
130
  title: string;
131
131
  fulfiller: string;
132
132
  is_active: number;
133
133
  fulfiller_priority: {
134
134
  name: string;
135
+ doctype: string;
135
136
  owner: string;
136
137
  modified_by: string;
137
138
  parent: string;
@@ -139,7 +140,6 @@ export declare const ERPNextDispatcherPreset: z.ZodObject<{
139
140
  parenttype: string;
140
141
  idx: number;
141
142
  docstatus: number;
142
- doctype: string;
143
143
  fulfiller: string;
144
144
  creation?: unknown;
145
145
  modified?: unknown;
@@ -24,13 +24,13 @@ export declare const ERPNextFile: z.ZodObject<{
24
24
  doctype: z.ZodString;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  name: string;
27
+ doctype: string;
27
28
  owner: string;
28
29
  creation: string;
29
30
  modified: string;
30
31
  modified_by: string;
31
32
  idx: number;
32
33
  docstatus: number;
33
- doctype: string;
34
34
  is_private: number;
35
35
  is_home_folder: number;
36
36
  is_attachments_folder: number;
@@ -47,13 +47,13 @@ export declare const ERPNextFile: z.ZodObject<{
47
47
  s3_file_key?: string | null | undefined;
48
48
  }, {
49
49
  name: string;
50
+ doctype: string;
50
51
  owner: string;
51
52
  creation: string;
52
53
  modified: string;
53
54
  modified_by: string;
54
55
  idx: number;
55
56
  docstatus: number;
56
- doctype: string;
57
57
  is_private: number;
58
58
  is_home_folder: number;
59
59
  is_attachments_folder: number;
@@ -98,13 +98,13 @@ export declare const ERPNextValidatedFile: z.ZodObject<z.objectUtil.extendShape<
98
98
  file_url: z.ZodString;
99
99
  }>, "strip", z.ZodTypeAny, {
100
100
  name: string;
101
+ doctype: string;
101
102
  owner: string;
102
103
  creation: string;
103
104
  modified: string;
104
105
  modified_by: string;
105
106
  idx: number;
106
107
  docstatus: number;
107
- doctype: string;
108
108
  file_name: string;
109
109
  file_url: string;
110
110
  is_private: number;
@@ -121,13 +121,13 @@ export declare const ERPNextValidatedFile: z.ZodObject<z.objectUtil.extendShape<
121
121
  s3_file_key?: string | null | undefined;
122
122
  }, {
123
123
  name: string;
124
+ doctype: string;
124
125
  owner: string;
125
126
  creation: string;
126
127
  modified: string;
127
128
  modified_by: string;
128
129
  idx: number;
129
130
  docstatus: number;
130
- doctype: string;
131
131
  file_name: string;
132
132
  file_url: string;
133
133
  is_private: number;
@@ -26,13 +26,13 @@ export declare const Fulfiller: z.ZodObject<{
26
26
  doctype: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  name: string;
29
+ doctype: string;
29
30
  owner: string;
30
31
  creation: string;
31
32
  modified: string;
32
33
  modified_by: string;
33
34
  idx: number;
34
35
  docstatus: number;
35
- doctype: string;
36
36
  language: string;
37
37
  title: string;
38
38
  active: boolean;
@@ -51,13 +51,13 @@ export declare const Fulfiller: z.ZodObject<{
51
51
  email_template?: string | null | undefined;
52
52
  }, {
53
53
  name: string;
54
+ doctype: string;
54
55
  owner: string;
55
56
  creation: string;
56
57
  modified: string;
57
58
  modified_by: string;
58
59
  idx: number;
59
60
  docstatus: number;
60
- doctype: string;
61
61
  language: string;
62
62
  title: string;
63
63
  active: number;