erpnext-queue-client 1.38.0 → 2.0.0-beta.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 (133) hide show
  1. package/dist/client.js +2 -2
  2. package/dist/constants.d.ts +1 -1
  3. package/dist/constants.js +16 -2
  4. package/dist/erpnext/doctypeResourceRequest.d.ts +12 -11
  5. package/dist/erpnext/doctypeResourceRequest.js +3 -2
  6. package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +121 -4
  7. package/dist/erpnext/doctypeSubmittableResourceRequest.js +14 -1
  8. package/dist/erpnext/doctypes/address.d.ts +154 -219
  9. package/dist/erpnext/doctypes/address.js +0 -2
  10. package/dist/erpnext/doctypes/contact.d.ts +151 -308
  11. package/dist/erpnext/doctypes/contact.js +1 -1
  12. package/dist/erpnext/doctypes/deliveryNote.d.ts +644 -455
  13. package/dist/erpnext/doctypes/deliveryNote.js +4 -10
  14. package/dist/erpnext/doctypes/item.d.ts +215 -308
  15. package/dist/erpnext/doctypes/productBundle.d.ts +43 -53
  16. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +669 -697
  17. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +265 -314
  18. package/dist/erpnext/doctypes/salesInvoice.d.ts +3332 -0
  19. package/dist/erpnext/doctypes/salesInvoice.js +72 -0
  20. package/dist/erpnext/doctypes/servicecase.d.ts +197 -140
  21. package/dist/erpnext/doctypes/servicecase.js +4 -6
  22. package/dist/erpnext/doctypes/shipment.d.ts +168 -258
  23. package/dist/erpnext/doctypes/tags.d.ts +10 -0
  24. package/dist/erpnext/doctypes/tags.js +102 -0
  25. package/dist/erpnext/model/Account.d.ts +0 -33
  26. package/dist/erpnext/model/Account.js +0 -11
  27. package/dist/erpnext/model/Address.d.ts +112 -233
  28. package/dist/erpnext/model/Address.js +11 -49
  29. package/dist/erpnext/model/Attachment.d.ts +0 -3
  30. package/dist/erpnext/model/Attachment.js +0 -1
  31. package/dist/erpnext/model/Boolean.d.ts +4 -0
  32. package/dist/erpnext/model/Boolean.js +9 -0
  33. package/dist/erpnext/model/Compliance.d.ts +0 -112
  34. package/dist/erpnext/model/Compliance.js +0 -19
  35. package/dist/erpnext/model/Contact.d.ts +166 -416
  36. package/dist/erpnext/model/Contact.js +16 -69
  37. package/dist/erpnext/model/Country.d.ts +0 -64
  38. package/dist/erpnext/model/Country.js +0 -10
  39. package/dist/erpnext/model/Customer.d.ts +39 -64
  40. package/dist/erpnext/model/Customer.js +11 -25
  41. package/dist/erpnext/model/DeliveryNote.d.ts +124 -1170
  42. package/dist/erpnext/model/DeliveryNote.js +5 -52
  43. package/dist/erpnext/model/DispatchRun.d.ts +7 -113
  44. package/dist/erpnext/model/DispatchRun.js +2 -31
  45. package/dist/erpnext/model/DispatcherPreset.d.ts +0 -119
  46. package/dist/erpnext/model/DispatcherPreset.js +1 -27
  47. package/dist/erpnext/model/DocInfo.d.ts +41 -339
  48. package/dist/erpnext/model/DocInfo.js +5 -6
  49. package/dist/erpnext/model/DocTypeHelpers.d.ts +141 -2
  50. package/dist/erpnext/model/DocTypeHelpers.js +132 -1
  51. package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +124 -0
  52. package/dist/erpnext/model/ERPNextDocTypeMeta.js +37 -0
  53. package/dist/erpnext/model/ERPNextRequest.d.ts +5 -5
  54. package/dist/erpnext/model/File.d.ts +0 -48
  55. package/dist/erpnext/model/File.js +0 -8
  56. package/dist/erpnext/model/Fulfiller.d.ts +0 -121
  57. package/dist/erpnext/model/Fulfiller.js +1 -56
  58. package/dist/erpnext/model/FulfillerSettings.d.ts +0 -39
  59. package/dist/erpnext/model/FulfillerSettings.js +0 -6
  60. package/dist/erpnext/model/InternalReasons.d.ts +0 -3
  61. package/dist/erpnext/model/InternalReasons.js +0 -1
  62. package/dist/erpnext/model/Item.d.ts +478 -1847
  63. package/dist/erpnext/model/Item.js +18 -142
  64. package/dist/erpnext/model/Logs.d.ts +0 -9
  65. package/dist/erpnext/model/Logs.js +0 -3
  66. package/dist/erpnext/model/PartList.d.ts +0 -15
  67. package/dist/erpnext/model/PartList.js +0 -5
  68. package/dist/erpnext/model/PaymentEntry.d.ts +141 -128
  69. package/dist/erpnext/model/PaymentEntry.js +46 -47
  70. package/dist/erpnext/model/Permissions.d.ts +3 -3
  71. package/dist/erpnext/model/Permissions.js +1 -1
  72. package/dist/erpnext/model/ProductBundle.d.ts +6 -107
  73. package/dist/erpnext/model/ProductBundle.js +0 -17
  74. package/dist/erpnext/model/PurchaseInvoice.d.ts +290 -362
  75. package/dist/erpnext/model/PurchaseInvoice.js +5 -23
  76. package/dist/erpnext/model/PurchaseOrder.d.ts +34 -180
  77. package/dist/erpnext/model/PurchaseOrder.js +0 -34
  78. package/dist/erpnext/model/Receipt.d.ts +30 -121
  79. package/dist/erpnext/model/Receipt.js +2 -25
  80. package/dist/erpnext/model/ReceiptDraft.d.ts +28 -67
  81. package/dist/erpnext/model/ReceiptDraft.js +2 -11
  82. package/dist/erpnext/model/Report.d.ts +0 -40
  83. package/dist/erpnext/model/Report.js +0 -8
  84. package/dist/erpnext/model/SalesInvoice.d.ts +2441 -0
  85. package/dist/erpnext/model/SalesInvoice.js +326 -0
  86. package/dist/erpnext/model/SalesOrder.d.ts +1043 -0
  87. package/dist/erpnext/model/SalesOrder.js +271 -0
  88. package/dist/erpnext/model/SalesTaxesAndCharges.d.ts +47 -0
  89. package/dist/erpnext/model/SalesTaxesAndCharges.js +30 -0
  90. package/dist/erpnext/model/Servicecase.d.ts +295 -740
  91. package/dist/erpnext/model/Servicecase.js +31 -116
  92. package/dist/erpnext/model/ServicecaseReason.d.ts +0 -8
  93. package/dist/erpnext/model/ServicecaseReason.js +0 -2
  94. package/dist/erpnext/model/ServicecaseSolution.d.ts +0 -3
  95. package/dist/erpnext/model/ServicecaseSolution.js +0 -1
  96. package/dist/erpnext/model/ServiceportalProductConfiguration.d.ts +0 -575
  97. package/dist/erpnext/model/ServiceportalProductConfiguration.js +5 -50
  98. package/dist/erpnext/model/Shipment.d.ts +18 -729
  99. package/dist/erpnext/model/Shipment.js +1 -82
  100. package/dist/erpnext/model/ShippingLabel.d.ts +0 -32
  101. package/dist/erpnext/model/ShippingLabel.js +0 -8
  102. package/dist/erpnext/model/ShippingProvider.d.ts +6 -87
  103. package/dist/erpnext/model/ShippingProvider.js +3 -6
  104. package/dist/erpnext/model/Stock.d.ts +6 -46
  105. package/dist/erpnext/model/Stock.js +0 -8
  106. package/dist/erpnext/model/StockEntry.d.ts +12 -45
  107. package/dist/erpnext/model/StockEntry.js +0 -11
  108. package/dist/erpnext/model/StockReconciliation.d.ts +5 -32
  109. package/dist/erpnext/model/StockReconciliation.js +0 -10
  110. package/dist/erpnext/model/Supplier.d.ts +0 -79
  111. package/dist/erpnext/model/Supplier.js +0 -8
  112. package/dist/erpnext/model/Version.d.ts +0 -9
  113. package/dist/erpnext/model/Version.js +0 -3
  114. package/dist/erpnext/model/Waitlist.d.ts +0 -3
  115. package/dist/erpnext/model/Waitlist.js +0 -1
  116. package/dist/erpnext/model/WarehouseCategory.d.ts +0 -11
  117. package/dist/erpnext/model/WarehouseCategory.js +1 -7
  118. package/dist/erpnext/reports.js +3 -7
  119. package/dist/erpnext/resourceRequest.d.ts +13 -11
  120. package/dist/erpnext/resourceRequest.js +23 -18
  121. package/dist/index.d.ts +16 -10
  122. package/dist/index.js +24 -12
  123. package/dist/index.test.d.ts +1 -0
  124. package/dist/index.test.js +227 -0
  125. package/dist/utils/utils.d.ts +3 -0
  126. package/dist/utils/zodContextOptionals.d.ts +14 -0
  127. package/dist/utils/zodContextOptionals.js +42 -0
  128. package/dist/utils/zodUtils.js +2 -1
  129. package/package.json +2 -2
  130. package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +0 -433
  131. package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +0 -102
  132. package/dist/erpnext/model/ShippingFees.d.ts +0 -36
  133. package/dist/erpnext/model/ShippingFees.js +0 -18
@@ -1,14 +1,234 @@
1
1
  import { z } from "zod";
