@unified-api/typescript-sdk 2.73.5 → 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 +9518 -3971
- package/bin/mcp-server.js.map +121 -20
- package/docs/sdks/accounting/README.md +2759 -387
- package/docs/sdks/balancesheet/README.md +163 -0
- package/docs/sdks/bill/README.md +483 -0
- package/docs/sdks/creditmemo/README.md +483 -0
- package/docs/sdks/profitloss/README.md +163 -0
- package/docs/sdks/purchaseorder/README.md +483 -0
- package/docs/sdks/salesorder/README.md +483 -0
- package/docs/sdks/trialbalance/README.md +163 -0
- package/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 +2 -2
- package/lib/config.js +2 -2
- 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 +1 -1
- package/sdk/accounting.d.ts +120 -0
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +210 -0
- package/sdk/accounting.js.map +1 -1
- package/sdk/balancesheet.d.ts +14 -0
- package/sdk/balancesheet.d.ts.map +1 -0
- package/sdk/balancesheet.js +26 -0
- package/sdk/balancesheet.js.map +1 -0
- package/sdk/bill.d.ts +30 -0
- package/sdk/bill.d.ts.map +1 -0
- package/sdk/bill.js +54 -0
- package/sdk/bill.js.map +1 -0
- package/sdk/creditmemo.d.ts +30 -0
- package/sdk/creditmemo.d.ts.map +1 -0
- package/sdk/creditmemo.js +54 -0
- package/sdk/creditmemo.js.map +1 -0
- package/sdk/models/operations/createaccountingbill.d.ts +45 -0
- package/sdk/models/operations/createaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingbill.js +77 -0
- package/sdk/models/operations/createaccountingbill.js.map +1 -0
- package/sdk/models/operations/createaccountingcreditmemo.d.ts +45 -0
- package/sdk/models/operations/createaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingcreditmemo.js +77 -0
- package/sdk/models/operations/createaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/createaccountingpurchaseorder.d.ts +45 -0
- package/sdk/models/operations/createaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingpurchaseorder.js +77 -0
- package/sdk/models/operations/createaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/createaccountingsalesorder.d.ts +45 -0
- package/sdk/models/operations/createaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingsalesorder.js +77 -0
- package/sdk/models/operations/createaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/getaccountingbalancesheet.d.ts +47 -0
- package/sdk/models/operations/getaccountingbalancesheet.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingbalancesheet.js +74 -0
- package/sdk/models/operations/getaccountingbalancesheet.js.map +1 -0
- package/sdk/models/operations/getaccountingbill.d.ts +47 -0
- package/sdk/models/operations/getaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingbill.js +74 -0
- package/sdk/models/operations/getaccountingbill.js.map +1 -0
- package/sdk/models/operations/getaccountingcreditmemo.d.ts +47 -0
- package/sdk/models/operations/getaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingcreditmemo.js +74 -0
- package/sdk/models/operations/getaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/getaccountingprofitloss.d.ts +47 -0
- package/sdk/models/operations/getaccountingprofitloss.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingprofitloss.js +74 -0
- package/sdk/models/operations/getaccountingprofitloss.js.map +1 -0
- package/sdk/models/operations/getaccountingpurchaseorder.d.ts +47 -0
- package/sdk/models/operations/getaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingpurchaseorder.js +74 -0
- package/sdk/models/operations/getaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/getaccountingsalesorder.d.ts +47 -0
- package/sdk/models/operations/getaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingsalesorder.js +74 -0
- package/sdk/models/operations/getaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/getaccountingtrialbalance.d.ts +47 -0
- package/sdk/models/operations/getaccountingtrialbalance.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingtrialbalance.js +74 -0
- package/sdk/models/operations/getaccountingtrialbalance.js.map +1 -0
- package/sdk/models/operations/index.d.ts +30 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +30 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listaccountingbalancesheets.d.ts +70 -0
- package/sdk/models/operations/listaccountingbalancesheets.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingbalancesheets.js +94 -0
- package/sdk/models/operations/listaccountingbalancesheets.js.map +1 -0
- package/sdk/models/operations/listaccountingbills.d.ts +70 -0
- package/sdk/models/operations/listaccountingbills.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingbills.js +94 -0
- package/sdk/models/operations/listaccountingbills.js.map +1 -0
- package/sdk/models/operations/listaccountingcreditmemoes.d.ts +70 -0
- package/sdk/models/operations/listaccountingcreditmemoes.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingcreditmemoes.js +94 -0
- package/sdk/models/operations/listaccountingcreditmemoes.js.map +1 -0
- package/sdk/models/operations/listaccountingprofitlosses.d.ts +70 -0
- package/sdk/models/operations/listaccountingprofitlosses.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingprofitlosses.js +94 -0
- package/sdk/models/operations/listaccountingprofitlosses.js.map +1 -0
- package/sdk/models/operations/listaccountingpurchaseorders.d.ts +65 -0
- package/sdk/models/operations/listaccountingpurchaseorders.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingpurchaseorders.js +90 -0
- package/sdk/models/operations/listaccountingpurchaseorders.js.map +1 -0
- package/sdk/models/operations/listaccountingsalesorders.d.ts +65 -0
- package/sdk/models/operations/listaccountingsalesorders.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingsalesorders.js +90 -0
- package/sdk/models/operations/listaccountingsalesorders.js.map +1 -0
- package/sdk/models/operations/listaccountingtrialbalances.d.ts +70 -0
- package/sdk/models/operations/listaccountingtrialbalances.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingtrialbalances.js +94 -0
- package/sdk/models/operations/listaccountingtrialbalances.js.map +1 -0
- package/sdk/models/operations/patchaccountingbill.d.ts +50 -0
- package/sdk/models/operations/patchaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingbill.js +79 -0
- package/sdk/models/operations/patchaccountingbill.js.map +1 -0
- package/sdk/models/operations/patchaccountingcreditmemo.d.ts +50 -0
- package/sdk/models/operations/patchaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingcreditmemo.js +79 -0
- package/sdk/models/operations/patchaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.d.ts +50 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.js +79 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/patchaccountingsalesorder.d.ts +50 -0
- package/sdk/models/operations/patchaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingsalesorder.js +79 -0
- package/sdk/models/operations/patchaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/removeaccountingbill.d.ts +66 -0
- package/sdk/models/operations/removeaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingbill.js +105 -0
- package/sdk/models/operations/removeaccountingbill.js.map +1 -0
- package/sdk/models/operations/removeaccountingcreditmemo.d.ts +66 -0
- package/sdk/models/operations/removeaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingcreditmemo.js +105 -0
- package/sdk/models/operations/removeaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.d.ts +66 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.js +105 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/removeaccountingsalesorder.d.ts +66 -0
- package/sdk/models/operations/removeaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingsalesorder.js +105 -0
- package/sdk/models/operations/removeaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/updateaccountingbill.d.ts +50 -0
- package/sdk/models/operations/updateaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingbill.js +79 -0
- package/sdk/models/operations/updateaccountingbill.js.map +1 -0
- package/sdk/models/operations/updateaccountingcreditmemo.d.ts +50 -0
- package/sdk/models/operations/updateaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingcreditmemo.js +79 -0
- package/sdk/models/operations/updateaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.d.ts +50 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.js +79 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/updateaccountingsalesorder.d.ts +50 -0
- package/sdk/models/operations/updateaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingsalesorder.js +79 -0
- package/sdk/models/operations/updateaccountingsalesorder.js.map +1 -0
- package/sdk/models/shared/accountingbalancesheet.d.ts +56 -0
- package/sdk/models/shared/accountingbalancesheet.d.ts.map +1 -0
- package/sdk/models/shared/accountingbalancesheet.js +103 -0
- package/sdk/models/shared/accountingbalancesheet.js.map +1 -0
- package/sdk/models/shared/accountingbalancesheetitem.d.ts +16 -16
- package/sdk/models/shared/accountingbalancesheetitem.js +18 -18
- package/sdk/models/shared/accountingbill.d.ts +129 -0
- package/sdk/models/shared/accountingbill.d.ts.map +1 -0
- package/sdk/models/shared/accountingbill.js +216 -0
- package/sdk/models/shared/accountingbill.js.map +1 -0
- package/sdk/models/shared/accountingcreditmemo.d.ts +129 -0
- package/sdk/models/shared/accountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/shared/accountingcreditmemo.js +216 -0
- package/sdk/models/shared/accountingcreditmemo.js.map +1 -0
- package/sdk/models/shared/accountinginvoice.d.ts +10 -10
- package/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/sdk/models/shared/accountinginvoice.js +15 -15
- package/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/sdk/models/shared/accountingprofitloss.d.ts +82 -0
- package/sdk/models/shared/accountingprofitloss.d.ts.map +1 -0
- package/sdk/models/shared/accountingprofitloss.js +145 -0
- package/sdk/models/shared/accountingprofitloss.js.map +1 -0
- package/sdk/models/shared/accountingprofitlossaccount.d.ts +35 -0
- package/sdk/models/shared/accountingprofitlossaccount.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlossaccount.js → accountingprofitlossaccount.js} +17 -17
- package/sdk/models/shared/accountingprofitlossaccount.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosscategory.d.ts +37 -0
- package/sdk/models/shared/accountingprofitlosscategory.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosscategory.js → accountingprofitlosscategory.js} +20 -22
- package/sdk/models/shared/accountingprofitlosscategory.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosssection.d.ts +36 -0
- package/sdk/models/shared/accountingprofitlosssection.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosssection.js → accountingprofitlosssection.js} +20 -20
- package/sdk/models/shared/accountingprofitlosssection.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosssubcategory.d.ts +36 -0
- package/sdk/models/shared/accountingprofitlosssubcategory.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosssubcategory.js → accountingprofitlosssubcategory.js} +17 -17
- package/sdk/models/shared/accountingprofitlosssubcategory.js.map +1 -0
- package/sdk/models/shared/accountingpurchaseorder.d.ts +85 -0
- package/sdk/models/shared/accountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/shared/accountingpurchaseorder.js +148 -0
- package/sdk/models/shared/accountingpurchaseorder.js.map +1 -0
- package/sdk/models/shared/accountingsalesorder.d.ts +85 -0
- package/sdk/models/shared/accountingsalesorder.d.ts.map +1 -0
- package/sdk/models/shared/accountingsalesorder.js +148 -0
- package/sdk/models/shared/accountingsalesorder.js.map +1 -0
- package/sdk/models/shared/accountingtrialbalance.d.ts +54 -0
- package/sdk/models/shared/accountingtrialbalance.d.ts.map +1 -0
- package/sdk/models/shared/accountingtrialbalance.js +105 -0
- package/sdk/models/shared/accountingtrialbalance.js.map +1 -0
- package/sdk/models/shared/accountingtrialbalancesubitem.d.ts +13 -13
- package/sdk/models/shared/accountingtrialbalancesubitem.js +16 -16
- package/sdk/models/shared/index.d.ts +15 -4
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +15 -4
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts +13 -13
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js +16 -16
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts +27 -7
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js +34 -6
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +34 -14
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js +43 -14
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -1
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts +23 -3
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js +30 -2
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js.map +1 -1
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js.map +1 -0
- package/sdk/profitloss.d.ts +14 -0
- package/sdk/profitloss.d.ts.map +1 -0
- package/sdk/profitloss.js +26 -0
- package/sdk/profitloss.js.map +1 -0
- package/sdk/purchaseorder.d.ts +30 -0
- package/sdk/purchaseorder.d.ts.map +1 -0
- package/sdk/purchaseorder.js +54 -0
- package/sdk/purchaseorder.js.map +1 -0
- package/sdk/salesorder.d.ts +30 -0
- package/sdk/salesorder.d.ts.map +1 -0
- package/sdk/salesorder.js +54 -0
- package/sdk/salesorder.js.map +1 -0
- package/sdk/sdk.d.ts +21 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +28 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/trialbalance.d.ts +14 -0
- package/sdk/trialbalance.d.ts.map +1 -0
- package/sdk/trialbalance.js +26 -0
- package/sdk/trialbalance.js.map +1 -0
- package/src/funcs/accountingCreateAccountingBill.ts +171 -0
- package/src/funcs/accountingCreateAccountingCreditmemo.ts +173 -0
- package/src/funcs/accountingCreateAccountingPurchaseorder.ts +177 -0
- package/src/funcs/accountingCreateAccountingSalesorder.ts +173 -0
- package/src/funcs/accountingGetAccountingBalancesheet.ts +176 -0
- package/src/funcs/accountingGetAccountingBill.ts +173 -0
- package/src/funcs/accountingGetAccountingCreditmemo.ts +176 -0
- package/src/funcs/accountingGetAccountingProfitloss.ts +176 -0
- package/src/funcs/accountingGetAccountingPurchaseorder.ts +176 -0
- package/src/funcs/accountingGetAccountingSalesorder.ts +176 -0
- package/src/funcs/accountingGetAccountingTrialbalance.ts +176 -0
- package/src/funcs/accountingListAccountingBalancesheets.ts +181 -0
- package/src/funcs/accountingListAccountingBills.ts +179 -0
- package/src/funcs/accountingListAccountingCreditmemoes.ts +179 -0
- package/src/funcs/accountingListAccountingProfitlosses.ts +179 -0
- package/src/funcs/accountingListAccountingPurchaseorders.ts +182 -0
- package/src/funcs/accountingListAccountingSalesorders.ts +178 -0
- package/src/funcs/accountingListAccountingTrialbalances.ts +181 -0
- package/src/funcs/accountingPatchAccountingBill.ts +175 -0
- package/src/funcs/accountingPatchAccountingCreditmemo.ts +179 -0
- package/src/funcs/accountingPatchAccountingPurchaseorder.ts +181 -0
- package/src/funcs/accountingPatchAccountingSalesorder.ts +179 -0
- package/src/funcs/accountingRemoveAccountingBill.ts +179 -0
- package/src/funcs/accountingRemoveAccountingCreditmemo.ts +181 -0
- package/src/funcs/accountingRemoveAccountingPurchaseorder.ts +183 -0
- package/src/funcs/accountingRemoveAccountingSalesorder.ts +181 -0
- package/src/funcs/accountingUpdateAccountingBill.ts +175 -0
- package/src/funcs/accountingUpdateAccountingCreditmemo.ts +179 -0
- package/src/funcs/accountingUpdateAccountingPurchaseorder.ts +181 -0
- package/src/funcs/accountingUpdateAccountingSalesorder.ts +179 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +61 -1
- package/src/mcp-server/tools/accountingCreateAccountingBill.ts +36 -0
- package/src/mcp-server/tools/accountingCreateAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingCreateAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingCreateAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingBalancesheet.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingBill.ts +35 -0
- package/src/mcp-server/tools/accountingGetAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingProfitloss.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingTrialbalance.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingBalancesheets.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingBills.ts +35 -0
- package/src/mcp-server/tools/accountingListAccountingCreditmemoes.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingProfitlosses.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingPurchaseorders.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingSalesorders.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingTrialbalances.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingBill.ts +35 -0
- package/src/mcp-server/tools/accountingPatchAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingRemoveAccountingBill.ts +34 -0
- package/src/mcp-server/tools/accountingRemoveAccountingCreditmemo.ts +35 -0
- package/src/mcp-server/tools/accountingRemoveAccountingPurchaseorder.ts +35 -0
- package/src/mcp-server/tools/accountingRemoveAccountingSalesorder.ts +35 -0
- package/src/mcp-server/tools/accountingUpdateAccountingBill.ts +36 -0
- package/src/mcp-server/tools/accountingUpdateAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingUpdateAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingUpdateAccountingSalesorder.ts +37 -0
- package/src/sdk/accounting.ts +450 -0
- package/src/sdk/balancesheet.ts +40 -0
- package/src/sdk/bill.ts +100 -0
- package/src/sdk/creditmemo.ts +100 -0
- package/src/sdk/models/operations/createaccountingbill.ts +101 -0
- package/src/sdk/models/operations/createaccountingcreditmemo.ts +102 -0
- package/src/sdk/models/operations/createaccountingpurchaseorder.ts +104 -0
- package/src/sdk/models/operations/createaccountingsalesorder.ts +102 -0
- package/src/sdk/models/operations/getaccountingbalancesheet.ts +101 -0
- package/src/sdk/models/operations/getaccountingbill.ts +99 -0
- package/src/sdk/models/operations/getaccountingcreditmemo.ts +101 -0
- package/src/sdk/models/operations/getaccountingprofitloss.ts +101 -0
- package/src/sdk/models/operations/getaccountingpurchaseorder.ts +102 -0
- package/src/sdk/models/operations/getaccountingsalesorder.ts +101 -0
- package/src/sdk/models/operations/getaccountingtrialbalance.ts +101 -0
- package/src/sdk/models/operations/index.ts +30 -0
- package/src/sdk/models/operations/listaccountingbalancesheets.ts +146 -0
- package/src/sdk/models/operations/listaccountingbills.ts +142 -0
- package/src/sdk/models/operations/listaccountingcreditmemoes.ts +145 -0
- package/src/sdk/models/operations/listaccountingprofitlosses.ts +145 -0
- package/src/sdk/models/operations/listaccountingpurchaseorders.ts +138 -0
- package/src/sdk/models/operations/listaccountingsalesorders.ts +135 -0
- package/src/sdk/models/operations/listaccountingtrialbalances.ts +146 -0
- package/src/sdk/models/operations/patchaccountingbill.ts +106 -0
- package/src/sdk/models/operations/patchaccountingcreditmemo.ts +108 -0
- package/src/sdk/models/operations/patchaccountingpurchaseorder.ts +111 -0
- package/src/sdk/models/operations/patchaccountingsalesorder.ts +108 -0
- package/src/sdk/models/operations/removeaccountingbill.ts +155 -0
- package/src/sdk/models/operations/removeaccountingcreditmemo.ts +158 -0
- package/src/sdk/models/operations/removeaccountingpurchaseorder.ts +161 -0
- package/src/sdk/models/operations/removeaccountingsalesorder.ts +158 -0
- package/src/sdk/models/operations/updateaccountingbill.ts +108 -0
- package/src/sdk/models/operations/updateaccountingcreditmemo.ts +109 -0
- package/src/sdk/models/operations/updateaccountingpurchaseorder.ts +111 -0
- package/src/sdk/models/operations/updateaccountingsalesorder.ts +109 -0
- package/src/sdk/models/shared/accountingbalancesheet.ts +137 -0
- package/src/sdk/models/shared/accountingbalancesheetitem.ts +29 -29
- package/src/sdk/models/shared/accountingbill.ts +309 -0
- package/src/sdk/models/shared/accountingcreditmemo.ts +325 -0
- package/src/sdk/models/shared/accountinginvoice.ts +25 -17
- package/src/sdk/models/shared/accountingprofitloss.ts +213 -0
- package/src/sdk/models/shared/{accountingprofitandlossaccount.ts → accountingprofitlossaccount.ts} +22 -22
- package/src/sdk/models/shared/accountingprofitlosscategory.ts +94 -0
- package/src/sdk/models/shared/accountingprofitlosssection.ts +99 -0
- package/src/sdk/models/shared/accountingprofitlosssubcategory.ts +88 -0
- package/src/sdk/models/shared/accountingpurchaseorder.ts +216 -0
- package/src/sdk/models/shared/accountingsalesorder.ts +216 -0
- package/src/sdk/models/shared/accountingtrialbalance.ts +137 -0
- package/src/sdk/models/shared/accountingtrialbalancesubitem.ts +22 -22
- package/src/sdk/models/shared/index.ts +15 -4
- package/src/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.ts +23 -23
- package/src/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.ts +120 -0
- package/src/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.ts +121 -0
- package/src/sdk/models/shared/propertyaccountingreportbalancesheet.ts +60 -16
- package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +79 -40
- package/src/sdk/models/shared/propertyaccountingreporttrialbalance.ts +52 -8
- package/src/sdk/models/shared/propertyaccountingsalesorderbillingaddress.ts +117 -0
- package/src/sdk/models/shared/propertyaccountingsalesordershippingaddress.ts +120 -0
- package/src/sdk/profitloss.ts +40 -0
- package/src/sdk/purchaseorder.ts +100 -0
- package/src/sdk/salesorder.ts +100 -0
- package/src/sdk/sdk.ts +42 -0
- package/src/sdk/trialbalance.ts +40 -0
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts +0 -35
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlossaccount.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts +0 -37
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosscategory.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssection.d.ts +0 -36
- package/sdk/models/shared/accountingprofitandlosssection.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssection.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +0 -36
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.js.map +0 -1
- package/src/sdk/models/shared/accountingprofitandlosscategory.ts +0 -96
- package/src/sdk/models/shared/accountingprofitandlosssection.ts +0 -99
- package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +0 -90
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountinginvoice.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountinginvoice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAEL,QAAQ,EAET,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"accountinginvoice.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountinginvoice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAEL,QAAQ,EAET,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,wCAAwC;;;CAG3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,QAAQ,CAC7D,OAAO,wCAAwC,CAChD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;CAQ1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE3E,MAAM,MAAM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
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AccountingInvoice$ = exports.AccountingInvoice$outboundSchema = exports.AccountingInvoice$inboundSchema = exports.AccountingInvoiceType$ = exports.AccountingInvoiceType$outboundSchema = exports.AccountingInvoiceType$inboundSchema = exports.AccountingInvoiceStatus$ = exports.AccountingInvoiceStatus$outboundSchema = exports.AccountingInvoiceStatus$inboundSchema = exports.
|
|
29
|
+
exports.AccountingInvoice$ = exports.AccountingInvoice$outboundSchema = exports.AccountingInvoice$inboundSchema = exports.AccountingInvoiceType$ = exports.AccountingInvoiceType$outboundSchema = exports.AccountingInvoiceType$inboundSchema = exports.AccountingInvoiceStatus$ = exports.AccountingInvoiceStatus$outboundSchema = exports.AccountingInvoiceStatus$inboundSchema = exports.AccountingInvoicePaymentCollectionMethod$ = exports.AccountingInvoicePaymentCollectionMethod$outboundSchema = exports.AccountingInvoicePaymentCollectionMethod$inboundSchema = exports.AccountingInvoiceType = exports.AccountingInvoiceStatus = exports.AccountingInvoicePaymentCollectionMethod = void 0;
|
|
30
30
|
exports.accountingInvoiceToJSON = accountingInvoiceToJSON;
|
|
31
31
|
exports.accountingInvoiceFromJSON = accountingInvoiceFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
@@ -35,7 +35,7 @@ const schemas_js_1 = require("../../../lib/schemas.js");
|
|
|
35
35
|
const enums_js_1 = require("../../types/enums.js");
|
|
36
36
|
const accountingattachment_js_1 = require("./accountingattachment.js");
|
|
37
37
|
const accountinglineitem_js_1 = require("./accountinglineitem.js");
|
|
38
|
-
exports.
|
|
38
|
+
exports.AccountingInvoicePaymentCollectionMethod = {
|
|
39
39
|
SendInvoice: "send_invoice",
|
|
40
40
|
ChargeAutomatically: "charge_automatically",
|
|
41
41
|
};
|
|
@@ -54,27 +54,27 @@ exports.AccountingInvoiceType = {
|
|
|
54
54
|
Creditmemo: "CREDITMEMO",
|
|
55
55
|
};
|
|
56
56
|
/** @internal */
|
|
57
|
-
exports.
|
|
57
|
+
exports.AccountingInvoicePaymentCollectionMethod$inboundSchema = z
|
|
58
58
|
.union([
|
|
59
|
-
z.nativeEnum(exports.
|
|
59
|
+
z.nativeEnum(exports.AccountingInvoicePaymentCollectionMethod),
|
|
60
60
|
z.string().transform(enums_js_1.catchUnrecognizedEnum),
|
|
61
61
|
]);
|
|
62
62
|
/** @internal */
|
|
63
|
-
exports.
|
|
64
|
-
z.nativeEnum(exports.
|
|
63
|
+
exports.AccountingInvoicePaymentCollectionMethod$outboundSchema = z.union([
|
|
64
|
+
z.nativeEnum(exports.AccountingInvoicePaymentCollectionMethod),
|
|
65
65
|
z.string().and(z.custom()),
|
|
66
66
|
]);
|
|
67
67
|
/**
|
|
68
68
|
* @internal
|
|
69
69
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
70
70
|
*/
|
|
71
|
-
var
|
|
72
|
-
(function (
|
|
73
|
-
/** @deprecated use `
|
|
74
|
-
|
|
75
|
-
/** @deprecated use `
|
|
76
|
-
|
|
77
|
-
})(
|
|
71
|
+
var AccountingInvoicePaymentCollectionMethod$;
|
|
72
|
+
(function (AccountingInvoicePaymentCollectionMethod$) {
|
|
73
|
+
/** @deprecated use `AccountingInvoicePaymentCollectionMethod$inboundSchema` instead. */
|
|
74
|
+
AccountingInvoicePaymentCollectionMethod$.inboundSchema = exports.AccountingInvoicePaymentCollectionMethod$inboundSchema;
|
|
75
|
+
/** @deprecated use `AccountingInvoicePaymentCollectionMethod$outboundSchema` instead. */
|
|
76
|
+
AccountingInvoicePaymentCollectionMethod$.outboundSchema = exports.AccountingInvoicePaymentCollectionMethod$outboundSchema;
|
|
77
|
+
})(AccountingInvoicePaymentCollectionMethod$ || (exports.AccountingInvoicePaymentCollectionMethod$ = AccountingInvoicePaymentCollectionMethod$ = {}));
|
|
78
78
|
/** @internal */
|
|
79
79
|
exports.AccountingInvoiceStatus$inboundSchema = z
|
|
80
80
|
.union([
|
|
@@ -140,7 +140,7 @@ exports.AccountingInvoice$inboundSchema = z.object({
|
|
|
140
140
|
paid_amount: z.number().optional(),
|
|
141
141
|
paid_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
|
-
payment_collection_method: exports.
|
|
143
|
+
payment_collection_method: exports.AccountingInvoicePaymentCollectionMethod$inboundSchema.optional(),
|
|
144
144
|
posted_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
145
145
|
.optional(),
|
|
146
146
|
raw: z.record(z.any()).optional(),
|
|
@@ -195,7 +195,7 @@ exports.AccountingInvoice$outboundSchema = z.object({
|
|
|
195
195
|
notes: z.string().optional(),
|
|
196
196
|
paidAmount: z.number().optional(),
|
|
197
197
|
paidAt: z.date().transform(v => v.toISOString()).optional(),
|
|
198
|
-
paymentCollectionMethod: exports.
|
|
198
|
+
paymentCollectionMethod: exports.AccountingInvoicePaymentCollectionMethod$outboundSchema.optional(),
|
|
199
199
|
postedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
200
200
|
raw: z.record(z.any()).optional(),
|
|
201
201
|
refundAmount: z.number().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountinginvoice.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountinginvoice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"accountinginvoice.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountinginvoice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAgWH,0DAMC;AAED,8DAQC;AA9WD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AACpD,mDAI8B;AAG9B,uEAKmC;AACnC,mEAKiC;AAEpB,QAAA,wCAAwC,GAAG;IACtD,WAAW,EAAE,cAAc;IAC3B,mBAAmB,EAAE,sBAAsB;CACnC,CAAC;AAKE,QAAA,uBAAuB,GA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BAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AccountingProfitlossCategory, AccountingProfitlossCategory$Outbound } from "./accountingprofitlosscategory.js";
|
|
5
|
+
import { AccountingProfitlossSection, AccountingProfitlossSection$Outbound } from "./accountingprofitlosssection.js";
|
|
6
|
+
export type AccountingProfitloss = {
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated
|
|
9
|
+
*/
|
|
10
|
+
costOfGoodsSold?: Array<AccountingProfitlossCategory> | undefined;
|
|
11
|
+
costOfGoodsSoldSections?: Array<AccountingProfitlossSection> | undefined;
|
|
12
|
+
costOfGoodsSoldTotalAmount?: number | undefined;
|
|
13
|
+
createdAt?: Date | undefined;
|
|
14
|
+
currency?: string | undefined;
|
|
15
|
+
endAt?: Date | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated
|
|
18
|
+
*/
|
|
19
|
+
expenses?: Array<AccountingProfitlossCategory> | undefined;
|
|
20
|
+
expensesSections?: Array<AccountingProfitlossSection> | undefined;
|
|
21
|
+
expensesTotalAmount?: number | undefined;
|
|
22
|
+
grossProfitAmount?: number | undefined;
|
|
23
|
+
id?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated
|
|
26
|
+
*/
|
|
27
|
+
income?: Array<AccountingProfitlossCategory> | undefined;
|
|
28
|
+
incomeSections?: Array<AccountingProfitlossSection> | undefined;
|
|
29
|
+
incomeTotalAmount?: number | undefined;
|
|
30
|
+
name?: string | undefined;
|
|
31
|
+
netIncomeAmount?: number | undefined;
|
|
32
|
+
netProfitAmount?: number | undefined;
|
|
33
|
+
raw?: {
|
|
34
|
+
[k: string]: any;
|
|
35
|
+
} | undefined;
|
|
36
|
+
startAt?: Date | undefined;
|
|
37
|
+
updatedAt?: Date | undefined;
|
|
38
|
+
};
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const AccountingProfitloss$inboundSchema: z.ZodType<AccountingProfitloss, z.ZodTypeDef, unknown>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type AccountingProfitloss$Outbound = {
|
|
43
|
+
cost_of_goods_sold?: Array<AccountingProfitlossCategory$Outbound> | undefined;
|
|
44
|
+
cost_of_goods_sold_sections?: Array<AccountingProfitlossSection$Outbound> | undefined;
|
|
45
|
+
cost_of_goods_sold_total_amount?: number | undefined;
|
|
46
|
+
created_at?: string | undefined;
|
|
47
|
+
currency?: string | undefined;
|
|
48
|
+
end_at?: string | undefined;
|
|
49
|
+
expenses?: Array<AccountingProfitlossCategory$Outbound> | undefined;
|
|
50
|
+
expenses_sections?: Array<AccountingProfitlossSection$Outbound> | undefined;
|
|
51
|
+
expenses_total_amount?: number | undefined;
|
|
52
|
+
gross_profit_amount?: number | undefined;
|
|
53
|
+
id?: string | undefined;
|
|
54
|
+
income?: Array<AccountingProfitlossCategory$Outbound> | undefined;
|
|
55
|
+
income_sections?: Array<AccountingProfitlossSection$Outbound> | undefined;
|
|
56
|
+
income_total_amount?: number | undefined;
|
|
57
|
+
name?: string | undefined;
|
|
58
|
+
net_income_amount?: number | undefined;
|
|
59
|
+
net_profit_amount?: number | undefined;
|
|
60
|
+
raw?: {
|
|
61
|
+
[k: string]: any;
|
|
62
|
+
} | undefined;
|
|
63
|
+
start_at?: string | undefined;
|
|
64
|
+
updated_at?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
/** @internal */
|
|
67
|
+
export declare const AccountingProfitloss$outboundSchema: z.ZodType<AccountingProfitloss$Outbound, z.ZodTypeDef, AccountingProfitloss>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
+
*/
|
|
72
|
+
export declare namespace AccountingProfitloss$ {
|
|
73
|
+
/** @deprecated use `AccountingProfitloss$inboundSchema` instead. */
|
|
74
|
+
const inboundSchema: z.ZodType<AccountingProfitloss, z.ZodTypeDef, unknown>;
|
|
75
|
+
/** @deprecated use `AccountingProfitloss$outboundSchema` instead. */
|
|
76
|
+
const outboundSchema: z.ZodType<AccountingProfitloss$Outbound, z.ZodTypeDef, AccountingProfitloss>;
|
|
77
|
+
/** @deprecated use `AccountingProfitloss$Outbound` instead. */
|
|
78
|
+
type Outbound = AccountingProfitloss$Outbound;
|
|
79
|
+
}
|
|
80
|
+
export declare function accountingProfitlossToJSON(accountingProfitloss: AccountingProfitloss): string;
|
|
81
|
+
export declare function accountingProfitlossFromJSON(jsonString: string): SafeParseResult<AccountingProfitloss, SDKValidationError>;
|
|
82
|
+
//# sourceMappingURL=accountingprofitloss.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingprofitloss.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountingprofitloss.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAA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AAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CA2CpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.AccountingProfitloss$ = exports.AccountingProfitloss$outboundSchema = exports.AccountingProfitloss$inboundSchema = void 0;
|
|
30
|
+
exports.accountingProfitlossToJSON = accountingProfitlossToJSON;
|
|
31
|
+
exports.accountingProfitlossFromJSON = accountingProfitlossFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const primitives_js_1 = require("../../../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../../../lib/schemas.js");
|
|
35
|
+
const accountingprofitlosscategory_js_1 = require("./accountingprofitlosscategory.js");
|
|
36
|
+
const accountingprofitlosssection_js_1 = require("./accountingprofitlosssection.js");
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.AccountingProfitloss$inboundSchema = z.object({
|
|
39
|
+
cost_of_goods_sold: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$inboundSchema)
|
|
40
|
+
.optional(),
|
|
41
|
+
cost_of_goods_sold_sections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$inboundSchema).optional(),
|
|
42
|
+
cost_of_goods_sold_total_amount: z.number().optional(),
|
|
43
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
44
|
+
.optional(),
|
|
45
|
+
currency: z.string().optional(),
|
|
46
|
+
end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
47
|
+
.optional(),
|
|
48
|
+
expenses: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$inboundSchema).optional(),
|
|
49
|
+
expenses_sections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$inboundSchema)
|
|
50
|
+
.optional(),
|
|
51
|
+
expenses_total_amount: z.number().optional(),
|
|
52
|
+
gross_profit_amount: z.number().optional(),
|
|
53
|
+
id: z.string().optional(),
|
|
54
|
+
income: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$inboundSchema).optional(),
|
|
55
|
+
income_sections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$inboundSchema)
|
|
56
|
+
.optional(),
|
|
57
|
+
income_total_amount: z.number().optional(),
|
|
58
|
+
name: z.string().optional(),
|
|
59
|
+
net_income_amount: z.number().optional(),
|
|
60
|
+
net_profit_amount: z.number().optional(),
|
|
61
|
+
raw: z.record(z.any()).optional(),
|
|
62
|
+
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
63
|
+
.optional(),
|
|
64
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
|
+
.optional(),
|
|
66
|
+
}).transform((v) => {
|
|
67
|
+
return (0, primitives_js_1.remap)(v, {
|
|
68
|
+
"cost_of_goods_sold": "costOfGoodsSold",
|
|
69
|
+
"cost_of_goods_sold_sections": "costOfGoodsSoldSections",
|
|
70
|
+
"cost_of_goods_sold_total_amount": "costOfGoodsSoldTotalAmount",
|
|
71
|
+
"created_at": "createdAt",
|
|
72
|
+
"end_at": "endAt",
|
|
73
|
+
"expenses_sections": "expensesSections",
|
|
74
|
+
"expenses_total_amount": "expensesTotalAmount",
|
|
75
|
+
"gross_profit_amount": "grossProfitAmount",
|
|
76
|
+
"income_sections": "incomeSections",
|
|
77
|
+
"income_total_amount": "incomeTotalAmount",
|
|
78
|
+
"net_income_amount": "netIncomeAmount",
|
|
79
|
+
"net_profit_amount": "netProfitAmount",
|
|
80
|
+
"start_at": "startAt",
|
|
81
|
+
"updated_at": "updatedAt",
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
/** @internal */
|
|
85
|
+
exports.AccountingProfitloss$outboundSchema = z.object({
|
|
86
|
+
costOfGoodsSold: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$outboundSchema)
|
|
87
|
+
.optional(),
|
|
88
|
+
costOfGoodsSoldSections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$outboundSchema)
|
|
89
|
+
.optional(),
|
|
90
|
+
costOfGoodsSoldTotalAmount: z.number().optional(),
|
|
91
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
92
|
+
currency: z.string().optional(),
|
|
93
|
+
endAt: z.date().transform(v => v.toISOString()).optional(),
|
|
94
|
+
expenses: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$outboundSchema).optional(),
|
|
95
|
+
expensesSections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$outboundSchema)
|
|
96
|
+
.optional(),
|
|
97
|
+
expensesTotalAmount: z.number().optional(),
|
|
98
|
+
grossProfitAmount: z.number().optional(),
|
|
99
|
+
id: z.string().optional(),
|
|
100
|
+
income: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$outboundSchema).optional(),
|
|
101
|
+
incomeSections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$outboundSchema)
|
|
102
|
+
.optional(),
|
|
103
|
+
incomeTotalAmount: z.number().optional(),
|
|
104
|
+
name: z.string().optional(),
|
|
105
|
+
netIncomeAmount: z.number().optional(),
|
|
106
|
+
netProfitAmount: z.number().optional(),
|
|
107
|
+
raw: z.record(z.any()).optional(),
|
|
108
|
+
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
109
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
110
|
+
}).transform((v) => {
|
|
111
|
+
return (0, primitives_js_1.remap)(v, {
|
|
112
|
+
costOfGoodsSold: "cost_of_goods_sold",
|
|
113
|
+
costOfGoodsSoldSections: "cost_of_goods_sold_sections",
|
|
114
|
+
costOfGoodsSoldTotalAmount: "cost_of_goods_sold_total_amount",
|
|
115
|
+
createdAt: "created_at",
|
|
116
|
+
endAt: "end_at",
|
|
117
|
+
expensesSections: "expenses_sections",
|
|
118
|
+
expensesTotalAmount: "expenses_total_amount",
|
|
119
|
+
grossProfitAmount: "gross_profit_amount",
|
|
120
|
+
incomeSections: "income_sections",
|
|
121
|
+
incomeTotalAmount: "income_total_amount",
|
|
122
|
+
netIncomeAmount: "net_income_amount",
|
|
123
|
+
netProfitAmount: "net_profit_amount",
|
|
124
|
+
startAt: "start_at",
|
|
125
|
+
updatedAt: "updated_at",
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
131
|
+
*/
|
|
132
|
+
var AccountingProfitloss$;
|
|
133
|
+
(function (AccountingProfitloss$) {
|
|
134
|
+
/** @deprecated use `AccountingProfitloss$inboundSchema` instead. */
|
|
135
|
+
AccountingProfitloss$.inboundSchema = exports.AccountingProfitloss$inboundSchema;
|
|
136
|
+
/** @deprecated use `AccountingProfitloss$outboundSchema` instead. */
|
|
137
|
+
AccountingProfitloss$.outboundSchema = exports.AccountingProfitloss$outboundSchema;
|
|
138
|
+
})(AccountingProfitloss$ || (exports.AccountingProfitloss$ = AccountingProfitloss$ = {}));
|
|
139
|
+
function accountingProfitlossToJSON(accountingProfitloss) {
|
|
140
|
+
return JSON.stringify(exports.AccountingProfitloss$outboundSchema.parse(accountingProfitloss));
|
|
141
|
+
}
|
|
142
|
+
function accountingProfitlossFromJSON(jsonString) {
|
|
143
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingProfitloss$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingProfitloss' from JSON`);
|
|
144
|
+
}
|
|
145
|
+
//# sourceMappingURL=accountingprofitloss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingprofitloss.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountingprofitloss.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkMH,gEAMC;AAED,oEAQC;AAhND,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,uFAK2C;AAC3C,qFAK0C;AAkC1C,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,4EAA0C,CAAC;SACpE,QAAQ,EAAE;IACb,2BAA2B,EAAE,CAAC,CAAC,KAAK,CAClC,0EAAyC,CAC1C,CAAC,QAAQ,EAAE;IACZ,+BAA+B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SAC1E,QAAQ,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SACtE,QAAQ,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,4EAA0C,CAAC,CAAC,QAAQ,EAAE;IACxE,iBAAiB,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,qBAAqB;QACxC,cAAc,EAAE,iBAAiB;QACjC,iBAAiB,EAAE,qBAAqB;QACxC,eAAe,EAAE,mBAAmB;QACpC,eAAe,EAAE,mBAAmB;QACpC,OAAO,EAAE,UAAU;QACnB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type AccountingProfitlossAccount = {
|
|
5
|
+
accountId?: string | undefined;
|
|
6
|
+
accountName?: string | undefined;
|
|
7
|
+
totalAmount?: number | undefined;
|
|
8
|
+
transactionIds?: Array<string> | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const AccountingProfitlossAccount$inboundSchema: z.ZodType<AccountingProfitlossAccount, z.ZodTypeDef, unknown>;
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type AccountingProfitlossAccount$Outbound = {
|
|
14
|
+
account_id?: string | undefined;
|
|
15
|
+
account_name?: string | undefined;
|
|
16
|
+
total_amount?: number | undefined;
|
|
17
|
+
transaction_ids?: Array<string> | undefined;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const AccountingProfitlossAccount$outboundSchema: z.ZodType<AccountingProfitlossAccount$Outbound, z.ZodTypeDef, AccountingProfitlossAccount>;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
+
*/
|
|
25
|
+
export declare namespace AccountingProfitlossAccount$ {
|
|
26
|
+
/** @deprecated use `AccountingProfitlossAccount$inboundSchema` instead. */
|
|
27
|
+
const inboundSchema: z.ZodType<AccountingProfitlossAccount, z.ZodTypeDef, unknown>;
|
|
28
|
+
/** @deprecated use `AccountingProfitlossAccount$outboundSchema` instead. */
|
|
29
|
+
const outboundSchema: z.ZodType<AccountingProfitlossAccount$Outbound, z.ZodTypeDef, AccountingProfitlossAccount>;
|
|
30
|
+
/** @deprecated use `AccountingProfitlossAccount$Outbound` instead. */
|
|
31
|
+
type Outbound = AccountingProfitlossAccount$Outbound;
|
|
32
|
+
}
|
|
33
|
+
export declare function accountingProfitlossAccountToJSON(accountingProfitlossAccount: AccountingProfitlossAccount): string;
|
|
34
|
+
export declare function accountingProfitlossAccountFromJSON(jsonString: string): SafeParseResult<AccountingProfitlossAccount, SDKValidationError>;
|
|
35
|
+
//# sourceMappingURL=accountingprofitlossaccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingprofitlossaccount.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountingprofitlossaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAk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ossaccount.js}
RENAMED
|
@@ -26,14 +26,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.AccountingProfitlossAccount$ = exports.AccountingProfitlossAccount$outboundSchema = exports.AccountingProfitlossAccount$inboundSchema = void 0;
|
|
30
|
+
exports.accountingProfitlossAccountToJSON = accountingProfitlossAccountToJSON;
|
|
31
|
+
exports.accountingProfitlossAccountFromJSON = accountingProfitlossAccountFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../../lib/schemas.js");
|
|
35
35
|
/** @internal */
|
|
36
|
-
exports.
|
|
36
|
+
exports.AccountingProfitlossAccount$inboundSchema = z.object({
|
|
37
37
|
account_id: z.string().optional(),
|
|
38
38
|
account_name: z.string().optional(),
|
|
39
39
|
total_amount: z.number().optional(),
|
|
@@ -47,7 +47,7 @@ exports.AccountingProfitAndLossAccount$inboundSchema = z.object({
|
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
49
|
/** @internal */
|
|
50
|
-
exports.
|
|
50
|
+
exports.AccountingProfitlossAccount$outboundSchema = z.object({
|
|
51
51
|
accountId: z.string().optional(),
|
|
52
52
|
accountName: z.string().optional(),
|
|
53
53
|
totalAmount: z.number().optional(),
|
|
@@ -64,17 +64,17 @@ exports.AccountingProfitAndLossAccount$outboundSchema = z.object({
|
|
|
64
64
|
* @internal
|
|
65
65
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
66
|
*/
|
|
67
|
-
var
|
|
68
|
-
(function (
|
|
69
|
-
/** @deprecated use `
|
|
70
|
-
|
|
71
|
-
/** @deprecated use `
|
|
72
|
-
|
|
73
|
-
})(
|
|
74
|
-
function
|
|
75
|
-
return JSON.stringify(exports.
|
|
67
|
+
var AccountingProfitlossAccount$;
|
|
68
|
+
(function (AccountingProfitlossAccount$) {
|
|
69
|
+
/** @deprecated use `AccountingProfitlossAccount$inboundSchema` instead. */
|
|
70
|
+
AccountingProfitlossAccount$.inboundSchema = exports.AccountingProfitlossAccount$inboundSchema;
|
|
71
|
+
/** @deprecated use `AccountingProfitlossAccount$outboundSchema` instead. */
|
|
72
|
+
AccountingProfitlossAccount$.outboundSchema = exports.AccountingProfitlossAccount$outboundSchema;
|
|
73
|
+
})(AccountingProfitlossAccount$ || (exports.AccountingProfitlossAccount$ = AccountingProfitlossAccount$ = {}));
|
|
74
|
+
function accountingProfitlossAccountToJSON(accountingProfitlossAccount) {
|
|
75
|
+
return JSON.stringify(exports.AccountingProfitlossAccount$outboundSchema.parse(accountingProfitlossAccount));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
77
|
+
function accountingProfitlossAccountFromJSON(jsonString) {
|
|
78
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingProfitlossAccount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingProfitlossAccount' from JSON`);
|
|
79
79
|
}
|
|
80
|
-
//# sourceMappingURL=
|
|
80
|
+
//# sourceMappingURL=accountingprofitlossaccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingprofitlossaccount.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountingprofitlossaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EH,8EAQC;AAED,kFAQC;AA1FD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAWpD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,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4B,QAO5C;AAED,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AccountingProfitlossSubcategory, AccountingProfitlossSubcategory$Outbound } from "./accountingprofitlosssubcategory.js";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
8
|
+
export type AccountingProfitlossCategory = {
|
|
9
|
+
amount?: number | undefined;
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
subItems?: Array<AccountingProfitlossSubcategory> | undefined;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const AccountingProfitlossCategory$inboundSchema: z.ZodType<AccountingProfitlossCategory, z.ZodTypeDef, unknown>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type AccountingProfitlossCategory$Outbound = {
|
|
17
|
+
amount?: number | undefined;
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
sub_items?: Array<AccountingProfitlossSubcategory$Outbound> | undefined;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const AccountingProfitlossCategory$outboundSchema: z.ZodType<AccountingProfitlossCategory$Outbound, z.ZodTypeDef, AccountingProfitlossCategory>;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
+
*/
|
|
27
|
+
export declare namespace AccountingProfitlossCategory$ {
|
|
28
|
+
/** @deprecated use `AccountingProfitlossCategory$inboundSchema` instead. */
|
|
29
|
+
const inboundSchema: z.ZodType<AccountingProfitlossCategory, z.ZodTypeDef, unknown>;
|
|
30
|
+
/** @deprecated use `AccountingProfitlossCategory$outboundSchema` instead. */
|
|
31
|
+
const outboundSchema: z.ZodType<AccountingProfitlossCategory$Outbound, z.ZodTypeDef, AccountingProfitlossCategory>;
|
|
32
|
+
/** @deprecated use `AccountingProfitlossCategory$Outbound` instead. */
|
|
33
|
+
type Outbound = AccountingProfitlossCategory$Outbound;
|
|
34
|
+
}
|
|
35
|
+
export declare function accountingProfitlossCategoryToJSON(accountingProfitlossCategory: AccountingProfitlossCategory): string;
|
|
36
|
+
export declare function accountingProfitlossCategoryFromJSON(jsonString: string): SafeParseResult<AccountingProfitlossCategory, SDKValidationError>;
|
|
37
|
+
//# sourceMappingURL=accountingprofitlosscategory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingprofitlosscategory.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountingprofitlosscategory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,+BAA+B,EAE/B,wCAAwC,EAEzC,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,GAAG,SAAS,CAAC;CACzE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAS5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D;AAED,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
package/sdk/models/shared/{accountingprofitandlosscategory.js → accountingprofitlosscategory.js}
RENAMED
|
@@ -26,30 +26,28 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.AccountingProfitlossCategory$ = exports.AccountingProfitlossCategory$outboundSchema = exports.AccountingProfitlossCategory$inboundSchema = void 0;
|
|
30
|
+
exports.accountingProfitlossCategoryToJSON = accountingProfitlossCategoryToJSON;
|
|
31
|
+
exports.accountingProfitlossCategoryFromJSON = accountingProfitlossCategoryFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../../lib/schemas.js");
|
|
35
|
-
const
|
|
35
|
+
const accountingprofitlosssubcategory_js_1 = require("./accountingprofitlosssubcategory.js");
|
|
36
36
|
/** @internal */
|
|
37
|
-
exports.
|
|
37
|
+
exports.AccountingProfitlossCategory$inboundSchema = z.object({
|
|
38
38
|
amount: z.number().optional(),
|
|
39
39
|
name: z.string().optional(),
|
|
40
|
-
sub_items: z.array(
|
|
41
|
-
.optional(),
|
|
40
|
+
sub_items: z.array(accountingprofitlosssubcategory_js_1.AccountingProfitlossSubcategory$inboundSchema).optional(),
|
|
42
41
|
}).transform((v) => {
|
|
43
42
|
return (0, primitives_js_1.remap)(v, {
|
|
44
43
|
"sub_items": "subItems",
|
|
45
44
|
});
|
|
46
45
|
});
|
|
47
46
|
/** @internal */
|
|
48
|
-
exports.
|
|
47
|
+
exports.AccountingProfitlossCategory$outboundSchema = z.object({
|
|
49
48
|
amount: z.number().optional(),
|
|
50
49
|
name: z.string().optional(),
|
|
51
|
-
subItems: z.array(
|
|
52
|
-
.optional(),
|
|
50
|
+
subItems: z.array(accountingprofitlosssubcategory_js_1.AccountingProfitlossSubcategory$outboundSchema).optional(),
|
|
53
51
|
}).transform((v) => {
|
|
54
52
|
return (0, primitives_js_1.remap)(v, {
|
|
55
53
|
subItems: "sub_items",
|
|
@@ -59,17 +57,17 @@ exports.AccountingProfitAndLossCategory$outboundSchema = z.object({
|
|
|
59
57
|
* @internal
|
|
60
58
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
59
|
*/
|
|
62
|
-
var
|
|
63
|
-
(function (
|
|
64
|
-
/** @deprecated use `
|
|
65
|
-
|
|
66
|
-
/** @deprecated use `
|
|
67
|
-
|
|
68
|
-
})(
|
|
69
|
-
function
|
|
70
|
-
return JSON.stringify(exports.
|
|
60
|
+
var AccountingProfitlossCategory$;
|
|
61
|
+
(function (AccountingProfitlossCategory$) {
|
|
62
|
+
/** @deprecated use `AccountingProfitlossCategory$inboundSchema` instead. */
|
|
63
|
+
AccountingProfitlossCategory$.inboundSchema = exports.AccountingProfitlossCategory$inboundSchema;
|
|
64
|
+
/** @deprecated use `AccountingProfitlossCategory$outboundSchema` instead. */
|
|
65
|
+
AccountingProfitlossCategory$.outboundSchema = exports.AccountingProfitlossCategory$outboundSchema;
|
|
66
|
+
})(AccountingProfitlossCategory$ || (exports.AccountingProfitlossCategory$ = AccountingProfitlossCategory$ = {}));
|
|
67
|
+
function accountingProfitlossCategoryToJSON(accountingProfitlossCategory) {
|
|
68
|
+
return JSON.stringify(exports.AccountingProfitlossCategory$outboundSchema.parse(accountingProfitlossCategory));
|
|
71
69
|
}
|
|
72
|
-
function
|
|
73
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
70
|
+
function accountingProfitlossCategoryFromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingProfitlossCategory$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingProfitlossCategory' from JSON`);
|
|
74
72
|
}
|
|
75
|
-
//# sourceMappingURL=
|
|
73
|
+
//# sourceMappingURL=accountingprofitlosscategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingprofitlosscategory.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/accountingprofitlosscategory.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEH,gFAQC;AAED,oFAQC;AAzFD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,6FAK8C;AAW9C,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;I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