@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,216 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import {
|
|
9
|
+
catchUnrecognizedEnum,
|
|
10
|
+
OpenEnum,
|
|
11
|
+
Unrecognized,
|
|
12
|
+
} from "../../types/enums.js";
|
|
13
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
14
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
15
|
+
import {
|
|
16
|
+
AccountingLineitem,
|
|
17
|
+
AccountingLineitem$inboundSchema,
|
|
18
|
+
AccountingLineitem$Outbound,
|
|
19
|
+
AccountingLineitem$outboundSchema,
|
|
20
|
+
} from "./accountinglineitem.js";
|
|
21
|
+
import {
|
|
22
|
+
PropertyAccountingSalesorderBillingAddress,
|
|
23
|
+
PropertyAccountingSalesorderBillingAddress$inboundSchema,
|
|
24
|
+
PropertyAccountingSalesorderBillingAddress$Outbound,
|
|
25
|
+
PropertyAccountingSalesorderBillingAddress$outboundSchema,
|
|
26
|
+
} from "./propertyaccountingsalesorderbillingaddress.js";
|
|
27
|
+
import {
|
|
28
|
+
PropertyAccountingSalesorderShippingAddress,
|
|
29
|
+
PropertyAccountingSalesorderShippingAddress$inboundSchema,
|
|
30
|
+
PropertyAccountingSalesorderShippingAddress$Outbound,
|
|
31
|
+
PropertyAccountingSalesorderShippingAddress$outboundSchema,
|
|
32
|
+
} from "./propertyaccountingsalesordershippingaddress.js";
|
|
33
|
+
|
|
34
|
+
export const AccountingSalesorderStatus = {
|
|
35
|
+
Draft: "DRAFT",
|
|
36
|
+
Voided: "VOIDED",
|
|
37
|
+
Authorized: "AUTHORIZED",
|
|
38
|
+
Paid: "PAID",
|
|
39
|
+
PartiallyPaid: "PARTIALLY_PAID",
|
|
40
|
+
PartiallyRefunded: "PARTIALLY_REFUNDED",
|
|
41
|
+
Refunded: "REFUNDED",
|
|
42
|
+
} as const;
|
|
43
|
+
export type AccountingSalesorderStatus = OpenEnum<
|
|
44
|
+
typeof AccountingSalesorderStatus
|
|
45
|
+
>;
|
|
46
|
+
|
|
47
|
+
export type AccountingSalesorder = {
|
|
48
|
+
accountId?: string | undefined;
|
|
49
|
+
billingAddress?: PropertyAccountingSalesorderBillingAddress | undefined;
|
|
50
|
+
contactId?: string | undefined;
|
|
51
|
+
createdAt?: Date | undefined;
|
|
52
|
+
currency?: string | undefined;
|
|
53
|
+
id?: string | undefined;
|
|
54
|
+
lineitems?: Array<AccountingLineitem> | undefined;
|
|
55
|
+
postedAt?: Date | undefined;
|
|
56
|
+
raw?: { [k: string]: any } | undefined;
|
|
57
|
+
shippingAddress?: PropertyAccountingSalesorderShippingAddress | undefined;
|
|
58
|
+
status?: AccountingSalesorderStatus | undefined;
|
|
59
|
+
totalAmount?: number | undefined;
|
|
60
|
+
updatedAt?: Date | undefined;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const AccountingSalesorderStatus$inboundSchema: z.ZodType<
|
|
65
|
+
AccountingSalesorderStatus,
|
|
66
|
+
z.ZodTypeDef,
|
|
67
|
+
unknown
|
|
68
|
+
> = z
|
|
69
|
+
.union([
|
|
70
|
+
z.nativeEnum(AccountingSalesorderStatus),
|
|
71
|
+
z.string().transform(catchUnrecognizedEnum),
|
|
72
|
+
]);
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const AccountingSalesorderStatus$outboundSchema: z.ZodType<
|
|
76
|
+
AccountingSalesorderStatus,
|
|
77
|
+
z.ZodTypeDef,
|
|
78
|
+
AccountingSalesorderStatus
|
|
79
|
+
> = z.union([
|
|
80
|
+
z.nativeEnum(AccountingSalesorderStatus),
|
|
81
|
+
z.string().and(z.custom<Unrecognized<string>>()),
|
|
82
|
+
]);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
export namespace AccountingSalesorderStatus$ {
|
|
89
|
+
/** @deprecated use `AccountingSalesorderStatus$inboundSchema` instead. */
|
|
90
|
+
export const inboundSchema = AccountingSalesorderStatus$inboundSchema;
|
|
91
|
+
/** @deprecated use `AccountingSalesorderStatus$outboundSchema` instead. */
|
|
92
|
+
export const outboundSchema = AccountingSalesorderStatus$outboundSchema;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const AccountingSalesorder$inboundSchema: z.ZodType<
|
|
97
|
+
AccountingSalesorder,
|
|
98
|
+
z.ZodTypeDef,
|
|
99
|
+
unknown
|
|
100
|
+
> = z.object({
|
|
101
|
+
account_id: z.string().optional(),
|
|
102
|
+
billing_address: PropertyAccountingSalesorderBillingAddress$inboundSchema
|
|
103
|
+
.optional(),
|
|
104
|
+
contact_id: z.string().optional(),
|
|
105
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
106
|
+
.optional(),
|
|
107
|
+
currency: z.string().optional(),
|
|
108
|
+
id: z.string().optional(),
|
|
109
|
+
lineitems: z.array(AccountingLineitem$inboundSchema).optional(),
|
|
110
|
+
posted_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
111
|
+
.optional(),
|
|
112
|
+
raw: z.record(z.any()).optional(),
|
|
113
|
+
shipping_address: PropertyAccountingSalesorderShippingAddress$inboundSchema
|
|
114
|
+
.optional(),
|
|
115
|
+
status: AccountingSalesorderStatus$inboundSchema.optional(),
|
|
116
|
+
total_amount: z.number().optional(),
|
|
117
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
118
|
+
.optional(),
|
|
119
|
+
}).transform((v) => {
|
|
120
|
+
return remap$(v, {
|
|
121
|
+
"account_id": "accountId",
|
|
122
|
+
"billing_address": "billingAddress",
|
|
123
|
+
"contact_id": "contactId",
|
|
124
|
+
"created_at": "createdAt",
|
|
125
|
+
"posted_at": "postedAt",
|
|
126
|
+
"shipping_address": "shippingAddress",
|
|
127
|
+
"total_amount": "totalAmount",
|
|
128
|
+
"updated_at": "updatedAt",
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
/** @internal */
|
|
133
|
+
export type AccountingSalesorder$Outbound = {
|
|
134
|
+
account_id?: string | undefined;
|
|
135
|
+
billing_address?:
|
|
136
|
+
| PropertyAccountingSalesorderBillingAddress$Outbound
|
|
137
|
+
| undefined;
|
|
138
|
+
contact_id?: string | undefined;
|
|
139
|
+
created_at?: string | undefined;
|
|
140
|
+
currency?: string | undefined;
|
|
141
|
+
id?: string | undefined;
|
|
142
|
+
lineitems?: Array<AccountingLineitem$Outbound> | undefined;
|
|
143
|
+
posted_at?: string | undefined;
|
|
144
|
+
raw?: { [k: string]: any } | undefined;
|
|
145
|
+
shipping_address?:
|
|
146
|
+
| PropertyAccountingSalesorderShippingAddress$Outbound
|
|
147
|
+
| undefined;
|
|
148
|
+
status?: string | undefined;
|
|
149
|
+
total_amount?: number | undefined;
|
|
150
|
+
updated_at?: string | undefined;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/** @internal */
|
|
154
|
+
export const AccountingSalesorder$outboundSchema: z.ZodType<
|
|
155
|
+
AccountingSalesorder$Outbound,
|
|
156
|
+
z.ZodTypeDef,
|
|
157
|
+
AccountingSalesorder
|
|
158
|
+
> = z.object({
|
|
159
|
+
accountId: z.string().optional(),
|
|
160
|
+
billingAddress: PropertyAccountingSalesorderBillingAddress$outboundSchema
|
|
161
|
+
.optional(),
|
|
162
|
+
contactId: z.string().optional(),
|
|
163
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
164
|
+
currency: z.string().optional(),
|
|
165
|
+
id: z.string().optional(),
|
|
166
|
+
lineitems: z.array(AccountingLineitem$outboundSchema).optional(),
|
|
167
|
+
postedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
168
|
+
raw: z.record(z.any()).optional(),
|
|
169
|
+
shippingAddress: PropertyAccountingSalesorderShippingAddress$outboundSchema
|
|
170
|
+
.optional(),
|
|
171
|
+
status: AccountingSalesorderStatus$outboundSchema.optional(),
|
|
172
|
+
totalAmount: z.number().optional(),
|
|
173
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
174
|
+
}).transform((v) => {
|
|
175
|
+
return remap$(v, {
|
|
176
|
+
accountId: "account_id",
|
|
177
|
+
billingAddress: "billing_address",
|
|
178
|
+
contactId: "contact_id",
|
|
179
|
+
createdAt: "created_at",
|
|
180
|
+
postedAt: "posted_at",
|
|
181
|
+
shippingAddress: "shipping_address",
|
|
182
|
+
totalAmount: "total_amount",
|
|
183
|
+
updatedAt: "updated_at",
|
|
184
|
+
});
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @internal
|
|
189
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
190
|
+
*/
|
|
191
|
+
export namespace AccountingSalesorder$ {
|
|
192
|
+
/** @deprecated use `AccountingSalesorder$inboundSchema` instead. */
|
|
193
|
+
export const inboundSchema = AccountingSalesorder$inboundSchema;
|
|
194
|
+
/** @deprecated use `AccountingSalesorder$outboundSchema` instead. */
|
|
195
|
+
export const outboundSchema = AccountingSalesorder$outboundSchema;
|
|
196
|
+
/** @deprecated use `AccountingSalesorder$Outbound` instead. */
|
|
197
|
+
export type Outbound = AccountingSalesorder$Outbound;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export function accountingSalesorderToJSON(
|
|
201
|
+
accountingSalesorder: AccountingSalesorder,
|
|
202
|
+
): string {
|
|
203
|
+
return JSON.stringify(
|
|
204
|
+
AccountingSalesorder$outboundSchema.parse(accountingSalesorder),
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export function accountingSalesorderFromJSON(
|
|
209
|
+
jsonString: string,
|
|
210
|
+
): SafeParseResult<AccountingSalesorder, SDKValidationError> {
|
|
211
|
+
return safeParse(
|
|
212
|
+
jsonString,
|
|
213
|
+
(x) => AccountingSalesorder$inboundSchema.parse(JSON.parse(x)),
|
|
214
|
+
`Failed to parse 'AccountingSalesorder' from JSON`,
|
|
215
|
+
);
|
|
216
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AccountingTrialbalanceSubItem,
|
|
12
|
+
AccountingTrialbalanceSubItem$inboundSchema,
|
|
13
|
+
AccountingTrialbalanceSubItem$Outbound,
|
|
14
|
+
AccountingTrialbalanceSubItem$outboundSchema,
|
|
15
|
+
} from "./accountingtrialbalancesubitem.js";
|
|
16
|
+
|
|
17
|
+
export type AccountingTrialbalance = {
|
|
18
|
+
createdAt?: Date | undefined;
|
|
19
|
+
currency?: string | undefined;
|
|
20
|
+
endAt?: Date | undefined;
|
|
21
|
+
id?: string | undefined;
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
raw?: { [k: string]: any } | undefined;
|
|
24
|
+
startAt?: Date | undefined;
|
|
25
|
+
subItems?: Array<AccountingTrialbalanceSubItem> | undefined;
|
|
26
|
+
totalCreditAmount?: number | undefined;
|
|
27
|
+
totalDebitAmount?: number | undefined;
|
|
28
|
+
updatedAt?: Date | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const AccountingTrialbalance$inboundSchema: z.ZodType<
|
|
33
|
+
AccountingTrialbalance,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({
|
|
37
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
38
|
+
.optional(),
|
|
39
|
+
currency: z.string().optional(),
|
|
40
|
+
end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
41
|
+
.optional(),
|
|
42
|
+
id: z.string().optional(),
|
|
43
|
+
name: z.string().optional(),
|
|
44
|
+
raw: z.record(z.any()).optional(),
|
|
45
|
+
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
46
|
+
.optional(),
|
|
47
|
+
sub_items: z.array(AccountingTrialbalanceSubItem$inboundSchema).optional(),
|
|
48
|
+
total_credit_amount: z.number().optional(),
|
|
49
|
+
total_debit_amount: z.number().optional(),
|
|
50
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
51
|
+
.optional(),
|
|
52
|
+
}).transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
"created_at": "createdAt",
|
|
55
|
+
"end_at": "endAt",
|
|
56
|
+
"start_at": "startAt",
|
|
57
|
+
"sub_items": "subItems",
|
|
58
|
+
"total_credit_amount": "totalCreditAmount",
|
|
59
|
+
"total_debit_amount": "totalDebitAmount",
|
|
60
|
+
"updated_at": "updatedAt",
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export type AccountingTrialbalance$Outbound = {
|
|
66
|
+
created_at?: string | undefined;
|
|
67
|
+
currency?: string | undefined;
|
|
68
|
+
end_at?: string | undefined;
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
raw?: { [k: string]: any } | undefined;
|
|
72
|
+
start_at?: string | undefined;
|
|
73
|
+
sub_items?: Array<AccountingTrialbalanceSubItem$Outbound> | undefined;
|
|
74
|
+
total_credit_amount?: number | undefined;
|
|
75
|
+
total_debit_amount?: number | undefined;
|
|
76
|
+
updated_at?: string | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const AccountingTrialbalance$outboundSchema: z.ZodType<
|
|
81
|
+
AccountingTrialbalance$Outbound,
|
|
82
|
+
z.ZodTypeDef,
|
|
83
|
+
AccountingTrialbalance
|
|
84
|
+
> = z.object({
|
|
85
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
86
|
+
currency: z.string().optional(),
|
|
87
|
+
endAt: z.date().transform(v => v.toISOString()).optional(),
|
|
88
|
+
id: z.string().optional(),
|
|
89
|
+
name: z.string().optional(),
|
|
90
|
+
raw: z.record(z.any()).optional(),
|
|
91
|
+
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
92
|
+
subItems: z.array(AccountingTrialbalanceSubItem$outboundSchema).optional(),
|
|
93
|
+
totalCreditAmount: z.number().optional(),
|
|
94
|
+
totalDebitAmount: z.number().optional(),
|
|
95
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
96
|
+
}).transform((v) => {
|
|
97
|
+
return remap$(v, {
|
|
98
|
+
createdAt: "created_at",
|
|
99
|
+
endAt: "end_at",
|
|
100
|
+
startAt: "start_at",
|
|
101
|
+
subItems: "sub_items",
|
|
102
|
+
totalCreditAmount: "total_credit_amount",
|
|
103
|
+
totalDebitAmount: "total_debit_amount",
|
|
104
|
+
updatedAt: "updated_at",
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
111
|
+
*/
|
|
112
|
+
export namespace AccountingTrialbalance$ {
|
|
113
|
+
/** @deprecated use `AccountingTrialbalance$inboundSchema` instead. */
|
|
114
|
+
export const inboundSchema = AccountingTrialbalance$inboundSchema;
|
|
115
|
+
/** @deprecated use `AccountingTrialbalance$outboundSchema` instead. */
|
|
116
|
+
export const outboundSchema = AccountingTrialbalance$outboundSchema;
|
|
117
|
+
/** @deprecated use `AccountingTrialbalance$Outbound` instead. */
|
|
118
|
+
export type Outbound = AccountingTrialbalance$Outbound;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function accountingTrialbalanceToJSON(
|
|
122
|
+
accountingTrialbalance: AccountingTrialbalance,
|
|
123
|
+
): string {
|
|
124
|
+
return JSON.stringify(
|
|
125
|
+
AccountingTrialbalance$outboundSchema.parse(accountingTrialbalance),
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function accountingTrialbalanceFromJSON(
|
|
130
|
+
jsonString: string,
|
|
131
|
+
): SafeParseResult<AccountingTrialbalance, SDKValidationError> {
|
|
132
|
+
return safeParse(
|
|
133
|
+
jsonString,
|
|
134
|
+
(x) => AccountingTrialbalance$inboundSchema.parse(JSON.parse(x)),
|
|
135
|
+
`Failed to parse 'AccountingTrialbalance' from JSON`,
|
|
136
|
+
);
|
|
137
|
+
}
|
|
@@ -8,15 +8,15 @@ import { safeParse } from "../../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type
|
|
11
|
+
export type AccountingTrialbalanceSubItem = {
|
|
12
12
|
accountId?: string | undefined;
|
|
13
13
|
accountName?: string | undefined;
|
|
14
14
|
amount?: number | undefined;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
/** @internal */
|
|
18
|
-
export const
|
|
19
|
-
|
|
18
|
+
export const AccountingTrialbalanceSubItem$inboundSchema: z.ZodType<
|
|
19
|
+
AccountingTrialbalanceSubItem,
|
|
20
20
|
z.ZodTypeDef,
|
|
21
21
|
unknown
|
|
22
22
|
> = z.object({
|
|
@@ -31,17 +31,17 @@ export const AccountingTrialBalanceSubItem$inboundSchema: z.ZodType<
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
/** @internal */
|
|
34
|
-
export type
|
|
34
|
+
export type AccountingTrialbalanceSubItem$Outbound = {
|
|
35
35
|
account_id?: string | undefined;
|
|
36
36
|
account_name?: string | undefined;
|
|
37
37
|
amount?: number | undefined;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
41
|
-
export const
|
|
42
|
-
|
|
41
|
+
export const AccountingTrialbalanceSubItem$outboundSchema: z.ZodType<
|
|
42
|
+
AccountingTrialbalanceSubItem$Outbound,
|
|
43
43
|
z.ZodTypeDef,
|
|
44
|
-
|
|
44
|
+
AccountingTrialbalanceSubItem
|
|
45
45
|
> = z.object({
|
|
46
46
|
accountId: z.string().optional(),
|
|
47
47
|
accountName: z.string().optional(),
|
|
@@ -57,31 +57,31 @@ export const AccountingTrialBalanceSubItem$outboundSchema: z.ZodType<
|
|
|
57
57
|
* @internal
|
|
58
58
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
59
|
*/
|
|
60
|
-
export namespace
|
|
61
|
-
/** @deprecated use `
|
|
62
|
-
export const inboundSchema =
|
|
63
|
-
/** @deprecated use `
|
|
64
|
-
export const outboundSchema =
|
|
65
|
-
/** @deprecated use `
|
|
66
|
-
export type Outbound =
|
|
60
|
+
export namespace AccountingTrialbalanceSubItem$ {
|
|
61
|
+
/** @deprecated use `AccountingTrialbalanceSubItem$inboundSchema` instead. */
|
|
62
|
+
export const inboundSchema = AccountingTrialbalanceSubItem$inboundSchema;
|
|
63
|
+
/** @deprecated use `AccountingTrialbalanceSubItem$outboundSchema` instead. */
|
|
64
|
+
export const outboundSchema = AccountingTrialbalanceSubItem$outboundSchema;
|
|
65
|
+
/** @deprecated use `AccountingTrialbalanceSubItem$Outbound` instead. */
|
|
66
|
+
export type Outbound = AccountingTrialbalanceSubItem$Outbound;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export function
|
|
70
|
-
|
|
69
|
+
export function accountingTrialbalanceSubItemToJSON(
|
|
70
|
+
accountingTrialbalanceSubItem: AccountingTrialbalanceSubItem,
|
|
71
71
|
): string {
|
|
72
72
|
return JSON.stringify(
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
AccountingTrialbalanceSubItem$outboundSchema.parse(
|
|
74
|
+
accountingTrialbalanceSubItem,
|
|
75
75
|
),
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function
|
|
79
|
+
export function accountingTrialbalanceSubItemFromJSON(
|
|
80
80
|
jsonString: string,
|
|
81
|
-
): SafeParseResult<
|
|
81
|
+
): SafeParseResult<AccountingTrialbalanceSubItem, SDKValidationError> {
|
|
82
82
|
return safeParse(
|
|
83
83
|
jsonString,
|
|
84
|
-
(x) =>
|
|
85
|
-
`Failed to parse '
|
|
84
|
+
(x) => AccountingTrialbalanceSubItem$inboundSchema.parse(JSON.parse(x)),
|
|
85
|
+
`Failed to parse 'AccountingTrialbalanceSubItem' from JSON`,
|
|
86
86
|
);
|
|
87
87
|
}
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
export * from "./accountingaccount.js";
|
|
6
6
|
export * from "./accountingassociatedcontact.js";
|
|
7
7
|
export * from "./accountingattachment.js";
|
|
8
|
+
export * from "./accountingbalancesheet.js";
|
|
8
9
|
export * from "./accountingbalancesheetitem.js";
|
|
10
|
+
export * from "./accountingbill.js";
|
|
9
11
|
export * from "./accountingcontact.js";
|
|
10
12
|
export * from "./accountingcontactpaymentmethod.js";
|
|
13
|
+
export * from "./accountingcreditmemo.js";
|
|
11
14
|
export * from "./accountingemail.js";
|
|
12
15
|
export * from "./accountinginvoice.js";
|
|
13
16
|
export * from "./accountingjournal.js";
|
|
@@ -15,14 +18,20 @@ export * from "./accountingjournallineitem.js";
|
|
|
15
18
|
export * from "./accountinglineitem.js";
|
|
16
19
|
export * from "./accountingorder.js";
|
|
17
20
|
export * from "./accountingorganization.js";
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
21
|
+
export * from "./accountingprofitloss.js";
|
|
22
|
+
export * from "./accountingprofitlossaccount.js";
|
|
23
|
+
export * from "./accountingprofitlosscategory.js";
|
|
24
|
+
export * from "./accountingprofitlosssection.js";
|
|
25
|
+
export * from "./accountingprofitlosssubcategory.js";
|
|
26
|
+
export * from "./accountingpurchaseorder.js";
|
|
20
27
|
export * from "./accountingreport.js";
|
|
28
|
+
export * from "./accountingsalesorder.js";
|
|
21
29
|
export * from "./accountingtaxrate.js";
|
|
22
30
|
export * from "./accountingtelephone.js";
|
|
23
31
|
export * from "./accountingtransaction.js";
|
|
24
32
|
export * from "./accountingtransactioncontact.js";
|
|
25
33
|
export * from "./accountingtransactionlineitem.js";
|
|
34
|
+
export * from "./accountingtrialbalance.js";
|
|
26
35
|
export * from "./accountingtrialbalancesubitem.js";
|
|
27
36
|
export * from "./apicall.js";
|
|
28
37
|
export * from "./atsactivity.js";
|
|
@@ -138,9 +147,13 @@ export * from "./propertyaccountingcontactshippingaddress.js";
|
|
|
138
147
|
export * from "./propertyaccountingorderbillingaddress.js";
|
|
139
148
|
export * from "./propertyaccountingordershippingaddress.js";
|
|
140
149
|
export * from "./propertyaccountingorganizationaddress.js";
|
|
150
|
+
export * from "./propertyaccountingpurchaseorderbillingaddress.js";
|
|
151
|
+
export * from "./propertyaccountingpurchaseordershippingaddress.js";
|
|
141
152
|
export * from "./propertyaccountingreportbalancesheet.js";
|
|
142
153
|
export * from "./propertyaccountingreportprofitandloss.js";
|
|
143
154
|
export * from "./propertyaccountingreporttrialbalance.js";
|
|
155
|
+
export * from "./propertyaccountingsalesorderbillingaddress.js";
|
|
156
|
+
export * from "./propertyaccountingsalesordershippingaddress.js";
|
|
144
157
|
export * from "./propertyatsactivityfrom.js";
|
|
145
158
|
export * from "./propertyatscandidateaddress.js";
|
|
146
159
|
export * from "./propertyatscompanyaddress.js";
|
|
@@ -7,62 +7,62 @@ import { safeParse } from "../../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
-
export type
|
|
10
|
+
export type PropertyAccountingBalancesheetItemSubItems = {};
|
|
11
11
|
|
|
12
12
|
/** @internal */
|
|
13
|
-
export const
|
|
14
|
-
z.ZodType<
|
|
13
|
+
export const PropertyAccountingBalancesheetItemSubItems$inboundSchema:
|
|
14
|
+
z.ZodType<PropertyAccountingBalancesheetItemSubItems, z.ZodTypeDef, unknown> =
|
|
15
15
|
z.object({});
|
|
16
16
|
|
|
17
17
|
/** @internal */
|
|
18
|
-
export type
|
|
18
|
+
export type PropertyAccountingBalancesheetItemSubItems$Outbound = {};
|
|
19
19
|
|
|
20
20
|
/** @internal */
|
|
21
|
-
export const
|
|
21
|
+
export const PropertyAccountingBalancesheetItemSubItems$outboundSchema:
|
|
22
22
|
z.ZodType<
|
|
23
|
-
|
|
23
|
+
PropertyAccountingBalancesheetItemSubItems$Outbound,
|
|
24
24
|
z.ZodTypeDef,
|
|
25
|
-
|
|
25
|
+
PropertyAccountingBalancesheetItemSubItems
|
|
26
26
|
> = z.object({});
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* @internal
|
|
30
30
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
31
|
*/
|
|
32
|
-
export namespace
|
|
33
|
-
/** @deprecated use `
|
|
32
|
+
export namespace PropertyAccountingBalancesheetItemSubItems$ {
|
|
33
|
+
/** @deprecated use `PropertyAccountingBalancesheetItemSubItems$inboundSchema` instead. */
|
|
34
34
|
export const inboundSchema =
|
|
35
|
-
|
|
36
|
-
/** @deprecated use `
|
|
35
|
+
PropertyAccountingBalancesheetItemSubItems$inboundSchema;
|
|
36
|
+
/** @deprecated use `PropertyAccountingBalancesheetItemSubItems$outboundSchema` instead. */
|
|
37
37
|
export const outboundSchema =
|
|
38
|
-
|
|
39
|
-
/** @deprecated use `
|
|
40
|
-
export type Outbound =
|
|
38
|
+
PropertyAccountingBalancesheetItemSubItems$outboundSchema;
|
|
39
|
+
/** @deprecated use `PropertyAccountingBalancesheetItemSubItems$Outbound` instead. */
|
|
40
|
+
export type Outbound = PropertyAccountingBalancesheetItemSubItems$Outbound;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export function
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
export function propertyAccountingBalancesheetItemSubItemsToJSON(
|
|
44
|
+
propertyAccountingBalancesheetItemSubItems:
|
|
45
|
+
PropertyAccountingBalancesheetItemSubItems,
|
|
46
46
|
): string {
|
|
47
47
|
return JSON.stringify(
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
PropertyAccountingBalancesheetItemSubItems$outboundSchema.parse(
|
|
49
|
+
propertyAccountingBalancesheetItemSubItems,
|
|
50
50
|
),
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
export function
|
|
54
|
+
export function propertyAccountingBalancesheetItemSubItemsFromJSON(
|
|
55
55
|
jsonString: string,
|
|
56
56
|
): SafeParseResult<
|
|
57
|
-
|
|
57
|
+
PropertyAccountingBalancesheetItemSubItems,
|
|
58
58
|
SDKValidationError
|
|
59
59
|
> {
|
|
60
60
|
return safeParse(
|
|
61
61
|
jsonString,
|
|
62
62
|
(x) =>
|
|
63
|
-
|
|
63
|
+
PropertyAccountingBalancesheetItemSubItems$inboundSchema.parse(
|
|
64
64
|
JSON.parse(x),
|
|
65
65
|
),
|
|
66
|
-
`Failed to parse '
|
|
66
|
+
`Failed to parse 'PropertyAccountingBalancesheetItemSubItems' from JSON`,
|
|
67
67
|
);
|
|
68
68
|
}
|