2
- export declare const Item: z.ZodObject<{
2
+ declare const ItemdefaultDoc: z.ZodObject<{
3
+ company: z.ZodString;
4
+ default_warehouse: z.ZodString;
5
+ } & {
6
+ name: z.ZodString;
7
+ owner: z.ZodString;
8
+ creation: z.ZodString;
9
+ modified: z.ZodString;
10
+ modified_by: z.ZodString;
11
+ idx: z.ZodNumber;
12
+ docstatus: z.ZodDefault<z.ZodNumber>;
13
+ doctype: z.ZodString;
14
+ _user_tags: z.ZodOptional<z.ZodString>;
15
+ } & {
16
+ parenttype: z.ZodString;
17
+ parentfield: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ name: string;
20
+ owner: string;
21
+ creation: string;
22
+ modified: string;
23
+ modified_by: string;
24
+ idx: number;
25
+ docstatus: number;
26
+ doctype: string;
27
+ parenttype: string;
28
+ parentfield: string;
29
+ company: string;
30
+ default_warehouse: string;
31
+ _user_tags?: string | undefined;
32
+ }, {
33
+ name: string;
34
+ owner: string;
35
+ creation: string;
36
+ modified: string;
37
+ modified_by: string;
38
+ idx: number;
39
+ doctype: string;
40
+ parenttype: string;
41
+ parentfield: string;
42
+ company: string;
43
+ default_warehouse: string;
44
+ docstatus?: number | undefined;
45
+ _user_tags?: string | undefined;
46
+ }>;
47
+ export type ItemdefaultDocType = z.infer<typeof ItemdefaultDoc>;
48
+ declare const UomDoc: z.ZodObject<{
49
+ uom: z.ZodString;
50
+ conversion_factor: z.ZodNumber;
51
+ } & {
52
+ name: z.ZodString;
53
+ owner: z.ZodString;
54
+ creation: z.ZodString;
55
+ modified: z.ZodString;
56
+ modified_by: z.ZodString;
57
+ idx: z.ZodNumber;
58
+ docstatus: z.ZodDefault<z.ZodNumber>;
59
+ doctype: z.ZodString;
60
+ _user_tags: z.ZodOptional<z.ZodString>;
61
+ } & {
62
+ parenttype: z.ZodString;
63
+ parentfield: z.ZodString;
64
+ }, "strip", z.ZodTypeAny, {
65
+ name: string;
66
+ owner: string;
67
+ creation: string;
68
+ modified: string;
69
+ modified_by: string;
70
+ idx: number;
71
+ docstatus: number;
72
+ doctype: string;
73
+ parenttype: string;
74
+ parentfield: string;
75
+ uom: string;
76
+ conversion_factor: number;
77
+ _user_tags?: string | undefined;
78
+ }, {
79
+ name: string;
80
+ owner: string;
81
+ creation: string;
82
+ modified: string;
83
+ modified_by: string;
84
+ idx: number;
85
+ doctype: string;
86
+ parenttype: string;
87
+ parentfield: string;
88
+ uom: string;
89
+ conversion_factor: number;
90
+ docstatus?: number | undefined;
91
+ _user_tags?: string | undefined;
92
+ }>;
93
+ export type UomDocType = z.infer<typeof UomDoc>;
94
+ declare const BarcodeDoc: z.ZodObject<{
95
+ barcode: z.ZodString;
96
+ barcode_type: z.ZodString;
97
+ } & {
98
+ name: z.ZodString;
99
+ owner: z.ZodString;
100
+ creation: z.ZodString;
101
+ modified: z.ZodString;
102
+ modified_by: z.ZodString;
103
+ idx: z.ZodNumber;
104
+ docstatus: z.ZodDefault<z.ZodNumber>;
105
+ doctype: z.ZodString;
106
+ _user_tags: z.ZodOptional<z.ZodString>;
107
+ } & {
108
+ parenttype: z.ZodString;
109
+ parentfield: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ name: string;
112
+ owner: string;
113
+ creation: string;
114
+ modified: string;
115
+ modified_by: string;
116
+ idx: number;
117
+ docstatus: number;
118
+ doctype: string;
119
+ parenttype: string;
120
+ parentfield: string;
121
+ barcode: string;
122
+ barcode_type: string;
123
+ _user_tags?: string | undefined;
124
+ }, {
125
+ name: string;
126
+ owner: string;
127
+ creation: string;
128
+ modified: string;
129
+ modified_by: string;
130
+ idx: number;
131
+ doctype: string;
132
+ parenttype: string;
133
+ parentfield: string;
134
+ barcode: string;
135
+ barcode_type: string;
136
+ docstatus?: number | undefined;
137
+ _user_tags?: string | undefined;
138
+ }>;
139
+ export type BarcodeDocType = z.infer<typeof BarcodeDoc>;
140
+ declare const ItemCertificationDoc: z.ZodObject<{
141
+ certification: z.ZodString;
142
+ } & {
143
+ name: z.ZodString;
144
+ owner: z.ZodString;
145
+ creation: z.ZodString;
146
+ modified: z.ZodString;
147
+ modified_by: z.ZodString;
148
+ idx: z.ZodNumber;
149
+ docstatus: z.ZodDefault<z.ZodNumber>;
150
+ doctype: z.ZodString;
151
+ _user_tags: z.ZodOptional<z.ZodString>;
152
+ } & {
153
+ parenttype: z.ZodString;
154
+ parentfield: z.ZodString;
155
+ }, "strip", z.ZodTypeAny, {
156
+ name: string;
157
+ owner: string;
158
+ creation: string;
159
+ modified: string;
160
+ modified_by: string;
161
+ idx: number;
162
+ docstatus: number;
163
+ doctype: string;
164
+ parenttype: string;
165
+ parentfield: string;
166
+ certification: string;
167
+ _user_tags?: string | undefined;
168
+ }, {
169
+ name: string;
170
+ owner: string;
171
+ creation: string;
172
+ modified: string;
173
+ modified_by: string;
174
+ idx: number;
175
+ doctype: string;
176
+ parenttype: string;
177
+ parentfield: string;
178
+ certification: string;
179
+ docstatus?: number | undefined;
180
+ _user_tags?: string | undefined;
181
+ }>;
182
+ export type ItemCertificationDocType = z.infer<typeof ItemCertificationDoc>;
183
+ declare const SupplierItemsDoc: z.ZodObject<{
184
+ supplier: z.ZodString;
185
+ supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
186
+ } & {
3
187
  name: z.ZodString;
4
- image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5
- warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
188
  owner: z.ZodString;
7
189
  creation: z.ZodString;
8
190
  modified: z.ZodString;
9
191
  modified_by: z.ZodString;
10
192
  idx: z.ZodNumber;
11
- docstatus: z.ZodNumber;
193
+ docstatus: z.ZodDefault<z.ZodNumber>;
194
+ doctype: z.ZodString;
195
+ _user_tags: z.ZodOptional<z.ZodString>;
196
+ } & {
197
+ parenttype: z.ZodString;
198
+ parentfield: z.ZodString;
199
+ }, "strip", z.ZodTypeAny, {
200
+ name: string;
201
+ owner: string;
202
+ creation: string;
203
+ modified: string;
204
+ modified_by: string;
205
+ idx: number;
206
+ docstatus: number;
207
+ doctype: string;
208
+ parenttype: string;
209
+ parentfield: string;
210
+ supplier: string;
211
+ _user_tags?: string | undefined;
212
+ supplier_part_no?: string | null | undefined;
213
+ }, {
214
+ name: string;
215
+ owner: string;
216
+ creation: string;
217
+ modified: string;
218
+ modified_by: string;
219
+ idx: number;
220
+ doctype: string;
221
+ parenttype: string;
222
+ parentfield: string;
223
+ supplier: string;
224
+ docstatus?: number | undefined;
225
+ _user_tags?: string | undefined;
226
+ supplier_part_no?: string | null | undefined;
227
+ }>;
228
+ export type SupplierItemsDocType = z.infer<typeof SupplierItemsDoc>;
229
+ export declare const Item: z.ZodObject<{
230
+ image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
231
+ warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
232
  naming_series: z.ZodString;
13
233
  ean: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14
234
  item_code: z.ZodString;
@@ -17,9 +237,18 @@ export declare const Item: z.ZodObject<{
17
237
  item_group: z.ZodString;
18
238
  stock_uom: z.ZodString;
19
239
  sync_from_warehouse: z.ZodNumber;
20
- disabled: z.ZodNumber;
21
- allow_alternative_item: z.ZodNumber;
22
- is_stock_item: z.ZodNumber;
240
+ disabled: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
241
+ __optionalForInput: true;
242
+ };
243
+ allow_alternative_item: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
244
+ __optionalForInput: true;
245
+ };
246
+ is_stock_item: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
247
+ __optionalForInput: true;
248
+ };
249
+ custom_is_digital: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
250
+ __optionalForInput: true;
251
+ };
23
252
  include_item_in_manufacturing: z.ZodNumber;
24
253
  opening_stock: z.ZodNumber;
25
254
  valuation_rate: z.ZodNumber;
