@hisaabo/cli 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/{audit-trail-5LOCJ7XZ.js → audit-trail-4AMEFQGB.js} +1 -1
- package/dist/bin/{categories-64WWZTND.js → categories-CLCBRNWC.js} +1 -1
- package/dist/bin/{check-slug-FLHHUDYS.js → check-slug-OKW7KDYG.js} +1 -1
- package/dist/bin/{chunk-4MEL44QX.js → chunk-GXRLFDZW.js} +234 -0
- package/dist/bin/{client-5NZ23GML.js → client-2ZKMLWI6.js} +1 -1
- package/dist/bin/{collection-efficiency-U56XNVEE.js → collection-efficiency-TECE6PVQ.js} +1 -1
- package/dist/bin/{create-RPDEORDD.js → create-AS2YVGRA.js} +1 -1
- package/dist/bin/{default-account-AE6EXZZR.js → default-account-3RVSU7RF.js} +1 -1
- package/dist/bin/{expenses-5N2QSG54.js → expenses-KXFQJKD6.js} +1 -1
- package/dist/bin/{export-QICOQK34.js → export-UHZISG7H.js} +1 -1
- package/dist/bin/{factory-KOCW2AQM.js → factory-OBESY2LG.js} +1 -1
- package/dist/bin/{get-GWH6S5SJ.js → get-GTL556HL.js} +1 -1
- package/dist/bin/{get-A43QCI2S.js → get-WUSYEMG4.js} +1 -1
- package/dist/bin/hisaabo.js +892 -55
- package/dist/bin/{invitations-P3EEN5WI.js → invitations-U4ZNYWY7.js} +1 -1
- package/dist/bin/{invite-T3CKX53E.js → invite-5S4GJKRF.js} +1 -1
- package/dist/bin/{invoice-breakdown-FN5BEFJD.js → invoice-breakdown-PP3BZQLG.js} +1 -1
- package/dist/bin/{items-2OOCQKVF.js → items-CHEFLI7C.js} +1 -1
- package/dist/bin/{items-toggle-SKZWCGJH.js → items-toggle-ETVCDCU6.js} +1 -1
- package/dist/bin/{list-A2RKI3ZG.js → list-3FO4UJKC.js} +1 -1
- package/dist/bin/{list-NRMBMKMI.js → list-LQJGTZB4.js} +1 -1
- package/dist/bin/{list-T74SN6IR.js → list-RJ34MFPR.js} +1 -1
- package/dist/bin/{members-W2GW3ODT.js → members-TE5K5NQC.js} +1 -1
- package/dist/bin/{monthly-comparison-T34ZFOHL.js → monthly-comparison-Q6KPMTPS.js} +1 -1
- package/dist/bin/{order-cancel-TI27JYYD.js → order-cancel-NOQDBL2N.js} +1 -1
- package/dist/bin/{order-confirm-VMRAMNTD.js → order-confirm-6WMKTGPV.js} +1 -1
- package/dist/bin/{order-get-C2RBUR4O.js → order-get-ONWR4GTW.js} +1 -1
- package/dist/bin/{order-update-RE3HATNF.js → order-update-IVO4AFGV.js} +1 -1
- package/dist/bin/{payment-modes-WOOT22I7.js → payment-modes-FXB2G6WP.js} +1 -1
- package/dist/bin/{profit-loss-T4RESJ32.js → profit-loss-XPYELDTH.js} +1 -1
- package/dist/bin/{receivables-aging-6XMENEWS.js → receivables-aging-MU6Q3DZ4.js} +1 -1
- package/dist/bin/{remove-6QZI4JCY.js → remove-DJBOOOR4.js} +1 -1
- package/dist/bin/{revoke-AVEMPAC7.js → revoke-5L5GZ4ZZ.js} +1 -1
- package/dist/bin/{revoke-YUCFZFNR.js → revoke-WRIK7HLY.js} +1 -1
- package/dist/bin/{revoke-all-LFW5WBHO.js → revoke-all-QARW2G6R.js} +1 -1
- package/dist/bin/{revoke-invitation-DTGQRJR4.js → revoke-invitation-ZGLJHYNB.js} +1 -1
- package/dist/bin/{sales-trend-ZYBRUDUU.js → sales-trend-P5HOZJSX.js} +1 -1
- package/dist/bin/{sequence-FPOJTI2P.js → sequence-LK6QLSI5.js} +1 -1
- package/dist/bin/{store-IOB4Y67C.js → store-FU7CEILC.js} +1 -1
- package/dist/bin/{summary-5KYBA4ZO.js → summary-XONLN72I.js} +1 -1
- package/dist/bin/{top-customers-WSQ2UEJL.js → top-customers-U6HQW2GH.js} +1 -1
- package/dist/bin/{top-items-RWQPDGLN.js → top-items-EAOIVZ4P.js} +1 -1
- package/dist/bin/{top-outstanding-QAMO2E7Y.js → top-outstanding-4546FJDH.js} +1 -1
- package/dist/bin/{unpaid-invoices-WB3TK5B4.js → unpaid-invoices-AED55PLC.js} +1 -1
- package/dist/bin/{untracked-H733MYJL.js → untracked-ZEM2CDHC.js} +1 -1
- package/dist/bin/{update-TLBUIC5J.js → update-FO7AAXF5.js} +1 -1
- package/dist/bin/{update-H6LPO2Z4.js → update-OZPBIBME.js} +1 -1
- package/dist/bin/{update-JU2X3XU5.js → update-QCK32XAG.js} +1 -1
- package/dist/bin/{update-role-QST7BVFX.js → update-role-RB35QIA5.js} +1 -1
- package/dist/bin/{update-settings-Q2EGRLKZ.js → update-settings-EUC2FJQJ.js} +1 -1
- package/package.json +1 -1
- package/src/bin/hisaabo.ts +10 -0
- package/src/bin/registrars/bank-recon.ts +34 -0
- package/src/bin/registrars/einvoice.ts +46 -0
- package/src/bin/registrars/ewb.ts +37 -0
- package/src/bin/registrars/gst.ts +17 -1
- package/src/bin/registrars/itc.ts +56 -0
- package/src/bin/registrars/journal.ts +47 -0
- package/src/bin/registrars/report.ts +44 -0
- package/src/client.ts +248 -0
- package/src/commands/bank-recon/index.ts +127 -0
- package/src/commands/einvoice/index.ts +109 -0
- package/src/commands/ewb/index.ts +108 -0
- package/src/commands/gst/index.ts +79 -1
- package/src/commands/itc/index.ts +163 -0
- package/src/commands/journal/index.ts +156 -0
- package/src/commands/report/index.ts +171 -0
|
@@ -422,6 +422,12 @@ var HisaaboClient = class {
|
|
|
422
422
|
},
|
|
423
423
|
gstr1CSV(input) {
|
|
424
424
|
return c.query("gst.gstr1CSV", input);
|
|
425
|
+
},
|
|
426
|
+
gstr9(input) {
|
|
427
|
+
return c.query("gst.gstr9", input);
|
|
428
|
+
},
|
|
429
|
+
gstr2bUploads(input) {
|
|
430
|
+
return c.query("gstr2b.uploads", input ?? {});
|
|
425
431
|
}
|
|
426
432
|
};
|
|
427
433
|
}
|
|
@@ -518,6 +524,33 @@ var HisaaboClient = class {
|
|
|
518
524
|
},
|
|
519
525
|
collectionEfficiency(input) {
|
|
520
526
|
return c.query("reports.collectionEfficiency", input);
|
|
527
|
+
},
|
|
528
|
+
trialBalance(input) {
|
|
529
|
+
return c.query("reports.trialBalance", input ?? {});
|
|
530
|
+
},
|
|
531
|
+
balanceSheet(input) {
|
|
532
|
+
return c.query("reports.balanceSheet", input ?? {});
|
|
533
|
+
},
|
|
534
|
+
profitAndLoss(input) {
|
|
535
|
+
return c.query("reports.profitAndLoss", input ?? {});
|
|
536
|
+
},
|
|
537
|
+
cashFlowStatement(input) {
|
|
538
|
+
return c.query("reports.cashFlowStatement", input ?? {});
|
|
539
|
+
},
|
|
540
|
+
generalLedger(input) {
|
|
541
|
+
return c.query("reports.generalLedger", input);
|
|
542
|
+
},
|
|
543
|
+
comparativeTrialBalance(input) {
|
|
544
|
+
return c.query("reports.comparativeTrialBalance", input ?? {});
|
|
545
|
+
},
|
|
546
|
+
comparativeBalanceSheet(input) {
|
|
547
|
+
return c.query("reports.comparativeBalanceSheet", input ?? {});
|
|
548
|
+
},
|
|
549
|
+
comparativeProfitAndLoss(input) {
|
|
550
|
+
return c.query("reports.comparativeProfitAndLoss", input ?? {});
|
|
551
|
+
},
|
|
552
|
+
tallyExport(input) {
|
|
553
|
+
return c.query("reports.tallyExport", input ?? {});
|
|
521
554
|
}
|
|
522
555
|
};
|
|
523
556
|
}
|
|
@@ -839,6 +872,207 @@ var HisaaboClient = class {
|
|
|
839
872
|
}
|
|
840
873
|
};
|
|
841
874
|
}
|
|
875
|
+
// ── Journal ───────────────────────────────────────────────────
|
|
876
|
+
get journal() {
|
|
877
|
+
const c = this;
|
|
878
|
+
return {
|
|
879
|
+
list(input) {
|
|
880
|
+
return c.query("journal.list", input ?? {});
|
|
881
|
+
},
|
|
882
|
+
getById(id) {
|
|
883
|
+
return c.query("journal.getById", { id });
|
|
884
|
+
},
|
|
885
|
+
create(input) {
|
|
886
|
+
return c.mutate("journal.create", input);
|
|
887
|
+
},
|
|
888
|
+
update(input) {
|
|
889
|
+
return c.mutate("journal.update", input);
|
|
890
|
+
},
|
|
891
|
+
void(id) {
|
|
892
|
+
return c.mutate("journal.void", { id });
|
|
893
|
+
},
|
|
894
|
+
delete(id) {
|
|
895
|
+
return c.mutate("journal.delete", { id });
|
|
896
|
+
},
|
|
897
|
+
templateList() {
|
|
898
|
+
return c.query("journal.templateList");
|
|
899
|
+
},
|
|
900
|
+
templateCreate(input) {
|
|
901
|
+
return c.mutate("journal.templateCreate", input);
|
|
902
|
+
},
|
|
903
|
+
templateDelete(id) {
|
|
904
|
+
return c.mutate("journal.templateDelete", { id });
|
|
905
|
+
},
|
|
906
|
+
createFromTemplate(input) {
|
|
907
|
+
return c.mutate("journal.createFromTemplate", input);
|
|
908
|
+
}
|
|
909
|
+
};
|
|
910
|
+
}
|
|
911
|
+
// ── ITC ───────────────────────────────────────────────────────
|
|
912
|
+
get itc() {
|
|
913
|
+
const c = this;
|
|
914
|
+
return {
|
|
915
|
+
dashboard(input) {
|
|
916
|
+
return c.query("itc.dashboard", input ?? {});
|
|
917
|
+
},
|
|
918
|
+
ledger(input) {
|
|
919
|
+
return c.query("itc.ledger", input ?? {});
|
|
920
|
+
},
|
|
921
|
+
agingAlerts() {
|
|
922
|
+
return c.query("itc.agingAlerts");
|
|
923
|
+
},
|
|
924
|
+
markBlocked(input) {
|
|
925
|
+
return c.mutate("itc.markBlocked", input);
|
|
926
|
+
},
|
|
927
|
+
markEligible(input) {
|
|
928
|
+
return c.mutate("itc.markEligible", input);
|
|
929
|
+
},
|
|
930
|
+
recordUtilization(input) {
|
|
931
|
+
return c.mutate("itc.recordUtilization", input);
|
|
932
|
+
},
|
|
933
|
+
gstr3bTable4(input) {
|
|
934
|
+
return c.query("itc.gstr3bTable4", input ?? {});
|
|
935
|
+
}
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
// ── Bank Recon ────────────────────────────────────────────────
|
|
939
|
+
get bankRecon() {
|
|
940
|
+
const c = this;
|
|
941
|
+
return {
|
|
942
|
+
importList(input) {
|
|
943
|
+
return c.query("bankRecon.importList", input ?? {});
|
|
944
|
+
},
|
|
945
|
+
importDetail(importId) {
|
|
946
|
+
return c.query("bankRecon.importDetail", { importId });
|
|
947
|
+
},
|
|
948
|
+
summary(importId) {
|
|
949
|
+
return c.query("bankRecon.summary", { importId });
|
|
950
|
+
},
|
|
951
|
+
lines(input) {
|
|
952
|
+
return c.query("bankRecon.lines", input);
|
|
953
|
+
},
|
|
954
|
+
ruleList() {
|
|
955
|
+
return c.query("bankRecon.ruleList");
|
|
956
|
+
},
|
|
957
|
+
ruleCreate(input) {
|
|
958
|
+
return c.mutate("bankRecon.ruleCreate", input);
|
|
959
|
+
},
|
|
960
|
+
ruleUpdate(input) {
|
|
961
|
+
return c.mutate("bankRecon.ruleUpdate", input);
|
|
962
|
+
},
|
|
963
|
+
ruleDelete(id) {
|
|
964
|
+
return c.mutate("bankRecon.ruleDelete", { id });
|
|
965
|
+
},
|
|
966
|
+
templateList() {
|
|
967
|
+
return c.query("bankRecon.templateList");
|
|
968
|
+
},
|
|
969
|
+
confirmMatch(input) {
|
|
970
|
+
return c.mutate("bankRecon.confirmMatch", input);
|
|
971
|
+
},
|
|
972
|
+
manualMatch(input) {
|
|
973
|
+
return c.mutate("bankRecon.manualMatch", input);
|
|
974
|
+
},
|
|
975
|
+
unmatch(input) {
|
|
976
|
+
return c.mutate("bankRecon.unmatch", input);
|
|
977
|
+
},
|
|
978
|
+
createExpense(input) {
|
|
979
|
+
return c.mutate("bankRecon.createExpense", input);
|
|
980
|
+
},
|
|
981
|
+
ignoreLine(input) {
|
|
982
|
+
return c.mutate("bankRecon.ignoreLine", input);
|
|
983
|
+
}
|
|
984
|
+
};
|
|
985
|
+
}
|
|
986
|
+
// ── E-Invoice ─────────────────────────────────────────────────
|
|
987
|
+
get eInvoice() {
|
|
988
|
+
const c = this;
|
|
989
|
+
return {
|
|
990
|
+
dashboard(input) {
|
|
991
|
+
return c.query("eInvoice.dashboard", input ?? {});
|
|
992
|
+
},
|
|
993
|
+
generate(input) {
|
|
994
|
+
return c.mutate("eInvoice.generate", input);
|
|
995
|
+
},
|
|
996
|
+
cancel(input) {
|
|
997
|
+
return c.mutate("eInvoice.cancel", input);
|
|
998
|
+
},
|
|
999
|
+
retryFailed(input) {
|
|
1000
|
+
return c.mutate("eInvoice.retryFailed", input);
|
|
1001
|
+
},
|
|
1002
|
+
bulkRetry(input) {
|
|
1003
|
+
return c.mutate("eInvoice.bulkRetry", input ?? {});
|
|
1004
|
+
},
|
|
1005
|
+
getStatus(invoiceId) {
|
|
1006
|
+
return c.query("eInvoice.getStatus", { invoiceId });
|
|
1007
|
+
}
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
// ── E-Way Bill ────────────────────────────────────────────────
|
|
1011
|
+
get ewayBill() {
|
|
1012
|
+
const c = this;
|
|
1013
|
+
return {
|
|
1014
|
+
dashboard(input) {
|
|
1015
|
+
return c.query("ewayBill.dashboard", input ?? {});
|
|
1016
|
+
},
|
|
1017
|
+
generate(input) {
|
|
1018
|
+
return c.mutate("ewayBill.generate", input);
|
|
1019
|
+
},
|
|
1020
|
+
cancel(input) {
|
|
1021
|
+
return c.mutate("ewayBill.cancel", input);
|
|
1022
|
+
},
|
|
1023
|
+
updateVehicle(input) {
|
|
1024
|
+
return c.mutate("ewayBill.updateVehicle", input);
|
|
1025
|
+
},
|
|
1026
|
+
extend(input) {
|
|
1027
|
+
return c.mutate("ewayBill.extend", input);
|
|
1028
|
+
},
|
|
1029
|
+
getByInvoice(invoiceId) {
|
|
1030
|
+
return c.query("ewayBill.getByInvoice", { invoiceId });
|
|
1031
|
+
},
|
|
1032
|
+
expiringList(input) {
|
|
1033
|
+
return c.query("ewayBill.expiringList", input ?? {});
|
|
1034
|
+
}
|
|
1035
|
+
};
|
|
1036
|
+
}
|
|
1037
|
+
// ── GSTR-2B ───────────────────────────────────────────────────
|
|
1038
|
+
get gstr2b() {
|
|
1039
|
+
const c = this;
|
|
1040
|
+
return {
|
|
1041
|
+
uploads(input) {
|
|
1042
|
+
return c.query("gstr2b.uploads", input ?? {});
|
|
1043
|
+
},
|
|
1044
|
+
records(input) {
|
|
1045
|
+
return c.query("gstr2b.records", input);
|
|
1046
|
+
},
|
|
1047
|
+
summary(input) {
|
|
1048
|
+
return c.query("gstr2b.summary", input);
|
|
1049
|
+
},
|
|
1050
|
+
missingInBooks(input) {
|
|
1051
|
+
return c.query("gstr2b.missingInBooks", input);
|
|
1052
|
+
},
|
|
1053
|
+
missingIn2B(input) {
|
|
1054
|
+
return c.query("gstr2b.missingIn2B", input);
|
|
1055
|
+
}
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
// ── Account ───────────────────────────────────────────────────
|
|
1059
|
+
get account() {
|
|
1060
|
+
const c = this;
|
|
1061
|
+
return {
|
|
1062
|
+
list(input) {
|
|
1063
|
+
return c.query("account.list", input ?? {});
|
|
1064
|
+
},
|
|
1065
|
+
create(input) {
|
|
1066
|
+
return c.mutate("account.create", input);
|
|
1067
|
+
},
|
|
1068
|
+
update(input) {
|
|
1069
|
+
return c.mutate("account.update", input);
|
|
1070
|
+
},
|
|
1071
|
+
delete(id) {
|
|
1072
|
+
return c.mutate("account.delete", { id });
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
842
1076
|
};
|
|
843
1077
|
|
|
844
1078
|
export {
|