erpnext-queue-client 1.0.4 → 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.
- package/dist/client.d.ts +6 -16
- package/dist/client.js +14 -39
- package/dist/erpnext/decryptFromErpNext.server.js +1 -1
- package/dist/erpnext/decryptFromErpNext.server.test.js +3 -3
- package/dist/erpnext/doctypes/country.d.ts +9 -0
- package/dist/erpnext/doctypes/country.js +28 -0
- package/dist/erpnext/erpnextRequests.d.ts +1 -1786
- package/dist/erpnext/erpnextRequests.js +13 -337
- package/dist/erpnext/model/Address.d.ts +48 -48
- package/dist/erpnext/model/Contact.d.ts +106 -106
- package/dist/erpnext/model/Country.d.ts +2 -2
- package/dist/erpnext/model/Customer.d.ts +4 -4
- package/dist/erpnext/model/DeliveryNote.d.ts +176 -176
- package/dist/erpnext/model/DispatchRun.d.ts +90 -90
- package/dist/erpnext/model/DispatcherPreset.d.ts +26 -26
- package/dist/erpnext/model/ERPNextQueue.d.ts +8 -7
- package/dist/erpnext/model/ERPNextRequest.d.ts +17 -0
- package/dist/erpnext/model/File.d.ts +4 -4
- package/dist/erpnext/model/Fulfiller.d.ts +11 -11
- package/dist/erpnext/model/FulfillerSettings.d.ts +6 -6
- package/dist/erpnext/model/Item.d.ts +204 -204
- package/dist/erpnext/model/ProjectedQuantityReport.d.ts +14 -14
- package/dist/erpnext/model/PurchaseOrder.d.ts +112 -112
- package/dist/erpnext/model/Receipt.d.ts +104 -104
- package/dist/erpnext/model/ReceiptDraft.d.ts +88 -88
- package/dist/erpnext/model/Shipment.d.ts +157 -157
- package/dist/erpnext/model/ShippingProvider.d.ts +23 -23
- package/dist/erpnext/resourceRequest.d.ts +16 -0
- package/dist/erpnext/resourceRequest.js +34 -0
- package/dist/erpnext.d.ts +20 -0
- package/dist/erpnext.js +45 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +21 -12
- package/package.json +1 -1
|
@@ -192,36 +192,27 @@ export declare const Receipt: z.ZodObject<{
|
|
|
192
192
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
194
|
name?: string;
|
|
195
|
-
owner?: string;
|
|
196
195
|
creation?: string;
|
|
197
196
|
modified?: string;
|
|
198
197
|
modified_by?: string;
|
|
199
|
-
parent?: string;
|
|
200
|
-
parentfield?: string;
|
|
201
|
-
parenttype?: string;
|
|
202
198
|
idx?: number;
|
|
203
199
|
docstatus?: number;
|
|
204
200
|
doctype?: string;
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
201
|
+
owner?: string;
|
|
202
|
+
parent?: string;
|
|
203
|
+
parentfield?: string;
|
|
204
|
+
parenttype?: string;
|
|
205
|
+
image?: string;
|
|
208
206
|
item_code?: string;
|
|
207
|
+
qty?: number;
|
|
208
|
+
barcode?: any;
|
|
209
209
|
item_name?: string;
|
|
210
|
-
item_group?: string;
|
|
211
|
-
stock_uom?: string;
|
|
212
|
-
valuation_rate?: number;
|
|
213
|
-
is_fixed_asset?: number;
|
|
214
210
|
description?: string;
|
|
215
|
-
weight_per_unit?: number;
|
|
216
|
-
weight_uom?: string;
|
|
217
|
-
retain_sample?: number;
|
|
218
|
-
sample_quantity?: number;
|
|
219
|
-
supplier_part_no?: any;
|
|
220
|
-
warehouse?: string;
|
|
221
211
|
brand?: any;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
212
|
+
item_group?: string;
|
|
213
|
+
stock_uom?: string;
|
|
214
|
+
uom?: string;
|
|
215
|
+
conversion_factor?: number;
|
|
225
216
|
stock_qty?: number;
|
|
226
217
|
returned_qty?: number;
|
|
227
218
|
price_list_rate?: number;
|
|
@@ -245,7 +236,10 @@ export declare const Receipt: z.ZodObject<{
|
|
|
245
236
|
base_net_rate?: number;
|
|
246
237
|
base_net_amount?: number;
|
|
247
238
|
billed_amt?: number;
|
|
239
|
+
weight_per_unit?: number;
|
|
248
240
|
total_weight?: number;
|
|
241
|
+
weight_uom?: string;
|
|
242
|
+
warehouse?: string;
|
|
249
243
|
quality_inspection?: any;
|
|
250
244
|
batch_no?: any;
|
|
251
245
|
serial_no?: any;
|
|
@@ -255,6 +249,12 @@ export declare const Receipt: z.ZodObject<{
|
|
|
255
249
|
cost_center?: string;
|
|
256
250
|
project?: any;
|
|
257
251
|
page_break?: number;
|
|
252
|
+
__unsaved?: number;
|
|
253
|
+
valuation_rate?: number;
|
|
254
|
+
is_fixed_asset?: number;
|
|
255
|
+
retain_sample?: number;
|
|
256
|
+
sample_quantity?: number;
|
|
257
|
+
supplier_part_no?: any;
|
|
258
258
|
schedule_date?: string;
|
|
259
259
|
product_bundle?: any;
|
|
260
260
|
material_request?: any;
|
|
@@ -284,36 +284,27 @@ export declare const Receipt: z.ZodObject<{
|
|
|
284
284
|
provisional_expense_account?: any;
|
|
285
285
|
}, {
|
|
286
286
|
name?: string;
|
|
287
|
-
owner?: string;
|
|
288
287
|
creation?: string;
|
|
289
288
|
modified?: string;
|
|
290
289
|
modified_by?: string;
|
|
291
|
-
parent?: string;
|
|
292
|
-
parentfield?: string;
|
|
293
|
-
parenttype?: string;
|
|
294
290
|
idx?: number;
|
|
295
291
|
docstatus?: number;
|
|
296
292
|
doctype?: string;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
293
|
+
owner?: string;
|
|
294
|
+
parent?: string;
|
|
295
|
+
parentfield?: string;
|
|
296
|
+
parenttype?: string;
|
|
297
|
+
image?: string;
|
|
300
298
|
item_code?: string;
|
|
299
|
+
qty?: number;
|
|
300
|
+
barcode?: any;
|
|
301
301
|
item_name?: string;
|
|
302
|
-
item_group?: string;
|
|
303
|
-
stock_uom?: string;
|
|
304
|
-
valuation_rate?: number;
|
|
305
|
-
is_fixed_asset?: number;
|
|
306
302
|
description?: string;
|
|
307
|
-
weight_per_unit?: number;
|
|
308
|
-
weight_uom?: string;
|
|
309
|
-
retain_sample?: number;
|
|
310
|
-
sample_quantity?: number;
|
|
311
|
-
supplier_part_no?: any;
|
|
312
|
-
warehouse?: string;
|
|
313
303
|
brand?: any;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
304
|
+
item_group?: string;
|
|
305
|
+
stock_uom?: string;
|
|
306
|
+
uom?: string;
|
|
307
|
+
conversion_factor?: number;
|
|
317
308
|
stock_qty?: number;
|
|
318
309
|
returned_qty?: number;
|
|
319
310
|
price_list_rate?: number;
|
|
@@ -337,7 +328,10 @@ export declare const Receipt: z.ZodObject<{
|
|
|
337
328
|
base_net_rate?: number;
|
|
338
329
|
base_net_amount?: number;
|
|
339
330
|
billed_amt?: number;
|
|
331
|
+
weight_per_unit?: number;
|
|
340
332
|
total_weight?: number;
|
|
333
|
+
weight_uom?: string;
|
|
334
|
+
warehouse?: string;
|
|
341
335
|
quality_inspection?: any;
|
|
342
336
|
batch_no?: any;
|
|
343
337
|
serial_no?: any;
|
|
@@ -347,6 +341,12 @@ export declare const Receipt: z.ZodObject<{
|
|
|
347
341
|
cost_center?: string;
|
|
348
342
|
project?: any;
|
|
349
343
|
page_break?: number;
|
|
344
|
+
__unsaved?: number;
|
|
345
|
+
valuation_rate?: number;
|
|
346
|
+
is_fixed_asset?: number;
|
|
347
|
+
retain_sample?: number;
|
|
348
|
+
sample_quantity?: number;
|
|
349
|
+
supplier_part_no?: any;
|
|
350
350
|
schedule_date?: string;
|
|
351
351
|
product_bundle?: any;
|
|
352
352
|
material_request?: any;
|
|
@@ -391,60 +391,43 @@ export declare const Receipt: z.ZodObject<{
|
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
392
392
|
status?: string;
|
|
393
393
|
name?: string;
|
|
394
|
-
owner?: string;
|
|
395
394
|
creation?: string;
|
|
396
395
|
modified?: string;
|
|
397
396
|
modified_by?: string;
|
|
398
|
-
parent?: any;
|
|
399
|
-
parentfield?: any;
|
|
400
|
-
parenttype?: any;
|
|
401
397
|
idx?: number;
|
|
402
398
|
docstatus?: number;
|
|
403
399
|
doctype?: string;
|
|
400
|
+
owner?: string;
|
|
401
|
+
parent?: any;
|
|
402
|
+
parentfield?: any;
|
|
403
|
+
parenttype?: any;
|
|
404
404
|
tax_category?: string;
|
|
405
405
|
company?: string;
|
|
406
406
|
naming_series?: string;
|
|
407
|
-
taxes?: any[];
|
|
408
|
-
supplier?: string;
|
|
409
|
-
grand_total?: number;
|
|
410
|
-
__onload?: {
|
|
411
|
-
load_after_mapping?: boolean;
|
|
412
|
-
ignore_price_list?: boolean;
|
|
413
|
-
};
|
|
414
|
-
amended_from?: any;
|
|
415
407
|
language?: string;
|
|
416
408
|
items?: {
|
|
417
409
|
name?: string;
|
|
418
|
-
owner?: string;
|
|
419
410
|
creation?: string;
|
|
420
411
|
modified?: string;
|
|
421
412
|
modified_by?: string;
|
|
422
|
-
parent?: string;
|
|
423
|
-
parentfield?: string;
|
|
424
|
-
parenttype?: string;
|
|
425
413
|
idx?: number;
|
|
426
414
|
docstatus?: number;
|
|
427
415
|
doctype?: string;
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
416
|
+
owner?: string;
|
|
417
|
+
parent?: string;
|
|
418
|
+
parentfield?: string;
|
|
419
|
+
parenttype?: string;
|
|
420
|
+
image?: string;
|
|
431
421
|
item_code?: string;
|
|
422
|
+
qty?: number;
|
|
423
|
+
barcode?: any;
|
|
432
424
|
item_name?: string;
|
|
433
|
-
item_group?: string;
|
|
434
|
-
stock_uom?: string;
|
|
435
|
-
valuation_rate?: number;
|
|
436
|
-
is_fixed_asset?: number;
|
|
437
425
|
description?: string;
|
|
438
|
-
weight_per_unit?: number;
|
|
439
|
-
weight_uom?: string;
|
|
440
|
-
retain_sample?: number;
|
|
441
|
-
sample_quantity?: number;
|
|
442
|
-
supplier_part_no?: any;
|
|
443
|
-
warehouse?: string;
|
|
444
426
|
brand?: any;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
427
|
+
item_group?: string;
|
|
428
|
+
stock_uom?: string;
|
|
429
|
+
uom?: string;
|
|
430
|
+
conversion_factor?: number;
|
|
448
431
|
stock_qty?: number;
|
|
449
432
|
returned_qty?: number;
|
|
450
433
|
price_list_rate?: number;
|
|
@@ -468,7 +451,10 @@ export declare const Receipt: z.ZodObject<{
|
|
|
468
451
|
base_net_rate?: number;
|
|
469
452
|
base_net_amount?: number;
|
|
470
453
|
billed_amt?: number;
|
|
454
|
+
weight_per_unit?: number;
|
|
471
455
|
total_weight?: number;
|
|
456
|
+
weight_uom?: string;
|
|
457
|
+
warehouse?: string;
|
|
472
458
|
quality_inspection?: any;
|
|
473
459
|
batch_no?: any;
|
|
474
460
|
serial_no?: any;
|
|
@@ -478,6 +464,12 @@ export declare const Receipt: z.ZodObject<{
|
|
|
478
464
|
cost_center?: string;
|
|
479
465
|
project?: any;
|
|
480
466
|
page_break?: number;
|
|
467
|
+
__unsaved?: number;
|
|
468
|
+
valuation_rate?: number;
|
|
469
|
+
is_fixed_asset?: number;
|
|
470
|
+
retain_sample?: number;
|
|
471
|
+
sample_quantity?: number;
|
|
472
|
+
supplier_part_no?: any;
|
|
481
473
|
schedule_date?: string;
|
|
482
474
|
product_bundle?: any;
|
|
483
475
|
material_request?: any;
|
|
@@ -511,6 +503,7 @@ export declare const Receipt: z.ZodObject<{
|
|
|
511
503
|
cost_center?: any;
|
|
512
504
|
project?: any;
|
|
513
505
|
title?: string;
|
|
506
|
+
amended_from?: any;
|
|
514
507
|
posting_date?: string;
|
|
515
508
|
posting_time?: string;
|
|
516
509
|
set_posting_time?: number;
|
|
@@ -547,6 +540,7 @@ export declare const Receipt: z.ZodObject<{
|
|
|
547
540
|
base_rounding_adjustment?: number;
|
|
548
541
|
base_rounded_total?: number;
|
|
549
542
|
base_in_words?: string;
|
|
543
|
+
grand_total?: number;
|
|
550
544
|
rounding_adjustment?: number;
|
|
551
545
|
rounded_total?: number;
|
|
552
546
|
in_words?: string;
|
|
@@ -565,6 +559,8 @@ export declare const Receipt: z.ZodObject<{
|
|
|
565
559
|
per_returned?: number;
|
|
566
560
|
instructions?: any;
|
|
567
561
|
auto_repeat?: any;
|
|
562
|
+
taxes?: any[];
|
|
563
|
+
supplier?: string;
|
|
568
564
|
billing_address?: string;
|
|
569
565
|
supplier_name?: string;
|
|
570
566
|
supplier_address?: string;
|
|
@@ -587,63 +583,50 @@ export declare const Receipt: z.ZodObject<{
|
|
|
587
583
|
set_from_warehouse?: any;
|
|
588
584
|
range?: any;
|
|
589
585
|
remarks?: any;
|
|
586
|
+
__onload?: {
|
|
587
|
+
load_after_mapping?: boolean;
|
|
588
|
+
ignore_price_list?: boolean;
|
|
589
|
+
};
|
|
590
590
|
}, {
|
|
591
591
|
status?: string;
|
|
592
592
|
name?: string;
|
|
593
|
-
owner?: string;
|
|
594
593
|
creation?: string;
|
|
595
594
|
modified?: string;
|
|
596
595
|
modified_by?: string;
|
|
597
|
-
parent?: any;
|
|
598
|
-
parentfield?: any;
|
|
599
|
-
parenttype?: any;
|
|
600
596
|
idx?: number;
|
|
601
597
|
docstatus?: number;
|
|
602
598
|
doctype?: string;
|
|
599
|
+
owner?: string;
|
|
600
|
+
parent?: any;
|
|
601
|
+
parentfield?: any;
|
|
602
|
+
parenttype?: any;
|
|
603
603
|
tax_category?: string;
|
|
604
604
|
company?: string;
|
|
605
605
|
naming_series?: string;
|
|
606
|
-
taxes?: any[];
|
|
607
|
-
supplier?: string;
|
|
608
|
-
grand_total?: number;
|
|
609
|
-
__onload?: {
|
|
610
|
-
load_after_mapping?: boolean;
|
|
611
|
-
ignore_price_list?: boolean;
|
|
612
|
-
};
|
|
613
|
-
amended_from?: any;
|
|
614
606
|
language?: string;
|
|
615
607
|
items?: {
|
|
616
608
|
name?: string;
|
|
617
|
-
owner?: string;
|
|
618
609
|
creation?: string;
|
|
619
610
|
modified?: string;
|
|
620
611
|
modified_by?: string;
|
|
621
|
-
parent?: string;
|
|
622
|
-
parentfield?: string;
|
|
623
|
-
parenttype?: string;
|
|
624
612
|
idx?: number;
|
|
625
613
|
docstatus?: number;
|
|
626
614
|
doctype?: string;
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
615
|
+
owner?: string;
|
|
616
|
+
parent?: string;
|
|
617
|
+
parentfield?: string;
|
|
618
|
+
parenttype?: string;
|
|
619
|
+
image?: string;
|
|
630
620
|
item_code?: string;
|
|
621
|
+
qty?: number;
|
|
622
|
+
barcode?: any;
|
|
631
623
|
item_name?: string;
|
|
632
|
-
item_group?: string;
|
|
633
|
-
stock_uom?: string;
|
|
634
|
-
valuation_rate?: number;
|
|
635
|
-
is_fixed_asset?: number;
|
|
636
624
|
description?: string;
|
|
637
|
-
weight_per_unit?: number;
|
|
638
|
-
weight_uom?: string;
|
|
639
|
-
retain_sample?: number;
|
|
640
|
-
sample_quantity?: number;
|
|
641
|
-
supplier_part_no?: any;
|
|
642
|
-
warehouse?: string;
|
|
643
625
|
brand?: any;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
626
|
+
item_group?: string;
|
|
627
|
+
stock_uom?: string;
|
|
628
|
+
uom?: string;
|
|
629
|
+
conversion_factor?: number;
|
|
647
630
|
stock_qty?: number;
|
|
648
631
|
returned_qty?: number;
|
|
649
632
|
price_list_rate?: number;
|
|
@@ -667,7 +650,10 @@ export declare const Receipt: z.ZodObject<{
|
|
|
667
650
|
base_net_rate?: number;
|
|
668
651
|
base_net_amount?: number;
|
|
669
652
|
billed_amt?: number;
|
|
653
|
+
weight_per_unit?: number;
|
|
670
654
|
total_weight?: number;
|
|
655
|
+
weight_uom?: string;
|
|
656
|
+
warehouse?: string;
|
|
671
657
|
quality_inspection?: any;
|
|
672
658
|
batch_no?: any;
|
|
673
659
|
serial_no?: any;
|
|
@@ -677,6 +663,12 @@ export declare const Receipt: z.ZodObject<{
|
|
|
677
663
|
cost_center?: string;
|
|
678
664
|
project?: any;
|
|
679
665
|
page_break?: number;
|
|
666
|
+
__unsaved?: number;
|
|
667
|
+
valuation_rate?: number;
|
|
668
|
+
is_fixed_asset?: number;
|
|
669
|
+
retain_sample?: number;
|
|
670
|
+
sample_quantity?: number;
|
|
671
|
+
supplier_part_no?: any;
|
|
680
672
|
schedule_date?: string;
|
|
681
673
|
product_bundle?: any;
|
|
682
674
|
material_request?: any;
|
|
@@ -710,6 +702,7 @@ export declare const Receipt: z.ZodObject<{
|
|
|
710
702
|
cost_center?: any;
|
|
711
703
|
project?: any;
|
|
712
704
|
title?: string;
|
|
705
|
+
amended_from?: any;
|
|
713
706
|
posting_date?: string;
|
|
714
707
|
posting_time?: string;
|
|
715
708
|
set_posting_time?: number;
|
|
@@ -746,6 +739,7 @@ export declare const Receipt: z.ZodObject<{
|
|
|
746
739
|
base_rounding_adjustment?: number;
|
|
747
740
|
base_rounded_total?: number;
|
|
748
741
|
base_in_words?: string;
|
|
742
|
+
grand_total?: number;
|
|
749
743
|
rounding_adjustment?: number;
|
|
750
744
|
rounded_total?: number;
|
|
751
745
|
in_words?: string;
|
|
@@ -764,6 +758,8 @@ export declare const Receipt: z.ZodObject<{
|
|
|
764
758
|
per_returned?: number;
|
|
765
759
|
instructions?: any;
|
|
766
760
|
auto_repeat?: any;
|
|
761
|
+
taxes?: any[];
|
|
762
|
+
supplier?: string;
|
|
767
763
|
billing_address?: string;
|
|
768
764
|
supplier_name?: string;
|
|
769
765
|
supplier_address?: string;
|
|
@@ -786,5 +782,9 @@ export declare const Receipt: z.ZodObject<{
|
|
|
786
782
|
set_from_warehouse?: any;
|
|
787
783
|
range?: any;
|
|
788
784
|
remarks?: any;
|
|
785
|
+
__onload?: {
|
|
786
|
+
load_after_mapping?: boolean;
|
|
787
|
+
ignore_price_list?: boolean;
|
|
788
|
+
};
|
|
789
789
|
}>;
|
|
790
790
|
export type ReceiptType = z.infer<typeof Receipt>;
|