@unified-api/typescript-sdk 2.73.5 → 2.73.7
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/README.md +60 -0
- package/bin/mcp-server.js +9519 -3972
- package/bin/mcp-server.js.map +121 -20
- package/docs/sdks/accounting/README.md +2759 -387
- package/docs/sdks/balancesheet/README.md +163 -0
- package/docs/sdks/bill/README.md +483 -0
- package/docs/sdks/creditmemo/README.md +483 -0
- package/docs/sdks/profitloss/README.md +163 -0
- package/docs/sdks/purchaseorder/README.md +483 -0
- package/docs/sdks/salesorder/README.md +483 -0
- package/docs/sdks/trialbalance/README.md +163 -0
- package/examples/README.md +26 -0
- package/examples/accountingCreateAccountingAccount.example.ts +29 -0
- package/examples/package-lock.json +626 -0
- package/examples/package.json +18 -0
- package/funcs/accountingCreateAccountingBill.d.ts +15 -0
- package/funcs/accountingCreateAccountingBill.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingBill.js +112 -0
- package/funcs/accountingCreateAccountingBill.js.map +1 -0
- package/funcs/accountingCreateAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingCreateAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingCreditmemo.js +114 -0
- package/funcs/accountingCreateAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingCreateAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingCreateAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingPurchaseorder.js +114 -0
- package/funcs/accountingCreateAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingCreateAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingCreateAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingSalesorder.js +114 -0
- package/funcs/accountingCreateAccountingSalesorder.js.map +1 -0
- package/funcs/accountingGetAccountingBalancesheet.d.ts +15 -0
- package/funcs/accountingGetAccountingBalancesheet.d.ts.map +1 -0
- package/funcs/accountingGetAccountingBalancesheet.js +115 -0
- package/funcs/accountingGetAccountingBalancesheet.js.map +1 -0
- package/funcs/accountingGetAccountingBill.d.ts +15 -0
- package/funcs/accountingGetAccountingBill.d.ts.map +1 -0
- package/funcs/accountingGetAccountingBill.js +115 -0
- package/funcs/accountingGetAccountingBill.js.map +1 -0
- package/funcs/accountingGetAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingGetAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingGetAccountingCreditmemo.js +115 -0
- package/funcs/accountingGetAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingGetAccountingProfitloss.d.ts +15 -0
- package/funcs/accountingGetAccountingProfitloss.d.ts.map +1 -0
- package/funcs/accountingGetAccountingProfitloss.js +115 -0
- package/funcs/accountingGetAccountingProfitloss.js.map +1 -0
- package/funcs/accountingGetAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingGetAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingGetAccountingPurchaseorder.js +115 -0
- package/funcs/accountingGetAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingGetAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingGetAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingGetAccountingSalesorder.js +115 -0
- package/funcs/accountingGetAccountingSalesorder.js.map +1 -0
- package/funcs/accountingGetAccountingTrialbalance.d.ts +15 -0
- package/funcs/accountingGetAccountingTrialbalance.d.ts.map +1 -0
- package/funcs/accountingGetAccountingTrialbalance.js +115 -0
- package/funcs/accountingGetAccountingTrialbalance.js.map +1 -0
- package/funcs/accountingListAccountingBalancesheets.d.ts +15 -0
- package/funcs/accountingListAccountingBalancesheets.d.ts.map +1 -0
- package/funcs/accountingListAccountingBalancesheets.js +120 -0
- package/funcs/accountingListAccountingBalancesheets.js.map +1 -0
- package/funcs/accountingListAccountingBills.d.ts +15 -0
- package/funcs/accountingListAccountingBills.d.ts.map +1 -0
- package/funcs/accountingListAccountingBills.js +120 -0
- package/funcs/accountingListAccountingBills.js.map +1 -0
- package/funcs/accountingListAccountingCreditmemoes.d.ts +15 -0
- package/funcs/accountingListAccountingCreditmemoes.d.ts.map +1 -0
- package/funcs/accountingListAccountingCreditmemoes.js +120 -0
- package/funcs/accountingListAccountingCreditmemoes.js.map +1 -0
- package/funcs/accountingListAccountingProfitlosses.d.ts +15 -0
- package/funcs/accountingListAccountingProfitlosses.d.ts.map +1 -0
- package/funcs/accountingListAccountingProfitlosses.js +120 -0
- package/funcs/accountingListAccountingProfitlosses.js.map +1 -0
- package/funcs/accountingListAccountingPurchaseorders.d.ts +15 -0
- package/funcs/accountingListAccountingPurchaseorders.d.ts.map +1 -0
- package/funcs/accountingListAccountingPurchaseorders.js +119 -0
- package/funcs/accountingListAccountingPurchaseorders.js.map +1 -0
- package/funcs/accountingListAccountingSalesorders.d.ts +15 -0
- package/funcs/accountingListAccountingSalesorders.d.ts.map +1 -0
- package/funcs/accountingListAccountingSalesorders.js +119 -0
- package/funcs/accountingListAccountingSalesorders.js.map +1 -0
- package/funcs/accountingListAccountingTrialbalances.d.ts +15 -0
- package/funcs/accountingListAccountingTrialbalances.d.ts.map +1 -0
- package/funcs/accountingListAccountingTrialbalances.js +120 -0
- package/funcs/accountingListAccountingTrialbalances.js.map +1 -0
- package/funcs/accountingPatchAccountingBill.d.ts +15 -0
- package/funcs/accountingPatchAccountingBill.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingBill.js +116 -0
- package/funcs/accountingPatchAccountingBill.js.map +1 -0
- package/funcs/accountingPatchAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingPatchAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingCreditmemo.js +118 -0
- package/funcs/accountingPatchAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingPatchAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingPatchAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingPurchaseorder.js +118 -0
- package/funcs/accountingPatchAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingPatchAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingPatchAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingSalesorder.js +118 -0
- package/funcs/accountingPatchAccountingSalesorder.js.map +1 -0
- package/funcs/accountingRemoveAccountingBill.d.ts +14 -0
- package/funcs/accountingRemoveAccountingBill.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingBill.js +112 -0
- package/funcs/accountingRemoveAccountingBill.js.map +1 -0
- package/funcs/accountingRemoveAccountingCreditmemo.d.ts +14 -0
- package/funcs/accountingRemoveAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingCreditmemo.js +112 -0
- package/funcs/accountingRemoveAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.d.ts +14 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.js +112 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingRemoveAccountingSalesorder.d.ts +14 -0
- package/funcs/accountingRemoveAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingSalesorder.js +112 -0
- package/funcs/accountingRemoveAccountingSalesorder.js.map +1 -0
- package/funcs/accountingUpdateAccountingBill.d.ts +15 -0
- package/funcs/accountingUpdateAccountingBill.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingBill.js +116 -0
- package/funcs/accountingUpdateAccountingBill.js.map +1 -0
- package/funcs/accountingUpdateAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingUpdateAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingCreditmemo.js +118 -0
- package/funcs/accountingUpdateAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.js +118 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingUpdateAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingUpdateAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingSalesorder.js +118 -0
- package/funcs/accountingUpdateAccountingSalesorder.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +61 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/accountingCreateAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingBill.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.js +52 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBill.js +52 -0
- package/mcp-server/tools/accountingGetAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.js +52 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.js +52 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.js +52 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingBills.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingBills.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingBills.js +52 -0
- package/mcp-server/tools/accountingListAccountingBills.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.js +52 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.js +52 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.js +52 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.js +52 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.js +52 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingBill.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.js.map +1 -0
- package/package.json +2 -2
- package/sdk/accounting.d.ts +120 -0
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +210 -0
- package/sdk/accounting.js.map +1 -1
- package/sdk/balancesheet.d.ts +14 -0
- package/sdk/balancesheet.d.ts.map +1 -0
- package/sdk/balancesheet.js +26 -0
- package/sdk/balancesheet.js.map +1 -0
- package/sdk/bill.d.ts +30 -0
- package/sdk/bill.d.ts.map +1 -0
- package/sdk/bill.js +54 -0
- package/sdk/bill.js.map +1 -0
- package/sdk/creditmemo.d.ts +30 -0
- package/sdk/creditmemo.d.ts.map +1 -0
- package/sdk/creditmemo.js +54 -0
- package/sdk/creditmemo.js.map +1 -0
- package/sdk/models/operations/createaccountingbill.d.ts +45 -0
- package/sdk/models/operations/createaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingbill.js +77 -0
- package/sdk/models/operations/createaccountingbill.js.map +1 -0
- package/sdk/models/operations/createaccountingcreditmemo.d.ts +45 -0
- package/sdk/models/operations/createaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingcreditmemo.js +77 -0
- package/sdk/models/operations/createaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/createaccountingpurchaseorder.d.ts +45 -0
- package/sdk/models/operations/createaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingpurchaseorder.js +77 -0
- package/sdk/models/operations/createaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/createaccountingsalesorder.d.ts +45 -0
- package/sdk/models/operations/createaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingsalesorder.js +77 -0
- package/sdk/models/operations/createaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/getaccountingbalancesheet.d.ts +47 -0
- package/sdk/models/operations/getaccountingbalancesheet.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingbalancesheet.js +74 -0
- package/sdk/models/operations/getaccountingbalancesheet.js.map +1 -0
- package/sdk/models/operations/getaccountingbill.d.ts +47 -0
- package/sdk/models/operations/getaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingbill.js +74 -0
- package/sdk/models/operations/getaccountingbill.js.map +1 -0
- package/sdk/models/operations/getaccountingcreditmemo.d.ts +47 -0
- package/sdk/models/operations/getaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingcreditmemo.js +74 -0
- package/sdk/models/operations/getaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/getaccountingprofitloss.d.ts +47 -0
- package/sdk/models/operations/getaccountingprofitloss.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingprofitloss.js +74 -0
- package/sdk/models/operations/getaccountingprofitloss.js.map +1 -0
- package/sdk/models/operations/getaccountingpurchaseorder.d.ts +47 -0
- package/sdk/models/operations/getaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingpurchaseorder.js +74 -0
- package/sdk/models/operations/getaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/getaccountingsalesorder.d.ts +47 -0
- package/sdk/models/operations/getaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingsalesorder.js +74 -0
- package/sdk/models/operations/getaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/getaccountingtrialbalance.d.ts +47 -0
- package/sdk/models/operations/getaccountingtrialbalance.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingtrialbalance.js +74 -0
- package/sdk/models/operations/getaccountingtrialbalance.js.map +1 -0
- package/sdk/models/operations/index.d.ts +30 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +30 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listaccountingbalancesheets.d.ts +70 -0
- package/sdk/models/operations/listaccountingbalancesheets.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingbalancesheets.js +94 -0
- package/sdk/models/operations/listaccountingbalancesheets.js.map +1 -0
- package/sdk/models/operations/listaccountingbills.d.ts +70 -0
- package/sdk/models/operations/listaccountingbills.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingbills.js +94 -0
- package/sdk/models/operations/listaccountingbills.js.map +1 -0
- package/sdk/models/operations/listaccountingcreditmemoes.d.ts +70 -0
- package/sdk/models/operations/listaccountingcreditmemoes.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingcreditmemoes.js +94 -0
- package/sdk/models/operations/listaccountingcreditmemoes.js.map +1 -0
- package/sdk/models/operations/listaccountingprofitlosses.d.ts +70 -0
- package/sdk/models/operations/listaccountingprofitlosses.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingprofitlosses.js +94 -0
- package/sdk/models/operations/listaccountingprofitlosses.js.map +1 -0
- package/sdk/models/operations/listaccountingpurchaseorders.d.ts +65 -0
- package/sdk/models/operations/listaccountingpurchaseorders.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingpurchaseorders.js +90 -0
- package/sdk/models/operations/listaccountingpurchaseorders.js.map +1 -0
- package/sdk/models/operations/listaccountingsalesorders.d.ts +65 -0
- package/sdk/models/operations/listaccountingsalesorders.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingsalesorders.js +90 -0
- package/sdk/models/operations/listaccountingsalesorders.js.map +1 -0
- package/sdk/models/operations/listaccountingtrialbalances.d.ts +70 -0
- package/sdk/models/operations/listaccountingtrialbalances.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingtrialbalances.js +94 -0
- package/sdk/models/operations/listaccountingtrialbalances.js.map +1 -0
- package/sdk/models/operations/patchaccountingbill.d.ts +50 -0
- package/sdk/models/operations/patchaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingbill.js +79 -0
- package/sdk/models/operations/patchaccountingbill.js.map +1 -0
- package/sdk/models/operations/patchaccountingcreditmemo.d.ts +50 -0
- package/sdk/models/operations/patchaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingcreditmemo.js +79 -0
- package/sdk/models/operations/patchaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.d.ts +50 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.js +79 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/patchaccountingsalesorder.d.ts +50 -0
- package/sdk/models/operations/patchaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingsalesorder.js +79 -0
- package/sdk/models/operations/patchaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/removeaccountingbill.d.ts +66 -0
- package/sdk/models/operations/removeaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingbill.js +105 -0
- package/sdk/models/operations/removeaccountingbill.js.map +1 -0
- package/sdk/models/operations/removeaccountingcreditmemo.d.ts +66 -0
- package/sdk/models/operations/removeaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingcreditmemo.js +105 -0
- package/sdk/models/operations/removeaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.d.ts +66 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.js +105 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/removeaccountingsalesorder.d.ts +66 -0
- package/sdk/models/operations/removeaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingsalesorder.js +105 -0
- package/sdk/models/operations/removeaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/updateaccountingbill.d.ts +50 -0
- package/sdk/models/operations/updateaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingbill.js +79 -0
- package/sdk/models/operations/updateaccountingbill.js.map +1 -0
- package/sdk/models/operations/updateaccountingcreditmemo.d.ts +50 -0
- package/sdk/models/operations/updateaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingcreditmemo.js +79 -0
- package/sdk/models/operations/updateaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.d.ts +50 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.js +79 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/updateaccountingsalesorder.d.ts +50 -0
- package/sdk/models/operations/updateaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingsalesorder.js +79 -0
- package/sdk/models/operations/updateaccountingsalesorder.js.map +1 -0
- package/sdk/models/shared/accountingbalancesheet.d.ts +56 -0
- package/sdk/models/shared/accountingbalancesheet.d.ts.map +1 -0
- package/sdk/models/shared/accountingbalancesheet.js +103 -0
- package/sdk/models/shared/accountingbalancesheet.js.map +1 -0
- package/sdk/models/shared/accountingbalancesheetitem.d.ts +16 -16
- package/sdk/models/shared/accountingbalancesheetitem.js +18 -18
- package/sdk/models/shared/accountingbill.d.ts +129 -0
- package/sdk/models/shared/accountingbill.d.ts.map +1 -0
- package/sdk/models/shared/accountingbill.js +216 -0
- package/sdk/models/shared/accountingbill.js.map +1 -0
- package/sdk/models/shared/accountingcreditmemo.d.ts +129 -0
- package/sdk/models/shared/accountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/shared/accountingcreditmemo.js +216 -0
- package/sdk/models/shared/accountingcreditmemo.js.map +1 -0
- package/sdk/models/shared/accountinginvoice.d.ts +10 -10
- package/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/sdk/models/shared/accountinginvoice.js +15 -15
- package/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/sdk/models/shared/accountingprofitloss.d.ts +82 -0
- package/sdk/models/shared/accountingprofitloss.d.ts.map +1 -0
- package/sdk/models/shared/accountingprofitloss.js +145 -0
- package/sdk/models/shared/accountingprofitloss.js.map +1 -0
- package/sdk/models/shared/accountingprofitlossaccount.d.ts +35 -0
- package/sdk/models/shared/accountingprofitlossaccount.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlossaccount.js → accountingprofitlossaccount.js} +17 -17
- package/sdk/models/shared/accountingprofitlossaccount.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosscategory.d.ts +37 -0
- package/sdk/models/shared/accountingprofitlosscategory.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosscategory.js → accountingprofitlosscategory.js} +20 -22
- package/sdk/models/shared/accountingprofitlosscategory.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosssection.d.ts +36 -0
- package/sdk/models/shared/accountingprofitlosssection.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosssection.js → accountingprofitlosssection.js} +20 -20
- package/sdk/models/shared/accountingprofitlosssection.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosssubcategory.d.ts +36 -0
- package/sdk/models/shared/accountingprofitlosssubcategory.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosssubcategory.js → accountingprofitlosssubcategory.js} +17 -17
- package/sdk/models/shared/accountingprofitlosssubcategory.js.map +1 -0
- package/sdk/models/shared/accountingpurchaseorder.d.ts +85 -0
- package/sdk/models/shared/accountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/shared/accountingpurchaseorder.js +148 -0
- package/sdk/models/shared/accountingpurchaseorder.js.map +1 -0
- package/sdk/models/shared/accountingsalesorder.d.ts +85 -0
- package/sdk/models/shared/accountingsalesorder.d.ts.map +1 -0
- package/sdk/models/shared/accountingsalesorder.js +148 -0
- package/sdk/models/shared/accountingsalesorder.js.map +1 -0
- package/sdk/models/shared/accountingtrialbalance.d.ts +54 -0
- package/sdk/models/shared/accountingtrialbalance.d.ts.map +1 -0
- package/sdk/models/shared/accountingtrialbalance.js +105 -0
- package/sdk/models/shared/accountingtrialbalance.js.map +1 -0
- package/sdk/models/shared/accountingtrialbalancesubitem.d.ts +13 -13
- package/sdk/models/shared/accountingtrialbalancesubitem.js +16 -16
- package/sdk/models/shared/index.d.ts +15 -4
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +15 -4
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts +13 -13
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js +16 -16
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts +27 -7
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js +34 -6
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +34 -14
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js +43 -14
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -1
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts +23 -3
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js +30 -2
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js.map +1 -1
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js.map +1 -0
- package/sdk/profitloss.d.ts +14 -0
- package/sdk/profitloss.d.ts.map +1 -0
- package/sdk/profitloss.js +26 -0
- package/sdk/profitloss.js.map +1 -0
- package/sdk/purchaseorder.d.ts +30 -0
- package/sdk/purchaseorder.d.ts.map +1 -0
- package/sdk/purchaseorder.js +54 -0
- package/sdk/purchaseorder.js.map +1 -0
- package/sdk/salesorder.d.ts +30 -0
- package/sdk/salesorder.d.ts.map +1 -0
- package/sdk/salesorder.js +54 -0
- package/sdk/salesorder.js.map +1 -0
- package/sdk/sdk.d.ts +21 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +28 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/trialbalance.d.ts +14 -0
- package/sdk/trialbalance.d.ts.map +1 -0
- package/sdk/trialbalance.js +26 -0
- package/sdk/trialbalance.js.map +1 -0
- package/src/funcs/accountingCreateAccountingBill.ts +171 -0
- package/src/funcs/accountingCreateAccountingCreditmemo.ts +173 -0
- package/src/funcs/accountingCreateAccountingPurchaseorder.ts +177 -0
- package/src/funcs/accountingCreateAccountingSalesorder.ts +173 -0
- package/src/funcs/accountingGetAccountingBalancesheet.ts +176 -0
- package/src/funcs/accountingGetAccountingBill.ts +173 -0
- package/src/funcs/accountingGetAccountingCreditmemo.ts +176 -0
- package/src/funcs/accountingGetAccountingProfitloss.ts +176 -0
- package/src/funcs/accountingGetAccountingPurchaseorder.ts +176 -0
- package/src/funcs/accountingGetAccountingSalesorder.ts +176 -0
- package/src/funcs/accountingGetAccountingTrialbalance.ts +176 -0
- package/src/funcs/accountingListAccountingBalancesheets.ts +181 -0
- package/src/funcs/accountingListAccountingBills.ts +179 -0
- package/src/funcs/accountingListAccountingCreditmemoes.ts +179 -0
- package/src/funcs/accountingListAccountingProfitlosses.ts +179 -0
- package/src/funcs/accountingListAccountingPurchaseorders.ts +182 -0
- package/src/funcs/accountingListAccountingSalesorders.ts +178 -0
- package/src/funcs/accountingListAccountingTrialbalances.ts +181 -0
- package/src/funcs/accountingPatchAccountingBill.ts +175 -0
- package/src/funcs/accountingPatchAccountingCreditmemo.ts +179 -0
- package/src/funcs/accountingPatchAccountingPurchaseorder.ts +181 -0
- package/src/funcs/accountingPatchAccountingSalesorder.ts +179 -0
- package/src/funcs/accountingRemoveAccountingBill.ts +179 -0
- package/src/funcs/accountingRemoveAccountingCreditmemo.ts +181 -0
- package/src/funcs/accountingRemoveAccountingPurchaseorder.ts +183 -0
- package/src/funcs/accountingRemoveAccountingSalesorder.ts +181 -0
- package/src/funcs/accountingUpdateAccountingBill.ts +175 -0
- package/src/funcs/accountingUpdateAccountingCreditmemo.ts +179 -0
- package/src/funcs/accountingUpdateAccountingPurchaseorder.ts +181 -0
- package/src/funcs/accountingUpdateAccountingSalesorder.ts +179 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +61 -1
- package/src/mcp-server/tools/accountingCreateAccountingBill.ts +36 -0
- package/src/mcp-server/tools/accountingCreateAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingCreateAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingCreateAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingBalancesheet.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingBill.ts +35 -0
- package/src/mcp-server/tools/accountingGetAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingProfitloss.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingTrialbalance.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingBalancesheets.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingBills.ts +35 -0
- package/src/mcp-server/tools/accountingListAccountingCreditmemoes.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingProfitlosses.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingPurchaseorders.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingSalesorders.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingTrialbalances.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingBill.ts +35 -0
- package/src/mcp-server/tools/accountingPatchAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingRemoveAccountingBill.ts +34 -0
- package/src/mcp-server/tools/accountingRemoveAccountingCreditmemo.ts +35 -0
- package/src/mcp-server/tools/accountingRemoveAccountingPurchaseorder.ts +35 -0
- package/src/mcp-server/tools/accountingRemoveAccountingSalesorder.ts +35 -0
- package/src/mcp-server/tools/accountingUpdateAccountingBill.ts +36 -0
- package/src/mcp-server/tools/accountingUpdateAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingUpdateAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingUpdateAccountingSalesorder.ts +37 -0
- package/src/sdk/accounting.ts +450 -0
- package/src/sdk/balancesheet.ts +40 -0
- package/src/sdk/bill.ts +100 -0
- package/src/sdk/creditmemo.ts +100 -0
- package/src/sdk/models/operations/createaccountingbill.ts +101 -0
- package/src/sdk/models/operations/createaccountingcreditmemo.ts +102 -0
- package/src/sdk/models/operations/createaccountingpurchaseorder.ts +104 -0
- package/src/sdk/models/operations/createaccountingsalesorder.ts +102 -0
- package/src/sdk/models/operations/getaccountingbalancesheet.ts +101 -0
- package/src/sdk/models/operations/getaccountingbill.ts +99 -0
- package/src/sdk/models/operations/getaccountingcreditmemo.ts +101 -0
- package/src/sdk/models/operations/getaccountingprofitloss.ts +101 -0
- package/src/sdk/models/operations/getaccountingpurchaseorder.ts +102 -0
- package/src/sdk/models/operations/getaccountingsalesorder.ts +101 -0
- package/src/sdk/models/operations/getaccountingtrialbalance.ts +101 -0
- package/src/sdk/models/operations/index.ts +30 -0
- package/src/sdk/models/operations/listaccountingbalancesheets.ts +146 -0
- package/src/sdk/models/operations/listaccountingbills.ts +142 -0
- package/src/sdk/models/operations/listaccountingcreditmemoes.ts +145 -0
- package/src/sdk/models/operations/listaccountingprofitlosses.ts +145 -0
- package/src/sdk/models/operations/listaccountingpurchaseorders.ts +138 -0
- package/src/sdk/models/operations/listaccountingsalesorders.ts +135 -0
- package/src/sdk/models/operations/listaccountingtrialbalances.ts +146 -0
- package/src/sdk/models/operations/patchaccountingbill.ts +106 -0
- package/src/sdk/models/operations/patchaccountingcreditmemo.ts +108 -0
- package/src/sdk/models/operations/patchaccountingpurchaseorder.ts +111 -0
- package/src/sdk/models/operations/patchaccountingsalesorder.ts +108 -0
- package/src/sdk/models/operations/removeaccountingbill.ts +155 -0
- package/src/sdk/models/operations/removeaccountingcreditmemo.ts +158 -0
- package/src/sdk/models/operations/removeaccountingpurchaseorder.ts +161 -0
- package/src/sdk/models/operations/removeaccountingsalesorder.ts +158 -0
- package/src/sdk/models/operations/updateaccountingbill.ts +108 -0
- package/src/sdk/models/operations/updateaccountingcreditmemo.ts +109 -0
- package/src/sdk/models/operations/updateaccountingpurchaseorder.ts +111 -0
- package/src/sdk/models/operations/updateaccountingsalesorder.ts +109 -0
- package/src/sdk/models/shared/accountingbalancesheet.ts +137 -0
- package/src/sdk/models/shared/accountingbalancesheetitem.ts +29 -29
- package/src/sdk/models/shared/accountingbill.ts +309 -0
- package/src/sdk/models/shared/accountingcreditmemo.ts +325 -0
- package/src/sdk/models/shared/accountinginvoice.ts +25 -17
- package/src/sdk/models/shared/accountingprofitloss.ts +213 -0
- package/src/sdk/models/shared/{accountingprofitandlossaccount.ts → accountingprofitlossaccount.ts} +22 -22
- package/src/sdk/models/shared/accountingprofitlosscategory.ts +94 -0
- package/src/sdk/models/shared/accountingprofitlosssection.ts +99 -0
- package/src/sdk/models/shared/accountingprofitlosssubcategory.ts +88 -0
- package/src/sdk/models/shared/accountingpurchaseorder.ts +216 -0
- package/src/sdk/models/shared/accountingsalesorder.ts +216 -0
- package/src/sdk/models/shared/accountingtrialbalance.ts +137 -0
- package/src/sdk/models/shared/accountingtrialbalancesubitem.ts +22 -22
- package/src/sdk/models/shared/index.ts +15 -4
- package/src/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.ts +23 -23
- package/src/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.ts +120 -0
- package/src/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.ts +121 -0
- package/src/sdk/models/shared/propertyaccountingreportbalancesheet.ts +60 -16
- package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +79 -40
- package/src/sdk/models/shared/propertyaccountingreporttrialbalance.ts +52 -8
- package/src/sdk/models/shared/propertyaccountingsalesorderbillingaddress.ts +117 -0
- package/src/sdk/models/shared/propertyaccountingsalesordershippingaddress.ts +120 -0
- package/src/sdk/profitloss.ts +40 -0
- package/src/sdk/purchaseorder.ts +100 -0
- package/src/sdk/salesorder.ts +100 -0
- package/src/sdk/sdk.ts +42 -0
- package/src/sdk/trialbalance.ts +40 -0
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts +0 -35
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlossaccount.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts +0 -37
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosscategory.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssection.d.ts +0 -36
- package/sdk/models/shared/accountingprofitandlosssection.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssection.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +0 -36
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.js.map +0 -1
- package/src/sdk/models/shared/accountingprofitandlosscategory.ts +0 -96
- package/src/sdk/models/shared/accountingprofitandlosssection.ts +0 -99
- package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +0 -90
package/src/sdk/accounting.ts
CHANGED
|
@@ -3,49 +3,79 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { accountingCreateAccountingAccount } from "../funcs/accountingCreateAccountingAccount.js";
|
|
6
|
+
import { accountingCreateAccountingBill } from "../funcs/accountingCreateAccountingBill.js";
|
|
6
7
|
import { accountingCreateAccountingContact } from "../funcs/accountingCreateAccountingContact.js";
|
|
8
|
+
import { accountingCreateAccountingCreditmemo } from "../funcs/accountingCreateAccountingCreditmemo.js";
|
|
7
9
|
import { accountingCreateAccountingInvoice } from "../funcs/accountingCreateAccountingInvoice.js";
|
|
8
10
|
import { accountingCreateAccountingJournal } from "../funcs/accountingCreateAccountingJournal.js";
|
|
9
11
|
import { accountingCreateAccountingOrder } from "../funcs/accountingCreateAccountingOrder.js";
|
|
12
|
+
import { accountingCreateAccountingPurchaseorder } from "../funcs/accountingCreateAccountingPurchaseorder.js";
|
|
13
|
+
import { accountingCreateAccountingSalesorder } from "../funcs/accountingCreateAccountingSalesorder.js";
|
|
10
14
|
import { accountingCreateAccountingTaxrate } from "../funcs/accountingCreateAccountingTaxrate.js";
|
|
11
15
|
import { accountingCreateAccountingTransaction } from "../funcs/accountingCreateAccountingTransaction.js";
|
|
12
16
|
import { accountingGetAccountingAccount } from "../funcs/accountingGetAccountingAccount.js";
|
|
17
|
+
import { accountingGetAccountingBalancesheet } from "../funcs/accountingGetAccountingBalancesheet.js";
|
|
18
|
+
import { accountingGetAccountingBill } from "../funcs/accountingGetAccountingBill.js";
|
|
13
19
|
import { accountingGetAccountingContact } from "../funcs/accountingGetAccountingContact.js";
|
|
20
|
+
import { accountingGetAccountingCreditmemo } from "../funcs/accountingGetAccountingCreditmemo.js";
|
|
14
21
|
import { accountingGetAccountingInvoice } from "../funcs/accountingGetAccountingInvoice.js";
|
|
15
22
|
import { accountingGetAccountingJournal } from "../funcs/accountingGetAccountingJournal.js";
|
|
16
23
|
import { accountingGetAccountingOrder } from "../funcs/accountingGetAccountingOrder.js";
|
|
17
24
|
import { accountingGetAccountingOrganization } from "../funcs/accountingGetAccountingOrganization.js";
|
|
25
|
+
import { accountingGetAccountingProfitloss } from "../funcs/accountingGetAccountingProfitloss.js";
|
|
26
|
+
import { accountingGetAccountingPurchaseorder } from "../funcs/accountingGetAccountingPurchaseorder.js";
|
|
18
27
|
import { accountingGetAccountingReport } from "../funcs/accountingGetAccountingReport.js";
|
|
28
|
+
import { accountingGetAccountingSalesorder } from "../funcs/accountingGetAccountingSalesorder.js";
|
|
19
29
|
import { accountingGetAccountingTaxrate } from "../funcs/accountingGetAccountingTaxrate.js";
|
|
20
30
|
import { accountingGetAccountingTransaction } from "../funcs/accountingGetAccountingTransaction.js";
|
|
31
|
+
import { accountingGetAccountingTrialbalance } from "../funcs/accountingGetAccountingTrialbalance.js";
|
|
21
32
|
import { accountingListAccountingAccounts } from "../funcs/accountingListAccountingAccounts.js";
|
|
33
|
+
import { accountingListAccountingBalancesheets } from "../funcs/accountingListAccountingBalancesheets.js";
|
|
34
|
+
import { accountingListAccountingBills } from "../funcs/accountingListAccountingBills.js";
|
|
22
35
|
import { accountingListAccountingContacts } from "../funcs/accountingListAccountingContacts.js";
|
|
36
|
+
import { accountingListAccountingCreditmemoes } from "../funcs/accountingListAccountingCreditmemoes.js";
|
|
23
37
|
import { accountingListAccountingInvoices } from "../funcs/accountingListAccountingInvoices.js";
|
|
24
38
|
import { accountingListAccountingJournals } from "../funcs/accountingListAccountingJournals.js";
|
|
25
39
|
import { accountingListAccountingOrders } from "../funcs/accountingListAccountingOrders.js";
|
|
26
40
|
import { accountingListAccountingOrganizations } from "../funcs/accountingListAccountingOrganizations.js";
|
|
41
|
+
import { accountingListAccountingProfitlosses } from "../funcs/accountingListAccountingProfitlosses.js";
|
|
42
|
+
import { accountingListAccountingPurchaseorders } from "../funcs/accountingListAccountingPurchaseorders.js";
|
|
27
43
|
import { accountingListAccountingReports } from "../funcs/accountingListAccountingReports.js";
|
|
44
|
+
import { accountingListAccountingSalesorders } from "../funcs/accountingListAccountingSalesorders.js";
|
|
28
45
|
import { accountingListAccountingTaxrates } from "../funcs/accountingListAccountingTaxrates.js";
|
|
29
46
|
import { accountingListAccountingTransactions } from "../funcs/accountingListAccountingTransactions.js";
|
|
47
|
+
import { accountingListAccountingTrialbalances } from "../funcs/accountingListAccountingTrialbalances.js";
|
|
30
48
|
import { accountingPatchAccountingAccount } from "../funcs/accountingPatchAccountingAccount.js";
|
|
49
|
+
import { accountingPatchAccountingBill } from "../funcs/accountingPatchAccountingBill.js";
|
|
31
50
|
import { accountingPatchAccountingContact } from "../funcs/accountingPatchAccountingContact.js";
|
|
51
|
+
import { accountingPatchAccountingCreditmemo } from "../funcs/accountingPatchAccountingCreditmemo.js";
|
|
32
52
|
import { accountingPatchAccountingInvoice } from "../funcs/accountingPatchAccountingInvoice.js";
|
|
33
53
|
import { accountingPatchAccountingJournal } from "../funcs/accountingPatchAccountingJournal.js";
|
|
34
54
|
import { accountingPatchAccountingOrder } from "../funcs/accountingPatchAccountingOrder.js";
|
|
55
|
+
import { accountingPatchAccountingPurchaseorder } from "../funcs/accountingPatchAccountingPurchaseorder.js";
|
|
56
|
+
import { accountingPatchAccountingSalesorder } from "../funcs/accountingPatchAccountingSalesorder.js";
|
|
35
57
|
import { accountingPatchAccountingTaxrate } from "../funcs/accountingPatchAccountingTaxrate.js";
|
|
36
58
|
import { accountingPatchAccountingTransaction } from "../funcs/accountingPatchAccountingTransaction.js";
|
|
37
59
|
import { accountingRemoveAccountingAccount } from "../funcs/accountingRemoveAccountingAccount.js";
|
|
60
|
+
import { accountingRemoveAccountingBill } from "../funcs/accountingRemoveAccountingBill.js";
|
|
38
61
|
import { accountingRemoveAccountingContact } from "../funcs/accountingRemoveAccountingContact.js";
|
|
62
|
+
import { accountingRemoveAccountingCreditmemo } from "../funcs/accountingRemoveAccountingCreditmemo.js";
|
|
39
63
|
import { accountingRemoveAccountingInvoice } from "../funcs/accountingRemoveAccountingInvoice.js";
|
|
40
64
|
import { accountingRemoveAccountingJournal } from "../funcs/accountingRemoveAccountingJournal.js";
|
|
41
65
|
import { accountingRemoveAccountingOrder } from "../funcs/accountingRemoveAccountingOrder.js";
|
|
66
|
+
import { accountingRemoveAccountingPurchaseorder } from "../funcs/accountingRemoveAccountingPurchaseorder.js";
|
|
67
|
+
import { accountingRemoveAccountingSalesorder } from "../funcs/accountingRemoveAccountingSalesorder.js";
|
|
42
68
|
import { accountingRemoveAccountingTaxrate } from "../funcs/accountingRemoveAccountingTaxrate.js";
|
|
43
69
|
import { accountingRemoveAccountingTransaction } from "../funcs/accountingRemoveAccountingTransaction.js";
|
|
44
70
|
import { accountingUpdateAccountingAccount } from "../funcs/accountingUpdateAccountingAccount.js";
|
|
71
|
+
import { accountingUpdateAccountingBill } from "../funcs/accountingUpdateAccountingBill.js";
|
|
45
72
|
import { accountingUpdateAccountingContact } from "../funcs/accountingUpdateAccountingContact.js";
|
|
73
|
+
import { accountingUpdateAccountingCreditmemo } from "../funcs/accountingUpdateAccountingCreditmemo.js";
|
|
46
74
|
import { accountingUpdateAccountingInvoice } from "../funcs/accountingUpdateAccountingInvoice.js";
|
|
47
75
|
import { accountingUpdateAccountingJournal } from "../funcs/accountingUpdateAccountingJournal.js";
|
|
48
76
|
import { accountingUpdateAccountingOrder } from "../funcs/accountingUpdateAccountingOrder.js";
|
|
77
|
+
import { accountingUpdateAccountingPurchaseorder } from "../funcs/accountingUpdateAccountingPurchaseorder.js";
|
|
78
|
+
import { accountingUpdateAccountingSalesorder } from "../funcs/accountingUpdateAccountingSalesorder.js";
|
|
49
79
|
import { accountingUpdateAccountingTaxrate } from "../funcs/accountingUpdateAccountingTaxrate.js";
|
|
50
80
|
import { accountingUpdateAccountingTransaction } from "../funcs/accountingUpdateAccountingTransaction.js";
|
|
51
81
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
@@ -68,6 +98,20 @@ export class Accounting extends ClientSDK {
|
|
|
68
98
|
));
|
|
69
99
|
}
|
|
70
100
|
|
|
101
|
+
/**
|
|
102
|
+
* Create a bill
|
|
103
|
+
*/
|
|
104
|
+
async createAccountingBill(
|
|
105
|
+
request: operations.CreateAccountingBillRequest,
|
|
106
|
+
options?: RequestOptions,
|
|
107
|
+
): Promise<shared.AccountingBill> {
|
|
108
|
+
return unwrapAsync(accountingCreateAccountingBill(
|
|
109
|
+
this,
|
|
110
|
+
request,
|
|
111
|
+
options,
|
|
112
|
+
));
|
|
113
|
+
}
|
|
114
|
+
|
|
71
115
|
/**
|
|
72
116
|
* Create a contact
|
|
73
117
|
*/
|
|
@@ -82,6 +126,20 @@ export class Accounting extends ClientSDK {
|
|
|
82
126
|
));
|
|
83
127
|
}
|
|
84
128
|
|
|
129
|
+
/**
|
|
130
|
+
* Create a creditmemo
|
|
131
|
+
*/
|
|
132
|
+
async createAccountingCreditmemo(
|
|
133
|
+
request: operations.CreateAccountingCreditmemoRequest,
|
|
134
|
+
options?: RequestOptions,
|
|
135
|
+
): Promise<shared.AccountingCreditmemo> {
|
|
136
|
+
return unwrapAsync(accountingCreateAccountingCreditmemo(
|
|
137
|
+
this,
|
|
138
|
+
request,
|
|
139
|
+
options,
|
|
140
|
+
));
|
|
141
|
+
}
|
|
142
|
+
|
|
85
143
|
/**
|
|
86
144
|
* Create an invoice
|
|
87
145
|
*/
|
|
@@ -124,6 +182,34 @@ export class Accounting extends ClientSDK {
|
|
|
124
182
|
));
|
|
125
183
|
}
|
|
126
184
|
|
|
185
|
+
/**
|
|
186
|
+
* Create a purchaseorder
|
|
187
|
+
*/
|
|
188
|
+
async createAccountingPurchaseorder(
|
|
189
|
+
request: operations.CreateAccountingPurchaseorderRequest,
|
|
190
|
+
options?: RequestOptions,
|
|
191
|
+
): Promise<shared.AccountingPurchaseorder> {
|
|
192
|
+
return unwrapAsync(accountingCreateAccountingPurchaseorder(
|
|
193
|
+
this,
|
|
194
|
+
request,
|
|
195
|
+
options,
|
|
196
|
+
));
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Create a salesorder
|
|
201
|
+
*/
|
|
202
|
+
async createAccountingSalesorder(
|
|
203
|
+
request: operations.CreateAccountingSalesorderRequest,
|
|
204
|
+
options?: RequestOptions,
|
|
205
|
+
): Promise<shared.AccountingSalesorder> {
|
|
206
|
+
return unwrapAsync(accountingCreateAccountingSalesorder(
|
|
207
|
+
this,
|
|
208
|
+
request,
|
|
209
|
+
options,
|
|
210
|
+
));
|
|
211
|
+
}
|
|
212
|
+
|
|
127
213
|
/**
|
|
128
214
|
* Create a taxrate
|
|
129
215
|
*/
|
|
@@ -166,6 +252,34 @@ export class Accounting extends ClientSDK {
|
|
|
166
252
|
));
|
|
167
253
|
}
|
|
168
254
|
|
|
255
|
+
/**
|
|
256
|
+
* Retrieve a balancesheet
|
|
257
|
+
*/
|
|
258
|
+
async getAccountingBalancesheet(
|
|
259
|
+
request: operations.GetAccountingBalancesheetRequest,
|
|
260
|
+
options?: RequestOptions,
|
|
261
|
+
): Promise<shared.AccountingBalancesheet> {
|
|
262
|
+
return unwrapAsync(accountingGetAccountingBalancesheet(
|
|
263
|
+
this,
|
|
264
|
+
request,
|
|
265
|
+
options,
|
|
266
|
+
));
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Retrieve a bill
|
|
271
|
+
*/
|
|
272
|
+
async getAccountingBill(
|
|
273
|
+
request: operations.GetAccountingBillRequest,
|
|
274
|
+
options?: RequestOptions,
|
|
275
|
+
): Promise<shared.AccountingBill> {
|
|
276
|
+
return unwrapAsync(accountingGetAccountingBill(
|
|
277
|
+
this,
|
|
278
|
+
request,
|
|
279
|
+
options,
|
|
280
|
+
));
|
|
281
|
+
}
|
|
282
|
+
|
|
169
283
|
/**
|
|
170
284
|
* Retrieve a contact
|
|
171
285
|
*/
|
|
@@ -180,6 +294,20 @@ export class Accounting extends ClientSDK {
|
|
|
180
294
|
));
|
|
181
295
|
}
|
|
182
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Retrieve a creditmemo
|
|
299
|
+
*/
|
|
300
|
+
async getAccountingCreditmemo(
|
|
301
|
+
request: operations.GetAccountingCreditmemoRequest,
|
|
302
|
+
options?: RequestOptions,
|
|
303
|
+
): Promise<shared.AccountingCreditmemo> {
|
|
304
|
+
return unwrapAsync(accountingGetAccountingCreditmemo(
|
|
305
|
+
this,
|
|
306
|
+
request,
|
|
307
|
+
options,
|
|
308
|
+
));
|
|
309
|
+
}
|
|
310
|
+
|
|
183
311
|
/**
|
|
184
312
|
* Retrieve an invoice
|
|
185
313
|
*/
|
|
@@ -236,6 +364,34 @@ export class Accounting extends ClientSDK {
|
|
|
236
364
|
));
|
|
237
365
|
}
|
|
238
366
|
|
|
367
|
+
/**
|
|
368
|
+
* Retrieve a profitloss
|
|
369
|
+
*/
|
|
370
|
+
async getAccountingProfitloss(
|
|
371
|
+
request: operations.GetAccountingProfitlossRequest,
|
|
372
|
+
options?: RequestOptions,
|
|
373
|
+
): Promise<shared.AccountingProfitloss> {
|
|
374
|
+
return unwrapAsync(accountingGetAccountingProfitloss(
|
|
375
|
+
this,
|
|
376
|
+
request,
|
|
377
|
+
options,
|
|
378
|
+
));
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Retrieve a purchaseorder
|
|
383
|
+
*/
|
|
384
|
+
async getAccountingPurchaseorder(
|
|
385
|
+
request: operations.GetAccountingPurchaseorderRequest,
|
|
386
|
+
options?: RequestOptions,
|
|
387
|
+
): Promise<shared.AccountingPurchaseorder> {
|
|
388
|
+
return unwrapAsync(accountingGetAccountingPurchaseorder(
|
|
389
|
+
this,
|
|
390
|
+
request,
|
|
391
|
+
options,
|
|
392
|
+
));
|
|
393
|
+
}
|
|
394
|
+
|
|
239
395
|
/**
|
|
240
396
|
* Retrieve a report
|
|
241
397
|
*/
|
|
@@ -250,6 +406,20 @@ export class Accounting extends ClientSDK {
|
|
|
250
406
|
));
|
|
251
407
|
}
|
|
252
408
|
|
|
409
|
+
/**
|
|
410
|
+
* Retrieve a salesorder
|
|
411
|
+
*/
|
|
412
|
+
async getAccountingSalesorder(
|
|
413
|
+
request: operations.GetAccountingSalesorderRequest,
|
|
414
|
+
options?: RequestOptions,
|
|
415
|
+
): Promise<shared.AccountingSalesorder> {
|
|
416
|
+
return unwrapAsync(accountingGetAccountingSalesorder(
|
|
417
|
+
this,
|
|
418
|
+
request,
|
|
419
|
+
options,
|
|
420
|
+
));
|
|
421
|
+
}
|
|
422
|
+
|
|
253
423
|
/**
|
|
254
424
|
* Retrieve a taxrate
|
|
255
425
|
*/
|
|
@@ -278,6 +448,20 @@ export class Accounting extends ClientSDK {
|
|
|
278
448
|
));
|
|
279
449
|
}
|
|
280
450
|
|
|
451
|
+
/**
|
|
452
|
+
* Retrieve a trialbalance
|
|
453
|
+
*/
|
|
454
|
+
async getAccountingTrialbalance(
|
|
455
|
+
request: operations.GetAccountingTrialbalanceRequest,
|
|
456
|
+
options?: RequestOptions,
|
|
457
|
+
): Promise<shared.AccountingTrialbalance> {
|
|
458
|
+
return unwrapAsync(accountingGetAccountingTrialbalance(
|
|
459
|
+
this,
|
|
460
|
+
request,
|
|
461
|
+
options,
|
|
462
|
+
));
|
|
463
|
+
}
|
|
464
|
+
|
|
281
465
|
/**
|
|
282
466
|
* List all accounts
|
|
283
467
|
*/
|
|
@@ -292,6 +476,34 @@ export class Accounting extends ClientSDK {
|
|
|
292
476
|
));
|
|
293
477
|
}
|
|
294
478
|
|
|
479
|
+
/**
|
|
480
|
+
* List all balancesheets
|
|
481
|
+
*/
|
|
482
|
+
async listAccountingBalancesheets(
|
|
483
|
+
request: operations.ListAccountingBalancesheetsRequest,
|
|
484
|
+
options?: RequestOptions,
|
|
485
|
+
): Promise<Array<shared.AccountingBalancesheet>> {
|
|
486
|
+
return unwrapAsync(accountingListAccountingBalancesheets(
|
|
487
|
+
this,
|
|
488
|
+
request,
|
|
489
|
+
options,
|
|
490
|
+
));
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* List all bills
|
|
495
|
+
*/
|
|
496
|
+
async listAccountingBills(
|
|
497
|
+
request: operations.ListAccountingBillsRequest,
|
|
498
|
+
options?: RequestOptions,
|
|
499
|
+
): Promise<Array<shared.AccountingBill>> {
|
|
500
|
+
return unwrapAsync(accountingListAccountingBills(
|
|
501
|
+
this,
|
|
502
|
+
request,
|
|
503
|
+
options,
|
|
504
|
+
));
|
|
505
|
+
}
|
|
506
|
+
|
|
295
507
|
/**
|
|
296
508
|
* List all contacts
|
|
297
509
|
*/
|
|
@@ -306,6 +518,20 @@ export class Accounting extends ClientSDK {
|
|
|
306
518
|
));
|
|
307
519
|
}
|
|
308
520
|
|
|
521
|
+
/**
|
|
522
|
+
* List all creditmemoes
|
|
523
|
+
*/
|
|
524
|
+
async listAccountingCreditmemoes(
|
|
525
|
+
request: operations.ListAccountingCreditmemoesRequest,
|
|
526
|
+
options?: RequestOptions,
|
|
527
|
+
): Promise<Array<shared.AccountingCreditmemo>> {
|
|
528
|
+
return unwrapAsync(accountingListAccountingCreditmemoes(
|
|
529
|
+
this,
|
|
530
|
+
request,
|
|
531
|
+
options,
|
|
532
|
+
));
|
|
533
|
+
}
|
|
534
|
+
|
|
309
535
|
/**
|
|
310
536
|
* List all invoices
|
|
311
537
|
*/
|
|
@@ -362,6 +588,34 @@ export class Accounting extends ClientSDK {
|
|
|
362
588
|
));
|
|
363
589
|
}
|
|
364
590
|
|
|
591
|
+
/**
|
|
592
|
+
* List all profitlosses
|
|
593
|
+
*/
|
|
594
|
+
async listAccountingProfitlosses(
|
|
595
|
+
request: operations.ListAccountingProfitlossesRequest,
|
|
596
|
+
options?: RequestOptions,
|
|
597
|
+
): Promise<Array<shared.AccountingProfitloss>> {
|
|
598
|
+
return unwrapAsync(accountingListAccountingProfitlosses(
|
|
599
|
+
this,
|
|
600
|
+
request,
|
|
601
|
+
options,
|
|
602
|
+
));
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* List all purchaseorders
|
|
607
|
+
*/
|
|
608
|
+
async listAccountingPurchaseorders(
|
|
609
|
+
request: operations.ListAccountingPurchaseordersRequest,
|
|
610
|
+
options?: RequestOptions,
|
|
611
|
+
): Promise<Array<shared.AccountingPurchaseorder>> {
|
|
612
|
+
return unwrapAsync(accountingListAccountingPurchaseorders(
|
|
613
|
+
this,
|
|
614
|
+
request,
|
|
615
|
+
options,
|
|
616
|
+
));
|
|
617
|
+
}
|
|
618
|
+
|
|
365
619
|
/**
|
|
366
620
|
* List all reports
|
|
367
621
|
*/
|
|
@@ -376,6 +630,20 @@ export class Accounting extends ClientSDK {
|
|
|
376
630
|
));
|
|
377
631
|
}
|
|
378
632
|
|
|
633
|
+
/**
|
|
634
|
+
* List all salesorders
|
|
635
|
+
*/
|
|
636
|
+
async listAccountingSalesorders(
|
|
637
|
+
request: operations.ListAccountingSalesordersRequest,
|
|
638
|
+
options?: RequestOptions,
|
|
639
|
+
): Promise<Array<shared.AccountingSalesorder>> {
|
|
640
|
+
return unwrapAsync(accountingListAccountingSalesorders(
|
|
641
|
+
this,
|
|
642
|
+
request,
|
|
643
|
+
options,
|
|
644
|
+
));
|
|
645
|
+
}
|
|
646
|
+
|
|
379
647
|
/**
|
|
380
648
|
* List all taxrates
|
|
381
649
|
*/
|
|
@@ -404,6 +672,20 @@ export class Accounting extends ClientSDK {
|
|
|
404
672
|
));
|
|
405
673
|
}
|
|
406
674
|
|
|
675
|
+
/**
|
|
676
|
+
* List all trialbalances
|
|
677
|
+
*/
|
|
678
|
+
async listAccountingTrialbalances(
|
|
679
|
+
request: operations.ListAccountingTrialbalancesRequest,
|
|
680
|
+
options?: RequestOptions,
|
|
681
|
+
): Promise<Array<shared.AccountingTrialbalance>> {
|
|
682
|
+
return unwrapAsync(accountingListAccountingTrialbalances(
|
|
683
|
+
this,
|
|
684
|
+
request,
|
|
685
|
+
options,
|
|
686
|
+
));
|
|
687
|
+
}
|
|
688
|
+
|
|
407
689
|
/**
|
|
408
690
|
* Update an account
|
|
409
691
|
*/
|
|
@@ -418,6 +700,20 @@ export class Accounting extends ClientSDK {
|
|
|
418
700
|
));
|
|
419
701
|
}
|
|
420
702
|
|
|
703
|
+
/**
|
|
704
|
+
* Update a bill
|
|
705
|
+
*/
|
|
706
|
+
async patchAccountingBill(
|
|
707
|
+
request: operations.PatchAccountingBillRequest,
|
|
708
|
+
options?: RequestOptions,
|
|
709
|
+
): Promise<shared.AccountingBill> {
|
|
710
|
+
return unwrapAsync(accountingPatchAccountingBill(
|
|
711
|
+
this,
|
|
712
|
+
request,
|
|
713
|
+
options,
|
|
714
|
+
));
|
|
715
|
+
}
|
|
716
|
+
|
|
421
717
|
/**
|
|
422
718
|
* Update a contact
|
|
423
719
|
*/
|
|
@@ -432,6 +728,20 @@ export class Accounting extends ClientSDK {
|
|
|
432
728
|
));
|
|
433
729
|
}
|
|
434
730
|
|
|
731
|
+
/**
|
|
732
|
+
* Update a creditmemo
|
|
733
|
+
*/
|
|
734
|
+
async patchAccountingCreditmemo(
|
|
735
|
+
request: operations.PatchAccountingCreditmemoRequest,
|
|
736
|
+
options?: RequestOptions,
|
|
737
|
+
): Promise<shared.AccountingCreditmemo> {
|
|
738
|
+
return unwrapAsync(accountingPatchAccountingCreditmemo(
|
|
739
|
+
this,
|
|
740
|
+
request,
|
|
741
|
+
options,
|
|
742
|
+
));
|
|
743
|
+
}
|
|
744
|
+
|
|
435
745
|
/**
|
|
436
746
|
* Update an invoice
|
|
437
747
|
*/
|
|
@@ -474,6 +784,34 @@ export class Accounting extends ClientSDK {
|
|
|
474
784
|
));
|
|
475
785
|
}
|
|
476
786
|
|
|
787
|
+
/**
|
|
788
|
+
* Update a purchaseorder
|
|
789
|
+
*/
|
|
790
|
+
async patchAccountingPurchaseorder(
|
|
791
|
+
request: operations.PatchAccountingPurchaseorderRequest,
|
|
792
|
+
options?: RequestOptions,
|
|
793
|
+
): Promise<shared.AccountingPurchaseorder> {
|
|
794
|
+
return unwrapAsync(accountingPatchAccountingPurchaseorder(
|
|
795
|
+
this,
|
|
796
|
+
request,
|
|
797
|
+
options,
|
|
798
|
+
));
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Update a salesorder
|
|
803
|
+
*/
|
|
804
|
+
async patchAccountingSalesorder(
|
|
805
|
+
request: operations.PatchAccountingSalesorderRequest,
|
|
806
|
+
options?: RequestOptions,
|
|
807
|
+
): Promise<shared.AccountingSalesorder> {
|
|
808
|
+
return unwrapAsync(accountingPatchAccountingSalesorder(
|
|
809
|
+
this,
|
|
810
|
+
request,
|
|
811
|
+
options,
|
|
812
|
+
));
|
|
813
|
+
}
|
|
814
|
+
|
|
477
815
|
/**
|
|
478
816
|
* Update a taxrate
|
|
479
817
|
*/
|
|
@@ -516,6 +854,20 @@ export class Accounting extends ClientSDK {
|
|
|
516
854
|
));
|
|
517
855
|
}
|
|
518
856
|
|
|
857
|
+
/**
|
|
858
|
+
* Remove a bill
|
|
859
|
+
*/
|
|
860
|
+
async removeAccountingBill(
|
|
861
|
+
request: operations.RemoveAccountingBillRequest,
|
|
862
|
+
options?: RequestOptions,
|
|
863
|
+
): Promise<operations.RemoveAccountingBillResponse | undefined> {
|
|
864
|
+
return unwrapAsync(accountingRemoveAccountingBill(
|
|
865
|
+
this,
|
|
866
|
+
request,
|
|
867
|
+
options,
|
|
868
|
+
));
|
|
869
|
+
}
|
|
870
|
+
|
|
519
871
|
/**
|
|
520
872
|
* Remove a contact
|
|
521
873
|
*/
|
|
@@ -530,6 +882,20 @@ export class Accounting extends ClientSDK {
|
|
|
530
882
|
));
|
|
531
883
|
}
|
|
532
884
|
|
|
885
|
+
/**
|
|
886
|
+
* Remove a creditmemo
|
|
887
|
+
*/
|
|
888
|
+
async removeAccountingCreditmemo(
|
|
889
|
+
request: operations.RemoveAccountingCreditmemoRequest,
|
|
890
|
+
options?: RequestOptions,
|
|
891
|
+
): Promise<operations.RemoveAccountingCreditmemoResponse | undefined> {
|
|
892
|
+
return unwrapAsync(accountingRemoveAccountingCreditmemo(
|
|
893
|
+
this,
|
|
894
|
+
request,
|
|
895
|
+
options,
|
|
896
|
+
));
|
|
897
|
+
}
|
|
898
|
+
|
|
533
899
|
/**
|
|
534
900
|
* Remove an invoice
|
|
535
901
|
*/
|
|
@@ -572,6 +938,34 @@ export class Accounting extends ClientSDK {
|
|
|
572
938
|
));
|
|
573
939
|
}
|
|
574
940
|
|
|
941
|
+
/**
|
|
942
|
+
* Remove a purchaseorder
|
|
943
|
+
*/
|
|
944
|
+
async removeAccountingPurchaseorder(
|
|
945
|
+
request: operations.RemoveAccountingPurchaseorderRequest,
|
|
946
|
+
options?: RequestOptions,
|
|
947
|
+
): Promise<operations.RemoveAccountingPurchaseorderResponse | undefined> {
|
|
948
|
+
return unwrapAsync(accountingRemoveAccountingPurchaseorder(
|
|
949
|
+
this,
|
|
950
|
+
request,
|
|
951
|
+
options,
|
|
952
|
+
));
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Remove a salesorder
|
|
957
|
+
*/
|
|
958
|
+
async removeAccountingSalesorder(
|
|
959
|
+
request: operations.RemoveAccountingSalesorderRequest,
|
|
960
|
+
options?: RequestOptions,
|
|
961
|
+
): Promise<operations.RemoveAccountingSalesorderResponse | undefined> {
|
|
962
|
+
return unwrapAsync(accountingRemoveAccountingSalesorder(
|
|
963
|
+
this,
|
|
964
|
+
request,
|
|
965
|
+
options,
|
|
966
|
+
));
|
|
967
|
+
}
|
|
968
|
+
|
|
575
969
|
/**
|
|
576
970
|
* Remove a taxrate
|
|
577
971
|
*/
|
|
@@ -614,6 +1008,20 @@ export class Accounting extends ClientSDK {
|
|
|
614
1008
|
));
|
|
615
1009
|
}
|
|
616
1010
|
|
|
1011
|
+
/**
|
|
1012
|
+
* Update a bill
|
|
1013
|
+
*/
|
|
1014
|
+
async updateAccountingBill(
|
|
1015
|
+
request: operations.UpdateAccountingBillRequest,
|
|
1016
|
+
options?: RequestOptions,
|
|
1017
|
+
): Promise<shared.AccountingBill> {
|
|
1018
|
+
return unwrapAsync(accountingUpdateAccountingBill(
|
|
1019
|
+
this,
|
|
1020
|
+
request,
|
|
1021
|
+
options,
|
|
1022
|
+
));
|
|
1023
|
+
}
|
|
1024
|
+
|
|
617
1025
|
/**
|
|
618
1026
|
* Update a contact
|
|
619
1027
|
*/
|
|
@@ -628,6 +1036,20 @@ export class Accounting extends ClientSDK {
|
|
|
628
1036
|
));
|
|
629
1037
|
}
|
|
630
1038
|
|
|
1039
|
+
/**
|
|
1040
|
+
* Update a creditmemo
|
|
1041
|
+
*/
|
|
1042
|
+
async updateAccountingCreditmemo(
|
|
1043
|
+
request: operations.UpdateAccountingCreditmemoRequest,
|
|
1044
|
+
options?: RequestOptions,
|
|
1045
|
+
): Promise<shared.AccountingCreditmemo> {
|
|
1046
|
+
return unwrapAsync(accountingUpdateAccountingCreditmemo(
|
|
1047
|
+
this,
|
|
1048
|
+
request,
|
|
1049
|
+
options,
|
|
1050
|
+
));
|
|
1051
|
+
}
|
|
1052
|
+
|
|
631
1053
|
/**
|
|
632
1054
|
* Update an invoice
|
|
633
1055
|
*/
|
|
@@ -670,6 +1092,34 @@ export class Accounting extends ClientSDK {
|
|
|
670
1092
|
));
|
|
671
1093
|
}
|
|
672
1094
|
|
|
1095
|
+
/**
|
|
1096
|
+
* Update a purchaseorder
|
|
1097
|
+
*/
|
|
1098
|
+
async updateAccountingPurchaseorder(
|
|
1099
|
+
request: operations.UpdateAccountingPurchaseorderRequest,
|
|
1100
|
+
options?: RequestOptions,
|
|
1101
|
+
): Promise<shared.AccountingPurchaseorder> {
|
|
1102
|
+
return unwrapAsync(accountingUpdateAccountingPurchaseorder(
|
|
1103
|
+
this,
|
|
1104
|
+
request,
|
|
1105
|
+
options,
|
|
1106
|
+
));
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Update a salesorder
|
|
1111
|
+
*/
|
|
1112
|
+
async updateAccountingSalesorder(
|
|
1113
|
+
request: operations.UpdateAccountingSalesorderRequest,
|
|
1114
|
+
options?: RequestOptions,
|
|
1115
|
+
): Promise<shared.AccountingSalesorder> {
|
|
1116
|
+
return unwrapAsync(accountingUpdateAccountingSalesorder(
|
|
1117
|
+
this,
|
|
1118
|
+
request,
|
|
1119
|
+
options,
|
|
1120
|
+
));
|
|
1121
|
+
}
|
|
1122
|
+
|
|
673
1123
|
/**
|
|
674
1124
|
* Update a taxrate
|
|
675
1125
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingGetAccountingBalancesheet } from "../funcs/accountingGetAccountingBalancesheet.js";
|
|
6
|
+
import { accountingListAccountingBalancesheets } from "../funcs/accountingListAccountingBalancesheets.js";
|
|
7
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as operations from "./models/operations/index.js";
|
|
9
|
+
import * as shared from "./models/shared/index.js";
|
|
10
|
+
import { unwrapAsync } from "./types/fp.js";
|
|
11
|
+
|
|
12
|
+
export class Balancesheet extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve a balancesheet
|
|
15
|
+
*/
|
|
16
|
+
async getAccountingBalancesheet(
|
|
17
|
+
request: operations.GetAccountingBalancesheetRequest,
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): Promise<shared.AccountingBalancesheet> {
|
|
20
|
+
return unwrapAsync(accountingGetAccountingBalancesheet(
|
|
21
|
+
this,
|
|
22
|
+
request,
|
|
23
|
+
options,
|
|
24
|
+
));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* List all balancesheets
|
|
29
|
+
*/
|
|
30
|
+
async listAccountingBalancesheets(
|
|
31
|
+
request: operations.ListAccountingBalancesheetsRequest,
|
|
32
|
+
options?: RequestOptions,
|
|
33
|
+
): Promise<Array<shared.AccountingBalancesheet>> {
|
|
34
|
+
return unwrapAsync(accountingListAccountingBalancesheets(
|
|
35
|
+
this,
|
|
36
|
+
request,
|
|
37
|
+
options,
|
|
38
|
+
));
|
|
39
|
+
}
|
|
40
|
+
}
|