erpnext-queue-client 2.0.0-beta.0 → 2.0.0-beta.1
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 +766 -748
- package/dist/erpnext/model/SalesOrder.js +150 -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
|
@@ -6,7 +6,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
6
6
|
protected temporalClient: TemporalClient;
|
|
7
7
|
protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof PurchaseReceipt>;
|
|
8
8
|
protected methodRequest: ERPNextMethodRequest;
|
|
9
|
-
getList: <TFieldOptions extends ("status" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "
|
|
9
|
+
getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "posting_date" | "posting_time" | "set_posting_time" | "currency" | "conversion_rate" | "base_net_total" | "supplier" | "is_subcontracted") | ("amended_from" | "_user_tags" | "__onload" | "tax_category" | "supplier_name" | "is_internal_supplier" | "language" | "discount_amount" | "cost_center" | "project" | "title" | "is_return" | "return_against" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "address_display" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "set_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "disable_rounded_total" | "tc_name" | "terms" | "lr_no" | "transporter_name" | "lr_date" | "represents_company" | "inter_company_reference" | "per_billed" | "letter_head" | "select_print_heading" | "group_same_items" | "per_returned" | "instructions" | "auto_repeat" | "remarks" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "rejected_warehouse" | "purchase_receipt_number" | "supplier_delivery_note" | "notes" | "apply_putaway_rule" | "supplier_address" | "set_from_warehouse" | "supplier_warehouse" | "range"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
10
10
|
fields?: TSelectedFields;
|
|
11
11
|
filters?: (string | string[])[][];
|
|
12
12
|
skip?: number;
|
|
@@ -18,13 +18,13 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
18
18
|
name: string;
|
|
19
19
|
}[] : TSelectedFields extends readonly ["*"] ? {
|
|
20
20
|
status: string;
|
|
21
|
+
docstatus: number;
|
|
21
22
|
name: string;
|
|
22
23
|
owner: string;
|
|
23
24
|
creation: string;
|
|
24
25
|
modified: string;
|
|
25
26
|
modified_by: string;
|
|
26
27
|
idx: number;
|
|
27
|
-
docstatus: number;
|
|
28
28
|
company: string;
|
|
29
29
|
naming_series: string;
|
|
30
30
|
posting_date: string;
|
|
@@ -36,7 +36,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
36
36
|
supplier: string;
|
|
37
37
|
is_subcontracted: number;
|
|
38
38
|
amended_from?: string | null | undefined;
|
|
39
|
-
_user_tags?: string | undefined;
|
|
39
|
+
_user_tags?: string | null | undefined;
|
|
40
40
|
__onload?: {
|
|
41
41
|
load_after_mapping: boolean;
|
|
42
42
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -98,6 +98,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
98
98
|
per_returned?: number | null | undefined;
|
|
99
99
|
instructions?: any;
|
|
100
100
|
auto_repeat?: any;
|
|
101
|
+
remarks?: any;
|
|
101
102
|
shipping_address_display?: string | null | undefined;
|
|
102
103
|
billing_address?: string | null | undefined;
|
|
103
104
|
billing_address_display?: string | null | undefined;
|
|
@@ -106,7 +107,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
106
107
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
107
108
|
taxes_and_charges_added?: number | null | undefined;
|
|
108
109
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
109
|
-
remarks?: any;
|
|
110
110
|
rejected_warehouse?: any;
|
|
111
111
|
purchase_receipt_number?: any;
|
|
112
112
|
supplier_delivery_note?: any;
|
|
@@ -116,15 +116,15 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
116
116
|
set_from_warehouse?: any;
|
|
117
117
|
supplier_warehouse?: any;
|
|
118
118
|
range?: any;
|
|
119
|
-
}[] : TSelectedFields extends TFieldOptions[] ?
|
|
119
|
+
}[] : 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 ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "posting_date" | "posting_time" | "set_posting_time" | "currency" | "conversion_rate" | "base_net_total" | "supplier" | "is_subcontracted") | ("amended_from" | "_user_tags" | "__onload" | "tax_category" | "supplier_name" | "is_internal_supplier" | "language" | "discount_amount" | "cost_center" | "project" | "title" | "is_return" | "return_against" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "address_display" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "set_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "disable_rounded_total" | "tc_name" | "terms" | "lr_no" | "transporter_name" | "lr_date" | "represents_company" | "inter_company_reference" | "per_billed" | "letter_head" | "select_print_heading" | "group_same_items" | "per_returned" | "instructions" | "auto_repeat" | "remarks" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "rejected_warehouse" | "purchase_receipt_number" | "supplier_delivery_note" | "notes" | "apply_putaway_rule" | "supplier_address" | "set_from_warehouse" | "supplier_warehouse" | "range") ? {
|
|
120
120
|
status: string;
|
|
121
|
+
docstatus: number;
|
|
121
122
|
name: string;
|
|
122
123
|
owner: string;
|
|
123
124
|
creation: string;
|
|
124
125
|
modified: string;
|
|
125
126
|
modified_by: string;
|
|
126
127
|
idx: number;
|
|
127
|
-
docstatus: number;
|
|
128
128
|
company: string;
|
|
129
129
|
naming_series: string;
|
|
130
130
|
posting_date: string;
|
|
@@ -136,7 +136,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
136
136
|
supplier: string;
|
|
137
137
|
is_subcontracted: number;
|
|
138
138
|
amended_from?: string | null | undefined;
|
|
139
|
-
_user_tags?: string | undefined;
|
|
139
|
+
_user_tags?: string | null | undefined;
|
|
140
140
|
__onload?: {
|
|
141
141
|
load_after_mapping: boolean;
|
|
142
142
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -198,6 +198,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
198
198
|
per_returned?: number | null | undefined;
|
|
199
199
|
instructions?: any;
|
|
200
200
|
auto_repeat?: any;
|
|
201
|
+
remarks?: any;
|
|
201
202
|
shipping_address_display?: string | null | undefined;
|
|
202
203
|
billing_address?: string | null | undefined;
|
|
203
204
|
billing_address_display?: string | null | undefined;
|
|
@@ -206,7 +207,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
206
207
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
207
208
|
taxes_and_charges_added?: number | null | undefined;
|
|
208
209
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
209
|
-
remarks?: any;
|
|
210
210
|
rejected_warehouse?: any;
|
|
211
211
|
purchase_receipt_number?: any;
|
|
212
212
|
supplier_delivery_note?: any;
|
|
@@ -216,19 +216,19 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
216
216
|
set_from_warehouse?: any;
|
|
217
217
|
supplier_warehouse?: any;
|
|
218
218
|
range?: any;
|
|
219
|
-
}
|
|
219
|
+
}[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "posting_date" | "posting_time" | "set_posting_time" | "currency" | "conversion_rate" | "base_net_total" | "supplier" | "is_subcontracted") | ("amended_from" | "_user_tags" | "__onload" | "tax_category" | "supplier_name" | "is_internal_supplier" | "language" | "discount_amount" | "cost_center" | "project" | "title" | "is_return" | "return_against" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "address_display" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "set_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "disable_rounded_total" | "tc_name" | "terms" | "lr_no" | "transporter_name" | "lr_date" | "represents_company" | "inter_company_reference" | "per_billed" | "letter_head" | "select_print_heading" | "group_same_items" | "per_returned" | "instructions" | "auto_repeat" | "remarks" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "rejected_warehouse" | "purchase_receipt_number" | "supplier_delivery_note" | "notes" | "apply_putaway_rule" | "supplier_address" | "set_from_warehouse" | "supplier_warehouse" | "range")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
|
|
220
220
|
getById: ({ resourceId, priority, }: {
|
|
221
221
|
resourceId: string;
|
|
222
222
|
priority?: number;
|
|
223
223
|
}) => Promise<{
|
|
224
224
|
status: string;
|
|
225
|
+
docstatus: number;
|
|
225
226
|
name: string;
|
|
226
227
|
owner: string;
|
|
227
228
|
creation: string;
|
|
228
229
|
modified: string;
|
|
229
230
|
modified_by: string;
|
|
230
231
|
idx: number;
|
|
231
|
-
docstatus: number;
|
|
232
232
|
doctype: string;
|
|
233
233
|
company: string;
|
|
234
234
|
naming_series: string;
|
|
@@ -240,17 +240,17 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
240
240
|
conversion_rate: number;
|
|
241
241
|
base_net_total: number;
|
|
242
242
|
items: {
|
|
243
|
+
description: string;
|
|
244
|
+
docstatus: number;
|
|
243
245
|
name: string;
|
|
244
246
|
owner: string;
|
|
245
247
|
creation: string;
|
|
246
248
|
modified: string;
|
|
247
249
|
modified_by: string;
|
|
248
250
|
idx: number;
|
|
249
|
-
docstatus: number;
|
|
250
251
|
doctype: string;
|
|
251
252
|
parenttype: string;
|
|
252
253
|
parentfield: string;
|
|
253
|
-
description: string;
|
|
254
254
|
item_code: string;
|
|
255
255
|
item_name: string;
|
|
256
256
|
stock_uom: string;
|
|
@@ -260,8 +260,8 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
260
260
|
allow_zero_valuation_rate: number;
|
|
261
261
|
received_qty: number;
|
|
262
262
|
include_exploded_items: number;
|
|
263
|
-
_user_tags?: string | undefined;
|
|
264
263
|
brand?: any;
|
|
264
|
+
_user_tags?: string | null | undefined;
|
|
265
265
|
image?: string | null | undefined;
|
|
266
266
|
barcode?: any;
|
|
267
267
|
item_group?: string | null | undefined;
|
|
@@ -337,7 +337,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
337
337
|
is_subcontracted: number;
|
|
338
338
|
supplied_items: any[];
|
|
339
339
|
amended_from?: string | null | undefined;
|
|
340
|
-
_user_tags?: string | undefined;
|
|
340
|
+
_user_tags?: string | null | undefined;
|
|
341
341
|
__onload?: {
|
|
342
342
|
load_after_mapping: boolean;
|
|
343
343
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -399,6 +399,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
399
399
|
per_returned?: number | null | undefined;
|
|
400
400
|
instructions?: any;
|
|
401
401
|
auto_repeat?: any;
|
|
402
|
+
remarks?: any;
|
|
402
403
|
shipping_address_display?: string | null | undefined;
|
|
403
404
|
billing_address?: string | null | undefined;
|
|
404
405
|
billing_address_display?: string | null | undefined;
|
|
@@ -407,7 +408,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
407
408
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
408
409
|
taxes_and_charges_added?: number | null | undefined;
|
|
409
410
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
410
|
-
remarks?: any;
|
|
411
411
|
rejected_warehouse?: any;
|
|
412
412
|
purchase_receipt_number?: any;
|
|
413
413
|
supplier_delivery_note?: any;
|
|
@@ -417,7 +417,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
417
417
|
set_from_warehouse?: any;
|
|
418
418
|
supplier_warehouse?: any;
|
|
419
419
|
range?: any;
|
|
420
|
-
}>;
|
|
420
|
+
} | undefined>;
|
|
421
421
|
updateById: <TInput extends TInputModel extends undefined ? Partial<{
|
|
422
422
|
status: string;
|
|
423
423
|
company: string;
|
|
@@ -516,6 +516,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
516
516
|
is_subcontracted: number;
|
|
517
517
|
supplied_items: any[];
|
|
518
518
|
amended_from?: string | null | undefined;
|
|
519
|
+
docstatus?: number | undefined;
|
|
519
520
|
__onload?: {
|
|
520
521
|
load_after_mapping: boolean;
|
|
521
522
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -577,6 +578,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
577
578
|
per_returned?: number | null | undefined;
|
|
578
579
|
instructions?: any;
|
|
579
580
|
auto_repeat?: any;
|
|
581
|
+
remarks?: any;
|
|
580
582
|
shipping_address_display?: string | null | undefined;
|
|
581
583
|
billing_address?: string | null | undefined;
|
|
582
584
|
billing_address_display?: string | null | undefined;
|
|
@@ -585,7 +587,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
585
587
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
586
588
|
taxes_and_charges_added?: number | null | undefined;
|
|
587
589
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
588
|
-
remarks?: any;
|
|
589
590
|
rejected_warehouse?: any;
|
|
590
591
|
purchase_receipt_number?: any;
|
|
591
592
|
supplier_delivery_note?: any;
|
|
@@ -602,13 +603,13 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
602
603
|
body: TInput;
|
|
603
604
|
}) => Promise<{
|
|
604
605
|
status: string;
|
|
606
|
+
docstatus: number;
|
|
605
607
|
name: string;
|
|
606
608
|
owner: string;
|
|
607
609
|
creation: string;
|
|
608
610
|
modified: string;
|
|
609
611
|
modified_by: string;
|
|
610
612
|
idx: number;
|
|
611
|
-
docstatus: number;
|
|
612
613
|
doctype: string;
|
|
613
614
|
company: string;
|
|
614
615
|
naming_series: string;
|
|
@@ -620,17 +621,17 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
620
621
|
conversion_rate: number;
|
|
621
622
|
base_net_total: number;
|
|
622
623
|
items: {
|
|
624
|
+
description: string;
|
|
625
|
+
docstatus: number;
|
|
623
626
|
name: string;
|
|
624
627
|
owner: string;
|
|
625
628
|
creation: string;
|
|
626
629
|
modified: string;
|
|
627
630
|
modified_by: string;
|
|
628
631
|
idx: number;
|
|
629
|
-
docstatus: number;
|
|
630
632
|
doctype: string;
|
|
631
633
|
parenttype: string;
|
|
632
634
|
parentfield: string;
|
|
633
|
-
description: string;
|
|
634
635
|
item_code: string;
|
|
635
636
|
item_name: string;
|
|
636
637
|
stock_uom: string;
|
|
@@ -640,8 +641,8 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
640
641
|
allow_zero_valuation_rate: number;
|
|
641
642
|
received_qty: number;
|
|
642
643
|
include_exploded_items: number;
|
|
643
|
-
_user_tags?: string | undefined;
|
|
644
644
|
brand?: any;
|
|
645
|
+
_user_tags?: string | null | undefined;
|
|
645
646
|
image?: string | null | undefined;
|
|
646
647
|
barcode?: any;
|
|
647
648
|
item_group?: string | null | undefined;
|
|
@@ -717,7 +718,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
717
718
|
is_subcontracted: number;
|
|
718
719
|
supplied_items: any[];
|
|
719
720
|
amended_from?: string | null | undefined;
|
|
720
|
-
_user_tags?: string | undefined;
|
|
721
|
+
_user_tags?: string | null | undefined;
|
|
721
722
|
__onload?: {
|
|
722
723
|
load_after_mapping: boolean;
|
|
723
724
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -779,6 +780,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
779
780
|
per_returned?: number | null | undefined;
|
|
780
781
|
instructions?: any;
|
|
781
782
|
auto_repeat?: any;
|
|
783
|
+
remarks?: any;
|
|
782
784
|
shipping_address_display?: string | null | undefined;
|
|
783
785
|
billing_address?: string | null | undefined;
|
|
784
786
|
billing_address_display?: string | null | undefined;
|
|
@@ -787,7 +789,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
787
789
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
788
790
|
taxes_and_charges_added?: number | null | undefined;
|
|
789
791
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
790
|
-
remarks?: any;
|
|
791
792
|
rejected_warehouse?: any;
|
|
792
793
|
purchase_receipt_number?: any;
|
|
793
794
|
supplier_delivery_note?: any;
|
|
@@ -806,13 +807,13 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
806
807
|
resourceId: string;
|
|
807
808
|
}) => Promise<{
|
|
808
809
|
status: string;
|
|
810
|
+
docstatus: number;
|
|
809
811
|
name: string;
|
|
810
812
|
owner: string;
|
|
811
813
|
creation: string;
|
|
812
814
|
modified: string;
|
|
813
815
|
modified_by: string;
|
|
814
816
|
idx: number;
|
|
815
|
-
docstatus: number;
|
|
816
817
|
doctype: string;
|
|
817
818
|
company: string;
|
|
818
819
|
naming_series: string;
|
|
@@ -824,17 +825,17 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
824
825
|
conversion_rate: number;
|
|
825
826
|
base_net_total: number;
|
|
826
827
|
items: {
|
|
828
|
+
description: string;
|
|
829
|
+
docstatus: number;
|
|
827
830
|
name: string;
|
|
828
831
|
owner: string;
|
|
829
832
|
creation: string;
|
|
830
833
|
modified: string;
|
|
831
834
|
modified_by: string;
|
|
832
835
|
idx: number;
|
|
833
|
-
docstatus: number;
|
|
834
836
|
doctype: string;
|
|
835
837
|
parenttype: string;
|
|
836
838
|
parentfield: string;
|
|
837
|
-
description: string;
|
|
838
839
|
item_code: string;
|
|
839
840
|
item_name: string;
|
|
840
841
|
stock_uom: string;
|
|
@@ -844,8 +845,8 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
844
845
|
allow_zero_valuation_rate: number;
|
|
845
846
|
received_qty: number;
|
|
846
847
|
include_exploded_items: number;
|
|
847
|
-
_user_tags?: string | undefined;
|
|
848
848
|
brand?: any;
|
|
849
|
+
_user_tags?: string | null | undefined;
|
|
849
850
|
image?: string | null | undefined;
|
|
850
851
|
barcode?: any;
|
|
851
852
|
item_group?: string | null | undefined;
|
|
@@ -921,7 +922,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
921
922
|
is_subcontracted: number;
|
|
922
923
|
supplied_items: any[];
|
|
923
924
|
amended_from?: string | null | undefined;
|
|
924
|
-
_user_tags?: string | undefined;
|
|
925
|
+
_user_tags?: string | null | undefined;
|
|
925
926
|
__onload?: {
|
|
926
927
|
load_after_mapping: boolean;
|
|
927
928
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -983,6 +984,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
983
984
|
per_returned?: number | null | undefined;
|
|
984
985
|
instructions?: any;
|
|
985
986
|
auto_repeat?: any;
|
|
987
|
+
remarks?: any;
|
|
986
988
|
shipping_address_display?: string | null | undefined;
|
|
987
989
|
billing_address?: string | null | undefined;
|
|
988
990
|
billing_address_display?: string | null | undefined;
|
|
@@ -991,7 +993,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
991
993
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
992
994
|
taxes_and_charges_added?: number | null | undefined;
|
|
993
995
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
994
|
-
remarks?: any;
|
|
995
996
|
rejected_warehouse?: any;
|
|
996
997
|
purchase_receipt_number?: any;
|
|
997
998
|
supplier_delivery_note?: any;
|
|
@@ -1006,13 +1007,13 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1006
1007
|
resourceId: string;
|
|
1007
1008
|
}) => Promise<{
|
|
1008
1009
|
status: string;
|
|
1010
|
+
docstatus: number;
|
|
1009
1011
|
name: string;
|
|
1010
1012
|
owner: string;
|
|
1011
1013
|
creation: string;
|
|
1012
1014
|
modified: string;
|
|
1013
1015
|
modified_by: string;
|
|
1014
1016
|
idx: number;
|
|
1015
|
-
docstatus: number;
|
|
1016
1017
|
doctype: string;
|
|
1017
1018
|
company: string;
|
|
1018
1019
|
naming_series: string;
|
|
@@ -1024,17 +1025,17 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1024
1025
|
conversion_rate: number;
|
|
1025
1026
|
base_net_total: number;
|
|
1026
1027
|
items: {
|
|
1028
|
+
description: string;
|
|
1029
|
+
docstatus: number;
|
|
1027
1030
|
name: string;
|
|
1028
1031
|
owner: string;
|
|
1029
1032
|
creation: string;
|
|
1030
1033
|
modified: string;
|
|
1031
1034
|
modified_by: string;
|
|
1032
1035
|
idx: number;
|
|
1033
|
-
docstatus: number;
|
|
1034
1036
|
doctype: string;
|
|
1035
1037
|
parenttype: string;
|
|
1036
1038
|
parentfield: string;
|
|
1037
|
-
description: string;
|
|
1038
1039
|
item_code: string;
|
|
1039
1040
|
item_name: string;
|
|
1040
1041
|
stock_uom: string;
|
|
@@ -1044,8 +1045,8 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1044
1045
|
allow_zero_valuation_rate: number;
|
|
1045
1046
|
received_qty: number;
|
|
1046
1047
|
include_exploded_items: number;
|
|
1047
|
-
_user_tags?: string | undefined;
|
|
1048
1048
|
brand?: any;
|
|
1049
|
+
_user_tags?: string | null | undefined;
|
|
1049
1050
|
image?: string | null | undefined;
|
|
1050
1051
|
barcode?: any;
|
|
1051
1052
|
item_group?: string | null | undefined;
|
|
@@ -1121,7 +1122,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1121
1122
|
is_subcontracted: number;
|
|
1122
1123
|
supplied_items: any[];
|
|
1123
1124
|
amended_from?: string | null | undefined;
|
|
1124
|
-
_user_tags?: string | undefined;
|
|
1125
|
+
_user_tags?: string | null | undefined;
|
|
1125
1126
|
__onload?: {
|
|
1126
1127
|
load_after_mapping: boolean;
|
|
1127
1128
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -1183,6 +1184,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1183
1184
|
per_returned?: number | null | undefined;
|
|
1184
1185
|
instructions?: any;
|
|
1185
1186
|
auto_repeat?: any;
|
|
1187
|
+
remarks?: any;
|
|
1186
1188
|
shipping_address_display?: string | null | undefined;
|
|
1187
1189
|
billing_address?: string | null | undefined;
|
|
1188
1190
|
billing_address_display?: string | null | undefined;
|
|
@@ -1191,7 +1193,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1191
1193
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
1192
1194
|
taxes_and_charges_added?: number | null | undefined;
|
|
1193
1195
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
1194
|
-
remarks?: any;
|
|
1195
1196
|
rejected_warehouse?: any;
|
|
1196
1197
|
purchase_receipt_number?: any;
|
|
1197
1198
|
supplier_delivery_note?: any;
|
|
@@ -1274,7 +1275,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1274
1275
|
supplier: string;
|
|
1275
1276
|
is_subcontracted: number;
|
|
1276
1277
|
supplied_items: any[];
|
|
1277
|
-
doctype?: string | null | undefined;
|
|
1278
1278
|
__onload?: {
|
|
1279
1279
|
load_after_mapping: boolean;
|
|
1280
1280
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -1333,13 +1333,13 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1333
1333
|
}>;
|
|
1334
1334
|
createFromPurchaseOrder(purchaseOrderName: string, submit?: boolean): Promise<{
|
|
1335
1335
|
status: string;
|
|
1336
|
+
docstatus: number;
|
|
1336
1337
|
name: string;
|
|
1337
1338
|
owner: string;
|
|
1338
1339
|
creation: string;
|
|
1339
1340
|
modified: string;
|
|
1340
1341
|
modified_by: string;
|
|
1341
1342
|
idx: number;
|
|
1342
|
-
docstatus: number;
|
|
1343
1343
|
doctype: string;
|
|
1344
1344
|
company: string;
|
|
1345
1345
|
naming_series: string;
|
|
@@ -1351,17 +1351,17 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1351
1351
|
conversion_rate: number;
|
|
1352
1352
|
base_net_total: number;
|
|
1353
1353
|
items: {
|
|
1354
|
+
description: string;
|
|
1355
|
+
docstatus: number;
|
|
1354
1356
|
name: string;
|
|
1355
1357
|
owner: string;
|
|
1356
1358
|
creation: string;
|
|
1357
1359
|
modified: string;
|
|
1358
1360
|
modified_by: string;
|
|
1359
1361
|
idx: number;
|
|
1360
|
-
docstatus: number;
|
|
1361
1362
|
doctype: string;
|
|
1362
1363
|
parenttype: string;
|
|
1363
1364
|
parentfield: string;
|
|
1364
|
-
description: string;
|
|
1365
1365
|
item_code: string;
|
|
1366
1366
|
item_name: string;
|
|
1367
1367
|
stock_uom: string;
|
|
@@ -1371,8 +1371,8 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1371
1371
|
allow_zero_valuation_rate: number;
|
|
1372
1372
|
received_qty: number;
|
|
1373
1373
|
include_exploded_items: number;
|
|
1374
|
-
_user_tags?: string | undefined;
|
|
1375
1374
|
brand?: any;
|
|
1375
|
+
_user_tags?: string | null | undefined;
|
|
1376
1376
|
image?: string | null | undefined;
|
|
1377
1377
|
barcode?: any;
|
|
1378
1378
|
item_group?: string | null | undefined;
|
|
@@ -1448,7 +1448,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1448
1448
|
is_subcontracted: number;
|
|
1449
1449
|
supplied_items: any[];
|
|
1450
1450
|
amended_from?: string | null | undefined;
|
|
1451
|
-
_user_tags?: string | undefined;
|
|
1451
|
+
_user_tags?: string | null | undefined;
|
|
1452
1452
|
__onload?: {
|
|
1453
1453
|
load_after_mapping: boolean;
|
|
1454
1454
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -1510,6 +1510,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1510
1510
|
per_returned?: number | null | undefined;
|
|
1511
1511
|
instructions?: any;
|
|
1512
1512
|
auto_repeat?: any;
|
|
1513
|
+
remarks?: any;
|
|
1513
1514
|
shipping_address_display?: string | null | undefined;
|
|
1514
1515
|
billing_address?: string | null | undefined;
|
|
1515
1516
|
billing_address_display?: string | null | undefined;
|
|
@@ -1518,7 +1519,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1518
1519
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
1519
1520
|
taxes_and_charges_added?: number | null | undefined;
|
|
1520
1521
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
1521
|
-
remarks?: any;
|
|
1522
1522
|
rejected_warehouse?: any;
|
|
1523
1523
|
purchase_receipt_number?: any;
|
|
1524
1524
|
supplier_delivery_note?: any;
|
|
@@ -1600,7 +1600,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1600
1600
|
supplier: string;
|
|
1601
1601
|
is_subcontracted: number;
|
|
1602
1602
|
supplied_items: any[];
|
|
1603
|
-
doctype?: string | null | undefined;
|
|
1604
1603
|
__onload?: {
|
|
1605
1604
|
load_after_mapping: boolean;
|
|
1606
1605
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -1659,13 +1658,13 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1659
1658
|
}>;
|
|
1660
1659
|
createFromPurchaseInvoice(purchaseInvoiceName: string, submit?: boolean): Promise<{
|
|
1661
1660
|
status: string;
|
|
1661
|
+
docstatus: number;
|
|
1662
1662
|
name: string;
|
|
1663
1663
|
owner: string;
|
|
1664
1664
|
creation: string;
|
|
1665
1665
|
modified: string;
|
|
1666
1666
|
modified_by: string;
|
|
1667
1667
|
idx: number;
|
|
1668
|
-
docstatus: number;
|
|
1669
1668
|
doctype: string;
|
|
1670
1669
|
company: string;
|
|
1671
1670
|
naming_series: string;
|
|
@@ -1677,17 +1676,17 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1677
1676
|
conversion_rate: number;
|
|
1678
1677
|
base_net_total: number;
|
|
1679
1678
|
items: {
|
|
1679
|
+
description: string;
|
|
1680
|
+
docstatus: number;
|
|
1680
1681
|
name: string;
|
|
1681
1682
|
owner: string;
|
|
1682
1683
|
creation: string;
|
|
1683
1684
|
modified: string;
|
|
1684
1685
|
modified_by: string;
|
|
1685
1686
|
idx: number;
|
|
1686
|
-
docstatus: number;
|
|
1687
1687
|
doctype: string;
|
|
1688
1688
|
parenttype: string;
|
|
1689
1689
|
parentfield: string;
|
|
1690
|
-
description: string;
|
|
1691
1690
|
item_code: string;
|
|
1692
1691
|
item_name: string;
|
|
1693
1692
|
stock_uom: string;
|
|
@@ -1697,8 +1696,8 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1697
1696
|
allow_zero_valuation_rate: number;
|
|
1698
1697
|
received_qty: number;
|
|
1699
1698
|
include_exploded_items: number;
|
|
1700
|
-
_user_tags?: string | undefined;
|
|
1701
1699
|
brand?: any;
|
|
1700
|
+
_user_tags?: string | null | undefined;
|
|
1702
1701
|
image?: string | null | undefined;
|
|
1703
1702
|
barcode?: any;
|
|
1704
1703
|
item_group?: string | null | undefined;
|
|
@@ -1774,7 +1773,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1774
1773
|
is_subcontracted: number;
|
|
1775
1774
|
supplied_items: any[];
|
|
1776
1775
|
amended_from?: string | null | undefined;
|
|
1777
|
-
_user_tags?: string | undefined;
|
|
1776
|
+
_user_tags?: string | null | undefined;
|
|
1778
1777
|
__onload?: {
|
|
1779
1778
|
load_after_mapping: boolean;
|
|
1780
1779
|
ignore_price_list?: boolean | null | undefined;
|
|
@@ -1836,6 +1835,7 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1836
1835
|
per_returned?: number | null | undefined;
|
|
1837
1836
|
instructions?: any;
|
|
1838
1837
|
auto_repeat?: any;
|
|
1838
|
+
remarks?: any;
|
|
1839
1839
|
shipping_address_display?: string | null | undefined;
|
|
1840
1840
|
billing_address?: string | null | undefined;
|
|
1841
1841
|
billing_address_display?: string | null | undefined;
|
|
@@ -1844,7 +1844,6 @@ export declare class ERPNextPurchaseReceipt {
|
|
|
1844
1844
|
base_taxes_and_charges_deducted?: number | null | undefined;
|
|
1845
1845
|
taxes_and_charges_added?: number | null | undefined;
|
|
1846
1846
|
taxes_and_charges_deducted?: number | null | undefined;
|
|
1847
|
-
remarks?: any;
|
|
1848
1847
|
rejected_warehouse?: any;
|
|
1849
1848
|
purchase_receipt_number?: any;
|
|
1850
1849
|
supplier_delivery_note?: any;
|