@@ -48,9 +277,9 @@ export declare const Item: z.ZodObject<{
48
277
  end_of_life: z.ZodString;
49
278
  default_material_request_type: z.ZodString;
50
279
  valuation_method: z.ZodString;
51
- product_weight: z.ZodNumber;
280
+ product_weight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
52
281
  product_weight_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
53
- weight_per_unit: z.ZodNumber;
282
+ weight_per_unit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
54
283
  weight_uom: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
55
284
  has_batch_no: z.ZodNumber;
56
285
  create_new_batch: z.ZodNumber;
@@ -86,178 +315,45 @@ export declare const Item: z.ZodObject<{
86
315
  is_sub_contracted_item: z.ZodNumber;
87
316
  customer_code: z.ZodString;
88
317
  total_projected_qty: z.ZodNumber;
89
- doctype: z.ZodString;
90
318
  barcodes: z.ZodArray<z.ZodObject<{
91
- name: z.ZodString;
92
- owner: z.ZodString;
93
- creation: z.ZodString;
94
- modified: z.ZodString;
95
- modified_by: z.ZodString;
96
- parent: z.ZodString;
97
- parentfield: z.ZodString;
98
- parenttype: z.ZodString;
99
- idx: z.ZodNumber;
100
- docstatus: z.ZodNumber;
101
319
  barcode: z.ZodString;
102
320
  barcode_type: z.ZodString;
103
- doctype: z.ZodString;
104
321
  }, "strip", z.ZodTypeAny, {
105
- name: string;
106
- doctype: string;
107
- owner: string;
108
- creation: string;
109
- modified: string;
110
- modified_by: string;
111
- parent: string;
112
- parentfield: string;
113
- parenttype: string;
114
- idx: number;
115
- docstatus: number;
116
322
  barcode: string;
117
323
  barcode_type: string;
118
324
  }, {
119
- name: string;
120
- doctype: string;
121
- owner: string;
122
- creation: string;
123
- modified: string;
124
- modified_by: string;
125
- parent: string;
126
- parentfield: string;
127
- parenttype: string;
128
- idx: number;
129
- docstatus: number;
130
325
  barcode: string;
131
326
  barcode_type: string;
132
327
  }>, "many">;
133
328
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
134
329
  uoms: z.ZodArray<z.ZodObject<{
135
- name: z.ZodString;
136
- owner: z.ZodString;
137
- creation: z.ZodString;
138
- modified: z.ZodString;
139
- modified_by: z.ZodString;
140
- parent: z.ZodString;
141
- parentfield: z.ZodString;
142
- parenttype: z.ZodString;
143
- idx: z.ZodNumber;
144
- docstatus: z.ZodNumber;
145
330
  uom: z.ZodString;
146
331
  conversion_factor: z.ZodNumber;
147
- doctype: z.ZodString;
148
332
  }, "strip", z.ZodTypeAny, {
149
- name: string;
150
- doctype: string;
151
- owner: string;
152
- creation: string;
153
- modified: string;
154
- modified_by: string;
155
- parent: string;
156
- parentfield: string;
157
- parenttype: string;
158
- idx: number;
159
- docstatus: number;
160
333
  uom: string;
161
334
  conversion_factor: number;
162
335
  }, {
163
- name: string;
164
- doctype: string;
165
- owner: string;
166
- creation: string;
167
- modified: string;
168
- modified_by: string;
169
- parent: string;
170
- parentfield: string;
171
- parenttype: string;
172
- idx: number;
173
- docstatus: number;
174
336
  uom: string;
175
337
  conversion_factor: number;
176
338
  }>, "many">;
177
339
  attributes: z.ZodArray<z.ZodAny, "many">;
178
340
  item_defaults: z.ZodArray<z.ZodObject<{
179
- name: z.ZodString;
180
- owner: z.ZodString;
181
- creation: z.ZodString;
182
- modified: z.ZodString;
183
- modified_by: z.ZodString;
184
- parent: z.ZodString;
185
- parentfield: z.ZodString;
186
- parenttype: z.ZodString;
187
- idx: z.ZodNumber;
188
- docstatus: z.ZodNumber;
189
341
  company: z.ZodString;
190
342
  default_warehouse: z.ZodString;
191
- doctype: z.ZodString;
192
343
  }, "strip", z.ZodTypeAny, {
193
- name: string;
194
- doctype: string;
195
- owner: string;
196
- creation: string;
197
- modified: string;
198
- modified_by: string;
199
- parent: string;
200
- parentfield: string;
201
- parenttype: string;
202
- idx: number;
203
- docstatus: number;
204
344
  company: string;
205
345
  default_warehouse: string;
206
346
  }, {
207
- name: string;
208
- doctype: string;
209
- owner: string;
210
- creation: string;
211
- modified: string;
212
- modified_by: string;
213
- parent: string;
214
- parentfield: string;
215
- parenttype: string;
216
- idx: number;
217
- docstatus: number;
218
347
  company: string;
219
348
  default_warehouse: string;
220
349
  }>, "many">;
221
350
  supplier_items: z.ZodArray<z.ZodObject<{
222
- name: z.ZodString;
223
- owner: z.ZodString;
224
- creation: z.ZodString;
225
- modified: z.ZodString;
226
- modified_by: z.ZodString;
227
- parent: z.ZodString;
228
- parentfield: z.ZodString;
229
- parenttype: z.ZodString;
230
- idx: z.ZodNumber;
231
- docstatus: z.ZodNumber;
232
- doctype: z.ZodString;
233
351
  supplier: z.ZodString;
234
352
  supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
235
353
  }, "strip", z.ZodTypeAny, {
236
- name: string;
237
- doctype: string;
238
- owner: string;
239
- creation: string;
240
- modified: string;
241
- modified_by: string;
242
- parent: string;
243
- parentfield: string;
244
- parenttype: string;
245
- idx: number;
246
- docstatus: number;
247
354
  supplier: string;
248
355
  supplier_part_no?: string | null | undefined;
249
356
  }, {
250
- name: string;
251
- doctype: string;
252
- owner: string;
253
- creation: string;
254
- modified: string;
255
- modified_by: string;
256
- parent: string;
257
- parentfield: string;
258
- parenttype: string;
259
- idx: number;
260
- docstatus: number;
261
357
  supplier: string;
262
358
  supplier_part_no?: string | null | undefined;
263
359
  }>, "many">;
@@ -273,71 +369,30 @@ export declare const Item: z.ZodObject<{
273
369
  custom_shopify_content_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
274
370
  custom_compliance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
275
371
  custom_certifications: z.ZodArray<z.ZodObject<{
276
- name: z.ZodString;
277
- owner: z.ZodString;
278
- creation: z.ZodString;
279
- modified: z.ZodString;
280
- modified_by: z.ZodString;
281
- parent: z.ZodString;
282
- parentfield: z.ZodString;
283
- parenttype: z.ZodString;
284
- idx: z.ZodNumber;
285
- docstatus: z.ZodNumber;
286
- doctype: z.ZodString;
287
372
  certification: z.ZodString;
288
373
  }, "strip", z.ZodTypeAny, {
289
- name: string;
290
- doctype: string;
291
- owner: string;
292
- creation: string;
293
- modified: string;
294
- modified_by: string;
295
- parent: string;
296
- parentfield: string;
297
- parenttype: string;
298
- idx: number;
299
- docstatus: number;
300
374
  certification: string;
301
375
  }, {
302
- name: string;
303
- doctype: string;
304
- owner: string;
305
- creation: string;
306
- modified: string;
307
- modified_by: string;
308
- parent: string;
309
- parentfield: string;
310
- parenttype: string;
311
- idx: number;
312
- docstatus: number;
313
376
  certification: string;
314
377
  }>, "many">;
315
378
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
316
379
  custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
380
  }, "strip", z.ZodTypeAny, {
318
381
  description: string;
319
- name: string;
320
- doctype: string;
321
- owner: string;
322
- creation: string;
323
- modified: string;
324
- modified_by: string;
325
- idx: number;
326
- docstatus: number;
327
- disabled: number;
382
+ disabled: 0 | 1;
328
383
  naming_series: string;
329
384
  item_code: string;
330
385
  item_name: string;
331
386
  item_group: string;
332
387
  stock_uom: string;
333
388
  grant_commission: number;
334
- weight_per_unit: number;
335
389
  weight_uom: "kg" | "g" | "mg";
336
390
  taxes: any[];
337
391
  override_base_name: number;
338
392
  sync_from_warehouse: number;
339
- allow_alternative_item: number;
340
- is_stock_item: number;
393
+ allow_alternative_item: 0 | 1;
394
+ is_stock_item: 0 | 1;
395
+ custom_is_digital: 0 | 1;
341
396
  include_item_in_manufacturing: number;
342
397
  opening_stock: number;
343
398
  valuation_rate: number;
@@ -356,7 +411,6 @@ export declare const Item: z.ZodObject<{
356
411
  end_of_life: string;
357
412
  default_material_request_type: string;
358
413
  valuation_method: string;
359
- product_weight: number;
360
414
  product_weight_unit: "kg" | "g" | "mg";
361
415
  has_batch_no: number;
362
416
  create_new_batch: number;
@@ -389,85 +443,31 @@ export declare const Item: z.ZodObject<{
389
443
  customer_code: string;
390
444
  total_projected_qty: number;
391
445
  barcodes: {
392
- name: string;
393
- doctype: string;
394
- owner: string;
395
- creation: string;
396
- modified: string;
397
- modified_by: string;
398
- parent: string;
399
- parentfield: string;
400
- parenttype: string;
401
- idx: number;
402
- docstatus: number;
403
446
  barcode: string;
404
447
  barcode_type: string;
405
448
  }[];
406
449
  reorder_levels: any[];
407
450
  uoms: {
408
- name: string;
409
- doctype: string;
410
- owner: string;
411
- creation: string;
412
- modified: string;
413
- modified_by: string;
414
- parent: string;
415
- parentfield: string;
416
- parenttype: string;
417
- idx: number;
418
- docstatus: number;
419
451
  uom: string;
420
452
  conversion_factor: number;
421
453
  }[];
422
454
  attributes: any[];
423
455
  item_defaults: {
424
- name: string;
425
- doctype: string;
426
- owner: string;
427
- creation: string;
428
- modified: string;
429
- modified_by: string;
430
- parent: string;
431
- parentfield: string;
432
- parenttype: string;
433
- idx: number;
434
- docstatus: number;
435
456
  company: string;
436
457
  default_warehouse: string;
437
458
  }[];
438
459
  supplier_items: {
439
- name: string;
440
- doctype: string;
441
- owner: string;
442
- creation: string;
443
- modified: string;
444
- modified_by: string;
445
- parent: string;
446
- parentfield: string;
447
- parenttype: string;
448
- idx: number;
449
- docstatus: number;
450
460
  supplier: string;
451
461
  supplier_part_no?: string | null | undefined;
452
462
  }[];
453
463
  customer_items: any[];
454
464
  custom_certifications: {
455
- name: string;
456
- doctype: string;
457
- owner: string;
458
- creation: string;
459
- modified: string;
460
- modified_by: string;
461
- parent: string;
462
- parentfield: string;
463
- parenttype: string;
464
- idx: number;
465
- docstatus: number;
466
465
  certification: string;
467
466
  }[];
468
467
  custom_oversell_amount: number | null;
469
468
  length?: number | null | undefined;
470
469
  image?: string | null | undefined;
470
+ weight_per_unit?: number | null | undefined;
471
471
  warehouse_category?: string | null | undefined;
472
472
  ean?: string | null | undefined;
473
473
  shipping_template?: string | null | undefined;
@@ -478,6 +478,7 @@ export declare const Item: z.ZodObject<{
478
478
  shipping_height?: number | null | undefined;
479
479
  packaging_weight_cardboard?: number | null | undefined;
480
480
  packaging_weight_plastic?: number | null | undefined;
481
+ product_weight?: number | null | undefined;
481
482
  fsc_status?: string | null | undefined;
482
483
  custom_fsc_type_of_wood?: string | null | undefined;
483
484
  custom_fsc_product_group?: string | null | undefined;
@@ -493,28 +494,16 @@ export declare const Item: z.ZodObject<{
493
494
  custom_serviceportal_configuration?: string | null | undefined;
494
495
  }, {
495
496
  description: string;
496
- name: string;
497
- doctype: string;
498
- owner: string;
499
- creation: string;
500
- modified: string;
501
- modified_by: string;
502
- idx: number;
503
- docstatus: number;
504
- disabled: number;
505
497
  naming_series: string;
506
498
  item_code: string;
507
499
  item_name: string;
508
500
  item_group: string;
509
501
  stock_uom: string;
510
502
  grant_commission: number;
511
- weight_per_unit: number;
512
503
  weight_uom: "kg" | "g" | "mg";
513
504
  taxes: any[];
514
505
  override_base_name: number;
515
506
  sync_from_warehouse: number;
516
- allow_alternative_item: number;
517
- is_stock_item: number;
518
507
  include_item_in_manufacturing: number;
519
508
  opening_stock: number;
520
509
  valuation_rate: number;
@@ -532,7 +521,6 @@ export declare const Item: z.ZodObject<{
532
521
  end_of_life: string;
533
522
  default_material_request_type: string;
534
523
  valuation_method: string;
535
- product_weight: number;
536
524
  product_weight_unit: "kg" | "g" | "mg";
537
525
  has_batch_no: number;
538
526
  create_new_batch: number;
@@ -565,86 +553,36 @@ export declare const Item: z.ZodObject<{
565
553
  customer_code: string;
566
554
  total_projected_qty: number;
567
555
  barcodes: {
568
- name: string;
569
- doctype: string;
570
- owner: string;
571
- creation: string;
572
- modified: string;
573
- modified_by: string;
574
- parent: string;
575
- parentfield: string;
576
- parenttype: string;
577
- idx: number;
578
- docstatus: number;
579
556
  barcode: string;
580
557
  barcode_type: string;
581
558
  }[];
582
559
  reorder_levels: any[];
583
560
  uoms: {
584
- name: string;
585
- doctype: string;
586
- owner: string;
587
- creation: string;
588
- modified: string;
589
- modified_by: string;
590
- parent: string;
591
- parentfield: string;
592
- parenttype: string;
593
- idx: number;
594
- docstatus: number;
595
561
  uom: string;
596
562
  conversion_factor: number;
597
563
  }[];
598
564
  attributes: any[];
599
565
  item_defaults: {
600
- name: string;
601
- doctype: string;
602
- owner: string;
603
- creation: string;
604
- modified: string;
605
- modified_by: string;
606
- parent: string;
607
- parentfield: string;
608
- parenttype: string;
609
- idx: number;
610
- docstatus: number;
611
566
  company: string;
612
567
  default_warehouse: string;
613
568
  }[];
614
569
  supplier_items: {
615
- name: string;
616
- doctype: string;
617
- owner: string;
618
- creation: string;
619
- modified: string;
620
- modified_by: string;
621
- parent: string;
622
- parentfield: string;
623
- parenttype: string;
624
- idx: number;
625
- docstatus: number;
626
570
  supplier: string;
627
571
  supplier_part_no?: string | null | undefined;
628
572
  }[];
629
573
  customer_items: any[];
630
574
  custom_certifications: {
631
- name: string;
632
- doctype: string;
633
- owner: string;
634
- creation: string;
635
- modified: string;
636
- modified_by: string;
637
- parent: string;
638
- parentfield: string;
639
- parenttype: string;
640
- idx: number;
641
- docstatus: number;
642
575
  certification: string;
643
576
  }[];
644
577
  length?: number | null | undefined;
578
+ disabled?: unknown;
645
579
  image?: string | null | undefined;
580
+ weight_per_unit?: number | null | undefined;
646
581
  warehouse_category?: string | null | undefined;
647
582
  ean?: string | null | undefined;
583
+ allow_alternative_item?: unknown;
584
+ is_stock_item?: unknown;
585
+ custom_is_digital?: unknown;
648
586
  shipping_template?: string | null | undefined;
649
587
  width?: number | null | undefined;
650
588
  height?: number | null | undefined;
@@ -654,6 +592,7 @@ export declare const Item: z.ZodObject<{
654
592
  shipping_height?: number | null | undefined;
655
593
  packaging_weight_cardboard?: number | null | undefined;
656
594
  packaging_weight_plastic?: number | null | undefined;
595
+ product_weight?: number | null | undefined;
657
596
  fsc_status?: string | null | undefined;
658
597
  custom_fsc_type_of_wood?: string | null | undefined;
659
598
  custom_fsc_product_group?: string | null | undefined;
@@ -670,16 +609,9 @@ export declare const Item: z.ZodObject<{
670
609
  custom_serviceportal_configuration?: string | null | undefined;
671
610
  }>;
672
611
  export type ItemType = z.infer<typeof Item>;
673
- export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<Omit<{
674
- name: z.ZodString;
612
+ export declare const ItemDoc: import("./DocTypeHelpers").DocModelType<z.ZodObject<{
675
613
  image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
676
614
  warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
677
- owner: z.ZodString;
678
- creation: z.ZodString;
679
- modified: z.ZodString;
680
- modified_by: z.ZodString;
681
- idx: z.ZodNumber;
682
- docstatus: z.ZodNumber;
683
615
  naming_series: z.ZodString;
684
616
  ean: z.ZodNullable<z.ZodOptional<z.ZodString>>;
685
617
  item_code: z.ZodString;
@@ -688,9 +620,18 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
688
620
  item_group: z.ZodString;
689
621
  stock_uom: z.ZodString;
690
622
  sync_from_warehouse: z.ZodNumber;
691
- disabled: z.ZodNumber;
692
- allow_alternative_item: z.ZodNumber;
693
- is_stock_item: z.ZodNumber;
623
+ disabled: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
624
+ __optionalForInput: true;
625
+ };
626
+ allow_alternative_item: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
627
+ __optionalForInput: true;
628
+ };
629
+ is_stock_item: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
630
+ __optionalForInput: true;
631
+ };
632
+ custom_is_digital: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
633
+ __optionalForInput: true;
634
+ };
694
635
  include_item_in_manufacturing: z.ZodNumber;
695
636
  opening_stock: z.ZodNumber;
696
637
  valuation_rate: z.ZodNumber;
@@ -719,9 +660,9 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
719
660
  end_of_life: z.ZodString;
720
661
  default_material_request_type: z.ZodString;
721
662
  valuation_method: z.ZodString;
722
- product_weight: z.ZodNumber;
663
+ product_weight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
723
664
  product_weight_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
724
- weight_per_unit: z.ZodNumber;
665
+ weight_per_unit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
725
666
  weight_uom: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
726
667
  has_batch_no: z.ZodNumber;
727
668
  create_new_batch: z.ZodNumber;
@@ -757,178 +698,45 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
757
698
  is_sub_contracted_item: z.ZodNumber;
758
699
  customer_code: z.ZodString;
759
700
  total_projected_qty: z.ZodNumber;
760
- doctype: z.ZodString;
761
701
  barcodes: z.ZodArray<z.ZodObject<{
762
- name: z.ZodString;
763
- owner: z.ZodString;
764
- creation: z.ZodString;
765
- modified: z.ZodString;
766
- modified_by: z.ZodString;
767
- parent: z.ZodString;
768
- parentfield: z.ZodString;
769
- parenttype: z.ZodString;
770
- idx: z.ZodNumber;
771
- docstatus: z.ZodNumber;
772
702
  barcode: z.ZodString;
773
703
  barcode_type: z.ZodString;
774
- doctype: z.ZodString;
775
704
  }, "strip", z.ZodTypeAny, {
776
- name: string;
777
- doctype: string;
778
- owner: string;
779
- creation: string;
780
- modified: string;
781
- modified_by: string;
782
- parent: string;
783
- parentfield: string;
784
- parenttype: string;
785
- idx: number;
786
- docstatus: number;
787
705
  barcode: string;
788
706
  barcode_type: string;
789
707
  }, {
790
- name: string;
791
- doctype: string;
792
- owner: string;
793
- creation: string;
794
- modified: string;
795
- modified_by: string;
796
- parent: string;
797
- parentfield: string;
798
- parenttype: string;
799
- idx: number;
800
- docstatus: number;
801
708
  barcode: string;
802
709
  barcode_type: string;
803
710
  }>, "many">;
804
711
  reorder_levels: z.ZodArray<z.ZodAny, "many">;
805
712
  uoms: z.ZodArray<z.ZodObject<{
806
- name: z.ZodString;
807
- owner: z.ZodString;
808
- creation: z.ZodString;
809
- modified: z.ZodString;
810
- modified_by: z.ZodString;
811
- parent: z.ZodString;
812
- parentfield: z.ZodString;
813
- parenttype: z.ZodString;
814
- idx: z.ZodNumber;
815
- docstatus: z.ZodNumber;
816
713
  uom: z.ZodString;
817
714
  conversion_factor: z.ZodNumber;
818
- doctype: z.ZodString;
819
715
  }, "strip", z.ZodTypeAny, {
820
- name: string;
821
- doctype: string;
822
- owner: string;
823
- creation: string;
824
- modified: string;
825
- modified_by: string;
826
- parent: string;
827
- parentfield: string;
828
- parenttype: string;
829
- idx: number;
830
- docstatus: number;
831
716
  uom: string;
832
717
  conversion_factor: number;
833
718
  }, {
834
- name: string;
835
- doctype: string;
836
- owner: string;
837
- creation: string;
838
- modified: string;
839
- modified_by: string;
840
- parent: string;
841
- parentfield: string;
842
- parenttype: string;
843
- idx: number;
844
- docstatus: number;
845
719
  uom: string;
846
720
  conversion_factor: number;
847
721
  }>, "many">;
848
722
  attributes: z.ZodArray<z.ZodAny, "many">;
849
723
  item_defaults: z.ZodArray<z.ZodObject<{
850
- name: z.ZodString;
851
- owner: z.ZodString;
852
- creation: z.ZodString;
853
- modified: z.ZodString;
854
- modified_by: z.ZodString;
855
- parent: z.ZodString;
856
- parentfield: z.ZodString;
857
- parenttype: z.ZodString;
858
- idx: z.ZodNumber;
859
- docstatus: z.ZodNumber;
860
724
  company: z.ZodString;
861
725
  default_warehouse: z.ZodString;
862
- doctype: z.ZodString;
863
726
  }, "strip", z.ZodTypeAny, {
864
- name: string;
865
- doctype: string;
866
- owner: string;
867
- creation: string;
868
- modified: string;
869
- modified_by: string;
870
- parent: string;
871
- parentfield: string;
872
- parenttype: string;
873
- idx: number;
874
- docstatus: number;
875
727
  company: string;
876
728
  default_warehouse: string;
877
729
  }, {
878
- name: string;
879
- doctype: string;
880
- owner: string;
881
- creation: string;
882
- modified: string;
883
- modified_by: string;
884
- parent: string;
885
- parentfield: string;
886
- parenttype: string;
887
- idx: number;
888
- docstatus: number;
889
730
  company: string;
890
731
  default_warehouse: string;
891
732
  }>, "many">;
892
733
  supplier_items: z.ZodArray<z.ZodObject<{
893
- name: z.ZodString;
894
- owner: z.ZodString;
895
- creation: z.ZodString;
896
- modified: z.ZodString;
897
- modified_by: z.ZodString;
898
- parent: z.ZodString;
899
- parentfield: z.ZodString;
900
- parenttype: z.ZodString;
901
- idx: z.ZodNumber;
902
- docstatus: z.ZodNumber;
903
- doctype: z.ZodString;
904
734
  supplier: z.ZodString;
905
735
  supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
906
736
  }, "strip", z.ZodTypeAny, {
907
- name: string;
908
- doctype: string;
909
- owner: string;
910
- creation: string;
911
- modified: string;
912
- modified_by: string;
913
- parent: string;
914
- parentfield: string;
915
- parenttype: string;
916
- idx: number;
917
- docstatus: number;
918
737
  supplier: string;
919
738
  supplier_part_no?: string | null | undefined;
920
739
  }, {
921
- name: string;
922
- doctype: string;
923
- owner: string;
924
- creation: string;
925
- modified: string;
926
- modified_by: string;
927
- parent: string;
928
- parentfield: string;
929
- parenttype: string;
930
- idx: number;
931
- docstatus: number;
932
740
  supplier: string;
933
741
  supplier_part_no?: string | null | undefined;
934
742
  }>, "many">;
@@ -944,1440 +752,263 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
944
752
  custom_shopify_content_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
945
753
  custom_compliance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
946
754
  custom_certifications: z.ZodArray<z.ZodObject<{
947
- name: z.ZodString;
948
- owner: z.ZodString;
949
- creation: z.ZodString;
950
- modified: z.ZodString;
951
- modified_by: z.ZodString;
952
- parent: z.ZodString;
953
- parentfield: z.ZodString;
954
- parenttype: z.ZodString;
955
- idx: z.ZodNumber;
956
- docstatus: z.ZodNumber;
957
- doctype: z.ZodString;
958
755
  certification: z.ZodString;
959
756
  }, "strip", z.ZodTypeAny, {
960
- name: string;
961
- doctype: string;
962
- owner: string;
963
- creation: string;
964
- modified: string;
965
- modified_by: string;
966
- parent: string;
967
- parentfield: string;
968
- parenttype: string;
969
- idx: number;
970
- docstatus: number;
971
757
  certification: string;
972
758
  }, {
973
- name: string;
974
- doctype: string;
975
- owner: string;
976
- creation: string;
977
- modified: string;
978
- modified_by: string;
979
- parent: string;
980
- parentfield: string;
981
- parenttype: string;
982
- idx: number;
983
- docstatus: number;
984
759
  certification: string;
985
760
  }>, "many">;
986
761
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
987
762
  custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
988
- }, "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_length" | "shipping_width" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
989
- disabled: number;
763
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
764
+ description: string;
765
+ disabled: 0 | 1;
766
+ naming_series: string;
990
767
  item_code: string;
991
768
  item_name: string;
992
- weight_per_unit: number;
769
+ item_group: string;
770
+ stock_uom: string;
771
+ grant_commission: number;
993
772
  weight_uom: "kg" | "g" | "mg";
773
+ taxes: any[];
774
+ override_base_name: number;
775
+ sync_from_warehouse: number;
776
+ allow_alternative_item: 0 | 1;
777
+ is_stock_item: 0 | 1;
778
+ custom_is_digital: 0 | 1;
779
+ include_item_in_manufacturing: number;
780
+ opening_stock: number;
781
+ valuation_rate: number;
782
+ standard_rate: number;
783
+ is_fixed_asset: number;
784
+ auto_create_assets: number;
785
+ over_delivery_receipt_allowance: number;
786
+ over_billing_allowance: number;
994
787
  custom_is_shipping_enabled: number;
788
+ dimensions_unit: "m" | "cm" | "mm";
789
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
995
790
  shipping_dimensions_unit: "m" | "cm" | "mm";
791
+ packaging_weight_unit_cardboard: "kg" | "g" | "mg";
792
+ packaging_weight_unit_plastic: "kg" | "g" | "mg";
793
+ shelf_life_in_days: number;
794
+ end_of_life: string;
795
+ default_material_request_type: string;
796
+ valuation_method: string;
797
+ product_weight_unit: "kg" | "g" | "mg";
798
+ has_batch_no: number;
799
+ create_new_batch: number;
800
+ has_expiry_date: number;
801
+ retain_sample: number;
802
+ sample_quantity: number;
803
+ has_serial_no: number;
804
+ has_variants: number;
805
+ variant_based_on: string;
806
+ min_order_qty: number;
807
+ safety_stock: number;
808
+ is_purchase_item: number;
809
+ custom_include_in_purchase_planning: number;
810
+ lead_time_days: number;
811
+ last_purchase_rate: number;
812
+ is_customer_provided_item: number;
813
+ delivered_by_supplier: number;
814
+ fsc_percentage: number;
815
+ sales_uom: string;
816
+ is_sales_item: number;
817
+ custom_is_selling_enabled: number;
818
+ max_discount: number;
819
+ enable_deferred_revenue: number;
820
+ no_of_months: number;
821
+ enable_deferred_expense: number;
822
+ no_of_months_exp: number;
823
+ inspection_required_before_purchase: number;
824
+ inspection_required_before_delivery: number;
825
+ is_sub_contracted_item: number;
826
+ customer_code: string;
827
+ total_projected_qty: number;
828
+ barcodes: {
829
+ barcode: string;
830
+ barcode_type: string;
831
+ }[];
832
+ reorder_levels: any[];
833
+ uoms: {
834
+ uom: string;
835
+ conversion_factor: number;
836
+ }[];
837
+ attributes: any[];
838
+ item_defaults: {
839
+ company: string;
840
+ default_warehouse: string;
841
+ }[];
842
+ supplier_items: {
843
+ supplier: string;
844
+ supplier_part_no?: string | null | undefined;
845
+ }[];
846
+ customer_items: any[];
847
+ custom_certifications: {
848
+ certification: string;
849
+ }[];
850
+ custom_oversell_amount: number | null;
851
+ length?: number | null | undefined;
852
+ image?: string | null | undefined;
853
+ weight_per_unit?: number | null | undefined;
996
854
  warehouse_category?: string | null | undefined;
997
855
  ean?: string | null | undefined;
998
856
  shipping_template?: string | null | undefined;
857
+ width?: number | null | undefined;
858
+ height?: number | null | undefined;
999
859
  shipping_length?: number | null | undefined;
1000
860
  shipping_width?: number | null | undefined;
1001
861
  shipping_height?: number | null | undefined;
862
+ packaging_weight_cardboard?: number | null | undefined;
863
+ packaging_weight_plastic?: number | null | undefined;
864
+ product_weight?: number | null | undefined;
865
+ fsc_status?: string | null | undefined;
866
+ custom_fsc_type_of_wood?: string | null | undefined;
867
+ custom_fsc_product_group?: string | null | undefined;
868
+ customs_tariff_number?: string | null | undefined;
869
+ country_of_origin?: string | null | undefined;
870
+ custom_product_version?: string | null | undefined;
871
+ custom_supplier?: string | null | undefined;
872
+ purchase_description?: string | null | undefined;
873
+ custom_stock_reserve?: number | null | undefined;
874
+ custom_sales_category?: string | null | undefined;
875
+ custom_shopify_content_configuration?: string | null | undefined;
876
+ custom_compliance?: string | null | undefined;
877
+ custom_serviceportal_configuration?: string | null | undefined;
1002
878
  }, {
1003
- disabled: number;
879
+ description: string;
880
+ naming_series: string;
1004
881
  item_code: string;
1005
882
  item_name: string;
1006
- weight_per_unit: number;
1007
- weight_uom: "kg" | "g" | "mg";
1008
- custom_is_shipping_enabled: number;
1009
- shipping_dimensions_unit: "m" | "cm" | "mm";
1010
- warehouse_category?: string | null | undefined;
1011
- ean?: string | null | undefined;
1012
- shipping_template?: string | null | undefined;
1013
- shipping_length?: number | null | undefined;
1014
- shipping_width?: number | null | undefined;
1015
- shipping_height?: number | null | undefined;
1016
- }>, "many">;
1017
- export type ItemListWithShippingTemplateType = z.infer<typeof ItemListWithShippingTemplate>;
1018
- export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<Pick<Omit<{
1019
- name: z.ZodString;
1020
- image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1021
- warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1022
- owner: z.ZodString;
1023
- creation: z.ZodString;
1024
- modified: z.ZodString;
1025
- modified_by: z.ZodString;
1026
- idx: z.ZodNumber;
1027
- docstatus: z.ZodNumber;
1028
- naming_series: z.ZodString;
1029
- ean: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1030
- item_code: z.ZodString;
1031
- item_name: z.ZodString;
1032
- override_base_name: z.ZodNumber;
1033
- item_group: z.ZodString;
1034
- stock_uom: z.ZodString;
1035
- sync_from_warehouse: z.ZodNumber;
1036
- disabled: z.ZodNumber;
1037
- allow_alternative_item: z.ZodNumber;
1038
- is_stock_item: z.ZodNumber;
1039
- include_item_in_manufacturing: z.ZodNumber;
1040
- opening_stock: z.ZodNumber;
1041
- valuation_rate: z.ZodNumber;
1042
- standard_rate: z.ZodNumber;
1043
- is_fixed_asset: z.ZodNumber;
1044
- auto_create_assets: z.ZodNumber;
1045
- over_delivery_receipt_allowance: z.ZodNumber;
1046
- over_billing_allowance: z.ZodNumber;
1047
- custom_is_shipping_enabled: z.ZodNumber;
1048
- shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1049
- length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1050
- width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1051
- height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1052
- dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1053
- custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
1054
- shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1055
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1056
- shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1057
- shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1058
- packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1059
- packaging_weight_unit_cardboard: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1060
- packaging_weight_plastic: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1061
- packaging_weight_unit_plastic: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1062
- description: z.ZodString;
1063
- shelf_life_in_days: z.ZodNumber;
1064
- end_of_life: z.ZodString;
1065
- default_material_request_type: z.ZodString;
1066
- valuation_method: z.ZodString;
1067
- product_weight: z.ZodNumber;
1068
- product_weight_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1069
- weight_per_unit: z.ZodNumber;
1070
- weight_uom: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1071
- has_batch_no: z.ZodNumber;
1072
- create_new_batch: z.ZodNumber;
1073
- has_expiry_date: z.ZodNumber;
1074
- retain_sample: z.ZodNumber;
1075
- sample_quantity: z.ZodNumber;
1076
- has_serial_no: z.ZodNumber;
1077
- has_variants: z.ZodNumber;
1078
- variant_based_on: z.ZodString;
1079
- min_order_qty: z.ZodNumber;
1080
- safety_stock: z.ZodNumber;
1081
- is_purchase_item: z.ZodNumber;
1082
- custom_include_in_purchase_planning: z.ZodNumber;
1083
- lead_time_days: z.ZodNumber;
1084
- last_purchase_rate: z.ZodNumber;
1085
- is_customer_provided_item: z.ZodNumber;
1086
- delivered_by_supplier: z.ZodNumber;
1087
- fsc_status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1088
- fsc_percentage: z.ZodNumber;
1089
- custom_fsc_type_of_wood: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1090
- custom_fsc_product_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1091
- sales_uom: z.ZodString;
1092
- is_sales_item: z.ZodNumber;
1093
- custom_is_selling_enabled: z.ZodNumber;
1094
- grant_commission: z.ZodNumber;
1095
- max_discount: z.ZodNumber;
1096
- enable_deferred_revenue: z.ZodNumber;
1097
- no_of_months: z.ZodNumber;
1098
- enable_deferred_expense: z.ZodNumber;
1099
- no_of_months_exp: z.ZodNumber;
1100
- inspection_required_before_purchase: z.ZodNumber;
1101
- inspection_required_before_delivery: z.ZodNumber;
1102
- is_sub_contracted_item: z.ZodNumber;
1103
- customer_code: z.ZodString;
1104
- total_projected_qty: z.ZodNumber;
1105
- doctype: z.ZodString;
1106
- barcodes: z.ZodArray<z.ZodObject<{
1107
- name: z.ZodString;
1108
- owner: z.ZodString;
1109
- creation: z.ZodString;
1110
- modified: z.ZodString;
1111
- modified_by: z.ZodString;
1112
- parent: z.ZodString;
1113
- parentfield: z.ZodString;
1114
- parenttype: z.ZodString;
1115
- idx: z.ZodNumber;
1116
- docstatus: z.ZodNumber;
1117
- barcode: z.ZodString;
1118
- barcode_type: z.ZodString;
1119
- doctype: z.ZodString;
1120
- }, "strip", z.ZodTypeAny, {
1121
- name: string;
1122
- doctype: string;
1123
- owner: string;
1124
- creation: string;
1125
- modified: string;
1126
- modified_by: string;
1127
- parent: string;
1128
- parentfield: string;
1129
- parenttype: string;
1130
- idx: number;
1131
- docstatus: number;
1132
- barcode: string;
1133
- barcode_type: string;
1134
- }, {
1135
- name: string;
1136
- doctype: string;
1137
- owner: string;
1138
- creation: string;
1139
- modified: string;
1140
- modified_by: string;
1141
- parent: string;
1142
- parentfield: string;
1143
- parenttype: string;
1144
- idx: number;
1145
- docstatus: number;
1146
- barcode: string;
1147
- barcode_type: string;
1148
- }>, "many">;
1149
- reorder_levels: z.ZodArray<z.ZodAny, "many">;
1150
- uoms: z.ZodArray<z.ZodObject<{
1151
- name: z.ZodString;
1152
- owner: z.ZodString;
1153
- creation: z.ZodString;
1154
- modified: z.ZodString;
1155
- modified_by: z.ZodString;
1156
- parent: z.ZodString;
1157
- parentfield: z.ZodString;
1158
- parenttype: z.ZodString;
1159
- idx: z.ZodNumber;
1160
- docstatus: z.ZodNumber;
1161
- uom: z.ZodString;
1162
- conversion_factor: z.ZodNumber;
1163
- doctype: z.ZodString;
1164
- }, "strip", z.ZodTypeAny, {
1165
- name: string;
1166
- doctype: string;
1167
- owner: string;
1168
- creation: string;
1169
- modified: string;
1170
- modified_by: string;
1171
- parent: string;
1172
- parentfield: string;
1173
- parenttype: string;
1174
- idx: number;
1175
- docstatus: number;
1176
- uom: string;
1177
- conversion_factor: number;
1178
- }, {
1179
- name: string;
1180
- doctype: string;
1181
- owner: string;
1182
- creation: string;
1183
- modified: string;
1184
- modified_by: string;
1185
- parent: string;
1186
- parentfield: string;
1187
- parenttype: string;
1188
- idx: number;
1189
- docstatus: number;
1190
- uom: string;
1191
- conversion_factor: number;
1192
- }>, "many">;
1193
- attributes: z.ZodArray<z.ZodAny, "many">;
1194
- item_defaults: z.ZodArray<z.ZodObject<{
1195
- name: z.ZodString;
1196
- owner: z.ZodString;
1197
- creation: z.ZodString;
1198
- modified: z.ZodString;
1199
- modified_by: z.ZodString;
1200
- parent: z.ZodString;
1201
- parentfield: z.ZodString;
1202
- parenttype: z.ZodString;
1203
- idx: z.ZodNumber;
1204
- docstatus: z.ZodNumber;
1205
- company: z.ZodString;
1206
- default_warehouse: z.ZodString;
1207
- doctype: z.ZodString;
1208
- }, "strip", z.ZodTypeAny, {
1209
- name: string;
1210
- doctype: string;
1211
- owner: string;
1212
- creation: string;
1213
- modified: string;
1214
- modified_by: string;
1215
- parent: string;
1216
- parentfield: string;
1217
- parenttype: string;
1218
- idx: number;
1219
- docstatus: number;
1220
- company: string;
1221
- default_warehouse: string;
1222
- }, {
1223
- name: string;
1224
- doctype: string;
1225
- owner: string;
1226
- creation: string;
1227
- modified: string;
1228
- modified_by: string;
1229
- parent: string;
1230
- parentfield: string;
1231
- parenttype: string;
1232
- idx: number;
1233
- docstatus: number;
1234
- company: string;
1235
- default_warehouse: string;
1236
- }>, "many">;
1237
- supplier_items: z.ZodArray<z.ZodObject<{
1238
- name: z.ZodString;
1239
- owner: z.ZodString;
1240
- creation: z.ZodString;
1241
- modified: z.ZodString;
1242
- modified_by: z.ZodString;
1243
- parent: z.ZodString;
1244
- parentfield: z.ZodString;
1245
- parenttype: z.ZodString;
1246
- idx: z.ZodNumber;
1247
- docstatus: z.ZodNumber;
1248
- doctype: z.ZodString;
1249
- supplier: z.ZodString;
1250
- supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1251
- }, "strip", z.ZodTypeAny, {
1252
- name: string;
1253
- doctype: string;
1254
- owner: string;
1255
- creation: string;
1256
- modified: string;
1257
- modified_by: string;
1258
- parent: string;
1259
- parentfield: string;
1260
- parenttype: string;
1261
- idx: number;
1262
- docstatus: number;
1263
- supplier: string;
1264
- supplier_part_no?: string | null | undefined;
1265
- }, {
1266
- name: string;
1267
- doctype: string;
1268
- owner: string;
1269
- creation: string;
1270
- modified: string;
1271
- modified_by: string;
1272
- parent: string;
1273
- parentfield: string;
1274
- parenttype: string;
1275
- idx: number;
1276
- docstatus: number;
1277
- supplier: string;
1278
- supplier_part_no?: string | null | undefined;
1279
- }>, "many">;
1280
- customer_items: z.ZodArray<z.ZodAny, "many">;
1281
- taxes: z.ZodArray<z.ZodAny, "many">;
1282
- customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1283
- country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1284
- custom_product_version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1285
- custom_supplier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1286
- purchase_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1287
- custom_stock_reserve: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1288
- custom_sales_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1289
- custom_shopify_content_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1290
- custom_compliance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1291
- custom_certifications: z.ZodArray<z.ZodObject<{
1292
- name: z.ZodString;
1293
- owner: z.ZodString;
1294
- creation: z.ZodString;
1295
- modified: z.ZodString;
1296
- modified_by: z.ZodString;
1297
- parent: z.ZodString;
1298
- parentfield: z.ZodString;
1299
- parenttype: z.ZodString;
1300
- idx: z.ZodNumber;
1301
- docstatus: z.ZodNumber;
1302
- doctype: z.ZodString;
1303
- certification: z.ZodString;
1304
- }, "strip", z.ZodTypeAny, {
1305
- name: string;
1306
- doctype: string;
1307
- owner: string;
1308
- creation: string;
1309
- modified: string;
1310
- modified_by: string;
1311
- parent: string;
1312
- parentfield: string;
1313
- parenttype: string;
1314
- idx: number;
1315
- docstatus: number;
1316
- certification: string;
1317
- }, {
1318
- name: string;
1319
- doctype: string;
1320
- owner: string;
1321
- creation: string;
1322
- modified: string;
1323
- modified_by: string;
1324
- parent: string;
1325
- parentfield: string;
1326
- parenttype: string;
1327
- idx: number;
1328
- docstatus: number;
1329
- certification: string;
1330
- }>, "many">;
1331
- custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1332
- custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1333
- }, "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_length" | "shipping_width" | "shipping_height" | "shipping_dimensions_unit"> & {
1334
- sku: z.ZodString;
1335
- }, "strip", z.ZodTypeAny, {
1336
- disabled: number;
1337
- item_name: string;
1338
- weight_per_unit: number;
1339
- weight_uom: "kg" | "g" | "mg";
1340
- custom_is_shipping_enabled: number;
1341
- shipping_dimensions_unit: "m" | "cm" | "mm";
1342
- sku: string;
1343
- warehouse_category?: string | null | undefined;
1344
- ean?: string | null | undefined;
1345
- shipping_template?: string | null | undefined;
1346
- shipping_length?: number | null | undefined;
1347
- shipping_width?: number | null | undefined;
1348
- shipping_height?: number | null | undefined;
1349
- }, {
1350
- disabled: number;
1351
- item_name: string;
1352
- weight_per_unit: number;
1353
- weight_uom: "kg" | "g" | "mg";
1354
- custom_is_shipping_enabled: number;
1355
- shipping_dimensions_unit: "m" | "cm" | "mm";
1356
- sku: string;
1357
- warehouse_category?: string | null | undefined;
1358
- ean?: string | null | undefined;
1359
- shipping_template?: string | null | undefined;
1360
- shipping_length?: number | null | undefined;
1361
- shipping_width?: number | null | undefined;
1362
- shipping_height?: number | null | undefined;
1363
- }>, "many">;
1364
- export type ItemListWithShippingTemplateSkuType = z.infer<typeof ItemListWithShippingTemplateSku>;
1365
- export declare const ERPNextItemResponseNoneStockItemsDictFalse: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
1366
- declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1367
- name: z.ZodString;
1368
- image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1369
- warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1370
- owner: z.ZodString;
1371
- creation: z.ZodString;
1372
- modified: z.ZodString;
1373
- modified_by: z.ZodString;
1374
- idx: z.ZodNumber;
1375
- docstatus: z.ZodNumber;
1376
- naming_series: z.ZodString;
1377
- ean: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1378
- item_code: z.ZodString;
1379
- item_name: z.ZodString;
1380
- override_base_name: z.ZodNumber;
1381
- item_group: z.ZodString;
1382
- stock_uom: z.ZodString;
1383
- sync_from_warehouse: z.ZodNumber;
1384
- disabled: z.ZodNumber;
1385
- allow_alternative_item: z.ZodNumber;
1386
- is_stock_item: z.ZodNumber;
1387
- include_item_in_manufacturing: z.ZodNumber;
1388
- opening_stock: z.ZodNumber;
1389
- valuation_rate: z.ZodNumber;
1390
- standard_rate: z.ZodNumber;
1391
- is_fixed_asset: z.ZodNumber;
1392
- auto_create_assets: z.ZodNumber;
1393
- over_delivery_receipt_allowance: z.ZodNumber;
1394
- over_billing_allowance: z.ZodNumber;
1395
- custom_is_shipping_enabled: z.ZodNumber;
1396
- shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1397
- length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1398
- width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1399
- height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1400
- dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1401
- custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
1402
- shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1403
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1404
- shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1405
- shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1406
- packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1407
- packaging_weight_unit_cardboard: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1408
- packaging_weight_plastic: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1409
- packaging_weight_unit_plastic: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1410
- description: z.ZodString;
1411
- shelf_life_in_days: z.ZodNumber;
1412
- end_of_life: z.ZodString;
1413
- default_material_request_type: z.ZodString;
1414
- valuation_method: z.ZodString;
1415
- product_weight: z.ZodNumber;
1416
- product_weight_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1417
- weight_per_unit: z.ZodNumber;
1418
- weight_uom: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1419
- has_batch_no: z.ZodNumber;
1420
- create_new_batch: z.ZodNumber;
1421
- has_expiry_date: z.ZodNumber;
1422
- retain_sample: z.ZodNumber;
1423
- sample_quantity: z.ZodNumber;
1424
- has_serial_no: z.ZodNumber;
1425
- has_variants: z.ZodNumber;
1426
- variant_based_on: z.ZodString;
1427
- min_order_qty: z.ZodNumber;
1428
- safety_stock: z.ZodNumber;
1429
- is_purchase_item: z.ZodNumber;
1430
- custom_include_in_purchase_planning: z.ZodNumber;
1431
- lead_time_days: z.ZodNumber;
1432
- last_purchase_rate: z.ZodNumber;
1433
- is_customer_provided_item: z.ZodNumber;
1434
- delivered_by_supplier: z.ZodNumber;
1435
- fsc_status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1436
- fsc_percentage: z.ZodNumber;
1437
- custom_fsc_type_of_wood: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1438
- custom_fsc_product_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1439
- sales_uom: z.ZodString;
1440
- is_sales_item: z.ZodNumber;
1441
- custom_is_selling_enabled: z.ZodNumber;
1442
- grant_commission: z.ZodNumber;
1443
- max_discount: z.ZodNumber;
1444
- enable_deferred_revenue: z.ZodNumber;
1445
- no_of_months: z.ZodNumber;
1446
- enable_deferred_expense: z.ZodNumber;
1447
- no_of_months_exp: z.ZodNumber;
1448
- inspection_required_before_purchase: z.ZodNumber;
1449
- inspection_required_before_delivery: z.ZodNumber;
1450
- is_sub_contracted_item: z.ZodNumber;
1451
- customer_code: z.ZodString;
1452
- total_projected_qty: z.ZodNumber;
1453
- doctype: z.ZodString;
1454
- barcodes: z.ZodArray<z.ZodObject<{
1455
- name: z.ZodString;
1456
- owner: z.ZodString;
1457
- creation: z.ZodString;
1458
- modified: z.ZodString;
1459
- modified_by: z.ZodString;
1460
- parent: z.ZodString;
1461
- parentfield: z.ZodString;
1462
- parenttype: z.ZodString;
1463
- idx: z.ZodNumber;
1464
- docstatus: z.ZodNumber;
1465
- barcode: z.ZodString;
1466
- barcode_type: z.ZodString;
1467
- doctype: z.ZodString;
1468
- }, "strip", z.ZodTypeAny, {
1469
- name: string;
1470
- doctype: string;
1471
- owner: string;
1472
- creation: string;
1473
- modified: string;
1474
- modified_by: string;
1475
- parent: string;
1476
- parentfield: string;
1477
- parenttype: string;
1478
- idx: number;
1479
- docstatus: number;
1480
- barcode: string;
1481
- barcode_type: string;
1482
- }, {
1483
- name: string;
1484
- doctype: string;
1485
- owner: string;
1486
- creation: string;
1487
- modified: string;
1488
- modified_by: string;
1489
- parent: string;
1490
- parentfield: string;
1491
- parenttype: string;
1492
- idx: number;
1493
- docstatus: number;
1494
- barcode: string;
1495
- barcode_type: string;
1496
- }>, "many">;
1497
- reorder_levels: z.ZodArray<z.ZodAny, "many">;
1498
- uoms: z.ZodArray<z.ZodObject<{
1499
- name: z.ZodString;
1500
- owner: z.ZodString;
1501
- creation: z.ZodString;
1502
- modified: z.ZodString;
1503
- modified_by: z.ZodString;
1504
- parent: z.ZodString;
1505
- parentfield: z.ZodString;
1506
- parenttype: z.ZodString;
1507
- idx: z.ZodNumber;
1508
- docstatus: z.ZodNumber;
1509
- uom: z.ZodString;
1510
- conversion_factor: z.ZodNumber;
1511
- doctype: z.ZodString;
1512
- }, "strip", z.ZodTypeAny, {
1513
- name: string;
1514
- doctype: string;
1515
- owner: string;
1516
- creation: string;
1517
- modified: string;
1518
- modified_by: string;
1519
- parent: string;
1520
- parentfield: string;
1521
- parenttype: string;
1522
- idx: number;
1523
- docstatus: number;
1524
- uom: string;
1525
- conversion_factor: number;
1526
- }, {
1527
- name: string;
1528
- doctype: string;
1529
- owner: string;
1530
- creation: string;
1531
- modified: string;
1532
- modified_by: string;
1533
- parent: string;
1534
- parentfield: string;
1535
- parenttype: string;
1536
- idx: number;
1537
- docstatus: number;
1538
- uom: string;
1539
- conversion_factor: number;
1540
- }>, "many">;
1541
- attributes: z.ZodArray<z.ZodAny, "many">;
1542
- item_defaults: z.ZodArray<z.ZodObject<{
1543
- name: z.ZodString;
1544
- owner: z.ZodString;
1545
- creation: z.ZodString;
1546
- modified: z.ZodString;
1547
- modified_by: z.ZodString;
1548
- parent: z.ZodString;
1549
- parentfield: z.ZodString;
1550
- parenttype: z.ZodString;
1551
- idx: z.ZodNumber;
1552
- docstatus: z.ZodNumber;
1553
- company: z.ZodString;
1554
- default_warehouse: z.ZodString;
1555
- doctype: z.ZodString;
1556
- }, "strip", z.ZodTypeAny, {
1557
- name: string;
1558
- doctype: string;
1559
- owner: string;
1560
- creation: string;
1561
- modified: string;
1562
- modified_by: string;
1563
- parent: string;
1564
- parentfield: string;
1565
- parenttype: string;
1566
- idx: number;
1567
- docstatus: number;
1568
- company: string;
1569
- default_warehouse: string;
1570
- }, {
1571
- name: string;
1572
- doctype: string;
1573
- owner: string;
1574
- creation: string;
1575
- modified: string;
1576
- modified_by: string;
1577
- parent: string;
1578
- parentfield: string;
1579
- parenttype: string;
1580
- idx: number;
1581
- docstatus: number;
1582
- company: string;
1583
- default_warehouse: string;
1584
- }>, "many">;
1585
- supplier_items: z.ZodArray<z.ZodObject<{
1586
- name: z.ZodString;
1587
- owner: z.ZodString;
1588
- creation: z.ZodString;
1589
- modified: z.ZodString;
1590
- modified_by: z.ZodString;
1591
- parent: z.ZodString;
1592
- parentfield: z.ZodString;
1593
- parenttype: z.ZodString;
1594
- idx: z.ZodNumber;
1595
- docstatus: z.ZodNumber;
1596
- doctype: z.ZodString;
1597
- supplier: z.ZodString;
1598
- supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1599
- }, "strip", z.ZodTypeAny, {
1600
- name: string;
1601
- doctype: string;
1602
- owner: string;
1603
- creation: string;
1604
- modified: string;
1605
- modified_by: string;
1606
- parent: string;
1607
- parentfield: string;
1608
- parenttype: string;
1609
- idx: number;
1610
- docstatus: number;
1611
- supplier: string;
1612
- supplier_part_no?: string | null | undefined;
1613
- }, {
1614
- name: string;
1615
- doctype: string;
1616
- owner: string;
1617
- creation: string;
1618
- modified: string;
1619
- modified_by: string;
1620
- parent: string;
1621
- parentfield: string;
1622
- parenttype: string;
1623
- idx: number;
1624
- docstatus: number;
1625
- supplier: string;
1626
- supplier_part_no?: string | null | undefined;
1627
- }>, "many">;
1628
- customer_items: z.ZodArray<z.ZodAny, "many">;
1629
- taxes: z.ZodArray<z.ZodAny, "many">;
1630
- customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1631
- country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1632
- custom_product_version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1633
- custom_supplier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1634
- purchase_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1635
- custom_stock_reserve: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1636
- custom_sales_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1637
- custom_shopify_content_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1638
- custom_compliance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1639
- custom_certifications: z.ZodArray<z.ZodObject<{
1640
- name: z.ZodString;
1641
- owner: z.ZodString;
1642
- creation: z.ZodString;
1643
- modified: z.ZodString;
1644
- modified_by: z.ZodString;
1645
- parent: z.ZodString;
1646
- parentfield: z.ZodString;
1647
- parenttype: z.ZodString;
1648
- idx: z.ZodNumber;
1649
- docstatus: z.ZodNumber;
1650
- doctype: z.ZodString;
1651
- certification: z.ZodString;
1652
- }, "strip", z.ZodTypeAny, {
1653
- name: string;
1654
- doctype: string;
1655
- owner: string;
1656
- creation: string;
1657
- modified: string;
1658
- modified_by: string;
1659
- parent: string;
1660
- parentfield: string;
1661
- parenttype: string;
1662
- idx: number;
1663
- docstatus: number;
1664
- certification: string;
1665
- }, {
1666
- name: string;
1667
- doctype: string;
1668
- owner: string;
1669
- creation: string;
1670
- modified: string;
1671
- modified_by: string;
1672
- parent: string;
1673
- parentfield: string;
1674
- parenttype: string;
1675
- idx: number;
1676
- docstatus: number;
1677
- certification: string;
1678
- }>, "many">;
1679
- custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1680
- custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1681
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "shipping_length" | "shipping_width" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
1682
- shipping_dimensions_unit: "m" | "cm" | "mm";
1683
- shipping_length?: number | null | undefined;
1684
- shipping_width?: number | null | undefined;
1685
- shipping_height?: number | null | undefined;
1686
- }, {
1687
- shipping_dimensions_unit: "m" | "cm" | "mm";
1688
- shipping_length?: number | null | undefined;
1689
- shipping_width?: number | null | undefined;
1690
- shipping_height?: number | null | undefined;
1691
- }>;
1692
- export type ItemDimensionsInfoType = z.infer<typeof ItemDimensionsInfo>;
1693
- export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1694
- name: z.ZodString;
1695
- image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1696
- warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1697
- owner: z.ZodString;
1698
- creation: z.ZodString;
1699
- modified: z.ZodString;
1700
- modified_by: z.ZodString;
1701
- idx: z.ZodNumber;
1702
- docstatus: z.ZodNumber;
1703
- naming_series: z.ZodString;
1704
- ean: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1705
- item_code: z.ZodString;
1706
- item_name: z.ZodString;
1707
- override_base_name: z.ZodNumber;
1708
- item_group: z.ZodString;
1709
- stock_uom: z.ZodString;
1710
- sync_from_warehouse: z.ZodNumber;
1711
- disabled: z.ZodNumber;
1712
- allow_alternative_item: z.ZodNumber;
1713
- is_stock_item: z.ZodNumber;
1714
- include_item_in_manufacturing: z.ZodNumber;
1715
- opening_stock: z.ZodNumber;
1716
- valuation_rate: z.ZodNumber;
1717
- standard_rate: z.ZodNumber;
1718
- is_fixed_asset: z.ZodNumber;
1719
- auto_create_assets: z.ZodNumber;
1720
- over_delivery_receipt_allowance: z.ZodNumber;
1721
- over_billing_allowance: z.ZodNumber;
1722
- custom_is_shipping_enabled: z.ZodNumber;
1723
- shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1724
- length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1725
- width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1726
- height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1727
- dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1728
- custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
1729
- shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1730
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1731
- shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1732
- shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1733
- packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1734
- packaging_weight_unit_cardboard: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1735
- packaging_weight_plastic: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1736
- packaging_weight_unit_plastic: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1737
- description: z.ZodString;
1738
- shelf_life_in_days: z.ZodNumber;
1739
- end_of_life: z.ZodString;
1740
- default_material_request_type: z.ZodString;
1741
- valuation_method: z.ZodString;
1742
- product_weight: z.ZodNumber;
1743
- product_weight_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1744
- weight_per_unit: z.ZodNumber;
1745
- weight_uom: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
1746
- has_batch_no: z.ZodNumber;
1747
- create_new_batch: z.ZodNumber;
1748
- has_expiry_date: z.ZodNumber;
1749
- retain_sample: z.ZodNumber;
1750
- sample_quantity: z.ZodNumber;
1751
- has_serial_no: z.ZodNumber;
1752
- has_variants: z.ZodNumber;
1753
- variant_based_on: z.ZodString;
1754
- min_order_qty: z.ZodNumber;
1755
- safety_stock: z.ZodNumber;
1756
- is_purchase_item: z.ZodNumber;
1757
- custom_include_in_purchase_planning: z.ZodNumber;
1758
- lead_time_days: z.ZodNumber;
1759
- last_purchase_rate: z.ZodNumber;
1760
- is_customer_provided_item: z.ZodNumber;
1761
- delivered_by_supplier: z.ZodNumber;
1762
- fsc_status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1763
- fsc_percentage: z.ZodNumber;
1764
- custom_fsc_type_of_wood: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1765
- custom_fsc_product_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1766
- sales_uom: z.ZodString;
1767
- is_sales_item: z.ZodNumber;
1768
- custom_is_selling_enabled: z.ZodNumber;
1769
- grant_commission: z.ZodNumber;
1770
- max_discount: z.ZodNumber;
1771
- enable_deferred_revenue: z.ZodNumber;
1772
- no_of_months: z.ZodNumber;
1773
- enable_deferred_expense: z.ZodNumber;
1774
- no_of_months_exp: z.ZodNumber;
1775
- inspection_required_before_purchase: z.ZodNumber;
1776
- inspection_required_before_delivery: z.ZodNumber;
1777
- is_sub_contracted_item: z.ZodNumber;
1778
- customer_code: z.ZodString;
1779
- total_projected_qty: z.ZodNumber;
1780
- doctype: z.ZodString;
1781
- barcodes: z.ZodArray<z.ZodObject<{
1782
- name: z.ZodString;
1783
- owner: z.ZodString;
1784
- creation: z.ZodString;
1785
- modified: z.ZodString;
1786
- modified_by: z.ZodString;
1787
- parent: z.ZodString;
1788
- parentfield: z.ZodString;
1789
- parenttype: z.ZodString;
1790
- idx: z.ZodNumber;
1791
- docstatus: z.ZodNumber;
1792
- barcode: z.ZodString;
1793
- barcode_type: z.ZodString;
1794
- doctype: z.ZodString;
1795
- }, "strip", z.ZodTypeAny, {
1796
- name: string;
1797
- doctype: string;
1798
- owner: string;
1799
- creation: string;
1800
- modified: string;
1801
- modified_by: string;
1802
- parent: string;
1803
- parentfield: string;
1804
- parenttype: string;
1805
- idx: number;
1806
- docstatus: number;
1807
- barcode: string;
1808
- barcode_type: string;
1809
- }, {
1810
- name: string;
1811
- doctype: string;
1812
- owner: string;
1813
- creation: string;
1814
- modified: string;
1815
- modified_by: string;
1816
- parent: string;
1817
- parentfield: string;
1818
- parenttype: string;
1819
- idx: number;
1820
- docstatus: number;
1821
- barcode: string;
1822
- barcode_type: string;
1823
- }>, "many">;
1824
- reorder_levels: z.ZodArray<z.ZodAny, "many">;
1825
- uoms: z.ZodArray<z.ZodObject<{
1826
- name: z.ZodString;
1827
- owner: z.ZodString;
1828
- creation: z.ZodString;
1829
- modified: z.ZodString;
1830
- modified_by: z.ZodString;
1831
- parent: z.ZodString;
1832
- parentfield: z.ZodString;
1833
- parenttype: z.ZodString;
1834
- idx: z.ZodNumber;
1835
- docstatus: z.ZodNumber;
1836
- uom: z.ZodString;
1837
- conversion_factor: z.ZodNumber;
1838
- doctype: z.ZodString;
1839
- }, "strip", z.ZodTypeAny, {
1840
- name: string;
1841
- doctype: string;
1842
- owner: string;
1843
- creation: string;
1844
- modified: string;
1845
- modified_by: string;
1846
- parent: string;
1847
- parentfield: string;
1848
- parenttype: string;
1849
- idx: number;
1850
- docstatus: number;
1851
- uom: string;
1852
- conversion_factor: number;
1853
- }, {
1854
- name: string;
1855
- doctype: string;
1856
- owner: string;
1857
- creation: string;
1858
- modified: string;
1859
- modified_by: string;
1860
- parent: string;
1861
- parentfield: string;
1862
- parenttype: string;
1863
- idx: number;
1864
- docstatus: number;
1865
- uom: string;
1866
- conversion_factor: number;
1867
- }>, "many">;
1868
- attributes: z.ZodArray<z.ZodAny, "many">;
1869
- item_defaults: z.ZodArray<z.ZodObject<{
1870
- name: z.ZodString;
1871
- owner: z.ZodString;
1872
- creation: z.ZodString;
1873
- modified: z.ZodString;
1874
- modified_by: z.ZodString;
1875
- parent: z.ZodString;
1876
- parentfield: z.ZodString;
1877
- parenttype: z.ZodString;
1878
- idx: z.ZodNumber;
1879
- docstatus: z.ZodNumber;
1880
- company: z.ZodString;
1881
- default_warehouse: z.ZodString;
1882
- doctype: z.ZodString;
1883
- }, "strip", z.ZodTypeAny, {
1884
- name: string;
1885
- doctype: string;
1886
- owner: string;
1887
- creation: string;
1888
- modified: string;
1889
- modified_by: string;
1890
- parent: string;
1891
- parentfield: string;
1892
- parenttype: string;
1893
- idx: number;
1894
- docstatus: number;
1895
- company: string;
1896
- default_warehouse: string;
1897
- }, {
1898
- name: string;
1899
- doctype: string;
1900
- owner: string;
1901
- creation: string;
1902
- modified: string;
1903
- modified_by: string;
1904
- parent: string;
1905
- parentfield: string;
1906
- parenttype: string;
1907
- idx: number;
1908
- docstatus: number;
1909
- company: string;
1910
- default_warehouse: string;
1911
- }>, "many">;
1912
- supplier_items: z.ZodArray<z.ZodObject<{
1913
- name: z.ZodString;
1914
- owner: z.ZodString;
1915
- creation: z.ZodString;
1916
- modified: z.ZodString;
1917
- modified_by: z.ZodString;
1918
- parent: z.ZodString;
1919
- parentfield: z.ZodString;
1920
- parenttype: z.ZodString;
1921
- idx: z.ZodNumber;
1922
- docstatus: z.ZodNumber;
1923
- doctype: z.ZodString;
1924
- supplier: z.ZodString;
1925
- supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1926
- }, "strip", z.ZodTypeAny, {
1927
- name: string;
1928
- doctype: string;
1929
- owner: string;
1930
- creation: string;
1931
- modified: string;
1932
- modified_by: string;
1933
- parent: string;
1934
- parentfield: string;
1935
- parenttype: string;
1936
- idx: number;
1937
- docstatus: number;
1938
- supplier: string;
1939
- supplier_part_no?: string | null | undefined;
1940
- }, {
1941
- name: string;
1942
- doctype: string;
1943
- owner: string;
1944
- creation: string;
1945
- modified: string;
1946
- modified_by: string;
1947
- parent: string;
1948
- parentfield: string;
1949
- parenttype: string;
1950
- idx: number;
1951
- docstatus: number;
1952
- supplier: string;
1953
- supplier_part_no?: string | null | undefined;
1954
- }>, "many">;
1955
- customer_items: z.ZodArray<z.ZodAny, "many">;
1956
- taxes: z.ZodArray<z.ZodAny, "many">;
1957
- customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1958
- country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1959
- custom_product_version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1960
- custom_supplier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1961
- purchase_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1962
- custom_stock_reserve: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1963
- custom_sales_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1964
- custom_shopify_content_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1965
- custom_compliance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1966
- custom_certifications: z.ZodArray<z.ZodObject<{
1967
- name: z.ZodString;
1968
- owner: z.ZodString;
1969
- creation: z.ZodString;
1970
- modified: z.ZodString;
1971
- modified_by: z.ZodString;
1972
- parent: z.ZodString;
1973
- parentfield: z.ZodString;
1974
- parenttype: z.ZodString;
1975
- idx: z.ZodNumber;
1976
- docstatus: z.ZodNumber;
1977
- doctype: z.ZodString;
1978
- certification: z.ZodString;
1979
- }, "strip", z.ZodTypeAny, {
1980
- name: string;
1981
- doctype: string;
1982
- owner: string;
1983
- creation: string;
1984
- modified: string;
1985
- modified_by: string;
1986
- parent: string;
1987
- parentfield: string;
1988
- parenttype: string;
1989
- idx: number;
1990
- docstatus: number;
1991
- certification: string;
1992
- }, {
1993
- name: string;
1994
- doctype: string;
1995
- owner: string;
1996
- creation: string;
1997
- modified: string;
1998
- modified_by: string;
1999
- parent: string;
2000
- parentfield: string;
2001
- parenttype: string;
2002
- idx: number;
2003
- docstatus: number;
2004
- certification: string;
2005
- }>, "many">;
2006
- custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
2007
- custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2008
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "item_code">, "strip", z.ZodTypeAny, {
2009
- item_code: string;
2010
- }, {
2011
- item_code: string;
2012
- }>, "many">;
2013
- export type ItemListNameType = z.infer<typeof ItemListName>;
2014
- export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
2015
- name: z.ZodString;
2016
- image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2017
- warehouse_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2018
- owner: z.ZodString;
2019
- creation: z.ZodString;
2020
- modified: z.ZodString;
2021
- modified_by: z.ZodString;
2022
- idx: z.ZodNumber;
2023
- docstatus: z.ZodNumber;
2024
- naming_series: z.ZodString;
2025
- ean: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2026
- item_code: z.ZodString;
2027
- item_name: z.ZodString;
2028
- override_base_name: z.ZodNumber;
2029
- item_group: z.ZodString;
2030
- stock_uom: z.ZodString;
2031
- sync_from_warehouse: z.ZodNumber;
2032
- disabled: z.ZodNumber;
2033
- allow_alternative_item: z.ZodNumber;
2034
- is_stock_item: z.ZodNumber;
2035
- include_item_in_manufacturing: z.ZodNumber;
2036
- opening_stock: z.ZodNumber;
2037
- valuation_rate: z.ZodNumber;
2038
- standard_rate: z.ZodNumber;
2039
- is_fixed_asset: z.ZodNumber;
2040
- auto_create_assets: z.ZodNumber;
2041
- over_delivery_receipt_allowance: z.ZodNumber;
2042
- over_billing_allowance: z.ZodNumber;
2043
- custom_is_shipping_enabled: z.ZodNumber;
2044
- shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2045
- length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2046
- width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2047
- height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2048
- dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
2049
- custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
2050
- shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2051
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2052
- shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2053
- shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
2054
- packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2055
- packaging_weight_unit_cardboard: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
2056
- packaging_weight_plastic: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2057
- packaging_weight_unit_plastic: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
2058
- description: z.ZodString;
2059
- shelf_life_in_days: z.ZodNumber;
2060
- end_of_life: z.ZodString;
2061
- default_material_request_type: z.ZodString;
2062
- valuation_method: z.ZodString;
2063
- product_weight: z.ZodNumber;
2064
- product_weight_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
2065
- weight_per_unit: z.ZodNumber;
2066
- weight_uom: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"kg">, z.ZodLiteral<"g">]>, z.ZodLiteral<"mg">]>;
2067
- has_batch_no: z.ZodNumber;
2068
- create_new_batch: z.ZodNumber;
2069
- has_expiry_date: z.ZodNumber;
2070
- retain_sample: z.ZodNumber;
2071
- sample_quantity: z.ZodNumber;
2072
- has_serial_no: z.ZodNumber;
2073
- has_variants: z.ZodNumber;
2074
- variant_based_on: z.ZodString;
2075
- min_order_qty: z.ZodNumber;
2076
- safety_stock: z.ZodNumber;
2077
- is_purchase_item: z.ZodNumber;
2078
- custom_include_in_purchase_planning: z.ZodNumber;
2079
- lead_time_days: z.ZodNumber;
2080
- last_purchase_rate: z.ZodNumber;
2081
- is_customer_provided_item: z.ZodNumber;
2082
- delivered_by_supplier: z.ZodNumber;
2083
- fsc_status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2084
- fsc_percentage: z.ZodNumber;
2085
- custom_fsc_type_of_wood: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2086
- custom_fsc_product_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2087
- sales_uom: z.ZodString;
2088
- is_sales_item: z.ZodNumber;
2089
- custom_is_selling_enabled: z.ZodNumber;
2090
- grant_commission: z.ZodNumber;
2091
- max_discount: z.ZodNumber;
2092
- enable_deferred_revenue: z.ZodNumber;
2093
- no_of_months: z.ZodNumber;
2094
- enable_deferred_expense: z.ZodNumber;
2095
- no_of_months_exp: z.ZodNumber;
2096
- inspection_required_before_purchase: z.ZodNumber;
2097
- inspection_required_before_delivery: z.ZodNumber;
2098
- is_sub_contracted_item: z.ZodNumber;
2099
- customer_code: z.ZodString;
2100
- total_projected_qty: z.ZodNumber;
2101
- doctype: z.ZodString;
2102
- barcodes: z.ZodArray<z.ZodObject<{
2103
- name: z.ZodString;
2104
- owner: z.ZodString;
2105
- creation: z.ZodString;
2106
- modified: z.ZodString;
2107
- modified_by: z.ZodString;
2108
- parent: z.ZodString;
2109
- parentfield: z.ZodString;
2110
- parenttype: z.ZodString;
2111
- idx: z.ZodNumber;
2112
- docstatus: z.ZodNumber;
2113
- barcode: z.ZodString;
2114
- barcode_type: z.ZodString;
2115
- doctype: z.ZodString;
2116
- }, "strip", z.ZodTypeAny, {
2117
- name: string;
2118
- doctype: string;
2119
- owner: string;
2120
- creation: string;
2121
- modified: string;
2122
- modified_by: string;
2123
- parent: string;
2124
- parentfield: string;
2125
- parenttype: string;
2126
- idx: number;
2127
- docstatus: number;
2128
- barcode: string;
2129
- barcode_type: string;
2130
- }, {
2131
- name: string;
2132
- doctype: string;
2133
- owner: string;
2134
- creation: string;
2135
- modified: string;
2136
- modified_by: string;
2137
- parent: string;
2138
- parentfield: string;
2139
- parenttype: string;
2140
- idx: number;
2141
- docstatus: number;
883
+ item_group: string;
884
+ stock_uom: string;
885
+ grant_commission: number;
886
+ weight_uom: "kg" | "g" | "mg";
887
+ taxes: any[];
888
+ override_base_name: number;
889
+ sync_from_warehouse: number;
890
+ include_item_in_manufacturing: number;
891
+ opening_stock: number;
892
+ valuation_rate: number;
893
+ standard_rate: number;
894
+ is_fixed_asset: number;
895
+ auto_create_assets: number;
896
+ over_delivery_receipt_allowance: number;
897
+ over_billing_allowance: number;
898
+ custom_is_shipping_enabled: number;
899
+ dimensions_unit: "m" | "cm" | "mm";
900
+ shipping_dimensions_unit: "m" | "cm" | "mm";
901
+ packaging_weight_unit_cardboard: "kg" | "g" | "mg";
902
+ packaging_weight_unit_plastic: "kg" | "g" | "mg";
903
+ shelf_life_in_days: number;
904
+ end_of_life: string;
905
+ default_material_request_type: string;
906
+ valuation_method: string;
907
+ product_weight_unit: "kg" | "g" | "mg";
908
+ has_batch_no: number;
909
+ create_new_batch: number;
910
+ has_expiry_date: number;
911
+ retain_sample: number;
912
+ sample_quantity: number;
913
+ has_serial_no: number;
914
+ has_variants: number;
915
+ variant_based_on: string;
916
+ min_order_qty: number;
917
+ safety_stock: number;
918
+ is_purchase_item: number;
919
+ custom_include_in_purchase_planning: number;
920
+ lead_time_days: number;
921
+ last_purchase_rate: number;
922
+ is_customer_provided_item: number;
923
+ delivered_by_supplier: number;
924
+ fsc_percentage: number;
925
+ sales_uom: string;
926
+ is_sales_item: number;
927
+ custom_is_selling_enabled: number;
928
+ max_discount: number;
929
+ enable_deferred_revenue: number;
930
+ no_of_months: number;
931
+ enable_deferred_expense: number;
932
+ no_of_months_exp: number;
933
+ inspection_required_before_purchase: number;
934
+ inspection_required_before_delivery: number;
935
+ is_sub_contracted_item: number;
936
+ customer_code: string;
937
+ total_projected_qty: number;
938
+ barcodes: {
2142
939
  barcode: string;
2143
940
  barcode_type: string;
2144
- }>, "many">;
2145
- reorder_levels: z.ZodArray<z.ZodAny, "many">;
2146
- uoms: z.ZodArray<z.ZodObject<{
2147
- name: z.ZodString;
2148
- owner: z.ZodString;
2149
- creation: z.ZodString;
2150
- modified: z.ZodString;
2151
- modified_by: z.ZodString;
2152
- parent: z.ZodString;
2153
- parentfield: z.ZodString;
2154
- parenttype: z.ZodString;
2155
- idx: z.ZodNumber;
2156
- docstatus: z.ZodNumber;
2157
- uom: z.ZodString;
2158
- conversion_factor: z.ZodNumber;
2159
- doctype: z.ZodString;
2160
- }, "strip", z.ZodTypeAny, {
2161
- name: string;
2162
- doctype: string;
2163
- owner: string;
2164
- creation: string;
2165
- modified: string;
2166
- modified_by: string;
2167
- parent: string;
2168
- parentfield: string;
2169
- parenttype: string;
2170
- idx: number;
2171
- docstatus: number;
2172
- uom: string;
2173
- conversion_factor: number;
2174
- }, {
2175
- name: string;
2176
- doctype: string;
2177
- owner: string;
2178
- creation: string;
2179
- modified: string;
2180
- modified_by: string;
2181
- parent: string;
2182
- parentfield: string;
2183
- parenttype: string;
2184
- idx: number;
2185
- docstatus: number;
941
+ }[];
942
+ reorder_levels: any[];
943
+ uoms: {
2186
944
  uom: string;
2187
945
  conversion_factor: number;
2188
- }>, "many">;
2189
- attributes: z.ZodArray<z.ZodAny, "many">;
2190
- item_defaults: z.ZodArray<z.ZodObject<{
2191
- name: z.ZodString;
2192
- owner: z.ZodString;
2193
- creation: z.ZodString;
2194
- modified: z.ZodString;
2195
- modified_by: z.ZodString;
2196
- parent: z.ZodString;
2197
- parentfield: z.ZodString;
2198
- parenttype: z.ZodString;
2199
- idx: z.ZodNumber;
2200
- docstatus: z.ZodNumber;
2201
- company: z.ZodString;
2202
- default_warehouse: z.ZodString;
2203
- doctype: z.ZodString;
2204
- }, "strip", z.ZodTypeAny, {
2205
- name: string;
2206
- doctype: string;
2207
- owner: string;
2208
- creation: string;
2209
- modified: string;
2210
- modified_by: string;
2211
- parent: string;
2212
- parentfield: string;
2213
- parenttype: string;
2214
- idx: number;
2215
- docstatus: number;
2216
- company: string;
2217
- default_warehouse: string;
2218
- }, {
2219
- name: string;
2220
- doctype: string;
2221
- owner: string;
2222
- creation: string;
2223
- modified: string;
2224
- modified_by: string;
2225
- parent: string;
2226
- parentfield: string;
2227
- parenttype: string;
2228
- idx: number;
2229
- docstatus: number;
946
+ }[];
947
+ attributes: any[];
948
+ item_defaults: {
2230
949
  company: string;
2231
950
  default_warehouse: string;
2232
- }>, "many">;
2233
- supplier_items: z.ZodArray<z.ZodObject<{
2234
- name: z.ZodString;
2235
- owner: z.ZodString;
2236
- creation: z.ZodString;
2237
- modified: z.ZodString;
2238
- modified_by: z.ZodString;
2239
- parent: z.ZodString;
2240
- parentfield: z.ZodString;
2241
- parenttype: z.ZodString;
2242
- idx: z.ZodNumber;
2243
- docstatus: z.ZodNumber;
2244
- doctype: z.ZodString;
2245
- supplier: z.ZodString;
2246
- supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2247
- }, "strip", z.ZodTypeAny, {
2248
- name: string;
2249
- doctype: string;
2250
- owner: string;
2251
- creation: string;
2252
- modified: string;
2253
- modified_by: string;
2254
- parent: string;
2255
- parentfield: string;
2256
- parenttype: string;
2257
- idx: number;
2258
- docstatus: number;
2259
- supplier: string;
2260
- supplier_part_no?: string | null | undefined;
2261
- }, {
2262
- name: string;
2263
- doctype: string;
2264
- owner: string;
2265
- creation: string;
2266
- modified: string;
2267
- modified_by: string;
2268
- parent: string;
2269
- parentfield: string;
2270
- parenttype: string;
2271
- idx: number;
2272
- docstatus: number;
951
+ }[];
952
+ supplier_items: {
2273
953
  supplier: string;
2274
954
  supplier_part_no?: string | null | undefined;
2275
- }>, "many">;
2276
- customer_items: z.ZodArray<z.ZodAny, "many">;
2277
- taxes: z.ZodArray<z.ZodAny, "many">;
2278
- customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2279
- country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2280
- custom_product_version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2281
- custom_supplier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2282
- purchase_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2283
- custom_stock_reserve: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2284
- custom_sales_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2285
- custom_shopify_content_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2286
- custom_compliance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2287
- custom_certifications: z.ZodArray<z.ZodObject<{
2288
- name: z.ZodString;
2289
- owner: z.ZodString;
2290
- creation: z.ZodString;
2291
- modified: z.ZodString;
2292
- modified_by: z.ZodString;
2293
- parent: z.ZodString;
2294
- parentfield: z.ZodString;
2295
- parenttype: z.ZodString;
2296
- idx: z.ZodNumber;
2297
- docstatus: z.ZodNumber;
2298
- doctype: z.ZodString;
2299
- certification: z.ZodString;
2300
- }, "strip", z.ZodTypeAny, {
2301
- name: string;
2302
- doctype: string;
2303
- owner: string;
2304
- creation: string;
2305
- modified: string;
2306
- modified_by: string;
2307
- parent: string;
2308
- parentfield: string;
2309
- parenttype: string;
2310
- idx: number;
2311
- docstatus: number;
2312
- certification: string;
2313
- }, {
2314
- name: string;
2315
- doctype: string;
2316
- owner: string;
2317
- creation: string;
2318
- modified: string;
2319
- modified_by: string;
2320
- parent: string;
2321
- parentfield: string;
2322
- parenttype: string;
2323
- idx: number;
2324
- docstatus: number;
955
+ }[];
956
+ customer_items: any[];
957
+ custom_certifications: {
2325
958
  certification: string;
2326
- }>, "many">;
2327
- custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
2328
- custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2329
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "item_code" | "item_name" | "weight_per_unit" | "weight_uom">, "strip", z.ZodTypeAny, {
2330
- item_code: string;
2331
- item_name: string;
2332
- weight_per_unit: number;
2333
- weight_uom: "kg" | "g" | "mg";
2334
- }, {
2335
- item_code: string;
2336
- item_name: string;
2337
- weight_per_unit: number;
2338
- weight_uom: "kg" | "g" | "mg";
2339
- }>, "many">;
2340
- export type ItemListType = z.infer<typeof ItemList>;
959
+ }[];
960
+ length?: number | null | undefined;
961
+ disabled?: unknown;
962
+ image?: string | null | undefined;
963
+ weight_per_unit?: number | null | undefined;
964
+ warehouse_category?: string | null | undefined;
965
+ ean?: string | null | undefined;
966
+ allow_alternative_item?: unknown;
967
+ is_stock_item?: unknown;
968
+ custom_is_digital?: unknown;
969
+ shipping_template?: string | null | undefined;
970
+ width?: number | null | undefined;
971
+ height?: number | null | undefined;
972
+ custom_dimension_format?: "Length / Width / Height" | "Width / Depth / Height" | undefined;
973
+ shipping_length?: number | null | undefined;
974
+ shipping_width?: number | null | undefined;
975
+ shipping_height?: number | null | undefined;
976
+ packaging_weight_cardboard?: number | null | undefined;
977
+ packaging_weight_plastic?: number | null | undefined;
978
+ product_weight?: number | null | undefined;
979
+ fsc_status?: string | null | undefined;
980
+ custom_fsc_type_of_wood?: string | null | undefined;
981
+ custom_fsc_product_group?: string | null | undefined;
982
+ customs_tariff_number?: string | null | undefined;
983
+ country_of_origin?: string | null | undefined;
984
+ custom_product_version?: string | null | undefined;
985
+ custom_supplier?: string | null | undefined;
986
+ purchase_description?: string | null | undefined;
987
+ custom_stock_reserve?: number | null | undefined;
988
+ custom_sales_category?: string | null | undefined;
989
+ custom_shopify_content_configuration?: string | null | undefined;
990
+ custom_compliance?: string | null | undefined;
991
+ custom_oversell_amount?: number | null | undefined;
992
+ custom_serviceportal_configuration?: string | null | undefined;
993
+ }>>;
994
+ export type ItemDocType = z.infer<typeof ItemDoc>;
995
+ export declare const ERPNextItemResponseNoneStockItemsDictFalse: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
2341
996
  declare const ItemSupplier: z.ZodObject<{
2342
- name: z.ZodString;
2343
997
  supplier: z.ZodString;
2344
- parent: z.ZodString;
2345
998
  supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2346
999
  }, "strip", z.ZodTypeAny, {
2347
- name: string;
2348
- parent: string;
2349
1000
  supplier: string;
2350
1001
  supplier_part_no?: string | null | undefined;
2351
1002
  }, {
2352
- name: string;
2353
- parent: string;
2354
1003
  supplier: string;
2355
1004
  supplier_part_no?: string | null | undefined;
2356
1005
  }>;
2357
1006
  export type ItemSupplierType = z.infer<typeof ItemSupplier>;
2358
- export declare const ItemSupplierResponse: z.ZodArray<z.ZodObject<{
2359
- name: z.ZodString;
1007
+ declare const GetSupplierPartNumbersMethodData: z.ZodObject<{
2360
1008
  supplier: z.ZodString;
2361
- parent: z.ZodString;
2362
1009
  supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2363
- }, "strip", z.ZodTypeAny, {
2364
- name: string;
2365
- parent: string;
2366
- supplier: string;
2367
- supplier_part_no?: string | null | undefined;
2368
- }, {
2369
- name: string;
2370
- parent: string;
2371
- supplier: string;
2372
- supplier_part_no?: string | null | undefined;
2373
- }>, "many">;
2374
- export type ItemSupplierResponseType = z.infer<typeof ItemSupplierResponse>;
2375
- declare const ItemSupplierValidated: z.ZodObject<Omit<{
1010
+ } & {
2376
1011
  name: z.ZodString;
2377
- supplier: z.ZodString;
2378
- parent: z.ZodString;
2379
- supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2380
- }, "parent"> & {
2381
1012
  item_code: z.ZodString;
2382
1013
  }, "strip", z.ZodTypeAny, {
2383
1014
  name: string;
@@ -2390,5 +1021,5 @@ declare const ItemSupplierValidated: z.ZodObject<Omit<{
2390
1021
  supplier: string;
2391
1022
  supplier_part_no?: string | null | undefined;
2392
1023
  }>;
2393
- export type ItemSupplierValidatedType = z.infer<typeof ItemSupplierValidated>;
1024
+ export type GetSupplierPartNumbersMethodDataType = z.infer<typeof GetSupplierPartNumbersMethodData>;
2394
1025
  export {};