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