erpnext-queue-client 1.0.5 → 1.0.6

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 (33) hide show
  1. package/dist/client.d.ts +6 -16
  2. package/dist/client.js +14 -39
  3. package/dist/erpnext/decryptFromErpNext.server.test.js +3 -3
  4. package/dist/erpnext/doctypes/country.d.ts +9 -0
  5. package/dist/erpnext/doctypes/country.js +28 -0
  6. package/dist/erpnext/erpnextRequests.d.ts +1 -1786
  7. package/dist/erpnext/erpnextRequests.js +13 -337
  8. package/dist/erpnext/model/Address.d.ts +48 -48
  9. package/dist/erpnext/model/Contact.d.ts +106 -106
  10. package/dist/erpnext/model/Country.d.ts +2 -2
  11. package/dist/erpnext/model/Customer.d.ts +4 -4
  12. package/dist/erpnext/model/DeliveryNote.d.ts +176 -176
  13. package/dist/erpnext/model/DispatchRun.d.ts +90 -90
  14. package/dist/erpnext/model/DispatcherPreset.d.ts +26 -26
  15. package/dist/erpnext/model/ERPNextQueue.d.ts +8 -7
  16. package/dist/erpnext/model/ERPNextRequest.d.ts +17 -0
  17. package/dist/erpnext/model/File.d.ts +4 -4
  18. package/dist/erpnext/model/Fulfiller.d.ts +11 -11
  19. package/dist/erpnext/model/FulfillerSettings.d.ts +6 -6
  20. package/dist/erpnext/model/Item.d.ts +204 -204
  21. package/dist/erpnext/model/ProjectedQuantityReport.d.ts +14 -14
  22. package/dist/erpnext/model/PurchaseOrder.d.ts +112 -112
  23. package/dist/erpnext/model/Receipt.d.ts +104 -104
  24. package/dist/erpnext/model/ReceiptDraft.d.ts +88 -88
  25. package/dist/erpnext/model/Shipment.d.ts +157 -157
  26. package/dist/erpnext/model/ShippingProvider.d.ts +23 -23
  27. package/dist/erpnext/resourceRequest.d.ts +16 -0
  28. package/dist/erpnext/resourceRequest.js +34 -0
  29. package/dist/erpnext.d.ts +20 -0
  30. package/dist/erpnext.js +45 -0
  31. package/dist/index.d.ts +17 -1
  32. package/dist/index.js +21 -12
  33. package/package.json +1 -1
@@ -97,30 +97,30 @@ export declare const Item: z.ZodObject<{
97
97
  doctype: z.ZodString;
98
98
  }, "strip", z.ZodTypeAny, {
99
99
  name?: string;
100
- owner?: string;
101
100
  creation?: string;
102
101
  modified?: string;
103
102
  modified_by?: string;
104
- parent?: string;
105
- parentfield?: string;
106
- parenttype?: string;
107
103
  idx?: number;
108
104
  docstatus?: number;
109
105
  doctype?: string;
106
+ owner?: string;
107
+ parent?: string;
108
+ parentfield?: string;
109
+ parenttype?: string;
110
110
  barcode?: string;
111
111
  barcode_type?: string;
112
112
  }, {
113
113
  name?: string;
114
- owner?: string;
115
114
  creation?: string;
116
115
  modified?: string;
117
116
  modified_by?: string;
118
- parent?: string;
119
- parentfield?: string;
120
- parenttype?: string;
121
117
  idx?: number;
122
118
  docstatus?: number;
123
119
  doctype?: string;
120
+ owner?: string;
121
+ parent?: string;
122
+ parentfield?: string;
123
+ parenttype?: string;
124
124
  barcode?: string;
125
125
  barcode_type?: string;
126
126
  }>, "many">;
@@ -141,30 +141,30 @@ export declare const Item: z.ZodObject<{
141
141
  doctype: z.ZodString;
142
142
  }, "strip", z.ZodTypeAny, {
143
143
  name?: string;
144
- owner?: string;
145
144
  creation?: string;
146
145
  modified?: string;
147
146
  modified_by?: string;
148
- parent?: string;
149
- parentfield?: string;
150
- parenttype?: string;
151
147
  idx?: number;
152
148
  docstatus?: number;
153
149
  doctype?: string;
150
+ owner?: string;
151
+ parent?: string;
152
+ parentfield?: string;
153
+ parenttype?: string;
154
154
  uom?: string;
155
155
  conversion_factor?: number;
156
156
  }, {
157
157
  name?: string;
158
- owner?: string;
159
158
  creation?: string;
160
159
  modified?: string;
161
160
  modified_by?: string;
162
- parent?: string;
163
- parentfield?: string;
164
- parenttype?: string;
165
161
  idx?: number;
166
162
  docstatus?: number;
167
163
  doctype?: string;
164
+ owner?: string;
165
+ parent?: string;
166
+ parentfield?: string;
167
+ parenttype?: string;
168
168
  uom?: string;
169
169
  conversion_factor?: number;
170
170
  }>, "many">;
