erpnext-queue-client 1.0.6 → 1.1.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 (76) hide show
  1. package/dist/client.js +41 -16
  2. package/dist/erpnext/decryptFromErpNext.server.d.ts +1 -1
  3. package/dist/erpnext/doctypeResourceRequest.d.ts +38 -0
  4. package/dist/erpnext/doctypeResourceRequest.js +59 -0
  5. package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +8 -0
  6. package/dist/erpnext/doctypeSubmittableResourceRequest.js +39 -0
  7. package/dist/erpnext/doctypes/address.d.ts +263 -0
  8. package/dist/erpnext/doctypes/address.js +46 -0
  9. package/dist/erpnext/doctypes/contact.d.ts +383 -0
  10. package/dist/erpnext/doctypes/contact.js +46 -0
  11. package/dist/erpnext/doctypes/deliveryNote.d.ts +985 -0
  12. package/dist/erpnext/doctypes/deliveryNote.js +38 -0
  13. package/dist/erpnext/doctypes/item.d.ts +572 -0
  14. package/dist/erpnext/doctypes/item.js +95 -0
  15. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +743 -0
  16. package/dist/erpnext/doctypes/purchaseReceipt.js +50 -0
  17. package/dist/erpnext/doctypes/shipment.d.ts +752 -0
  18. package/dist/erpnext/doctypes/shipment.js +51 -0
  19. package/dist/erpnext/erpnextRequestWrapper.js +15 -13
  20. package/dist/erpnext/fileRequests.d.ts +10 -0
  21. package/dist/erpnext/fileRequests.js +42 -0
  22. package/dist/erpnext/methodRequest.d.ts +15 -0
  23. package/dist/erpnext/methodRequest.js +32 -0
  24. package/dist/erpnext/model/Address.d.ts +200 -198
  25. package/dist/erpnext/model/Address.js +3 -2
  26. package/dist/erpnext/model/Contact.d.ts +343 -344
  27. package/dist/erpnext/model/Contact.js +2 -2
  28. package/dist/erpnext/model/Country.d.ts +83 -31
  29. package/dist/erpnext/model/Country.js +2 -6
  30. package/dist/erpnext/model/Customer.d.ts +64 -65
  31. package/dist/erpnext/model/Customer.js +2 -2
  32. package/dist/erpnext/model/DeliveryNote.d.ts +1048 -1048
  33. package/dist/erpnext/model/DispatchRun.d.ts +399 -399
  34. package/dist/erpnext/model/DispatcherPreset.d.ts +94 -94
  35. package/dist/erpnext/model/ERPNextRequest.d.ts +47 -30
  36. package/dist/erpnext/model/ERPNextResponse.d.ts +4 -4
  37. package/dist/erpnext/model/File.d.ts +88 -88
  38. package/dist/erpnext/model/Fulfiller.d.ts +97 -97
  39. package/dist/erpnext/model/FulfillerSettings.d.ts +66 -66
  40. package/dist/erpnext/model/FulfillmentStation.d.ts +2 -2
  41. package/dist/erpnext/model/Item.d.ts +819 -819
  42. package/dist/erpnext/model/Item.js +2 -2
  43. package/dist/erpnext/model/PaymentEntry.d.ts +197 -0
  44. package/dist/erpnext/model/PaymentEntry.js +63 -0
  45. package/dist/erpnext/model/ProjectedQuantityReport.d.ts +178 -178
  46. package/dist/erpnext/model/PurchaseOrder.d.ts +528 -528
  47. package/dist/erpnext/model/Receipt.d.ts +448 -448
  48. package/dist/erpnext/model/Receipt.js +2 -2
  49. package/dist/erpnext/model/ReceiptDraft.d.ts +392 -392
  50. package/dist/erpnext/model/Shipment.d.ts +709 -709
  51. package/dist/erpnext/model/ShippingProvider.d.ts +198 -198
  52. package/dist/erpnext/model/StockEntry.d.ts +248 -0
  53. package/dist/erpnext/model/StockEntry.js +76 -0
  54. package/dist/erpnext/model/StockReconciliation.d.ts +187 -0
  55. package/dist/erpnext/model/StockReconciliation.js +44 -0
  56. package/dist/erpnext/model/Supplier.d.ts +105 -0
  57. package/dist/erpnext/model/Supplier.js +39 -0
  58. package/dist/erpnext/model/Waitlist.d.ts +32 -0
  59. package/dist/erpnext/model/Waitlist.js +19 -0
  60. package/dist/erpnext/model/WarehouseCategory.d.ts +6 -6
  61. package/dist/erpnext/resourceRequest.d.ts +39 -10
  62. package/dist/erpnext/resourceRequest.js +115 -14
  63. package/dist/index.d.ts +39 -4
  64. package/dist/index.js +43 -8
  65. package/dist/utils/fernet.server.d.ts +11 -11
  66. package/dist/utils/fernet.server.js +0 -1
  67. package/dist/utils/request.js +2 -2
  68. package/dist/utils/zodUtils.d.ts +2 -1
  69. package/dist/utils/zodUtils.js +14 -1
  70. package/package.json +4 -1
  71. package/dist/erpnext/doctypes/country.d.ts +0 -9
  72. package/dist/erpnext/doctypes/country.js +0 -28
  73. package/dist/erpnext/erpnextRequests.d.ts +0 -1
  74. package/dist/erpnext/erpnextRequests.js +0 -15
  75. package/dist/erpnext.d.ts +0 -20
  76. package/dist/erpnext.js +0 -45
@@ -96,33 +96,33 @@ export declare const Item: z.ZodObject<{
96
96
  barcode_type: z.ZodString;
97
97
  doctype: z.ZodString;
98
98
  }, "strip", z.ZodTypeAny, {
99
- name?: string;
100
- creation?: string;
101
- modified?: string;
102
- modified_by?: string;
103
- idx?: number;
104
- docstatus?: number;
105
- doctype?: string;
106
- owner?: string;
107
- parent?: string;
108
- parentfield?: string;
109
- parenttype?: string;
110
- barcode?: string;
111
- barcode_type?: string;
99
+ name: string;
100
+ owner: string;
101
+ creation: string;
102
+ modified: string;
103
+ modified_by: string;
104
+ parent: string;
105
+ parentfield: string;
106
+ parenttype: string;
107
+ idx: number;
108
+ docstatus: number;
109
+ doctype: string;
110
+ barcode: string;
111
+ barcode_type: string;
112
112
  }, {
113
- name?: string;
114
- creation?: string;
115
- modified?: string;
116
- modified_by?: string;
117
- idx?: number;
118
- docstatus?: number;
119
- doctype?: string;
120
- owner?: string;
121
- parent?: string;
122
- parentfield?: string;
123
- parenttype?: string;
124
- barcode?: string;
125
- barcode_type?: string;
113
+ name: string;
114
+ owner: string;
115
+ creation: string;
116
+ modified: string;
117
+ modified_by: string;
118
+ parent: string;
119
+ parentfield: string;
120
+ parenttype: string;
121
+ idx: number;
122
+ docstatus: number;
123
+ doctype: string;
124
+ barcode: string;
125
+ barcode_type: string;
126
126
  }>, "many">;
