@unified-api/typescript-sdk 2.73.4 → 2.73.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/README.md +60 -0
- package/bin/mcp-server.js +9571 -3920
- package/bin/mcp-server.js.map +121 -18
- 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/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 +3 -3
- 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/accountingprofitlossaccount.js +80 -0
- 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/accountingprofitlosssection.js +79 -0
- 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 -2
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +15 -2
- 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 +51 -7
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js +69 -7
- 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/accountingprofitlossaccount.ts +95 -0
- 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 -2
- 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 +126 -18
- 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/accountingprofitandlosscategory.d.ts +0 -34
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosscategory.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +0 -33
- 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 -93
- package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +0 -87
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { UnifiedToCore } from "../core.js";
|
|
6
|
+
import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
|
+
import { pathToFunc } from "../lib/url.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectionError,
|
|
15
|
+
InvalidRequestError,
|
|
16
|
+
RequestAbortedError,
|
|
17
|
+
RequestTimeoutError,
|
|
18
|
+
UnexpectedClientError,
|
|
19
|
+
} from "../sdk/models/errors/httpclienterrors.js";
|
|
20
|
+
import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
|
|
21
|
+
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
|
|
22
|
+
import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
|
|
23
|
+
import * as operations from "../sdk/models/operations/index.js";
|
|
24
|
+
import * as shared from "../sdk/models/shared/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../sdk/types/async.js";
|
|
26
|
+
import { Result } from "../sdk/types/fp.js";
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Update a salesorder
|
|
30
|
+
*/
|
|
31
|
+
export function accountingUpdateAccountingSalesorder(
|
|
32
|
+
client: UnifiedToCore,
|
|
33
|
+
request: operations.UpdateAccountingSalesorderRequest,
|
|
34
|
+
options?: RequestOptions,
|
|
35
|
+
): APIPromise<
|
|
36
|
+
Result<
|
|
37
|
+
shared.AccountingSalesorder,
|
|
38
|
+
| UnifiedToError
|
|
39
|
+
| ResponseValidationError
|
|
40
|
+
| ConnectionError
|
|
41
|
+
| RequestAbortedError
|
|
42
|
+
| RequestTimeoutError
|
|
43
|
+
| InvalidRequestError
|
|
44
|
+
| UnexpectedClientError
|
|
45
|
+
| SDKValidationError
|
|
46
|
+
>
|
|
47
|
+
> {
|
|
48
|
+
return new APIPromise($do(
|
|
49
|
+
client,
|
|
50
|
+
request,
|
|
51
|
+
options,
|
|
52
|
+
));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
async function $do(
|
|
56
|
+
client: UnifiedToCore,
|
|
57
|
+
request: operations.UpdateAccountingSalesorderRequest,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): Promise<
|
|
60
|
+
[
|
|
61
|
+
Result<
|
|
62
|
+
shared.AccountingSalesorder,
|
|
63
|
+
| UnifiedToError
|
|
64
|
+
| ResponseValidationError
|
|
65
|
+
| ConnectionError
|
|
66
|
+
| RequestAbortedError
|
|
67
|
+
| RequestTimeoutError
|
|
68
|
+
| InvalidRequestError
|
|
69
|
+
| UnexpectedClientError
|
|
70
|
+
| SDKValidationError
|
|
71
|
+
>,
|
|
72
|
+
APICall,
|
|
73
|
+
]
|
|
74
|
+
> {
|
|
75
|
+
const parsed = safeParse(
|
|
76
|
+
request,
|
|
77
|
+
(value) =>
|
|
78
|
+
operations.UpdateAccountingSalesorderRequest$outboundSchema.parse(value),
|
|
79
|
+
"Input validation failed",
|
|
80
|
+
);
|
|
81
|
+
if (!parsed.ok) {
|
|
82
|
+
return [parsed, { status: "invalid" }];
|
|
83
|
+
}
|
|
84
|
+
const payload = parsed.value;
|
|
85
|
+
const body = encodeJSON("body", payload.AccountingSalesorder, {
|
|
86
|
+
explode: true,
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
const pathParams = {
|
|
90
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
91
|
+
explode: false,
|
|
92
|
+
charEncoding: "percent",
|
|
93
|
+
}),
|
|
94
|
+
id: encodeSimple("id", payload.id, {
|
|
95
|
+
explode: false,
|
|
96
|
+
charEncoding: "percent",
|
|
97
|
+
}),
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
const path = pathToFunc("/accounting/{connection_id}/salesorder/{id}")(
|
|
101
|
+
pathParams,
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
const query = encodeFormQuery({
|
|
105
|
+
"fields": payload.fields,
|
|
106
|
+
"raw": payload.raw,
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
const headers = new Headers(compactMap({
|
|
110
|
+
"Content-Type": "application/json",
|
|
111
|
+
Accept: "application/json",
|
|
112
|
+
}));
|
|
113
|
+
|
|
114
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
115
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
116
|
+
|
|
117
|
+
const context = {
|
|
118
|
+
options: client._options,
|
|
119
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
120
|
+
operationID: "updateAccountingSalesorder",
|
|
121
|
+
oAuth2Scopes: [],
|
|
122
|
+
|
|
123
|
+
resolvedSecurity: requestSecurity,
|
|
124
|
+
|
|
125
|
+
securitySource: client._options.security,
|
|
126
|
+
retryConfig: options?.retries
|
|
127
|
+
|| client._options.retryConfig
|
|
128
|
+
|| { strategy: "none" },
|
|
129
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
const requestRes = client._createRequest(context, {
|
|
133
|
+
security: requestSecurity,
|
|
134
|
+
method: "PUT",
|
|
135
|
+
baseURL: options?.serverURL,
|
|
136
|
+
path: path,
|
|
137
|
+
headers: headers,
|
|
138
|
+
query: query,
|
|
139
|
+
body: body,
|
|
140
|
+
userAgent: client._options.userAgent,
|
|
141
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
142
|
+
}, options);
|
|
143
|
+
if (!requestRes.ok) {
|
|
144
|
+
return [requestRes, { status: "invalid" }];
|
|
145
|
+
}
|
|
146
|
+
const req = requestRes.value;
|
|
147
|
+
|
|
148
|
+
const doResult = await client._do(req, {
|
|
149
|
+
context,
|
|
150
|
+
errorCodes: ["4XX", "5XX"],
|
|
151
|
+
retryConfig: context.retryConfig,
|
|
152
|
+
retryCodes: context.retryCodes,
|
|
153
|
+
});
|
|
154
|
+
if (!doResult.ok) {
|
|
155
|
+
return [doResult, { status: "request-error", request: req }];
|
|
156
|
+
}
|
|
157
|
+
const response = doResult.value;
|
|
158
|
+
|
|
159
|
+
const [result] = await M.match<
|
|
160
|
+
shared.AccountingSalesorder,
|
|
161
|
+
| UnifiedToError
|
|
162
|
+
| ResponseValidationError
|
|
163
|
+
| ConnectionError
|
|
164
|
+
| RequestAbortedError
|
|
165
|
+
| RequestTimeoutError
|
|
166
|
+
| InvalidRequestError
|
|
167
|
+
| UnexpectedClientError
|
|
168
|
+
| SDKValidationError
|
|
169
|
+
>(
|
|
170
|
+
M.json(200, shared.AccountingSalesorder$inboundSchema),
|
|
171
|
+
M.fail("4XX"),
|
|
172
|
+
M.fail("5XX"),
|
|
173
|
+
)(response, req);
|
|
174
|
+
if (!result.ok) {
|
|
175
|
+
return [result, { status: "complete", request: req, response }];
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
179
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "1.0",
|
|
76
|
-
sdkVersion: "2.73.
|
|
77
|
-
genVersion: "2.648.
|
|
76
|
+
sdkVersion: "2.73.6",
|
|
77
|
+
genVersion: "2.648.7",
|
|
78
78
|
userAgent:
|
|
79
|
-
"speakeasy-sdk/typescript 2.73.
|
|
79
|
+
"speakeasy-sdk/typescript 2.73.6 2.648.7 1.0 @unified-api/typescript-sdk",
|
|
80
80
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,49 +14,79 @@ import {
|
|
|
14
14
|
import { MCPScope } from "./scopes.js";
|
|
15
15
|
import { createRegisterTool } from "./tools.js";
|
|
16
16
|
import { tool$accountingCreateAccountingAccount } from "./tools/accountingCreateAccountingAccount.js";
|
|
17
|
+
import { tool$accountingCreateAccountingBill } from "./tools/accountingCreateAccountingBill.js";
|
|
17
18
|
import { tool$accountingCreateAccountingContact } from "./tools/accountingCreateAccountingContact.js";
|
|
19
|
+
import { tool$accountingCreateAccountingCreditmemo } from "./tools/accountingCreateAccountingCreditmemo.js";
|
|
18
20
|
import { tool$accountingCreateAccountingInvoice } from "./tools/accountingCreateAccountingInvoice.js";
|
|
19
21
|
import { tool$accountingCreateAccountingJournal } from "./tools/accountingCreateAccountingJournal.js";
|
|
20
22
|
import { tool$accountingCreateAccountingOrder } from "./tools/accountingCreateAccountingOrder.js";
|
|
23
|
+
import { tool$accountingCreateAccountingPurchaseorder } from "./tools/accountingCreateAccountingPurchaseorder.js";
|
|
24
|
+
import { tool$accountingCreateAccountingSalesorder } from "./tools/accountingCreateAccountingSalesorder.js";
|
|
21
25
|
import { tool$accountingCreateAccountingTaxrate } from "./tools/accountingCreateAccountingTaxrate.js";
|
|
22
26
|
import { tool$accountingCreateAccountingTransaction } from "./tools/accountingCreateAccountingTransaction.js";
|
|
23
27
|
import { tool$accountingGetAccountingAccount } from "./tools/accountingGetAccountingAccount.js";
|
|
28
|
+
import { tool$accountingGetAccountingBalancesheet } from "./tools/accountingGetAccountingBalancesheet.js";
|
|
29
|
+
import { tool$accountingGetAccountingBill } from "./tools/accountingGetAccountingBill.js";
|
|
24
30
|
import { tool$accountingGetAccountingContact } from "./tools/accountingGetAccountingContact.js";
|
|
31
|
+
import { tool$accountingGetAccountingCreditmemo } from "./tools/accountingGetAccountingCreditmemo.js";
|
|
25
32
|
import { tool$accountingGetAccountingInvoice } from "./tools/accountingGetAccountingInvoice.js";
|
|
26
33
|
import { tool$accountingGetAccountingJournal } from "./tools/accountingGetAccountingJournal.js";
|
|
27
34
|
import { tool$accountingGetAccountingOrder } from "./tools/accountingGetAccountingOrder.js";
|
|
28
35
|
import { tool$accountingGetAccountingOrganization } from "./tools/accountingGetAccountingOrganization.js";
|
|
36
|
+
import { tool$accountingGetAccountingProfitloss } from "./tools/accountingGetAccountingProfitloss.js";
|
|
37
|
+
import { tool$accountingGetAccountingPurchaseorder } from "./tools/accountingGetAccountingPurchaseorder.js";
|
|
29
38
|
import { tool$accountingGetAccountingReport } from "./tools/accountingGetAccountingReport.js";
|
|
39
|
+
import { tool$accountingGetAccountingSalesorder } from "./tools/accountingGetAccountingSalesorder.js";
|
|
30
40
|
import { tool$accountingGetAccountingTaxrate } from "./tools/accountingGetAccountingTaxrate.js";
|
|
31
41
|
import { tool$accountingGetAccountingTransaction } from "./tools/accountingGetAccountingTransaction.js";
|
|
42
|
+
import { tool$accountingGetAccountingTrialbalance } from "./tools/accountingGetAccountingTrialbalance.js";
|
|
32
43
|
import { tool$accountingListAccountingAccounts } from "./tools/accountingListAccountingAccounts.js";
|
|
44
|
+
import { tool$accountingListAccountingBalancesheets } from "./tools/accountingListAccountingBalancesheets.js";
|
|
45
|
+
import { tool$accountingListAccountingBills } from "./tools/accountingListAccountingBills.js";
|
|
33
46
|
import { tool$accountingListAccountingContacts } from "./tools/accountingListAccountingContacts.js";
|
|
47
|
+
import { tool$accountingListAccountingCreditmemoes } from "./tools/accountingListAccountingCreditmemoes.js";
|
|
34
48
|
import { tool$accountingListAccountingInvoices } from "./tools/accountingListAccountingInvoices.js";
|
|
35
49
|
import { tool$accountingListAccountingJournals } from "./tools/accountingListAccountingJournals.js";
|
|
36
50
|
import { tool$accountingListAccountingOrders } from "./tools/accountingListAccountingOrders.js";
|
|
37
51
|
import { tool$accountingListAccountingOrganizations } from "./tools/accountingListAccountingOrganizations.js";
|
|
52
|
+
import { tool$accountingListAccountingProfitlosses } from "./tools/accountingListAccountingProfitlosses.js";
|
|
53
|
+
import { tool$accountingListAccountingPurchaseorders } from "./tools/accountingListAccountingPurchaseorders.js";
|
|
38
54
|
import { tool$accountingListAccountingReports } from "./tools/accountingListAccountingReports.js";
|
|
55
|
+
import { tool$accountingListAccountingSalesorders } from "./tools/accountingListAccountingSalesorders.js";
|
|
39
56
|
import { tool$accountingListAccountingTaxrates } from "./tools/accountingListAccountingTaxrates.js";
|
|
40
57
|
import { tool$accountingListAccountingTransactions } from "./tools/accountingListAccountingTransactions.js";
|
|
58
|
+
import { tool$accountingListAccountingTrialbalances } from "./tools/accountingListAccountingTrialbalances.js";
|
|
41
59
|
import { tool$accountingPatchAccountingAccount } from "./tools/accountingPatchAccountingAccount.js";
|
|
60
|
+
import { tool$accountingPatchAccountingBill } from "./tools/accountingPatchAccountingBill.js";
|
|
42
61
|
import { tool$accountingPatchAccountingContact } from "./tools/accountingPatchAccountingContact.js";
|
|
62
|
+
import { tool$accountingPatchAccountingCreditmemo } from "./tools/accountingPatchAccountingCreditmemo.js";
|
|
43
63
|
import { tool$accountingPatchAccountingInvoice } from "./tools/accountingPatchAccountingInvoice.js";
|
|
44
64
|
import { tool$accountingPatchAccountingJournal } from "./tools/accountingPatchAccountingJournal.js";
|
|
45
65
|
import { tool$accountingPatchAccountingOrder } from "./tools/accountingPatchAccountingOrder.js";
|
|
66
|
+
import { tool$accountingPatchAccountingPurchaseorder } from "./tools/accountingPatchAccountingPurchaseorder.js";
|
|
67
|
+
import { tool$accountingPatchAccountingSalesorder } from "./tools/accountingPatchAccountingSalesorder.js";
|
|
46
68
|
import { tool$accountingPatchAccountingTaxrate } from "./tools/accountingPatchAccountingTaxrate.js";
|
|
47
69
|
import { tool$accountingPatchAccountingTransaction } from "./tools/accountingPatchAccountingTransaction.js";
|
|
48
70
|
import { tool$accountingRemoveAccountingAccount } from "./tools/accountingRemoveAccountingAccount.js";
|
|
71
|
+
import { tool$accountingRemoveAccountingBill } from "./tools/accountingRemoveAccountingBill.js";
|
|
49
72
|
import { tool$accountingRemoveAccountingContact } from "./tools/accountingRemoveAccountingContact.js";
|
|
73
|
+
import { tool$accountingRemoveAccountingCreditmemo } from "./tools/accountingRemoveAccountingCreditmemo.js";
|
|
50
74
|
import { tool$accountingRemoveAccountingInvoice } from "./tools/accountingRemoveAccountingInvoice.js";
|
|
51
75
|
import { tool$accountingRemoveAccountingJournal } from "./tools/accountingRemoveAccountingJournal.js";
|
|
52
76
|
import { tool$accountingRemoveAccountingOrder } from "./tools/accountingRemoveAccountingOrder.js";
|
|
77
|
+
import { tool$accountingRemoveAccountingPurchaseorder } from "./tools/accountingRemoveAccountingPurchaseorder.js";
|
|
78
|
+
import { tool$accountingRemoveAccountingSalesorder } from "./tools/accountingRemoveAccountingSalesorder.js";
|
|
53
79
|
import { tool$accountingRemoveAccountingTaxrate } from "./tools/accountingRemoveAccountingTaxrate.js";
|
|
54
80
|
import { tool$accountingRemoveAccountingTransaction } from "./tools/accountingRemoveAccountingTransaction.js";
|
|
55
81
|
import { tool$accountingUpdateAccountingAccount } from "./tools/accountingUpdateAccountingAccount.js";
|
|
82
|
+
import { tool$accountingUpdateAccountingBill } from "./tools/accountingUpdateAccountingBill.js";
|
|
56
83
|
import { tool$accountingUpdateAccountingContact } from "./tools/accountingUpdateAccountingContact.js";
|
|
84
|
+
import { tool$accountingUpdateAccountingCreditmemo } from "./tools/accountingUpdateAccountingCreditmemo.js";
|
|
57
85
|
import { tool$accountingUpdateAccountingInvoice } from "./tools/accountingUpdateAccountingInvoice.js";
|
|
58
86
|
import { tool$accountingUpdateAccountingJournal } from "./tools/accountingUpdateAccountingJournal.js";
|
|
59
87
|
import { tool$accountingUpdateAccountingOrder } from "./tools/accountingUpdateAccountingOrder.js";
|
|
88
|
+
import { tool$accountingUpdateAccountingPurchaseorder } from "./tools/accountingUpdateAccountingPurchaseorder.js";
|
|
89
|
+
import { tool$accountingUpdateAccountingSalesorder } from "./tools/accountingUpdateAccountingSalesorder.js";
|
|
60
90
|
import { tool$accountingUpdateAccountingTaxrate } from "./tools/accountingUpdateAccountingTaxrate.js";
|
|
61
91
|
import { tool$accountingUpdateAccountingTransaction } from "./tools/accountingUpdateAccountingTransaction.js";
|
|
62
92
|
import { tool$atsCreateAtsActivity } from "./tools/atsCreateAtsActivity.js";
|
|
@@ -472,7 +502,7 @@ export function createMCPServer(deps: {
|
|
|
472
502
|
}) {
|
|
473
503
|
const server = new McpServer({
|
|
474
504
|
name: "UnifiedTo",
|
|
475
|
-
version: "2.73.
|
|
505
|
+
version: "2.73.6",
|
|
476
506
|
});
|
|
477
507
|
|
|
478
508
|
const client = new UnifiedToCore({
|
|
@@ -503,49 +533,79 @@ export function createMCPServer(deps: {
|
|
|
503
533
|
void register; // suppress unused warnings
|
|
504
534
|
|
|
505
535
|
tool(tool$accountingCreateAccountingAccount);
|
|
536
|
+
tool(tool$accountingCreateAccountingBill);
|
|
506
537
|
tool(tool$accountingCreateAccountingContact);
|
|
538
|
+
tool(tool$accountingCreateAccountingCreditmemo);
|
|
507
539
|
tool(tool$accountingCreateAccountingInvoice);
|
|
508
540
|
tool(tool$accountingCreateAccountingJournal);
|
|
509
541
|
tool(tool$accountingCreateAccountingOrder);
|
|
542
|
+
tool(tool$accountingCreateAccountingPurchaseorder);
|
|
543
|
+
tool(tool$accountingCreateAccountingSalesorder);
|
|
510
544
|
tool(tool$accountingCreateAccountingTaxrate);
|
|
511
545
|
tool(tool$accountingCreateAccountingTransaction);
|
|
512
546
|
tool(tool$accountingGetAccountingAccount);
|
|
547
|
+
tool(tool$accountingGetAccountingBalancesheet);
|
|
548
|
+
tool(tool$accountingGetAccountingBill);
|
|
513
549
|
tool(tool$accountingGetAccountingContact);
|
|
550
|
+
tool(tool$accountingGetAccountingCreditmemo);
|
|
514
551
|
tool(tool$accountingGetAccountingInvoice);
|
|
515
552
|
tool(tool$accountingGetAccountingJournal);
|
|
516
553
|
tool(tool$accountingGetAccountingOrder);
|
|
517
554
|
tool(tool$accountingGetAccountingOrganization);
|
|
555
|
+
tool(tool$accountingGetAccountingProfitloss);
|
|
556
|
+
tool(tool$accountingGetAccountingPurchaseorder);
|
|
518
557
|
tool(tool$accountingGetAccountingReport);
|
|
558
|
+
tool(tool$accountingGetAccountingSalesorder);
|
|
519
559
|
tool(tool$accountingGetAccountingTaxrate);
|
|
520
560
|
tool(tool$accountingGetAccountingTransaction);
|
|
561
|
+
tool(tool$accountingGetAccountingTrialbalance);
|
|
521
562
|
tool(tool$accountingListAccountingAccounts);
|
|
563
|
+
tool(tool$accountingListAccountingBalancesheets);
|
|
564
|
+
tool(tool$accountingListAccountingBills);
|
|
522
565
|
tool(tool$accountingListAccountingContacts);
|
|
566
|
+
tool(tool$accountingListAccountingCreditmemoes);
|
|
523
567
|
tool(tool$accountingListAccountingInvoices);
|
|
524
568
|
tool(tool$accountingListAccountingJournals);
|
|
525
569
|
tool(tool$accountingListAccountingOrders);
|
|
526
570
|
tool(tool$accountingListAccountingOrganizations);
|
|
571
|
+
tool(tool$accountingListAccountingProfitlosses);
|
|
572
|
+
tool(tool$accountingListAccountingPurchaseorders);
|
|
527
573
|
tool(tool$accountingListAccountingReports);
|
|
574
|
+
tool(tool$accountingListAccountingSalesorders);
|
|
528
575
|
tool(tool$accountingListAccountingTaxrates);
|
|
529
576
|
tool(tool$accountingListAccountingTransactions);
|
|
577
|
+
tool(tool$accountingListAccountingTrialbalances);
|
|
530
578
|
tool(tool$accountingPatchAccountingAccount);
|
|
579
|
+
tool(tool$accountingPatchAccountingBill);
|
|
531
580
|
tool(tool$accountingPatchAccountingContact);
|
|
581
|
+
tool(tool$accountingPatchAccountingCreditmemo);
|
|
532
582
|
tool(tool$accountingPatchAccountingInvoice);
|
|
533
583
|
tool(tool$accountingPatchAccountingJournal);
|
|
534
584
|
tool(tool$accountingPatchAccountingOrder);
|
|
585
|
+
tool(tool$accountingPatchAccountingPurchaseorder);
|
|
586
|
+
tool(tool$accountingPatchAccountingSalesorder);
|
|
535
587
|
tool(tool$accountingPatchAccountingTaxrate);
|
|
536
588
|
tool(tool$accountingPatchAccountingTransaction);
|
|
537
589
|
tool(tool$accountingRemoveAccountingAccount);
|
|
590
|
+
tool(tool$accountingRemoveAccountingBill);
|
|
538
591
|
tool(tool$accountingRemoveAccountingContact);
|
|
592
|
+
tool(tool$accountingRemoveAccountingCreditmemo);
|
|
539
593
|
tool(tool$accountingRemoveAccountingInvoice);
|
|
540
594
|
tool(tool$accountingRemoveAccountingJournal);
|
|
541
595
|
tool(tool$accountingRemoveAccountingOrder);
|
|
596
|
+
tool(tool$accountingRemoveAccountingPurchaseorder);
|
|
597
|
+
tool(tool$accountingRemoveAccountingSalesorder);
|
|
542
598
|
tool(tool$accountingRemoveAccountingTaxrate);
|
|
543
599
|
tool(tool$accountingRemoveAccountingTransaction);
|
|
544
600
|
tool(tool$accountingUpdateAccountingAccount);
|
|
601
|
+
tool(tool$accountingUpdateAccountingBill);
|
|
545
602
|
tool(tool$accountingUpdateAccountingContact);
|
|
603
|
+
tool(tool$accountingUpdateAccountingCreditmemo);
|
|
546
604
|
tool(tool$accountingUpdateAccountingInvoice);
|
|
547
605
|
tool(tool$accountingUpdateAccountingJournal);
|
|
548
606
|
tool(tool$accountingUpdateAccountingOrder);
|
|
607
|
+
tool(tool$accountingUpdateAccountingPurchaseorder);
|
|
608
|
+
tool(tool$accountingUpdateAccountingSalesorder);
|
|
549
609
|
tool(tool$accountingUpdateAccountingTaxrate);
|
|
550
610
|
tool(tool$accountingUpdateAccountingTransaction);
|
|
551
611
|
tool(tool$contactCreateCrmContact);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingCreateAccountingBill } from "../../funcs/accountingCreateAccountingBill.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.CreateAccountingBillRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingCreateAccountingBill: ToolDefinition<typeof args> =
|
|
14
|
+
{
|
|
15
|
+
name: "accounting-create-accounting-bill",
|
|
16
|
+
description: `Create a bill`,
|
|
17
|
+
args,
|
|
18
|
+
tool: async (client, args, ctx) => {
|
|
19
|
+
const [result, apiCall] = await accountingCreateAccountingBill(
|
|
20
|
+
client,
|
|
21
|
+
args.request,
|
|
22
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
23
|
+
).$inspect();
|
|
24
|
+
|
|
25
|
+
if (!result.ok) {
|
|
26
|
+
return {
|
|
27
|
+
content: [{ type: "text", text: result.error.message }],
|
|
28
|
+
isError: true,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const value = result.value;
|
|
33
|
+
|
|
34
|
+
return formatResult(value, apiCall);
|
|
35
|
+
},
|
|
36
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingCreateAccountingCreditmemo } from "../../funcs/accountingCreateAccountingCreditmemo.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.CreateAccountingCreditmemoRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingCreateAccountingCreditmemo: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "accounting-create-accounting-creditmemo",
|
|
17
|
+
description: `Create a creditmemo`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountingCreateAccountingCreditmemo(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingCreateAccountingPurchaseorder } from "../../funcs/accountingCreateAccountingPurchaseorder.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.CreateAccountingPurchaseorderRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingCreateAccountingPurchaseorder: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "accounting-create-accounting-purchaseorder",
|
|
17
|
+
description: `Create a purchaseorder`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountingCreateAccountingPurchaseorder(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingCreateAccountingSalesorder } from "../../funcs/accountingCreateAccountingSalesorder.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.CreateAccountingSalesorderRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingCreateAccountingSalesorder: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "accounting-create-accounting-salesorder",
|
|
17
|
+
description: `Create a salesorder`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountingCreateAccountingSalesorder(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingGetAccountingBalancesheet } from "../../funcs/accountingGetAccountingBalancesheet.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.GetAccountingBalancesheetRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingGetAccountingBalancesheet: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "accounting-get-accounting-balancesheet",
|
|
17
|
+
description: `Retrieve a balancesheet`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountingGetAccountingBalancesheet(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingGetAccountingBill } from "../../funcs/accountingGetAccountingBill.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.GetAccountingBillRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingGetAccountingBill: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "accounting-get-accounting-bill",
|
|
15
|
+
description: `Retrieve a bill`,
|
|
16
|
+
args,
|
|
17
|
+
tool: async (client, args, ctx) => {
|
|
18
|
+
const [result, apiCall] = await accountingGetAccountingBill(
|
|
19
|
+
client,
|
|
20
|
+
args.request,
|
|
21
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
22
|
+
).$inspect();
|
|
23
|
+
|
|
24
|
+
if (!result.ok) {
|
|
25
|
+
return {
|
|
26
|
+
content: [{ type: "text", text: result.error.message }],
|
|
27
|
+
isError: true,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const value = result.value;
|
|
32
|
+
|
|
33
|
+
return formatResult(value, apiCall);
|
|
34
|
+
},
|
|
35
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingGetAccountingCreditmemo } from "../../funcs/accountingGetAccountingCreditmemo.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.GetAccountingCreditmemoRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingGetAccountingCreditmemo: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "accounting-get-accounting-creditmemo",
|
|
17
|
+
description: `Retrieve a creditmemo`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountingGetAccountingCreditmemo(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingGetAccountingProfitloss } from "../../funcs/accountingGetAccountingProfitloss.js";
|
|
6
|
+
import * as operations from "../../sdk/models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.GetAccountingProfitlossRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$accountingGetAccountingProfitloss: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "accounting-get-accounting-profitloss",
|
|
17
|
+
description: `Retrieve a profitloss`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountingGetAccountingProfitloss(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|