@@ -185,30 +185,30 @@ export declare const Item: z.ZodObject<{
185
185
  doctype: z.ZodString;
186
186
  }, "strip", z.ZodTypeAny, {
187
187
  name?: string;
188
- owner?: string;
189
188
  creation?: string;
190
189
  modified?: string;
191
190
  modified_by?: string;
192
- parent?: string;
193
- parentfield?: string;
194
- parenttype?: string;
195
191
  idx?: number;
196
192
  docstatus?: number;
197
193
  doctype?: string;
194
+ owner?: string;
195
+ parent?: string;
196
+ parentfield?: string;
197
+ parenttype?: string;
198
198
  company?: string;
199
199
  default_warehouse?: string;
200
200
  }, {
201
201
  name?: string;
202
- owner?: string;
203
202
  creation?: string;
204
203
  modified?: string;
205
204
  modified_by?: string;
206
- parent?: string;
207
- parentfield?: string;
208
- parenttype?: string;
209
205
  idx?: number;
210
206
  docstatus?: number;
211
207
  doctype?: string;
208
+ owner?: string;
209
+ parent?: string;
210
+ parentfield?: string;
211
+ parenttype?: string;
212
212
  company?: string;
213
213
  default_warehouse?: string;
214
214
  }>, "many">;
@@ -217,23 +217,28 @@ export declare const Item: z.ZodObject<{
217
217
  taxes: z.ZodArray<z.ZodAny, "many">;
218
218
  }, "strip", z.ZodTypeAny, {
219
219
  name?: string;
220
- owner?: string;
221
220
  creation?: string;
222
221
  modified?: string;
223
222
  modified_by?: string;
224
223
  idx?: number;
225
224
  docstatus?: number;
226
225
  doctype?: string;
226
+ owner?: string;
227
227
  disabled?: number;
228
- warehouse_category?: string;
229
228
  naming_series?: string;
230
- ean?: string;
231
229
  item_code?: string;
232
230
  item_name?: string;
233
- override_base_name?: number;
231
+ description?: string;
234
232
  item_group?: string;
235
- is_item_from_hub?: number;
236
233
  stock_uom?: string;
234
+ grant_commission?: number;
235
+ weight_per_unit?: number;
236
+ weight_uom?: "kg" | "g" | "mg";
237
+ taxes?: any[];
238
+ warehouse_category?: string;
239
+ ean?: string;
240
+ override_base_name?: number;
241
+ is_item_from_hub?: number;
237
242
  sync_from_warehouse?: number;
238
243
  allow_alternative_item?: number;
239
244
  is_stock_item?: number;
@@ -255,7 +260,6 @@ export declare const Item: z.ZodObject<{
255
260
  packaging_weight_unit_cardboard?: "kg" | "g" | "mg";
256
261
  packaging_weight_plastic?: number;
257
262
  packaging_weight_unit_plastic?: "kg" | "g" | "mg";
258
- description?: string;
259
263
  woocommerce?: number;
260
264
  amazon?: number;
261
265
  shelf_life_in_days?: number;
@@ -264,8 +268,6 @@ export declare const Item: z.ZodObject<{
264
268
  valuation_method?: string;
265
269
  product_weight?: number;
266
270
  product_weight_unit?: "kg" | "g" | "mg";
267
- weight_per_unit?: number;
268
- weight_uom?: "kg" | "g" | "mg";
269
271
  has_batch_no?: number;
270
272
  create_new_batch?: number;
271
273
  has_expiry_date?: number;
@@ -283,7 +285,6 @@ export declare const Item: z.ZodObject<{
283
285
  delivered_by_supplier?: number;
284
286
  sales_uom?: string;
285
287
  is_sales_item?: number;
286
- grant_commission?: number;
287
288
  max_discount?: number;
288
289
  enable_deferred_revenue?: number;
289
290
  no_of_months?: number;
@@ -299,73 +300,77 @@ export declare const Item: z.ZodObject<{
299
300
  total_projected_qty?: number;
300
301
  barcodes?: {
301
302
  name?: string;
302
- owner?: string;
303
303
  creation?: string;
304
304
  modified?: string;
305
305
  modified_by?: string;
306
- parent?: string;
307
- parentfield?: string;
308
- parenttype?: string;
309
306
  idx?: number;
310
307
  docstatus?: number;
311
308
  doctype?: string;
309
+ owner?: string;
310
+ parent?: string;
311
+ parentfield?: string;
312
+ parenttype?: string;
312
313
  barcode?: string;
313
314
  barcode_type?: string;
314
315
  }[];
315
316
  reorder_levels?: any[];
316
317
  uoms?: {
317
318
  name?: string;
318
- owner?: string;
319
319
  creation?: string;
320
320
  modified?: string;
321
321
  modified_by?: string;
322
- parent?: string;
323
- parentfield?: string;
324
- parenttype?: string;
325
322
  idx?: number;
326
323
  docstatus?: number;
327
324
  doctype?: string;
325
+ owner?: string;
326
+ parent?: string;
327
+ parentfield?: string;
328
+ parenttype?: string;
328
329
  uom?: string;
329
330
  conversion_factor?: number;
330
331
  }[];
331
332
  attributes?: any[];
332
333
  item_defaults?: {
333
334
  name?: string;
334
- owner?: string;
335
335
  creation?: string;
336
336
  modified?: string;
337
337
  modified_by?: string;
338
- parent?: string;
339
- parentfield?: string;
340
- parenttype?: string;
341
338
  idx?: number;
342
339
  docstatus?: number;
343
340
  doctype?: string;
341
+ owner?: string;
342
+ parent?: string;
343
+ parentfield?: string;
344
+ parenttype?: string;
344
345
  company?: string;
345
346
  default_warehouse?: string;
346
347
  }[];
347
348
  supplier_items?: any[];
348
349
  customer_items?: any[];
349
- taxes?: any[];
350
350
  }, {
351
351
  name?: string;
352
- owner?: string;
353
352
  creation?: string;
354
353
  modified?: string;
355
354
  modified_by?: string;
356
355
  idx?: number;
357
356
  docstatus?: number;
358
357
  doctype?: string;
358
+ owner?: string;
359
359
  disabled?: number;
360
- warehouse_category?: string;
361
360
  naming_series?: string;
362
- ean?: string;
363
361
  item_code?: string;
364
362
  item_name?: string;
365
- override_base_name?: number;
363
+ description?: string;
366
364
  item_group?: string;
367
- is_item_from_hub?: number;
368
365
  stock_uom?: string;
366
+ grant_commission?: number;
367
+ weight_per_unit?: number;
368
+ weight_uom?: "kg" | "g" | "mg";
369
+ taxes?: any[];
370
+ warehouse_category?: string;
371
+ ean?: string;
372
+ override_base_name?: number;
373
+ is_item_from_hub?: number;
369
374
  sync_from_warehouse?: number;
370
375
  allow_alternative_item?: number;
371
376
  is_stock_item?: number;
@@ -387,7 +392,6 @@ export declare const Item: z.ZodObject<{
387
392
  packaging_weight_unit_cardboard?: "kg" | "g" | "mg";
388
393
  packaging_weight_plastic?: number;
389
394
  packaging_weight_unit_plastic?: "kg" | "g" | "mg";
390
- description?: string;
391
395
  woocommerce?: number;
392
396
  amazon?: number;
393
397
  shelf_life_in_days?: number;
@@ -396,8 +400,6 @@ export declare const Item: z.ZodObject<{
396
400
  valuation_method?: string;
397
401
  product_weight?: number;
398
402
  product_weight_unit?: "kg" | "g" | "mg";
399
- weight_per_unit?: number;
400
- weight_uom?: "kg" | "g" | "mg";
401
403
  has_batch_no?: number;
402
404
  create_new_batch?: number;
403
405
  has_expiry_date?: number;
@@ -415,7 +417,6 @@ export declare const Item: z.ZodObject<{
415
417
  delivered_by_supplier?: number;
416
418
  sales_uom?: string;
417
419
  is_sales_item?: number;
418
- grant_commission?: number;
419
420
  max_discount?: number;
420
421
  enable_deferred_revenue?: number;
421
422
  no_of_months?: number;
@@ -431,54 +432,53 @@ export declare const Item: z.ZodObject<{
431
432
  total_projected_qty?: number;
432
433
  barcodes?: {
433
434
  name?: string;
434
- owner?: string;
435
435
  creation?: string;
436
436
  modified?: string;
437
437
  modified_by?: string;
438
- parent?: string;
439
- parentfield?: string;
440
- parenttype?: string;
441
438
  idx?: number;
442
439
  docstatus?: number;
443
440
  doctype?: string;
441
+ owner?: string;
442
+ parent?: string;
443
+ parentfield?: string;
444
+ parenttype?: string;
444
445
  barcode?: string;
445
446
  barcode_type?: string;
446
447
  }[];
447
448
  reorder_levels?: any[];
448
449
  uoms?: {
449
450
  name?: string;
450
- owner?: string;
451
451
  creation?: string;
452
452
  modified?: string;
453
453
  modified_by?: string;
454
- parent?: string;
455
- parentfield?: string;
456
- parenttype?: string;
457
454
  idx?: number;
458
455
  docstatus?: number;
459
456
  doctype?: string;
457
+ owner?: string;
458
+ parent?: string;
459
+ parentfield?: string;
460
+ parenttype?: string;
460
461
  uom?: string;
461
462
  conversion_factor?: number;
462
463
  }[];
463
464
  attributes?: any[];
464
465
  item_defaults?: {
465
466
  name?: string;
466
- owner?: string;
467
467
  creation?: string;
468
468
  modified?: string;
469
469
  modified_by?: string;
470
- parent?: string;
471
- parentfield?: string;
472
- parenttype?: string;
473
470
  idx?: number;
474
471
  docstatus?: number;
475
472
  doctype?: string;
473
+ owner?: string;
474
+ parent?: string;
475
+ parentfield?: string;
476
+ parenttype?: string;
476
477
  company?: string;
477
478
  default_warehouse?: string;
478
479
  }[];
479
480
  supplier_items?: any[];
480
481
  customer_items?: any[];
481
- taxes?: any[];
482
482
  }>;
483
483
  export type ItemType = z.infer<typeof Item>;
484
484
  export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<Omit<{
@@ -579,30 +579,30 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
579
579
  doctype: z.ZodString;
580
580
  }, "strip", z.ZodTypeAny, {
581
581
  name?: string;
582
- owner?: string;
583
582
  creation?: string;
584
583
  modified?: string;
585
584
  modified_by?: string;
586
- parent?: string;
587
- parentfield?: string;
588
- parenttype?: string;
589
585
  idx?: number;
590
586
  docstatus?: number;
591
587
  doctype?: string;
588
+ owner?: string;
589
+ parent?: string;
590
+ parentfield?: string;
591
+ parenttype?: string;
592
592
  barcode?: string;
593
593
  barcode_type?: string;
594
594
  }, {
595
595
  name?: string;
596
- owner?: string;
597
596
  creation?: string;
598
597
  modified?: string;
599
598
  modified_by?: string;
600
- parent?: string;
601
- parentfield?: string;
602
- parenttype?: string;
603
599
  idx?: number;
604
600
  docstatus?: number;
605
601
  doctype?: string;
602
+ owner?: string;
603
+ parent?: string;
604
+ parentfield?: string;
605
+ parenttype?: string;
606
606
  barcode?: string;
607
607
  barcode_type?: string;
608
608
  }>, "many">;
@@ -623,30 +623,30 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
623
623
  doctype: z.ZodString;
624
624
  }, "strip", z.ZodTypeAny, {
625
625
  name?: string;
626
- owner?: string;
627
626
  creation?: string;
628
627
  modified?: string;
629
628
  modified_by?: string;
630
- parent?: string;
631
- parentfield?: string;
632
- parenttype?: string;
633
629
  idx?: number;
634
630
  docstatus?: number;
635
631
  doctype?: string;
632
+ owner?: string;
633
+ parent?: string;
634
+ parentfield?: string;
635
+ parenttype?: string;
636
636
  uom?: string;
637
637
  conversion_factor?: number;
638
638
  }, {
639
639
  name?: string;
640
- owner?: string;
641
640
  creation?: string;
642
641
  modified?: string;
643
642
  modified_by?: string;
644
- parent?: string;
645
- parentfield?: string;
646
- parenttype?: string;
647
643
  idx?: number;
648
644
  docstatus?: number;
649
645
  doctype?: string;
646
+ owner?: string;
647
+ parent?: string;
648
+ parentfield?: string;
649
+ parenttype?: string;
650
650
  uom?: string;
651
651
  conversion_factor?: number;
652
652
  }>, "many">;
@@ -667,64 +667,64 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
667
667
  doctype: z.ZodString;
668
668
  }, "strip", z.ZodTypeAny, {
669
669
  name?: string;
670
- owner?: string;
671
670
  creation?: string;
672
671
  modified?: string;
673
672
  modified_by?: string;
674
- parent?: string;
675
- parentfield?: string;
676
- parenttype?: string;
677
673
  idx?: number;
678
674
  docstatus?: number;
679
675
  doctype?: string;
676
+ owner?: string;
677
+ parent?: string;
678
+ parentfield?: string;
679
+ parenttype?: string;
680
680
  company?: string;
681
681
  default_warehouse?: string;
682
682
  }, {
683
683
  name?: string;
684
- owner?: string;
685
684
  creation?: string;
686
685
  modified?: string;
687
686
  modified_by?: string;
688
- parent?: string;
689
- parentfield?: string;
690
- parenttype?: string;
691
687
  idx?: number;
692
688
  docstatus?: number;
693
689
  doctype?: string;
690
+ owner?: string;
691
+ parent?: string;
692
+ parentfield?: string;
693
+ parenttype?: string;
694
694
  company?: string;
695
695
  default_warehouse?: string;
696
696
  }>, "many">;
697
697
  supplier_items: z.ZodArray<z.ZodAny, "many">;
698
698
  customer_items: z.ZodArray<z.ZodAny, "many">;
699
699
  taxes: z.ZodArray<z.ZodAny, "many">;
700
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "warehouse_category" | "ean" | "item_code" | "item_name" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit" | "weight_per_unit" | "weight_uom">, "strip", z.ZodTypeAny, {
700
+ }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "item_code" | "item_name" | "weight_per_unit" | "weight_uom" | "warehouse_category" | "ean" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
701
701
  disabled?: number;
702
- warehouse_category?: string;
703
- ean?: string;
704
702
  item_code?: string;
705
703
  item_name?: string;
704
+ weight_per_unit?: number;
705
+ weight_uom?: "kg" | "g" | "mg";
706
+ warehouse_category?: string;
707
+ ean?: string;
706
708
  custom_is_shipping_enabled?: number;
707
709
  shipping_template?: string;
708
710
  shipping_width?: number;
709
711
  shipping_length?: number;
710
712
  shipping_height?: number;
711
713
  shipping_dimensions_unit?: "m" | "cm" | "mm";
712
- weight_per_unit?: number;
713
- weight_uom?: "kg" | "g" | "mg";
714
714
  }, {
715
715
  disabled?: number;
716
- warehouse_category?: string;
717
- ean?: string;
718
716
  item_code?: string;
719
717
  item_name?: string;
718
+ weight_per_unit?: number;
719
+ weight_uom?: "kg" | "g" | "mg";
720
+ warehouse_category?: string;
721
+ ean?: string;
720
722
  custom_is_shipping_enabled?: number;
721
723
  shipping_template?: string;
722
724
  shipping_width?: number;
723
725
  shipping_length?: number;
724
726
  shipping_height?: number;
725
727
  shipping_dimensions_unit?: "m" | "cm" | "mm";
726
- weight_per_unit?: number;
727
- weight_uom?: "kg" | "g" | "mg";
728
728
  }>, "many">;
729
729
  export type ItemListWithShippingTemplateType = z.infer<typeof ItemListWithShippingTemplate>;
730
730
  export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<Omit<{
@@ -825,30 +825,30 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
825
825
  doctype: z.ZodString;
826
826
  }, "strip", z.ZodTypeAny, {
827
827
  name?: string;
828
- owner?: string;
829
828
  creation?: string;
830
829
  modified?: string;
831
830
  modified_by?: string;
832
- parent?: string;
833
- parentfield?: string;
834
- parenttype?: string;
835
831
  idx?: number;
836
832
  docstatus?: number;
837
833
  doctype?: string;
834
+ owner?: string;
835
+ parent?: string;
836
+ parentfield?: string;
837
+ parenttype?: string;
838
838
  barcode?: string;
839
839
  barcode_type?: string;
840
840
  }, {
841
841
  name?: string;
842
- owner?: string;
843
842
  creation?: string;
844
843
  modified?: string;
845
844
  modified_by?: string;
846
- parent?: string;
847
- parentfield?: string;
848
- parenttype?: string;
849
845
  idx?: number;
850
846
  docstatus?: number;
851
847
  doctype?: string;
848
+ owner?: string;
849
+ parent?: string;
850
+ parentfield?: string;
851
+ parenttype?: string;
852
852
  barcode?: string;
853
853
  barcode_type?: string;
854
854
  }>, "many">;
@@ -869,30 +869,30 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
869
869
  doctype: z.ZodString;
870
870
  }, "strip", z.ZodTypeAny, {
871
871
  name?: string;
872
- owner?: string;
873
872
  creation?: string;
874
873
  modified?: string;
875
874
  modified_by?: string;
876
- parent?: string;
877
- parentfield?: string;
878
- parenttype?: string;
879
875
  idx?: number;
880
876
  docstatus?: number;
881
877
  doctype?: string;
878
+ owner?: string;
879
+ parent?: string;
880
+ parentfield?: string;
881
+ parenttype?: string;
882
882
  uom?: string;
883
883
  conversion_factor?: number;
884
884
  }, {
885
885
  name?: string;
886
- owner?: string;
887
886
  creation?: string;
888
887
  modified?: string;
889
888
  modified_by?: string;
890
- parent?: string;
891
- parentfield?: string;
892
- parenttype?: string;
893
889
  idx?: number;
894
890
  docstatus?: number;
895
891
  doctype?: string;
892
+ owner?: string;
893
+ parent?: string;
894
+ parentfield?: string;
895
+ parenttype?: string;
896
896
  uom?: string;
897
897
  conversion_factor?: number;
898
898
  }>, "many">;
@@ -913,65 +913,65 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
913
913
  doctype: z.ZodString;
914
914
  }, "strip", z.ZodTypeAny, {
915
915
  name?: string;
916
- owner?: string;
917
916
  creation?: string;
918
917
  modified?: string;
919
918
  modified_by?: string;
920
- parent?: string;
921
- parentfield?: string;
922
- parenttype?: string;
923
919
  idx?: number;
924
920
  docstatus?: number;
925
921
  doctype?: string;
922
+ owner?: string;
923
+ parent?: string;
924
+ parentfield?: string;
925
+ parenttype?: string;
926
926
  company?: string;
927
927
  default_warehouse?: string;
928
928
  }, {
929
929
  name?: string;
930
- owner?: string;
931
930
  creation?: string;
932
931
  modified?: string;
933
932
  modified_by?: string;
934
- parent?: string;
935
- parentfield?: string;
936
- parenttype?: string;
937
933
  idx?: number;
938
934
  docstatus?: number;
939
935
  doctype?: string;
936
+ owner?: string;
937
+ parent?: string;
938
+ parentfield?: string;
939
+ parenttype?: string;
940
940
  company?: string;
941
941
  default_warehouse?: string;
942
942
  }>, "many">;
943
943
  supplier_items: z.ZodArray<z.ZodAny, "many">;
944
944
  customer_items: z.ZodArray<z.ZodAny, "many">;
945
945
  taxes: z.ZodArray<z.ZodAny, "many">;
946
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "warehouse_category" | "ean" | "item_name" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit" | "weight_per_unit" | "weight_uom">, {
946
+ }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "item_name" | "weight_per_unit" | "weight_uom" | "warehouse_category" | "ean" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit">, {
947
947
  sku: z.ZodString;
948
948
  }>, "strip", z.ZodTypeAny, {
949
949
  disabled?: number;
950
+ item_name?: string;
951
+ weight_per_unit?: number;
952
+ weight_uom?: "kg" | "g" | "mg";
950
953
  warehouse_category?: string;
951
954
  ean?: string;
952
- item_name?: string;
953
955
  custom_is_shipping_enabled?: number;
954
956
  shipping_template?: string;
955
957
  shipping_width?: number;
956
958
  shipping_length?: number;
957
959
  shipping_height?: number;
958
960
  shipping_dimensions_unit?: "m" | "cm" | "mm";
959
- weight_per_unit?: number;
960
- weight_uom?: "kg" | "g" | "mg";
961
961
  sku?: string;
962
962
  }, {
963
963
  disabled?: number;
964
+ item_name?: string;
965
+ weight_per_unit?: number;
966
+ weight_uom?: "kg" | "g" | "mg";
964
967
  warehouse_category?: string;
965
968
  ean?: string;
966
- item_name?: string;
967
969
  custom_is_shipping_enabled?: number;
968
970
  shipping_template?: string;
969
971
  shipping_width?: number;
970
972
  shipping_length?: number;
971
973
  shipping_height?: number;
972
974
  shipping_dimensions_unit?: "m" | "cm" | "mm";
973
- weight_per_unit?: number;
974
- weight_uom?: "kg" | "g" | "mg";
975
975
  sku?: string;
976
976
  }>, "many">;
