erpnext-queue-client 2.3.2 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/erpnext/doctypeResourceRequest.d.ts +1 -1
  2. package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +6 -159
  3. package/dist/erpnext/doctypeSubmittableResourceRequest.js +2 -2
  4. package/dist/erpnext/doctypes/address.d.ts +76 -3
  5. package/dist/erpnext/doctypes/consolidatedCustomsInvoice.d.ts +65 -55
  6. package/dist/erpnext/doctypes/contact.d.ts +220 -3
  7. package/dist/erpnext/doctypes/deliveryNote.d.ts +207 -202
  8. package/dist/erpnext/doctypes/item.d.ts +19 -2
  9. package/dist/erpnext/doctypes/paymentEntry.d.ts +116 -6
  10. package/dist/erpnext/doctypes/productBundle.d.ts +5 -2
  11. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +141 -5
  12. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +11 -5
  13. package/dist/erpnext/doctypes/salesInvoice.d.ts +400 -6
  14. package/dist/erpnext/doctypes/servicecase.d.ts +38 -2
  15. package/dist/erpnext/doctypes/shipment.d.ts +100 -93
  16. package/dist/erpnext/doctypes/shipment.js +2 -1
  17. package/dist/erpnext/erpnextRequestWrapper.d.ts +4 -2
  18. package/dist/erpnext/erpnextRequestWrapper.js +1 -1
  19. package/dist/erpnext/fileRequests.d.ts +2 -2
  20. package/dist/erpnext/fileRequests.js +2 -1
  21. package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +61 -23
  22. package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +20 -11
  23. package/dist/erpnext/model/Contact.d.ts +29 -0
  24. package/dist/erpnext/model/Contact.js +5 -5
  25. package/dist/erpnext/model/DeliveryNote.d.ts +300 -100
  26. package/dist/erpnext/model/DeliveryNote.js +101 -100
  27. package/dist/erpnext/model/DispatchRun.d.ts +3 -0
  28. package/dist/erpnext/model/DispatchRun.js +1 -0
  29. package/dist/erpnext/model/DocTypeHelpers.d.ts +12 -25
  30. package/dist/erpnext/model/DocTypeHelpers.js +44 -23
  31. package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +4 -1
  32. package/dist/erpnext/model/ERPNextDocTypeMeta.js +3 -2
  33. package/dist/erpnext/model/File.d.ts +50 -0
  34. package/dist/erpnext/model/File.js +3 -1
  35. package/dist/erpnext/model/FulfillerSettings.d.ts +52 -24
  36. package/dist/erpnext/model/FulfillerSettings.js +19 -7
  37. package/dist/erpnext/model/Item.d.ts +43 -0
  38. package/dist/erpnext/model/Item.js +2 -1
  39. package/dist/erpnext/model/PaymentEntry.d.ts +3 -0
  40. package/dist/erpnext/model/PurchaseInvoice.d.ts +75 -1
  41. package/dist/erpnext/model/PurchaseOrder.d.ts +52 -63
  42. package/dist/erpnext/model/PurchaseOrder.js +20 -38
  43. package/dist/erpnext/model/SalesInvoice.d.ts +197 -4
  44. package/dist/erpnext/model/Servicecase.d.ts +8 -0
  45. package/dist/erpnext/model/Shipment.d.ts +119 -162
  46. package/dist/erpnext/model/Shipment.js +17 -47
  47. package/dist/erpnext/model/ShippingProvider.d.ts +55 -65
  48. package/dist/erpnext/model/ShippingProvider.js +6 -10
  49. package/dist/erpnext/resourceRequest.d.ts +2 -2
  50. package/dist/utils/zodContextOptionals.d.ts +2 -0
  51. package/dist/utils/zodContextOptionals.js +8 -4
  52. package/dist/utils/zodUtils.js +3 -2
  53. package/package.json +1 -1