127
127
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
128
128
  uoms: z.ZodArray<z.ZodObject<{
@@ -140,33 +140,33 @@ export declare const Item: z.ZodObject<{
140
140
  conversion_factor: z.ZodNumber;
141
141
  doctype: z.ZodString;
142
142
  }, "strip", z.ZodTypeAny, {
143
- name?: string;
144
- creation?: string;
145
- modified?: string;
146
- modified_by?: string;
147
- idx?: number;
148
- docstatus?: number;
149
- doctype?: string;
150
- owner?: string;
151
- parent?: string;
152
- parentfield?: string;
153
- parenttype?: string;
154
- uom?: string;
155
- conversion_factor?: number;
143
+ name: string;
144
+ owner: string;
145
+ creation: string;
146
+ modified: string;
147
+ modified_by: string;
148
+ parent: string;
149
+ parentfield: string;
150
+ parenttype: string;
151
+ idx: number;
152
+ docstatus: number;
153
+ doctype: string;
154
+ uom: string;
155
+ conversion_factor: number;
156
156
  }, {
157
- name?: string;
158
- creation?: string;
159
- modified?: string;
160
- modified_by?: string;
161
- idx?: number;
162
- docstatus?: number;
163
- doctype?: string;
164
- owner?: string;
165
- parent?: string;
166
- parentfield?: string;
167
- parenttype?: string;
168
- uom?: string;
169
- conversion_factor?: number;
157
+ name: string;
158
+ owner: string;
159
+ creation: string;
160
+ modified: string;
161
+ modified_by: string;
162
+ parent: string;
163
+ parentfield: string;
164
+ parenttype: string;
165
+ idx: number;
166
+ docstatus: number;
167
+ doctype: string;
168
+ uom: string;
169
+ conversion_factor: number;
170
170
  }>, "many">;
171
171
  attributes: z.ZodArray<z.ZodAny, "many">;
172
172
  item_defaults: z.ZodArray<z.ZodObject<{
@@ -184,301 +184,301 @@ export declare const Item: z.ZodObject<{
184
184
  default_warehouse: z.ZodString;
185
185
  doctype: z.ZodString;
186
186
  }, "strip", z.ZodTypeAny, {
187
- name?: string;
188
- creation?: string;
189
- modified?: string;
190
- modified_by?: string;
191
- idx?: number;
192
- docstatus?: number;
193
- doctype?: string;
194
- owner?: string;
195
- parent?: string;
196
- parentfield?: string;
197
- parenttype?: string;
198
- company?: string;
199
- default_warehouse?: string;
187
+ name: string;
188
+ owner: string;
189
+ creation: string;
190
+ modified: string;
191
+ modified_by: string;
192
+ parent: string;
193
+ parentfield: string;
194
+ parenttype: string;
195
+ idx: number;
196
+ docstatus: number;
197
+ doctype: string;
198
+ company: string;
199
+ default_warehouse: string;
200
200
  }, {
201
- name?: string;
202
- creation?: string;
203
- modified?: string;
204
- modified_by?: string;
205
- idx?: number;
206
- docstatus?: number;
207
- doctype?: string;
208
- owner?: string;
209
- parent?: string;
210
- parentfield?: string;
211
- parenttype?: string;
212
- company?: string;
213
- default_warehouse?: string;
201
+ name: string;
202
+ owner: string;
203
+ creation: string;
204
+ modified: string;
205
+ modified_by: string;
206
+ parent: string;
207
+ parentfield: string;
208
+ parenttype: string;
209
+ idx: number;
210
+ docstatus: number;
211
+ doctype: string;
212
+ company: string;
213
+ default_warehouse: string;
214
214
  }>, "many">;
215
215
  supplier_items: z.ZodArray<z.ZodAny, "many">;
216
216
  customer_items: z.ZodArray<z.ZodAny, "many">;
217
217
  taxes: z.ZodArray<z.ZodAny, "many">;
218
218
  }, "strip", z.ZodTypeAny, {
219
- name?: string;
220
- creation?: string;
221
- modified?: string;
222
- modified_by?: string;
223
- idx?: number;
224
- docstatus?: number;
225
- doctype?: string;
226
- owner?: string;
227
- disabled?: number;
228
- naming_series?: string;
229
- item_code?: string;
230
- item_name?: string;
231
- description?: string;
232
- item_group?: string;
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;
242
- sync_from_warehouse?: number;
243
- allow_alternative_item?: number;
244
- is_stock_item?: number;
245
- include_item_in_manufacturing?: number;
246
- opening_stock?: number;
247
- valuation_rate?: number;
248
- standard_rate?: number;
249
- is_fixed_asset?: number;
250
- auto_create_assets?: number;
251
- over_delivery_receipt_allowance?: number;
252
- over_billing_allowance?: number;
253
- custom_is_shipping_enabled?: number;
254
- shipping_template?: string;
255
- shipping_width?: number;
256
- shipping_length?: number;
257
- shipping_height?: number;
258
- shipping_dimensions_unit?: "m" | "cm" | "mm";
259
- packaging_weight_cardboard?: number;
260
- packaging_weight_unit_cardboard?: "kg" | "g" | "mg";
261
- packaging_weight_plastic?: number;
262
- packaging_weight_unit_plastic?: "kg" | "g" | "mg";
263
- woocommerce?: number;
264
- amazon?: number;
265
- shelf_life_in_days?: number;
266
- end_of_life?: string;
267
- default_material_request_type?: string;
268
- valuation_method?: string;
269
- product_weight?: number;
270
- product_weight_unit?: "kg" | "g" | "mg";
271
- has_batch_no?: number;
272
- create_new_batch?: number;
273
- has_expiry_date?: number;
274
- retain_sample?: number;
275
- sample_quantity?: number;
276
- has_serial_no?: number;
277
- has_variants?: number;
278
- variant_based_on?: string;
279
- is_purchase_item?: number;
280
- min_order_qty?: number;
281
- safety_stock?: number;
282
- lead_time_days?: number;
283
- last_purchase_rate?: number;
284
- is_customer_provided_item?: number;
285
- delivered_by_supplier?: number;
286
- sales_uom?: string;
287
- is_sales_item?: number;
288
- max_discount?: number;
289
- enable_deferred_revenue?: number;
290
- no_of_months?: number;
291
- enable_deferred_expense?: number;
292
- no_of_months_exp?: number;
293
- inspection_required_before_purchase?: number;
294
- inspection_required_before_delivery?: number;
295
- is_sub_contracted_item?: number;
296
- customer_code?: string;
297
- publish_in_hub?: number;
298
- synced_with_hub?: number;
299
- published_in_website?: number;
300
- total_projected_qty?: number;
301
- barcodes?: {
302
- name?: string;
303
- creation?: string;
304
- modified?: string;
305
- modified_by?: string;
306
- idx?: number;
307
- docstatus?: number;
308
- doctype?: string;
309
- owner?: string;
310
- parent?: string;
311
- parentfield?: string;
312
- parenttype?: string;
313
- barcode?: string;
314
- barcode_type?: string;
219
+ description: string;
220
+ name: string;
221
+ owner: string;
222
+ creation: string;
223
+ modified: string;
224
+ modified_by: string;
225
+ idx: number;
226
+ docstatus: number;
227
+ doctype: string;
228
+ disabled: number;
229
+ item_code: string;
230
+ item_name: string;
231
+ item_group: string;
232
+ stock_uom: string;
233
+ grant_commission: number;
234
+ weight_per_unit: number;
235
+ weight_uom: "kg" | "g" | "mg";
236
+ naming_series: string;
237
+ taxes: any[];
238
+ override_base_name: number;
239
+ is_item_from_hub: number;
240
+ sync_from_warehouse: number;
241
+ allow_alternative_item: number;
242
+ is_stock_item: number;
243
+ include_item_in_manufacturing: number;
244
+ opening_stock: number;
245
+ valuation_rate: number;
246
+ standard_rate: number;
247
+ is_fixed_asset: number;
248
+ auto_create_assets: number;
249
+ over_delivery_receipt_allowance: number;
250
+ over_billing_allowance: number;
251
+ custom_is_shipping_enabled: number;
252
+ shipping_dimensions_unit: "m" | "cm" | "mm";
253
+ packaging_weight_unit_cardboard: "kg" | "g" | "mg";
254
+ packaging_weight_unit_plastic: "kg" | "g" | "mg";
255
+ woocommerce: number;
256
+ amazon: number;
257
+ shelf_life_in_days: number;
258
+ end_of_life: string;
259
+ default_material_request_type: string;
260
+ valuation_method: string;
261
+ product_weight: number;
262
+ product_weight_unit: "kg" | "g" | "mg";
263
+ has_batch_no: number;
264
+ create_new_batch: number;
265
+ has_expiry_date: number;
266
+ retain_sample: number;
267
+ sample_quantity: number;
268
+ has_serial_no: number;
269
+ has_variants: number;
270
+ variant_based_on: string;
271
+ is_purchase_item: number;
272
+ min_order_qty: number;
273
+ safety_stock: number;
274
+ lead_time_days: number;
275
+ last_purchase_rate: number;
276
+ is_customer_provided_item: number;
277
+ delivered_by_supplier: number;
278
+ sales_uom: string;
279
+ is_sales_item: number;
280
+ max_discount: number;
281
+ enable_deferred_revenue: number;
282
+ no_of_months: number;
283
+ enable_deferred_expense: number;
284
+ no_of_months_exp: number;
285
+ inspection_required_before_purchase: number;
286
+ inspection_required_before_delivery: number;
287
+ is_sub_contracted_item: number;
288
+ customer_code: string;
289
+ publish_in_hub: number;
290
+ synced_with_hub: number;
291
+ published_in_website: number;
292
+ total_projected_qty: number;
293
+ barcodes: {
294
+ name: string;
295
+ owner: string;
296
+ creation: string;
297
+ modified: string;
298
+ modified_by: string;
299
+ parent: string;
300
+ parentfield: string;
301
+ parenttype: string;
302
+ idx: number;
303
+ docstatus: number;
304
+ doctype: string;
305
+ barcode: string;
306
+ barcode_type: string;
315
307
  }[];
316
- reorder_levels?: any[];
317
- uoms?: {
318
- name?: string;
319
- creation?: string;
320
- modified?: string;
321
- modified_by?: string;
322
- idx?: number;
323
- docstatus?: number;
324
- doctype?: string;
325
- owner?: string;
326
- parent?: string;
327
- parentfield?: string;
328
- parenttype?: string;
329
- uom?: string;
330
- conversion_factor?: number;
308
+ reorder_levels: any[];
309
+ uoms: {
310
+ name: string;
311
+ owner: string;
312
+ creation: string;
313
+ modified: string;
314
+ modified_by: string;
315
+ parent: string;
316
+ parentfield: string;
317
+ parenttype: string;
318
+ idx: number;
319
+ docstatus: number;
320
+ doctype: string;
321
+ uom: string;
322
+ conversion_factor: number;
331
323
  }[];
332
- attributes?: any[];
333
- item_defaults?: {
334
- name?: string;
335
- creation?: string;
336
- modified?: string;
337
- modified_by?: string;
338
- idx?: number;
339
- docstatus?: number;
340
- doctype?: string;
341
- owner?: string;
342
- parent?: string;
343
- parentfield?: string;
344
- parenttype?: string;
345
- company?: string;
346
- default_warehouse?: string;
324
+ attributes: any[];
325
+ item_defaults: {
326
+ name: string;
327
+ owner: string;
328
+ creation: string;
329
+ modified: string;
330
+ modified_by: string;
331
+ parent: string;
332
+ parentfield: string;
333
+ parenttype: string;
334
+ idx: number;
335
+ docstatus: number;
336
+ doctype: string;
337
+ company: string;
338
+ default_warehouse: string;
347
339
  }[];
348
- supplier_items?: any[];
349
- customer_items?: any[];
340
+ supplier_items: any[];
341
+ customer_items: any[];
342
+ warehouse_category?: string | null | undefined;
343
+ ean?: string | null | undefined;
344
+ shipping_template?: string | null | undefined;
345
+ shipping_width?: number | null | undefined;
346
+ shipping_length?: number | null | undefined;
347
+ shipping_height?: number | null | undefined;
348
+ packaging_weight_cardboard?: number | null | undefined;
349
+ packaging_weight_plastic?: number | null | undefined;
350
350
  }, {
351
- name?: string;
352
- creation?: string;
353
- modified?: string;
354
- modified_by?: string;
355
- idx?: number;
356
- docstatus?: number;
357
- doctype?: string;
358
- owner?: string;
359
- disabled?: number;
360
- naming_series?: string;
361
- item_code?: string;
362
- item_name?: string;
363
- description?: string;
364
- item_group?: string;
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;
374
- sync_from_warehouse?: number;
375
- allow_alternative_item?: number;
376
- is_stock_item?: number;
377
- include_item_in_manufacturing?: number;
378
- opening_stock?: number;
379
- valuation_rate?: number;
380
- standard_rate?: number;
381
- is_fixed_asset?: number;
382
- auto_create_assets?: number;
383
- over_delivery_receipt_allowance?: number;
384
- over_billing_allowance?: number;
385
- custom_is_shipping_enabled?: number;
386
- shipping_template?: string;
387
- shipping_width?: number;
388
- shipping_length?: number;
389
- shipping_height?: number;
390
- shipping_dimensions_unit?: "m" | "cm" | "mm";
391
- packaging_weight_cardboard?: number;
392
- packaging_weight_unit_cardboard?: "kg" | "g" | "mg";
393
- packaging_weight_plastic?: number;
394
- packaging_weight_unit_plastic?: "kg" | "g" | "mg";
395
- woocommerce?: number;
396
- amazon?: number;
397
- shelf_life_in_days?: number;
398
- end_of_life?: string;
399
- default_material_request_type?: string;
400
- valuation_method?: string;
401
- product_weight?: number;
402
- product_weight_unit?: "kg" | "g" | "mg";
403
- has_batch_no?: number;
404
- create_new_batch?: number;
405
- has_expiry_date?: number;
406
- retain_sample?: number;
407
- sample_quantity?: number;
408
- has_serial_no?: number;
409
- has_variants?: number;
410
- variant_based_on?: string;
411
- is_purchase_item?: number;
412
- min_order_qty?: number;
413
- safety_stock?: number;
414
- lead_time_days?: number;
415
- last_purchase_rate?: number;
416
- is_customer_provided_item?: number;
417
- delivered_by_supplier?: number;
418
- sales_uom?: string;
419
- is_sales_item?: number;
420
- max_discount?: number;
421
- enable_deferred_revenue?: number;
422
- no_of_months?: number;
423
- enable_deferred_expense?: number;
424
- no_of_months_exp?: number;
425
- inspection_required_before_purchase?: number;
426
- inspection_required_before_delivery?: number;
427
- is_sub_contracted_item?: number;
428
- customer_code?: string;
429
- publish_in_hub?: number;
430
- synced_with_hub?: number;
431
- published_in_website?: number;
432
- total_projected_qty?: number;
433
- barcodes?: {
434
- name?: string;
435
- creation?: string;
436
- modified?: string;
437
- modified_by?: string;
438
- idx?: number;
439
- docstatus?: number;
440
- doctype?: string;
441
- owner?: string;
442
- parent?: string;
443
- parentfield?: string;
444
- parenttype?: string;
445
- barcode?: string;
446
- barcode_type?: string;
351
+ description: string;
352
+ name: string;
353
+ owner: string;
354
+ creation: string;
355
+ modified: string;
356
+ modified_by: string;
357
+ idx: number;
358
+ docstatus: number;
359
+ doctype: string;
360
+ disabled: number;
361
+ item_code: string;
362
+ item_name: string;
363
+ item_group: string;
364
+ stock_uom: string;
365
+ grant_commission: number;
366
+ weight_per_unit: number;
367
+ weight_uom: "kg" | "g" | "mg";
368
+ naming_series: string;
369
+ taxes: any[];
370
+ override_base_name: number;
371
+ is_item_from_hub: number;
372
+ sync_from_warehouse: number;
373
+ allow_alternative_item: number;
374
+ is_stock_item: number;
375
+ include_item_in_manufacturing: number;
376
+ opening_stock: number;
377
+ valuation_rate: number;
378
+ standard_rate: number;
379
+ is_fixed_asset: number;
380
+ auto_create_assets: number;
381
+ over_delivery_receipt_allowance: number;
382
+ over_billing_allowance: number;
383
+ custom_is_shipping_enabled: number;
384
+ shipping_dimensions_unit: "m" | "cm" | "mm";
385
+ packaging_weight_unit_cardboard: "kg" | "g" | "mg";
386
+ packaging_weight_unit_plastic: "kg" | "g" | "mg";
387
+ woocommerce: number;
388
+ amazon: number;
389
+ shelf_life_in_days: number;
390
+ end_of_life: string;
391
+ default_material_request_type: string;
392
+ valuation_method: string;
393
+ product_weight: number;
394
+ product_weight_unit: "kg" | "g" | "mg";
395
+ has_batch_no: number;
396
+ create_new_batch: number;
397
+ has_expiry_date: number;
398
+ retain_sample: number;
399
+ sample_quantity: number;
400
+ has_serial_no: number;
401
+ has_variants: number;
402
+ variant_based_on: string;
403
+ is_purchase_item: number;
404
+ min_order_qty: number;
405
+ safety_stock: number;
406
+ lead_time_days: number;
407
+ last_purchase_rate: number;
408
+ is_customer_provided_item: number;
409
+ delivered_by_supplier: number;
410
+ sales_uom: string;
411
+ is_sales_item: number;
412
+ max_discount: number;
413
+ enable_deferred_revenue: number;
414
+ no_of_months: number;
415
+ enable_deferred_expense: number;
416
+ no_of_months_exp: number;
417
+ inspection_required_before_purchase: number;
418
+ inspection_required_before_delivery: number;
419
+ is_sub_contracted_item: number;
420
+ customer_code: string;
421
+ publish_in_hub: number;
422
+ synced_with_hub: number;
423
+ published_in_website: number;
424
+ total_projected_qty: number;
425
+ barcodes: {
426
+ name: string;
427
+ owner: string;
428
+ creation: string;
429
+ modified: string;
430
+ modified_by: string;
431
+ parent: string;
432
+ parentfield: string;
433
+ parenttype: string;
434
+ idx: number;
435
+ docstatus: number;
436
+ doctype: string;
437
+ barcode: string;
438
+ barcode_type: string;
447
439
  }[];
448
- reorder_levels?: any[];
449
- uoms?: {
450
- name?: string;
451
- creation?: string;
452
- modified?: string;
453
- modified_by?: string;
454
- idx?: number;
455
- docstatus?: number;
456
- doctype?: string;
457
- owner?: string;
458
- parent?: string;
459
- parentfield?: string;
460
- parenttype?: string;
461
- uom?: string;
462
- conversion_factor?: number;
440
+ reorder_levels: any[];
441
+ uoms: {
442
+ name: string;
443
+ owner: string;
444
+ creation: string;
445
+ modified: string;
446
+ modified_by: string;
447
+ parent: string;
448
+ parentfield: string;
449
+ parenttype: string;
450
+ idx: number;
451
+ docstatus: number;
452
+ doctype: string;
453
+ uom: string;
454
+ conversion_factor: number;
463
455
  }[];
464
- attributes?: any[];
465
- item_defaults?: {
466
- name?: string;
467
- creation?: string;
468
- modified?: string;
469
- modified_by?: string;
470
- idx?: number;
471
- docstatus?: number;
472
- doctype?: string;
473
- owner?: string;
474
- parent?: string;
475
- parentfield?: string;
476
- parenttype?: string;
477
- company?: string;
478
- default_warehouse?: string;
456
+ attributes: any[];
457
+ item_defaults: {
458
+ name: string;
459
+ owner: string;
460
+ creation: string;
461
+ modified: string;
462
+ modified_by: string;
463
+ parent: string;
464
+ parentfield: string;
465
+ parenttype: string;
466
+ idx: number;
467
+ docstatus: number;
468
+ doctype: string;
469
+ company: string;
470
+ default_warehouse: string;
479
471
  }[];
480
- supplier_items?: any[];
481
- customer_items?: any[];
472
+ supplier_items: any[];
473
+ customer_items: any[];
474
+ warehouse_category?: string | null | undefined;
475
+ ean?: string | null | undefined;
476
+ shipping_template?: string | null | undefined;
477
+ shipping_width?: number | null | undefined;
478
+ shipping_length?: number | null | undefined;
479
+ shipping_height?: number | null | undefined;
480
+ packaging_weight_cardboard?: number | null | undefined;
481
+ packaging_weight_plastic?: number | null | undefined;
482
482
  }>;
483
483
  export type ItemType = z.infer<typeof Item>;
484
484
  export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<Omit<{
@@ -578,33 +578,33 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
578
578
  barcode_type: z.ZodString;
579
579
  doctype: z.ZodString;
580
580
  }, "strip", z.ZodTypeAny, {
581
- name?: string;
582
- creation?: string;
583
- modified?: string;
584
- modified_by?: string;
585
- idx?: number;
586
- docstatus?: number;
587
- doctype?: string;
588
- owner?: string;
589
- parent?: string;
590
- parentfield?: string;
591
- parenttype?: string;
592
- barcode?: string;
593
- barcode_type?: string;
581
+ name: string;
582
+ owner: string;
583
+ creation: string;
584
+ modified: string;
585
+ modified_by: string;
586
+ parent: string;
587
+ parentfield: string;
588
+ parenttype: string;
589
+ idx: number;
590
+ docstatus: number;
591
+ doctype: string;
592
+ barcode: string;
593
+ barcode_type: string;
594
594
  }, {
595
- name?: string;
596
- creation?: string;
597
- modified?: string;
598
- modified_by?: string;
599
- idx?: number;
600
- docstatus?: number;
601
- doctype?: string;
602
- owner?: string;
603
- parent?: string;
604
- parentfield?: string;
605
- parenttype?: string;
606
- barcode?: string;
607
- barcode_type?: string;
595
+ name: string;
596
+ owner: string;
597
+ creation: string;
598
+ modified: string;
599
+ modified_by: string;
600
+ parent: string;
601
+ parentfield: string;
602
+ parenttype: string;
603
+ idx: number;
604
+ docstatus: number;
605
+ doctype: string;
606
+ barcode: string;
607
+ barcode_type: string;
608
608
  }>, "many">;
609
609
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
610
610
  uoms: z.ZodArray<z.ZodObject<{
@@ -622,33 +622,33 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
622
622
  conversion_factor: z.ZodNumber;
623
623
  doctype: z.ZodString;
624
624
  }, "strip", z.ZodTypeAny, {
625
- name?: string;
626
- creation?: string;
627
- modified?: string;
628
- modified_by?: string;
629
- idx?: number;
630
- docstatus?: number;
631
- doctype?: string;
632
- owner?: string;
633
- parent?: string;
634
- parentfield?: string;
635
- parenttype?: string;
636
- uom?: string;
637
- conversion_factor?: number;
625
+ name: string;
626
+ owner: string;
627
+ creation: string;
628
+ modified: string;
629
+ modified_by: string;
630
+ parent: string;
631
+ parentfield: string;
632
+ parenttype: string;
633
+ idx: number;
634
+ docstatus: number;
635
+ doctype: string;
636
+ uom: string;
637
+ conversion_factor: number;
638
638
  }, {
639
- name?: string;
640
- creation?: string;
641
- modified?: string;
642
- modified_by?: string;
643
- idx?: number;
644
- docstatus?: number;
645
- doctype?: string;
646
- owner?: string;
647
- parent?: string;
648
- parentfield?: string;
649
- parenttype?: string;
650
- uom?: string;
651
- conversion_factor?: number;
639
+ name: string;
640
+ owner: string;
641
+ creation: string;
642
+ modified: string;
643
+ modified_by: string;
644
+ parent: string;
645
+ parentfield: string;
646
+ parenttype: string;
647
+ idx: number;
648
+ docstatus: number;
649
+ doctype: string;
650
+ uom: string;
651
+ conversion_factor: number;
652
652
  }>, "many">;
653
653
  attributes: z.ZodArray<z.ZodAny, "many">;
654
654
  item_defaults: z.ZodArray<z.ZodObject<{
@@ -666,65 +666,65 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
666
666
  default_warehouse: z.ZodString;
667
667
  doctype: z.ZodString;
668
668
  }, "strip", z.ZodTypeAny, {
669
- name?: string;
670
- creation?: string;
671
- modified?: string;
672
- modified_by?: string;
673
- idx?: number;
674
- docstatus?: number;
675
- doctype?: string;
676
- owner?: string;
677
- parent?: string;
678
- parentfield?: string;
679
- parenttype?: string;
680
- company?: string;
681
- default_warehouse?: string;
669
+ name: string;
670
+ owner: string;
671
+ creation: string;
672
+ modified: string;
673
+ modified_by: string;
674
+ parent: string;
675
+ parentfield: string;
676
+ parenttype: string;
677
+ idx: number;
678
+ docstatus: number;
679
+ doctype: string;
680
+ company: string;
681
+ default_warehouse: string;
682
682
  }, {
683
- name?: string;
684
- creation?: string;
685
- modified?: string;
686
- modified_by?: string;
687
- idx?: number;
688
- docstatus?: number;
689
- doctype?: string;
690
- owner?: string;
691
- parent?: string;
692
- parentfield?: string;
693
- parenttype?: string;
694
- company?: string;
695
- default_warehouse?: string;
683
+ name: string;
684
+ owner: string;
685
+ creation: string;
686
+ modified: string;
687
+ modified_by: string;
688
+ parent: string;
689
+ parentfield: string;
690
+ parenttype: string;
691
+ idx: number;
692
+ docstatus: number;
693
+ doctype: string;
694
+ company: string;
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
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
- disabled?: number;
702
- item_code?: string;
703
- item_name?: string;
704
- weight_per_unit?: number;
705
- weight_uom?: "kg" | "g" | "mg";
706
- warehouse_category?: string;
707
- ean?: string;
708
- custom_is_shipping_enabled?: number;
709
- shipping_template?: string;
710
- shipping_width?: number;
711
- shipping_length?: number;
712
- shipping_height?: number;
713
- shipping_dimensions_unit?: "m" | "cm" | "mm";
701
+ disabled: number;
702
+ item_code: string;
703
+ item_name: string;
704
+ weight_per_unit: number;
705
+ weight_uom: "kg" | "g" | "mg";
706
+ custom_is_shipping_enabled: number;
707
+ shipping_dimensions_unit: "m" | "cm" | "mm";
708
+ warehouse_category?: string | null | undefined;
709
+ ean?: string | null | undefined;
710
+ shipping_template?: string | null | undefined;
711
+ shipping_width?: number | null | undefined;
712
+ shipping_length?: number | null | undefined;
713
+ shipping_height?: number | null | undefined;
714
714
  }, {
715
- disabled?: number;
716
- item_code?: string;
717
- item_name?: string;
718
- weight_per_unit?: number;
719
- weight_uom?: "kg" | "g" | "mg";
720
- warehouse_category?: string;
721
- ean?: string;
722
- custom_is_shipping_enabled?: number;
723
- shipping_template?: string;
724
- shipping_width?: number;
725
- shipping_length?: number;
726
- shipping_height?: number;
727
- shipping_dimensions_unit?: "m" | "cm" | "mm";
715
+ disabled: number;
716
+ item_code: string;
717
+ item_name: string;
718
+ weight_per_unit: number;
719
+ weight_uom: "kg" | "g" | "mg";
720
+ custom_is_shipping_enabled: number;
721
+ shipping_dimensions_unit: "m" | "cm" | "mm";
722
+ warehouse_category?: string | null | undefined;
723
+ ean?: string | null | undefined;
724
+ shipping_template?: string | null | undefined;
725
+ shipping_width?: number | null | undefined;
726
+ shipping_length?: number | null | undefined;
727
+ shipping_height?: number | null | undefined;
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<{
@@ -824,33 +824,33 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
824
824
  barcode_type: z.ZodString;
825
825
  doctype: z.ZodString;
826
826
  }, "strip", z.ZodTypeAny, {
827
- name?: string;
828
- creation?: string;
829
- modified?: string;
830
- modified_by?: string;
831
- idx?: number;
832
- docstatus?: number;
833
- doctype?: string;
834
- owner?: string;
835
- parent?: string;
836
- parentfield?: string;
837
- parenttype?: string;
838
- barcode?: string;
839
- barcode_type?: string;
827
+ name: string;
828
+ owner: string;
829
+ creation: string;
830
+ modified: string;
831
+ modified_by: string;
832
+ parent: string;
833
+ parentfield: string;
834
+ parenttype: string;
835
+ idx: number;
836
+ docstatus: number;
837
+ doctype: string;
838
+ barcode: string;
839
+ barcode_type: string;
840
840
  }, {
841
- name?: string;
842
- creation?: string;
843
- modified?: string;
844
- modified_by?: string;
845
- idx?: number;
846
- docstatus?: number;
847
- doctype?: string;
848
- owner?: string;
849
- parent?: string;
850
- parentfield?: string;
851
- parenttype?: string;
852
- barcode?: string;
853
- barcode_type?: string;
841
+ name: string;
842
+ owner: string;
843
+ creation: string;
844
+ modified: string;
845
+ modified_by: string;
846
+ parent: string;
847
+ parentfield: string;
848
+ parenttype: string;
849
+ idx: number;
850
+ docstatus: number;
851
+ doctype: string;
852
+ barcode: string;
853
+ barcode_type: string;
854
854
  }>, "many">;
855
855
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
856
856
  uoms: z.ZodArray<z.ZodObject<{
@@ -868,33 +868,33 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
868
868
  conversion_factor: z.ZodNumber;
869
869
  doctype: z.ZodString;
870
870
  }, "strip", z.ZodTypeAny, {
871
- name?: string;
872
- creation?: string;
873
- modified?: string;
874
- modified_by?: string;
875
- idx?: number;
876
- docstatus?: number;
877
- doctype?: string;
878
- owner?: string;
879
- parent?: string;
880
- parentfield?: string;
881
- parenttype?: string;
882
- uom?: string;
883
- conversion_factor?: number;
871
+ name: string;
872
+ owner: string;
873
+ creation: string;
874
+ modified: string;
875
+ modified_by: string;
876
+ parent: string;
877
+ parentfield: string;
878
+ parenttype: string;
879
+ idx: number;
880
+ docstatus: number;
881
+ doctype: string;
882
+ uom: string;
883
+ conversion_factor: number;
884
884
  }, {
885
- name?: string;
886
- creation?: string;
887
- modified?: string;
888
- modified_by?: string;
889
- idx?: number;
890
- docstatus?: number;
891
- doctype?: string;
892
- owner?: string;
893
- parent?: string;
894
- parentfield?: string;
895
- parenttype?: string;
896
- uom?: string;
897
- conversion_factor?: number;
885
+ name: string;
886
+ owner: string;
887
+ creation: string;
888
+ modified: string;
889
+ modified_by: string;
890
+ parent: string;
891
+ parentfield: string;
892
+ parenttype: string;
893
+ idx: number;
894
+ docstatus: number;
895
+ doctype: string;
896
+ uom: string;
897
+ conversion_factor: number;
898
898
  }>, "many">;
899
899
  attributes: z.ZodArray<z.ZodAny, "many">;
900
900
  item_defaults: z.ZodArray<z.ZodObject<{
@@ -912,33 +912,33 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
912
912
  default_warehouse: z.ZodString;
913
913
  doctype: z.ZodString;
914
914
  }, "strip", z.ZodTypeAny, {
915
- name?: string;
916
- creation?: string;
917
- modified?: string;
918
- modified_by?: string;
919
- idx?: number;
920
- docstatus?: number;
921
- doctype?: string;
922
- owner?: string;
923
- parent?: string;
924
- parentfield?: string;
925
- parenttype?: string;
926
- company?: string;
927
- default_warehouse?: string;
915
+ name: string;
916
+ owner: string;
917
+ creation: string;
918
+ modified: string;
919
+ modified_by: string;
920
+ parent: string;
921
+ parentfield: string;
922
+ parenttype: string;
923
+ idx: number;
924
+ docstatus: number;
925
+ doctype: string;
926
+ company: string;
927
+ default_warehouse: string;
928
928
  }, {
929
- name?: string;
930
- creation?: string;
931
- modified?: string;
932
- modified_by?: string;
933
- idx?: number;
934
- docstatus?: number;
935
- doctype?: string;
936
- owner?: string;
937
- parent?: string;
938
- parentfield?: string;
939
- parenttype?: string;
940
- company?: string;
941
- default_warehouse?: string;
929
+ name: string;
930
+ owner: string;
931
+ creation: string;
932
+ modified: string;
933
+ modified_by: string;
934
+ parent: string;
935
+ parentfield: string;
936
+ parenttype: string;
937
+ idx: number;
938
+ docstatus: number;
939
+ doctype: string;
940
+ company: string;
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">;
@@ -946,36 +946,36 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
946
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
- disabled?: number;
950
- item_name?: string;
951
- weight_per_unit?: number;
952
- weight_uom?: "kg" | "g" | "mg";
953
- warehouse_category?: string;
954
- ean?: string;
955
- custom_is_shipping_enabled?: number;
956
- shipping_template?: string;
957
- shipping_width?: number;
958
- shipping_length?: number;
959
- shipping_height?: number;
960
- shipping_dimensions_unit?: "m" | "cm" | "mm";
961
- sku?: string;
949
+ disabled: number;
950
+ item_name: string;
951
+ weight_per_unit: number;
952
+ weight_uom: "kg" | "g" | "mg";
953
+ custom_is_shipping_enabled: number;
954
+ shipping_dimensions_unit: "m" | "cm" | "mm";
955
+ sku: string;
956
+ warehouse_category?: string | null | undefined;
957
+ ean?: string | null | undefined;
958
+ shipping_template?: string | null | undefined;
959
+ shipping_width?: number | null | undefined;
960
+ shipping_length?: number | null | undefined;
961
+ shipping_height?: number | null | undefined;
962
962
  }, {
963
- disabled?: number;
964
- item_name?: string;
965
- weight_per_unit?: number;
966
- weight_uom?: "kg" | "g" | "mg";
967
- warehouse_category?: string;
968
- ean?: string;
969
- custom_is_shipping_enabled?: number;
970
- shipping_template?: string;
971
- shipping_width?: number;
972
- shipping_length?: number;
973
- shipping_height?: number;
974
- shipping_dimensions_unit?: "m" | "cm" | "mm";
975
- sku?: string;
963
+ disabled: number;
964
+ item_name: string;
965
+ weight_per_unit: number;
966
+ weight_uom: "kg" | "g" | "mg";
967
+ custom_is_shipping_enabled: number;
968
+ shipping_dimensions_unit: "m" | "cm" | "mm";
969
+ sku: string;
970
+ warehouse_category?: string | null | undefined;
971
+ ean?: string | null | undefined;
972
+ shipping_template?: string | null | undefined;
973
+ shipping_width?: number | null | undefined;
974
+ shipping_length?: number | null | undefined;
975
+ shipping_height?: number | null | undefined;
976
976
  }>, "many">;
977
977
  export type ItemListWithShippingTemplateSkuType = z.infer<typeof ItemListWithShippingTemplateSku>;
978
- export declare const ErpNextResponseDictFalse: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
978
+ export declare const ERPNextItemResponseNoneStockItemsDictFalse: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
979
979
  declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
980
980
  name: z.ZodString;
981
981
  warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1073,33 +1073,33 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1073
1073
  barcode_type: z.ZodString;
1074
1074
  doctype: z.ZodString;
1075
1075
  }, "strip", z.ZodTypeAny, {
1076
- name?: string;
1077
- creation?: string;
1078
- modified?: string;
1079
- modified_by?: string;
1080
- idx?: number;
1081
- docstatus?: number;
1082
- doctype?: string;
1083
- owner?: string;
1084
- parent?: string;
1085
- parentfield?: string;
1086
- parenttype?: string;
1087
- barcode?: string;
1088
- barcode_type?: string;
1076
+ name: string;
1077
+ owner: string;
1078
+ creation: string;
1079
+ modified: string;
1080
+ modified_by: string;
1081
+ parent: string;
1082
+ parentfield: string;
1083
+ parenttype: string;
1084
+ idx: number;
1085
+ docstatus: number;
1086
+ doctype: string;
1087
+ barcode: string;
1088
+ barcode_type: string;
1089
1089
  }, {
1090
- name?: string;
1091
- creation?: string;
1092
- modified?: string;
1093
- modified_by?: string;
1094
- idx?: number;
1095
- docstatus?: number;
1096
- doctype?: string;
1097
- owner?: string;
1098
- parent?: string;
1099
- parentfield?: string;
1100
- parenttype?: string;
1101
- barcode?: string;
1102
- barcode_type?: string;
1090
+ name: string;
1091
+ owner: string;
1092
+ creation: string;
1093
+ modified: string;
1094
+ modified_by: string;
1095
+ parent: string;
1096
+ parentfield: string;
1097
+ parenttype: string;
1098
+ idx: number;
1099
+ docstatus: number;
1100
+ doctype: string;
1101
+ barcode: string;
1102
+ barcode_type: string;
1103
1103
  }>, "many">;
1104
1104
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
1105
1105
  uoms: z.ZodArray<z.ZodObject<{
@@ -1117,33 +1117,33 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1117
1117
  conversion_factor: z.ZodNumber;
1118
1118
  doctype: z.ZodString;
1119
1119
  }, "strip", z.ZodTypeAny, {
1120
- name?: string;
1121
- creation?: string;
1122
- modified?: string;
1123
- modified_by?: string;
1124
- idx?: number;
1125
- docstatus?: number;
1126
- doctype?: string;
1127
- owner?: string;
1128
- parent?: string;
1129
- parentfield?: string;
1130
- parenttype?: string;
1131
- uom?: string;
1132
- conversion_factor?: number;
1120
+ name: string;
1121
+ owner: string;
1122
+ creation: string;
1123
+ modified: string;
1124
+ modified_by: string;
1125
+ parent: string;
1126
+ parentfield: string;
1127
+ parenttype: string;
1128
+ idx: number;
1129
+ docstatus: number;
1130
+ doctype: string;
1131
+ uom: string;
1132
+ conversion_factor: number;
1133
1133
  }, {
1134
- name?: string;
1135
- creation?: string;
1136
- modified?: string;
1137
- modified_by?: string;
1138
- idx?: number;
1139
- docstatus?: number;
1140
- doctype?: string;
1141
- owner?: string;
1142
- parent?: string;
1143
- parentfield?: string;
1144
- parenttype?: string;
1145
- uom?: string;
1146
- conversion_factor?: number;
1134
+ name: string;
1135
+ owner: string;
1136
+ creation: string;
1137
+ modified: string;
1138
+ modified_by: string;
1139
+ parent: string;
1140
+ parentfield: string;
1141
+ parenttype: string;
1142
+ idx: number;
1143
+ docstatus: number;
1144
+ doctype: string;
1145
+ uom: string;
1146
+ conversion_factor: number;
1147
1147
  }>, "many">;
1148
1148
  attributes: z.ZodArray<z.ZodAny, "many">;
1149
1149
  item_defaults: z.ZodArray<z.ZodObject<{
@@ -1161,47 +1161,47 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1161
1161
  default_warehouse: z.ZodString;
1162
1162
  doctype: z.ZodString;
1163
1163
  }, "strip", z.ZodTypeAny, {
1164
- name?: string;
1165
- creation?: string;
1166
- modified?: string;
1167
- modified_by?: string;
1168
- idx?: number;
1169
- docstatus?: number;
1170
- doctype?: string;
1171
- owner?: string;
1172
- parent?: string;
1173
- parentfield?: string;
1174
- parenttype?: string;
1175
- company?: string;
1176
- default_warehouse?: string;
1164
+ name: string;
1165
+ owner: string;
1166
+ creation: string;
1167
+ modified: string;
1168
+ modified_by: string;
1169
+ parent: string;
1170
+ parentfield: string;
1171
+ parenttype: string;
1172
+ idx: number;
1173
+ docstatus: number;
1174
+ doctype: string;
1175
+ company: string;
1176
+ default_warehouse: string;
1177
1177
  }, {
1178
- name?: string;
1179
- creation?: string;
1180
- modified?: string;
1181
- modified_by?: string;
1182
- idx?: number;
1183
- docstatus?: number;
1184
- doctype?: string;
1185
- owner?: string;
1186
- parent?: string;
1187
- parentfield?: string;
1188
- parenttype?: string;
1189
- company?: string;
1190
- default_warehouse?: string;
1178
+ name: string;
1179
+ owner: string;
1180
+ creation: string;
1181
+ modified: string;
1182
+ modified_by: string;
1183
+ parent: string;
1184
+ parentfield: string;
1185
+ parenttype: string;
1186
+ idx: number;
1187
+ docstatus: number;
1188
+ doctype: string;
1189
+ company: string;
1190
+ default_warehouse: string;
1191
1191
  }>, "many">;
1192
1192
  supplier_items: z.ZodArray<z.ZodAny, "many">;
1193
1193
  customer_items: z.ZodArray<z.ZodAny, "many">;
1194
1194
  taxes: z.ZodArray<z.ZodAny, "many">;
1195
1195
  }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
1196
- shipping_width?: number;
1197
- shipping_length?: number;
1198
- shipping_height?: number;
1199
- shipping_dimensions_unit?: "m" | "cm" | "mm";
1196
+ shipping_dimensions_unit: "m" | "cm" | "mm";
1197
+ shipping_width?: number | null | undefined;
1198
+ shipping_length?: number | null | undefined;
1199
+ shipping_height?: number | null | undefined;
1200
1200
  }, {
1201
- shipping_width?: number;
1202
- shipping_length?: number;
1203
- shipping_height?: number;
1204
- shipping_dimensions_unit?: "m" | "cm" | "mm";
1201
+ shipping_dimensions_unit: "m" | "cm" | "mm";
1202
+ shipping_width?: number | null | undefined;
1203
+ shipping_length?: number | null | undefined;
1204
+ shipping_height?: number | null | undefined;
1205
1205
  }>;
1206
1206
  export type ItemDimensionsInfoType = z.infer<typeof ItemDimensionsInfo>;
1207
1207
  export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
@@ -1301,33 +1301,33 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1301
1301
  barcode_type: z.ZodString;
1302
1302
  doctype: z.ZodString;
1303
1303
  }, "strip", z.ZodTypeAny, {
1304
- name?: string;
1305
- creation?: string;
1306
- modified?: string;
1307
- modified_by?: string;
1308
- idx?: number;
1309
- docstatus?: number;
1310
- doctype?: string;
1311
- owner?: string;
1312
- parent?: string;
1313
- parentfield?: string;
1314
- parenttype?: string;
1315
- barcode?: string;
1316
- barcode_type?: string;
1304
+ name: string;
1305
+ owner: string;
1306
+ creation: string;
1307
+ modified: string;
1308
+ modified_by: string;
1309
+ parent: string;
1310
+ parentfield: string;
1311
+ parenttype: string;
1312
+ idx: number;
1313
+ docstatus: number;
1314
+ doctype: string;
1315
+ barcode: string;
1316
+ barcode_type: string;
1317
1317
  }, {
1318
- name?: string;
1319
- creation?: string;
1320
- modified?: string;
1321
- modified_by?: string;
1322
- idx?: number;
1323
- docstatus?: number;
1324
- doctype?: string;
1325
- owner?: string;
1326
- parent?: string;
1327
- parentfield?: string;
1328
- parenttype?: string;
1329
- barcode?: string;
1330
- barcode_type?: string;
1318
+ name: string;
1319
+ owner: string;
1320
+ creation: string;
1321
+ modified: string;
1322
+ modified_by: string;
1323
+ parent: string;
1324
+ parentfield: string;
1325
+ parenttype: string;
1326
+ idx: number;
1327
+ docstatus: number;
1328
+ doctype: string;
1329
+ barcode: string;
1330
+ barcode_type: string;
1331
1331
  }>, "many">;
1332
1332
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
1333
1333
  uoms: z.ZodArray<z.ZodObject<{
@@ -1345,33 +1345,33 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1345
1345
  conversion_factor: z.ZodNumber;
1346
1346
  doctype: z.ZodString;
1347
1347
  }, "strip", z.ZodTypeAny, {
1348
- name?: string;
1349
- creation?: string;
1350
- modified?: string;
1351
- modified_by?: string;
1352
- idx?: number;
1353
- docstatus?: number;
1354
- doctype?: string;
1355
- owner?: string;
1356
- parent?: string;
1357
- parentfield?: string;
1358
- parenttype?: string;
1359
- uom?: string;
1360
- conversion_factor?: number;
1348
+ name: string;
1349
+ owner: string;
1350
+ creation: string;
1351
+ modified: string;
1352
+ modified_by: string;
1353
+ parent: string;
1354
+ parentfield: string;
1355
+ parenttype: string;
1356
+ idx: number;
1357
+ docstatus: number;
1358
+ doctype: string;
1359
+ uom: string;
1360
+ conversion_factor: number;
1361
1361
  }, {
1362
- name?: string;
1363
- creation?: string;
1364
- modified?: string;
1365
- modified_by?: string;
1366
- idx?: number;
1367
- docstatus?: number;
1368
- doctype?: string;
1369
- owner?: string;
1370
- parent?: string;
1371
- parentfield?: string;
1372
- parenttype?: string;
1373
- uom?: string;
1374
- conversion_factor?: number;
1362
+ name: string;
1363
+ owner: string;
1364
+ creation: string;
1365
+ modified: string;
1366
+ modified_by: string;
1367
+ parent: string;
1368
+ parentfield: string;
1369
+ parenttype: string;
1370
+ idx: number;
1371
+ docstatus: number;
1372
+ doctype: string;
1373
+ uom: string;
1374
+ conversion_factor: number;
1375
1375
  }>, "many">;
1376
1376
  attributes: z.ZodArray<z.ZodAny, "many">;
1377
1377
  item_defaults: z.ZodArray<z.ZodObject<{
@@ -1389,41 +1389,41 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1389
1389
  default_warehouse: z.ZodString;
1390
1390
  doctype: z.ZodString;
1391
1391
  }, "strip", z.ZodTypeAny, {
1392
- name?: string;
1393
- creation?: string;
1394
- modified?: string;
1395
- modified_by?: string;
1396
- idx?: number;
1397
- docstatus?: number;
1398
- doctype?: string;
1399
- owner?: string;
1400
- parent?: string;
1401
- parentfield?: string;
1402
- parenttype?: string;
1403
- company?: string;
1404
- default_warehouse?: string;
1392
+ name: string;
1393
+ owner: string;
1394
+ creation: string;
1395
+ modified: string;
1396
+ modified_by: string;
1397
+ parent: string;
1398
+ parentfield: string;
1399
+ parenttype: string;
1400
+ idx: number;
1401
+ docstatus: number;
1402
+ doctype: string;
1403
+ company: string;
1404
+ default_warehouse: string;
1405
1405
  }, {
1406
- name?: string;
1407
- creation?: string;
1408
- modified?: string;
1409
- modified_by?: string;
1410
- idx?: number;
1411
- docstatus?: number;
1412
- doctype?: string;
1413
- owner?: string;
1414
- parent?: string;
1415
- parentfield?: string;
1416
- parenttype?: string;
1417
- company?: string;
1418
- default_warehouse?: string;
1406
+ name: string;
1407
+ owner: string;
1408
+ creation: string;
1409
+ modified: string;
1410
+ modified_by: string;
1411
+ parent: string;
1412
+ parentfield: string;
1413
+ parenttype: string;
1414
+ idx: number;
1415
+ docstatus: number;
1416
+ doctype: string;
1417
+ company: string;
1418
+ default_warehouse: string;
1419
1419
  }>, "many">;
1420
1420
  supplier_items: z.ZodArray<z.ZodAny, "many">;
1421
1421
  customer_items: z.ZodArray<z.ZodAny, "many">;
1422
1422
  taxes: z.ZodArray<z.ZodAny, "many">;
1423
1423
  }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "item_code">, "strip", z.ZodTypeAny, {
1424
- item_code?: string;
1424
+ item_code: string;
1425
1425
  }, {
1426
- item_code?: string;
1426
+ item_code: string;
1427
1427
  }>, "many">;
1428
1428
  export type ItemListNameType = z.infer<typeof ItemListName>;
1429
1429
  export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
@@ -1523,33 +1523,33 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1523
1523
  barcode_type: z.ZodString;
1524
1524
  doctype: z.ZodString;
1525
1525
  }, "strip", z.ZodTypeAny, {
1526
- name?: string;
1527
- creation?: string;
1528
- modified?: string;
1529
- modified_by?: string;
1530
- idx?: number;
1531
- docstatus?: number;
1532
- doctype?: string;
1533
- owner?: string;
1534
- parent?: string;
1535
- parentfield?: string;
1536
- parenttype?: string;
1537
- barcode?: string;
1538
- barcode_type?: string;
1526
+ name: string;
1527
+ owner: string;
1528
+ creation: string;
1529
+ modified: string;
1530
+ modified_by: string;
1531
+ parent: string;
1532
+ parentfield: string;
1533
+ parenttype: string;
1534
+ idx: number;
1535
+ docstatus: number;
1536
+ doctype: string;
1537
+ barcode: string;
1538
+ barcode_type: string;
1539
1539
  }, {
1540
- name?: string;
1541
- creation?: string;
1542
- modified?: string;
1543
- modified_by?: string;
1544
- idx?: number;
1545
- docstatus?: number;
1546
- doctype?: string;
1547
- owner?: string;
1548
- parent?: string;
1549
- parentfield?: string;
1550
- parenttype?: string;
1551
- barcode?: string;
1552
- barcode_type?: string;
1540
+ name: string;
1541
+ owner: string;
1542
+ creation: string;
1543
+ modified: string;
1544
+ modified_by: string;
1545
+ parent: string;
1546
+ parentfield: string;
1547
+ parenttype: string;
1548
+ idx: number;
1549
+ docstatus: number;
1550
+ doctype: string;
1551
+ barcode: string;
1552
+ barcode_type: string;
1553
1553
  }>, "many">;
1554
1554
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
1555
1555
  uoms: z.ZodArray<z.ZodObject<{
@@ -1567,33 +1567,33 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1567
1567
  conversion_factor: z.ZodNumber;
1568
1568
  doctype: z.ZodString;
1569
1569
  }, "strip", z.ZodTypeAny, {
1570
- name?: string;
1571
- creation?: string;
1572
- modified?: string;
1573
- modified_by?: string;
1574
- idx?: number;
1575
- docstatus?: number;
1576
- doctype?: string;
1577
- owner?: string;
1578
- parent?: string;
1579
- parentfield?: string;
1580
- parenttype?: string;
1581
- uom?: string;
1582
- conversion_factor?: number;
1570
+ name: string;
1571
+ owner: string;
1572
+ creation: string;
1573
+ modified: string;
1574
+ modified_by: string;
1575
+ parent: string;
1576
+ parentfield: string;
1577
+ parenttype: string;
1578
+ idx: number;
1579
+ docstatus: number;
1580
+ doctype: string;
1581
+ uom: string;
1582
+ conversion_factor: number;
1583
1583
  }, {
1584
- name?: string;
1585
- creation?: string;
1586
- modified?: string;
1587
- modified_by?: string;
1588
- idx?: number;
1589
- docstatus?: number;
1590
- doctype?: string;
1591
- owner?: string;
1592
- parent?: string;
1593
- parentfield?: string;
1594
- parenttype?: string;
1595
- uom?: string;
1596
- conversion_factor?: number;
1584
+ name: string;
1585
+ owner: string;
1586
+ creation: string;
1587
+ modified: string;
1588
+ modified_by: string;
1589
+ parent: string;
1590
+ parentfield: string;
1591
+ parenttype: string;
1592
+ idx: number;
1593
+ docstatus: number;
1594
+ doctype: string;
1595
+ uom: string;
1596
+ conversion_factor: number;
1597
1597
  }>, "many">;
1598
1598
  attributes: z.ZodArray<z.ZodAny, "many">;
1599
1599
  item_defaults: z.ZodArray<z.ZodObject<{
@@ -1611,47 +1611,47 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1611
1611
  default_warehouse: z.ZodString;
1612
1612
  doctype: z.ZodString;
1613
1613
  }, "strip", z.ZodTypeAny, {
1614
- name?: string;
1615
- creation?: string;
1616
- modified?: string;
1617
- modified_by?: string;
1618
- idx?: number;
1619
- docstatus?: number;
1620
- doctype?: string;
1621
- owner?: string;
1622
- parent?: string;
1623
- parentfield?: string;
1624
- parenttype?: string;
1625
- company?: string;
1626
- default_warehouse?: string;
1614
+ name: string;
1615
+ owner: string;
1616
+ creation: string;
1617
+ modified: string;
1618
+ modified_by: string;
1619
+ parent: string;
1620
+ parentfield: string;
1621
+ parenttype: string;
1622
+ idx: number;
1623
+ docstatus: number;
1624
+ doctype: string;
1625
+ company: string;
1626
+ default_warehouse: string;
1627
1627
  }, {
1628
- name?: string;
1629
- creation?: string;
1630
- modified?: string;
1631
- modified_by?: string;
1632
- idx?: number;
1633
- docstatus?: number;
1634
- doctype?: string;
1635
- owner?: string;
1636
- parent?: string;
1637
- parentfield?: string;
1638
- parenttype?: string;
1639
- company?: string;
1640
- default_warehouse?: string;
1628
+ name: string;
1629
+ owner: string;
1630
+ creation: string;
1631
+ modified: string;
1632
+ modified_by: string;
1633
+ parent: string;
1634
+ parentfield: string;
1635
+ parenttype: string;
1636
+ idx: number;
1637
+ docstatus: number;
1638
+ doctype: string;
1639
+ company: string;
1640
+ default_warehouse: string;
1641
1641
  }>, "many">;
1642
1642
  supplier_items: z.ZodArray<z.ZodAny, "many">;
1643
1643
  customer_items: z.ZodArray<z.ZodAny, "many">;
1644
1644
  taxes: z.ZodArray<z.ZodAny, "many">;
1645
1645
  }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "item_code" | "item_name" | "weight_per_unit" | "weight_uom">, "strip", z.ZodTypeAny, {
1646
- item_code?: string;
1647
- item_name?: string;
1648
- weight_per_unit?: number;
1649
- weight_uom?: "kg" | "g" | "mg";
1646
+ item_code: string;
1647
+ item_name: string;
1648
+ weight_per_unit: number;
1649
+ weight_uom: "kg" | "g" | "mg";
1650
1650
  }, {
1651
- item_code?: string;
1652
- item_name?: string;
1653
- weight_per_unit?: number;
1654
- weight_uom?: "kg" | "g" | "mg";
1651
+ item_code: string;
1652
+ item_name: string;
1653
+ weight_per_unit: number;
1654
+ weight_uom: "kg" | "g" | "mg";
1655
1655
  }>, "many">;
1656
1656
  export type ItemListType = z.infer<typeof ItemList>;
1657
1657
  declare const ItemSupplier: z.ZodObject<{
@@ -1660,15 +1660,15 @@ declare const ItemSupplier: z.ZodObject<{
1660
1660
  parent: z.ZodString;
1661
1661
  supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1662
1662
  }, "strip", z.ZodTypeAny, {
1663
- name?: string;
1664
- parent?: string;
1665
- supplier?: string;
1666
- supplier_part_no?: string;
1663
+ name: string;
1664
+ parent: string;
1665
+ supplier: string;
1666
+ supplier_part_no?: string | null | undefined;
1667
1667
  }, {
1668
- name?: string;
1669
- parent?: string;
1670
- supplier?: string;
1671
- supplier_part_no?: string;
1668
+ name: string;
1669
+ parent: string;
1670
+ supplier: string;
1671
+ supplier_part_no?: string | null | undefined;
1672
1672
  }>;
1673
1673
  export type ItemSupplierType = z.infer<typeof ItemSupplier>;
1674
1674
  export declare const ItemSupplierResponse: z.ZodArray<z.ZodObject<{
@@ -1677,15 +1677,15 @@ export declare const ItemSupplierResponse: z.ZodArray<z.ZodObject<{
1677
1677
  parent: z.ZodString;
1678
1678
  supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1679
1679
  }, "strip", z.ZodTypeAny, {
1680
- name?: string;
1681
- parent?: string;
1682
- supplier?: string;
1683
- supplier_part_no?: string;
1680
+ name: string;
1681
+ parent: string;
1682
+ supplier: string;
1683
+ supplier_part_no?: string | null | undefined;
1684
1684
  }, {
1685
- name?: string;
1686
- parent?: string;
1687
- supplier?: string;
1688
- supplier_part_no?: string;
1685
+ name: string;
1686
+ parent: string;
1687
+ supplier: string;
1688
+ supplier_part_no?: string | null | undefined;
1689
1689
  }>, "many">;
1690
1690
  export type ItemSupplierResponseType = z.infer<typeof ItemSupplierResponse>;
1691
1691
  declare const ItemSupplierValidated: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -1696,15 +1696,15 @@ declare const ItemSupplierValidated: z.ZodObject<z.objectUtil.extendShape<Omit<{
1696
1696
  }, "parent">, {
1697
1697
  item_code: z.ZodString;
1698
1698
  }>, "strip", z.ZodTypeAny, {
1699
- name?: string;
1700
- item_code?: string;
1701
- supplier?: string;
1702
- supplier_part_no?: string;
1699
+ name: string;
1700
+ item_code: string;
1701
+ supplier: string;
1702
+ supplier_part_no?: string | null | undefined;
1703
1703
  }, {
1704
- name?: string;
1705
- item_code?: string;
1706
- supplier?: string;
1707
- supplier_part_no?: string;
1704
+ name: string;
1705
+ item_code: string;
1706
+ supplier: string;
1707
+ supplier_part_no?: string | null | undefined;
1708
1708
  }>;
1709
1709
  export type ItemSupplierValidatedType = z.infer<typeof ItemSupplierValidated>;
1710
1710
  export {};