977
977
  export type ItemListWithShippingTemplateSkuType = z.infer<typeof ItemListWithShippingTemplateSku>;
@@ -1074,30 +1074,30 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1074
1074
  doctype: z.ZodString;
1075
1075
  }, "strip", z.ZodTypeAny, {
1076
1076
  name?: string;
1077
- owner?: string;
1078
1077
  creation?: string;
1079
1078
  modified?: string;
1080
1079
  modified_by?: string;
1081
- parent?: string;
1082
- parentfield?: string;
1083
- parenttype?: string;
1084
1080
  idx?: number;
1085
1081
  docstatus?: number;
1086
1082
  doctype?: string;
1083
+ owner?: string;
1084
+ parent?: string;
1085
+ parentfield?: string;
1086
+ parenttype?: string;
1087
1087
  barcode?: string;
1088
1088
  barcode_type?: string;
1089
1089
  }, {
1090
1090
  name?: string;
1091
- owner?: string;
1092
1091
  creation?: string;
1093
1092
  modified?: string;
1094
1093
  modified_by?: string;
1095
- parent?: string;
1096
- parentfield?: string;
1097
- parenttype?: string;
1098
1094
  idx?: number;
1099
1095
  docstatus?: number;
1100
1096
  doctype?: string;
1097
+ owner?: string;
1098
+ parent?: string;
1099
+ parentfield?: string;
1100
+ parenttype?: string;
1101
1101
  barcode?: string;
1102
1102
  barcode_type?: string;
1103
1103
  }>, "many">;
