erpnext-queue-client 2.0.0-beta.0 → 2.0.0-beta.2
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 +1 -4
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +4 -4
- package/dist/erpnext/doctypeResourceRequest.d.ts +1 -1
- package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +56 -16
- package/dist/erpnext/doctypeSubmittableResourceRequest.js +10 -8
- package/dist/erpnext/doctypes/address.d.ts +18 -18
- package/dist/erpnext/doctypes/contact.d.ts +18 -18
- package/dist/erpnext/doctypes/deliveryNote.d.ts +44 -33
- package/dist/erpnext/doctypes/item.d.ts +49 -49
- package/dist/erpnext/doctypes/paymentEntry.d.ts +820 -0
- package/dist/erpnext/doctypes/paymentEntry.js +72 -0
- package/dist/erpnext/doctypes/productBundle.d.ts +16 -16
- package/dist/erpnext/doctypes/purchaseInvoice.d.ts +99 -99
- package/dist/erpnext/doctypes/purchaseReceipt.d.ts +48 -49
- package/dist/erpnext/doctypes/salesInvoice.d.ts +2205 -2203
- package/dist/erpnext/doctypes/servicecase.d.ts +56 -56
- package/dist/erpnext/doctypes/shipment.d.ts +76 -44
- package/dist/erpnext/doctypes/stock.d.ts +2 -0
- package/dist/erpnext/doctypes/stock.js +19 -3
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +321 -0
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +83 -0
- package/dist/erpnext/model/DeliveryNote.d.ts +3 -0
- package/dist/erpnext/model/DeliveryNote.js +1 -0
- package/dist/erpnext/model/DispatchRun.d.ts +3 -3
- package/dist/erpnext/model/DispatchRun.js +1 -1
- package/dist/erpnext/model/DocTypeHelpers.d.ts +26 -7
- package/dist/erpnext/model/DocTypeHelpers.js +0 -8
- package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +28 -15
- package/dist/erpnext/model/ERPNextDocTypeMeta.js +12 -7
- package/dist/erpnext/model/FulfillmentStation.d.ts +3 -0
- package/dist/erpnext/model/FulfillmentStation.js +1 -0
- package/dist/erpnext/model/Item.d.ts +35 -25
- package/dist/erpnext/model/ItemTaxTemplate.d.ts +57 -0
- package/dist/erpnext/model/ItemTaxTemplate.js +25 -0
- package/dist/erpnext/model/PaymentEntry.d.ts +183 -16
- package/dist/erpnext/model/PaymentEntry.js +6 -1
- package/dist/erpnext/model/PurchaseInvoice.d.ts +49 -47
- package/dist/erpnext/model/PurchaseInvoice.js +0 -1
- package/dist/erpnext/model/PurchaseOrder.d.ts +10 -10
- package/dist/erpnext/model/Receipt.d.ts +2 -2
- package/dist/erpnext/model/ReceiptDraft.d.ts +0 -3
- package/dist/erpnext/model/ReceiptDraft.js +0 -1
- package/dist/erpnext/model/SalesInvoice.d.ts +1530 -1526
- package/dist/erpnext/model/SalesInvoice.js +182 -178
- package/dist/erpnext/model/SalesOrder.d.ts +778 -748
- package/dist/erpnext/model/SalesOrder.js +151 -149
- package/dist/erpnext/model/Servicecase.d.ts +30 -30
- package/dist/erpnext/model/Servicecase.js +8 -1
- package/dist/erpnext/model/ServiceportalProductConfiguration.d.ts +128 -3
- package/dist/erpnext/model/ServiceportalProductConfiguration.js +34 -2
- package/dist/erpnext/model/Shipment.d.ts +14 -0
- package/dist/erpnext/model/Shipment.js +14 -1
- package/dist/erpnext/model/ShippingFees.d.ts +36 -0
- package/dist/erpnext/model/ShippingFees.js +18 -0
- package/dist/erpnext/model/ShippingProvider.d.ts +2 -2
- package/dist/erpnext/model/Stock.d.ts +6 -6
- package/dist/erpnext/model/StockEntry.d.ts +2 -2
- package/dist/erpnext/model/TaxCategory.d.ts +20 -0
- package/dist/erpnext/model/TaxCategory.js +16 -0
- package/dist/erpnext/resourceRequest.d.ts +1 -1
- package/dist/erpnext/resourceRequest.js +11 -5
- package/dist/index.d.ts +8 -2
- package/dist/index.js +9 -2
- package/dist/index.test.js +104 -70
- package/dist/utils/zodContextOptionals.js +7 -4
- package/dist/utils/zodUtils.js +14 -2
- package/package.json +7 -2
|
@@ -8,7 +8,7 @@ export declare class ERPNextItem {
|
|
|
8
8
|
protected temporalClient: TemporalClient;
|
|
9
9
|
protected baseRequest: ERPNextDoctypeResourceRequest<typeof Item>;
|
|
10
10
|
protected methodRequest: ERPNextMethodRequest;
|
|
11
|
-
getList: <TFieldOptions extends ("
|
|
11
|
+
getList: <TFieldOptions extends ("description" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "disabled" | "naming_series" | "item_code" | "item_name" | "item_group" | "stock_uom" | "grant_commission" | "weight_uom" | "override_base_name" | "sync_from_warehouse" | "allow_alternative_item" | "is_stock_item" | "custom_is_digital" | "include_item_in_manufacturing" | "opening_stock" | "valuation_rate" | "standard_rate" | "is_fixed_asset" | "auto_create_assets" | "over_delivery_receipt_allowance" | "over_billing_allowance" | "custom_is_shipping_enabled" | "dimensions_unit" | "custom_dimension_format" | "shipping_dimensions_unit" | "packaging_weight_unit_cardboard" | "packaging_weight_unit_plastic" | "shelf_life_in_days" | "end_of_life" | "default_material_request_type" | "valuation_method" | "product_weight_unit" | "has_batch_no" | "create_new_batch" | "has_expiry_date" | "retain_sample" | "sample_quantity" | "has_serial_no" | "has_variants" | "variant_based_on" | "min_order_qty" | "safety_stock" | "is_purchase_item" | "custom_include_in_purchase_planning" | "lead_time_days" | "last_purchase_rate" | "is_customer_provided_item" | "delivered_by_supplier" | "fsc_percentage" | "sales_uom" | "is_sales_item" | "custom_is_selling_enabled" | "max_discount" | "enable_deferred_revenue" | "no_of_months" | "enable_deferred_expense" | "no_of_months_exp" | "inspection_required_before_purchase" | "inspection_required_before_delivery" | "is_sub_contracted_item" | "customer_code" | "total_projected_qty" | "custom_oversell_amount") | ("length" | "_user_tags" | "image" | "weight_per_unit" | "warehouse_category" | "ean" | "shipping_template" | "width" | "height" | "shipping_length" | "shipping_width" | "shipping_height" | "packaging_weight_cardboard" | "packaging_weight_plastic" | "product_weight" | "fsc_status" | "custom_fsc_type_of_wood" | "custom_fsc_product_group" | "customs_tariff_number" | "country_of_origin" | "custom_product_version" | "custom_supplier" | "purchase_description" | "custom_stock_reserve" | "custom_sales_category" | "custom_shopify_content_configuration" | "custom_compliance" | "custom_serviceportal_configuration"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
12
12
|
fields?: TSelectedFields;
|
|
13
13
|
filters?: (string | string[])[][];
|
|
14
14
|
skip?: number;
|
|
@@ -19,14 +19,14 @@ export declare class ERPNextItem {
|
|
|
19
19
|
}) => Promise<(TAsDict extends false ? string[][] : TSelectedFields extends undefined ? {
|
|
20
20
|
name: string;
|
|
21
21
|
}[] : TSelectedFields extends readonly ["*"] ? {
|
|
22
|
+
description: string;
|
|
23
|
+
docstatus: number;
|
|
22
24
|
name: string;
|
|
23
25
|
owner: string;
|
|
24
26
|
creation: string;
|
|
25
27
|
modified: string;
|
|
26
28
|
modified_by: string;
|
|
27
29
|
idx: number;
|
|
28
|
-
docstatus: number;
|
|
29
|
-
description: string;
|
|
30
30
|
disabled: 0 | 1;
|
|
31
31
|
naming_series: string;
|
|
32
32
|
item_code: string;
|
|
@@ -91,7 +91,7 @@ export declare class ERPNextItem {
|
|
|
91
91
|
total_projected_qty: number;
|
|
92
92
|
custom_oversell_amount: number | null;
|
|
93
93
|
length?: number | null | undefined;
|
|
94
|
-
_user_tags?: string | undefined;
|
|
94
|
+
_user_tags?: string | null | undefined;
|
|
95
95
|
image?: string | null | undefined;
|
|
96
96
|
weight_per_unit?: number | null | undefined;
|
|
97
97
|
warehouse_category?: string | null | undefined;
|
|
@@ -118,15 +118,15 @@ export declare class ERPNextItem {
|
|
|
118
118
|
custom_shopify_content_configuration?: string | null | undefined;
|
|
119
119
|
custom_compliance?: string | null | undefined;
|
|
120
120
|
custom_serviceportal_configuration?: string | null | undefined;
|
|
121
|
-
}[] : TSelectedFields extends TFieldOptions[] ?
|
|
121
|
+
}[] : TSelectedFields extends TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("description" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "disabled" | "naming_series" | "item_code" | "item_name" | "item_group" | "stock_uom" | "grant_commission" | "weight_uom" | "override_base_name" | "sync_from_warehouse" | "allow_alternative_item" | "is_stock_item" | "custom_is_digital" | "include_item_in_manufacturing" | "opening_stock" | "valuation_rate" | "standard_rate" | "is_fixed_asset" | "auto_create_assets" | "over_delivery_receipt_allowance" | "over_billing_allowance" | "custom_is_shipping_enabled" | "dimensions_unit" | "custom_dimension_format" | "shipping_dimensions_unit" | "packaging_weight_unit_cardboard" | "packaging_weight_unit_plastic" | "shelf_life_in_days" | "end_of_life" | "default_material_request_type" | "valuation_method" | "product_weight_unit" | "has_batch_no" | "create_new_batch" | "has_expiry_date" | "retain_sample" | "sample_quantity" | "has_serial_no" | "has_variants" | "variant_based_on" | "min_order_qty" | "safety_stock" | "is_purchase_item" | "custom_include_in_purchase_planning" | "lead_time_days" | "last_purchase_rate" | "is_customer_provided_item" | "delivered_by_supplier" | "fsc_percentage" | "sales_uom" | "is_sales_item" | "custom_is_selling_enabled" | "max_discount" | "enable_deferred_revenue" | "no_of_months" | "enable_deferred_expense" | "no_of_months_exp" | "inspection_required_before_purchase" | "inspection_required_before_delivery" | "is_sub_contracted_item" | "customer_code" | "total_projected_qty" | "custom_oversell_amount") | ("length" | "_user_tags" | "image" | "weight_per_unit" | "warehouse_category" | "ean" | "shipping_template" | "width" | "height" | "shipping_length" | "shipping_width" | "shipping_height" | "packaging_weight_cardboard" | "packaging_weight_plastic" | "product_weight" | "fsc_status" | "custom_fsc_type_of_wood" | "custom_fsc_product_group" | "customs_tariff_number" | "country_of_origin" | "custom_product_version" | "custom_supplier" | "purchase_description" | "custom_stock_reserve" | "custom_sales_category" | "custom_shopify_content_configuration" | "custom_compliance" | "custom_serviceportal_configuration") ? {
|
|
122
|
+
description: string;
|
|
123
|
+
docstatus: number;
|
|
122
124
|
name: string;
|
|
123
125
|
owner: string;
|
|
124
126
|
creation: string;
|
|
125
127
|
modified: string;
|
|
126
128
|
modified_by: string;
|
|
127
129
|
idx: number;
|
|
128
|
-
docstatus: number;
|
|
129
|
-
description: string;
|
|
130
130
|
disabled: 0 | 1;
|
|
131
131
|
naming_series: string;
|
|
132
132
|
item_code: string;
|
|
@@ -191,7 +191,7 @@ export declare class ERPNextItem {
|
|
|
191
191
|
total_projected_qty: number;
|
|
192
192
|
custom_oversell_amount: number | null;
|
|
193
193
|
length?: number | null | undefined;
|
|
194
|
-
_user_tags?: string | undefined;
|
|
194
|
+
_user_tags?: string | null | undefined;
|
|
195
195
|
image?: string | null | undefined;
|
|
196
196
|
weight_per_unit?: number | null | undefined;
|
|
197
197
|
warehouse_category?: string | null | undefined;
|
|
@@ -218,20 +218,20 @@ export declare class ERPNextItem {
|
|
|
218
218
|
custom_shopify_content_configuration?: string | null | undefined;
|
|
219
219
|
custom_compliance?: string | null | undefined;
|
|
220
220
|
custom_serviceportal_configuration?: string | null | undefined;
|
|
221
|
-
}
|
|
221
|
+
}[(("description" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "disabled" | "naming_series" | "item_code" | "item_name" | "item_group" | "stock_uom" | "grant_commission" | "weight_uom" | "override_base_name" | "sync_from_warehouse" | "allow_alternative_item" | "is_stock_item" | "custom_is_digital" | "include_item_in_manufacturing" | "opening_stock" | "valuation_rate" | "standard_rate" | "is_fixed_asset" | "auto_create_assets" | "over_delivery_receipt_allowance" | "over_billing_allowance" | "custom_is_shipping_enabled" | "dimensions_unit" | "custom_dimension_format" | "shipping_dimensions_unit" | "packaging_weight_unit_cardboard" | "packaging_weight_unit_plastic" | "shelf_life_in_days" | "end_of_life" | "default_material_request_type" | "valuation_method" | "product_weight_unit" | "has_batch_no" | "create_new_batch" | "has_expiry_date" | "retain_sample" | "sample_quantity" | "has_serial_no" | "has_variants" | "variant_based_on" | "min_order_qty" | "safety_stock" | "is_purchase_item" | "custom_include_in_purchase_planning" | "lead_time_days" | "last_purchase_rate" | "is_customer_provided_item" | "delivered_by_supplier" | "fsc_percentage" | "sales_uom" | "is_sales_item" | "custom_is_selling_enabled" | "max_discount" | "enable_deferred_revenue" | "no_of_months" | "enable_deferred_expense" | "no_of_months_exp" | "inspection_required_before_purchase" | "inspection_required_before_delivery" | "is_sub_contracted_item" | "customer_code" | "total_projected_qty" | "custom_oversell_amount") | ("length" | "_user_tags" | "image" | "weight_per_unit" | "warehouse_category" | "ean" | "shipping_template" | "width" | "height" | "shipping_length" | "shipping_width" | "shipping_height" | "packaging_weight_cardboard" | "packaging_weight_plastic" | "product_weight" | "fsc_status" | "custom_fsc_type_of_wood" | "custom_fsc_product_group" | "customs_tariff_number" | "country_of_origin" | "custom_product_version" | "custom_supplier" | "purchase_description" | "custom_stock_reserve" | "custom_sales_category" | "custom_shopify_content_configuration" | "custom_compliance" | "custom_serviceportal_configuration")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
|
|
222
222
|
getById: ({ resourceId, priority, }: {
|
|
223
223
|
resourceId: string;
|
|
224
224
|
priority?: number;
|
|
225
225
|
}) => Promise<{
|
|
226
|
+
description: string;
|
|
227
|
+
docstatus: number;
|
|
226
228
|
name: string;
|
|
227
229
|
owner: string;
|
|
228
230
|
creation: string;
|
|
229
231
|
modified: string;
|
|
230
232
|
modified_by: string;
|
|
231
233
|
idx: number;
|
|
232
|
-
docstatus: number;
|
|
233
234
|
doctype: string;
|
|
234
|
-
description: string;
|
|
235
235
|
disabled: 0 | 1;
|
|
236
236
|
naming_series: string;
|
|
237
237
|
item_code: string;
|
|
@@ -296,85 +296,85 @@ export declare class ERPNextItem {
|
|
|
296
296
|
customer_code: string;
|
|
297
297
|
total_projected_qty: number;
|
|
298
298
|
barcodes: {
|
|
299
|
+
docstatus: number;
|
|
299
300
|
name: string;
|
|
300
301
|
owner: string;
|
|
301
302
|
creation: string;
|
|
302
303
|
modified: string;
|
|
303
304
|
modified_by: string;
|
|
304
305
|
idx: number;
|
|
305
|
-
docstatus: number;
|
|
306
306
|
doctype: string;
|
|
307
307
|
parenttype: string;
|
|
308
308
|
parentfield: string;
|
|
309
309
|
barcode: string;
|
|
310
310
|
barcode_type: string;
|
|
311
|
-
_user_tags?: string | undefined;
|
|
311
|
+
_user_tags?: string | null | undefined;
|
|
312
312
|
}[];
|
|
313
313
|
reorder_levels: any[];
|
|
314
314
|
uoms: {
|
|
315
|
+
docstatus: number;
|
|
315
316
|
name: string;
|
|
316
317
|
owner: string;
|
|
317
318
|
creation: string;
|
|
318
319
|
modified: string;
|
|
319
320
|
modified_by: string;
|
|
320
321
|
idx: number;
|
|
321
|
-
docstatus: number;
|
|
322
322
|
doctype: string;
|
|
323
323
|
parenttype: string;
|
|
324
324
|
parentfield: string;
|
|
325
325
|
uom: string;
|
|
326
326
|
conversion_factor: number;
|
|
327
|
-
_user_tags?: string | undefined;
|
|
327
|
+
_user_tags?: string | null | undefined;
|
|
328
328
|
}[];
|
|
329
329
|
attributes: any[];
|
|
330
330
|
item_defaults: {
|
|
331
|
+
docstatus: number;
|
|
331
332
|
name: string;
|
|
332
333
|
owner: string;
|
|
333
334
|
creation: string;
|
|
334
335
|
modified: string;
|
|
335
336
|
modified_by: string;
|
|
336
337
|
idx: number;
|
|
337
|
-
docstatus: number;
|
|
338
338
|
doctype: string;
|
|
339
339
|
parenttype: string;
|
|
340
340
|
parentfield: string;
|
|
341
341
|
company: string;
|
|
342
342
|
default_warehouse: string;
|
|
343
|
-
_user_tags?: string | undefined;
|
|
343
|
+
_user_tags?: string | null | undefined;
|
|
344
344
|
}[];
|
|
345
345
|
supplier_items: {
|
|
346
|
+
docstatus: number;
|
|
346
347
|
name: string;
|
|
347
348
|
owner: string;
|
|
348
349
|
creation: string;
|
|
349
350
|
modified: string;
|
|
350
351
|
modified_by: string;
|
|
351
352
|
idx: number;
|
|
352
|
-
docstatus: number;
|
|
353
353
|
doctype: string;
|
|
354
354
|
parenttype: string;
|
|
355
355
|
parentfield: string;
|
|
356
356
|
supplier: string;
|
|
357
|
-
_user_tags?: string | undefined;
|
|
357
|
+
_user_tags?: string | null | undefined;
|
|
358
358
|
supplier_part_no?: string | null | undefined;
|
|
359
359
|
}[];
|
|
360
360
|
customer_items: any[];
|
|
361
361
|
custom_certifications: {
|
|
362
|
+
docstatus: number;
|
|
362
363
|
name: string;
|
|
363
364
|
owner: string;
|
|
364
365
|
creation: string;
|
|
365
366
|
modified: string;
|
|
366
367
|
modified_by: string;
|
|
367
368
|
idx: number;
|
|
368
|
-
docstatus: number;
|
|
369
369
|
doctype: string;
|
|
370
370
|
parenttype: string;
|
|
371
371
|
parentfield: string;
|
|
372
372
|
certification: string;
|
|
373
|
-
_user_tags?: string | undefined;
|
|
373
|
+
_user_tags?: string | null | undefined;
|
|
374
374
|
}[];
|
|
375
375
|
custom_oversell_amount: number | null;
|
|
376
376
|
length?: number | null | undefined;
|
|
377
|
-
_user_tags?: string | undefined;
|
|
377
|
+
_user_tags?: string | null | undefined;
|
|
378
378
|
image?: string | null | undefined;
|
|
379
379
|
weight_per_unit?: number | null | undefined;
|
|
380
380
|
warehouse_category?: string | null | undefined;
|
|
@@ -401,7 +401,7 @@ export declare class ERPNextItem {
|
|
|
401
401
|
custom_shopify_content_configuration?: string | null | undefined;
|
|
402
402
|
custom_compliance?: string | null | undefined;
|
|
403
403
|
custom_serviceportal_configuration?: string | null | undefined;
|
|
404
|
-
}>;
|
|
404
|
+
} | undefined>;
|
|
405
405
|
updateById: <TInput extends TInputModel extends undefined ? Partial<{
|
|
406
406
|
description: string;
|
|
407
407
|
naming_series: string;
|
|
@@ -523,15 +523,15 @@ export declare class ERPNextItem {
|
|
|
523
523
|
priority?: number;
|
|
524
524
|
body: TInput;
|
|
525
525
|
}) => Promise<{
|
|
526
|
+
description: string;
|
|
527
|
+
docstatus: number;
|
|
526
528
|
name: string;
|
|
527
529
|
owner: string;
|
|
528
530
|
creation: string;
|
|
529
531
|
modified: string;
|
|
530
532
|
modified_by: string;
|
|
531
533
|
idx: number;
|
|
532
|
-
docstatus: number;
|
|
533
534
|
doctype: string;
|
|
534
|
-
description: string;
|
|
535
535
|
disabled: 0 | 1;
|
|
536
536
|
naming_series: string;
|
|
537
537
|
item_code: string;
|
|
@@ -596,85 +596,85 @@ export declare class ERPNextItem {
|
|
|
596
596
|
customer_code: string;
|
|
597
597
|
total_projected_qty: number;
|
|
598
598
|
barcodes: {
|
|
599
|
+
docstatus: number;
|
|
599
600
|
name: string;
|
|
600
601
|
owner: string;
|
|
601
602
|
creation: string;
|
|
602
603
|
modified: string;
|
|
603
604
|
modified_by: string;
|
|
604
605
|
idx: number;
|
|
605
|
-
docstatus: number;
|
|
606
606
|
doctype: string;
|
|
607
607
|
parenttype: string;
|
|
608
608
|
parentfield: string;
|
|
609
609
|
barcode: string;
|
|
610
610
|
barcode_type: string;
|
|
611
|
-
_user_tags?: string | undefined;
|
|
611
|
+
_user_tags?: string | null | undefined;
|
|
612
612
|
}[];
|
|
613
613
|
reorder_levels: any[];
|
|
614
614
|
uoms: {
|
|
615
|
+
docstatus: number;
|
|
615
616
|
name: string;
|
|
616
617
|
owner: string;
|
|
617
618
|
creation: string;
|
|
618
619
|
modified: string;
|
|
619
620
|
modified_by: string;
|
|
620
621
|
idx: number;
|
|
621
|
-
docstatus: number;
|
|
622
622
|
doctype: string;
|
|
623
623
|
parenttype: string;
|
|
624
624
|
parentfield: string;
|
|
625
625
|
uom: string;
|
|
626
626
|
conversion_factor: number;
|
|
627
|
-
_user_tags?: string | undefined;
|
|
627
|
+
_user_tags?: string | null | undefined;
|
|
628
628
|
}[];
|
|
629
629
|
attributes: any[];
|
|
630
630
|
item_defaults: {
|
|
631
|
+
docstatus: number;
|
|
631
632
|
name: string;
|
|
632
633
|
owner: string;
|
|
633
634
|
creation: string;
|
|
634
635
|
modified: string;
|
|
635
636
|
modified_by: string;
|
|
636
637
|
idx: number;
|
|
637
|
-
docstatus: number;
|
|
638
638
|
doctype: string;
|
|
639
639
|
parenttype: string;
|
|
640
640
|
parentfield: string;
|
|
641
641
|
company: string;
|
|
642
642
|
default_warehouse: string;
|
|
643
|
-
_user_tags?: string | undefined;
|
|
643
|
+
_user_tags?: string | null | undefined;
|
|
644
644
|
}[];
|
|
645
645
|
supplier_items: {
|
|
646
|
+
docstatus: number;
|
|
646
647
|
name: string;
|
|
647
648
|
owner: string;
|
|
648
649
|
creation: string;
|
|
649
650
|
modified: string;
|
|
650
651
|
modified_by: string;
|
|
651
652
|
idx: number;
|
|
652
|
-
docstatus: number;
|
|
653
653
|
doctype: string;
|
|
654
654
|
parenttype: string;
|
|
655
655
|
parentfield: string;
|
|
656
656
|
supplier: string;
|
|
657
|
-
_user_tags?: string | undefined;
|
|
657
|
+
_user_tags?: string | null | undefined;
|
|
658
658
|
supplier_part_no?: string | null | undefined;
|
|
659
659
|
}[];
|
|
660
660
|
customer_items: any[];
|
|
661
661
|
custom_certifications: {
|
|
662
|
+
docstatus: number;
|
|
662
663
|
name: string;
|
|
663
664
|
owner: string;
|
|
664
665
|
creation: string;
|
|
665
666
|
modified: string;
|
|
666
667
|
modified_by: string;
|
|
667
668
|
idx: number;
|
|
668
|
-
docstatus: number;
|
|
669
669
|
doctype: string;
|
|
670
670
|
parenttype: string;
|
|
671
671
|
parentfield: string;
|
|
672
672
|
certification: string;
|
|
673
|
-
_user_tags?: string | undefined;
|
|
673
|
+
_user_tags?: string | null | undefined;
|
|
674
674
|
}[];
|
|
675
675
|
custom_oversell_amount: number | null;
|
|
676
676
|
length?: number | null | undefined;
|
|
677
|
-
_user_tags?: string | undefined;
|
|
677
|
+
_user_tags?: string | null | undefined;
|
|
678
678
|
image?: string | null | undefined;
|
|
679
679
|
weight_per_unit?: number | null | undefined;
|
|
680
680
|
warehouse_category?: string | null | undefined;
|
|
@@ -827,15 +827,15 @@ export declare class ERPNextItem {
|
|
|
827
827
|
params?: Record<string, string>;
|
|
828
828
|
priority?: number;
|
|
829
829
|
}) => Promise<{
|
|
830
|
+
description: string;
|
|
831
|
+
docstatus: number;
|
|
830
832
|
name: string;
|
|
831
833
|
owner: string;
|
|
832
834
|
creation: string;
|
|
833
835
|
modified: string;
|
|
834
836
|
modified_by: string;
|
|
835
837
|
idx: number;
|
|
836
|
-
docstatus: number;
|
|
837
838
|
doctype: string;
|
|
838
|
-
description: string;
|
|
839
839
|
disabled: 0 | 1;
|
|
840
840
|
naming_series: string;
|
|
841
841
|
item_code: string;
|
|
@@ -900,85 +900,85 @@ export declare class ERPNextItem {
|
|
|
900
900
|
customer_code: string;
|
|
901
901
|
total_projected_qty: number;
|
|
902
902
|
barcodes: {
|
|
903
|
+
docstatus: number;
|
|
903
904
|
name: string;
|
|
904
905
|
owner: string;
|
|
905
906
|
creation: string;
|
|
906
907
|
modified: string;
|
|
907
908
|
modified_by: string;
|
|
908
909
|
idx: number;
|
|
909
|
-
docstatus: number;
|
|
910
910
|
doctype: string;
|
|
911
911
|
parenttype: string;
|
|
912
912
|
parentfield: string;
|
|
913
913
|
barcode: string;
|
|
914
914
|
barcode_type: string;
|
|
915
|
-
_user_tags?: string | undefined;
|
|
915
|
+
_user_tags?: string | null | undefined;
|
|
916
916
|
}[];
|
|
917
917
|
reorder_levels: any[];
|
|
918
918
|
uoms: {
|
|
919
|
+
docstatus: number;
|
|
919
920
|
name: string;
|
|
920
921
|
owner: string;
|
|
921
922
|
creation: string;
|
|
922
923
|
modified: string;
|
|
923
924
|
modified_by: string;
|
|
924
925
|
idx: number;
|
|
925
|
-
docstatus: number;
|
|
926
926
|
doctype: string;
|
|
927
927
|
parenttype: string;
|
|
928
928
|
parentfield: string;
|
|
929
929
|
uom: string;
|
|
930
930
|
conversion_factor: number;
|
|
931
|
-
_user_tags?: string | undefined;
|
|
931
|
+
_user_tags?: string | null | undefined;
|
|
932
932
|
}[];
|
|
933
933
|
attributes: any[];
|
|
934
934
|
item_defaults: {
|
|
935
|
+
docstatus: number;
|
|
935
936
|
name: string;
|
|
936
937
|
owner: string;
|
|
937
938
|
creation: string;
|
|
938
939
|
modified: string;
|
|
939
940
|
modified_by: string;
|
|
940
941
|
idx: number;
|
|
941
|
-
docstatus: number;
|
|
942
942
|
doctype: string;
|
|
943
943
|
parenttype: string;
|
|
944
944
|
parentfield: string;
|
|
945
945
|
company: string;
|
|
946
946
|
default_warehouse: string;
|
|
947
|
-
_user_tags?: string | undefined;
|
|
947
|
+
_user_tags?: string | null | undefined;
|
|
948
948
|
}[];
|
|
949
949
|
supplier_items: {
|
|
950
|
+
docstatus: number;
|
|
950
951
|
name: string;
|
|
951
952
|
owner: string;
|
|
952
953
|
creation: string;
|
|
953
954
|
modified: string;
|
|
954
955
|
modified_by: string;
|
|
955
956
|
idx: number;
|
|
956
|
-
docstatus: number;
|
|
957
957
|
doctype: string;
|
|
958
958
|
parenttype: string;
|
|
959
959
|
parentfield: string;
|
|
960
960
|
supplier: string;
|
|
961
|
-
_user_tags?: string | undefined;
|
|
961
|
+
_user_tags?: string | null | undefined;
|
|
962
962
|
supplier_part_no?: string | null | undefined;
|
|
963
963
|
}[];
|
|
964
964
|
customer_items: any[];
|
|
965
965
|
custom_certifications: {
|
|
966
|
+
docstatus: number;
|
|
966
967
|
name: string;
|
|
967
968
|
owner: string;
|
|
968
969
|
creation: string;
|
|
969
970
|
modified: string;
|
|
970
971
|
modified_by: string;
|
|
971
972
|
idx: number;
|
|
972
|
-
docstatus: number;
|
|
973
973
|
doctype: string;
|
|
974
974
|
parenttype: string;
|
|
975
975
|
parentfield: string;
|
|
976
976
|
certification: string;
|
|
977
|
-
_user_tags?: string | undefined;
|
|
977
|
+
_user_tags?: string | null | undefined;
|
|
978
978
|
}[];
|
|
979
979
|
custom_oversell_amount: number | null;
|
|
980
980
|
length?: number | null | undefined;
|
|
981
|
-
_user_tags?: string | undefined;
|
|
981
|
+
_user_tags?: string | null | undefined;
|
|
982
982
|
image?: string | null | undefined;
|
|
983
983
|
weight_per_unit?: number | null | undefined;
|
|
984
984
|
warehouse_category?: string | null | undefined;
|