erpnext-queue-client 2.0.0-beta.2 → 2.1.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.
@@ -6,7 +6,7 @@ export declare class ERPNextSalesInvoice {
6
6
  protected temporalClient: TemporalClient;
7
7
  protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof SalesInvoice>;
8
8
  protected methodRequest: ERPNextMethodRequest;
9
- getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "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" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "outstanding_amount" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
9
+ getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "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" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference"), 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;
@@ -133,23 +133,23 @@ export declare class ERPNextSalesInvoice {
133
133
  included_in_print_rate: 0 | 1;
134
134
  account_head: string;
135
135
  description?: string | undefined;
136
+ account_currency?: string | undefined;
136
137
  rate?: number | undefined;
137
138
  cost_center?: string | undefined;
138
139
  project?: string | undefined;
139
140
  base_total?: number | undefined;
140
141
  total?: number | undefined;
141
- account_currency?: string | undefined;
142
142
  tax_amount?: number | undefined;
143
143
  tax_amount_after_discount_amount?: number | undefined;
144
144
  base_tax_amount?: number | undefined;
145
145
  }[] | null | undefined;
146
146
  sales_team?: any[] | null | undefined;
147
+ outstanding_amount?: number | null | undefined;
147
148
  paid_amount?: number | null | undefined;
148
149
  base_paid_amount?: number | null | undefined;
149
150
  remarks?: string | null | undefined;
150
151
  due_date?: string | null | undefined;
151
152
  total_advance?: number | null | undefined;
152
- outstanding_amount?: number | null | undefined;
153
153
  write_off_amount?: number | null | undefined;
154
154
  base_write_off_amount?: number | null | undefined;
155
155
  payment_terms_template?: string | null | undefined;
@@ -176,8 +176,8 @@ export declare class ERPNextSalesInvoice {
176
176
  payments?: {
177
177
  amount: number;
178
178
  mode_of_payment: string;
179
- account?: string | null | undefined;
180
179
  base_amount?: number | null | undefined;
180
+ account?: string | null | undefined;
181
181
  reference_no?: string | null | undefined;
182
182
  clearance_date?: string | null | undefined;
183
183
  }[] | null | undefined;
@@ -198,7 +198,7 @@ export declare class ERPNextSalesInvoice {
198
198
  to_date?: string | null | undefined;
199
199
  update_auto_repeat_reference?: string | null | undefined;
200
200
  inter_company_invoice_reference?: string | null | undefined;
201
- }[] : 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" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "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" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "outstanding_amount" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference") ? {
201
+ }[] : 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" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "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" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference") ? {
202
202
  status: "Internal Transfer" | "Draft" | "Return" | "Credit Note Issued" | "Submitted" | "Paid" | "Partly Paid" | "Unpaid" | "Unpaid and Discounted" | "Partly Paid and Discounted" | "Overdue and Discounted" | "Overdue" | "Cancelled";
203
203
  docstatus: number;
204
204
  name: string;
@@ -315,23 +315,23 @@ export declare class ERPNextSalesInvoice {
315
315
  included_in_print_rate: 0 | 1;
316
316
  account_head: string;
317
317
  description?: string | undefined;
318
+ account_currency?: string | undefined;
318
319
  rate?: number | undefined;
319
320
  cost_center?: string | undefined;
320
321
  project?: string | undefined;
321
322
  base_total?: number | undefined;
322
323
  total?: number | undefined;
323
- account_currency?: string | undefined;
324
324
  tax_amount?: number | undefined;
325
325
  tax_amount_after_discount_amount?: number | undefined;
326
326
  base_tax_amount?: number | undefined;
327
327
  }[] | null | undefined;
328
328
  sales_team?: any[] | null | undefined;
329
+ outstanding_amount?: number | null | undefined;
329
330
  paid_amount?: number | null | undefined;
330
331
  base_paid_amount?: number | null | undefined;
331
332
  remarks?: string | null | undefined;
332
333
  due_date?: string | null | undefined;
333
334
  total_advance?: number | null | undefined;
334
- outstanding_amount?: number | null | undefined;
335
335
  write_off_amount?: number | null | undefined;
336
336
  base_write_off_amount?: number | null | undefined;
337
337
  payment_terms_template?: string | null | undefined;
@@ -358,8 +358,8 @@ export declare class ERPNextSalesInvoice {
358
358
  payments?: {
359
359
  amount: number;
360
360
  mode_of_payment: string;
361
- account?: string | null | undefined;
362
361
  base_amount?: number | null | undefined;
362
+ account?: string | null | undefined;
363
363
  reference_no?: string | null | undefined;
364
364
  clearance_date?: string | null | undefined;
365
365
  }[] | null | undefined;
@@ -380,7 +380,7 @@ export declare class ERPNextSalesInvoice {
380
380
  to_date?: string | null | undefined;
381
381
  update_auto_repeat_reference?: string | null | undefined;
382
382
  inter_company_invoice_reference?: string | null | undefined;
383
- }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "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" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "outstanding_amount" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
383
+ }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "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" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
384
384
  getById: ({ resourceId, priority, }: {
385
385
  resourceId: string;
386
386
  priority?: number;
@@ -588,23 +588,23 @@ export declare class ERPNextSalesInvoice {
588
588
  included_in_print_rate: 0 | 1;
589
589
  account_head: string;
590
590
  description?: string | undefined;
591
+ account_currency?: string | undefined;
591
592
  rate?: number | undefined;
592
593
  cost_center?: string | undefined;
593
594
  project?: string | undefined;
594
595
  base_total?: number | undefined;
595
596
  total?: number | undefined;
596
- account_currency?: string | undefined;
597
597
  tax_amount?: number | undefined;
598
598
  tax_amount_after_discount_amount?: number | undefined;
599
599
  base_tax_amount?: number | undefined;
600
600
  }[] | null | undefined;
601
601
  sales_team?: any[] | null | undefined;
602
+ outstanding_amount?: number | null | undefined;
602
603
  paid_amount?: number | null | undefined;
603
604
  base_paid_amount?: number | null | undefined;
604
605
  remarks?: string | null | undefined;
605
606
  due_date?: string | null | undefined;
606
607
  total_advance?: number | null | undefined;
607
- outstanding_amount?: number | null | undefined;
608
608
  write_off_amount?: number | null | undefined;
609
609
  base_write_off_amount?: number | null | undefined;
610
610
  payment_terms_template?: string | null | undefined;
@@ -631,8 +631,8 @@ export declare class ERPNextSalesInvoice {
631
631
  payments?: {
632
632
  amount: number;
633
633
  mode_of_payment: string;
634
- account?: string | null | undefined;
635
634
  base_amount?: number | null | undefined;
635
+ account?: string | null | undefined;
636
636
  reference_no?: string | null | undefined;
637
637
  clearance_date?: string | null | undefined;
638
638
  }[] | null | undefined;
@@ -821,24 +821,24 @@ export declare class ERPNextSalesInvoice {
821
821
  included_in_print_rate: 0 | 1;
822
822
  account_head: string;
823
823
  description?: string | undefined;
824
+ account_currency?: string | undefined;
824
825
  rate?: number | undefined;
825
826
  cost_center?: string | undefined;
826
827
  project?: string | undefined;
827
828
  base_total?: number | undefined;
828
829
  total?: number | undefined;
829
- account_currency?: string | undefined;
830
830
  tax_amount?: number | undefined;
831
831
  tax_amount_after_discount_amount?: number | undefined;
832
832
  base_tax_amount?: number | undefined;
833
833
  }[] | null | undefined;
834
834
  sales_team?: any[] | null | undefined;
835
+ outstanding_amount?: number | null | undefined;
835
836
  paid_amount?: number | null | undefined;
836
837
  base_paid_amount?: number | null | undefined;
837
838
  remarks?: string | null | undefined;
838
839
  due_date?: string | null | undefined;
839
840
  update_stock?: 0 | 1 | undefined;
840
841
  total_advance?: number | null | undefined;
841
- outstanding_amount?: number | null | undefined;
842
842
  write_off_amount?: number | null | undefined;
843
843
  base_write_off_amount?: number | null | undefined;
844
844
  allocate_advances_automatically?: 0 | 1 | undefined;
@@ -876,8 +876,8 @@ export declare class ERPNextSalesInvoice {
876
876
  payments?: {
877
877
  amount: number;
878
878
  mode_of_payment: string;
879
- account?: string | null | undefined;
880
879
  base_amount?: number | null | undefined;
880
+ account?: string | null | undefined;
881
881
  reference_no?: string | null | undefined;
882
882
  clearance_date?: string | null | undefined;
883
883
  }[] | null | undefined;
@@ -1113,23 +1113,23 @@ export declare class ERPNextSalesInvoice {
1113
1113
  included_in_print_rate: 0 | 1;
1114
1114
  account_head: string;
1115
1115
  description?: string | undefined;
1116
+ account_currency?: string | undefined;
1116
1117
  rate?: number | undefined;
1117
1118
  cost_center?: string | undefined;
1118
1119
  project?: string | undefined;
1119
1120
  base_total?: number | undefined;
1120
1121
  total?: number | undefined;
1121
- account_currency?: string | undefined;
1122
1122
  tax_amount?: number | undefined;
1123
1123
  tax_amount_after_discount_amount?: number | undefined;
1124
1124
  base_tax_amount?: number | undefined;
1125
1125
  }[] | null | undefined;
1126
1126
  sales_team?: any[] | null | undefined;
1127
+ outstanding_amount?: number | null | undefined;
1127
1128
  paid_amount?: number | null | undefined;
1128
1129
  base_paid_amount?: number | null | undefined;
1129
1130
  remarks?: string | null | undefined;
1130
1131
  due_date?: string | null | undefined;
1131
1132
  total_advance?: number | null | undefined;
1132
- outstanding_amount?: number | null | undefined;
1133
1133
  write_off_amount?: number | null | undefined;
1134
1134
  base_write_off_amount?: number | null | undefined;
1135
1135
  payment_terms_template?: string | null | undefined;
@@ -1156,8 +1156,8 @@ export declare class ERPNextSalesInvoice {
1156
1156
  payments?: {
1157
1157
  amount: number;
1158
1158
  mode_of_payment: string;
1159
- account?: string | null | undefined;
1160
1159
  base_amount?: number | null | undefined;
1160
+ account?: string | null | undefined;
1161
1161
  reference_no?: string | null | undefined;
1162
1162
  clearance_date?: string | null | undefined;
1163
1163
  }[] | null | undefined;
@@ -1346,24 +1346,24 @@ export declare class ERPNextSalesInvoice {
1346
1346
  included_in_print_rate: 0 | 1;
1347
1347
  account_head: string;
1348
1348
  description?: string | undefined;
1349
+ account_currency?: string | undefined;
1349
1350
  rate?: number | undefined;
1350
1351
  cost_center?: string | undefined;
1351
1352
  project?: string | undefined;
1352
1353
  base_total?: number | undefined;
1353
1354
  total?: number | undefined;
1354
- account_currency?: string | undefined;
1355
1355
  tax_amount?: number | undefined;
1356
1356
  tax_amount_after_discount_amount?: number | undefined;
1357
1357
  base_tax_amount?: number | undefined;
1358
1358
  }[] | null | undefined;
1359
1359
  sales_team?: any[] | null | undefined;
1360
+ outstanding_amount?: number | null | undefined;
1360
1361
  paid_amount?: number | null | undefined;
1361
1362
  base_paid_amount?: number | null | undefined;
1362
1363
  remarks?: string | null | undefined;
1363
1364
  due_date?: string | null | undefined;
1364
1365
  update_stock?: 0 | 1 | undefined;
1365
1366
  total_advance?: number | null | undefined;
1366
- outstanding_amount?: number | null | undefined;
1367
1367
  write_off_amount?: number | null | undefined;
1368
1368
  base_write_off_amount?: number | null | undefined;
1369
1369
  allocate_advances_automatically?: 0 | 1 | undefined;
@@ -1401,8 +1401,8 @@ export declare class ERPNextSalesInvoice {
1401
1401
  payments?: {
1402
1402
  amount: number;
1403
1403
  mode_of_payment: string;
1404
- account?: string | null | undefined;
1405
1404
  base_amount?: number | null | undefined;
1405
+ account?: string | null | undefined;
1406
1406
  reference_no?: string | null | undefined;
1407
1407
  clearance_date?: string | null | undefined;
1408
1408
  }[] | null | undefined;
@@ -1638,23 +1638,23 @@ export declare class ERPNextSalesInvoice {
1638
1638
  included_in_print_rate: 0 | 1;
1639
1639
  account_head: string;
1640
1640
  description?: string | undefined;
1641
+ account_currency?: string | undefined;
1641
1642
  rate?: number | undefined;
1642
1643
  cost_center?: string | undefined;
1643
1644
  project?: string | undefined;
1644
1645
  base_total?: number | undefined;
1645
1646
  total?: number | undefined;
1646
- account_currency?: string | undefined;
1647
1647
  tax_amount?: number | undefined;
1648
1648
  tax_amount_after_discount_amount?: number | undefined;
1649
1649
  base_tax_amount?: number | undefined;
1650
1650
  }[] | null | undefined;
1651
1651
  sales_team?: any[] | null | undefined;
1652
+ outstanding_amount?: number | null | undefined;
1652
1653
  paid_amount?: number | null | undefined;
1653
1654
  base_paid_amount?: number | null | undefined;
1654
1655
  remarks?: string | null | undefined;
1655
1656
  due_date?: string | null | undefined;
1656
1657
  total_advance?: number | null | undefined;
1657
- outstanding_amount?: number | null | undefined;
1658
1658
  write_off_amount?: number | null | undefined;
1659
1659
  base_write_off_amount?: number | null | undefined;
1660
1660
  payment_terms_template?: string | null | undefined;
@@ -1681,8 +1681,8 @@ export declare class ERPNextSalesInvoice {
1681
1681
  payments?: {
1682
1682
  amount: number;
1683
1683
  mode_of_payment: string;
1684
- account?: string | null | undefined;
1685
1684
  base_amount?: number | null | undefined;
1685
+ account?: string | null | undefined;
1686
1686
  reference_no?: string | null | undefined;
1687
1687
  clearance_date?: string | null | undefined;
1688
1688
  }[] | null | undefined;
@@ -1914,23 +1914,23 @@ export declare class ERPNextSalesInvoice {
1914
1914
  included_in_print_rate: 0 | 1;
1915
1915
  account_head: string;
1916
1916
  description?: string | undefined;
1917
+ account_currency?: string | undefined;
1917
1918
  rate?: number | undefined;
1918
1919
  cost_center?: string | undefined;
1919
1920
  project?: string | undefined;
1920
1921
  base_total?: number | undefined;
1921
1922
  total?: number | undefined;
1922
- account_currency?: string | undefined;
1923
1923
  tax_amount?: number | undefined;
1924
1924
  tax_amount_after_discount_amount?: number | undefined;
1925
1925
  base_tax_amount?: number | undefined;
1926
1926
  }[] | null | undefined;
1927
1927
  sales_team?: any[] | null | undefined;
1928
+ outstanding_amount?: number | null | undefined;
1928
1929
  paid_amount?: number | null | undefined;
1929
1930
  base_paid_amount?: number | null | undefined;
1930
1931
  remarks?: string | null | undefined;
1931
1932
  due_date?: string | null | undefined;
1932
1933
  total_advance?: number | null | undefined;
1933
- outstanding_amount?: number | null | undefined;
1934
1934
  write_off_amount?: number | null | undefined;
1935
1935
  base_write_off_amount?: number | null | undefined;
1936
1936
  payment_terms_template?: string | null | undefined;
@@ -1957,8 +1957,8 @@ export declare class ERPNextSalesInvoice {
1957
1957
  payments?: {
1958
1958
  amount: number;
1959
1959
  mode_of_payment: string;
1960
- account?: string | null | undefined;
1961
1960
  base_amount?: number | null | undefined;
1961
+ account?: string | null | undefined;
1962
1962
  reference_no?: string | null | undefined;
1963
1963
  clearance_date?: string | null | undefined;
1964
1964
  }[] | null | undefined;
@@ -2186,23 +2186,23 @@ export declare class ERPNextSalesInvoice {
2186
2186
  included_in_print_rate: 0 | 1;
2187
2187
  account_head: string;
2188
2188
  description?: string | undefined;
2189
+ account_currency?: string | undefined;
2189
2190
  rate?: number | undefined;
2190
2191
  cost_center?: string | undefined;
2191
2192
  project?: string | undefined;
2192
2193
  base_total?: number | undefined;
2193
2194
  total?: number | undefined;
2194
- account_currency?: string | undefined;
2195
2195
  tax_amount?: number | undefined;
2196
2196
  tax_amount_after_discount_amount?: number | undefined;
2197
2197
  base_tax_amount?: number | undefined;
2198
2198
  }[] | null | undefined;
2199
2199
  sales_team?: any[] | null | undefined;
2200
+ outstanding_amount?: number | null | undefined;
2200
2201
  paid_amount?: number | null | undefined;
2201
2202
  base_paid_amount?: number | null | undefined;
2202
2203
  remarks?: string | null | undefined;
2203
2204
  due_date?: string | null | undefined;
2204
2205
  total_advance?: number | null | undefined;
2205
- outstanding_amount?: number | null | undefined;
2206
2206
  write_off_amount?: number | null | undefined;
2207
2207
  base_write_off_amount?: number | null | undefined;
2208
2208
  payment_terms_template?: string | null | undefined;
@@ -2229,8 +2229,8 @@ export declare class ERPNextSalesInvoice {
2229
2229
  payments?: {
2230
2230
  amount: number;
2231
2231
  mode_of_payment: string;
2232
- account?: string | null | undefined;
2233
2232
  base_amount?: number | null | undefined;
2233
+ account?: string | null | undefined;
2234
2234
  reference_no?: string | null | undefined;
2235
2235
  clearance_date?: string | null | undefined;
2236
2236
  }[] | null | undefined;
@@ -2456,23 +2456,23 @@ export declare class ERPNextSalesInvoice {
2456
2456
  included_in_print_rate: 0 | 1;
2457
2457
  account_head: string;
2458
2458
  description?: string | undefined;
2459
+ account_currency?: string | undefined;
2459
2460
  rate?: number | undefined;
2460
2461
  cost_center?: string | undefined;
2461
2462
  project?: string | undefined;
2462
2463
  base_total?: number | undefined;
2463
2464
  total?: number | undefined;
2464
- account_currency?: string | undefined;
2465
2465
  tax_amount?: number | undefined;
2466
2466
  tax_amount_after_discount_amount?: number | undefined;
2467
2467
  base_tax_amount?: number | undefined;
2468
2468
  }[] | null | undefined;
2469
2469
  sales_team?: any[] | null | undefined;
2470
+ outstanding_amount?: number | null | undefined;
2470
2471
  paid_amount?: number | null | undefined;
2471
2472
  base_paid_amount?: number | null | undefined;
2472
2473
  remarks?: string | null | undefined;
2473
2474
  due_date?: string | null | undefined;
2474
2475
  total_advance?: number | null | undefined;
2475
- outstanding_amount?: number | null | undefined;
2476
2476
  write_off_amount?: number | null | undefined;
2477
2477
  base_write_off_amount?: number | null | undefined;
2478
2478
  payment_terms_template?: string | null | undefined;
@@ -2499,8 +2499,8 @@ export declare class ERPNextSalesInvoice {
2499
2499
  payments?: {
2500
2500
  amount: number;
2501
2501
  mode_of_payment: string;
2502
- account?: string | null | undefined;
2503
2502
  base_amount?: number | null | undefined;
2503
+ account?: string | null | undefined;
2504
2504
  reference_no?: string | null | undefined;
2505
2505
  clearance_date?: string | null | undefined;
2506
2506
  }[] | null | undefined;
@@ -2726,23 +2726,23 @@ export declare class ERPNextSalesInvoice {
2726
2726
  included_in_print_rate: 0 | 1;
2727
2727
  account_head: string;
2728
2728
  description?: string | undefined;
2729
+ account_currency?: string | undefined;
2729
2730
  rate?: number | undefined;
2730
2731
  cost_center?: string | undefined;
2731
2732
  project?: string | undefined;
2732
2733
  base_total?: number | undefined;
2733
2734
  total?: number | undefined;
2734
- account_currency?: string | undefined;
2735
2735
  tax_amount?: number | undefined;
2736
2736
  tax_amount_after_discount_amount?: number | undefined;
2737
2737
  base_tax_amount?: number | undefined;
2738
2738
  }[] | null | undefined;
2739
2739
  sales_team?: any[] | null | undefined;
2740
+ outstanding_amount?: number | null | undefined;
2740
2741
  paid_amount?: number | null | undefined;
2741
2742
  base_paid_amount?: number | null | undefined;
2742
2743
  remarks?: string | null | undefined;
2743
2744
  due_date?: string | null | undefined;
2744
2745
  total_advance?: number | null | undefined;
2745
- outstanding_amount?: number | null | undefined;
2746
2746
  write_off_amount?: number | null | undefined;
2747
2747
  base_write_off_amount?: number | null | undefined;
2748
2748
  payment_terms_template?: string | null | undefined;
@@ -2769,8 +2769,8 @@ export declare class ERPNextSalesInvoice {
2769
2769
  payments?: {
2770
2770
  amount: number;
2771
2771
  mode_of_payment: string;
2772
- account?: string | null | undefined;
2773
2772
  base_amount?: number | null | undefined;
2773
+ account?: string | null | undefined;
2774
2774
  reference_no?: string | null | undefined;
2775
2775
  clearance_date?: string | null | undefined;
2776
2776
  }[] | null | undefined;
@@ -2995,23 +2995,23 @@ export declare class ERPNextSalesInvoice {
2995
2995
  included_in_print_rate: 0 | 1;
2996
2996
  account_head: string;
2997
2997
  description?: string | undefined;
2998
+ account_currency?: string | undefined;
2998
2999
  rate?: number | undefined;
2999
3000
  cost_center?: string | undefined;
3000
3001
  project?: string | undefined;
3001
3002
  base_total?: number | undefined;
3002
3003
  total?: number | undefined;
3003
- account_currency?: string | undefined;
3004
3004
  tax_amount?: number | undefined;
3005
3005
  tax_amount_after_discount_amount?: number | undefined;
3006
3006
  base_tax_amount?: number | undefined;
3007
3007
  }[] | null | undefined;
3008
3008
  sales_team?: any[] | null | undefined;
3009
+ outstanding_amount?: number | null | undefined;
3009
3010
  paid_amount?: number | null | undefined;
3010
3011
  base_paid_amount?: number | null | undefined;
3011
3012
  remarks?: string | null | undefined;
3012
3013
  due_date?: string | null | undefined;
3013
3014
  total_advance?: number | null | undefined;
3014
- outstanding_amount?: number | null | undefined;
3015
3015
  write_off_amount?: number | null | undefined;
3016
3016
  base_write_off_amount?: number | null | undefined;
3017
3017
  payment_terms_template?: string | null | undefined;
@@ -3038,8 +3038,8 @@ export declare class ERPNextSalesInvoice {
3038
3038
  payments?: {
3039
3039
  amount: number;
3040
3040
  mode_of_payment: string;
3041
- account?: string | null | undefined;
3042
3041
  base_amount?: number | null | undefined;
3042
+ account?: string | null | undefined;
3043
3043
  reference_no?: string | null | undefined;
3044
3044
  clearance_date?: string | null | undefined;
3045
3045
  }[] | null | undefined;
@@ -3265,23 +3265,23 @@ export declare class ERPNextSalesInvoice {
3265
3265
  included_in_print_rate: 0 | 1;
3266
3266
  account_head: string;
3267
3267
  description?: string | undefined;
3268
+ account_currency?: string | undefined;
3268
3269
  rate?: number | undefined;
3269
3270
  cost_center?: string | undefined;
3270
3271
  project?: string | undefined;
3271
3272
  base_total?: number | undefined;
3272
3273
  total?: number | undefined;
3273
- account_currency?: string | undefined;
3274
3274
  tax_amount?: number | undefined;
3275
3275
  tax_amount_after_discount_amount?: number | undefined;
3276
3276
  base_tax_amount?: number | undefined;
3277
3277
  }[] | null | undefined;
3278
3278
  sales_team?: any[] | null | undefined;
3279
+ outstanding_amount?: number | null | undefined;
3279
3280
  paid_amount?: number | null | undefined;
3280
3281
  base_paid_amount?: number | null | undefined;
3281
3282
  remarks?: string | null | undefined;
3282
3283
  due_date?: string | null | undefined;
3283
3284
  total_advance?: number | null | undefined;
3284
- outstanding_amount?: number | null | undefined;
3285
3285
  write_off_amount?: number | null | undefined;
3286
3286
  base_write_off_amount?: number | null | undefined;
3287
3287
  payment_terms_template?: string | null | undefined;
@@ -3308,8 +3308,8 @@ export declare class ERPNextSalesInvoice {
3308
3308
  payments?: {
3309
3309
  amount: number;
3310
3310
  mode_of_payment: string;
3311
- account?: string | null | undefined;
3312
3311
  base_amount?: number | null | undefined;
3312
+ account?: string | null | undefined;
3313
3313
  reference_no?: string | null | undefined;
3314
3314
  clearance_date?: string | null | undefined;
3315
3315
  }[] | null | undefined;