@@ -1118,30 +1118,30 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1118
1118
  doctype: z.ZodString;
1119
1119
  }, "strip", z.ZodTypeAny, {
1120
1120
  name?: string;
1121
- owner?: string;
1122
1121
  creation?: string;
1123
1122
  modified?: string;
1124
1123
  modified_by?: string;
1125
- parent?: string;
1126
- parentfield?: string;
1127
- parenttype?: string;
1128
1124
  idx?: number;
1129
1125
  docstatus?: number;
1130
1126
  doctype?: string;
1127
+ owner?: string;
1128
+ parent?: string;
1129
+ parentfield?: string;
1130
+ parenttype?: string;
1131
1131
  uom?: string;
1132
1132
  conversion_factor?: number;
1133
1133
  }, {
1134
1134
  name?: string;
1135
- owner?: string;
1136
1135
  creation?: string;
1137
1136
  modified?: string;
1138
1137
  modified_by?: string;
1139
- parent?: string;
1140
- parentfield?: string;
1141
- parenttype?: string;
1142
1138
  idx?: number;
1143
1139
  docstatus?: number;
1144
1140
  doctype?: string;
1141
+ owner?: string;
1142
+ parent?: string;
1143
+ parentfield?: string;
1144
+ parenttype?: string;
1145
1145
  uom?: string;
1146
1146
  conversion_factor?: number;
1147
1147
  }>, "many">;
