erpnext-queue-client 1.0.5 → 1.0.6

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 (33) hide show
  1. package/dist/client.d.ts +6 -16
  2. package/dist/client.js +14 -39
  3. package/dist/erpnext/decryptFromErpNext.server.test.js +3 -3
  4. package/dist/erpnext/doctypes/country.d.ts +9 -0
  5. package/dist/erpnext/doctypes/country.js +28 -0
  6. package/dist/erpnext/erpnextRequests.d.ts +1 -1786
  7. package/dist/erpnext/erpnextRequests.js +13 -337
  8. package/dist/erpnext/model/Address.d.ts +48 -48
  9. package/dist/erpnext/model/Contact.d.ts +106 -106
  10. package/dist/erpnext/model/Country.d.ts +2 -2
  11. package/dist/erpnext/model/Customer.d.ts +4 -4
  12. package/dist/erpnext/model/DeliveryNote.d.ts +176 -176
  13. package/dist/erpnext/model/DispatchRun.d.ts +90 -90
  14. package/dist/erpnext/model/DispatcherPreset.d.ts +26 -26
  15. package/dist/erpnext/model/ERPNextQueue.d.ts +8 -7
  16. package/dist/erpnext/model/ERPNextRequest.d.ts +17 -0
  17. package/dist/erpnext/model/File.d.ts +4 -4
  18. package/dist/erpnext/model/Fulfiller.d.ts +11 -11
  19. package/dist/erpnext/model/FulfillerSettings.d.ts +6 -6
  20. package/dist/erpnext/model/Item.d.ts +204 -204
  21. package/dist/erpnext/model/ProjectedQuantityReport.d.ts +14 -14
  22. package/dist/erpnext/model/PurchaseOrder.d.ts +112 -112
  23. package/dist/erpnext/model/Receipt.d.ts +104 -104
  24. package/dist/erpnext/model/ReceiptDraft.d.ts +88 -88
  25. package/dist/erpnext/model/Shipment.d.ts +157 -157
  26. package/dist/erpnext/model/ShippingProvider.d.ts +23 -23
  27. package/dist/erpnext/resourceRequest.d.ts +16 -0
  28. package/dist/erpnext/resourceRequest.js +34 -0
  29. package/dist/erpnext.d.ts +20 -0
  30. package/dist/erpnext.js +45 -0
  31. package/dist/index.d.ts +17 -1
  32. package/dist/index.js +21 -12
  33. package/package.json +1 -1
