@unified-api/typescript-sdk 2.73.5 → 2.73.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -0
- package/bin/mcp-server.js +9519 -3972
- package/bin/mcp-server.js.map +121 -20
- package/docs/sdks/accounting/README.md +2759 -387
- package/docs/sdks/balancesheet/README.md +163 -0
- package/docs/sdks/bill/README.md +483 -0
- package/docs/sdks/creditmemo/README.md +483 -0
- package/docs/sdks/profitloss/README.md +163 -0
- package/docs/sdks/purchaseorder/README.md +483 -0
- package/docs/sdks/salesorder/README.md +483 -0
- package/docs/sdks/trialbalance/README.md +163 -0
- package/examples/README.md +26 -0
- package/examples/accountingCreateAccountingAccount.example.ts +29 -0
- package/examples/package-lock.json +626 -0
- package/examples/package.json +18 -0
- package/funcs/accountingCreateAccountingBill.d.ts +15 -0
- package/funcs/accountingCreateAccountingBill.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingBill.js +112 -0
- package/funcs/accountingCreateAccountingBill.js.map +1 -0
- package/funcs/accountingCreateAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingCreateAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingCreditmemo.js +114 -0
- package/funcs/accountingCreateAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingCreateAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingCreateAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingPurchaseorder.js +114 -0
- package/funcs/accountingCreateAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingCreateAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingCreateAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingCreateAccountingSalesorder.js +114 -0
- package/funcs/accountingCreateAccountingSalesorder.js.map +1 -0
- package/funcs/accountingGetAccountingBalancesheet.d.ts +15 -0
- package/funcs/accountingGetAccountingBalancesheet.d.ts.map +1 -0
- package/funcs/accountingGetAccountingBalancesheet.js +115 -0
- package/funcs/accountingGetAccountingBalancesheet.js.map +1 -0
- package/funcs/accountingGetAccountingBill.d.ts +15 -0
- package/funcs/accountingGetAccountingBill.d.ts.map +1 -0
- package/funcs/accountingGetAccountingBill.js +115 -0
- package/funcs/accountingGetAccountingBill.js.map +1 -0
- package/funcs/accountingGetAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingGetAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingGetAccountingCreditmemo.js +115 -0
- package/funcs/accountingGetAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingGetAccountingProfitloss.d.ts +15 -0
- package/funcs/accountingGetAccountingProfitloss.d.ts.map +1 -0
- package/funcs/accountingGetAccountingProfitloss.js +115 -0
- package/funcs/accountingGetAccountingProfitloss.js.map +1 -0
- package/funcs/accountingGetAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingGetAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingGetAccountingPurchaseorder.js +115 -0
- package/funcs/accountingGetAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingGetAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingGetAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingGetAccountingSalesorder.js +115 -0
- package/funcs/accountingGetAccountingSalesorder.js.map +1 -0
- package/funcs/accountingGetAccountingTrialbalance.d.ts +15 -0
- package/funcs/accountingGetAccountingTrialbalance.d.ts.map +1 -0
- package/funcs/accountingGetAccountingTrialbalance.js +115 -0
- package/funcs/accountingGetAccountingTrialbalance.js.map +1 -0
- package/funcs/accountingListAccountingBalancesheets.d.ts +15 -0
- package/funcs/accountingListAccountingBalancesheets.d.ts.map +1 -0
- package/funcs/accountingListAccountingBalancesheets.js +120 -0
- package/funcs/accountingListAccountingBalancesheets.js.map +1 -0
- package/funcs/accountingListAccountingBills.d.ts +15 -0
- package/funcs/accountingListAccountingBills.d.ts.map +1 -0
- package/funcs/accountingListAccountingBills.js +120 -0
- package/funcs/accountingListAccountingBills.js.map +1 -0
- package/funcs/accountingListAccountingCreditmemoes.d.ts +15 -0
- package/funcs/accountingListAccountingCreditmemoes.d.ts.map +1 -0
- package/funcs/accountingListAccountingCreditmemoes.js +120 -0
- package/funcs/accountingListAccountingCreditmemoes.js.map +1 -0
- package/funcs/accountingListAccountingProfitlosses.d.ts +15 -0
- package/funcs/accountingListAccountingProfitlosses.d.ts.map +1 -0
- package/funcs/accountingListAccountingProfitlosses.js +120 -0
- package/funcs/accountingListAccountingProfitlosses.js.map +1 -0
- package/funcs/accountingListAccountingPurchaseorders.d.ts +15 -0
- package/funcs/accountingListAccountingPurchaseorders.d.ts.map +1 -0
- package/funcs/accountingListAccountingPurchaseorders.js +119 -0
- package/funcs/accountingListAccountingPurchaseorders.js.map +1 -0
- package/funcs/accountingListAccountingSalesorders.d.ts +15 -0
- package/funcs/accountingListAccountingSalesorders.d.ts.map +1 -0
- package/funcs/accountingListAccountingSalesorders.js +119 -0
- package/funcs/accountingListAccountingSalesorders.js.map +1 -0
- package/funcs/accountingListAccountingTrialbalances.d.ts +15 -0
- package/funcs/accountingListAccountingTrialbalances.d.ts.map +1 -0
- package/funcs/accountingListAccountingTrialbalances.js +120 -0
- package/funcs/accountingListAccountingTrialbalances.js.map +1 -0
- package/funcs/accountingPatchAccountingBill.d.ts +15 -0
- package/funcs/accountingPatchAccountingBill.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingBill.js +116 -0
- package/funcs/accountingPatchAccountingBill.js.map +1 -0
- package/funcs/accountingPatchAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingPatchAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingCreditmemo.js +118 -0
- package/funcs/accountingPatchAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingPatchAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingPatchAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingPurchaseorder.js +118 -0
- package/funcs/accountingPatchAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingPatchAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingPatchAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingPatchAccountingSalesorder.js +118 -0
- package/funcs/accountingPatchAccountingSalesorder.js.map +1 -0
- package/funcs/accountingRemoveAccountingBill.d.ts +14 -0
- package/funcs/accountingRemoveAccountingBill.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingBill.js +112 -0
- package/funcs/accountingRemoveAccountingBill.js.map +1 -0
- package/funcs/accountingRemoveAccountingCreditmemo.d.ts +14 -0
- package/funcs/accountingRemoveAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingCreditmemo.js +112 -0
- package/funcs/accountingRemoveAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.d.ts +14 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.js +112 -0
- package/funcs/accountingRemoveAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingRemoveAccountingSalesorder.d.ts +14 -0
- package/funcs/accountingRemoveAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingRemoveAccountingSalesorder.js +112 -0
- package/funcs/accountingRemoveAccountingSalesorder.js.map +1 -0
- package/funcs/accountingUpdateAccountingBill.d.ts +15 -0
- package/funcs/accountingUpdateAccountingBill.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingBill.js +116 -0
- package/funcs/accountingUpdateAccountingBill.js.map +1 -0
- package/funcs/accountingUpdateAccountingCreditmemo.d.ts +15 -0
- package/funcs/accountingUpdateAccountingCreditmemo.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingCreditmemo.js +118 -0
- package/funcs/accountingUpdateAccountingCreditmemo.js.map +1 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.d.ts +15 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.js +118 -0
- package/funcs/accountingUpdateAccountingPurchaseorder.js.map +1 -0
- package/funcs/accountingUpdateAccountingSalesorder.d.ts +15 -0
- package/funcs/accountingUpdateAccountingSalesorder.d.ts.map +1 -0
- package/funcs/accountingUpdateAccountingSalesorder.js +118 -0
- package/funcs/accountingUpdateAccountingSalesorder.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +61 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/accountingCreateAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingBill.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingCreateAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.js +52 -0
- package/mcp-server/tools/accountingGetAccountingBalancesheet.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingBill.js +52 -0
- package/mcp-server/tools/accountingGetAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingGetAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.js +52 -0
- package/mcp-server/tools/accountingGetAccountingProfitloss.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingGetAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingGetAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.d.ts +8 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.d.ts.map +1 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.js +52 -0
- package/mcp-server/tools/accountingGetAccountingTrialbalance.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.js +52 -0
- package/mcp-server/tools/accountingListAccountingBalancesheets.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingBills.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingBills.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingBills.js +52 -0
- package/mcp-server/tools/accountingListAccountingBills.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.js +52 -0
- package/mcp-server/tools/accountingListAccountingCreditmemoes.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.js +52 -0
- package/mcp-server/tools/accountingListAccountingProfitlosses.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.js +52 -0
- package/mcp-server/tools/accountingListAccountingPurchaseorders.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.js +52 -0
- package/mcp-server/tools/accountingListAccountingSalesorders.js.map +1 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.d.ts +8 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.d.ts.map +1 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.js +52 -0
- package/mcp-server/tools/accountingListAccountingTrialbalances.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingBill.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingPatchAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.js +51 -0
- package/mcp-server/tools/accountingRemoveAccountingSalesorder.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingBill.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingCreditmemo.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingPurchaseorder.js.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.d.ts +8 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.d.ts.map +1 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.js +52 -0
- package/mcp-server/tools/accountingUpdateAccountingSalesorder.js.map +1 -0
- package/package.json +2 -2
- package/sdk/accounting.d.ts +120 -0
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +210 -0
- package/sdk/accounting.js.map +1 -1
- package/sdk/balancesheet.d.ts +14 -0
- package/sdk/balancesheet.d.ts.map +1 -0
- package/sdk/balancesheet.js +26 -0
- package/sdk/balancesheet.js.map +1 -0
- package/sdk/bill.d.ts +30 -0
- package/sdk/bill.d.ts.map +1 -0
- package/sdk/bill.js +54 -0
- package/sdk/bill.js.map +1 -0
- package/sdk/creditmemo.d.ts +30 -0
- package/sdk/creditmemo.d.ts.map +1 -0
- package/sdk/creditmemo.js +54 -0
- package/sdk/creditmemo.js.map +1 -0
- package/sdk/models/operations/createaccountingbill.d.ts +45 -0
- package/sdk/models/operations/createaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingbill.js +77 -0
- package/sdk/models/operations/createaccountingbill.js.map +1 -0
- package/sdk/models/operations/createaccountingcreditmemo.d.ts +45 -0
- package/sdk/models/operations/createaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingcreditmemo.js +77 -0
- package/sdk/models/operations/createaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/createaccountingpurchaseorder.d.ts +45 -0
- package/sdk/models/operations/createaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingpurchaseorder.js +77 -0
- package/sdk/models/operations/createaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/createaccountingsalesorder.d.ts +45 -0
- package/sdk/models/operations/createaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/createaccountingsalesorder.js +77 -0
- package/sdk/models/operations/createaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/getaccountingbalancesheet.d.ts +47 -0
- package/sdk/models/operations/getaccountingbalancesheet.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingbalancesheet.js +74 -0
- package/sdk/models/operations/getaccountingbalancesheet.js.map +1 -0
- package/sdk/models/operations/getaccountingbill.d.ts +47 -0
- package/sdk/models/operations/getaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingbill.js +74 -0
- package/sdk/models/operations/getaccountingbill.js.map +1 -0
- package/sdk/models/operations/getaccountingcreditmemo.d.ts +47 -0
- package/sdk/models/operations/getaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingcreditmemo.js +74 -0
- package/sdk/models/operations/getaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/getaccountingprofitloss.d.ts +47 -0
- package/sdk/models/operations/getaccountingprofitloss.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingprofitloss.js +74 -0
- package/sdk/models/operations/getaccountingprofitloss.js.map +1 -0
- package/sdk/models/operations/getaccountingpurchaseorder.d.ts +47 -0
- package/sdk/models/operations/getaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingpurchaseorder.js +74 -0
- package/sdk/models/operations/getaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/getaccountingsalesorder.d.ts +47 -0
- package/sdk/models/operations/getaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingsalesorder.js +74 -0
- package/sdk/models/operations/getaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/getaccountingtrialbalance.d.ts +47 -0
- package/sdk/models/operations/getaccountingtrialbalance.d.ts.map +1 -0
- package/sdk/models/operations/getaccountingtrialbalance.js +74 -0
- package/sdk/models/operations/getaccountingtrialbalance.js.map +1 -0
- package/sdk/models/operations/index.d.ts +30 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +30 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listaccountingbalancesheets.d.ts +70 -0
- package/sdk/models/operations/listaccountingbalancesheets.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingbalancesheets.js +94 -0
- package/sdk/models/operations/listaccountingbalancesheets.js.map +1 -0
- package/sdk/models/operations/listaccountingbills.d.ts +70 -0
- package/sdk/models/operations/listaccountingbills.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingbills.js +94 -0
- package/sdk/models/operations/listaccountingbills.js.map +1 -0
- package/sdk/models/operations/listaccountingcreditmemoes.d.ts +70 -0
- package/sdk/models/operations/listaccountingcreditmemoes.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingcreditmemoes.js +94 -0
- package/sdk/models/operations/listaccountingcreditmemoes.js.map +1 -0
- package/sdk/models/operations/listaccountingprofitlosses.d.ts +70 -0
- package/sdk/models/operations/listaccountingprofitlosses.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingprofitlosses.js +94 -0
- package/sdk/models/operations/listaccountingprofitlosses.js.map +1 -0
- package/sdk/models/operations/listaccountingpurchaseorders.d.ts +65 -0
- package/sdk/models/operations/listaccountingpurchaseorders.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingpurchaseorders.js +90 -0
- package/sdk/models/operations/listaccountingpurchaseorders.js.map +1 -0
- package/sdk/models/operations/listaccountingsalesorders.d.ts +65 -0
- package/sdk/models/operations/listaccountingsalesorders.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingsalesorders.js +90 -0
- package/sdk/models/operations/listaccountingsalesorders.js.map +1 -0
- package/sdk/models/operations/listaccountingtrialbalances.d.ts +70 -0
- package/sdk/models/operations/listaccountingtrialbalances.d.ts.map +1 -0
- package/sdk/models/operations/listaccountingtrialbalances.js +94 -0
- package/sdk/models/operations/listaccountingtrialbalances.js.map +1 -0
- package/sdk/models/operations/patchaccountingbill.d.ts +50 -0
- package/sdk/models/operations/patchaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingbill.js +79 -0
- package/sdk/models/operations/patchaccountingbill.js.map +1 -0
- package/sdk/models/operations/patchaccountingcreditmemo.d.ts +50 -0
- package/sdk/models/operations/patchaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingcreditmemo.js +79 -0
- package/sdk/models/operations/patchaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.d.ts +50 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.js +79 -0
- package/sdk/models/operations/patchaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/patchaccountingsalesorder.d.ts +50 -0
- package/sdk/models/operations/patchaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/patchaccountingsalesorder.js +79 -0
- package/sdk/models/operations/patchaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/removeaccountingbill.d.ts +66 -0
- package/sdk/models/operations/removeaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingbill.js +105 -0
- package/sdk/models/operations/removeaccountingbill.js.map +1 -0
- package/sdk/models/operations/removeaccountingcreditmemo.d.ts +66 -0
- package/sdk/models/operations/removeaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingcreditmemo.js +105 -0
- package/sdk/models/operations/removeaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.d.ts +66 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.js +105 -0
- package/sdk/models/operations/removeaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/removeaccountingsalesorder.d.ts +66 -0
- package/sdk/models/operations/removeaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/removeaccountingsalesorder.js +105 -0
- package/sdk/models/operations/removeaccountingsalesorder.js.map +1 -0
- package/sdk/models/operations/updateaccountingbill.d.ts +50 -0
- package/sdk/models/operations/updateaccountingbill.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingbill.js +79 -0
- package/sdk/models/operations/updateaccountingbill.js.map +1 -0
- package/sdk/models/operations/updateaccountingcreditmemo.d.ts +50 -0
- package/sdk/models/operations/updateaccountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingcreditmemo.js +79 -0
- package/sdk/models/operations/updateaccountingcreditmemo.js.map +1 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.d.ts +50 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.js +79 -0
- package/sdk/models/operations/updateaccountingpurchaseorder.js.map +1 -0
- package/sdk/models/operations/updateaccountingsalesorder.d.ts +50 -0
- package/sdk/models/operations/updateaccountingsalesorder.d.ts.map +1 -0
- package/sdk/models/operations/updateaccountingsalesorder.js +79 -0
- package/sdk/models/operations/updateaccountingsalesorder.js.map +1 -0
- package/sdk/models/shared/accountingbalancesheet.d.ts +56 -0
- package/sdk/models/shared/accountingbalancesheet.d.ts.map +1 -0
- package/sdk/models/shared/accountingbalancesheet.js +103 -0
- package/sdk/models/shared/accountingbalancesheet.js.map +1 -0
- package/sdk/models/shared/accountingbalancesheetitem.d.ts +16 -16
- package/sdk/models/shared/accountingbalancesheetitem.js +18 -18
- package/sdk/models/shared/accountingbill.d.ts +129 -0
- package/sdk/models/shared/accountingbill.d.ts.map +1 -0
- package/sdk/models/shared/accountingbill.js +216 -0
- package/sdk/models/shared/accountingbill.js.map +1 -0
- package/sdk/models/shared/accountingcreditmemo.d.ts +129 -0
- package/sdk/models/shared/accountingcreditmemo.d.ts.map +1 -0
- package/sdk/models/shared/accountingcreditmemo.js +216 -0
- package/sdk/models/shared/accountingcreditmemo.js.map +1 -0
- package/sdk/models/shared/accountinginvoice.d.ts +10 -10
- package/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/sdk/models/shared/accountinginvoice.js +15 -15
- package/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/sdk/models/shared/accountingprofitloss.d.ts +82 -0
- package/sdk/models/shared/accountingprofitloss.d.ts.map +1 -0
- package/sdk/models/shared/accountingprofitloss.js +145 -0
- package/sdk/models/shared/accountingprofitloss.js.map +1 -0
- package/sdk/models/shared/accountingprofitlossaccount.d.ts +35 -0
- package/sdk/models/shared/accountingprofitlossaccount.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlossaccount.js → accountingprofitlossaccount.js} +17 -17
- package/sdk/models/shared/accountingprofitlossaccount.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosscategory.d.ts +37 -0
- package/sdk/models/shared/accountingprofitlosscategory.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosscategory.js → accountingprofitlosscategory.js} +20 -22
- package/sdk/models/shared/accountingprofitlosscategory.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosssection.d.ts +36 -0
- package/sdk/models/shared/accountingprofitlosssection.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosssection.js → accountingprofitlosssection.js} +20 -20
- package/sdk/models/shared/accountingprofitlosssection.js.map +1 -0
- package/sdk/models/shared/accountingprofitlosssubcategory.d.ts +36 -0
- package/sdk/models/shared/accountingprofitlosssubcategory.d.ts.map +1 -0
- package/sdk/models/shared/{accountingprofitandlosssubcategory.js → accountingprofitlosssubcategory.js} +17 -17
- package/sdk/models/shared/accountingprofitlosssubcategory.js.map +1 -0
- package/sdk/models/shared/accountingpurchaseorder.d.ts +85 -0
- package/sdk/models/shared/accountingpurchaseorder.d.ts.map +1 -0
- package/sdk/models/shared/accountingpurchaseorder.js +148 -0
- package/sdk/models/shared/accountingpurchaseorder.js.map +1 -0
- package/sdk/models/shared/accountingsalesorder.d.ts +85 -0
- package/sdk/models/shared/accountingsalesorder.d.ts.map +1 -0
- package/sdk/models/shared/accountingsalesorder.js +148 -0
- package/sdk/models/shared/accountingsalesorder.js.map +1 -0
- package/sdk/models/shared/accountingtrialbalance.d.ts +54 -0
- package/sdk/models/shared/accountingtrialbalance.d.ts.map +1 -0
- package/sdk/models/shared/accountingtrialbalance.js +105 -0
- package/sdk/models/shared/accountingtrialbalance.js.map +1 -0
- package/sdk/models/shared/accountingtrialbalancesubitem.d.ts +13 -13
- package/sdk/models/shared/accountingtrialbalancesubitem.js +16 -16
- package/sdk/models/shared/index.d.ts +15 -4
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +15 -4
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts +13 -13
- package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js +16 -16
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts +27 -7
- package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js +34 -6
- package/sdk/models/shared/propertyaccountingreportbalancesheet.js.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +34 -14
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js +43 -14
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -1
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts +23 -3
- package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js +30 -2
- package/sdk/models/shared/propertyaccountingreporttrialbalance.js.map +1 -1
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingsalesorderbillingaddress.js.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts +43 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js +86 -0
- package/sdk/models/shared/propertyaccountingsalesordershippingaddress.js.map +1 -0
- package/sdk/profitloss.d.ts +14 -0
- package/sdk/profitloss.d.ts.map +1 -0
- package/sdk/profitloss.js +26 -0
- package/sdk/profitloss.js.map +1 -0
- package/sdk/purchaseorder.d.ts +30 -0
- package/sdk/purchaseorder.d.ts.map +1 -0
- package/sdk/purchaseorder.js +54 -0
- package/sdk/purchaseorder.js.map +1 -0
- package/sdk/salesorder.d.ts +30 -0
- package/sdk/salesorder.d.ts.map +1 -0
- package/sdk/salesorder.js +54 -0
- package/sdk/salesorder.js.map +1 -0
- package/sdk/sdk.d.ts +21 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +28 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/trialbalance.d.ts +14 -0
- package/sdk/trialbalance.d.ts.map +1 -0
- package/sdk/trialbalance.js +26 -0
- package/sdk/trialbalance.js.map +1 -0
- package/src/funcs/accountingCreateAccountingBill.ts +171 -0
- package/src/funcs/accountingCreateAccountingCreditmemo.ts +173 -0
- package/src/funcs/accountingCreateAccountingPurchaseorder.ts +177 -0
- package/src/funcs/accountingCreateAccountingSalesorder.ts +173 -0
- package/src/funcs/accountingGetAccountingBalancesheet.ts +176 -0
- package/src/funcs/accountingGetAccountingBill.ts +173 -0
- package/src/funcs/accountingGetAccountingCreditmemo.ts +176 -0
- package/src/funcs/accountingGetAccountingProfitloss.ts +176 -0
- package/src/funcs/accountingGetAccountingPurchaseorder.ts +176 -0
- package/src/funcs/accountingGetAccountingSalesorder.ts +176 -0
- package/src/funcs/accountingGetAccountingTrialbalance.ts +176 -0
- package/src/funcs/accountingListAccountingBalancesheets.ts +181 -0
- package/src/funcs/accountingListAccountingBills.ts +179 -0
- package/src/funcs/accountingListAccountingCreditmemoes.ts +179 -0
- package/src/funcs/accountingListAccountingProfitlosses.ts +179 -0
- package/src/funcs/accountingListAccountingPurchaseorders.ts +182 -0
- package/src/funcs/accountingListAccountingSalesorders.ts +178 -0
- package/src/funcs/accountingListAccountingTrialbalances.ts +181 -0
- package/src/funcs/accountingPatchAccountingBill.ts +175 -0
- package/src/funcs/accountingPatchAccountingCreditmemo.ts +179 -0
- package/src/funcs/accountingPatchAccountingPurchaseorder.ts +181 -0
- package/src/funcs/accountingPatchAccountingSalesorder.ts +179 -0
- package/src/funcs/accountingRemoveAccountingBill.ts +179 -0
- package/src/funcs/accountingRemoveAccountingCreditmemo.ts +181 -0
- package/src/funcs/accountingRemoveAccountingPurchaseorder.ts +183 -0
- package/src/funcs/accountingRemoveAccountingSalesorder.ts +181 -0
- package/src/funcs/accountingUpdateAccountingBill.ts +175 -0
- package/src/funcs/accountingUpdateAccountingCreditmemo.ts +179 -0
- package/src/funcs/accountingUpdateAccountingPurchaseorder.ts +181 -0
- package/src/funcs/accountingUpdateAccountingSalesorder.ts +179 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +61 -1
- package/src/mcp-server/tools/accountingCreateAccountingBill.ts +36 -0
- package/src/mcp-server/tools/accountingCreateAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingCreateAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingCreateAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingBalancesheet.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingBill.ts +35 -0
- package/src/mcp-server/tools/accountingGetAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingProfitloss.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingGetAccountingTrialbalance.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingBalancesheets.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingBills.ts +35 -0
- package/src/mcp-server/tools/accountingListAccountingCreditmemoes.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingProfitlosses.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingPurchaseorders.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingSalesorders.ts +37 -0
- package/src/mcp-server/tools/accountingListAccountingTrialbalances.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingBill.ts +35 -0
- package/src/mcp-server/tools/accountingPatchAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingPatchAccountingSalesorder.ts +37 -0
- package/src/mcp-server/tools/accountingRemoveAccountingBill.ts +34 -0
- package/src/mcp-server/tools/accountingRemoveAccountingCreditmemo.ts +35 -0
- package/src/mcp-server/tools/accountingRemoveAccountingPurchaseorder.ts +35 -0
- package/src/mcp-server/tools/accountingRemoveAccountingSalesorder.ts +35 -0
- package/src/mcp-server/tools/accountingUpdateAccountingBill.ts +36 -0
- package/src/mcp-server/tools/accountingUpdateAccountingCreditmemo.ts +37 -0
- package/src/mcp-server/tools/accountingUpdateAccountingPurchaseorder.ts +37 -0
- package/src/mcp-server/tools/accountingUpdateAccountingSalesorder.ts +37 -0
- package/src/sdk/accounting.ts +450 -0
- package/src/sdk/balancesheet.ts +40 -0
- package/src/sdk/bill.ts +100 -0
- package/src/sdk/creditmemo.ts +100 -0
- package/src/sdk/models/operations/createaccountingbill.ts +101 -0
- package/src/sdk/models/operations/createaccountingcreditmemo.ts +102 -0
- package/src/sdk/models/operations/createaccountingpurchaseorder.ts +104 -0
- package/src/sdk/models/operations/createaccountingsalesorder.ts +102 -0
- package/src/sdk/models/operations/getaccountingbalancesheet.ts +101 -0
- package/src/sdk/models/operations/getaccountingbill.ts +99 -0
- package/src/sdk/models/operations/getaccountingcreditmemo.ts +101 -0
- package/src/sdk/models/operations/getaccountingprofitloss.ts +101 -0
- package/src/sdk/models/operations/getaccountingpurchaseorder.ts +102 -0
- package/src/sdk/models/operations/getaccountingsalesorder.ts +101 -0
- package/src/sdk/models/operations/getaccountingtrialbalance.ts +101 -0
- package/src/sdk/models/operations/index.ts +30 -0
- package/src/sdk/models/operations/listaccountingbalancesheets.ts +146 -0
- package/src/sdk/models/operations/listaccountingbills.ts +142 -0
- package/src/sdk/models/operations/listaccountingcreditmemoes.ts +145 -0
- package/src/sdk/models/operations/listaccountingprofitlosses.ts +145 -0
- package/src/sdk/models/operations/listaccountingpurchaseorders.ts +138 -0
- package/src/sdk/models/operations/listaccountingsalesorders.ts +135 -0
- package/src/sdk/models/operations/listaccountingtrialbalances.ts +146 -0
- package/src/sdk/models/operations/patchaccountingbill.ts +106 -0
- package/src/sdk/models/operations/patchaccountingcreditmemo.ts +108 -0
- package/src/sdk/models/operations/patchaccountingpurchaseorder.ts +111 -0
- package/src/sdk/models/operations/patchaccountingsalesorder.ts +108 -0
- package/src/sdk/models/operations/removeaccountingbill.ts +155 -0
- package/src/sdk/models/operations/removeaccountingcreditmemo.ts +158 -0
- package/src/sdk/models/operations/removeaccountingpurchaseorder.ts +161 -0
- package/src/sdk/models/operations/removeaccountingsalesorder.ts +158 -0
- package/src/sdk/models/operations/updateaccountingbill.ts +108 -0
- package/src/sdk/models/operations/updateaccountingcreditmemo.ts +109 -0
- package/src/sdk/models/operations/updateaccountingpurchaseorder.ts +111 -0
- package/src/sdk/models/operations/updateaccountingsalesorder.ts +109 -0
- package/src/sdk/models/shared/accountingbalancesheet.ts +137 -0
- package/src/sdk/models/shared/accountingbalancesheetitem.ts +29 -29
- package/src/sdk/models/shared/accountingbill.ts +309 -0
- package/src/sdk/models/shared/accountingcreditmemo.ts +325 -0
- package/src/sdk/models/shared/accountinginvoice.ts +25 -17
- package/src/sdk/models/shared/accountingprofitloss.ts +213 -0
- package/src/sdk/models/shared/{accountingprofitandlossaccount.ts → accountingprofitlossaccount.ts} +22 -22
- package/src/sdk/models/shared/accountingprofitlosscategory.ts +94 -0
- package/src/sdk/models/shared/accountingprofitlosssection.ts +99 -0
- package/src/sdk/models/shared/accountingprofitlosssubcategory.ts +88 -0
- package/src/sdk/models/shared/accountingpurchaseorder.ts +216 -0
- package/src/sdk/models/shared/accountingsalesorder.ts +216 -0
- package/src/sdk/models/shared/accountingtrialbalance.ts +137 -0
- package/src/sdk/models/shared/accountingtrialbalancesubitem.ts +22 -22
- package/src/sdk/models/shared/index.ts +15 -4
- package/src/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.ts +23 -23
- package/src/sdk/models/shared/propertyaccountingpurchaseorderbillingaddress.ts +120 -0
- package/src/sdk/models/shared/propertyaccountingpurchaseordershippingaddress.ts +121 -0
- package/src/sdk/models/shared/propertyaccountingreportbalancesheet.ts +60 -16
- package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +79 -40
- package/src/sdk/models/shared/propertyaccountingreporttrialbalance.ts +52 -8
- package/src/sdk/models/shared/propertyaccountingsalesorderbillingaddress.ts +117 -0
- package/src/sdk/models/shared/propertyaccountingsalesordershippingaddress.ts +120 -0
- package/src/sdk/profitloss.ts +40 -0
- package/src/sdk/purchaseorder.ts +100 -0
- package/src/sdk/salesorder.ts +100 -0
- package/src/sdk/sdk.ts +42 -0
- package/src/sdk/trialbalance.ts +40 -0
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts +0 -35
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlossaccount.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts +0 -37
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosscategory.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssection.d.ts +0 -36
- package/sdk/models/shared/accountingprofitandlosssection.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssection.js.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +0 -36
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts.map +0 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.js.map +0 -1
- package/src/sdk/models/shared/accountingprofitandlosscategory.ts +0 -96
- package/src/sdk/models/shared/accountingprofitandlosssection.ts +0 -99
- package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +0 -90
|
@@ -32,30 +32,44 @@ exports.propertyAccountingReportProfitAndLossFromJSON = propertyAccountingReport
|
|
|
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
|
|
36
|
-
const
|
|
35
|
+
const accountingprofitlosscategory_js_1 = require("./accountingprofitlosscategory.js");
|
|
36
|
+
const accountingprofitlosssection_js_1 = require("./accountingprofitlosssection.js");
|
|
37
37
|
/** @internal */
|
|
38
38
|
exports.PropertyAccountingReportProfitAndLoss$inboundSchema = z.object({
|
|
39
|
-
cost_of_goods_sold: z.array(
|
|
39
|
+
cost_of_goods_sold: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$inboundSchema)
|
|
40
40
|
.optional(),
|
|
41
|
-
cost_of_goods_sold_sections: z.array(
|
|
41
|
+
cost_of_goods_sold_sections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$inboundSchema).optional(),
|
|
42
42
|
cost_of_goods_sold_total_amount: z.number().optional(),
|
|
43
|
-
|
|
44
|
-
|
|
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)
|
|
45
50
|
.optional(),
|
|
46
51
|
expenses_total_amount: z.number().optional(),
|
|
47
52
|
gross_profit_amount: z.number().optional(),
|
|
48
|
-
|
|
49
|
-
|
|
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)
|
|
50
56
|
.optional(),
|
|
51
57
|
income_total_amount: z.number().optional(),
|
|
58
|
+
name: z.string().optional(),
|
|
52
59
|
net_income_amount: z.number().optional(),
|
|
53
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(),
|
|
54
66
|
}).transform((v) => {
|
|
55
67
|
return (0, primitives_js_1.remap)(v, {
|
|
56
68
|
"cost_of_goods_sold": "costOfGoodsSold",
|
|
57
69
|
"cost_of_goods_sold_sections": "costOfGoodsSoldSections",
|
|
58
70
|
"cost_of_goods_sold_total_amount": "costOfGoodsSoldTotalAmount",
|
|
71
|
+
"created_at": "createdAt",
|
|
72
|
+
"end_at": "endAt",
|
|
59
73
|
"expenses_sections": "expensesSections",
|
|
60
74
|
"expenses_total_amount": "expensesTotalAmount",
|
|
61
75
|
"gross_profit_amount": "grossProfitAmount",
|
|
@@ -63,30 +77,43 @@ exports.PropertyAccountingReportProfitAndLoss$inboundSchema = z.object({
|
|
|
63
77
|
"income_total_amount": "incomeTotalAmount",
|
|
64
78
|
"net_income_amount": "netIncomeAmount",
|
|
65
79
|
"net_profit_amount": "netProfitAmount",
|
|
80
|
+
"start_at": "startAt",
|
|
81
|
+
"updated_at": "updatedAt",
|
|
66
82
|
});
|
|
67
83
|
});
|
|
68
84
|
/** @internal */
|
|
69
85
|
exports.PropertyAccountingReportProfitAndLoss$outboundSchema = z.object({
|
|
70
|
-
costOfGoodsSold: z.array(
|
|
86
|
+
costOfGoodsSold: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$outboundSchema)
|
|
87
|
+
.optional(),
|
|
88
|
+
costOfGoodsSoldSections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$outboundSchema)
|
|
71
89
|
.optional(),
|
|
72
|
-
costOfGoodsSoldSections: z.array(accountingprofitandlosssection_js_1.AccountingProfitAndLossSection$outboundSchema).optional(),
|
|
73
90
|
costOfGoodsSoldTotalAmount: z.number().optional(),
|
|
74
|
-
|
|
75
|
-
|
|
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)
|
|
76
96
|
.optional(),
|
|
77
97
|
expensesTotalAmount: z.number().optional(),
|
|
78
98
|
grossProfitAmount: z.number().optional(),
|
|
79
|
-
|
|
80
|
-
|
|
99
|
+
id: z.string().optional(),
|
|
100
|
+
income: z.array(accountingprofitlosscategory_js_1.AccountingProfitlossCategory$outboundSchema).optional(),
|
|
101
|
+
incomeSections: z.array(accountingprofitlosssection_js_1.AccountingProfitlossSection$outboundSchema)
|
|
81
102
|
.optional(),
|
|
82
103
|
incomeTotalAmount: z.number().optional(),
|
|
104
|
+
name: z.string().optional(),
|
|
83
105
|
netIncomeAmount: z.number().optional(),
|
|
84
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(),
|
|
85
110
|
}).transform((v) => {
|
|
86
111
|
return (0, primitives_js_1.remap)(v, {
|
|
87
112
|
costOfGoodsSold: "cost_of_goods_sold",
|
|
88
113
|
costOfGoodsSoldSections: "cost_of_goods_sold_sections",
|
|
89
114
|
costOfGoodsSoldTotalAmount: "cost_of_goods_sold_total_amount",
|
|
115
|
+
createdAt: "created_at",
|
|
116
|
+
endAt: "end_at",
|
|
90
117
|
expensesSections: "expenses_sections",
|
|
91
118
|
expensesTotalAmount: "expenses_total_amount",
|
|
92
119
|
grossProfitAmount: "gross_profit_amount",
|
|
@@ -94,6 +121,8 @@ exports.PropertyAccountingReportProfitAndLoss$outboundSchema = z.object({
|
|
|
94
121
|
incomeTotalAmount: "income_total_amount",
|
|
95
122
|
netIncomeAmount: "net_income_amount",
|
|
96
123
|
netProfitAmount: "net_profit_amount",
|
|
124
|
+
startAt: "start_at",
|
|
125
|
+
updatedAt: "updated_at",
|
|
97
126
|
});
|
|
98
127
|
});
|
|
99
128
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyaccountingreportprofitandloss.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingreportprofitandloss.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"propertyaccountingreportprofitandloss.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingreportprofitandloss.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoMH,kGAQC;AAED,sGASC;AArND,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,uFAK2C;AAC3C,qFAK0C;AAkC1C,gBAAgB;AACH,QAAA,mDAAmD,GAI5D,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,EA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|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import {
|
|
4
|
+
import { AccountingTrialbalanceSubItem, AccountingTrialbalanceSubItem$Outbound } from "./accountingtrialbalancesubitem.js";
|
|
5
5
|
export type PropertyAccountingReportTrialBalance = {
|
|
6
|
-
|
|
6
|
+
createdAt?: Date | undefined;
|
|
7
|
+
currency?: string | undefined;
|
|
8
|
+
endAt?: Date | undefined;
|
|
9
|
+
id?: string | undefined;
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
raw?: {
|
|
12
|
+
[k: string]: any;
|
|
13
|
+
} | undefined;
|
|
14
|
+
startAt?: Date | undefined;
|
|
15
|
+
subItems?: Array<AccountingTrialbalanceSubItem> | undefined;
|
|
7
16
|
totalCreditAmount?: number | undefined;
|
|
8
17
|
totalDebitAmount?: number | undefined;
|
|
18
|
+
updatedAt?: Date | undefined;
|
|
9
19
|
};
|
|
10
20
|
/** @internal */
|
|
11
21
|
export declare const PropertyAccountingReportTrialBalance$inboundSchema: z.ZodType<PropertyAccountingReportTrialBalance, z.ZodTypeDef, unknown>;
|
|
12
22
|
/** @internal */
|
|
13
23
|
export type PropertyAccountingReportTrialBalance$Outbound = {
|
|
14
|
-
|
|
24
|
+
created_at?: string | undefined;
|
|
25
|
+
currency?: string | undefined;
|
|
26
|
+
end_at?: string | undefined;
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
raw?: {
|
|
30
|
+
[k: string]: any;
|
|
31
|
+
} | undefined;
|
|
32
|
+
start_at?: string | undefined;
|
|
33
|
+
sub_items?: Array<AccountingTrialbalanceSubItem$Outbound> | undefined;
|
|
15
34
|
total_credit_amount?: number | undefined;
|
|
16
35
|
total_debit_amount?: number | undefined;
|
|
36
|
+
updated_at?: string | undefined;
|
|
17
37
|
};
|
|
18
38
|
/** @internal */
|
|
19
39
|
export declare const PropertyAccountingReportTrialBalance$outboundSchema: z.ZodType<PropertyAccountingReportTrialBalance$Outbound, z.ZodTypeDef, PropertyAccountingReportTrialBalance>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyaccountingreporttrialbalance.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingreporttrialbalance.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,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,MAAM,oCAAoC,GAAG;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,6BAA6B,CAAC,GAAG,SAAS,CAAC;IAC5D,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"propertyaccountingreporttrialbalance.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingreporttrialbalance.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,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,MAAM,oCAAoC,GAAG;IACjD,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,GAAG,SAA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AC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CAuBpC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qCAAqC,CAAC;IACrD,oFAAoF;IAC7E,MAAM,aAAa,wEAC0B,CAAC;IACrD,qFAAqF;IAC9E,MAAM,cAAc,8GAC0B,CAAC;IACtD,+EAA+E;IAC/E,KAAY,QAAQ,GAAG,6CAA6C,CAAC;CACtE;AAED,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR;AAED,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
|
|
@@ -35,26 +35,54 @@ const schemas_js_1 = require("../../../lib/schemas.js");
|
|
|
35
35
|
const accountingtrialbalancesubitem_js_1 = require("./accountingtrialbalancesubitem.js");
|
|
36
36
|
/** @internal */
|
|
37
37
|
exports.PropertyAccountingReportTrialBalance$inboundSchema = z.object({
|
|
38
|
-
|
|
38
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
39
|
+
.optional(),
|
|
40
|
+
currency: z.string().optional(),
|
|
41
|
+
end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
42
|
+
.optional(),
|
|
43
|
+
id: z.string().optional(),
|
|
44
|
+
name: z.string().optional(),
|
|
45
|
+
raw: z.record(z.any()).optional(),
|
|
46
|
+
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
47
|
+
.optional(),
|
|
48
|
+
sub_items: z.array(accountingtrialbalancesubitem_js_1.AccountingTrialbalanceSubItem$inboundSchema).optional(),
|
|
39
49
|
total_credit_amount: z.number().optional(),
|
|
40
50
|
total_debit_amount: z.number().optional(),
|
|
51
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
52
|
+
.optional(),
|
|
41
53
|
}).transform((v) => {
|
|
42
54
|
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"created_at": "createdAt",
|
|
56
|
+
"end_at": "endAt",
|
|
57
|
+
"start_at": "startAt",
|
|
43
58
|
"sub_items": "subItems",
|
|
44
59
|
"total_credit_amount": "totalCreditAmount",
|
|
45
60
|
"total_debit_amount": "totalDebitAmount",
|
|
61
|
+
"updated_at": "updatedAt",
|
|
46
62
|
});
|
|
47
63
|
});
|
|
48
64
|
/** @internal */
|
|
49
65
|
exports.PropertyAccountingReportTrialBalance$outboundSchema = z.object({
|
|
50
|
-
|
|
66
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
67
|
+
currency: z.string().optional(),
|
|
68
|
+
endAt: z.date().transform(v => v.toISOString()).optional(),
|
|
69
|
+
id: z.string().optional(),
|
|
70
|
+
name: z.string().optional(),
|
|
71
|
+
raw: z.record(z.any()).optional(),
|
|
72
|
+
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
73
|
+
subItems: z.array(accountingtrialbalancesubitem_js_1.AccountingTrialbalanceSubItem$outboundSchema).optional(),
|
|
51
74
|
totalCreditAmount: z.number().optional(),
|
|
52
75
|
totalDebitAmount: z.number().optional(),
|
|
76
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
53
77
|
}).transform((v) => {
|
|
54
78
|
return (0, primitives_js_1.remap)(v, {
|
|
79
|
+
createdAt: "created_at",
|
|
80
|
+
endAt: "end_at",
|
|
81
|
+
startAt: "start_at",
|
|
55
82
|
subItems: "sub_items",
|
|
56
83
|
totalCreditAmount: "total_credit_amount",
|
|
57
84
|
totalDebitAmount: "total_debit_amount",
|
|
85
|
+
updatedAt: "updated_at",
|
|
58
86
|
});
|
|
59
87
|
});
|
|
60
88
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyaccountingreporttrialbalance.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingreporttrialbalance.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"propertyaccountingreporttrialbalance.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingreporttrialbalance.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwHH,gGAQC;AAED,oGASC;AAzID,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAGpD,yFAK4C;AAgB5C,gBAAgB;AACH,QAAA,kDAAkD,GAI3D,CAAC,CAAC,MAAM,CAAC;IACX,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,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACjC,QAAQ,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;SACxE,QAAQ,E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,CAAC;AAED,SAAgB,4CAA4C,CAC1D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,0DAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 PropertyAccountingSalesorderBillingAddress = {
|
|
5
|
+
address1?: string | undefined;
|
|
6
|
+
address2?: string | undefined;
|
|
7
|
+
city?: string | undefined;
|
|
8
|
+
country?: string | undefined;
|
|
9
|
+
countryCode?: string | undefined;
|
|
10
|
+
postalCode?: string | undefined;
|
|
11
|
+
region?: string | undefined;
|
|
12
|
+
regionCode?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const PropertyAccountingSalesorderBillingAddress$inboundSchema: z.ZodType<PropertyAccountingSalesorderBillingAddress, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type PropertyAccountingSalesorderBillingAddress$Outbound = {
|
|
18
|
+
address1?: string | undefined;
|
|
19
|
+
address2?: string | undefined;
|
|
20
|
+
city?: string | undefined;
|
|
21
|
+
country?: string | undefined;
|
|
22
|
+
country_code?: string | undefined;
|
|
23
|
+
postal_code?: string | undefined;
|
|
24
|
+
region?: string | undefined;
|
|
25
|
+
region_code?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const PropertyAccountingSalesorderBillingAddress$outboundSchema: z.ZodType<PropertyAccountingSalesorderBillingAddress$Outbound, z.ZodTypeDef, PropertyAccountingSalesorderBillingAddress>;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
32
|
+
*/
|
|
33
|
+
export declare namespace PropertyAccountingSalesorderBillingAddress$ {
|
|
34
|
+
/** @deprecated use `PropertyAccountingSalesorderBillingAddress$inboundSchema` instead. */
|
|
35
|
+
const inboundSchema: z.ZodType<PropertyAccountingSalesorderBillingAddress, z.ZodTypeDef, unknown>;
|
|
36
|
+
/** @deprecated use `PropertyAccountingSalesorderBillingAddress$outboundSchema` instead. */
|
|
37
|
+
const outboundSchema: z.ZodType<PropertyAccountingSalesorderBillingAddress$Outbound, z.ZodTypeDef, PropertyAccountingSalesorderBillingAddress>;
|
|
38
|
+
/** @deprecated use `PropertyAccountingSalesorderBillingAddress$Outbound` instead. */
|
|
39
|
+
type Outbound = PropertyAccountingSalesorderBillingAddress$Outbound;
|
|
40
|
+
}
|
|
41
|
+
export declare function propertyAccountingSalesorderBillingAddressToJSON(propertyAccountingSalesorderBillingAddress: PropertyAccountingSalesorderBillingAddress): string;
|
|
42
|
+
export declare function propertyAccountingSalesorderBillingAddressFromJSON(jsonString: string): SafeParseResult<PropertyAccountingSalesorderBillingAddress, SDKValidationError>;
|
|
43
|
+
//# sourceMappingURL=propertyaccountingsalesorderbillingaddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertyaccountingsalesorderbillingaddress.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingsalesorderbillingaddress.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;AAErE,MAAM,MAAM,0CAA0C,GAAG;IACvD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,IAAI,CAA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AA0C,EACxC,0CAA0C,GAC3C,MAAM,CAMR;AAED,wBAAgB,kDAAkD,CAChE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,0CAA0C,EAC1C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
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.PropertyAccountingSalesorderBillingAddress$ = exports.PropertyAccountingSalesorderBillingAddress$outboundSchema = exports.PropertyAccountingSalesorderBillingAddress$inboundSchema = void 0;
|
|
30
|
+
exports.propertyAccountingSalesorderBillingAddressToJSON = propertyAccountingSalesorderBillingAddressToJSON;
|
|
31
|
+
exports.propertyAccountingSalesorderBillingAddressFromJSON = propertyAccountingSalesorderBillingAddressFromJSON;
|
|
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
|
+
/** @internal */
|
|
36
|
+
exports.PropertyAccountingSalesorderBillingAddress$inboundSchema = z.object({
|
|
37
|
+
address1: z.string().optional(),
|
|
38
|
+
address2: z.string().optional(),
|
|
39
|
+
city: z.string().optional(),
|
|
40
|
+
country: z.string().optional(),
|
|
41
|
+
country_code: z.string().optional(),
|
|
42
|
+
postal_code: z.string().optional(),
|
|
43
|
+
region: z.string().optional(),
|
|
44
|
+
region_code: z.string().optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return (0, primitives_js_1.remap)(v, {
|
|
47
|
+
"country_code": "countryCode",
|
|
48
|
+
"postal_code": "postalCode",
|
|
49
|
+
"region_code": "regionCode",
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.PropertyAccountingSalesorderBillingAddress$outboundSchema = z.object({
|
|
54
|
+
address1: z.string().optional(),
|
|
55
|
+
address2: z.string().optional(),
|
|
56
|
+
city: z.string().optional(),
|
|
57
|
+
country: z.string().optional(),
|
|
58
|
+
countryCode: z.string().optional(),
|
|
59
|
+
postalCode: z.string().optional(),
|
|
60
|
+
region: z.string().optional(),
|
|
61
|
+
regionCode: z.string().optional(),
|
|
62
|
+
}).transform((v) => {
|
|
63
|
+
return (0, primitives_js_1.remap)(v, {
|
|
64
|
+
countryCode: "country_code",
|
|
65
|
+
postalCode: "postal_code",
|
|
66
|
+
regionCode: "region_code",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
var PropertyAccountingSalesorderBillingAddress$;
|
|
74
|
+
(function (PropertyAccountingSalesorderBillingAddress$) {
|
|
75
|
+
/** @deprecated use `PropertyAccountingSalesorderBillingAddress$inboundSchema` instead. */
|
|
76
|
+
PropertyAccountingSalesorderBillingAddress$.inboundSchema = exports.PropertyAccountingSalesorderBillingAddress$inboundSchema;
|
|
77
|
+
/** @deprecated use `PropertyAccountingSalesorderBillingAddress$outboundSchema` instead. */
|
|
78
|
+
PropertyAccountingSalesorderBillingAddress$.outboundSchema = exports.PropertyAccountingSalesorderBillingAddress$outboundSchema;
|
|
79
|
+
})(PropertyAccountingSalesorderBillingAddress$ || (exports.PropertyAccountingSalesorderBillingAddress$ = PropertyAccountingSalesorderBillingAddress$ = {}));
|
|
80
|
+
function propertyAccountingSalesorderBillingAddressToJSON(propertyAccountingSalesorderBillingAddress) {
|
|
81
|
+
return JSON.stringify(exports.PropertyAccountingSalesorderBillingAddress$outboundSchema.parse(propertyAccountingSalesorderBillingAddress));
|
|
82
|
+
}
|
|
83
|
+
function propertyAccountingSalesorderBillingAddressFromJSON(jsonString) {
|
|
84
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PropertyAccountingSalesorderBillingAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PropertyAccountingSalesorderBillingAddress' from JSON`);
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=propertyaccountingsalesorderbillingaddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertyaccountingsalesorderbillingaddress.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingsalesorderbillingaddress.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAyFH,4GASC;AAED,gHAcC;AAhHD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAepD,gBAAgB;AACH,QA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AE,CAAC,QAAQ,EAAE;IAC7B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,2CAA2C,CAS3D;AATD,WAAiB,2CAA2C;IAC1D,0FAA0F;IAC7E,yDAAa,GACxB,gEAAwD,CAAC;IAC3D,2FAA2F;IAC9E,0DAAc,GACzB,iEAAyD,CAAC;AAG9D,CAAC,EATgB,2CAA2C,2DAA3C,2CAA2C,QAS3D;AAED,SAAgB,gDAAgD,CAC9D,0CAC4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,iEAAyD,CAAC,KAAK,CAC7D,0CAA0C,CAC3C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,kDAAkD,CAChE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,gEAAwD,CAAC,KAAK,CAC5D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,wEAAwE,CACzE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 PropertyAccountingSalesorderShippingAddress = {
|
|
5
|
+
address1?: string | undefined;
|
|
6
|
+
address2?: string | undefined;
|
|
7
|
+
city?: string | undefined;
|
|
8
|
+
country?: string | undefined;
|
|
9
|
+
countryCode?: string | undefined;
|
|
10
|
+
postalCode?: string | undefined;
|
|
11
|
+
region?: string | undefined;
|
|
12
|
+
regionCode?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const PropertyAccountingSalesorderShippingAddress$inboundSchema: z.ZodType<PropertyAccountingSalesorderShippingAddress, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type PropertyAccountingSalesorderShippingAddress$Outbound = {
|
|
18
|
+
address1?: string | undefined;
|
|
19
|
+
address2?: string | undefined;
|
|
20
|
+
city?: string | undefined;
|
|
21
|
+
country?: string | undefined;
|
|
22
|
+
country_code?: string | undefined;
|
|
23
|
+
postal_code?: string | undefined;
|
|
24
|
+
region?: string | undefined;
|
|
25
|
+
region_code?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const PropertyAccountingSalesorderShippingAddress$outboundSchema: z.ZodType<PropertyAccountingSalesorderShippingAddress$Outbound, z.ZodTypeDef, PropertyAccountingSalesorderShippingAddress>;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
32
|
+
*/
|
|
33
|
+
export declare namespace PropertyAccountingSalesorderShippingAddress$ {
|
|
34
|
+
/** @deprecated use `PropertyAccountingSalesorderShippingAddress$inboundSchema` instead. */
|
|
35
|
+
const inboundSchema: z.ZodType<PropertyAccountingSalesorderShippingAddress, z.ZodTypeDef, unknown>;
|
|
36
|
+
/** @deprecated use `PropertyAccountingSalesorderShippingAddress$outboundSchema` instead. */
|
|
37
|
+
const outboundSchema: z.ZodType<PropertyAccountingSalesorderShippingAddress$Outbound, z.ZodTypeDef, PropertyAccountingSalesorderShippingAddress>;
|
|
38
|
+
/** @deprecated use `PropertyAccountingSalesorderShippingAddress$Outbound` instead. */
|
|
39
|
+
type Outbound = PropertyAccountingSalesorderShippingAddress$Outbound;
|
|
40
|
+
}
|
|
41
|
+
export declare function propertyAccountingSalesorderShippingAddressToJSON(propertyAccountingSalesorderShippingAddress: PropertyAccountingSalesorderShippingAddress): string;
|
|
42
|
+
export declare function propertyAccountingSalesorderShippingAddressFromJSON(jsonString: string): SafeParseResult<PropertyAccountingSalesorderShippingAddress, SDKValidationError>;
|
|
43
|
+
//# sourceMappingURL=propertyaccountingsalesordershippingaddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertyaccountingsalesordershippingaddress.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingsalesordershippingaddress.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;AAErE,MAAM,MAAM,2CAA2C,GAAG;IACxD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,oDAAoD,GAAG;IACjE,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,oDAAoD,EACpD,CAAC,CAAC,UAAU,EACZ,2CAA2C,CAgB3C,CAAC;AAEL;;;GAGG;AACH,yBAAiB,4CAA4C,CAAC;IAC5D,2FAA2F;IACpF,MAAM,aAAa,+EACiC,CAAC;IAC5D,4FAA4F;IACrF,MAAM,cAAc,4HACiC,CAAC;IAC7D,sFAAsF;IACtF,KAAY,QAAQ,GAAG,oDAAoD,CAAC;CAC7E;AAED,wBAAgB,iDAAiD,CAC/D,2CAA2C,EACzC,2CAA2C,GAC5C,MAAM,CAMR;AAED,wBAAgB,mDAAmD,CACjE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,2CAA2C,EAC3C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
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.PropertyAccountingSalesorderShippingAddress$ = exports.PropertyAccountingSalesorderShippingAddress$outboundSchema = exports.PropertyAccountingSalesorderShippingAddress$inboundSchema = void 0;
|
|
30
|
+
exports.propertyAccountingSalesorderShippingAddressToJSON = propertyAccountingSalesorderShippingAddressToJSON;
|
|
31
|
+
exports.propertyAccountingSalesorderShippingAddressFromJSON = propertyAccountingSalesorderShippingAddressFromJSON;
|
|
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
|
+
/** @internal */
|
|
36
|
+
exports.PropertyAccountingSalesorderShippingAddress$inboundSchema = z.object({
|
|
37
|
+
address1: z.string().optional(),
|
|
38
|
+
address2: z.string().optional(),
|
|
39
|
+
city: z.string().optional(),
|
|
40
|
+
country: z.string().optional(),
|
|
41
|
+
country_code: z.string().optional(),
|
|
42
|
+
postal_code: z.string().optional(),
|
|
43
|
+
region: z.string().optional(),
|
|
44
|
+
region_code: z.string().optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return (0, primitives_js_1.remap)(v, {
|
|
47
|
+
"country_code": "countryCode",
|
|
48
|
+
"postal_code": "postalCode",
|
|
49
|
+
"region_code": "regionCode",
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.PropertyAccountingSalesorderShippingAddress$outboundSchema = z.object({
|
|
54
|
+
address1: z.string().optional(),
|
|
55
|
+
address2: z.string().optional(),
|
|
56
|
+
city: z.string().optional(),
|
|
57
|
+
country: z.string().optional(),
|
|
58
|
+
countryCode: z.string().optional(),
|
|
59
|
+
postalCode: z.string().optional(),
|
|
60
|
+
region: z.string().optional(),
|
|
61
|
+
regionCode: z.string().optional(),
|
|
62
|
+
}).transform((v) => {
|
|
63
|
+
return (0, primitives_js_1.remap)(v, {
|
|
64
|
+
countryCode: "country_code",
|
|
65
|
+
postalCode: "postal_code",
|
|
66
|
+
regionCode: "region_code",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
var PropertyAccountingSalesorderShippingAddress$;
|
|
74
|
+
(function (PropertyAccountingSalesorderShippingAddress$) {
|
|
75
|
+
/** @deprecated use `PropertyAccountingSalesorderShippingAddress$inboundSchema` instead. */
|
|
76
|
+
PropertyAccountingSalesorderShippingAddress$.inboundSchema = exports.PropertyAccountingSalesorderShippingAddress$inboundSchema;
|
|
77
|
+
/** @deprecated use `PropertyAccountingSalesorderShippingAddress$outboundSchema` instead. */
|
|
78
|
+
PropertyAccountingSalesorderShippingAddress$.outboundSchema = exports.PropertyAccountingSalesorderShippingAddress$outboundSchema;
|
|
79
|
+
})(PropertyAccountingSalesorderShippingAddress$ || (exports.PropertyAccountingSalesorderShippingAddress$ = PropertyAccountingSalesorderShippingAddress$ = {}));
|
|
80
|
+
function propertyAccountingSalesorderShippingAddressToJSON(propertyAccountingSalesorderShippingAddress) {
|
|
81
|
+
return JSON.stringify(exports.PropertyAccountingSalesorderShippingAddress$outboundSchema.parse(propertyAccountingSalesorderShippingAddress));
|
|
82
|
+
}
|
|
83
|
+
function propertyAccountingSalesorderShippingAddressFromJSON(jsonString) {
|
|
84
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PropertyAccountingSalesorderShippingAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PropertyAccountingSalesorderShippingAddress' from JSON`);
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=propertyaccountingsalesordershippingaddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertyaccountingsalesordershippingaddress.js","sourceRoot":"","sources":["../../../src/sdk/models/shared/propertyaccountingsalesordershippingaddress.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FH,8GASC;AAED,kHAcC;AAnHD,uCAAyB;AACzB,8DAA6D;AAC7D,wDAAoD;AAepD,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;I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AC,KAAK,CAC9D,2CAA2C,CAC5C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,mDAAmD,CACjE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iEAAyD,CAAC,KAAK,CAC7D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,yEAAyE,CAC1E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "./models/operations/index.js";
|
|
3
|
+
import * as shared from "./models/shared/index.js";
|
|
4
|
+
export declare class Profitloss extends ClientSDK {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve a profitloss
|
|
7
|
+
*/
|
|
8
|
+
getAccountingProfitloss(request: operations.GetAccountingProfitlossRequest, options?: RequestOptions): Promise<shared.AccountingProfitloss>;
|
|
9
|
+
/**
|
|
10
|
+
* List all profitlosses
|
|
11
|
+
*/
|
|
12
|
+
listAccountingProfitlosses(request: operations.ListAccountingProfitlossesRequest, options?: RequestOptions): Promise<Array<shared.AccountingProfitloss>>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=profitloss.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profitloss.d.ts","sourceRoot":"","sources":["../src/sdk/profitloss.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,UAAW,SAAQ,SAAS;IACvC;;OAEG;IACG,uBAAuB,CAC3B,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IAQvC;;OAEG;IACG,0BAA0B,CAC9B,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;CAO/C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Profitloss = void 0;
|
|
7
|
+
const accountingGetAccountingProfitloss_js_1 = require("../funcs/accountingGetAccountingProfitloss.js");
|
|
8
|
+
const accountingListAccountingProfitlosses_js_1 = require("../funcs/accountingListAccountingProfitlosses.js");
|
|
9
|
+
const sdks_js_1 = require("../lib/sdks.js");
|
|
10
|
+
const fp_js_1 = require("./types/fp.js");
|
|
11
|
+
class Profitloss extends sdks_js_1.ClientSDK {
|
|
12
|
+
/**
|
|
13
|
+
* Retrieve a profitloss
|
|
14
|
+
*/
|
|
15
|
+
async getAccountingProfitloss(request, options) {
|
|
16
|
+
return (0, fp_js_1.unwrapAsync)((0, accountingGetAccountingProfitloss_js_1.accountingGetAccountingProfitloss)(this, request, options));
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* List all profitlosses
|
|
20
|
+
*/
|
|
21
|
+
async listAccountingProfitlosses(request, options) {
|
|
22
|
+
return (0, fp_js_1.unwrapAsync)((0, accountingListAccountingProfitlosses_js_1.accountingListAccountingProfitlosses)(this, request, options));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.Profitloss = Profitloss;
|
|
26
|
+
//# sourceMappingURL=profitloss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profitloss.js","sourceRoot":"","sources":["../src/sdk/profitloss.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wGAAkG;AAClG,8GAAwG;AACxG,4CAA2D;AAG3D,yCAA4C;AAE5C,MAAa,UAAW,SAAQ,mBAAS;IACvC;;OAEG;IACH,KAAK,CAAC,uBAAuB,CAC3B,OAAkD,EAClD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wEAAiC,EAClD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,0BAA0B,CAC9B,OAAqD,EACrD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8EAAoC,EACrD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA5BD,gCA4BC"}
|