@@ -1162,30 +1162,30 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1162
1162
  doctype: z.ZodString;
1163
1163
  }, "strip", z.ZodTypeAny, {
1164
1164
  name?: string;
1165
- owner?: string;
1166
1165
  creation?: string;
1167
1166
  modified?: string;
1168
1167
  modified_by?: string;
1169
- parent?: string;
1170
- parentfield?: string;
1171
- parenttype?: string;
1172
1168
  idx?: number;
1173
1169
  docstatus?: number;
1174
1170
  doctype?: string;
1171
+ owner?: string;
1172
+ parent?: string;
1173
+ parentfield?: string;
1174
+ parenttype?: string;
1175
1175
  company?: string;
1176
1176
  default_warehouse?: string;
1177
1177
  }, {
1178
1178
  name?: string;
1179
- owner?: string;
1180
1179
  creation?: string;
1181
1180
  modified?: string;
1182
1181
  modified_by?: string;
1183
- parent?: string;
1184
- parentfield?: string;
1185
- parenttype?: string;
1186
1182
  idx?: number;
1187
1183
  docstatus?: number;
1188
1184
  doctype?: string;
1185
+ owner?: string;
1186
+ parent?: string;
1187
+ parentfield?: string;
1188
+ parenttype?: string;
1189
1189
  company?: string;
1190
1190
  default_warehouse?: string;
1191
1191
  }>, "many">;