@@ -1,1786 +1 @@
1
- import { type AddressPostBodyType, type ShipstormAddressType } from "./model/Address";
2
- import { type GetProjectedQuantityInputOptionsType } from "./model/ProjectedQuantityReport";
3
- import type { ShipmentAddShippingLabelAndSubmitBodyType } from "./model/Shipment";
4
- import { ERPNextClient } from "../client";
5
- import { type ContactPostBodyType } from "./model/Contact";
6
- import { type CustomerPostBodyType } from "./model/Customer";
7
- import { type ERPNextValidatedFileType } from "./model/File";
8
- export declare function erpnextRequests(client: ERPNextClient): {
9
- getCountryList: () => Promise<{
10
- code?: string;
11
- name?: string;
12
- }[]>;
13
- createShippingAddress: (address: Omit<AddressPostBodyType, "links">, customerName?: string) => Promise<{
14
- name?: string;
15
- address_title?: string;
16
- address_line1?: string;
17
- address_line2?: string;
18
- address_type?: string;
19
- city?: string;
20
- country?: string;
21
- email_id?: string;
22
- is_shipping_address?: boolean;
23
- links?: {
24
- name?: string;
25
- link_doctype?: string;
26
- link_name?: string;
27
- owner?: string;
28
- creation?: string;
29
- modified?: string;
30
- modified_by?: string;
31
- parent?: string;
32
- parentfield?: string;
33
- parenttype?: string;
34
- idx?: number;
35
- docstatus?: number;
36
- link_title?: string;
37
- doctype?: string;
38
- }[];
39
- owner?: string;
40
- creation?: string;
41
- modified?: string;
42
- modified_by?: string;
43
- parent?: string;
44
- parentfield?: string;
45
- parenttype?: string;
46
- idx?: number;
47
- docstatus?: number;
48
- doctype?: string;
49
- import_reference?: string;
50
- pincode?: string;
51
- state?: string;
52
- phone?: string;
53
- fax?: string;
54
- tax_category?: string;
55
- county?: string;
56
- is_primary_address?: boolean;
57
- is_your_company_address?: boolean;
58
- disabled?: boolean;
59
- }>;
60
- getAddressById: (id: string) => Promise<{
61
- name?: string;
62
- address_title?: string;
63
- address_line1?: string;
64
- address_line2?: string;
65
- address_type?: string;
66
- city?: string;
67
- country?: string;
68
- email_id?: string;
69
- is_shipping_address?: boolean;
70
- links?: {
71
- name?: string;
72
- link_doctype?: string;
73
- link_name?: string;
74
- owner?: string;
75
- creation?: string;
76
- modified?: string;
77
- modified_by?: string;
78
- parent?: string;
79
- parentfield?: string;
80
- parenttype?: string;
81
- idx?: number;
82
- docstatus?: number;
83
- link_title?: string;
84
- doctype?: string;
85
- }[];
86
- owner?: string;
87
- creation?: string;
88
- modified?: string;
89
- modified_by?: string;
90
- parent?: string;
91
- parentfield?: string;
92
- parenttype?: string;
93
- idx?: number;
94
- docstatus?: number;
95
- doctype?: string;
96
- import_reference?: string;
97
- pincode?: string;
98
- state?: string;
99
- phone?: string;
100
- fax?: string;
101
- tax_category?: string;
102
- county?: string;
103
- is_primary_address?: boolean;
104
- is_your_company_address?: boolean;
105
- disabled?: boolean;
106
- }>;
107
- getAddressesByEmail: (email: string) => Promise<{
108
- name?: string;
109
- }[]>;
110
- getAddressesByAddressFields: (address: ShipstormAddressType) => Promise<{
111
- name?: string;
112
- }[]>;
113
- getContactById: (id: string) => Promise<{
114
- status?: string;
115
- name?: string;
116
- email_id?: string;
117
- links?: {
118
- name?: string;
119
- link_doctype?: string;
120
- link_name?: string;
121
- owner?: string;
122
- creation?: string;
123
- modified?: string;
124
- modified_by?: string;
125
- parent?: string;
126
- parentfield?: string;
127
- parenttype?: string;
128
- idx?: number;
129
- docstatus?: number;
130
- link_title?: string;
131
- doctype?: string;
132
- }[];
133
- owner?: string;
134
- creation?: string;
135
- modified?: string;
136
- modified_by?: string;
137
- idx?: number;
138
- docstatus?: number;
139
- doctype?: string;
140
- phone?: string;
141
- company?: string;
142
- first_name?: string;
143
- last_name?: string;
144
- email_ids?: {
145
- name?: string;
146
- email_id?: string;
147
- owner?: string;
148
- creation?: string;
149
- modified?: string;
150
- modified_by?: string;
151
- parent?: string;
152
- parentfield?: string;
153
- parenttype?: string;
154
- idx?: number;
155
- docstatus?: number;
156
- doctype?: string;
157
- is_primary?: boolean;
158
- }[];
159
- middle_name?: string;
160
- sync_with_google_contacts?: number;
161
- mobile_no?: string;
162
- image?: string;
163
- pulled_from_google_contacts?: boolean;
164
- is_primary_contact?: boolean;
165
- is_billing_contact?: boolean;
166
- unsubscribed?: boolean;
167
- phone_nos?: {
168
- name?: string;
169
- owner?: string;
170
- creation?: string;
171
- modified?: string;
172
- modified_by?: string;
173
- parent?: string;
174
- parentfield?: string;
175
- parenttype?: string;
176
- idx?: number;
177
- docstatus?: number;
178
- doctype?: string;
179
- phone?: string;
180
- is_primary_phone?: boolean;
181
- is_primary_mobile_no?: boolean;
182
- }[];
183
- }>;
184
- getContactsByAddressEmail: (address: ShipstormAddressType) => Promise<{
185
- name?: string;
186
- }[]>;
187
- createContact: (contact: Omit<ContactPostBodyType, "links">, customerName?: string) => Promise<{
188
- status?: string;
189
- name?: string;
190
- email_id?: string;
191
- links?: {
192
- name?: string;
193
- link_doctype?: string;
194
- link_name?: string;
195
- owner?: string;
196
- creation?: string;
197
- modified?: string;
198
- modified_by?: string;
199
- parent?: string;
200
- parentfield?: string;
201
- parenttype?: string;
202
- idx?: number;
203
- docstatus?: number;
204
- link_title?: string;
205
- doctype?: string;
206
- }[];
207
- owner?: string;
208
- creation?: string;
209
- modified?: string;
210
- modified_by?: string;
211
- idx?: number;
212
- docstatus?: number;
213
- doctype?: string;
214
- phone?: string;
215
- company?: string;
216
- first_name?: string;
217
- last_name?: string;
218
- email_ids?: {
219
- name?: string;
220
- email_id?: string;
221
- owner?: string;
222
- creation?: string;
223
- modified?: string;
224
- modified_by?: string;
225
- parent?: string;
226
- parentfield?: string;
227
- parenttype?: string;
228
- idx?: number;
229
- docstatus?: number;
230
- doctype?: string;
231
- is_primary?: boolean;
232
- }[];
233
- middle_name?: string;
234
- sync_with_google_contacts?: number;
235
- mobile_no?: string;
236
- image?: string;
237
- pulled_from_google_contacts?: boolean;
238
- is_primary_contact?: boolean;
239
- is_billing_contact?: boolean;
240
- unsubscribed?: boolean;
241
- phone_nos?: {
242
- name?: string;
243
- owner?: string;
244
- creation?: string;
245
- modified?: string;
246
- modified_by?: string;
247
- parent?: string;
248
- parentfield?: string;
249
- parenttype?: string;
250
- idx?: number;
251
- docstatus?: number;
252
- doctype?: string;
253
- phone?: string;
254
- is_primary_phone?: boolean;
255
- is_primary_mobile_no?: boolean;
256
- }[];
257
- }>;
258
- createCustomer: (body: CustomerPostBodyType) => Promise<{
259
- name?: string;
260
- owner?: string;
261
- creation?: string;
262
- modified?: string;
263
- modified_by?: string;
264
- idx?: number;
265
- docstatus?: number;
266
- doctype?: string;
267
- disabled?: boolean;
268
- naming_series?: string;
269
- customer_name?: string;
270
- customer_type?: string;
271
- customer_group?: string;
272
- territory?: string;
273
- so_required?: boolean;
274
- dn_required?: boolean;
275
- is_internal_customer?: boolean;
276
- customer_primary_address?: string;
277
- primary_address?: string;
278
- language?: string;
279
- is_frozen?: boolean;
280
- default_commission_rate?: number;
281
- companies?: string[];
282
- accounts?: string[];
283
- credit_limits?: string[];
284
- sales_team?: string[];
285
- }>;
286
- getDeliveryNote: (deliveryNoteErpNextName: string) => Promise<{
287
- status?: string;
288
- name?: string;
289
- owner?: string;
290
- creation?: string;
291
- modified?: string;
292
- modified_by?: string;
293
- parent?: string;
294
- parentfield?: string;
295
- parenttype?: string;
296
- idx?: number;
297
- docstatus?: number;
298
- doctype?: string;
299
- tax_category?: string;
300
- company?: string;
301
- naming_series?: string;
302
- taxes?: string[];
303
- grand_total?: number;
304
- amended_from?: string;
305
- customer_name?: string;
306
- customer_group?: string;
307
- territory?: string;
308
- is_internal_customer?: number;
309
- language?: string;
310
- sales_team?: string[];
311
- customer?: string;
312
- items?: {
313
- name?: string;
314
- owner?: string;
315
- creation?: string;
316
- modified?: string;
317
- modified_by?: string;
318
- parent?: string;
319
- parentfield?: string;
320
- parenttype?: string;
321
- idx?: number;
322
- docstatus?: number;
323
- doctype?: string;
324
- uom?: string;
325
- conversion_factor?: number;
326
- barcode?: string;
327
- item_code?: string;
328
- item_name?: string;
329
- item_group?: string;
330
- stock_uom?: string;
331
- description?: string;
332
- weight_per_unit?: number;
333
- weight_uom?: string;
334
- grant_commission?: number;
335
- warehouse?: string;
336
- brand?: string;
337
- actual_qty?: number;
338
- __unsaved?: number;
339
- image?: string;
340
- qty?: number;
341
- customer_item_code?: string;
342
- stock_qty?: number;
343
- returned_qty?: number;
344
- price_list_rate?: number;
345
- base_price_list_rate?: number;
346
- margin_type?: string;
347
- margin_rate_or_amount?: number;
348
- rate_with_margin?: number;
349
- discount_percentage?: number;
350
- discount_amount?: number;
351
- base_rate_with_margin?: number;
352
- rate?: number;
353
- amount?: number;
354
- base_rate?: number;
355
- base_amount?: number;
356
- pricing_rules?: string;
357
- stock_uom_rate?: number;
358
- is_free_item?: number;
359
- net_rate?: number;
360
- net_amount?: number;
361
- item_tax_template?: string;
362
- base_net_rate?: number;
363
- base_net_amount?: number;
364
- billed_amt?: number;
365
- incoming_rate?: number;
366
- total_weight?: number;
367
- target_warehouse?: string;
368
- quality_inspection?: string;
369
- against_sales_order?: string;
370
- so_detail?: string;
371
- against_sales_invoice?: string;
372
- si_detail?: string;
373
- dn_detail?: string;
374
- pick_list_item?: string;
375
- batch_no?: string;
376
- serial_no?: string;
377
- actual_batch_qty?: number;
378
- installed_qty?: number;
379
- item_tax_rate?: string;
380
- expense_account?: string;
381
- allow_zero_valuation_rate?: number;
382
- cost_center?: string;
383
- project?: string;
384
- order_item_id?: string;
385
- page_break?: number;
386
- }[];
387
- discount_amount?: number;
388
- pricing_rules?: string[];
389
- cost_center?: string;
390
- project?: string;
391
- title?: string;
392
- posting_date?: string;
393
- posting_time?: string;
394
- set_posting_time?: number;
395
- is_return?: number;
396
- issue_credit_note?: number;
397
- return_against?: string;
398
- po_no?: string;
399
- po_date?: string;
400
- pick_list?: string;
401
- shipping_address_name?: string;
402
- shipping_address?: string;
403
- dispatch_address_name?: string;
404
- dispatch_address?: string;
405
- contact_person?: string;
406
- contact_display?: string;
407
- contact_mobile?: string;
408
- contact_email?: string;
409
- customer_address?: string;
410
- tax_id?: string;
411
- address_display?: string;
412
- company_address?: string;
413
- company_address_display?: string;
414
- currency?: string;
415
- conversion_rate?: number;
416
- selling_price_list?: string;
417
- price_list_currency?: string;
418
- plc_conversion_rate?: number;
419
- ignore_pricing_rule?: number;
420
- set_warehouse?: string;
421
- set_target_warehouse?: string;
422
- scan_barcode?: string;
423
- total_qty?: number;
424
- base_total?: number;
425
- base_net_total?: number;
426
- total_net_weight?: number;
427
- total?: number;
428
- net_total?: number;
429
- shipping_rule?: string;
430
- taxes_and_charges?: string;
431
- other_charges_calculation?: string;
432
- base_total_taxes_and_charges?: number;
433
- total_taxes_and_charges?: number;
434
- apply_discount_on?: string;
435
- base_discount_amount?: number;
436
- additional_discount_percentage?: number;
437
- base_grand_total?: number;
438
- base_rounding_adjustment?: number;
439
- base_rounded_total?: number;
440
- base_in_words?: string;
441
- rounding_adjustment?: number;
442
- rounded_total?: number;
443
- in_words?: string;
444
- disable_rounded_total?: number;
445
- tc_name?: string;
446
- terms?: string;
447
- transporter?: string;
448
- driver?: string;
449
- lr_no?: string;
450
- vehicle_no?: string;
451
- transporter_name?: string;
452
- driver_name?: string;
453
- lr_date?: string;
454
- campaign?: string;
455
- source?: string;
456
- represents_company?: string;
457
- inter_company_reference?: string;
458
- per_billed?: number;
459
- letter_head?: string;
460
- select_print_heading?: string;
461
- print_without_amount?: number;
462
- group_same_items?: number;
463
- per_installed?: number;
464
- installation_status?: string;
465
- per_returned?: number;
466
- excise_page?: string;
467
- instructions?: string;
468
- auto_repeat?: string;
469
- sales_partner?: string;
470
- amount_eligible_for_commission?: number;
471
- commission_rate?: number;
472
- total_commission?: number;
473
- packed_items?: string[];
474
- dispatch_run?: string;
475
- }>;
476
- printDeliveryNote: (deliveryNoteName: string, language?: string) => Promise<Buffer>;
477
- cancelDeliveryNote: (deliveryNoteName: string) => Promise<{
478
- status?: string;
479
- name?: string;
480
- owner?: string;
481
- creation?: string;
482
- modified?: string;
483
- modified_by?: string;
484
- parent?: string;
485
- parentfield?: string;
486
- parenttype?: string;
487
- idx?: number;
488
- docstatus?: number;
489
- doctype?: string;
490
- tax_category?: string;
491
- company?: string;
492
- naming_series?: string;
493
- taxes?: string[];
494
- grand_total?: number;
495
- amended_from?: string;
496
- customer_name?: string;
497
- customer_group?: string;
498
- territory?: string;
499
- is_internal_customer?: number;
500
- language?: string;
501
- sales_team?: string[];
502
- customer?: string;
503
- items?: {
504
- name?: string;
505
- owner?: string;
506
- creation?: string;
507
- modified?: string;
508
- modified_by?: string;
509
- parent?: string;
510
- parentfield?: string;
511
- parenttype?: string;
512
- idx?: number;
513
- docstatus?: number;
514
- doctype?: string;
515
- uom?: string;
516
- conversion_factor?: number;
517
- barcode?: string;
518
- item_code?: string;
519
- item_name?: string;
520
- item_group?: string;
521
- stock_uom?: string;
522
- description?: string;
523
- weight_per_unit?: number;
524
- weight_uom?: string;
525
- grant_commission?: number;
526
- warehouse?: string;
527
- brand?: string;
528
- actual_qty?: number;
529
- __unsaved?: number;
530
- image?: string;
531
- qty?: number;
532
- customer_item_code?: string;
533
- stock_qty?: number;
534
- returned_qty?: number;
535
- price_list_rate?: number;
536
- base_price_list_rate?: number;
537
- margin_type?: string;
538
- margin_rate_or_amount?: number;
539
- rate_with_margin?: number;
540
- discount_percentage?: number;
541
- discount_amount?: number;
542
- base_rate_with_margin?: number;
543
- rate?: number;
544
- amount?: number;
545
- base_rate?: number;
546
- base_amount?: number;
547
- pricing_rules?: string;
548
- stock_uom_rate?: number;
549
- is_free_item?: number;
550
- net_rate?: number;
551
- net_amount?: number;
552
- item_tax_template?: string;
553
- base_net_rate?: number;
554
- base_net_amount?: number;
555
- billed_amt?: number;
556
- incoming_rate?: number;
557
- total_weight?: number;
558
- target_warehouse?: string;
559
- quality_inspection?: string;
560
- against_sales_order?: string;
561
- so_detail?: string;
562
- against_sales_invoice?: string;
563
- si_detail?: string;
564
- dn_detail?: string;
565
- pick_list_item?: string;
566
- batch_no?: string;
567
- serial_no?: string;
568
- actual_batch_qty?: number;
569
- installed_qty?: number;
570
- item_tax_rate?: string;
571
- expense_account?: string;
572
- allow_zero_valuation_rate?: number;
573
- cost_center?: string;
574
- project?: string;
575
- order_item_id?: string;
576
- page_break?: number;
577
- }[];
578
- discount_amount?: number;
579
- pricing_rules?: string[];
580
- cost_center?: string;
581
- project?: string;
582
- title?: string;
583
- posting_date?: string;
584
- posting_time?: string;
585
- set_posting_time?: number;
586
- is_return?: number;
587
- issue_credit_note?: number;
588
- return_against?: string;
589
- po_no?: string;
590
- po_date?: string;
591
- pick_list?: string;
592
- shipping_address_name?: string;
593
- shipping_address?: string;
594
- dispatch_address_name?: string;
595
- dispatch_address?: string;
596
- contact_person?: string;
597
- contact_display?: string;
598
- contact_mobile?: string;
599
- contact_email?: string;
600
- customer_address?: string;
601
- tax_id?: string;
602
- address_display?: string;
603
- company_address?: string;
604
- company_address_display?: string;
605
- currency?: string;
606
- conversion_rate?: number;
607
- selling_price_list?: string;
608
- price_list_currency?: string;
609
- plc_conversion_rate?: number;
610
- ignore_pricing_rule?: number;
611
- set_warehouse?: string;
612
- set_target_warehouse?: string;
613
- scan_barcode?: string;
614
- total_qty?: number;
615
- base_total?: number;
616
- base_net_total?: number;
617
- total_net_weight?: number;
618
- total?: number;
619
- net_total?: number;
620
- shipping_rule?: string;
621
- taxes_and_charges?: string;
622
- other_charges_calculation?: string;
623
- base_total_taxes_and_charges?: number;
624
- total_taxes_and_charges?: number;
625
- apply_discount_on?: string;
626
- base_discount_amount?: number;
627
- additional_discount_percentage?: number;
628
- base_grand_total?: number;
629
- base_rounding_adjustment?: number;
630
- base_rounded_total?: number;
631
- base_in_words?: string;
632
- rounding_adjustment?: number;
633
- rounded_total?: number;
634
- in_words?: string;
635
- disable_rounded_total?: number;
636
- tc_name?: string;
637
- terms?: string;
638
- transporter?: string;
639
- driver?: string;
640
- lr_no?: string;
641
- vehicle_no?: string;
642
- transporter_name?: string;
643
- driver_name?: string;
644
- lr_date?: string;
645
- campaign?: string;
646
- source?: string;
647
- represents_company?: string;
648
- inter_company_reference?: string;
649
- per_billed?: number;
650
- letter_head?: string;
651
- select_print_heading?: string;
652
- print_without_amount?: number;
653
- group_same_items?: number;
654
- per_installed?: number;
655
- installation_status?: string;
656
- per_returned?: number;
657
- excise_page?: string;
658
- instructions?: string;
659
- auto_repeat?: string;
660
- sales_partner?: string;
661
- amount_eligible_for_commission?: number;
662
- commission_rate?: number;
663
- total_commission?: number;
664
- packed_items?: string[];
665
- dispatch_run?: string;
666
- }>;
667
- createShipmentDraft: (deliveryNoteName: string) => Promise<{
668
- status?: string;
669
- owner?: string;
670
- idx?: number;
671
- docstatus?: number;
672
- doctype?: string;
673
- __islocal?: number;
674
- __unsaved?: number;
675
- __onload?: {
676
- load_after_mapping?: boolean;
677
- };
678
- delivery_address_name?: string;
679
- delivery_address?: string;
680
- delivery_contact?: string;
681
- delivery_customer?: string;
682
- delivery_to_type?: string;
683
- incoterm?: string;
684
- pallets?: string;
685
- pickup_address_name?: string;
686
- pickup_address?: string;
687
- pickup_company?: string;
688
- pickup_contact_email?: string;
689
- pickup_contact_person?: string;
690
- pickup_contact?: string;
691
- pickup_from_type?: string;
692
- pickup_from?: string;
693
- pickup_to?: string;
694
- pickup_type?: string;
695
- shipment_amount?: number;
696
- shipment_delivery_note?: {
697
- owner?: string;
698
- parentfield?: string;
699
- parenttype?: string;
700
- idx?: number;
701
- docstatus?: number;
702
- doctype?: string;
703
- delivery_note?: string;
704
- grand_total?: number;
705
- __islocal?: number;
706
- __unsaved?: number;
707
- }[];
708
- shipment_parcel?: any[];
709
- shipment_type?: string;
710
- tracking_status?: string;
711
- value_of_goods?: number;
712
- }>;
713
- getShipment: (shipmentErpNextName: string) => Promise<{
714
- status?: string;
715
- name?: string;
716
- owner?: string;
717
- creation?: string;
718
- modified?: string;
719
- modified_by?: string;
720
- parent?: string;
721
- parentfield?: string;
722
- parenttype?: string;
723
- idx?: number;
724
- docstatus?: number;
725
- doctype?: string;
726
- __onload?: {
727
- load_after_mapping?: boolean;
728
- };
729
- delivery_address_name?: string;
730
- delivery_address?: string;
731
- delivery_contact?: string;
732
- delivery_customer?: string;
733
- delivery_to_type?: string;
734
- incoterm?: string;
735
- pallets?: string;
736
- pickup_address_name?: string;
737
- pickup_address?: string;
738
- pickup_company?: string;
739
- pickup_contact_email?: string;
740
- pickup_contact_person?: string;
741
- pickup_contact?: string;
742
- pickup_from_type?: string;
743
- pickup_from?: string;
744
- pickup_to?: string;
745
- pickup_type?: string;
746
- shipment_amount?: number;
747
- shipment_delivery_note?: {
748
- name?: string;
749
- owner?: string;
750
- creation?: string;
751
- modified?: string;
752
- modified_by?: string;
753
- parent?: string;
754
- parentfield?: string;
755
- parenttype?: string;
756
- idx?: number;
757
- docstatus?: number;
758
- doctype?: string;
759
- delivery_note?: string;
760
- grand_total?: number;
761
- __unsaved?: number;
762
- }[];
763
- shipment_parcel?: {
764
- length?: number;
765
- name?: string;
766
- owner?: string;
767
- creation?: string;
768
- modified?: string;
769
- modified_by?: string;
770
- parent?: string;
771
- parentfield?: string;
772
- parenttype?: string;
773
- idx?: number;
774
- docstatus?: number;
775
- doctype?: string;
776
- width?: number;
777
- height?: number;
778
- weight?: number;
779
- count?: number;
780
- }[];
781
- shipment_type?: string;
782
- tracking_status?: string;
783
- value_of_goods?: number;
784
- amended_from?: string;
785
- awb_number?: string;
786
- carrier_service?: string;
787
- carrier?: string;
788
- delivery_company?: string;
789
- delivery_contact_email?: string;
790
- delivery_contact_name?: string;
791
- delivery_supplier?: string;
792
- delivery_to?: string;
793
- description_of_content?: string;
794
- parcel_template?: string;
795
- pickup_contact_name?: string;
796
- pickup_customer?: string;
797
- pickup_date?: string;
798
- pickup_supplier?: string;
799
- pickup?: string;
800
- service_provider?: string;
801
- shipment_id?: string;
802
- shipping_label?: string;
803
- shipping_provider?: string;
804
- custom_return_label?: string;
805
- custom_return_shipping_provider?: string;
806
- tracking_status_info?: string;
807
- tracking_url?: string;
808
- }>;
809
- updateShipment: (shipmentErpNextName: string, updateBody: ShipmentAddShippingLabelAndSubmitBodyType) => Promise<{
810
- status?: string;
811
- name?: string;
812
- owner?: string;
813
- creation?: string;
814
- modified?: string;
815
- modified_by?: string;
816
- parent?: string;
817
- parentfield?: string;
818
- parenttype?: string;
819
- idx?: number;
820
- docstatus?: number;
821
- doctype?: string;
822
- __onload?: {
823
- load_after_mapping?: boolean;
824
- };
825
- delivery_address_name?: string;
826
- delivery_address?: string;
827
- delivery_contact?: string;
828
- delivery_customer?: string;
829
- delivery_to_type?: string;
830
- incoterm?: string;
831
- pallets?: string;
832
- pickup_address_name?: string;
833
- pickup_address?: string;
834
- pickup_company?: string;
835
- pickup_contact_email?: string;
836
- pickup_contact_person?: string;
837
- pickup_contact?: string;
838
- pickup_from_type?: string;
839
- pickup_from?: string;
840
- pickup_to?: string;
841
- pickup_type?: string;
842
- shipment_amount?: number;
843
- shipment_delivery_note?: {
844
- name?: string;
845
- owner?: string;
846
- creation?: string;
847
- modified?: string;
848
- modified_by?: string;
849
- parent?: string;
850
- parentfield?: string;
851
- parenttype?: string;
852
- idx?: number;
853
- docstatus?: number;
854
- doctype?: string;
855
- delivery_note?: string;
856
- grand_total?: number;
857
- __unsaved?: number;
858
- }[];
859
- shipment_parcel?: {
860
- length?: number;
861
- name?: string;
862
- owner?: string;
863
- creation?: string;
864
- modified?: string;
865
- modified_by?: string;
866
- parent?: string;
867
- parentfield?: string;
868
- parenttype?: string;
869
- idx?: number;
870
- docstatus?: number;
871
- doctype?: string;
872
- width?: number;
873
- height?: number;
874
- weight?: number;
875
- count?: number;
876
- }[];
877
- shipment_type?: string;
878
- tracking_status?: string;
879
- value_of_goods?: number;
880
- amended_from?: string;
881
- awb_number?: string;
882
- carrier_service?: string;
883
- carrier?: string;
884
- delivery_company?: string;
885
- delivery_contact_email?: string;
886
- delivery_contact_name?: string;
887
- delivery_supplier?: string;
888
- delivery_to?: string;
889
- description_of_content?: string;
890
- parcel_template?: string;
891
- pickup_contact_name?: string;
892
- pickup_customer?: string;
893
- pickup_date?: string;
894
- pickup_supplier?: string;
895
- pickup?: string;
896
- service_provider?: string;
897
- shipment_id?: string;
898
- shipping_label?: string;
899
- shipping_provider?: string;
900
- custom_return_label?: string;
901
- custom_return_shipping_provider?: string;
902
- tracking_status_info?: string;
903
- tracking_url?: string;
904
- }>;
905
- cancelShipment: (shipmentName: string) => Promise<{
906
- status?: string;
907
- name?: string;
908
- owner?: string;
909
- creation?: string;
910
- modified?: string;
911
- modified_by?: string;
912
- parent?: string;
913
- parentfield?: string;
914
- parenttype?: string;
915
- idx?: number;
916
- docstatus?: number;
917
- doctype?: string;
918
- __onload?: {
919
- load_after_mapping?: boolean;
920
- };
921
- delivery_address_name?: string;
922
- delivery_address?: string;
923
- delivery_contact?: string;
924
- delivery_customer?: string;
925
- delivery_to_type?: string;
926
- incoterm?: string;
927
- pallets?: string;
928
- pickup_address_name?: string;
929
- pickup_address?: string;
930
- pickup_company?: string;
931
- pickup_contact_email?: string;
932
- pickup_contact_person?: string;
933
- pickup_contact?: string;
934
- pickup_from_type?: string;
935
- pickup_from?: string;
936
- pickup_to?: string;
937
- pickup_type?: string;
938
- shipment_amount?: number;
939
- shipment_delivery_note?: {
940
- name?: string;
941
- owner?: string;
942
- creation?: string;
943
- modified?: string;
944
- modified_by?: string;
945
- parent?: string;
946
- parentfield?: string;
947
- parenttype?: string;
948
- idx?: number;
949
- docstatus?: number;
950
- doctype?: string;
951
- delivery_note?: string;
952
- grand_total?: number;
953
- __unsaved?: number;
954
- }[];
955
- shipment_parcel?: {
956
- length?: number;
957
- name?: string;
958
- owner?: string;
959
- creation?: string;
960
- modified?: string;
961
- modified_by?: string;
962
- parent?: string;
963
- parentfield?: string;
964
- parenttype?: string;
965
- idx?: number;
966
- docstatus?: number;
967
- doctype?: string;
968
- width?: number;
969
- height?: number;
970
- weight?: number;
971
- count?: number;
972
- }[];
973
- shipment_type?: string;
974
- tracking_status?: string;
975
- value_of_goods?: number;
976
- amended_from?: string;
977
- awb_number?: string;
978
- carrier_service?: string;
979
- carrier?: string;
980
- delivery_company?: string;
981
- delivery_contact_email?: string;
982
- delivery_contact_name?: string;
983
- delivery_supplier?: string;
984
- delivery_to?: string;
985
- description_of_content?: string;
986
- parcel_template?: string;
987
- pickup_contact_name?: string;
988
- pickup_customer?: string;
989
- pickup_date?: string;
990
- pickup_supplier?: string;
991
- pickup?: string;
992
- service_provider?: string;
993
- shipment_id?: string;
994
- shipping_label?: string;
995
- shipping_provider?: string;
996
- custom_return_label?: string;
997
- custom_return_shipping_provider?: string;
998
- tracking_status_info?: string;
999
- tracking_url?: string;
1000
- }>;
1001
- deleteShipment: (shipmentName: string) => Promise<any>;
1002
- getShippingProvider: (shippingProviderErpNextName: string) => Promise<{
1003
- name?: string;
1004
- owner?: string;
1005
- creation?: string;
1006
- modified?: string;
1007
- modified_by?: string;
1008
- parent?: string;
1009
- parentfield?: string;
1010
- parenttype?: string;
1011
- idx?: number;
1012
- docstatus?: number;
1013
- doctype?: string;
1014
- title?: string;
1015
- is_transport_by_freight_forwarding?: boolean;
1016
- is_print_label?: boolean;
1017
- label_service?: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
1018
- dhl_ekp_number?: string;
1019
- api_user?: string;
1020
- api_password?: string;
1021
- api_base_url?: string;
1022
- gls_shipper_id?: string;
1023
- billbee_shipping_provider_id?: string;
1024
- product_id_germany?: string;
1025
- product_id_europe?: string;
1026
- sender_address?: string;
1027
- shopify_carrier_mapping?: "" | import("./model/ShippingProvider").ShopifyCarrier;
1028
- }>;
1029
- getNoneStockItems: () => Promise<string[]>;
1030
- getStockDict: (warehouse: string) => Promise<Record<string | number, number>>;
1031
- getProjectedQuantity: (options?: GetProjectedQuantityInputOptionsType) => Promise<Record<string, number>>;
1032
- uploadFile: (file: Buffer, filename: string, doctypeToLinkTo?: string, docnameToLinkTo?: string, isPrivate?: boolean) => Promise<ERPNextValidatedFileType>;
1033
- cancelPurchaseOrder: (purchaseOrderName: string) => Promise<{
1034
- status?: string;
1035
- name?: string;
1036
- owner?: string;
1037
- creation?: string;
1038
- modified?: string;
1039
- modified_by?: string;
1040
- parent?: any;
1041
- parentfield?: any;
1042
- parenttype?: any;
1043
- idx?: number;
1044
- docstatus?: number;
1045
- doctype?: string;
1046
- tax_category?: string;
1047
- company?: string;
1048
- naming_series?: string;
1049
- taxes?: any[];
1050
- supplier?: string;
1051
- grand_total?: number;
1052
- amended_from?: any;
1053
- customer_name?: any;
1054
- language?: string;
1055
- customer?: any;
1056
- items?: {
1057
- name?: string;
1058
- owner?: string;
1059
- creation?: string;
1060
- modified?: string;
1061
- modified_by?: string;
1062
- parent?: string;
1063
- parentfield?: string;
1064
- parenttype?: string;
1065
- idx?: number;
1066
- docstatus?: number;
1067
- doctype?: string;
1068
- uom?: string;
1069
- conversion_factor?: number;
1070
- item_code?: string;
1071
- item_name?: string;
1072
- item_group?: string;
1073
- stock_uom?: string;
1074
- is_fixed_asset?: number;
1075
- description?: string;
1076
- weight_per_unit?: number;
1077
- weight_uom?: string;
1078
- last_purchase_rate?: number;
1079
- delivered_by_supplier?: number;
1080
- supplier_part_no?: any;
1081
- warehouse?: string;
1082
- brand?: any;
1083
- actual_qty?: number;
1084
- __unsaved?: number;
1085
- image?: string;
1086
- qty?: number;
1087
- stock_qty?: number;
1088
- returned_qty?: number;
1089
- price_list_rate?: number;
1090
- base_price_list_rate?: number;
1091
- margin_type?: string;
1092
- margin_rate_or_amount?: number;
1093
- rate_with_margin?: number;
1094
- discount_percentage?: number;
1095
- discount_amount?: number;
1096
- base_rate_with_margin?: number;
1097
- rate?: number;
1098
- amount?: number;
1099
- base_rate?: number;
1100
- base_amount?: number;
1101
- pricing_rules?: any;
1102
- stock_uom_rate?: number;
1103
- is_free_item?: number;
1104
- net_rate?: number;
1105
- net_amount?: number;
1106
- item_tax_template?: any;
1107
- base_net_rate?: number;
1108
- base_net_amount?: number;
1109
- billed_amt?: number;
1110
- total_weight?: number;
1111
- item_tax_rate?: string;
1112
- expense_account?: string;
1113
- cost_center?: string;
1114
- project?: any;
1115
- page_break?: number;
1116
- schedule_date?: string;
1117
- product_bundle?: any;
1118
- expected_delivery_date?: any;
1119
- company_total_stock?: number;
1120
- material_request?: any;
1121
- material_request_item?: any;
1122
- sales_order?: any;
1123
- sales_order_item?: any;
1124
- sales_order_packed_item?: any;
1125
- supplier_quotation?: any;
1126
- supplier_quotation_item?: any;
1127
- against_blanket_order?: number;
1128
- blanket_order?: any;
1129
- blanket_order_rate?: number;
1130
- received_qty?: number;
1131
- manufacturer?: any;
1132
- manufacturer_part_no?: any;
1133
- bom?: any;
1134
- include_exploded_items?: number;
1135
- production_plan?: any;
1136
- production_plan_item?: any;
1137
- production_plan_sub_assembly_item?: any;
1138
- }[];
1139
- discount_amount?: number;
1140
- pricing_rules?: any[];
1141
- cost_center?: any;
1142
- project?: any;
1143
- title?: string;
1144
- shipping_address?: string;
1145
- contact_person?: string;
1146
- contact_display?: string;
1147
- contact_mobile?: string;
1148
- contact_email?: string;
1149
- address_display?: string;
1150
- currency?: string;
1151
- conversion_rate?: number;
1152
- price_list_currency?: string;
1153
- plc_conversion_rate?: number;
1154
- ignore_pricing_rule?: number;
1155
- set_warehouse?: string;
1156
- scan_barcode?: any;
1157
- total_qty?: number;
1158
- base_total?: number;
1159
- base_net_total?: number;
1160
- total_net_weight?: number;
1161
- total?: number;
1162
- net_total?: number;
1163
- shipping_rule?: any;
1164
- taxes_and_charges?: any;
1165
- other_charges_calculation?: any;
1166
- base_total_taxes_and_charges?: number;
1167
- total_taxes_and_charges?: number;
1168
- apply_discount_on?: string;
1169
- base_discount_amount?: number;
1170
- additional_discount_percentage?: number;
1171
- base_grand_total?: number;
1172
- base_rounding_adjustment?: number;
1173
- base_rounded_total?: number;
1174
- base_in_words?: string;
1175
- rounding_adjustment?: number;
1176
- rounded_total?: number;
1177
- in_words?: string;
1178
- disable_rounded_total?: number;
1179
- tc_name?: any;
1180
- terms?: any;
1181
- represents_company?: any;
1182
- per_billed?: number;
1183
- letter_head?: any;
1184
- select_print_heading?: any;
1185
- group_same_items?: number;
1186
- auto_repeat?: any;
1187
- billing_address?: string;
1188
- schedule_date?: string;
1189
- purchase_order_number?: any;
1190
- supplier_name?: string;
1191
- apply_tds?: number;
1192
- tax_withholding_category?: any;
1193
- transaction_date?: string;
1194
- order_confirmation_no?: any;
1195
- order_confirmation_date?: any;
1196
- internal_reference?: any;
1197
- customer_contact_person?: any;
1198
- customer_contact_display?: any;
1199
- customer_contact_mobile?: any;
1200
- customer_contact_email?: any;
1201
- supplier_address?: string;
1202
- shipping_address_display?: string;
1203
- billing_address_display?: string;
1204
- buying_price_list?: string;
1205
- is_subcontracted?: number;
1206
- supplier_warehouse?: any;
1207
- set_reserve_warehouse?: any;
1208
- base_taxes_and_charges_added?: number;
1209
- base_taxes_and_charges_deducted?: number;
1210
- taxes_and_charges_added?: number;
1211
- taxes_and_charges_deducted?: number;
1212
- advance_paid?: number;
1213
- payment_terms_template?: string;
1214
- per_received?: number;
1215
- from_date?: any;
1216
- to_date?: any;
1217
- ref_sq?: any;
1218
- party_account_currency?: string;
1219
- is_internal_supplier?: number;
1220
- inter_company_order_reference?: any;
1221
- supplied_items?: any[];
1222
- payment_schedule?: {
1223
- name?: string;
1224
- owner?: any;
1225
- creation?: string;
1226
- modified?: string;
1227
- modified_by?: string;
1228
- parent?: string;
1229
- parentfield?: string;
1230
- parenttype?: string;
1231
- idx?: number;
1232
- docstatus?: number;
1233
- doctype?: string;
1234
- description?: any;
1235
- payment_term?: any;
1236
- due_date?: string;
1237
- mode_of_payment?: any;
1238
- invoice_portion?: number;
1239
- discount_type?: any;
1240
- discount_date?: any;
1241
- discount?: number;
1242
- payment_amount?: number;
1243
- outstanding?: number;
1244
- paid_amount?: number;
1245
- discounted_amount?: number;
1246
- base_payment_amount?: number;
1247
- }[];
1248
- }>;
1249
- createReceiptDraft: (purchaseOrderName: string) => Promise<{
1250
- status?: string;
1251
- owner?: string;
1252
- idx?: number;
1253
- docstatus?: number;
1254
- doctype?: string;
1255
- tax_category?: string;
1256
- company?: string;
1257
- naming_series?: string;
1258
- taxes?: any[];
1259
- supplier?: string;
1260
- grand_total?: number;
1261
- __islocal?: number;
1262
- __unsaved?: number;
1263
- __onload?: {
1264
- load_after_mapping?: boolean;
1265
- ignore_price_list?: boolean;
1266
- };
1267
- language?: string;
1268
- items?: {
1269
- owner?: string;
1270
- parentfield?: string;
1271
- parenttype?: string;
1272
- idx?: number;
1273
- docstatus?: number;
1274
- doctype?: string;
1275
- uom?: string;
1276
- conversion_factor?: number;
1277
- item_code?: string;
1278
- item_name?: string;
1279
- item_group?: string;
1280
- stock_uom?: string;
1281
- valuation_rate?: number;
1282
- is_fixed_asset?: number;
1283
- description?: string;
1284
- weight_per_unit?: number;
1285
- weight_uom?: string;
1286
- retain_sample?: number;
1287
- sample_quantity?: number;
1288
- warehouse?: string;
1289
- __islocal?: number;
1290
- __unsaved?: number;
1291
- image?: string;
1292
- qty?: number;
1293
- stock_qty?: number;
1294
- returned_qty?: number;
1295
- price_list_rate?: number;
1296
- base_price_list_rate?: number;
1297
- margin_type?: string;
1298
- margin_rate_or_amount?: number;
1299
- rate_with_margin?: number;
1300
- discount_percentage?: number;
1301
- discount_amount?: number;
1302
- base_rate_with_margin?: number;
1303
- rate?: number;
1304
- amount?: number;
1305
- base_rate?: number;
1306
- base_amount?: number;
1307
- stock_uom_rate?: number;
1308
- is_free_item?: number;
1309
- net_rate?: number;
1310
- net_amount?: number;
1311
- base_net_rate?: number;
1312
- base_net_amount?: number;
1313
- billed_amt?: number;
1314
- total_weight?: number;
1315
- item_tax_rate?: string;
1316
- expense_account?: string;
1317
- allow_zero_valuation_rate?: number;
1318
- cost_center?: string;
1319
- page_break?: number;
1320
- schedule_date?: string;
1321
- received_qty?: number;
1322
- include_exploded_items?: number;
1323
- rejected_qty?: number;
1324
- received_stock_qty?: number;
1325
- item_tax_amount?: number;
1326
- rm_supp_cost?: number;
1327
- landed_cost_voucher_amount?: number;
1328
- purchase_order?: string;
1329
- purchase_order_item?: string;
1330
- }[];
1331
- discount_amount?: number;
1332
- pricing_rules?: any[];
1333
- posting_date?: string;
1334
- posting_time?: string;
1335
- set_posting_time?: number;
1336
- is_return?: number;
1337
- shipping_address?: string;
1338
- contact_person?: string;
1339
- contact_display?: string;
1340
- contact_mobile?: string;
1341
- contact_email?: string;
1342
- address_display?: string;
1343
- currency?: string;
1344
- conversion_rate?: number;
1345
- price_list_currency?: string;
1346
- plc_conversion_rate?: number;
1347
- ignore_pricing_rule?: number;
1348
- set_warehouse?: string;
1349
- total_qty?: number;
1350
- base_total?: number;
1351
- base_net_total?: number;
1352
- total_net_weight?: number;
1353
- total?: number;
1354
- net_total?: number;
1355
- base_total_taxes_and_charges?: number;
1356
- total_taxes_and_charges?: number;
1357
- apply_discount_on?: string;
1358
- base_discount_amount?: number;
1359
- additional_discount_percentage?: number;
1360
- base_grand_total?: number;
1361
- base_rounding_adjustment?: number;
1362
- base_rounded_total?: number;
1363
- base_in_words?: string;
1364
- rounding_adjustment?: number;
1365
- rounded_total?: number;
1366
- in_words?: string;
1367
- disable_rounded_total?: number;
1368
- per_billed?: number;
1369
- group_same_items?: number;
1370
- per_returned?: number;
1371
- billing_address?: string;
1372
- supplier_name?: string;
1373
- supplier_address?: string;
1374
- shipping_address_display?: string;
1375
- billing_address_display?: string;
1376
- buying_price_list?: string;
1377
- is_subcontracted?: number;
1378
- base_taxes_and_charges_added?: number;
1379
- base_taxes_and_charges_deducted?: number;
1380
- taxes_and_charges_added?: number;
1381
- taxes_and_charges_deducted?: number;
1382
- is_internal_supplier?: number;
1383
- supplied_items?: any[];
1384
- apply_putaway_rule?: number;
1385
- }>;
1386
- createReceipt: (purchaseOrderName: string) => Promise<{
1387
- status?: string;
1388
- name?: string;
1389
- owner?: string;
1390
- creation?: string;
1391
- modified?: string;
1392
- modified_by?: string;
1393
- parent?: any;
1394
- parentfield?: any;
1395
- parenttype?: any;
1396
- idx?: number;
1397
- docstatus?: number;
1398
- doctype?: string;
1399
- tax_category?: string;
1400
- company?: string;
1401
- naming_series?: string;
1402
- taxes?: any[];
1403
- supplier?: string;
1404
- grand_total?: number;
1405
- __onload?: {
1406
- load_after_mapping?: boolean;
1407
- ignore_price_list?: boolean;
1408
- };
1409
- amended_from?: any;
1410
- language?: string;
1411
- items?: {
1412
- name?: string;
1413
- owner?: string;
1414
- creation?: string;
1415
- modified?: string;
1416
- modified_by?: string;
1417
- parent?: string;
1418
- parentfield?: string;
1419
- parenttype?: string;
1420
- idx?: number;
1421
- docstatus?: number;
1422
- doctype?: string;
1423
- uom?: string;
1424
- conversion_factor?: number;
1425
- barcode?: any;
1426
- item_code?: string;
1427
- item_name?: string;
1428
- item_group?: string;
1429
- stock_uom?: string;
1430
- valuation_rate?: number;
1431
- is_fixed_asset?: number;
1432
- description?: string;
1433
- weight_per_unit?: number;
1434
- weight_uom?: string;
1435
- retain_sample?: number;
1436
- sample_quantity?: number;
1437
- supplier_part_no?: any;
1438
- warehouse?: string;
1439
- brand?: any;
1440
- __unsaved?: number;
1441
- image?: string;
1442
- qty?: number;
1443
- stock_qty?: number;
1444
- returned_qty?: number;
1445
- price_list_rate?: number;
1446
- base_price_list_rate?: number;
1447
- margin_type?: string;
1448
- margin_rate_or_amount?: number;
1449
- rate_with_margin?: number;
1450
- discount_percentage?: number;
1451
- discount_amount?: number;
1452
- base_rate_with_margin?: number;
1453
- rate?: number;
1454
- amount?: number;
1455
- base_rate?: number;
1456
- base_amount?: number;
1457
- pricing_rules?: any;
1458
- stock_uom_rate?: number;
1459
- is_free_item?: number;
1460
- net_rate?: number;
1461
- net_amount?: number;
1462
- item_tax_template?: any;
1463
- base_net_rate?: number;
1464
- base_net_amount?: number;
1465
- billed_amt?: number;
1466
- total_weight?: number;
1467
- quality_inspection?: any;
1468
- batch_no?: any;
1469
- serial_no?: any;
1470
- item_tax_rate?: string;
1471
- expense_account?: string;
1472
- allow_zero_valuation_rate?: number;
1473
- cost_center?: string;
1474
- project?: any;
1475
- page_break?: number;
1476
- schedule_date?: string;
1477
- product_bundle?: any;
1478
- material_request?: any;
1479
- material_request_item?: any;
1480
- received_qty?: number;
1481
- manufacturer?: any;
1482
- manufacturer_part_no?: any;
1483
- bom?: any;
1484
- include_exploded_items?: number;
1485
- rejected_qty?: number;
1486
- received_stock_qty?: number;
1487
- item_tax_amount?: number;
1488
- rm_supp_cost?: number;
1489
- landed_cost_voucher_amount?: number;
1490
- rejected_warehouse?: any;
1491
- from_warehouse?: any;
1492
- purchase_order?: string;
1493
- purchase_invoice?: any;
1494
- asset_location?: any;
1495
- asset_category?: any;
1496
- purchase_order_item?: string;
1497
- purchase_invoice_item?: any;
1498
- purchase_receipt_item?: any;
1499
- delivery_note_item?: any;
1500
- putaway_rule?: any;
1501
- rejected_serial_no?: any;
1502
- provisional_expense_account?: any;
1503
- }[];
1504
- discount_amount?: number;
1505
- pricing_rules?: any[];
1506
- cost_center?: any;
1507
- project?: any;
1508
- title?: string;
1509
- posting_date?: string;
1510
- posting_time?: string;
1511
- set_posting_time?: number;
1512
- is_return?: number;
1513
- return_against?: any;
1514
- shipping_address?: string;
1515
- contact_person?: string;
1516
- contact_display?: string;
1517
- contact_mobile?: string;
1518
- contact_email?: string;
1519
- address_display?: string;
1520
- currency?: string;
1521
- conversion_rate?: number;
1522
- price_list_currency?: string;
1523
- plc_conversion_rate?: number;
1524
- ignore_pricing_rule?: number;
1525
- set_warehouse?: string;
1526
- scan_barcode?: any;
1527
- total_qty?: number;
1528
- base_total?: number;
1529
- base_net_total?: number;
1530
- total_net_weight?: number;
1531
- total?: number;
1532
- net_total?: number;
1533
- shipping_rule?: any;
1534
- taxes_and_charges?: any;
1535
- other_charges_calculation?: any;
1536
- base_total_taxes_and_charges?: number;
1537
- total_taxes_and_charges?: number;
1538
- apply_discount_on?: string;
1539
- base_discount_amount?: number;
1540
- additional_discount_percentage?: number;
1541
- base_grand_total?: number;
1542
- base_rounding_adjustment?: number;
1543
- base_rounded_total?: number;
1544
- base_in_words?: string;
1545
- rounding_adjustment?: number;
1546
- rounded_total?: number;
1547
- in_words?: string;
1548
- disable_rounded_total?: number;
1549
- tc_name?: any;
1550
- terms?: any;
1551
- lr_no?: any;
1552
- transporter_name?: any;
1553
- lr_date?: any;
1554
- represents_company?: any;
1555
- inter_company_reference?: any;
1556
- per_billed?: number;
1557
- letter_head?: any;
1558
- select_print_heading?: any;
1559
- group_same_items?: number;
1560
- per_returned?: number;
1561
- instructions?: any;
1562
- auto_repeat?: any;
1563
- billing_address?: string;
1564
- supplier_name?: string;
1565
- supplier_address?: string;
1566
- shipping_address_display?: string;
1567
- billing_address_display?: string;
1568
- buying_price_list?: string;
1569
- is_subcontracted?: number;
1570
- supplier_warehouse?: any;
1571
- base_taxes_and_charges_added?: number;
1572
- base_taxes_and_charges_deducted?: number;
1573
- taxes_and_charges_added?: number;
1574
- taxes_and_charges_deducted?: number;
1575
- is_internal_supplier?: number;
1576
- supplied_items?: any[];
1577
- rejected_warehouse?: any;
1578
- purchase_receipt_number?: any;
1579
- supplier_delivery_note?: any;
1580
- notes?: any;
1581
- apply_putaway_rule?: number;
1582
- set_from_warehouse?: any;
1583
- range?: any;
1584
- remarks?: any;
1585
- }>;
1586
- cancelReceipt: (receiptName: string) => Promise<{
1587
- status?: string;
1588
- name?: string;
1589
- owner?: string;
1590
- creation?: string;
1591
- modified?: string;
1592
- modified_by?: string;
1593
- parent?: any;
1594
- parentfield?: any;
1595
- parenttype?: any;
1596
- idx?: number;
1597
- docstatus?: number;
1598
- doctype?: string;
1599
- tax_category?: string;
1600
- company?: string;
1601
- naming_series?: string;
1602
- taxes?: any[];
1603
- supplier?: string;
1604
- grand_total?: number;
1605
- __onload?: {
1606
- load_after_mapping?: boolean;
1607
- ignore_price_list?: boolean;
1608
- };
1609
- amended_from?: any;
1610
- language?: string;
1611
- items?: {
1612
- name?: string;
1613
- owner?: string;
1614
- creation?: string;
1615
- modified?: string;
1616
- modified_by?: string;
1617
- parent?: string;
1618
- parentfield?: string;
1619
- parenttype?: string;
1620
- idx?: number;
1621
- docstatus?: number;
1622
- doctype?: string;
1623
- uom?: string;
1624
- conversion_factor?: number;
1625
- barcode?: any;
1626
- item_code?: string;
1627
- item_name?: string;
1628
- item_group?: string;
1629
- stock_uom?: string;
1630
- valuation_rate?: number;
1631
- is_fixed_asset?: number;
1632
- description?: string;
1633
- weight_per_unit?: number;
1634
- weight_uom?: string;
1635
- retain_sample?: number;
1636
- sample_quantity?: number;
1637
- supplier_part_no?: any;
1638
- warehouse?: string;
1639
- brand?: any;
1640
- __unsaved?: number;
1641
- image?: string;
1642
- qty?: number;
1643
- stock_qty?: number;
1644
- returned_qty?: number;
1645
- price_list_rate?: number;
1646
- base_price_list_rate?: number;
1647
- margin_type?: string;
1648
- margin_rate_or_amount?: number;
1649
- rate_with_margin?: number;
1650
- discount_percentage?: number;
1651
- discount_amount?: number;
1652
- base_rate_with_margin?: number;
1653
- rate?: number;
1654
- amount?: number;
1655
- base_rate?: number;
1656
- base_amount?: number;
1657
- pricing_rules?: any;
1658
- stock_uom_rate?: number;
1659
- is_free_item?: number;
1660
- net_rate?: number;
1661
- net_amount?: number;
1662
- item_tax_template?: any;
1663
- base_net_rate?: number;
1664
- base_net_amount?: number;
1665
- billed_amt?: number;
1666
- total_weight?: number;
1667
- quality_inspection?: any;
1668
- batch_no?: any;
1669
- serial_no?: any;
1670
- item_tax_rate?: string;
1671
- expense_account?: string;
1672
- allow_zero_valuation_rate?: number;
1673
- cost_center?: string;
1674
- project?: any;
1675
- page_break?: number;
1676
- schedule_date?: string;
1677
- product_bundle?: any;
1678
- material_request?: any;
1679
- material_request_item?: any;
1680
- received_qty?: number;
1681
- manufacturer?: any;
1682
- manufacturer_part_no?: any;
1683
- bom?: any;
1684
- include_exploded_items?: number;
1685
- rejected_qty?: number;
1686
- received_stock_qty?: number;
1687
- item_tax_amount?: number;
1688
- rm_supp_cost?: number;
1689
- landed_cost_voucher_amount?: number;
1690
- rejected_warehouse?: any;
1691
- from_warehouse?: any;
1692
- purchase_order?: string;
1693
- purchase_invoice?: any;
1694
- asset_location?: any;
1695
- asset_category?: any;
1696
- purchase_order_item?: string;
1697
- purchase_invoice_item?: any;
1698
- purchase_receipt_item?: any;
1699
- delivery_note_item?: any;
1700
- putaway_rule?: any;
1701
- rejected_serial_no?: any;
1702
- provisional_expense_account?: any;
1703
- }[];
1704
- discount_amount?: number;
1705
- pricing_rules?: any[];
1706
- cost_center?: any;
1707
- project?: any;
1708
- title?: string;
1709
- posting_date?: string;
1710
- posting_time?: string;
1711
- set_posting_time?: number;
1712
- is_return?: number;
1713
- return_against?: any;
1714
- shipping_address?: string;
1715
- contact_person?: string;
1716
- contact_display?: string;
1717
- contact_mobile?: string;
1718
- contact_email?: string;
1719
- address_display?: string;
1720
- currency?: string;
1721
- conversion_rate?: number;
1722
- price_list_currency?: string;
1723
- plc_conversion_rate?: number;
1724
- ignore_pricing_rule?: number;
1725
- set_warehouse?: string;
1726
- scan_barcode?: any;
1727
- total_qty?: number;
1728
- base_total?: number;
1729
- base_net_total?: number;
1730
- total_net_weight?: number;
1731
- total?: number;
1732
- net_total?: number;
1733
- shipping_rule?: any;
1734
- taxes_and_charges?: any;
1735
- other_charges_calculation?: any;
1736
- base_total_taxes_and_charges?: number;
1737
- total_taxes_and_charges?: number;
1738
- apply_discount_on?: string;
1739
- base_discount_amount?: number;
1740
- additional_discount_percentage?: number;
1741
- base_grand_total?: number;
1742
- base_rounding_adjustment?: number;
1743
- base_rounded_total?: number;
1744
- base_in_words?: string;
1745
- rounding_adjustment?: number;
1746
- rounded_total?: number;
1747
- in_words?: string;
1748
- disable_rounded_total?: number;
1749
- tc_name?: any;
1750
- terms?: any;
1751
- lr_no?: any;
1752
- transporter_name?: any;
1753
- lr_date?: any;
1754
- represents_company?: any;
1755
- inter_company_reference?: any;
1756
- per_billed?: number;
1757
- letter_head?: any;
1758
- select_print_heading?: any;
1759
- group_same_items?: number;
1760
- per_returned?: number;
1761
- instructions?: any;
1762
- auto_repeat?: any;
1763
- billing_address?: string;
1764
- supplier_name?: string;
1765
- supplier_address?: string;
1766
- shipping_address_display?: string;
1767
- billing_address_display?: string;
1768
- buying_price_list?: string;
1769
- is_subcontracted?: number;
1770
- supplier_warehouse?: any;
1771
- base_taxes_and_charges_added?: number;
1772
- base_taxes_and_charges_deducted?: number;
1773
- taxes_and_charges_added?: number;
1774
- taxes_and_charges_deducted?: number;
1775
- is_internal_supplier?: number;
1776
- supplied_items?: any[];
1777
- rejected_warehouse?: any;
1778
- purchase_receipt_number?: any;
1779
- supplier_delivery_note?: any;
1780
- notes?: any;
1781
- apply_putaway_rule?: number;
1782
- set_from_warehouse?: any;
1783
- range?: any;
1784
- remarks?: any;
1785
- }>;
1786
- };
1
+ export {};