@@ -7,75 +7,51 @@ export declare class ERPNextDeliveryNote {
7
7
  protected temporalClient: TemporalClient;
8
8
  protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof DeliveryNote>;
9
9
  create: <TInput extends TInputModel extends undefined ? {
10
- status: string;
11
- tax_category: string;
12
- company: string;
13
- naming_series: string;
14
- language: string;
15
10
  customer: string;
16
- posting_date: string;
17
- posting_time: string;
18
- set_posting_time: number;
19
- currency: string;
20
- conversion_rate: number;
21
- total_qty: number;
22
- total_net_weight: number;
23
- base_total: number;
24
- base_net_total: number;
25
- total: number;
26
- net_total: number;
27
11
  items: {
28
- description: string;
29
- image: string;
30
12
  item_code: string;
31
13
  qty: number;
32
- rate: number;
33
- amount: number;
34
- base_rate: number;
35
- base_amount: number;
36
- net_rate: number;
37
- net_amount: number;
38
- base_net_rate: number;
39
- base_net_amount: number;
40
- weight_per_unit: number;
41
- total_weight: number;
42
- weight_uom: string;
43
- item_name: string;
44
- item_group: string;
45
- stock_uom: string;
46
- uom: string;
47
- conversion_factor: number;
48
- stock_qty: number;
49
- returned_qty: number;
50
- price_list_rate: number;
51
- base_price_list_rate: number;
52
- margin_type: string;
53
- margin_rate_or_amount: number;
54
- rate_with_margin: number;
55
- discount_percentage: number;
56
- discount_amount: number;
57
- base_rate_with_margin: number;
58
- stock_uom_rate: number;
59
- is_free_item: number;
60
- grant_commission: number;
61
- billed_amt: number;
62
- incoming_rate: number;
63
- warehouse: string;
64
- actual_batch_qty: number;
65
- actual_qty: number;
66
- installed_qty: number;
67
- item_tax_rate: string;
68
- expense_account: string;
69
- allow_zero_valuation_rate: number;
70
- cost_center: string;
71
- page_break: number;
14
+ description?: string | undefined;
72
15
  brand?: string | null | undefined;
16
+ image?: string | undefined;
73
17
  item_tax_template?: string | null | undefined;
18
+ rate?: number | undefined;
19
+ amount?: number | undefined;
20
+ base_rate?: number | undefined;
21
+ base_amount?: number | undefined;
22
+ net_rate?: number | undefined;
23
+ net_amount?: number | undefined;
24
+ base_net_rate?: number | undefined;
25
+ base_net_amount?: number | undefined;
26
+ weight_per_unit?: number | undefined;
27
+ total_weight?: number | undefined;
28
+ weight_uom?: string | undefined;
74
29
  so_detail?: string | null | undefined;
75
30
  dn_detail?: string | null | undefined;
76
31
  barcode?: string | null | undefined;
32
+ item_name?: string | undefined;
77
33
  customer_item_code?: string | null | undefined;
34
+ item_group?: string | undefined;
35
+ stock_uom?: string | undefined;
36
+ uom?: string | undefined;
37
+ conversion_factor?: number | undefined;
38
+ stock_qty?: number | undefined;
39
+ returned_qty?: number | undefined;
40
+ price_list_rate?: number | undefined;
41
+ base_price_list_rate?: number | undefined;
42
+ margin_type?: string | undefined;
43
+ margin_rate_or_amount?: number | undefined;
44
+ rate_with_margin?: number | undefined;
45
+ discount_percentage?: number | undefined;
46
+ discount_amount?: number | undefined;
47
+ base_rate_with_margin?: number | undefined;
78
48
  pricing_rules?: string | null | undefined;
49
+ stock_uom_rate?: number | undefined;
50
+ is_free_item?: number | undefined;
51
+ grant_commission?: number | undefined;
52
+ billed_amt?: number | undefined;
53
+ incoming_rate?: number | undefined;
54
+ warehouse?: string | undefined;
79
55
  target_warehouse?: string | null | undefined;
80
56
  quality_inspection?: string | null | undefined;
81
57
  against_sales_order?: string | null | undefined;
@@ -84,60 +60,51 @@ export declare class ERPNextDeliveryNote {
84
60
  pick_list_item?: string | null | undefined;
85
61
  batch_no?: string | null | undefined;
86
62
  serial_no?: string | null | undefined;
63
+ actual_batch_qty?: number | undefined;
64
+ actual_qty?: number | undefined;
65
+ installed_qty?: number | undefined;
66
+ item_tax_rate?: string | undefined;
67
+ expense_account?: string | undefined;
68
+ allow_zero_valuation_rate?: number | undefined;
69
+ cost_center?: string | undefined;
87
70
  project?: string | null | undefined;
88
71
  order_item_id?: string | null | undefined;
72
+ page_break?: number | undefined;
89
73
  __unsaved?: number | null | undefined;
90
74
  }[];
91
- discount_amount: number;
92
- pricing_rules: string[];
93
- title: string;
94
75
  order_number: string;
95
- customer_name: string;
96
- is_return: number;
97
- issue_credit_note: number;
98
- po_no: string;
99
- selling_price_list: string;
100
- price_list_currency: string;
101
- plc_conversion_rate: number;
102
- ignore_pricing_rule: number;
103
- base_total_taxes_and_charges: number;
104
- total_taxes_and_charges: number;
105
- apply_discount_on: string;
106
- base_discount_amount: number;
107
- additional_discount_percentage: number;
108
- base_grand_total: number;
109
- base_rounding_adjustment: number;
110
- base_rounded_total: number;
111
- base_in_words: string;
112
- grand_total: number;
113
- rounding_adjustment: number;
114
- rounded_total: number;
115
- in_words: string;
116
- disable_rounded_total: number;
117
- is_internal_customer: number;
118
- per_billed: number;
119
- customer_group: string;
120
- territory: string;
121
- print_without_amount: number;
122
- group_same_items: number;
123
- per_installed: number;
124
- installation_status: string;
125
- per_returned: number;
126
- amount_eligible_for_commission: number;
127
- commission_rate: number;
128
- total_commission: number;
129
- packed_items: string[];
130
- taxes: string[];
131
- sales_team: string[];
132
- amended_from?: string | null | undefined;
76
+ status?: string | undefined;
133
77
  docstatus?: number | undefined;
78
+ amended_from?: string | null | undefined;
79
+ tax_category?: string | undefined;
80
+ company?: string | undefined;
81
+ naming_series?: string | undefined;
82
+ language?: string | undefined;
83
+ posting_date?: string | undefined;
84
+ posting_time?: string | undefined;
85
+ set_posting_time?: number | undefined;
86
+ currency?: string | undefined;
87
+ conversion_rate?: number | undefined;
88
+ total_qty?: number | undefined;
89
+ total_net_weight?: number | undefined;
90
+ base_total?: number | undefined;
91
+ base_net_total?: number | undefined;
92
+ total?: number | undefined;
93
+ net_total?: number | undefined;
134
94
  dispatch_address_name?: string | null | undefined;
135
95
  dispatch_address?: string | null | undefined;
136
96
  tax_id?: string | null | undefined;
97
+ discount_amount?: number | undefined;
98
+ pricing_rules?: string[] | undefined;
137
99
  cost_center?: string | null | undefined;
138
100
  project?: string | null | undefined;
101
+ title?: string | undefined;
139
102
  custom_order_number?: string | null | undefined;
103
+ customer_name?: string | undefined;
104
+ is_return?: number | undefined;
105
+ issue_credit_note?: number | undefined;
140
106
  return_against?: string | null | undefined;
107
+ po_no?: string | undefined;
141
108
  po_date?: string | null | undefined;
142
109
  pick_list?: string | null | undefined;
143
110
  shipping_address_name?: string | null | undefined;
@@ -150,6 +117,10 @@ export declare class ERPNextDeliveryNote {
150
117
  address_display?: string | null | undefined;
151
118
  company_address?: string | null | undefined;
152
119
  company_address_display?: string | null | undefined;
120
+ selling_price_list?: string | undefined;
121
+ price_list_currency?: string | undefined;
122
+ plc_conversion_rate?: number | undefined;
123
+ ignore_pricing_rule?: number | undefined;
153
124
  set_warehouse?: string | null | undefined;
154
125
  set_target_warehouse?: string | null | undefined;
155
126
  scan_barcode?: string | null | undefined;
@@ -159,6 +130,20 @@ export declare class ERPNextDeliveryNote {
159
130
  custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
160
131
  taxes_and_charges?: string | null | undefined;
161
132
  other_charges_calculation?: string | null | undefined;
133
+ base_total_taxes_and_charges?: number | undefined;
134
+ total_taxes_and_charges?: number | undefined;
135
+ apply_discount_on?: string | undefined;
136
+ base_discount_amount?: number | undefined;
137
+ additional_discount_percentage?: number | undefined;
138
+ base_grand_total?: number | undefined;
139
+ base_rounding_adjustment?: number | undefined;
140
+ base_rounded_total?: number | undefined;
141
+ base_in_words?: string | undefined;
142
+ grand_total?: number | undefined;
143
+ rounding_adjustment?: number | undefined;
144
+ rounded_total?: number | undefined;
145
+ in_words?: string | undefined;
146
+ disable_rounded_total?: number | undefined;
162
147
  tc_name?: string | null | undefined;
163
148
  terms?: string | null | undefined;
164
149
  transporter?: string | null | undefined;
@@ -170,14 +155,29 @@ export declare class ERPNextDeliveryNote {
170
155
  lr_date?: string | null | undefined;
171
156
  campaign?: string | null | undefined;
172
157
  source?: string | null | undefined;
158
+ is_internal_customer?: number | undefined;
173
159
  represents_company?: string | null | undefined;
174
160
  inter_company_reference?: string | null | undefined;
161
+ per_billed?: number | undefined;
162
+ customer_group?: string | undefined;
163
+ territory?: string | undefined;
175
164
  letter_head?: string | null | undefined;
176
165
  select_print_heading?: string | null | undefined;
166
+ print_without_amount?: number | undefined;
167
+ group_same_items?: number | undefined;
168
+ per_installed?: number | undefined;
169
+ installation_status?: string | undefined;
170
+ per_returned?: number | undefined;
177
171
  excise_page?: string | null | undefined;
178
172
  instructions?: string | null | undefined;
179
173
  auto_repeat?: string | null | undefined;
180
174
  sales_partner?: string | null | undefined;
175
+ amount_eligible_for_commission?: number | undefined;
176
+ commission_rate?: number | undefined;
177
+ total_commission?: number | undefined;
178
+ packed_items?: string[] | undefined;
179
+ taxes?: string[] | undefined;
180
+ sales_team?: string[] | undefined;
181
181
  dispatch_run?: string | null | undefined;
182
182
  } : TInputModel extends import("zod").ZodTypeAny ? import("zod").TypeOf<TInputModel> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
183
183
  inputValidationModel?: TInputModel;
@@ -220,6 +220,7 @@ export declare class ERPNextDeliveryNote {
220
220
  modified_by: string;
221
221
  idx: number;
222
222
  doctype: string;
223
+ parent: string;
223
224
  parenttype: string;
224
225
  parentfield: string;
225
226
  image: string;
@@ -377,7 +378,7 @@ export declare class ERPNextDeliveryNote {
377
378
  sales_partner?: string | null | undefined;
378
379
  dispatch_run?: string | null | undefined;
379
380
  }>;
380
- getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "tax_category" | "company" | "naming_series" | "language" | "customer" | "posting_date" | "posting_time" | "set_posting_time" | "currency" | "conversion_rate" | "total_qty" | "total_net_weight" | "base_total" | "base_net_total" | "total" | "net_total" | "discount_amount" | "title" | "order_number" | "customer_name" | "is_return" | "issue_credit_note" | "po_no" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "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" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission") | ("amended_from" | "_user_tags" | "dispatch_address_name" | "dispatch_address" | "tax_id" | "cost_center" | "project" | "custom_order_number" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "address_display" | "company_address" | "company_address_display" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner" | "dispatch_run"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
381
+ getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "tax_category" | "company" | "naming_series" | "language" | "customer" | "posting_date" | "posting_time" | "set_posting_time" | "currency" | "conversion_rate" | "total_qty" | "total_net_weight" | "base_total" | "base_net_total" | "total" | "net_total" | "discount_amount" | "title" | "order_number" | "customer_name" | "is_return" | "issue_credit_note" | "po_no" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "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" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission") | ("amended_from" | "_user_tags" | "dispatch_address_name" | "dispatch_address" | "tax_id" | "cost_center" | "project" | "custom_order_number" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "address_display" | "company_address" | "company_address_display" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner" | "dispatch_run"), TSelectedFields extends readonly ["*"] | readonly TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
381
382
  fields?: TSelectedFields;
382
383
  filters?: (string | string[])[][];
383
384
  skip?: number;
@@ -499,7 +500,7 @@ export declare class ERPNextDeliveryNote {
499
500
  auto_repeat?: string | null | undefined;
500
501
  sales_partner?: string | null | undefined;
501
502
  dispatch_run?: string | null | undefined;
502
- }[] : 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" | "tax_category" | "company" | "naming_series" | "language" | "customer" | "posting_date" | "posting_time" | "set_posting_time" | "currency" | "conversion_rate" | "total_qty" | "total_net_weight" | "base_total" | "base_net_total" | "total" | "net_total" | "discount_amount" | "title" | "order_number" | "customer_name" | "is_return" | "issue_credit_note" | "po_no" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "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" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission") | ("amended_from" | "_user_tags" | "dispatch_address_name" | "dispatch_address" | "tax_id" | "cost_center" | "project" | "custom_order_number" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "address_display" | "company_address" | "company_address_display" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner" | "dispatch_run") ? {
503
+ }[] : TSelectedFields extends readonly 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" | "tax_category" | "company" | "naming_series" | "language" | "customer" | "posting_date" | "posting_time" | "set_posting_time" | "currency" | "conversion_rate" | "total_qty" | "total_net_weight" | "base_total" | "base_net_total" | "total" | "net_total" | "discount_amount" | "title" | "order_number" | "customer_name" | "is_return" | "issue_credit_note" | "po_no" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "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" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission") | ("amended_from" | "_user_tags" | "dispatch_address_name" | "dispatch_address" | "tax_id" | "cost_center" | "project" | "custom_order_number" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "address_display" | "company_address" | "company_address_display" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner" | "dispatch_run") ? {
503
504
  status: string;
504
505
  docstatus: number;
505
506
  name: string;
@@ -651,6 +652,7 @@ export declare class ERPNextDeliveryNote {
651
652
  modified_by: string;
652
653
  idx: number;
653
654
  doctype: string;
655
+ parent: string;
654
656
  parenttype: string;
655
657
  parentfield: string;
656
658
  image: string;
@@ -809,75 +811,51 @@ export declare class ERPNextDeliveryNote {
809
811
  dispatch_run?: string | null | undefined;
810
812
  } | undefined>;
811
813
  updateById: <TInput extends TInputModel extends undefined ? Partial<{
812
- status: string;
813
- tax_category: string;
814
- company: string;
815
- naming_series: string;
816
- language: string;
817
814
  customer: string;
818
- posting_date: string;
819
- posting_time: string;
820
- set_posting_time: number;
821
- currency: string;
822
- conversion_rate: number;
823
- total_qty: number;
824
- total_net_weight: number;
825
- base_total: number;
826
- base_net_total: number;
827
- total: number;
828
- net_total: number;
829
815
  items: {
830
- description: string;
831
- image: string;
832
816
  item_code: string;
833
817
  qty: number;
834
- rate: number;
835
- amount: number;
836
- base_rate: number;
837
- base_amount: number;
838
- net_rate: number;
839
- net_amount: number;
840
- base_net_rate: number;
841
- base_net_amount: number;
842
- weight_per_unit: number;
843
- total_weight: number;
844
- weight_uom: string;
845
- item_name: string;
846
- item_group: string;
847
- stock_uom: string;
848
- uom: string;
849
- conversion_factor: number;
850
- stock_qty: number;
851
- returned_qty: number;
852
- price_list_rate: number;
853
- base_price_list_rate: number;
854
- margin_type: string;
855
- margin_rate_or_amount: number;
856
- rate_with_margin: number;
857
- discount_percentage: number;
858
- discount_amount: number;
859
- base_rate_with_margin: number;
860
- stock_uom_rate: number;
861
- is_free_item: number;
862
- grant_commission: number;
863
- billed_amt: number;
864
- incoming_rate: number;
865
- warehouse: string;
866
- actual_batch_qty: number;
867
- actual_qty: number;
868
- installed_qty: number;
869
- item_tax_rate: string;
870
- expense_account: string;
871
- allow_zero_valuation_rate: number;
872
- cost_center: string;
873
- page_break: number;
818
+ description?: string | undefined;
874
819
  brand?: string | null | undefined;
820
+ image?: string | undefined;
875
821
  item_tax_template?: string | null | undefined;
822
+ rate?: number | undefined;
823
+ amount?: number | undefined;
824
+ base_rate?: number | undefined;
825
+ base_amount?: number | undefined;
826
+ net_rate?: number | undefined;
827
+ net_amount?: number | undefined;
828
+ base_net_rate?: number | undefined;
829
+ base_net_amount?: number | undefined;
830
+ weight_per_unit?: number | undefined;
831
+ total_weight?: number | undefined;
832
+ weight_uom?: string | undefined;
876
833
  so_detail?: string | null | undefined;
877
834
  dn_detail?: string | null | undefined;
878
835
  barcode?: string | null | undefined;
836
+ item_name?: string | undefined;
879
837
  customer_item_code?: string | null | undefined;
838
+ item_group?: string | undefined;
839
+ stock_uom?: string | undefined;
840
+ uom?: string | undefined;
841
+ conversion_factor?: number | undefined;
842
+ stock_qty?: number | undefined;
843
+ returned_qty?: number | undefined;
844
+ price_list_rate?: number | undefined;
845
+ base_price_list_rate?: number | undefined;
846
+ margin_type?: string | undefined;
847
+ margin_rate_or_amount?: number | undefined;
848
+ rate_with_margin?: number | undefined;
849
+ discount_percentage?: number | undefined;
850
+ discount_amount?: number | undefined;
851
+ base_rate_with_margin?: number | undefined;
880
852
  pricing_rules?: string | null | undefined;
853
+ stock_uom_rate?: number | undefined;
854
+ is_free_item?: number | undefined;
855
+ grant_commission?: number | undefined;
856
+ billed_amt?: number | undefined;
857
+ incoming_rate?: number | undefined;
858
+ warehouse?: string | undefined;
881
859
  target_warehouse?: string | null | undefined;
882
860
  quality_inspection?: string | null | undefined;
883
861
  against_sales_order?: string | null | undefined;
@@ -886,60 +864,51 @@ export declare class ERPNextDeliveryNote {
886
864
  pick_list_item?: string | null | undefined;
887
865
  batch_no?: string | null | undefined;
888
866
  serial_no?: string | null | undefined;
867
+ actual_batch_qty?: number | undefined;
868
+ actual_qty?: number | undefined;
869
+ installed_qty?: number | undefined;
870
+ item_tax_rate?: string | undefined;
871
+ expense_account?: string | undefined;
872
+ allow_zero_valuation_rate?: number | undefined;
873
+ cost_center?: string | undefined;
889
874
  project?: string | null | undefined;
890
875
  order_item_id?: string | null | undefined;
876
+ page_break?: number | undefined;
891
877
  __unsaved?: number | null | undefined;
892
878
  }[];
893
- discount_amount: number;
894
- pricing_rules: string[];
895
- title: string;
896
879
  order_number: string;
897
- customer_name: string;
898
- is_return: number;
899
- issue_credit_note: number;
900
- po_no: string;
901
- selling_price_list: string;
902
- price_list_currency: string;
903
- plc_conversion_rate: number;
904
- ignore_pricing_rule: number;
905
- base_total_taxes_and_charges: number;
906
- total_taxes_and_charges: number;
907
- apply_discount_on: string;
908
- base_discount_amount: number;
909
- additional_discount_percentage: number;
910
- base_grand_total: number;
911
- base_rounding_adjustment: number;
912
- base_rounded_total: number;
913
- base_in_words: string;
914
- grand_total: number;
915
- rounding_adjustment: number;
916
- rounded_total: number;
917
- in_words: string;
918
- disable_rounded_total: number;
919
- is_internal_customer: number;
920
- per_billed: number;
921
- customer_group: string;
922
- territory: string;
923
- print_without_amount: number;
924
- group_same_items: number;
925
- per_installed: number;
926
- installation_status: string;
927
- per_returned: number;
928
- amount_eligible_for_commission: number;
929
- commission_rate: number;
930
- total_commission: number;
931
- packed_items: string[];
932
- taxes: string[];
933
- sales_team: string[];
934
- amended_from?: string | null | undefined;
880
+ status?: string | undefined;
935
881
  docstatus?: number | undefined;
882
+ amended_from?: string | null | undefined;
883
+ tax_category?: string | undefined;
884
+ company?: string | undefined;
885
+ naming_series?: string | undefined;
886
+ language?: string | undefined;
887
+ posting_date?: string | undefined;
888
+ posting_time?: string | undefined;
889
+ set_posting_time?: number | undefined;
890
+ currency?: string | undefined;
891
+ conversion_rate?: number | undefined;
892
+ total_qty?: number | undefined;
893
+ total_net_weight?: number | undefined;
894
+ base_total?: number | undefined;
895
+ base_net_total?: number | undefined;
896
+ total?: number | undefined;
897
+ net_total?: number | undefined;
936
898
  dispatch_address_name?: string | null | undefined;
937
899
  dispatch_address?: string | null | undefined;
938
900
  tax_id?: string | null | undefined;
901
+ discount_amount?: number | undefined;
902
+ pricing_rules?: string[] | undefined;
939
903
  cost_center?: string | null | undefined;
940
904
  project?: string | null | undefined;
905
+ title?: string | undefined;
941
906
  custom_order_number?: string | null | undefined;
907
+ customer_name?: string | undefined;
908
+ is_return?: number | undefined;
909
+ issue_credit_note?: number | undefined;
942
910
  return_against?: string | null | undefined;
911
+ po_no?: string | undefined;
943
912
  po_date?: string | null | undefined;
944
913
  pick_list?: string | null | undefined;
945
914
  shipping_address_name?: string | null | undefined;
@@ -952,6 +921,10 @@ export declare class ERPNextDeliveryNote {
952
921
  address_display?: string | null | undefined;
953
922
  company_address?: string | null | undefined;
954
923
  company_address_display?: string | null | undefined;
924
+ selling_price_list?: string | undefined;
925
+ price_list_currency?: string | undefined;
926
+ plc_conversion_rate?: number | undefined;
927
+ ignore_pricing_rule?: number | undefined;
955
928
  set_warehouse?: string | null | undefined;
956
929
  set_target_warehouse?: string | null | undefined;
957
930
  scan_barcode?: string | null | undefined;
@@ -961,6 +934,20 @@ export declare class ERPNextDeliveryNote {
961
934
  custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
962
935
  taxes_and_charges?: string | null | undefined;
963
936
  other_charges_calculation?: string | null | undefined;
937
+ base_total_taxes_and_charges?: number | undefined;
938
+ total_taxes_and_charges?: number | undefined;
939
+ apply_discount_on?: string | undefined;
940
+ base_discount_amount?: number | undefined;
941
+ additional_discount_percentage?: number | undefined;
942
+ base_grand_total?: number | undefined;
943
+ base_rounding_adjustment?: number | undefined;
944
+ base_rounded_total?: number | undefined;
945
+ base_in_words?: string | undefined;
946
+ grand_total?: number | undefined;
947
+ rounding_adjustment?: number | undefined;
948
+ rounded_total?: number | undefined;
949
+ in_words?: string | undefined;
950
+ disable_rounded_total?: number | undefined;
964
951
  tc_name?: string | null | undefined;
965
952
  terms?: string | null | undefined;
966
953
  transporter?: string | null | undefined;
@@ -972,14 +959,29 @@ export declare class ERPNextDeliveryNote {
972
959
  lr_date?: string | null | undefined;
973
960
  campaign?: string | null | undefined;
974
961
  source?: string | null | undefined;
962
+ is_internal_customer?: number | undefined;
975
963
  represents_company?: string | null | undefined;
976
964
  inter_company_reference?: string | null | undefined;
965
+ per_billed?: number | undefined;
966
+ customer_group?: string | undefined;
967
+ territory?: string | undefined;
977
968
  letter_head?: string | null | undefined;
978
969
  select_print_heading?: string | null | undefined;
970
+ print_without_amount?: number | undefined;
971
+ group_same_items?: number | undefined;
972
+ per_installed?: number | undefined;
973
+ installation_status?: string | undefined;
974
+ per_returned?: number | undefined;
979
975
  excise_page?: string | null | undefined;
980
976
  instructions?: string | null | undefined;
981
977
  auto_repeat?: string | null | undefined;
982
978
  sales_partner?: string | null | undefined;
979
+ amount_eligible_for_commission?: number | undefined;
980
+ commission_rate?: number | undefined;
981
+ total_commission?: number | undefined;
982
+ packed_items?: string[] | undefined;
983
+ taxes?: string[] | undefined;
984
+ sales_team?: string[] | undefined;
983
985
  dispatch_run?: string | null | undefined;
984
986
  }> : TInputModel extends import("zod").ZodTypeAny ? import("zod").TypeOf<TInputModel> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
985
987
  resourceId: string;
@@ -1022,6 +1024,7 @@ export declare class ERPNextDeliveryNote {
1022
1024
  modified_by: string;
1023
1025
  idx: number;
1024
1026
  doctype: string;
1027
+ parent: string;
1025
1028
  parenttype: string;
1026
1029
  parentfield: string;
1027
1030
  image: string;
@@ -1183,7 +1186,7 @@ export declare class ERPNextDeliveryNote {
1183
1186
  resourceId: string;
1184
1187
  priority?: number;
1185
1188
  }) => Promise<import("zod").TypeOf<typeof import("../model/ERPNextResponse").DeleteResponseModel>>;
1186
- submit: ({ resourceId }: {
1189
+ submit: ({ resourceId, }: {
1187
1190
  resourceId: string;
1188
1191
  }) => Promise<{
1189
1192
  status: string;
@@ -1221,6 +1224,7 @@ export declare class ERPNextDeliveryNote {
1221
1224
  modified_by: string;
1222
1225
  idx: number;
1223
1226
  doctype: string;
1227
+ parent: string;
1224
1228
  parenttype: string;
1225
1229
  parentfield: string;
1226
1230
  image: string;
@@ -1378,7 +1382,7 @@ export declare class ERPNextDeliveryNote {
1378
1382
  sales_partner?: string | null | undefined;
1379
1383
  dispatch_run?: string | null | undefined;
1380
1384
  }>;
1381
- cancel: ({ resourceId }: {
1385
+ cancel: ({ resourceId, }: {
1382
1386
  resourceId: string;
1383
1387
  }) => Promise<{
1384
1388
  status: string;
@@ -1416,6 +1420,7 @@ export declare class ERPNextDeliveryNote {
1416
1420
  modified_by: string;
1417
1421
  idx: number;
1418
1422
  doctype: string;
1423
+ parent: string;
1419
1424
  parenttype: string;
1420
1425
  parentfield: string;
1421
1426
  image: string;