@@ -1302,30 +1302,30 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1302
1302
  doctype: z.ZodString;
1303
1303
  }, "strip", z.ZodTypeAny, {
1304
1304
  name?: string;
1305
- owner?: string;
1306
1305
  creation?: string;
1307
1306
  modified?: string;
1308
1307
  modified_by?: string;
1309
- parent?: string;
1310
- parentfield?: string;
1311
- parenttype?: string;
1312
1308
  idx?: number;
1313
1309
  docstatus?: number;
1314
1310
  doctype?: string;
1311
+ owner?: string;
1312
+ parent?: string;
1313
+ parentfield?: string;
1314
+ parenttype?: string;
1315
1315
  barcode?: string;
1316
1316
  barcode_type?: string;
1317
1317
  }, {
1318
1318
  name?: string;
1319
- owner?: string;
1320
1319
  creation?: string;
1321
1320
  modified?: string;
1322
1321
  modified_by?: string;
1323
- parent?: string;
1324
- parentfield?: string;
1325
- parenttype?: string;
1326
1322
  idx?: number;
1327
1323
  docstatus?: number;
1328
1324
  doctype?: string;
1325
+ owner?: string;
1326
+ parent?: string;
1327
+ parentfield?: string;
1328
+ parenttype?: string;
1329
1329
  barcode?: string;
1330
1330
  barcode_type?: string;
1331
1331
  }>, "many">;
