@tirdad/sdk 2.1.44 → 2.1.46
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/FUNCTIONS.md +3 -3
- package/esm/funcs/accounting-periods-query-accounting-period.d.ts +17 -0
- package/esm/funcs/accounting-periods-query-accounting-period.d.ts.map +1 -0
- package/esm/funcs/accounting-periods-query-accounting-period.js +83 -0
- package/esm/funcs/accounting-periods-query-accounting-period.js.map +1 -0
- package/esm/funcs/contracts-get-contract.d.ts +17 -0
- package/esm/funcs/contracts-get-contract.d.ts.map +1 -0
- package/esm/funcs/contracts-get-contract.js +91 -0
- package/esm/funcs/contracts-get-contract.js.map +1 -0
- package/esm/funcs/contracts-query-contract.d.ts +17 -0
- package/esm/funcs/contracts-query-contract.d.ts.map +1 -0
- package/esm/funcs/contracts-query-contract.js +83 -0
- package/esm/funcs/contracts-query-contract.js.map +1 -0
- package/esm/funcs/journal-entries-get-journal-entry.d.ts +17 -0
- package/esm/funcs/journal-entries-get-journal-entry.d.ts.map +1 -0
- package/esm/funcs/journal-entries-get-journal-entry.js +91 -0
- package/esm/funcs/journal-entries-get-journal-entry.js.map +1 -0
- package/esm/funcs/journal-entries-query-journal-entry.d.ts +17 -0
- package/esm/funcs/journal-entries-query-journal-entry.d.ts.map +1 -0
- package/esm/funcs/journal-entries-query-journal-entry.js +83 -0
- package/esm/funcs/journal-entries-query-journal-entry.js.map +1 -0
- package/esm/funcs/payments-list-payments.js +1 -0
- package/esm/funcs/payments-list-payments.js.map +1 -1
- package/esm/funcs/performance-obligations-get-performance-obligation.d.ts +17 -0
- package/esm/funcs/performance-obligations-get-performance-obligation.d.ts.map +1 -0
- package/esm/funcs/performance-obligations-get-performance-obligation.js +91 -0
- package/esm/funcs/performance-obligations-get-performance-obligation.js.map +1 -0
- package/esm/funcs/performance-obligations-query-performance-obligation.d.ts +17 -0
- package/esm/funcs/performance-obligations-query-performance-obligation.d.ts.map +1 -0
- package/esm/funcs/performance-obligations-query-performance-obligation.js +83 -0
- package/esm/funcs/performance-obligations-query-performance-obligation.js.map +1 -0
- package/esm/funcs/products-create-product.d.ts +17 -0
- package/esm/funcs/products-create-product.d.ts.map +1 -0
- package/esm/funcs/products-create-product.js +83 -0
- package/esm/funcs/products-create-product.js.map +1 -0
- package/esm/funcs/products-delete-product.d.ts +17 -0
- package/esm/funcs/products-delete-product.d.ts.map +1 -0
- package/esm/funcs/products-delete-product.js +91 -0
- package/esm/funcs/products-delete-product.js.map +1 -0
- package/esm/funcs/products-get-product.d.ts +17 -0
- package/esm/funcs/products-get-product.d.ts.map +1 -0
- package/esm/funcs/products-get-product.js +91 -0
- package/esm/funcs/products-get-product.js.map +1 -0
- package/esm/funcs/products-list-products.d.ts +17 -0
- package/esm/funcs/products-list-products.d.ts.map +1 -0
- package/esm/funcs/products-list-products.js +95 -0
- package/esm/funcs/products-list-products.js.map +1 -0
- package/esm/funcs/products-query-product.d.ts +17 -0
- package/esm/funcs/products-query-product.d.ts.map +1 -0
- package/esm/funcs/products-query-product.js +83 -0
- package/esm/funcs/products-query-product.js.map +1 -0
- package/esm/funcs/products-update-product.d.ts +17 -0
- package/esm/funcs/products-update-product.d.ts.map +1 -0
- package/esm/funcs/products-update-product.js +93 -0
- package/esm/funcs/products-update-product.js.map +1 -0
- package/esm/funcs/revenue-reports-get-revenue-rollforward.d.ts +17 -0
- package/esm/funcs/revenue-reports-get-revenue-rollforward.d.ts.map +1 -0
- package/esm/funcs/revenue-reports-get-revenue-rollforward.js +83 -0
- package/esm/funcs/revenue-reports-get-revenue-rollforward.js.map +1 -0
- package/esm/funcs/revenue-reports-get-revenue-waterfall.d.ts +17 -0
- package/esm/funcs/revenue-reports-get-revenue-waterfall.d.ts.map +1 -0
- package/esm/funcs/revenue-reports-get-revenue-waterfall.js +83 -0
- package/esm/funcs/revenue-reports-get-revenue-waterfall.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/sdk/accounting-periods.d.ts +12 -0
- package/esm/sdk/accounting-periods.d.ts.map +1 -0
- package/esm/sdk/accounting-periods.js +18 -0
- package/esm/sdk/accounting-periods.js.map +1 -0
- package/esm/sdk/contracts.d.ts +19 -0
- package/esm/sdk/contracts.d.ts.map +1 -0
- package/esm/sdk/contracts.js +28 -0
- package/esm/sdk/contracts.js.map +1 -0
- package/esm/sdk/journal-entries.d.ts +19 -0
- package/esm/sdk/journal-entries.d.ts.map +1 -0
- package/esm/sdk/journal-entries.js +28 -0
- package/esm/sdk/journal-entries.js.map +1 -0
- package/esm/sdk/models/accounting-period-response.d.ts +18 -0
- package/esm/sdk/models/accounting-period-response.d.ts.map +1 -0
- package/esm/sdk/models/accounting-period-response.js +31 -0
- package/esm/sdk/models/accounting-period-response.js.map +1 -0
- package/esm/sdk/models/accounting-period-status.d.ts +12 -0
- package/esm/sdk/models/accounting-period-status.d.ts.map +1 -0
- package/esm/sdk/models/accounting-period-status.js +13 -0
- package/esm/sdk/models/accounting-period-status.js.map +1 -0
- package/esm/sdk/models/accountingperiod-filter.d.ts +44 -0
- package/esm/sdk/models/accountingperiod-filter.d.ts.map +1 -0
- package/esm/sdk/models/accountingperiod-filter.js +40 -0
- package/esm/sdk/models/accountingperiod-filter.js.map +1 -0
- package/esm/sdk/models/amortization-method.d.ts +11 -0
- package/esm/sdk/models/amortization-method.d.ts.map +1 -0
- package/esm/sdk/models/amortization-method.js +12 -0
- package/esm/sdk/models/amortization-method.js.map +1 -0
- package/esm/sdk/models/commitment-response.d.ts +3 -0
- package/esm/sdk/models/commitment-response.d.ts.map +1 -1
- package/esm/sdk/models/commitment-response.js.map +1 -1
- package/esm/sdk/models/contract-association-response.d.ts +14 -0
- package/esm/sdk/models/contract-association-response.d.ts.map +1 -0
- package/esm/sdk/models/contract-association-response.js +25 -0
- package/esm/sdk/models/contract-association-response.js.map +1 -0
- package/esm/sdk/models/contract-filter.d.ts +50 -0
- package/esm/sdk/models/contract-filter.d.ts.map +1 -0
- package/esm/sdk/models/contract-filter.js +46 -0
- package/esm/sdk/models/contract-filter.js.map +1 -0
- package/esm/sdk/models/contract-response.d.ts +23 -0
- package/esm/sdk/models/contract-response.d.ts.map +1 -0
- package/esm/sdk/models/contract-response.js +38 -0
- package/esm/sdk/models/contract-response.js.map +1 -0
- package/esm/sdk/models/contract-status.d.ts +14 -0
- package/esm/sdk/models/contract-status.d.ts.map +1 -0
- package/esm/sdk/models/contract-status.js +15 -0
- package/esm/sdk/models/contract-status.js.map +1 -0
- package/esm/sdk/models/create-commitment-request.d.ts +5 -2
- package/esm/sdk/models/create-commitment-request.d.ts.map +1 -1
- package/esm/sdk/models/create-commitment-request.js +1 -1
- package/esm/sdk/models/create-commitment-request.js.map +1 -1
- package/esm/sdk/models/create-entitlement-request.d.ts +7 -4
- package/esm/sdk/models/create-entitlement-request.d.ts.map +1 -1
- package/esm/sdk/models/create-entitlement-request.js +2 -2
- package/esm/sdk/models/create-entitlement-request.js.map +1 -1
- package/esm/sdk/models/create-price-request.d.ts +2 -0
- package/esm/sdk/models/create-price-request.d.ts.map +1 -1
- package/esm/sdk/models/create-price-request.js +2 -0
- package/esm/sdk/models/create-price-request.js.map +1 -1
- package/esm/sdk/models/create-product-request.d.ts +16 -0
- package/esm/sdk/models/create-product-request.d.ts.map +1 -0
- package/esm/sdk/models/create-product-request.js +19 -0
- package/esm/sdk/models/create-product-request.js.map +1 -0
- package/esm/sdk/models/create-subscription-entitlement-grant-request.d.ts +30 -0
- package/esm/sdk/models/create-subscription-entitlement-grant-request.d.ts.map +1 -0
- package/esm/sdk/models/create-subscription-entitlement-grant-request.js +32 -0
- package/esm/sdk/models/create-subscription-entitlement-grant-request.js.map +1 -0
- package/esm/sdk/models/create-subscription-request.d.ts +6 -0
- package/esm/sdk/models/create-subscription-request.d.ts.map +1 -1
- package/esm/sdk/models/create-subscription-request.js +3 -0
- package/esm/sdk/models/create-subscription-request.js.map +1 -1
- package/esm/sdk/models/delete-product-op.d.ts +15 -0
- package/esm/sdk/models/delete-product-op.d.ts.map +1 -0
- package/esm/sdk/models/delete-product-op.js +12 -0
- package/esm/sdk/models/delete-product-op.js.map +1 -0
- package/esm/sdk/models/entitlement-filter.d.ts +9 -0
- package/esm/sdk/models/entitlement-filter.d.ts.map +1 -1
- package/esm/sdk/models/entitlement-filter.js +3 -0
- package/esm/sdk/models/entitlement-filter.js.map +1 -1
- package/esm/sdk/models/entitlement-grant-scope-entity-type.d.ts +13 -0
- package/esm/sdk/models/entitlement-grant-scope-entity-type.d.ts.map +1 -0
- package/esm/sdk/models/entitlement-grant-scope-entity-type.js +14 -0
- package/esm/sdk/models/entitlement-grant-scope-entity-type.js.map +1 -0
- package/esm/sdk/models/entitlement-response.d.ts +2 -0
- package/esm/sdk/models/entitlement-response.d.ts.map +1 -1
- package/esm/sdk/models/entitlement-response.js +3 -0
- package/esm/sdk/models/entitlement-response.js.map +1 -1
- package/esm/sdk/models/get-contract-op.d.ts +15 -0
- package/esm/sdk/models/get-contract-op.d.ts.map +1 -0
- package/esm/sdk/models/get-contract-op.js +12 -0
- package/esm/sdk/models/get-contract-op.js.map +1 -0
- package/esm/sdk/models/get-journal-entry-op.d.ts +15 -0
- package/esm/sdk/models/get-journal-entry-op.d.ts.map +1 -0
- package/esm/sdk/models/get-journal-entry-op.js +12 -0
- package/esm/sdk/models/get-journal-entry-op.js.map +1 -0
- package/esm/sdk/models/get-performance-obligation-op.d.ts +15 -0
- package/esm/sdk/models/get-performance-obligation-op.d.ts.map +1 -0
- package/esm/sdk/models/get-performance-obligation-op.js +12 -0
- package/esm/sdk/models/get-performance-obligation-op.js.map +1 -0
- package/esm/sdk/models/get-product-op.d.ts +15 -0
- package/esm/sdk/models/get-product-op.d.ts.map +1 -0
- package/esm/sdk/models/get-product-op.js +12 -0
- package/esm/sdk/models/get-product-op.js.map +1 -0
- package/esm/sdk/models/grouped-invoicing-child-request.d.ts +6 -0
- package/esm/sdk/models/grouped-invoicing-child-request.d.ts.map +1 -1
- package/esm/sdk/models/grouped-invoicing-child-request.js +3 -0
- package/esm/sdk/models/grouped-invoicing-child-request.js.map +1 -1
- package/esm/sdk/models/index.d.ts +48 -0
- package/esm/sdk/models/index.d.ts.map +1 -1
- package/esm/sdk/models/index.js +48 -0
- package/esm/sdk/models/index.js.map +1 -1
- package/esm/sdk/models/invoice-filter.d.ts +5 -0
- package/esm/sdk/models/invoice-filter.d.ts.map +1 -1
- package/esm/sdk/models/invoice-filter.js +2 -0
- package/esm/sdk/models/invoice-filter.js.map +1 -1
- package/esm/sdk/models/journal-direction.d.ts +10 -0
- package/esm/sdk/models/journal-direction.d.ts.map +1 -0
- package/esm/sdk/models/journal-direction.js +11 -0
- package/esm/sdk/models/journal-direction.js.map +1 -0
- package/esm/sdk/models/journal-entry-response.d.ts +24 -0
- package/esm/sdk/models/journal-entry-response.d.ts.map +1 -0
- package/esm/sdk/models/journal-entry-response.js +41 -0
- package/esm/sdk/models/journal-entry-response.js.map +1 -0
- package/esm/sdk/models/journal-event-type.d.ts +19 -0
- package/esm/sdk/models/journal-event-type.d.ts.map +1 -0
- package/esm/sdk/models/journal-event-type.js +20 -0
- package/esm/sdk/models/journal-event-type.js.map +1 -0
- package/esm/sdk/models/journal-filter.d.ts +60 -0
- package/esm/sdk/models/journal-filter.d.ts.map +1 -0
- package/esm/sdk/models/journal-filter.js +55 -0
- package/esm/sdk/models/journal-filter.js.map +1 -0
- package/esm/sdk/models/journal-line-response.d.ts +16 -0
- package/esm/sdk/models/journal-line-response.d.ts.map +1 -0
- package/esm/sdk/models/journal-line-response.js +25 -0
- package/esm/sdk/models/journal-line-response.js.map +1 -0
- package/esm/sdk/models/ledger-account-key.d.ts +18 -0
- package/esm/sdk/models/ledger-account-key.d.ts.map +1 -0
- package/esm/sdk/models/ledger-account-key.js +19 -0
- package/esm/sdk/models/ledger-account-key.js.map +1 -0
- package/esm/sdk/models/list-accounting-periods-response.d.ts +13 -0
- package/esm/sdk/models/list-accounting-periods-response.d.ts.map +1 -0
- package/esm/sdk/models/list-accounting-periods-response.js +17 -0
- package/esm/sdk/models/list-accounting-periods-response.js.map +1 -0
- package/esm/sdk/models/list-contracts-response.d.ts +13 -0
- package/esm/sdk/models/list-contracts-response.d.ts.map +1 -0
- package/esm/sdk/models/list-contracts-response.js +17 -0
- package/esm/sdk/models/list-contracts-response.js.map +1 -0
- package/esm/sdk/models/list-journal-entries-response.d.ts +13 -0
- package/esm/sdk/models/list-journal-entries-response.d.ts.map +1 -0
- package/esm/sdk/models/list-journal-entries-response.js +17 -0
- package/esm/sdk/models/list-journal-entries-response.js.map +1 -0
- package/esm/sdk/models/list-payments-op.d.ts +5 -0
- package/esm/sdk/models/list-payments-op.d.ts.map +1 -1
- package/esm/sdk/models/list-payments-op.js +2 -0
- package/esm/sdk/models/list-payments-op.js.map +1 -1
- package/esm/sdk/models/list-performance-obligations-response.d.ts +13 -0
- package/esm/sdk/models/list-performance-obligations-response.d.ts.map +1 -0
- package/esm/sdk/models/list-performance-obligations-response.js +17 -0
- package/esm/sdk/models/list-performance-obligations-response.js.map +1 -0
- package/esm/sdk/models/list-products-op.d.ts +44 -0
- package/esm/sdk/models/list-products-op.d.ts.map +1 -0
- package/esm/sdk/models/list-products-op.js +41 -0
- package/esm/sdk/models/list-products-op.js.map +1 -0
- package/esm/sdk/models/list-products-response.d.ts +13 -0
- package/esm/sdk/models/list-products-response.d.ts.map +1 -0
- package/esm/sdk/models/list-products-response.js +17 -0
- package/esm/sdk/models/list-products-response.js.map +1 -0
- package/esm/sdk/models/performance-obligation-association-response.d.ts +14 -0
- package/esm/sdk/models/performance-obligation-association-response.d.ts.map +1 -0
- package/esm/sdk/models/performance-obligation-association-response.js +25 -0
- package/esm/sdk/models/performance-obligation-association-response.js.map +1 -0
- package/esm/sdk/models/performance-obligation-response.d.ts +26 -0
- package/esm/sdk/models/performance-obligation-response.d.ts.map +1 -0
- package/esm/sdk/models/performance-obligation-response.js +42 -0
- package/esm/sdk/models/performance-obligation-response.js.map +1 -0
- package/esm/sdk/models/performance-obligation-status.d.ts +14 -0
- package/esm/sdk/models/performance-obligation-status.d.ts.map +1 -0
- package/esm/sdk/models/performance-obligation-status.js +15 -0
- package/esm/sdk/models/performance-obligation-status.js.map +1 -0
- package/esm/sdk/models/pob-filter.d.ts +51 -0
- package/esm/sdk/models/pob-filter.d.ts.map +1 -0
- package/esm/sdk/models/pob-filter.js +47 -0
- package/esm/sdk/models/pob-filter.js.map +1 -0
- package/esm/sdk/models/price-filter.d.ts +2 -0
- package/esm/sdk/models/price-filter.d.ts.map +1 -1
- package/esm/sdk/models/price-filter.js +2 -0
- package/esm/sdk/models/price-filter.js.map +1 -1
- package/esm/sdk/models/price-price.d.ts +1 -0
- package/esm/sdk/models/price-price.d.ts.map +1 -1
- package/esm/sdk/models/price-price.js +2 -0
- package/esm/sdk/models/price-price.js.map +1 -1
- package/esm/sdk/models/price-response.d.ts +1 -0
- package/esm/sdk/models/price-response.d.ts.map +1 -1
- package/esm/sdk/models/price-response.js +2 -0
- package/esm/sdk/models/price-response.js.map +1 -1
- package/esm/sdk/models/product-filter.d.ts +43 -0
- package/esm/sdk/models/product-filter.d.ts.map +1 -0
- package/esm/sdk/models/product-filter.js +39 -0
- package/esm/sdk/models/product-filter.js.map +1 -0
- package/esm/sdk/models/product-response.d.ts +17 -0
- package/esm/sdk/models/product-response.d.ts.map +1 -0
- package/esm/sdk/models/product-response.js +28 -0
- package/esm/sdk/models/product-response.js.map +1 -0
- package/esm/sdk/models/recognition-method.d.ts +13 -0
- package/esm/sdk/models/recognition-method.d.ts.map +1 -0
- package/esm/sdk/models/recognition-method.js +14 -0
- package/esm/sdk/models/recognition-method.js.map +1 -0
- package/esm/sdk/models/rev-rec-entity-type.d.ts +17 -0
- package/esm/sdk/models/rev-rec-entity-type.d.ts.map +1 -0
- package/esm/sdk/models/rev-rec-entity-type.js +18 -0
- package/esm/sdk/models/rev-rec-entity-type.js.map +1 -0
- package/esm/sdk/models/revenue-breakdown.d.ts +16 -0
- package/esm/sdk/models/revenue-breakdown.d.ts.map +1 -0
- package/esm/sdk/models/revenue-breakdown.js +17 -0
- package/esm/sdk/models/revenue-breakdown.js.map +1 -0
- package/esm/sdk/models/revenue-report-group-by.d.ts +11 -0
- package/esm/sdk/models/revenue-report-group-by.d.ts.map +1 -0
- package/esm/sdk/models/revenue-report-group-by.js +12 -0
- package/esm/sdk/models/revenue-report-group-by.js.map +1 -0
- package/esm/sdk/models/rollforward-request.d.ts +49 -0
- package/esm/sdk/models/rollforward-request.d.ts.map +1 -0
- package/esm/sdk/models/rollforward-request.js +35 -0
- package/esm/sdk/models/rollforward-request.js.map +1 -0
- package/esm/sdk/models/rollforward-response.d.ts +20 -0
- package/esm/sdk/models/rollforward-response.d.ts.map +1 -0
- package/esm/sdk/models/rollforward-response.js +18 -0
- package/esm/sdk/models/rollforward-response.js.map +1 -0
- package/esm/sdk/models/rollforward-row.d.ts +26 -0
- package/esm/sdk/models/rollforward-row.d.ts.map +1 -0
- package/esm/sdk/models/rollforward-row.js +29 -0
- package/esm/sdk/models/rollforward-row.js.map +1 -0
- package/esm/sdk/models/subscription-entitlement-grants-response.d.ts +13 -0
- package/esm/sdk/models/subscription-entitlement-grants-response.d.ts.map +1 -0
- package/esm/sdk/models/subscription-entitlement-grants-response.js +22 -0
- package/esm/sdk/models/subscription-entitlement-grants-response.js.map +1 -0
- package/esm/sdk/models/subscription-entitlements-response.d.ts +2 -0
- package/esm/sdk/models/subscription-entitlements-response.d.ts.map +1 -1
- package/esm/sdk/models/subscription-entitlements-response.js +3 -0
- package/esm/sdk/models/subscription-entitlements-response.js.map +1 -1
- package/esm/sdk/models/update-price-request.d.ts +5 -0
- package/esm/sdk/models/update-price-request.d.ts.map +1 -1
- package/esm/sdk/models/update-price-request.js +2 -0
- package/esm/sdk/models/update-price-request.js.map +1 -1
- package/esm/sdk/models/update-product-op.d.ts +21 -0
- package/esm/sdk/models/update-product-op.d.ts.map +1 -0
- package/esm/sdk/models/update-product-op.js +14 -0
- package/esm/sdk/models/update-product-op.js.map +1 -0
- package/esm/sdk/models/update-product-request.d.ts +14 -0
- package/esm/sdk/models/update-product-request.d.ts.map +1 -0
- package/esm/sdk/models/update-product-request.js +13 -0
- package/esm/sdk/models/update-product-request.js.map +1 -0
- package/esm/sdk/models/waterfall-cell.d.ts +23 -0
- package/esm/sdk/models/waterfall-cell.d.ts.map +1 -0
- package/esm/sdk/models/waterfall-cell.js +18 -0
- package/esm/sdk/models/waterfall-cell.js.map +1 -0
- package/esm/sdk/models/waterfall-request.d.ts +48 -0
- package/esm/sdk/models/waterfall-request.d.ts.map +1 -0
- package/esm/sdk/models/waterfall-request.js +34 -0
- package/esm/sdk/models/waterfall-request.js.map +1 -0
- package/esm/sdk/models/waterfall-response.d.ts +18 -0
- package/esm/sdk/models/waterfall-response.d.ts.map +1 -0
- package/esm/sdk/models/waterfall-response.js +19 -0
- package/esm/sdk/models/waterfall-response.js.map +1 -0
- package/esm/sdk/models/waterfall-row.d.ts +17 -0
- package/esm/sdk/models/waterfall-row.d.ts.map +1 -0
- package/esm/sdk/models/waterfall-row.js +25 -0
- package/esm/sdk/models/waterfall-row.js.map +1 -0
- package/esm/sdk/performance-obligations.d.ts +19 -0
- package/esm/sdk/performance-obligations.d.ts.map +1 -0
- package/esm/sdk/performance-obligations.js +28 -0
- package/esm/sdk/performance-obligations.js.map +1 -0
- package/esm/sdk/products.d.ts +47 -0
- package/esm/sdk/products.d.ts.map +1 -0
- package/esm/sdk/products.js +68 -0
- package/esm/sdk/products.js.map +1 -0
- package/esm/sdk/revenue-reports.d.ts +19 -0
- package/esm/sdk/revenue-reports.d.ts.map +1 -0
- package/esm/sdk/revenue-reports.js +28 -0
- package/esm/sdk/revenue-reports.js.map +1 -0
- package/esm/sdk/sdk.d.ts +18 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +30 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/{activityListActivity.example.ts → accountingPeriodsQueryAccountingPeriod.example.ts} +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounting-periods-query-accounting-period.ts +172 -0
- package/src/funcs/contracts-get-contract.ts +181 -0
- package/src/funcs/contracts-query-contract.ts +172 -0
- package/src/funcs/journal-entries-get-journal-entry.ts +181 -0
- package/src/funcs/journal-entries-query-journal-entry.ts +172 -0
- package/src/funcs/payments-list-payments.ts +1 -0
- package/src/funcs/performance-obligations-get-performance-obligation.ts +182 -0
- package/src/funcs/performance-obligations-query-performance-obligation.ts +172 -0
- package/src/funcs/products-create-product.ts +172 -0
- package/src/funcs/products-delete-product.ts +181 -0
- package/src/funcs/products-get-product.ts +181 -0
- package/src/funcs/products-list-products.ts +189 -0
- package/src/funcs/products-query-product.ts +172 -0
- package/src/funcs/products-update-product.ts +187 -0
- package/src/funcs/revenue-reports-get-revenue-rollforward.ts +172 -0
- package/src/funcs/revenue-reports-get-revenue-waterfall.ts +172 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/accounting-periods.ts +27 -0
- package/src/sdk/contracts.ts +45 -0
- package/src/sdk/journal-entries.ts +45 -0
- package/src/sdk/models/accounting-period-response.ts +60 -0
- package/src/sdk/models/accounting-period-status.ts +24 -0
- package/src/sdk/models/accountingperiod-filter.ts +100 -0
- package/src/sdk/models/amortization-method.ts +20 -0
- package/src/sdk/models/commitment-response.ts +3 -0
- package/src/sdk/models/contract-association-response.ts +51 -0
- package/src/sdk/models/contract-filter.ts +106 -0
- package/src/sdk/models/contract-response.ts +76 -0
- package/src/sdk/models/contract-status.ts +26 -0
- package/src/sdk/models/create-commitment-request.ts +6 -3
- package/src/sdk/models/create-entitlement-request.ts +9 -6
- package/src/sdk/models/create-price-request.ts +4 -0
- package/src/sdk/models/create-product-request.ts +44 -0
- package/src/sdk/models/create-subscription-entitlement-grant-request.ts +85 -0
- package/src/sdk/models/create-subscription-request.ts +18 -0
- package/src/sdk/models/delete-product-op.ts +33 -0
- package/src/sdk/models/entitlement-filter.ts +16 -0
- package/src/sdk/models/entitlement-grant-scope-entity-type.ts +27 -0
- package/src/sdk/models/entitlement-response.ts +7 -0
- package/src/sdk/models/get-contract-op.ts +33 -0
- package/src/sdk/models/get-journal-entry-op.ts +33 -0
- package/src/sdk/models/get-performance-obligation-op.ts +35 -0
- package/src/sdk/models/get-product-op.ts +33 -0
- package/src/sdk/models/grouped-invoicing-child-request.ts +18 -0
- package/src/sdk/models/index.ts +48 -0
- package/src/sdk/models/invoice-filter.ts +9 -0
- package/src/sdk/models/journal-direction.ts +19 -0
- package/src/sdk/models/journal-entry-response.ts +81 -0
- package/src/sdk/models/journal-event-type.ts +31 -0
- package/src/sdk/models/journal-filter.ts +129 -0
- package/src/sdk/models/journal-line-response.ts +55 -0
- package/src/sdk/models/ledger-account-key.ts +30 -0
- package/src/sdk/models/list-accounting-periods-response.ts +41 -0
- package/src/sdk/models/list-contracts-response.ts +41 -0
- package/src/sdk/models/list-journal-entries-response.ts +41 -0
- package/src/sdk/models/list-payments-op.ts +7 -0
- package/src/sdk/models/list-performance-obligations-response.ts +42 -0
- package/src/sdk/models/list-products-op.ts +89 -0
- package/src/sdk/models/list-products-response.ts +41 -0
- package/src/sdk/models/performance-obligation-association-response.ts +55 -0
- package/src/sdk/models/performance-obligation-response.ts +87 -0
- package/src/sdk/models/performance-obligation-status.ts +28 -0
- package/src/sdk/models/pob-filter.ts +112 -0
- package/src/sdk/models/price-filter.ts +4 -0
- package/src/sdk/models/price-price.ts +3 -0
- package/src/sdk/models/price-response.ts +3 -0
- package/src/sdk/models/product-filter.ts +90 -0
- package/src/sdk/models/product-response.ts +54 -0
- package/src/sdk/models/recognition-method.ts +25 -0
- package/src/sdk/models/rev-rec-entity-type.ts +29 -0
- package/src/sdk/models/revenue-breakdown.ts +40 -0
- package/src/sdk/models/revenue-report-group-by.ts +18 -0
- package/src/sdk/models/rollforward-request.ts +97 -0
- package/src/sdk/models/rollforward-response.ts +49 -0
- package/src/sdk/models/rollforward-row.ts +65 -0
- package/src/sdk/models/subscription-entitlement-grants-response.ts +47 -0
- package/src/sdk/models/subscription-entitlements-response.ts +11 -0
- package/src/sdk/models/update-price-request.ts +7 -0
- package/src/sdk/models/update-product-op.ts +46 -0
- package/src/sdk/models/update-product-request.ts +33 -0
- package/src/sdk/models/waterfall-cell.ts +50 -0
- package/src/sdk/models/waterfall-request.ts +93 -0
- package/src/sdk/models/waterfall-response.ts +47 -0
- package/src/sdk/models/waterfall-row.ts +52 -0
- package/src/sdk/performance-obligations.ts +45 -0
- package/src/sdk/products.ts +119 -0
- package/src/sdk/revenue-reports.ts +45 -0
- package/src/sdk/sdk.ts +38 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
EntitlementAggregationMode,
|
|
9
|
+
EntitlementAggregationMode$outboundSchema,
|
|
10
|
+
} from "./entitlement-aggregation-mode.js";
|
|
11
|
+
import {
|
|
12
|
+
EntitlementGrantAllocationBehavior,
|
|
13
|
+
EntitlementGrantAllocationBehavior$outboundSchema,
|
|
14
|
+
} from "./entitlement-grant-allocation-behavior.js";
|
|
15
|
+
import {
|
|
16
|
+
EntitlementGrantDurationUnit,
|
|
17
|
+
EntitlementGrantDurationUnit$outboundSchema,
|
|
18
|
+
} from "./entitlement-grant-duration-unit.js";
|
|
19
|
+
|
|
20
|
+
export type CreateSubscriptionEntitlementGrantRequest = {
|
|
21
|
+
aggregationMode?: EntitlementAggregationMode | undefined;
|
|
22
|
+
endDate?: Date | undefined;
|
|
23
|
+
grantAllocationBehavior?: EntitlementGrantAllocationBehavior | undefined;
|
|
24
|
+
grantDurationUnit: EntitlementGrantDurationUnit;
|
|
25
|
+
grantDurationValue?: number | undefined;
|
|
26
|
+
grantQuota: string;
|
|
27
|
+
/**
|
|
28
|
+
* StartDate defaults to the subscription's start; EndDate leaves the grant open.
|
|
29
|
+
*/
|
|
30
|
+
startDate?: Date | undefined;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type CreateSubscriptionEntitlementGrantRequest$Outbound = {
|
|
35
|
+
aggregation_mode?: string | undefined;
|
|
36
|
+
end_date?: string | undefined;
|
|
37
|
+
grant_allocation_behavior?: string | undefined;
|
|
38
|
+
grant_duration_unit: string;
|
|
39
|
+
grant_duration_value?: number | undefined;
|
|
40
|
+
grant_quota: string;
|
|
41
|
+
start_date?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const CreateSubscriptionEntitlementGrantRequest$outboundSchema:
|
|
46
|
+
z.ZodMiniType<
|
|
47
|
+
CreateSubscriptionEntitlementGrantRequest$Outbound,
|
|
48
|
+
CreateSubscriptionEntitlementGrantRequest
|
|
49
|
+
> = z.pipe(
|
|
50
|
+
z.object({
|
|
51
|
+
aggregationMode: z.optional(EntitlementAggregationMode$outboundSchema),
|
|
52
|
+
endDate: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
53
|
+
grantAllocationBehavior: z.optional(
|
|
54
|
+
EntitlementGrantAllocationBehavior$outboundSchema,
|
|
55
|
+
),
|
|
56
|
+
grantDurationUnit: EntitlementGrantDurationUnit$outboundSchema,
|
|
57
|
+
grantDurationValue: z.optional(z.int()),
|
|
58
|
+
grantQuota: z.string(),
|
|
59
|
+
startDate: z.optional(
|
|
60
|
+
z.pipe(z.date(), z.transform(v => v.toISOString())),
|
|
61
|
+
),
|
|
62
|
+
}),
|
|
63
|
+
z.transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
aggregationMode: "aggregation_mode",
|
|
66
|
+
endDate: "end_date",
|
|
67
|
+
grantAllocationBehavior: "grant_allocation_behavior",
|
|
68
|
+
grantDurationUnit: "grant_duration_unit",
|
|
69
|
+
grantDurationValue: "grant_duration_value",
|
|
70
|
+
grantQuota: "grant_quota",
|
|
71
|
+
startDate: "start_date",
|
|
72
|
+
});
|
|
73
|
+
}),
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
export function createSubscriptionEntitlementGrantRequestToJSON(
|
|
77
|
+
createSubscriptionEntitlementGrantRequest:
|
|
78
|
+
CreateSubscriptionEntitlementGrantRequest,
|
|
79
|
+
): string {
|
|
80
|
+
return JSON.stringify(
|
|
81
|
+
CreateSubscriptionEntitlementGrantRequest$outboundSchema.parse(
|
|
82
|
+
createSubscriptionEntitlementGrantRequest,
|
|
83
|
+
),
|
|
84
|
+
);
|
|
85
|
+
}
|
|
@@ -33,6 +33,11 @@ import {
|
|
|
33
33
|
CreateCreditGrantRequest$Outbound,
|
|
34
34
|
CreateCreditGrantRequest$outboundSchema,
|
|
35
35
|
} from "./create-credit-grant-request.js";
|
|
36
|
+
import {
|
|
37
|
+
CreateSubscriptionEntitlementGrantRequest,
|
|
38
|
+
CreateSubscriptionEntitlementGrantRequest$Outbound,
|
|
39
|
+
CreateSubscriptionEntitlementGrantRequest$outboundSchema,
|
|
40
|
+
} from "./create-subscription-entitlement-grant-request.js";
|
|
36
41
|
import {
|
|
37
42
|
CreateSubscriptionLineItemRequest,
|
|
38
43
|
CreateSubscriptionLineItemRequest$Outbound,
|
|
@@ -196,6 +201,12 @@ export type CreateSubscriptionRequest = {
|
|
|
196
201
|
* Accepts coupon_code; optionally targets a line item via price_id.
|
|
197
202
|
*/
|
|
198
203
|
subscriptionCoupons?: Array<SubscriptionCouponInput> | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* SubscriptionEntitlementGrants are dollar entitlement grants shared by every usage line, created with the subscription.
|
|
206
|
+
*/
|
|
207
|
+
subscriptionEntitlementGrants?:
|
|
208
|
+
| Array<CreateSubscriptionEntitlementGrantRequest>
|
|
209
|
+
| undefined;
|
|
199
210
|
subscriptionStatus?: SubscriptionStatus | undefined;
|
|
200
211
|
taxRateOverrides?: Array<TaxRateOverride> | undefined;
|
|
201
212
|
timezone?: string | undefined;
|
|
@@ -249,6 +260,9 @@ export type CreateSubscriptionRequest$Outbound = {
|
|
|
249
260
|
proration_behavior?: string | undefined;
|
|
250
261
|
start_date?: string | undefined;
|
|
251
262
|
subscription_coupons?: Array<SubscriptionCouponInput$Outbound> | undefined;
|
|
263
|
+
subscription_entitlement_grants?:
|
|
264
|
+
| Array<CreateSubscriptionEntitlementGrantRequest$Outbound>
|
|
265
|
+
| undefined;
|
|
252
266
|
subscription_status?: string | undefined;
|
|
253
267
|
tax_rate_overrides?: Array<TaxRateOverride$Outbound> | undefined;
|
|
254
268
|
timezone?: string | undefined;
|
|
@@ -311,6 +325,9 @@ export const CreateSubscriptionRequest$outboundSchema: z.ZodMiniType<
|
|
|
311
325
|
subscriptionCoupons: z.optional(
|
|
312
326
|
z.array(SubscriptionCouponInput$outboundSchema),
|
|
313
327
|
),
|
|
328
|
+
subscriptionEntitlementGrants: z.optional(
|
|
329
|
+
z.array(CreateSubscriptionEntitlementGrantRequest$outboundSchema),
|
|
330
|
+
),
|
|
314
331
|
subscriptionStatus: z.optional(SubscriptionStatus$outboundSchema),
|
|
315
332
|
taxRateOverrides: z.optional(z.array(TaxRateOverride$outboundSchema)),
|
|
316
333
|
timezone: z.optional(z.string()),
|
|
@@ -348,6 +365,7 @@ export const CreateSubscriptionRequest$outboundSchema: z.ZodMiniType<
|
|
|
348
365
|
prorationBehavior: "proration_behavior",
|
|
349
366
|
startDate: "start_date",
|
|
350
367
|
subscriptionCoupons: "subscription_coupons",
|
|
368
|
+
subscriptionEntitlementGrants: "subscription_entitlement_grants",
|
|
351
369
|
subscriptionStatus: "subscription_status",
|
|
352
370
|
taxRateOverrides: "tax_rate_overrides",
|
|
353
371
|
trialPeriodDays: "trial_period_days",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type DeleteProductRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Product ID
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type DeleteProductRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const DeleteProductRequest$outboundSchema: z.ZodMiniType<
|
|
21
|
+
DeleteProductRequest$Outbound,
|
|
22
|
+
DeleteProductRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function deleteProductRequestToJSON(
|
|
28
|
+
deleteProductRequest: DeleteProductRequest,
|
|
29
|
+
): string {
|
|
30
|
+
return JSON.stringify(
|
|
31
|
+
DeleteProductRequest$outboundSchema.parse(deleteProductRequest),
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -9,6 +9,10 @@ import {
|
|
|
9
9
|
EntitlementEntityType,
|
|
10
10
|
EntitlementEntityType$outboundSchema,
|
|
11
11
|
} from "./entitlement-entity-type.js";
|
|
12
|
+
import {
|
|
13
|
+
EntitlementGrantScopeEntityType,
|
|
14
|
+
EntitlementGrantScopeEntityType$outboundSchema,
|
|
15
|
+
} from "./entitlement-grant-scope-entity-type.js";
|
|
12
16
|
import { FeatureType, FeatureType$outboundSchema } from "./feature-type.js";
|
|
13
17
|
import {
|
|
14
18
|
FilterCondition,
|
|
@@ -39,6 +43,13 @@ export type EntitlementFilter = {
|
|
|
39
43
|
* Specific filters for entitlements
|
|
40
44
|
*/
|
|
41
45
|
filters?: Array<FilterCondition> | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* GrantScopes selects entitlements by grant scope. Empty means feature only, so
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* subscription entitlement grants, which have no feature, never reach feature-based reads.
|
|
51
|
+
*/
|
|
52
|
+
grantScopes?: Array<EntitlementGrantScopeEntityType> | undefined;
|
|
42
53
|
/**
|
|
43
54
|
* HasGrantConfig filters on grant-config presence (grant_quota set or not).
|
|
44
55
|
*/
|
|
@@ -67,6 +78,7 @@ export type EntitlementFilter$Outbound = {
|
|
|
67
78
|
feature_ids?: Array<string> | undefined;
|
|
68
79
|
feature_type?: string | undefined;
|
|
69
80
|
filters?: Array<FilterCondition$Outbound> | undefined;
|
|
81
|
+
grant_scopes?: Array<string> | undefined;
|
|
70
82
|
has_grant_config?: boolean | undefined;
|
|
71
83
|
is_enabled?: boolean | undefined;
|
|
72
84
|
limit?: number | undefined;
|
|
@@ -91,6 +103,9 @@ export const EntitlementFilter$outboundSchema: z.ZodMiniType<
|
|
|
91
103
|
featureIds: z.optional(z.array(z.string())),
|
|
92
104
|
featureType: z.optional(FeatureType$outboundSchema),
|
|
93
105
|
filters: z.optional(z.array(FilterCondition$outboundSchema)),
|
|
106
|
+
grantScopes: z.optional(
|
|
107
|
+
z.array(EntitlementGrantScopeEntityType$outboundSchema),
|
|
108
|
+
),
|
|
94
109
|
hasGrantConfig: z.optional(z.boolean()),
|
|
95
110
|
isEnabled: z.optional(z.boolean()),
|
|
96
111
|
limit: z.optional(z.int()),
|
|
@@ -108,6 +123,7 @@ export const EntitlementFilter$outboundSchema: z.ZodMiniType<
|
|
|
108
123
|
entityType: "entity_type",
|
|
109
124
|
featureIds: "feature_ids",
|
|
110
125
|
featureType: "feature_type",
|
|
126
|
+
grantScopes: "grant_scopes",
|
|
111
127
|
hasGrantConfig: "has_grant_config",
|
|
112
128
|
isEnabled: "is_enabled",
|
|
113
129
|
planIds: "plan_ids",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const EntitlementGrantScopeEntityType = {
|
|
10
|
+
Feature: "feature",
|
|
11
|
+
Subscription: "subscription",
|
|
12
|
+
Group: "group",
|
|
13
|
+
} as const;
|
|
14
|
+
export type EntitlementGrantScopeEntityType = OpenEnum<
|
|
15
|
+
typeof EntitlementGrantScopeEntityType
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const EntitlementGrantScopeEntityType$inboundSchema: z.ZodMiniType<
|
|
20
|
+
EntitlementGrantScopeEntityType,
|
|
21
|
+
unknown
|
|
22
|
+
> = openEnums.inboundSchema(EntitlementGrantScopeEntityType);
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const EntitlementGrantScopeEntityType$outboundSchema: z.ZodMiniType<
|
|
25
|
+
string,
|
|
26
|
+
EntitlementGrantScopeEntityType
|
|
27
|
+
> = openEnums.outboundSchema(EntitlementGrantScopeEntityType);
|
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
EntitlementGrantMeasure,
|
|
32
32
|
EntitlementGrantMeasure$inboundSchema,
|
|
33
33
|
} from "./entitlement-grant-measure.js";
|
|
34
|
+
import {
|
|
35
|
+
EntitlementGrantScopeEntityType,
|
|
36
|
+
EntitlementGrantScopeEntityType$inboundSchema,
|
|
37
|
+
} from "./entitlement-grant-scope-entity-type.js";
|
|
34
38
|
import {
|
|
35
39
|
EntitlementUsageResetPeriod,
|
|
36
40
|
EntitlementUsageResetPeriod$inboundSchema,
|
|
@@ -63,6 +67,7 @@ export type EntitlementResponse = {
|
|
|
63
67
|
grantDurationValue?: number | undefined;
|
|
64
68
|
grantMeasure?: EntitlementGrantMeasure | undefined;
|
|
65
69
|
grantQuota?: string | undefined;
|
|
70
|
+
grantScope?: EntitlementGrantScopeEntityType | undefined;
|
|
66
71
|
id?: string | undefined;
|
|
67
72
|
isEnabled?: boolean | undefined;
|
|
68
73
|
isSoftLimit?: boolean | undefined;
|
|
@@ -110,6 +115,7 @@ export const EntitlementResponse$inboundSchema: z.ZodMiniType<
|
|
|
110
115
|
grant_duration_value: types.optional(types.number()),
|
|
111
116
|
grant_measure: types.optional(EntitlementGrantMeasure$inboundSchema),
|
|
112
117
|
grant_quota: types.optional(types.string()),
|
|
118
|
+
grant_scope: types.optional(EntitlementGrantScopeEntityType$inboundSchema),
|
|
113
119
|
id: types.optional(types.string()),
|
|
114
120
|
is_enabled: types.optional(types.boolean()),
|
|
115
121
|
is_soft_limit: types.optional(types.boolean()),
|
|
@@ -145,6 +151,7 @@ export const EntitlementResponse$inboundSchema: z.ZodMiniType<
|
|
|
145
151
|
"grant_duration_value": "grantDurationValue",
|
|
146
152
|
"grant_measure": "grantMeasure",
|
|
147
153
|
"grant_quota": "grantQuota",
|
|
154
|
+
"grant_scope": "grantScope",
|
|
148
155
|
"is_enabled": "isEnabled",
|
|
149
156
|
"is_soft_limit": "isSoftLimit",
|
|
150
157
|
"parent_entitlement_id": "parentEntitlementId",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type GetContractRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Contract ID
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type GetContractRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const GetContractRequest$outboundSchema: z.ZodMiniType<
|
|
21
|
+
GetContractRequest$Outbound,
|
|
22
|
+
GetContractRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function getContractRequestToJSON(
|
|
28
|
+
getContractRequest: GetContractRequest,
|
|
29
|
+
): string {
|
|
30
|
+
return JSON.stringify(
|
|
31
|
+
GetContractRequest$outboundSchema.parse(getContractRequest),
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type GetJournalEntryRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Journal entry ID
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type GetJournalEntryRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const GetJournalEntryRequest$outboundSchema: z.ZodMiniType<
|
|
21
|
+
GetJournalEntryRequest$Outbound,
|
|
22
|
+
GetJournalEntryRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function getJournalEntryRequestToJSON(
|
|
28
|
+
getJournalEntryRequest: GetJournalEntryRequest,
|
|
29
|
+
): string {
|
|
30
|
+
return JSON.stringify(
|
|
31
|
+
GetJournalEntryRequest$outboundSchema.parse(getJournalEntryRequest),
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type GetPerformanceObligationRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Performance obligation ID
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type GetPerformanceObligationRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const GetPerformanceObligationRequest$outboundSchema: z.ZodMiniType<
|
|
21
|
+
GetPerformanceObligationRequest$Outbound,
|
|
22
|
+
GetPerformanceObligationRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function getPerformanceObligationRequestToJSON(
|
|
28
|
+
getPerformanceObligationRequest: GetPerformanceObligationRequest,
|
|
29
|
+
): string {
|
|
30
|
+
return JSON.stringify(
|
|
31
|
+
GetPerformanceObligationRequest$outboundSchema.parse(
|
|
32
|
+
getPerformanceObligationRequest,
|
|
33
|
+
),
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type GetProductRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Product ID
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type GetProductRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const GetProductRequest$outboundSchema: z.ZodMiniType<
|
|
21
|
+
GetProductRequest$Outbound,
|
|
22
|
+
GetProductRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function getProductRequestToJSON(
|
|
28
|
+
getProductRequest: GetProductRequest,
|
|
29
|
+
): string {
|
|
30
|
+
return JSON.stringify(
|
|
31
|
+
GetProductRequest$outboundSchema.parse(getProductRequest),
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -18,6 +18,11 @@ import {
|
|
|
18
18
|
CreateCreditGrantRequest$Outbound,
|
|
19
19
|
CreateCreditGrantRequest$outboundSchema,
|
|
20
20
|
} from "./create-credit-grant-request.js";
|
|
21
|
+
import {
|
|
22
|
+
CreateSubscriptionEntitlementGrantRequest,
|
|
23
|
+
CreateSubscriptionEntitlementGrantRequest$Outbound,
|
|
24
|
+
CreateSubscriptionEntitlementGrantRequest$outboundSchema,
|
|
25
|
+
} from "./create-subscription-entitlement-grant-request.js";
|
|
21
26
|
import {
|
|
22
27
|
CreateSubscriptionLineItemRequest,
|
|
23
28
|
CreateSubscriptionLineItemRequest$Outbound,
|
|
@@ -92,6 +97,12 @@ export type GroupedInvoicingChildRequest = {
|
|
|
92
97
|
* Accepts coupon_code; optionally targets a line item via price_id.
|
|
93
98
|
*/
|
|
94
99
|
subscriptionCoupons?: Array<SubscriptionCouponInput> | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* SubscriptionEntitlementGrants are dollar entitlement grants shared by every usage line, created with the subscription.
|
|
102
|
+
*/
|
|
103
|
+
subscriptionEntitlementGrants?:
|
|
104
|
+
| Array<CreateSubscriptionEntitlementGrantRequest>
|
|
105
|
+
| undefined;
|
|
95
106
|
taxRateOverrides?: Array<TaxRateOverride> | undefined;
|
|
96
107
|
/**
|
|
97
108
|
* TrialPeriodDays: nil = inherit from plan prices, 0 = no trial, >0 = override in days.
|
|
@@ -121,6 +132,9 @@ export type GroupedInvoicingChildRequest$Outbound = {
|
|
|
121
132
|
phases?: Array<SubscriptionPhaseCreateRequest$Outbound> | undefined;
|
|
122
133
|
plan_id: string;
|
|
123
134
|
subscription_coupons?: Array<SubscriptionCouponInput$Outbound> | undefined;
|
|
135
|
+
subscription_entitlement_grants?:
|
|
136
|
+
| Array<CreateSubscriptionEntitlementGrantRequest$Outbound>
|
|
137
|
+
| undefined;
|
|
124
138
|
tax_rate_overrides?: Array<TaxRateOverride$Outbound> | undefined;
|
|
125
139
|
trial_period_days?: number | undefined;
|
|
126
140
|
};
|
|
@@ -157,6 +171,9 @@ export const GroupedInvoicingChildRequest$outboundSchema: z.ZodMiniType<
|
|
|
157
171
|
subscriptionCoupons: z.optional(
|
|
158
172
|
z.array(SubscriptionCouponInput$outboundSchema),
|
|
159
173
|
),
|
|
174
|
+
subscriptionEntitlementGrants: z.optional(
|
|
175
|
+
z.array(CreateSubscriptionEntitlementGrantRequest$outboundSchema),
|
|
176
|
+
),
|
|
160
177
|
taxRateOverrides: z.optional(z.array(TaxRateOverride$outboundSchema)),
|
|
161
178
|
trialPeriodDays: z.optional(z.int()),
|
|
162
179
|
}),
|
|
@@ -175,6 +192,7 @@ export const GroupedInvoicingChildRequest$outboundSchema: z.ZodMiniType<
|
|
|
175
192
|
overrideLineItems: "override_line_items",
|
|
176
193
|
planId: "plan_id",
|
|
177
194
|
subscriptionCoupons: "subscription_coupons",
|
|
195
|
+
subscriptionEntitlementGrants: "subscription_entitlement_grants",
|
|
178
196
|
taxRateOverrides: "tax_rate_overrides",
|
|
179
197
|
trialPeriodDays: "trial_period_days",
|
|
180
198
|
});
|
package/src/sdk/models/index.ts
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./accounting-period-response.js";
|
|
6
|
+
export * from "./accounting-period-status.js";
|
|
7
|
+
export * from "./accountingperiod-filter.js";
|
|
5
8
|
export * from "./activate-draft-subscription-request.js";
|
|
6
9
|
export * from "./activate-subscription-op.js";
|
|
7
10
|
export * from "./active-window.js";
|
|
@@ -41,6 +44,7 @@ export * from "./alert-state.js";
|
|
|
41
44
|
export * from "./alert-threshold-type.js";
|
|
42
45
|
export * from "./alert-threshold.js";
|
|
43
46
|
export * from "./alert-type.js";
|
|
47
|
+
export * from "./amortization-method.js";
|
|
44
48
|
export * from "./analytics-column.js";
|
|
45
49
|
export * from "./analytics-filter.js";
|
|
46
50
|
export * from "./analytics-query-meta.js";
|
|
@@ -121,6 +125,10 @@ export * from "./commitment-type.js";
|
|
|
121
125
|
export * from "./commitment-usage-breakdown.js";
|
|
122
126
|
export * from "./commitment-usage-value.js";
|
|
123
127
|
export * from "./configuration-details.js";
|
|
128
|
+
export * from "./contract-association-response.js";
|
|
129
|
+
export * from "./contract-filter.js";
|
|
130
|
+
export * from "./contract-response.js";
|
|
131
|
+
export * from "./contract-status.js";
|
|
124
132
|
export * from "./cost-analytic-item.js";
|
|
125
133
|
export * from "./cost-point.js";
|
|
126
134
|
export * from "./costsheet-filter.js";
|
|
@@ -165,7 +173,9 @@ export * from "./create-price-request.js";
|
|
|
165
173
|
export * from "./create-price-tier.js";
|
|
166
174
|
export * from "./create-price-unit-request.js";
|
|
167
175
|
export * from "./create-price-unit-response.js";
|
|
176
|
+
export * from "./create-product-request.js";
|
|
168
177
|
export * from "./create-scheduled-task-request.js";
|
|
178
|
+
export * from "./create-subscription-entitlement-grant-request.js";
|
|
169
179
|
export * from "./create-subscription-line-item-op.js";
|
|
170
180
|
export * from "./create-subscription-line-item-request.js";
|
|
171
181
|
export * from "./create-subscription-params.js";
|
|
@@ -229,6 +239,7 @@ export * from "./delete-plan-op.js";
|
|
|
229
239
|
export * from "./delete-price-op.js";
|
|
230
240
|
export * from "./delete-price-request.js";
|
|
231
241
|
export * from "./delete-price-unit-op.js";
|
|
242
|
+
export * from "./delete-product-op.js";
|
|
232
243
|
export * from "./delete-scheduled-task-op.js";
|
|
233
244
|
export * from "./delete-service-account-op.js";
|
|
234
245
|
export * from "./delete-subscription-line-item-op.js";
|
|
@@ -244,6 +255,7 @@ export * from "./entitlement-filter.js";
|
|
|
244
255
|
export * from "./entitlement-grant-allocation-behavior.js";
|
|
245
256
|
export * from "./entitlement-grant-duration-unit.js";
|
|
246
257
|
export * from "./entitlement-grant-measure.js";
|
|
258
|
+
export * from "./entitlement-grant-scope-entity-type.js";
|
|
247
259
|
export * from "./entitlement-grant-status.js";
|
|
248
260
|
export * from "./entitlement-response.js";
|
|
249
261
|
export * from "./entitlement-source-entity-type.js";
|
|
@@ -306,6 +318,7 @@ export * from "./get-alert-settings-op.js";
|
|
|
306
318
|
export * from "./get-analytics-view-op.js";
|
|
307
319
|
export * from "./get-checkout-session-op.js";
|
|
308
320
|
export * from "./get-commitment-op.js";
|
|
321
|
+
export * from "./get-contract-op.js";
|
|
309
322
|
export * from "./get-cost-analytics-request.js";
|
|
310
323
|
export * from "./get-costsheet-op.js";
|
|
311
324
|
export * from "./get-costsheet-response.js";
|
|
@@ -333,8 +346,10 @@ export * from "./get-fx-rate-op.js";
|
|
|
333
346
|
export * from "./get-group-op.js";
|
|
334
347
|
export * from "./get-invoice-op.js";
|
|
335
348
|
export * from "./get-invoice-pdf-op.js";
|
|
349
|
+
export * from "./get-journal-entry-op.js";
|
|
336
350
|
export * from "./get-payment-op.js";
|
|
337
351
|
export * from "./get-pending-schedules-response.js";
|
|
352
|
+
export * from "./get-performance-obligation-op.js";
|
|
338
353
|
export * from "./get-plan-credit-grants-op.js";
|
|
339
354
|
export * from "./get-plan-entitlements-op.js";
|
|
340
355
|
export * from "./get-plan-op.js";
|
|
@@ -343,6 +358,7 @@ export * from "./get-price-by-lookup-key-op.js";
|
|
|
343
358
|
export * from "./get-price-op.js";
|
|
344
359
|
export * from "./get-price-unit-by-code-op.js";
|
|
345
360
|
export * from "./get-price-unit-op.js";
|
|
361
|
+
export * from "./get-product-op.js";
|
|
346
362
|
export * from "./get-rbac-role-op.js";
|
|
347
363
|
export * from "./get-refund-op.js";
|
|
348
364
|
export * from "./get-scheduled-task-op.js";
|
|
@@ -406,12 +422,19 @@ export * from "./invoice-source-type.js";
|
|
|
406
422
|
export * from "./invoice-status.js";
|
|
407
423
|
export * from "./invoice-sync-settings.js";
|
|
408
424
|
export * from "./invoice-type.js";
|
|
425
|
+
export * from "./journal-direction.js";
|
|
426
|
+
export * from "./journal-entry-response.js";
|
|
427
|
+
export * from "./journal-event-type.js";
|
|
428
|
+
export * from "./journal-filter.js";
|
|
429
|
+
export * from "./journal-line-response.js";
|
|
430
|
+
export * from "./ledger-account-key.js";
|
|
409
431
|
export * from "./line-item-change.js";
|
|
410
432
|
export * from "./line-item-commitment-config.js";
|
|
411
433
|
export * from "./line-item-grouping.js";
|
|
412
434
|
export * from "./line-item-quantity-change.js";
|
|
413
435
|
export * from "./link-integration-mapping-request.js";
|
|
414
436
|
export * from "./link-integration-mapping-response.js";
|
|
437
|
+
export * from "./list-accounting-periods-response.js";
|
|
415
438
|
export * from "./list-activity-request.js";
|
|
416
439
|
export * from "./list-activity-response.js";
|
|
417
440
|
export * from "./list-addon-associations-response.js";
|
|
@@ -422,6 +445,7 @@ export * from "./list-all-subscription-schedules-op.js";
|
|
|
422
445
|
export * from "./list-analytics-views-op.js";
|
|
423
446
|
export * from "./list-api-keys-op.js";
|
|
424
447
|
export * from "./list-commitments-response.js";
|
|
448
|
+
export * from "./list-contracts-response.js";
|
|
425
449
|
export * from "./list-costsheet-response.js";
|
|
426
450
|
export * from "./list-coupon-associations-op.js";
|
|
427
451
|
export * from "./list-coupon-associations-response.js";
|
|
@@ -436,12 +460,16 @@ export * from "./list-features-response.js";
|
|
|
436
460
|
export * from "./list-fx-rates-response.js";
|
|
437
461
|
export * from "./list-groups-response.js";
|
|
438
462
|
export * from "./list-invoices-response.js";
|
|
463
|
+
export * from "./list-journal-entries-response.js";
|
|
439
464
|
export * from "./list-payments-op.js";
|
|
440
465
|
export * from "./list-payments-response.js";
|
|
466
|
+
export * from "./list-performance-obligations-response.js";
|
|
441
467
|
export * from "./list-plans-response.js";
|
|
442
468
|
export * from "./list-price-units-op.js";
|
|
443
469
|
export * from "./list-price-units-response.js";
|
|
444
470
|
export * from "./list-prices-response.js";
|
|
471
|
+
export * from "./list-products-op.js";
|
|
472
|
+
export * from "./list-products-response.js";
|
|
445
473
|
export * from "./list-rbac-roles-op.js";
|
|
446
474
|
export * from "./list-refunds-op.js";
|
|
447
475
|
export * from "./list-refunds-response.js";
|
|
@@ -501,6 +529,9 @@ export * from "./payment-method-type.js";
|
|
|
501
529
|
export * from "./payment-response.js";
|
|
502
530
|
export * from "./payment-status.js";
|
|
503
531
|
export * from "./payment-terms.js";
|
|
532
|
+
export * from "./performance-obligation-association-response.js";
|
|
533
|
+
export * from "./performance-obligation-response.js";
|
|
534
|
+
export * from "./performance-obligation-status.js";
|
|
504
535
|
export * from "./plan-change-schedule-details.js";
|
|
505
536
|
export * from "./plan-change-schedule-result.js";
|
|
506
537
|
export * from "./plan-filter.js";
|
|
@@ -508,6 +539,7 @@ export * from "./plan-price-sync-status-response.js";
|
|
|
508
539
|
export * from "./plan-response.js";
|
|
509
540
|
export * from "./plan-summary.js";
|
|
510
541
|
export * from "./plan.js";
|
|
542
|
+
export * from "./pob-filter.js";
|
|
511
543
|
export * from "./point-bucket.js";
|
|
512
544
|
export * from "./poll-self-billing-checkout-op.js";
|
|
513
545
|
export * from "./portal-session-response.js";
|
|
@@ -530,6 +562,8 @@ export * from "./price-unit-response.js";
|
|
|
530
562
|
export * from "./price-unit-type.js";
|
|
531
563
|
export * from "./process-credit-note-op.js";
|
|
532
564
|
export * from "./process-payment-op.js";
|
|
565
|
+
export * from "./product-filter.js";
|
|
566
|
+
export * from "./product-response.js";
|
|
533
567
|
export * from "./proration-behavior.js";
|
|
534
568
|
export * from "./proration-detail.js";
|
|
535
569
|
export * from "./proration-details.js";
|
|
@@ -539,6 +573,7 @@ export * from "./query-analytics-view-op.js";
|
|
|
539
573
|
export * from "./query-filter.js";
|
|
540
574
|
export * from "./recalculate-invoice-op.js";
|
|
541
575
|
export * from "./recalculate-invoice-v2-op.js";
|
|
576
|
+
export * from "./recognition-method.js";
|
|
542
577
|
export * from "./recurring-payment-status.js";
|
|
543
578
|
export * from "./refund-destination.js";
|
|
544
579
|
export * from "./refund-reason.js";
|
|
@@ -568,11 +603,17 @@ export * from "./resume-subscription-op.js";
|
|
|
568
603
|
export * from "./resume-subscription-request.js";
|
|
569
604
|
export * from "./resume-subscription-response.js";
|
|
570
605
|
export * from "./retry-refund-op.js";
|
|
606
|
+
export * from "./rev-rec-entity-type.js";
|
|
571
607
|
export * from "./revenue-allocation-policy.js";
|
|
572
608
|
export * from "./revenue-analytics-request.js";
|
|
573
609
|
export * from "./revenue-analytics-response.js";
|
|
574
610
|
export * from "./revenue-analytics-row.js";
|
|
611
|
+
export * from "./revenue-breakdown.js";
|
|
575
612
|
export * from "./revenue-granularity.js";
|
|
613
|
+
export * from "./revenue-report-group-by.js";
|
|
614
|
+
export * from "./rollforward-request.js";
|
|
615
|
+
export * from "./rollforward-response.js";
|
|
616
|
+
export * from "./rollforward-row.js";
|
|
576
617
|
export * from "./round-type.js";
|
|
577
618
|
export * from "./run-analytics-report-op.js";
|
|
578
619
|
export * from "./s3-compression-type.js";
|
|
@@ -634,6 +675,7 @@ export * from "./subscription-change-type.js";
|
|
|
634
675
|
export * from "./subscription-change-v2-request.js";
|
|
635
676
|
export * from "./subscription-change-v2-response.js";
|
|
636
677
|
export * from "./subscription-coupon-input.js";
|
|
678
|
+
export * from "./subscription-entitlement-grants-response.js";
|
|
637
679
|
export * from "./subscription-entitlements-response.js";
|
|
638
680
|
export * from "./subscription-filter.js";
|
|
639
681
|
export * from "./subscription-inheritance-config.js";
|
|
@@ -740,6 +782,8 @@ export * from "./update-price-op.js";
|
|
|
740
782
|
export * from "./update-price-request.js";
|
|
741
783
|
export * from "./update-price-unit-op.js";
|
|
742
784
|
export * from "./update-price-unit-request.js";
|
|
785
|
+
export * from "./update-product-op.js";
|
|
786
|
+
export * from "./update-product-request.js";
|
|
743
787
|
export * from "./update-scheduled-task-op.js";
|
|
744
788
|
export * from "./update-scheduled-task-request.js";
|
|
745
789
|
export * from "./update-service-account-op.js";
|
|
@@ -793,6 +837,10 @@ export * from "./wallet-tx-consumption.js";
|
|
|
793
837
|
export * from "./wallet-tx-reference-type.js";
|
|
794
838
|
export * from "./wallet-tx-source-type.js";
|
|
795
839
|
export * from "./wallet-type.js";
|
|
840
|
+
export * from "./waterfall-cell.js";
|
|
841
|
+
export * from "./waterfall-request.js";
|
|
842
|
+
export * from "./waterfall-response.js";
|
|
843
|
+
export * from "./waterfall-row.js";
|
|
796
844
|
export * from "./webhook-dto-alert-webhook-payload.js";
|
|
797
845
|
export * from "./webhook-dto-checkout-session-webhook-payload.js";
|
|
798
846
|
export * from "./webhook-dto-checkout-session.js";
|