@@ -1346,30 +1346,30 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1346
1346
  doctype: z.ZodString;
1347
1347
  }, "strip", z.ZodTypeAny, {
1348
1348
  name?: string;
1349
- owner?: string;
1350
1349
  creation?: string;
1351
1350
  modified?: string;
1352
1351
  modified_by?: string;
1353
- parent?: string;
1354
- parentfield?: string;
1355
- parenttype?: string;
1356
1352
  idx?: number;
1357
1353
  docstatus?: number;
1358
1354
  doctype?: string;
1355
+ owner?: string;
1356
+ parent?: string;
1357
+ parentfield?: string;
1358
+ parenttype?: string;
1359
1359
  uom?: string;
1360
1360
  conversion_factor?: number;
1361
1361
  }, {
1362
1362
  name?: string;
1363
- owner?: string;
1364
1363
  creation?: string;
1365
1364
  modified?: string;
1366
1365
  modified_by?: string;
1367
- parent?: string;
1368
- parentfield?: string;
1369
- parenttype?: string;
1370
1366
  idx?: number;
1371
1367
  docstatus?: number;
1372
1368
  doctype?: string;
1369
+ owner?: string;
1370
+ parent?: string;
1371
+ parentfield?: string;
1372
+ parenttype?: string;
1373
1373
  uom?: string;
1374
1374
  conversion_factor?: number;
1375
1375
  }>, "many">;
@@ -1390,30 +1390,30 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1390
1390
  doctype: z.ZodString;
1391
1391
  }, "strip", z.ZodTypeAny, {
1392
1392
  name?: string;
1393
- owner?: string;
1394
1393
  creation?: string;
1395
1394
  modified?: string;
1396
1395
  modified_by?: string;
1397
- parent?: string;
1398
- parentfield?: string;
1399
- parenttype?: string;
1400
1396
  idx?: number;
1401
1397
  docstatus?: number;
1402
1398
  doctype?: string;
1399
+ owner?: string;
1400
+ parent?: string;
1401
+ parentfield?: string;
1402
+ parenttype?: string;
1403
1403
  company?: string;
1404
1404
  default_warehouse?: string;
1405
1405
  }, {
1406
1406
  name?: string;
1407
- owner?: string;
1408
1407
  creation?: string;
1409
1408
  modified?: string;
1410
1409
  modified_by?: string;
1411
- parent?: string;
1412
- parentfield?: string;
1413
- parenttype?: string;
1414
1410
  idx?: number;
1415
1411
  docstatus?: number;
1416
1412
  doctype?: string;
1413
+ owner?: string;
1414
+ parent?: string;
1415
+ parentfield?: string;
1416
+ parenttype?: string;
1417
1417
  company?: string;
1418
1418
  default_warehouse?: string;
1419
1419
  }>, "many">;
@@ -1524,30 +1524,30 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1524
1524
  doctype: z.ZodString;
1525
1525
  }, "strip", z.ZodTypeAny, {
1526
1526
  name?: string;
1527
- owner?: string;
1528
1527
  creation?: string;
1529
1528
  modified?: string;
1530
1529
  modified_by?: string;
1531
- parent?: string;
1532
- parentfield?: string;
1533
- parenttype?: string;
1534
1530
  idx?: number;
1535
1531
  docstatus?: number;
1536
1532
  doctype?: string;
1533
+ owner?: string;
1534
+ parent?: string;
1535
+ parentfield?: string;
1536
+ parenttype?: string;
1537
1537
  barcode?: string;
1538
1538
  barcode_type?: string;
1539
1539
  }, {
1540
1540
  name?: string;
1541
- owner?: string;
1542
1541
  creation?: string;
1543
1542
  modified?: string;
1544
1543
  modified_by?: string;
1545
- parent?: string;
1546
- parentfield?: string;
1547
- parenttype?: string;
1548
1544
  idx?: number;
1549
1545
  docstatus?: number;
1550
1546
  doctype?: string;
1547
+ owner?: string;
1548
+ parent?: string;
1549
+ parentfield?: string;
1550
+ parenttype?: string;
1551
1551
  barcode?: string;
1552
1552
  barcode_type?: string;
1553
1553
  }>, "many">;
@@ -1568,30 +1568,30 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1568
1568
  doctype: z.ZodString;
1569
1569
  }, "strip", z.ZodTypeAny, {
1570
1570
  name?: string;
1571
- owner?: string;
1572
1571
  creation?: string;
1573
1572
  modified?: string;
1574
1573
  modified_by?: string;
1575
- parent?: string;
1576
- parentfield?: string;
1577
- parenttype?: string;
1578
1574
  idx?: number;
1579
1575
  docstatus?: number;
1580
1576
  doctype?: string;
1577
+ owner?: string;
1578
+ parent?: string;
1579
+ parentfield?: string;
1580
+ parenttype?: string;
1581
1581
  uom?: string;
1582
1582
  conversion_factor?: number;
1583
1583
  }, {
1584
1584
  name?: string;
1585
- owner?: string;
1586
1585
  creation?: string;
1587
1586
  modified?: string;
1588
1587
  modified_by?: string;
1589
- parent?: string;
1590
- parentfield?: string;
1591
- parenttype?: string;
1592
1588
  idx?: number;
1593
1589
  docstatus?: number;
1594
1590
  doctype?: string;
1591
+ owner?: string;
1592
+ parent?: string;
1593
+ parentfield?: string;
1594
+ parenttype?: string;
1595
1595
  uom?: string;
1596
1596
  conversion_factor?: number;
1597
1597
  }>, "many">;
@@ -1612,30 +1612,30 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1612
1612
  doctype: z.ZodString;
1613
1613
  }, "strip", z.ZodTypeAny, {
1614
1614
  name?: string;
1615
- owner?: string;
1616
1615
  creation?: string;
1617
1616
  modified?: string;
1618
1617
  modified_by?: string;
1619
- parent?: string;
1620
- parentfield?: string;
1621
- parenttype?: string;
1622
1618
  idx?: number;
1623
1619
  docstatus?: number;
1624
1620
  doctype?: string;
1621
+ owner?: string;
1622
+ parent?: string;
1623
+ parentfield?: string;
1624
+ parenttype?: string;
1625
1625
  company?: string;
1626
1626
  default_warehouse?: string;
1627
1627
  }, {
1628
1628
  name?: string;
1629
- owner?: string;
1630
1629
  creation?: string;
1631
1630
  modified?: string;
1632
1631
  modified_by?: string;
1633
- parent?: string;
1634
- parentfield?: string;
1635
- parenttype?: string;
1636
1632
  idx?: number;
1637
1633
  docstatus?: number;
1638
1634
  doctype?: string;
1635
+ owner?: string;
1636
+ parent?: string;
1637
+ parentfield?: string;
1638
+ parenttype?: string;
1639
1639
  company?: string;
1640
1640
  default_warehouse?: string;
1641
1641
  }>, "many">;