@keystrokehq/proabono 0.1.0
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 +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/anonymize-customer.cjs +31 -0
- package/dist/actions/anonymize-customer.cjs.map +1 -0
- package/dist/actions/anonymize-customer.d.cts +9 -0
- package/dist/actions/anonymize-customer.d.cts.map +1 -0
- package/dist/actions/anonymize-customer.d.mts +9 -0
- package/dist/actions/anonymize-customer.d.mts.map +1 -0
- package/dist/actions/anonymize-customer.mjs +30 -0
- package/dist/actions/anonymize-customer.mjs.map +1 -0
- package/dist/actions/bill-customer.cjs +23 -0
- package/dist/actions/bill-customer.cjs.map +1 -0
- package/dist/actions/bill-customer.d.cts +9 -0
- package/dist/actions/bill-customer.d.cts.map +1 -0
- package/dist/actions/bill-customer.d.mts +9 -0
- package/dist/actions/bill-customer.d.mts.map +1 -0
- package/dist/actions/bill-customer.mjs +20 -0
- package/dist/actions/bill-customer.mjs.map +1 -0
- package/dist/actions/create-customer.cjs +48 -0
- package/dist/actions/create-customer.cjs.map +1 -0
- package/dist/actions/create-customer.d.cts +9 -0
- package/dist/actions/create-customer.d.cts.map +1 -0
- package/dist/actions/create-customer.d.mts +9 -0
- package/dist/actions/create-customer.d.mts.map +1 -0
- package/dist/actions/create-customer.mjs +47 -0
- package/dist/actions/create-customer.mjs.map +1 -0
- package/dist/actions/create-feature.cjs +45 -0
- package/dist/actions/create-feature.cjs.map +1 -0
- package/dist/actions/create-feature.d.cts +9 -0
- package/dist/actions/create-feature.d.cts.map +1 -0
- package/dist/actions/create-feature.d.mts +9 -0
- package/dist/actions/create-feature.d.mts.map +1 -0
- package/dist/actions/create-feature.mjs +44 -0
- package/dist/actions/create-feature.mjs.map +1 -0
- package/dist/actions/delete-customer.cjs +19 -0
- package/dist/actions/delete-customer.cjs.map +1 -0
- package/dist/actions/delete-customer.d.cts +9 -0
- package/dist/actions/delete-customer.d.cts.map +1 -0
- package/dist/actions/delete-customer.d.mts +9 -0
- package/dist/actions/delete-customer.d.mts.map +1 -0
- package/dist/actions/delete-customer.mjs +16 -0
- package/dist/actions/delete-customer.mjs.map +1 -0
- package/dist/actions/delete-offer.cjs +20 -0
- package/dist/actions/delete-offer.cjs.map +1 -0
- package/dist/actions/delete-offer.d.cts +9 -0
- package/dist/actions/delete-offer.d.cts.map +1 -0
- package/dist/actions/delete-offer.d.mts +9 -0
- package/dist/actions/delete-offer.d.mts.map +1 -0
- package/dist/actions/delete-offer.mjs +17 -0
- package/dist/actions/delete-offer.mjs.map +1 -0
- package/dist/actions/delete-pricing-table-offer.cjs +19 -0
- package/dist/actions/delete-pricing-table-offer.cjs.map +1 -0
- package/dist/actions/delete-pricing-table-offer.d.cts +9 -0
- package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -0
- package/dist/actions/delete-pricing-table-offer.d.mts +9 -0
- package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -0
- package/dist/actions/delete-pricing-table-offer.mjs +16 -0
- package/dist/actions/delete-pricing-table-offer.mjs.map +1 -0
- package/dist/actions/delete-pricing-table.cjs +19 -0
- package/dist/actions/delete-pricing-table.cjs.map +1 -0
- package/dist/actions/delete-pricing-table.d.cts +9 -0
- package/dist/actions/delete-pricing-table.d.cts.map +1 -0
- package/dist/actions/delete-pricing-table.d.mts +9 -0
- package/dist/actions/delete-pricing-table.d.mts.map +1 -0
- package/dist/actions/delete-pricing-table.mjs +16 -0
- package/dist/actions/delete-pricing-table.mjs.map +1 -0
- package/dist/actions/delete-subscription-discount.cjs +16 -0
- package/dist/actions/delete-subscription-discount.cjs.map +1 -0
- package/dist/actions/delete-subscription-discount.d.cts +9 -0
- package/dist/actions/delete-subscription-discount.d.cts.map +1 -0
- package/dist/actions/delete-subscription-discount.d.mts +9 -0
- package/dist/actions/delete-subscription-discount.d.mts.map +1 -0
- package/dist/actions/delete-subscription-discount.mjs +13 -0
- package/dist/actions/delete-subscription-discount.mjs.map +1 -0
- package/dist/actions/enable-webhook.cjs +19 -0
- package/dist/actions/enable-webhook.cjs.map +1 -0
- package/dist/actions/enable-webhook.d.cts +9 -0
- package/dist/actions/enable-webhook.d.cts.map +1 -0
- package/dist/actions/enable-webhook.d.mts +9 -0
- package/dist/actions/enable-webhook.d.mts.map +1 -0
- package/dist/actions/enable-webhook.mjs +16 -0
- package/dist/actions/enable-webhook.mjs.map +1 -0
- package/dist/actions/get-customer-billing-address.cjs +28 -0
- package/dist/actions/get-customer-billing-address.cjs.map +1 -0
- package/dist/actions/get-customer-billing-address.d.cts +9 -0
- package/dist/actions/get-customer-billing-address.d.cts.map +1 -0
- package/dist/actions/get-customer-billing-address.d.mts +9 -0
- package/dist/actions/get-customer-billing-address.d.mts.map +1 -0
- package/dist/actions/get-customer-billing-address.mjs +25 -0
- package/dist/actions/get-customer-billing-address.mjs.map +1 -0
- package/dist/actions/get-customer-billing.cjs +37 -0
- package/dist/actions/get-customer-billing.cjs.map +1 -0
- package/dist/actions/get-customer-billing.d.cts +9 -0
- package/dist/actions/get-customer-billing.d.cts.map +1 -0
- package/dist/actions/get-customer-billing.d.mts +9 -0
- package/dist/actions/get-customer-billing.d.mts.map +1 -0
- package/dist/actions/get-customer-billing.mjs +36 -0
- package/dist/actions/get-customer-billing.mjs.map +1 -0
- package/dist/actions/get-customer-by-reference.cjs +35 -0
- package/dist/actions/get-customer-by-reference.cjs.map +1 -0
- package/dist/actions/get-customer-by-reference.d.cts +9 -0
- package/dist/actions/get-customer-by-reference.d.cts.map +1 -0
- package/dist/actions/get-customer-by-reference.d.mts +9 -0
- package/dist/actions/get-customer-by-reference.d.mts.map +1 -0
- package/dist/actions/get-customer-by-reference.mjs +34 -0
- package/dist/actions/get-customer-by-reference.mjs.map +1 -0
- package/dist/actions/get-customer-payment-settings.cjs +23 -0
- package/dist/actions/get-customer-payment-settings.cjs.map +1 -0
- package/dist/actions/get-customer-payment-settings.d.cts +9 -0
- package/dist/actions/get-customer-payment-settings.d.cts.map +1 -0
- package/dist/actions/get-customer-payment-settings.d.mts +9 -0
- package/dist/actions/get-customer-payment-settings.d.mts.map +1 -0
- package/dist/actions/get-customer-payment-settings.mjs +20 -0
- package/dist/actions/get-customer-payment-settings.mjs.map +1 -0
- package/dist/actions/get-customer.cjs +38 -0
- package/dist/actions/get-customer.cjs.map +1 -0
- package/dist/actions/get-customer.d.cts +9 -0
- package/dist/actions/get-customer.d.cts.map +1 -0
- package/dist/actions/get-customer.d.mts +9 -0
- package/dist/actions/get-customer.d.mts.map +1 -0
- package/dist/actions/get-customer.mjs +37 -0
- package/dist/actions/get-customer.mjs.map +1 -0
- package/dist/actions/get-discount.cjs +56 -0
- package/dist/actions/get-discount.cjs.map +1 -0
- package/dist/actions/get-discount.d.cts +9 -0
- package/dist/actions/get-discount.d.cts.map +1 -0
- package/dist/actions/get-discount.d.mts +9 -0
- package/dist/actions/get-discount.d.mts.map +1 -0
- package/dist/actions/get-discount.mjs +55 -0
- package/dist/actions/get-discount.mjs.map +1 -0
- package/dist/actions/get-feature.cjs +34 -0
- package/dist/actions/get-feature.cjs.map +1 -0
- package/dist/actions/get-feature.d.cts +9 -0
- package/dist/actions/get-feature.d.cts.map +1 -0
- package/dist/actions/get-feature.d.mts +9 -0
- package/dist/actions/get-feature.d.mts.map +1 -0
- package/dist/actions/get-feature.mjs +31 -0
- package/dist/actions/get-feature.mjs.map +1 -0
- package/dist/actions/get-invoice.cjs +48 -0
- package/dist/actions/get-invoice.cjs.map +1 -0
- package/dist/actions/get-invoice.d.cts +9 -0
- package/dist/actions/get-invoice.d.cts.map +1 -0
- package/dist/actions/get-invoice.d.mts +9 -0
- package/dist/actions/get-invoice.d.mts.map +1 -0
- package/dist/actions/get-invoice.mjs +47 -0
- package/dist/actions/get-invoice.mjs.map +1 -0
- package/dist/actions/get-offer.cjs +54 -0
- package/dist/actions/get-offer.cjs.map +1 -0
- package/dist/actions/get-offer.d.cts +9 -0
- package/dist/actions/get-offer.d.cts.map +1 -0
- package/dist/actions/get-offer.d.mts +9 -0
- package/dist/actions/get-offer.d.mts.map +1 -0
- package/dist/actions/get-offer.mjs +53 -0
- package/dist/actions/get-offer.mjs.map +1 -0
- package/dist/actions/get-subscription-by-customer.cjs +78 -0
- package/dist/actions/get-subscription-by-customer.cjs.map +1 -0
- package/dist/actions/get-subscription-by-customer.d.cts +9 -0
- package/dist/actions/get-subscription-by-customer.d.cts.map +1 -0
- package/dist/actions/get-subscription-by-customer.d.mts +9 -0
- package/dist/actions/get-subscription-by-customer.d.mts.map +1 -0
- package/dist/actions/get-subscription-by-customer.mjs +77 -0
- package/dist/actions/get-subscription-by-customer.mjs.map +1 -0
- package/dist/actions/get-subscription-creation-quote.cjs +46 -0
- package/dist/actions/get-subscription-creation-quote.cjs.map +1 -0
- package/dist/actions/get-subscription-creation-quote.d.cts +9 -0
- package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -0
- package/dist/actions/get-subscription-creation-quote.d.mts +9 -0
- package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -0
- package/dist/actions/get-subscription-creation-quote.mjs +45 -0
- package/dist/actions/get-subscription-creation-quote.mjs.map +1 -0
- package/dist/actions/get-usage.cjs +34 -0
- package/dist/actions/get-usage.cjs.map +1 -0
- package/dist/actions/get-usage.d.cts +9 -0
- package/dist/actions/get-usage.d.cts.map +1 -0
- package/dist/actions/get-usage.d.mts +9 -0
- package/dist/actions/get-usage.d.mts.map +1 -0
- package/dist/actions/get-usage.mjs +31 -0
- package/dist/actions/get-usage.mjs.map +1 -0
- package/dist/actions/get-usages-for-customer.cjs +48 -0
- package/dist/actions/get-usages-for-customer.cjs.map +1 -0
- package/dist/actions/get-usages-for-customer.d.cts +9 -0
- package/dist/actions/get-usages-for-customer.d.cts.map +1 -0
- package/dist/actions/get-usages-for-customer.d.mts +9 -0
- package/dist/actions/get-usages-for-customer.d.mts.map +1 -0
- package/dist/actions/get-usages-for-customer.mjs +47 -0
- package/dist/actions/get-usages-for-customer.mjs.map +1 -0
- package/dist/actions/index.cjs +129 -0
- package/dist/actions/index.d.cts +65 -0
- package/dist/actions/index.d.mts +65 -0
- package/dist/actions/index.mjs +65 -0
- package/dist/actions/invalidate-customer-by-id.cjs +32 -0
- package/dist/actions/invalidate-customer-by-id.cjs.map +1 -0
- package/dist/actions/invalidate-customer-by-id.d.cts +9 -0
- package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -0
- package/dist/actions/invalidate-customer-by-id.d.mts +9 -0
- package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -0
- package/dist/actions/invalidate-customer-by-id.mjs +31 -0
- package/dist/actions/invalidate-customer-by-id.mjs.map +1 -0
- package/dist/actions/invalidate-customer.cjs +35 -0
- package/dist/actions/invalidate-customer.cjs.map +1 -0
- package/dist/actions/invalidate-customer.d.cts +9 -0
- package/dist/actions/invalidate-customer.d.cts.map +1 -0
- package/dist/actions/invalidate-customer.d.mts +9 -0
- package/dist/actions/invalidate-customer.d.mts.map +1 -0
- package/dist/actions/invalidate-customer.mjs +34 -0
- package/dist/actions/invalidate-customer.mjs.map +1 -0
- package/dist/actions/list-balance-lines.cjs +49 -0
- package/dist/actions/list-balance-lines.cjs.map +1 -0
- package/dist/actions/list-balance-lines.d.cts +9 -0
- package/dist/actions/list-balance-lines.d.cts.map +1 -0
- package/dist/actions/list-balance-lines.d.mts +9 -0
- package/dist/actions/list-balance-lines.d.mts.map +1 -0
- package/dist/actions/list-balance-lines.mjs +48 -0
- package/dist/actions/list-balance-lines.mjs.map +1 -0
- package/dist/actions/list-business-localization.cjs +43 -0
- package/dist/actions/list-business-localization.cjs.map +1 -0
- package/dist/actions/list-business-localization.d.cts +9 -0
- package/dist/actions/list-business-localization.d.cts.map +1 -0
- package/dist/actions/list-business-localization.d.mts +9 -0
- package/dist/actions/list-business-localization.d.mts.map +1 -0
- package/dist/actions/list-business-localization.mjs +42 -0
- package/dist/actions/list-business-localization.mjs.map +1 -0
- package/dist/actions/list-businesses.cjs +44 -0
- package/dist/actions/list-businesses.cjs.map +1 -0
- package/dist/actions/list-businesses.d.cts +9 -0
- package/dist/actions/list-businesses.d.cts.map +1 -0
- package/dist/actions/list-businesses.d.mts +9 -0
- package/dist/actions/list-businesses.d.mts.map +1 -0
- package/dist/actions/list-businesses.mjs +43 -0
- package/dist/actions/list-businesses.mjs.map +1 -0
- package/dist/actions/list-customer-moves.cjs +50 -0
- package/dist/actions/list-customer-moves.cjs.map +1 -0
- package/dist/actions/list-customer-moves.d.cts +9 -0
- package/dist/actions/list-customer-moves.d.cts.map +1 -0
- package/dist/actions/list-customer-moves.d.mts +9 -0
- package/dist/actions/list-customer-moves.d.mts.map +1 -0
- package/dist/actions/list-customer-moves.mjs +49 -0
- package/dist/actions/list-customer-moves.mjs.map +1 -0
- package/dist/actions/list-customers-by-feature.cjs +38 -0
- package/dist/actions/list-customers-by-feature.cjs.map +1 -0
- package/dist/actions/list-customers-by-feature.d.cts +9 -0
- package/dist/actions/list-customers-by-feature.d.cts.map +1 -0
- package/dist/actions/list-customers-by-feature.d.mts +9 -0
- package/dist/actions/list-customers-by-feature.d.mts.map +1 -0
- package/dist/actions/list-customers-by-feature.mjs +37 -0
- package/dist/actions/list-customers-by-feature.mjs.map +1 -0
- package/dist/actions/list-customers.cjs +55 -0
- package/dist/actions/list-customers.cjs.map +1 -0
- package/dist/actions/list-customers.d.cts +9 -0
- package/dist/actions/list-customers.d.cts.map +1 -0
- package/dist/actions/list-customers.d.mts +9 -0
- package/dist/actions/list-customers.d.mts.map +1 -0
- package/dist/actions/list-customers.mjs +54 -0
- package/dist/actions/list-customers.mjs.map +1 -0
- package/dist/actions/list-discounts.cjs +55 -0
- package/dist/actions/list-discounts.cjs.map +1 -0
- package/dist/actions/list-discounts.d.cts +9 -0
- package/dist/actions/list-discounts.d.cts.map +1 -0
- package/dist/actions/list-discounts.d.mts +9 -0
- package/dist/actions/list-discounts.d.mts.map +1 -0
- package/dist/actions/list-discounts.mjs +54 -0
- package/dist/actions/list-discounts.mjs.map +1 -0
- package/dist/actions/list-features.cjs +52 -0
- package/dist/actions/list-features.cjs.map +1 -0
- package/dist/actions/list-features.d.cts +9 -0
- package/dist/actions/list-features.d.cts.map +1 -0
- package/dist/actions/list-features.d.mts +9 -0
- package/dist/actions/list-features.d.mts.map +1 -0
- package/dist/actions/list-features.mjs +51 -0
- package/dist/actions/list-features.mjs.map +1 -0
- package/dist/actions/list-gateway-accounts.cjs +55 -0
- package/dist/actions/list-gateway-accounts.cjs.map +1 -0
- package/dist/actions/list-gateway-accounts.d.cts +9 -0
- package/dist/actions/list-gateway-accounts.d.cts.map +1 -0
- package/dist/actions/list-gateway-accounts.d.mts +9 -0
- package/dist/actions/list-gateway-accounts.d.mts.map +1 -0
- package/dist/actions/list-gateway-accounts.mjs +54 -0
- package/dist/actions/list-gateway-accounts.mjs.map +1 -0
- package/dist/actions/list-gateway-permissions.cjs +52 -0
- package/dist/actions/list-gateway-permissions.cjs.map +1 -0
- package/dist/actions/list-gateway-permissions.d.cts +9 -0
- package/dist/actions/list-gateway-permissions.d.cts.map +1 -0
- package/dist/actions/list-gateway-permissions.d.mts +9 -0
- package/dist/actions/list-gateway-permissions.d.mts.map +1 -0
- package/dist/actions/list-gateway-permissions.mjs +51 -0
- package/dist/actions/list-gateway-permissions.mjs.map +1 -0
- package/dist/actions/list-gateway-requests.cjs +66 -0
- package/dist/actions/list-gateway-requests.cjs.map +1 -0
- package/dist/actions/list-gateway-requests.d.cts +9 -0
- package/dist/actions/list-gateway-requests.d.cts.map +1 -0
- package/dist/actions/list-gateway-requests.d.mts +9 -0
- package/dist/actions/list-gateway-requests.d.mts.map +1 -0
- package/dist/actions/list-gateway-requests.mjs +65 -0
- package/dist/actions/list-gateway-requests.mjs.map +1 -0
- package/dist/actions/list-gateway-transactions.cjs +57 -0
- package/dist/actions/list-gateway-transactions.cjs.map +1 -0
- package/dist/actions/list-gateway-transactions.d.cts +9 -0
- package/dist/actions/list-gateway-transactions.d.cts.map +1 -0
- package/dist/actions/list-gateway-transactions.d.mts +9 -0
- package/dist/actions/list-gateway-transactions.d.mts.map +1 -0
- package/dist/actions/list-gateway-transactions.mjs +56 -0
- package/dist/actions/list-gateway-transactions.mjs.map +1 -0
- package/dist/actions/list-invoice-lines.cjs +37 -0
- package/dist/actions/list-invoice-lines.cjs.map +1 -0
- package/dist/actions/list-invoice-lines.d.cts +9 -0
- package/dist/actions/list-invoice-lines.d.cts.map +1 -0
- package/dist/actions/list-invoice-lines.d.mts +9 -0
- package/dist/actions/list-invoice-lines.d.mts.map +1 -0
- package/dist/actions/list-invoice-lines.mjs +36 -0
- package/dist/actions/list-invoice-lines.mjs.map +1 -0
- package/dist/actions/list-invoices-by-customer.cjs +50 -0
- package/dist/actions/list-invoices-by-customer.cjs.map +1 -0
- package/dist/actions/list-invoices-by-customer.d.cts +9 -0
- package/dist/actions/list-invoices-by-customer.d.cts.map +1 -0
- package/dist/actions/list-invoices-by-customer.d.mts +9 -0
- package/dist/actions/list-invoices-by-customer.d.mts.map +1 -0
- package/dist/actions/list-invoices-by-customer.mjs +49 -0
- package/dist/actions/list-invoices-by-customer.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +52 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +51 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-offers.cjs +55 -0
- package/dist/actions/list-offers.cjs.map +1 -0
- package/dist/actions/list-offers.d.cts +9 -0
- package/dist/actions/list-offers.d.cts.map +1 -0
- package/dist/actions/list-offers.d.mts +9 -0
- package/dist/actions/list-offers.d.mts.map +1 -0
- package/dist/actions/list-offers.mjs +54 -0
- package/dist/actions/list-offers.mjs.map +1 -0
- package/dist/actions/list-payments.cjs +50 -0
- package/dist/actions/list-payments.cjs.map +1 -0
- package/dist/actions/list-payments.d.cts +9 -0
- package/dist/actions/list-payments.d.cts.map +1 -0
- package/dist/actions/list-payments.d.mts +9 -0
- package/dist/actions/list-payments.d.mts.map +1 -0
- package/dist/actions/list-payments.mjs +49 -0
- package/dist/actions/list-payments.mjs.map +1 -0
- package/dist/actions/list-pricing-table-offers.cjs +41 -0
- package/dist/actions/list-pricing-table-offers.cjs.map +1 -0
- package/dist/actions/list-pricing-table-offers.d.cts +9 -0
- package/dist/actions/list-pricing-table-offers.d.cts.map +1 -0
- package/dist/actions/list-pricing-table-offers.d.mts +9 -0
- package/dist/actions/list-pricing-table-offers.d.mts.map +1 -0
- package/dist/actions/list-pricing-table-offers.mjs +40 -0
- package/dist/actions/list-pricing-table-offers.mjs.map +1 -0
- package/dist/actions/list-pricing-tables.cjs +48 -0
- package/dist/actions/list-pricing-tables.cjs.map +1 -0
- package/dist/actions/list-pricing-tables.d.cts +9 -0
- package/dist/actions/list-pricing-tables.d.cts.map +1 -0
- package/dist/actions/list-pricing-tables.d.mts +9 -0
- package/dist/actions/list-pricing-tables.d.mts.map +1 -0
- package/dist/actions/list-pricing-tables.mjs +47 -0
- package/dist/actions/list-pricing-tables.mjs.map +1 -0
- package/dist/actions/list-segment-localizations.cjs +38 -0
- package/dist/actions/list-segment-localizations.cjs.map +1 -0
- package/dist/actions/list-segment-localizations.d.cts +9 -0
- package/dist/actions/list-segment-localizations.d.cts.map +1 -0
- package/dist/actions/list-segment-localizations.d.mts +9 -0
- package/dist/actions/list-segment-localizations.d.mts.map +1 -0
- package/dist/actions/list-segment-localizations.mjs +37 -0
- package/dist/actions/list-segment-localizations.mjs.map +1 -0
- package/dist/actions/list-segments.cjs +53 -0
- package/dist/actions/list-segments.cjs.map +1 -0
- package/dist/actions/list-segments.d.cts +9 -0
- package/dist/actions/list-segments.d.cts.map +1 -0
- package/dist/actions/list-segments.d.mts +9 -0
- package/dist/actions/list-segments.d.mts.map +1 -0
- package/dist/actions/list-segments.mjs +52 -0
- package/dist/actions/list-segments.mjs.map +1 -0
- package/dist/actions/list-subscription-discounts.cjs +47 -0
- package/dist/actions/list-subscription-discounts.cjs.map +1 -0
- package/dist/actions/list-subscription-discounts.d.cts +9 -0
- package/dist/actions/list-subscription-discounts.d.cts.map +1 -0
- package/dist/actions/list-subscription-discounts.d.mts +9 -0
- package/dist/actions/list-subscription-discounts.d.mts.map +1 -0
- package/dist/actions/list-subscription-discounts.mjs +46 -0
- package/dist/actions/list-subscription-discounts.mjs.map +1 -0
- package/dist/actions/list-subscription-features.cjs +46 -0
- package/dist/actions/list-subscription-features.cjs.map +1 -0
- package/dist/actions/list-subscription-features.d.cts +9 -0
- package/dist/actions/list-subscription-features.d.cts.map +1 -0
- package/dist/actions/list-subscription-features.d.mts +9 -0
- package/dist/actions/list-subscription-features.d.mts.map +1 -0
- package/dist/actions/list-subscription-features.mjs +45 -0
- package/dist/actions/list-subscription-features.mjs.map +1 -0
- package/dist/actions/list-subscription-periods.cjs +46 -0
- package/dist/actions/list-subscription-periods.cjs.map +1 -0
- package/dist/actions/list-subscription-periods.d.cts +9 -0
- package/dist/actions/list-subscription-periods.d.cts.map +1 -0
- package/dist/actions/list-subscription-periods.d.mts +9 -0
- package/dist/actions/list-subscription-periods.d.mts.map +1 -0
- package/dist/actions/list-subscription-periods.mjs +45 -0
- package/dist/actions/list-subscription-periods.mjs.map +1 -0
- package/dist/actions/list-subscriptions.cjs +59 -0
- package/dist/actions/list-subscriptions.cjs.map +1 -0
- package/dist/actions/list-subscriptions.d.cts +9 -0
- package/dist/actions/list-subscriptions.d.cts.map +1 -0
- package/dist/actions/list-subscriptions.d.mts +9 -0
- package/dist/actions/list-subscriptions.d.mts.map +1 -0
- package/dist/actions/list-subscriptions.mjs +58 -0
- package/dist/actions/list-subscriptions.mjs.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.cjs +52 -0
- package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.d.cts +9 -0
- package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.d.mts +9 -0
- package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.mjs +51 -0
- package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -0
- package/dist/actions/list-tax-profiles.cjs +48 -0
- package/dist/actions/list-tax-profiles.cjs.map +1 -0
- package/dist/actions/list-tax-profiles.d.cts +9 -0
- package/dist/actions/list-tax-profiles.d.cts.map +1 -0
- package/dist/actions/list-tax-profiles.d.mts +9 -0
- package/dist/actions/list-tax-profiles.d.mts.map +1 -0
- package/dist/actions/list-tax-profiles.mjs +47 -0
- package/dist/actions/list-tax-profiles.mjs.map +1 -0
- package/dist/actions/list-upgrade-offers.cjs +72 -0
- package/dist/actions/list-upgrade-offers.cjs.map +1 -0
- package/dist/actions/list-upgrade-offers.d.cts +9 -0
- package/dist/actions/list-upgrade-offers.d.cts.map +1 -0
- package/dist/actions/list-upgrade-offers.d.mts +9 -0
- package/dist/actions/list-upgrade-offers.d.mts.map +1 -0
- package/dist/actions/list-upgrade-offers.mjs +71 -0
- package/dist/actions/list-upgrade-offers.mjs.map +1 -0
- package/dist/actions/list-webhook-notifications.cjs +58 -0
- package/dist/actions/list-webhook-notifications.cjs.map +1 -0
- package/dist/actions/list-webhook-notifications.d.cts +9 -0
- package/dist/actions/list-webhook-notifications.d.cts.map +1 -0
- package/dist/actions/list-webhook-notifications.d.mts +9 -0
- package/dist/actions/list-webhook-notifications.d.mts.map +1 -0
- package/dist/actions/list-webhook-notifications.mjs +57 -0
- package/dist/actions/list-webhook-notifications.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +49 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +48 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/quote-balance-line.cjs +41 -0
- package/dist/actions/quote-balance-line.cjs.map +1 -0
- package/dist/actions/quote-balance-line.d.cts +9 -0
- package/dist/actions/quote-balance-line.d.cts.map +1 -0
- package/dist/actions/quote-balance-line.d.mts +9 -0
- package/dist/actions/quote-balance-line.d.mts.map +1 -0
- package/dist/actions/quote-balance-line.mjs +40 -0
- package/dist/actions/quote-balance-line.mjs.map +1 -0
- package/dist/actions/revoke-customer-links.cjs +31 -0
- package/dist/actions/revoke-customer-links.cjs.map +1 -0
- package/dist/actions/revoke-customer-links.d.cts +9 -0
- package/dist/actions/revoke-customer-links.d.cts.map +1 -0
- package/dist/actions/revoke-customer-links.d.mts +9 -0
- package/dist/actions/revoke-customer-links.d.mts.map +1 -0
- package/dist/actions/revoke-customer-links.mjs +30 -0
- package/dist/actions/revoke-customer-links.mjs.map +1 -0
- package/dist/actions/update-businesses-billing-address.cjs +50 -0
- package/dist/actions/update-businesses-billing-address.cjs.map +1 -0
- package/dist/actions/update-businesses-billing-address.d.cts +9 -0
- package/dist/actions/update-businesses-billing-address.d.cts.map +1 -0
- package/dist/actions/update-businesses-billing-address.d.mts +9 -0
- package/dist/actions/update-businesses-billing-address.d.mts.map +1 -0
- package/dist/actions/update-businesses-billing-address.mjs +49 -0
- package/dist/actions/update-businesses-billing-address.mjs.map +1 -0
- package/dist/actions/update-customer-billing-address.cjs +41 -0
- package/dist/actions/update-customer-billing-address.cjs.map +1 -0
- package/dist/actions/update-customer-billing-address.d.cts +9 -0
- package/dist/actions/update-customer-billing-address.d.cts.map +1 -0
- package/dist/actions/update-customer-billing-address.d.mts +9 -0
- package/dist/actions/update-customer-billing-address.d.mts.map +1 -0
- package/dist/actions/update-customer-billing-address.mjs +38 -0
- package/dist/actions/update-customer-billing-address.mjs.map +1 -0
- package/dist/actions/update-customer-payment-settings.cjs +25 -0
- package/dist/actions/update-customer-payment-settings.cjs.map +1 -0
- package/dist/actions/update-customer-payment-settings.d.cts +9 -0
- package/dist/actions/update-customer-payment-settings.d.cts.map +1 -0
- package/dist/actions/update-customer-payment-settings.d.mts +9 -0
- package/dist/actions/update-customer-payment-settings.d.mts.map +1 -0
- package/dist/actions/update-customer-payment-settings.mjs +22 -0
- package/dist/actions/update-customer-payment-settings.mjs.map +1 -0
- package/dist/actions/update-customer-shipping.cjs +51 -0
- package/dist/actions/update-customer-shipping.cjs.map +1 -0
- package/dist/actions/update-customer-shipping.d.cts +9 -0
- package/dist/actions/update-customer-shipping.d.cts.map +1 -0
- package/dist/actions/update-customer-shipping.d.mts +9 -0
- package/dist/actions/update-customer-shipping.d.mts.map +1 -0
- package/dist/actions/update-customer-shipping.mjs +50 -0
- package/dist/actions/update-customer-shipping.mjs.map +1 -0
- package/dist/actions/update-customer.cjs +46 -0
- package/dist/actions/update-customer.cjs.map +1 -0
- package/dist/actions/update-customer.d.cts +9 -0
- package/dist/actions/update-customer.d.cts.map +1 -0
- package/dist/actions/update-customer.d.mts +9 -0
- package/dist/actions/update-customer.d.mts.map +1 -0
- package/dist/actions/update-customer.mjs +45 -0
- package/dist/actions/update-customer.mjs.map +1 -0
- package/dist/actions/update-feature.cjs +46 -0
- package/dist/actions/update-feature.cjs.map +1 -0
- package/dist/actions/update-feature.d.cts +9 -0
- package/dist/actions/update-feature.d.cts.map +1 -0
- package/dist/actions/update-feature.d.mts +9 -0
- package/dist/actions/update-feature.d.mts.map +1 -0
- package/dist/actions/update-feature.mjs +45 -0
- package/dist/actions/update-feature.mjs.map +1 -0
- package/dist/actions/update-tax-profiles.cjs +39 -0
- package/dist/actions/update-tax-profiles.cjs.map +1 -0
- package/dist/actions/update-tax-profiles.d.cts +9 -0
- package/dist/actions/update-tax-profiles.d.cts.map +1 -0
- package/dist/actions/update-tax-profiles.d.mts +9 -0
- package/dist/actions/update-tax-profiles.d.mts.map +1 -0
- package/dist/actions/update-tax-profiles.mjs +38 -0
- package/dist/actions/update-tax-profiles.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +134 -0
- package/dist/index.d.cts +67 -0
- package/dist/index.d.mts +67 -0
- package/dist/index.mjs +68 -0
- package/package.json +49 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-subscription-by-customer.ts
|
|
4
|
+
const ProabonoGetSubscriptionByCustomerInput = zod.z.object({
|
|
5
|
+
id_business: zod.z.number().int().describe("The business identifier. Optional parameter to scope the request to a specific business").optional(),
|
|
6
|
+
reference_customer: zod.z.string().describe("The unique reference of the customer to retrieve their subscription")
|
|
7
|
+
}).describe("Request model for retrieving a subscription by customer reference from ProAbono.");
|
|
8
|
+
const ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema = zod.z.object({
|
|
9
|
+
rel: zod.z.string().describe("Relationship type (e.g., 'self', 'related-customer', 'related-offer')").nullable().optional(),
|
|
10
|
+
href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional(),
|
|
11
|
+
query: zod.z.string().describe("Query parameters for the related resource").nullable().optional()
|
|
12
|
+
}).describe("Model for HATEOAS navigation links in subscription response.");
|
|
13
|
+
const ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema = zod.z.object({
|
|
14
|
+
Id: zod.z.number().int().describe("Feature identifier").nullable().optional(),
|
|
15
|
+
IsEnabled: zod.z.boolean().describe("Whether the feature is enabled").nullable().optional(),
|
|
16
|
+
IsVisible: zod.z.boolean().describe("Whether the feature is visible to the customer").nullable().optional(),
|
|
17
|
+
QuantityIncluded: zod.z.number().int().describe("Quantity of the feature included in the subscription").nullable().optional(),
|
|
18
|
+
ReferenceFeature: zod.z.string().describe("Feature reference key").nullable().optional()
|
|
19
|
+
}).describe("Model for subscription feature details.");
|
|
20
|
+
const ProabonoGetSubscriptionByCustomerOutput = zod.z.object({
|
|
21
|
+
Id: zod.z.number().int().describe("Unique subscription identifier").nullable().optional(),
|
|
22
|
+
Links: zod.z.array(ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema).describe("HATEOAS navigation links for related resources (customer, offer, portal access, etc.)").nullable().optional(),
|
|
23
|
+
Status: zod.z.string().describe("Functional subscription state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')").nullable().optional(),
|
|
24
|
+
DateEnd: zod.z.string().describe("Subscription termination date in ISO 8601 format (UTC)").nullable().optional(),
|
|
25
|
+
IdOffer: zod.z.number().int().describe("Associated offer ID").nullable().optional(),
|
|
26
|
+
IsTrial: zod.z.boolean().describe("Indicates whether the subscription is in a trial period").nullable().optional(),
|
|
27
|
+
Currency: zod.z.string().describe("Subscription currency code (e.g., 'EUR', 'USD')").nullable().optional(),
|
|
28
|
+
DateTerm: zod.z.string().describe("Subscription term end date in ISO 8601 format (UTC)").nullable().optional(),
|
|
29
|
+
Features: zod.z.array(ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema).describe("Array of feature objects associated with this subscription").nullable().optional(),
|
|
30
|
+
Language: zod.z.string().describe("Customer language preference in ISO 639-1 format (e.g., 'en', 'fr')").nullable().optional(),
|
|
31
|
+
DateStart: zod.z.string().describe("Subscription commencement date in ISO 8601 format (UTC)").nullable().optional(),
|
|
32
|
+
IdSegment: zod.z.number().int().describe("Segment association ID").nullable().optional(),
|
|
33
|
+
IsEngaged: zod.z.boolean().describe("Indicates whether the subscription has a commitment period").nullable().optional(),
|
|
34
|
+
UnitTrial: zod.z.string().describe("Trial duration unit (e.g., 'Day', 'Month')").nullable().optional(),
|
|
35
|
+
DateUpdate: zod.z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
|
|
36
|
+
IdCustomer: zod.z.number().int().describe("Associated customer ID").nullable().optional(),
|
|
37
|
+
DateCreation: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
|
|
38
|
+
IdUserUpdate: zod.z.number().int().describe("User ID who last modified the subscription record").nullable().optional(),
|
|
39
|
+
PricingTotal: zod.z.number().describe("Subscription total amount including taxes").nullable().optional(),
|
|
40
|
+
AmountUpFront: zod.z.number().describe("Upfront payment amount").nullable().optional(),
|
|
41
|
+
DatePeriodEnd: zod.z.string().describe("Current billing period end date in ISO 8601 format (UTC)").nullable().optional(),
|
|
42
|
+
DurationTrial: zod.z.number().int().describe("Total trial duration value").nullable().optional(),
|
|
43
|
+
CountDaysTrial: zod.z.number().int().describe("Number of trial days remaining").nullable().optional(),
|
|
44
|
+
IdUserCreation: zod.z.number().int().describe("User ID who created the subscription record").nullable().optional(),
|
|
45
|
+
ReferenceOffer: zod.z.string().describe("External reference key for the offer").nullable().optional(),
|
|
46
|
+
TitleLocalized: zod.z.string().describe("Localized offer title").nullable().optional(),
|
|
47
|
+
UnitRecurrence: zod.z.string().describe("Recurrence duration unit (e.g., 'Day', 'Month', 'Year')").nullable().optional(),
|
|
48
|
+
DateNextBilling: zod.z.string().describe("Next billing date in ISO 8601 format (UTC)").nullable().optional(),
|
|
49
|
+
DatePeriodStart: zod.z.string().describe("Current billing period start date in ISO 8601 format (UTC)").nullable().optional(),
|
|
50
|
+
IdCustomerBuyer: zod.z.number().int().describe("Buyer customer ID if different from the main customer").nullable().optional(),
|
|
51
|
+
PricingSubtotal: zod.z.number().describe("Subscription subtotal amount before taxes").nullable().optional(),
|
|
52
|
+
StatusAfterTerm: zod.z.string().describe("Status that will be applied after the subscription term ends").nullable().optional(),
|
|
53
|
+
AmountRecurrence: zod.z.number().describe("Recurring payment amount").nullable().optional(),
|
|
54
|
+
CountRecurrences: zod.z.number().int().describe("Total number of recurrences for the subscription").nullable().optional(),
|
|
55
|
+
PricingLocalized: zod.z.string().describe("Localized pricing display string").nullable().optional(),
|
|
56
|
+
ReferenceSegment: zod.z.string().describe("External reference key for the segment").nullable().optional(),
|
|
57
|
+
ReferenceCustomer: zod.z.string().describe("External reference key for the customer").nullable().optional(),
|
|
58
|
+
StateSubscription: zod.z.string().describe("Technical subscription lifecycle state (e.g., 'ActiveRunning', 'ActiveSuspended')").nullable().optional(),
|
|
59
|
+
DurationRecurrence: zod.z.number().int().describe("Recurrence duration value").nullable().optional(),
|
|
60
|
+
IsCustomerBillable: zod.z.boolean().describe("Indicates whether the customer can be billed").nullable().optional(),
|
|
61
|
+
CountMinRecurrences: zod.z.number().int().describe("Minimum number of recurrences required").nullable().optional(),
|
|
62
|
+
DateResetConsumption: zod.z.string().describe("Consumption counter reset date in ISO 8601 format (UTC)").nullable().optional(),
|
|
63
|
+
ReferenceSubscription: zod.z.string().describe("External reference key for the subscription").nullable().optional(),
|
|
64
|
+
ReferenceCustomerBuyer: zod.z.string().describe("Buyer customer reference if different from the main customer").nullable().optional(),
|
|
65
|
+
IsPaymentCappingReached: zod.z.boolean().describe("Indicates whether payment capping limit has been reached").nullable().optional(),
|
|
66
|
+
StateSubscriptionAfterTerm: zod.z.string().describe("State that will be applied after the subscription term ends").nullable().optional()
|
|
67
|
+
}).describe("Response model for a ProAbono subscription retrieved by customer reference.");
|
|
68
|
+
const proabonoGetSubscriptionByCustomer = require_action.action("PROABONO_GET_SUBSCRIPTION_BY_CUSTOMER", {
|
|
69
|
+
slug: "proabono-get-subscription-by-customer",
|
|
70
|
+
name: "Get Subscription by Customer Reference",
|
|
71
|
+
description: "Tool to retrieve a subscription by customer reference from ProAbono. Use when you need to fetch subscription details for a specific customer using their reference key.",
|
|
72
|
+
input: ProabonoGetSubscriptionByCustomerInput,
|
|
73
|
+
output: ProabonoGetSubscriptionByCustomerOutput
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
exports.proabonoGetSubscriptionByCustomer = proabonoGetSubscriptionByCustomer;
|
|
77
|
+
|
|
78
|
+
//# sourceMappingURL=get-subscription-by-customer.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-by-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-subscription-by-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetSubscriptionByCustomerInput: z.ZodTypeAny = z.object({\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n reference_customer: z.string().describe(\"The unique reference of the customer to retrieve their subscription\"),\n}).describe(\"Request model for retrieving a subscription by customer reference from ProAbono.\");\nconst ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-customer', 'related-offer')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameters for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in subscription response.\");\nconst ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Whether the feature is enabled\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the feature is visible to the customer\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"Quantity of the feature included in the subscription\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Feature reference key\").nullable().optional(),\n}).describe(\"Model for subscription feature details.\");\nexport const ProabonoGetSubscriptionByCustomerOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique subscription identifier\").nullable().optional(),\n Links: z.array(ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema).describe(\"HATEOAS navigation links for related resources (customer, offer, portal access, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional subscription state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')\").nullable().optional(),\n DateEnd: z.string().describe(\"Subscription termination date in ISO 8601 format (UTC)\").nullable().optional(),\n IdOffer: z.number().int().describe(\"Associated offer ID\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether the subscription is in a trial period\").nullable().optional(),\n Currency: z.string().describe(\"Subscription currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n DateTerm: z.string().describe(\"Subscription term end date in ISO 8601 format (UTC)\").nullable().optional(),\n Features: z.array(ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema).describe(\"Array of feature objects associated with this subscription\").nullable().optional(),\n Language: z.string().describe(\"Customer language preference in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n DateStart: z.string().describe(\"Subscription commencement date in ISO 8601 format (UTC)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n IsEngaged: z.boolean().describe(\"Indicates whether the subscription has a commitment period\").nullable().optional(),\n UnitTrial: z.string().describe(\"Trial duration unit (e.g., 'Day', 'Month')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription record\").nullable().optional(),\n PricingTotal: z.number().describe(\"Subscription total amount including taxes\").nullable().optional(),\n AmountUpFront: z.number().describe(\"Upfront payment amount\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Current billing period end date in ISO 8601 format (UTC)\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Total trial duration value\").nullable().optional(),\n CountDaysTrial: z.number().int().describe(\"Number of trial days remaining\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription record\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"External reference key for the offer\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized offer title\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Recurrence duration unit (e.g., 'Day', 'Month', 'Year')\").nullable().optional(),\n DateNextBilling: z.string().describe(\"Next billing date in ISO 8601 format (UTC)\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Current billing period start date in ISO 8601 format (UTC)\").nullable().optional(),\n IdCustomerBuyer: z.number().int().describe(\"Buyer customer ID if different from the main customer\").nullable().optional(),\n PricingSubtotal: z.number().describe(\"Subscription subtotal amount before taxes\").nullable().optional(),\n StatusAfterTerm: z.string().describe(\"Status that will be applied after the subscription term ends\").nullable().optional(),\n AmountRecurrence: z.number().describe(\"Recurring payment amount\").nullable().optional(),\n CountRecurrences: z.number().int().describe(\"Total number of recurrences for the subscription\").nullable().optional(),\n PricingLocalized: z.string().describe(\"Localized pricing display string\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"External reference key for the segment\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"External reference key for the customer\").nullable().optional(),\n StateSubscription: z.string().describe(\"Technical subscription lifecycle state (e.g., 'ActiveRunning', 'ActiveSuspended')\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Recurrence duration value\").nullable().optional(),\n IsCustomerBillable: z.boolean().describe(\"Indicates whether the customer can be billed\").nullable().optional(),\n CountMinRecurrences: z.number().int().describe(\"Minimum number of recurrences required\").nullable().optional(),\n DateResetConsumption: z.string().describe(\"Consumption counter reset date in ISO 8601 format (UTC)\").nullable().optional(),\n ReferenceSubscription: z.string().describe(\"External reference key for the subscription\").nullable().optional(),\n ReferenceCustomerBuyer: z.string().describe(\"Buyer customer reference if different from the main customer\").nullable().optional(),\n IsPaymentCappingReached: z.boolean().describe(\"Indicates whether payment capping limit has been reached\").nullable().optional(),\n StateSubscriptionAfterTerm: z.string().describe(\"State that will be applied after the subscription term ends\").nullable().optional(),\n}).describe(\"Response model for a ProAbono subscription retrieved by customer reference.\");\n\nexport const proabonoGetSubscriptionByCustomer = action(\"PROABONO_GET_SUBSCRIPTION_BY_CUSTOMER\", {\n slug: \"proabono-get-subscription-by-customer\",\n name: \"Get Subscription by Customer Reference\",\n description: \"Tool to retrieve a subscription by customer reference from ProAbono. Use when you need to fetch subscription details for a specific customer using their reference key.\",\n input: ProabonoGetSubscriptionByCustomerInput,\n output: ProabonoGetSubscriptionByCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC3I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAC/G,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8DAA4EA,IAAAA,EAAE,OAAO;CACzF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,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,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAEzF,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-subscription-by-customer.d.ts
|
|
4
|
+
declare const ProabonoGetSubscriptionByCustomerInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoGetSubscriptionByCustomerOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoGetSubscriptionByCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoGetSubscriptionByCustomer };
|
|
9
|
+
//# sourceMappingURL=get-subscription-by-customer.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-by-customer.d.cts","names":[],"sources":["../../src/actions/get-subscription-by-customer.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGwC;AAAA,cAalF,uCAAA,EAAyC,CAAA,CAAE,UA+CkC;AAAA,cAE7E,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-subscription-by-customer.d.ts
|
|
4
|
+
declare const ProabonoGetSubscriptionByCustomerInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoGetSubscriptionByCustomerOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoGetSubscriptionByCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoGetSubscriptionByCustomer };
|
|
9
|
+
//# sourceMappingURL=get-subscription-by-customer.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-by-customer.d.mts","names":[],"sources":["../../src/actions/get-subscription-by-customer.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGwC;AAAA,cAalF,uCAAA,EAAyC,CAAA,CAAE,UA+CkC;AAAA,cAE7E,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-subscription-by-customer.ts
|
|
4
|
+
const ProabonoGetSubscriptionByCustomerInput = z.object({
|
|
5
|
+
id_business: z.number().int().describe("The business identifier. Optional parameter to scope the request to a specific business").optional(),
|
|
6
|
+
reference_customer: z.string().describe("The unique reference of the customer to retrieve their subscription")
|
|
7
|
+
}).describe("Request model for retrieving a subscription by customer reference from ProAbono.");
|
|
8
|
+
const ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema = z.object({
|
|
9
|
+
rel: z.string().describe("Relationship type (e.g., 'self', 'related-customer', 'related-offer')").nullable().optional(),
|
|
10
|
+
href: z.string().describe("API endpoint path for the related resource").nullable().optional(),
|
|
11
|
+
query: z.string().describe("Query parameters for the related resource").nullable().optional()
|
|
12
|
+
}).describe("Model for HATEOAS navigation links in subscription response.");
|
|
13
|
+
const ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema = z.object({
|
|
14
|
+
Id: z.number().int().describe("Feature identifier").nullable().optional(),
|
|
15
|
+
IsEnabled: z.boolean().describe("Whether the feature is enabled").nullable().optional(),
|
|
16
|
+
IsVisible: z.boolean().describe("Whether the feature is visible to the customer").nullable().optional(),
|
|
17
|
+
QuantityIncluded: z.number().int().describe("Quantity of the feature included in the subscription").nullable().optional(),
|
|
18
|
+
ReferenceFeature: z.string().describe("Feature reference key").nullable().optional()
|
|
19
|
+
}).describe("Model for subscription feature details.");
|
|
20
|
+
const proabonoGetSubscriptionByCustomer = action("PROABONO_GET_SUBSCRIPTION_BY_CUSTOMER", {
|
|
21
|
+
slug: "proabono-get-subscription-by-customer",
|
|
22
|
+
name: "Get Subscription by Customer Reference",
|
|
23
|
+
description: "Tool to retrieve a subscription by customer reference from ProAbono. Use when you need to fetch subscription details for a specific customer using their reference key.",
|
|
24
|
+
input: ProabonoGetSubscriptionByCustomerInput,
|
|
25
|
+
output: z.object({
|
|
26
|
+
Id: z.number().int().describe("Unique subscription identifier").nullable().optional(),
|
|
27
|
+
Links: z.array(ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema).describe("HATEOAS navigation links for related resources (customer, offer, portal access, etc.)").nullable().optional(),
|
|
28
|
+
Status: z.string().describe("Functional subscription state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')").nullable().optional(),
|
|
29
|
+
DateEnd: z.string().describe("Subscription termination date in ISO 8601 format (UTC)").nullable().optional(),
|
|
30
|
+
IdOffer: z.number().int().describe("Associated offer ID").nullable().optional(),
|
|
31
|
+
IsTrial: z.boolean().describe("Indicates whether the subscription is in a trial period").nullable().optional(),
|
|
32
|
+
Currency: z.string().describe("Subscription currency code (e.g., 'EUR', 'USD')").nullable().optional(),
|
|
33
|
+
DateTerm: z.string().describe("Subscription term end date in ISO 8601 format (UTC)").nullable().optional(),
|
|
34
|
+
Features: z.array(ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema).describe("Array of feature objects associated with this subscription").nullable().optional(),
|
|
35
|
+
Language: z.string().describe("Customer language preference in ISO 639-1 format (e.g., 'en', 'fr')").nullable().optional(),
|
|
36
|
+
DateStart: z.string().describe("Subscription commencement date in ISO 8601 format (UTC)").nullable().optional(),
|
|
37
|
+
IdSegment: z.number().int().describe("Segment association ID").nullable().optional(),
|
|
38
|
+
IsEngaged: z.boolean().describe("Indicates whether the subscription has a commitment period").nullable().optional(),
|
|
39
|
+
UnitTrial: z.string().describe("Trial duration unit (e.g., 'Day', 'Month')").nullable().optional(),
|
|
40
|
+
DateUpdate: z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
|
|
41
|
+
IdCustomer: z.number().int().describe("Associated customer ID").nullable().optional(),
|
|
42
|
+
DateCreation: z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
|
|
43
|
+
IdUserUpdate: z.number().int().describe("User ID who last modified the subscription record").nullable().optional(),
|
|
44
|
+
PricingTotal: z.number().describe("Subscription total amount including taxes").nullable().optional(),
|
|
45
|
+
AmountUpFront: z.number().describe("Upfront payment amount").nullable().optional(),
|
|
46
|
+
DatePeriodEnd: z.string().describe("Current billing period end date in ISO 8601 format (UTC)").nullable().optional(),
|
|
47
|
+
DurationTrial: z.number().int().describe("Total trial duration value").nullable().optional(),
|
|
48
|
+
CountDaysTrial: z.number().int().describe("Number of trial days remaining").nullable().optional(),
|
|
49
|
+
IdUserCreation: z.number().int().describe("User ID who created the subscription record").nullable().optional(),
|
|
50
|
+
ReferenceOffer: z.string().describe("External reference key for the offer").nullable().optional(),
|
|
51
|
+
TitleLocalized: z.string().describe("Localized offer title").nullable().optional(),
|
|
52
|
+
UnitRecurrence: z.string().describe("Recurrence duration unit (e.g., 'Day', 'Month', 'Year')").nullable().optional(),
|
|
53
|
+
DateNextBilling: z.string().describe("Next billing date in ISO 8601 format (UTC)").nullable().optional(),
|
|
54
|
+
DatePeriodStart: z.string().describe("Current billing period start date in ISO 8601 format (UTC)").nullable().optional(),
|
|
55
|
+
IdCustomerBuyer: z.number().int().describe("Buyer customer ID if different from the main customer").nullable().optional(),
|
|
56
|
+
PricingSubtotal: z.number().describe("Subscription subtotal amount before taxes").nullable().optional(),
|
|
57
|
+
StatusAfterTerm: z.string().describe("Status that will be applied after the subscription term ends").nullable().optional(),
|
|
58
|
+
AmountRecurrence: z.number().describe("Recurring payment amount").nullable().optional(),
|
|
59
|
+
CountRecurrences: z.number().int().describe("Total number of recurrences for the subscription").nullable().optional(),
|
|
60
|
+
PricingLocalized: z.string().describe("Localized pricing display string").nullable().optional(),
|
|
61
|
+
ReferenceSegment: z.string().describe("External reference key for the segment").nullable().optional(),
|
|
62
|
+
ReferenceCustomer: z.string().describe("External reference key for the customer").nullable().optional(),
|
|
63
|
+
StateSubscription: z.string().describe("Technical subscription lifecycle state (e.g., 'ActiveRunning', 'ActiveSuspended')").nullable().optional(),
|
|
64
|
+
DurationRecurrence: z.number().int().describe("Recurrence duration value").nullable().optional(),
|
|
65
|
+
IsCustomerBillable: z.boolean().describe("Indicates whether the customer can be billed").nullable().optional(),
|
|
66
|
+
CountMinRecurrences: z.number().int().describe("Minimum number of recurrences required").nullable().optional(),
|
|
67
|
+
DateResetConsumption: z.string().describe("Consumption counter reset date in ISO 8601 format (UTC)").nullable().optional(),
|
|
68
|
+
ReferenceSubscription: z.string().describe("External reference key for the subscription").nullable().optional(),
|
|
69
|
+
ReferenceCustomerBuyer: z.string().describe("Buyer customer reference if different from the main customer").nullable().optional(),
|
|
70
|
+
IsPaymentCappingReached: z.boolean().describe("Indicates whether payment capping limit has been reached").nullable().optional(),
|
|
71
|
+
StateSubscriptionAfterTerm: z.string().describe("State that will be applied after the subscription term ends").nullable().optional()
|
|
72
|
+
}).describe("Response model for a ProAbono subscription retrieved by customer reference.")
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
export { proabonoGetSubscriptionByCustomer };
|
|
76
|
+
|
|
77
|
+
//# sourceMappingURL=get-subscription-by-customer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-by-customer.mjs","names":[],"sources":["../../src/actions/get-subscription-by-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetSubscriptionByCustomerInput: z.ZodTypeAny = z.object({\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n reference_customer: z.string().describe(\"The unique reference of the customer to retrieve their subscription\"),\n}).describe(\"Request model for retrieving a subscription by customer reference from ProAbono.\");\nconst ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-customer', 'related-offer')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameters for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in subscription response.\");\nconst ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Whether the feature is enabled\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the feature is visible to the customer\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"Quantity of the feature included in the subscription\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Feature reference key\").nullable().optional(),\n}).describe(\"Model for subscription feature details.\");\nexport const ProabonoGetSubscriptionByCustomerOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique subscription identifier\").nullable().optional(),\n Links: z.array(ProabonoGetSubscriptionByCustomer_SubscriptionLinkSchema).describe(\"HATEOAS navigation links for related resources (customer, offer, portal access, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional subscription state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')\").nullable().optional(),\n DateEnd: z.string().describe(\"Subscription termination date in ISO 8601 format (UTC)\").nullable().optional(),\n IdOffer: z.number().int().describe(\"Associated offer ID\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether the subscription is in a trial period\").nullable().optional(),\n Currency: z.string().describe(\"Subscription currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n DateTerm: z.string().describe(\"Subscription term end date in ISO 8601 format (UTC)\").nullable().optional(),\n Features: z.array(ProabonoGetSubscriptionByCustomer_SubscriptionFeatureSchema).describe(\"Array of feature objects associated with this subscription\").nullable().optional(),\n Language: z.string().describe(\"Customer language preference in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n DateStart: z.string().describe(\"Subscription commencement date in ISO 8601 format (UTC)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n IsEngaged: z.boolean().describe(\"Indicates whether the subscription has a commitment period\").nullable().optional(),\n UnitTrial: z.string().describe(\"Trial duration unit (e.g., 'Day', 'Month')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription record\").nullable().optional(),\n PricingTotal: z.number().describe(\"Subscription total amount including taxes\").nullable().optional(),\n AmountUpFront: z.number().describe(\"Upfront payment amount\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Current billing period end date in ISO 8601 format (UTC)\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Total trial duration value\").nullable().optional(),\n CountDaysTrial: z.number().int().describe(\"Number of trial days remaining\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription record\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"External reference key for the offer\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized offer title\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Recurrence duration unit (e.g., 'Day', 'Month', 'Year')\").nullable().optional(),\n DateNextBilling: z.string().describe(\"Next billing date in ISO 8601 format (UTC)\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Current billing period start date in ISO 8601 format (UTC)\").nullable().optional(),\n IdCustomerBuyer: z.number().int().describe(\"Buyer customer ID if different from the main customer\").nullable().optional(),\n PricingSubtotal: z.number().describe(\"Subscription subtotal amount before taxes\").nullable().optional(),\n StatusAfterTerm: z.string().describe(\"Status that will be applied after the subscription term ends\").nullable().optional(),\n AmountRecurrence: z.number().describe(\"Recurring payment amount\").nullable().optional(),\n CountRecurrences: z.number().int().describe(\"Total number of recurrences for the subscription\").nullable().optional(),\n PricingLocalized: z.string().describe(\"Localized pricing display string\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"External reference key for the segment\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"External reference key for the customer\").nullable().optional(),\n StateSubscription: z.string().describe(\"Technical subscription lifecycle state (e.g., 'ActiveRunning', 'ActiveSuspended')\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Recurrence duration value\").nullable().optional(),\n IsCustomerBillable: z.boolean().describe(\"Indicates whether the customer can be billed\").nullable().optional(),\n CountMinRecurrences: z.number().int().describe(\"Minimum number of recurrences required\").nullable().optional(),\n DateResetConsumption: z.string().describe(\"Consumption counter reset date in ISO 8601 format (UTC)\").nullable().optional(),\n ReferenceSubscription: z.string().describe(\"External reference key for the subscription\").nullable().optional(),\n ReferenceCustomerBuyer: z.string().describe(\"Buyer customer reference if different from the main customer\").nullable().optional(),\n IsPaymentCappingReached: z.boolean().describe(\"Indicates whether payment capping limit has been reached\").nullable().optional(),\n StateSubscriptionAfterTerm: z.string().describe(\"State that will be applied after the subscription term ends\").nullable().optional(),\n}).describe(\"Response model for a ProAbono subscription retrieved by customer reference.\");\n\nexport const proabonoGetSubscriptionByCustomer = action(\"PROABONO_GET_SUBSCRIPTION_BY_CUSTOMER\", {\n slug: \"proabono-get-subscription-by-customer\",\n name: \"Get Subscription by Customer Reference\",\n description: \"Tool to retrieve a subscription by customer reference from ProAbono. Use when you need to fetch subscription details for a specific customer using their reference key.\",\n input: ProabonoGetSubscriptionByCustomerInput,\n output: ProabonoGetSubscriptionByCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC3I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAC/G,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,2DAAyE,EAAE,OAAO;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8DAA4E,EAAE,OAAO;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAk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AAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,6EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-subscription-creation-quote.ts
|
|
4
|
+
const ProabonoGetSubscriptionCreationQuoteInput = zod.z.object({
|
|
5
|
+
ReferenceOffer: zod.z.string().describe("The reference of the offer to quote for subscription creation"),
|
|
6
|
+
ReferenceCustomer: zod.z.string().describe("The unique reference of the customer for whom the subscription quote is being generated")
|
|
7
|
+
}).describe("Request model for getting a pricing quote for creating a new subscription.");
|
|
8
|
+
const ProabonoGetSubscriptionCreationQuote_TaxDetailSchema = zod.z.object({
|
|
9
|
+
Rate: zod.z.number().int().describe("Tax rate in basis points (‱). For example, 20% = 2000").nullable().optional(),
|
|
10
|
+
Type: zod.z.string().describe("Type of tax designation").nullable().optional(),
|
|
11
|
+
Label: zod.z.string().describe("Label or name of the tax").nullable().optional(),
|
|
12
|
+
Amount: zod.z.number().int().describe("Tax amount in cents calculated based on the rate").nullable().optional(),
|
|
13
|
+
IdTaxProfile: zod.z.number().int().describe("Identifier of the tax profile applied").nullable().optional()
|
|
14
|
+
}).describe("Tax calculation details for a pricing line item.");
|
|
15
|
+
const ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema = zod.z.object({
|
|
16
|
+
Tax1: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),
|
|
17
|
+
Tax2: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),
|
|
18
|
+
Label: zod.z.string().describe("Label or description of the detail line item").nullable().optional(),
|
|
19
|
+
TypeMove: zod.z.string().describe("Type of customer move (e.g., SubscriptionInitialFee, SubscriptionRecurringAmount, SubscriptionFeatures)").nullable().optional(),
|
|
20
|
+
IdFeature: zod.z.number().int().describe("Feature identifier. Present only when this line item is linked to a feature").nullable().optional(),
|
|
21
|
+
QuantityReal: zod.z.number().int().describe("Real quantity available for limitation/consumption type features").nullable().optional(),
|
|
22
|
+
AmountSubtotal: zod.z.number().int().describe("Amount in cents without taxes").nullable().optional(),
|
|
23
|
+
AmountTotalDue: zod.z.number().int().describe("Amount in cents with taxes included").nullable().optional(),
|
|
24
|
+
QuantityBilled: zod.z.number().int().describe("Quantity billed to customer for variable pricing features").nullable().optional()
|
|
25
|
+
}).describe("Detailed breakdown of a single line item in the subscription quote.");
|
|
26
|
+
const ProabonoGetSubscriptionCreationQuoteOutput = zod.z.object({
|
|
27
|
+
Details: zod.z.array(ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema).describe("Collection of detailed pricing breakdown items for the subscription").nullable().optional(),
|
|
28
|
+
Currency: zod.z.string().describe("Currency code for the quoted amounts (e.g., USD, EUR)").nullable().optional(),
|
|
29
|
+
AmountTotal: zod.z.number().int().describe("Total amount in cents with taxes included").nullable().optional(),
|
|
30
|
+
DatePeriodEnd: zod.z.string().describe("End date of the billing period in ISO 8601 format").nullable().optional(),
|
|
31
|
+
AmountSubtotal: zod.z.number().int().describe("Total amount in cents without taxes").nullable().optional(),
|
|
32
|
+
AmountTotalDue: zod.z.number().int().describe("Total amount due in cents with taxes included").nullable().optional(),
|
|
33
|
+
DateGeneration: zod.z.string().describe("Date when the quote was generated in ISO 8601 format").nullable().optional(),
|
|
34
|
+
DatePeriodStart: zod.z.string().describe("Start date of the billing period in ISO 8601 format").nullable().optional()
|
|
35
|
+
}).describe("Response model for subscription creation pricing quote. Contains detailed pricing\nbreakdown including subtotal, total, taxes, and line item details.");
|
|
36
|
+
const proabonoGetSubscriptionCreationQuote = require_action.action("PROABONO_GET_SUBSCRIPTION_CREATION_QUOTE", {
|
|
37
|
+
slug: "proabono-get-subscription-creation-quote",
|
|
38
|
+
name: "Get Subscription Creation Quote",
|
|
39
|
+
description: "Tool to get a pricing quote for creating a new subscription without actually creating it. Use when you need to calculate the cost of a subscription before committing to its creation.",
|
|
40
|
+
input: ProabonoGetSubscriptionCreationQuoteInput,
|
|
41
|
+
output: ProabonoGetSubscriptionCreationQuoteOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.proabonoGetSubscriptionCreationQuote = proabonoGetSubscriptionCreationQuote;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=get-subscription-creation-quote.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-creation-quote.cjs","names":["z","action"],"sources":["../../src/actions/get-subscription-creation-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetSubscriptionCreationQuoteInput: z.ZodTypeAny = z.object({\n ReferenceOffer: z.string().describe(\"The reference of the offer to quote for subscription creation\"),\n ReferenceCustomer: z.string().describe(\"The unique reference of the customer for whom the subscription quote is being generated\"),\n}).describe(\"Request model for getting a pricing quote for creating a new subscription.\");\nconst ProabonoGetSubscriptionCreationQuote_TaxDetailSchema: z.ZodTypeAny = z.object({\n Rate: z.number().int().describe(\"Tax rate in basis points (‱). For example, 20% = 2000\").nullable().optional(),\n Type: z.string().describe(\"Type of tax designation\").nullable().optional(),\n Label: z.string().describe(\"Label or name of the tax\").nullable().optional(),\n Amount: z.number().int().describe(\"Tax amount in cents calculated based on the rate\").nullable().optional(),\n IdTaxProfile: z.number().int().describe(\"Identifier of the tax profile applied\").nullable().optional(),\n}).describe(\"Tax calculation details for a pricing line item.\");\nconst ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema: z.ZodTypeAny = z.object({\n Tax1: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),\n Tax2: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),\n Label: z.string().describe(\"Label or description of the detail line item\").nullable().optional(),\n TypeMove: z.string().describe(\"Type of customer move (e.g., SubscriptionInitialFee, SubscriptionRecurringAmount, SubscriptionFeatures)\").nullable().optional(),\n IdFeature: z.number().int().describe(\"Feature identifier. Present only when this line item is linked to a feature\").nullable().optional(),\n QuantityReal: z.number().int().describe(\"Real quantity available for limitation/consumption type features\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"Amount in cents without taxes\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"Amount in cents with taxes included\").nullable().optional(),\n QuantityBilled: z.number().int().describe(\"Quantity billed to customer for variable pricing features\").nullable().optional(),\n}).describe(\"Detailed breakdown of a single line item in the subscription quote.\");\nexport const ProabonoGetSubscriptionCreationQuoteOutput: z.ZodTypeAny = z.object({\n Details: z.array(ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema).describe(\"Collection of detailed pricing breakdown items for the subscription\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the quoted amounts (e.g., USD, EUR)\").nullable().optional(),\n AmountTotal: z.number().int().describe(\"Total amount in cents with taxes included\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"End date of the billing period in ISO 8601 format\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"Total amount in cents without taxes\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"Total amount due in cents with taxes included\").nullable().optional(),\n DateGeneration: z.string().describe(\"Date when the quote was generated in ISO 8601 format\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Start date of the billing period in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model for subscription creation pricing quote. Contains detailed pricing\\nbreakdown including subtotal, total, taxes, and line item details.\");\n\nexport const proabonoGetSubscriptionCreationQuote = action(\"PROABONO_GET_SUBSCRIPTION_CREATION_QUOTE\", {\n slug: \"proabono-get-subscription-creation-quote\",\n name: \"Get Subscription Creation Quote\",\n description: \"Tool to get a pricing quote for creating a new subscription without actually creating it. Use when you need to calculate the cost of a subscription before committing to its creation.\",\n input: ProabonoGetSubscriptionCreationQuoteInput,\n output: ProabonoGetSubscriptionCreationQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAClI,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,C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|
+
declare const ProabonoGetSubscriptionCreationQuoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoGetSubscriptionCreationQuote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoGetSubscriptionCreationQuote };
|
|
9
|
+
//# sourceMappingURL=get-subscription-creation-quote.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-creation-quote.d.cts","names":[],"sources":["../../src/actions/get-subscription-creation-quote.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAG+B;AAAA,cAmB5E,0CAAA,EAA4C,CAAA,CAAE,UASyG;AAAA,cAEvJ,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-subscription-creation-quote.d.ts
|
|
4
|
+
declare const ProabonoGetSubscriptionCreationQuoteInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoGetSubscriptionCreationQuoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoGetSubscriptionCreationQuote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoGetSubscriptionCreationQuote };
|
|
9
|
+
//# sourceMappingURL=get-subscription-creation-quote.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-creation-quote.d.mts","names":[],"sources":["../../src/actions/get-subscription-creation-quote.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAG+B;AAAA,cAmB5E,0CAAA,EAA4C,CAAA,CAAE,UASyG;AAAA,cAEvJ,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-subscription-creation-quote.ts
|
|
4
|
+
const ProabonoGetSubscriptionCreationQuoteInput = z.object({
|
|
5
|
+
ReferenceOffer: z.string().describe("The reference of the offer to quote for subscription creation"),
|
|
6
|
+
ReferenceCustomer: z.string().describe("The unique reference of the customer for whom the subscription quote is being generated")
|
|
7
|
+
}).describe("Request model for getting a pricing quote for creating a new subscription.");
|
|
8
|
+
const ProabonoGetSubscriptionCreationQuote_TaxDetailSchema = z.object({
|
|
9
|
+
Rate: z.number().int().describe("Tax rate in basis points (‱). For example, 20% = 2000").nullable().optional(),
|
|
10
|
+
Type: z.string().describe("Type of tax designation").nullable().optional(),
|
|
11
|
+
Label: z.string().describe("Label or name of the tax").nullable().optional(),
|
|
12
|
+
Amount: z.number().int().describe("Tax amount in cents calculated based on the rate").nullable().optional(),
|
|
13
|
+
IdTaxProfile: z.number().int().describe("Identifier of the tax profile applied").nullable().optional()
|
|
14
|
+
}).describe("Tax calculation details for a pricing line item.");
|
|
15
|
+
const ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema = z.object({
|
|
16
|
+
Tax1: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),
|
|
17
|
+
Tax2: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),
|
|
18
|
+
Label: z.string().describe("Label or description of the detail line item").nullable().optional(),
|
|
19
|
+
TypeMove: z.string().describe("Type of customer move (e.g., SubscriptionInitialFee, SubscriptionRecurringAmount, SubscriptionFeatures)").nullable().optional(),
|
|
20
|
+
IdFeature: z.number().int().describe("Feature identifier. Present only when this line item is linked to a feature").nullable().optional(),
|
|
21
|
+
QuantityReal: z.number().int().describe("Real quantity available for limitation/consumption type features").nullable().optional(),
|
|
22
|
+
AmountSubtotal: z.number().int().describe("Amount in cents without taxes").nullable().optional(),
|
|
23
|
+
AmountTotalDue: z.number().int().describe("Amount in cents with taxes included").nullable().optional(),
|
|
24
|
+
QuantityBilled: z.number().int().describe("Quantity billed to customer for variable pricing features").nullable().optional()
|
|
25
|
+
}).describe("Detailed breakdown of a single line item in the subscription quote.");
|
|
26
|
+
const proabonoGetSubscriptionCreationQuote = action("PROABONO_GET_SUBSCRIPTION_CREATION_QUOTE", {
|
|
27
|
+
slug: "proabono-get-subscription-creation-quote",
|
|
28
|
+
name: "Get Subscription Creation Quote",
|
|
29
|
+
description: "Tool to get a pricing quote for creating a new subscription without actually creating it. Use when you need to calculate the cost of a subscription before committing to its creation.",
|
|
30
|
+
input: ProabonoGetSubscriptionCreationQuoteInput,
|
|
31
|
+
output: z.object({
|
|
32
|
+
Details: z.array(ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema).describe("Collection of detailed pricing breakdown items for the subscription").nullable().optional(),
|
|
33
|
+
Currency: z.string().describe("Currency code for the quoted amounts (e.g., USD, EUR)").nullable().optional(),
|
|
34
|
+
AmountTotal: z.number().int().describe("Total amount in cents with taxes included").nullable().optional(),
|
|
35
|
+
DatePeriodEnd: z.string().describe("End date of the billing period in ISO 8601 format").nullable().optional(),
|
|
36
|
+
AmountSubtotal: z.number().int().describe("Total amount in cents without taxes").nullable().optional(),
|
|
37
|
+
AmountTotalDue: z.number().int().describe("Total amount due in cents with taxes included").nullable().optional(),
|
|
38
|
+
DateGeneration: z.string().describe("Date when the quote was generated in ISO 8601 format").nullable().optional(),
|
|
39
|
+
DatePeriodStart: z.string().describe("Start date of the billing period in ISO 8601 format").nullable().optional()
|
|
40
|
+
}).describe("Response model for subscription creation pricing quote. Contains detailed pricing\nbreakdown including subtotal, total, taxes, and line item details.")
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { proabonoGetSubscriptionCreationQuote };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=get-subscription-creation-quote.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-creation-quote.mjs","names":[],"sources":["../../src/actions/get-subscription-creation-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetSubscriptionCreationQuoteInput: z.ZodTypeAny = z.object({\n ReferenceOffer: z.string().describe(\"The reference of the offer to quote for subscription creation\"),\n ReferenceCustomer: z.string().describe(\"The unique reference of the customer for whom the subscription quote is being generated\"),\n}).describe(\"Request model for getting a pricing quote for creating a new subscription.\");\nconst ProabonoGetSubscriptionCreationQuote_TaxDetailSchema: z.ZodTypeAny = z.object({\n Rate: z.number().int().describe(\"Tax rate in basis points (‱). For example, 20% = 2000\").nullable().optional(),\n Type: z.string().describe(\"Type of tax designation\").nullable().optional(),\n Label: z.string().describe(\"Label or name of the tax\").nullable().optional(),\n Amount: z.number().int().describe(\"Tax amount in cents calculated based on the rate\").nullable().optional(),\n IdTaxProfile: z.number().int().describe(\"Identifier of the tax profile applied\").nullable().optional(),\n}).describe(\"Tax calculation details for a pricing line item.\");\nconst ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema: z.ZodTypeAny = z.object({\n Tax1: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),\n Tax2: ProabonoGetSubscriptionCreationQuote_TaxDetailSchema.nullable().optional(),\n Label: z.string().describe(\"Label or description of the detail line item\").nullable().optional(),\n TypeMove: z.string().describe(\"Type of customer move (e.g., SubscriptionInitialFee, SubscriptionRecurringAmount, SubscriptionFeatures)\").nullable().optional(),\n IdFeature: z.number().int().describe(\"Feature identifier. Present only when this line item is linked to a feature\").nullable().optional(),\n QuantityReal: z.number().int().describe(\"Real quantity available for limitation/consumption type features\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"Amount in cents without taxes\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"Amount in cents with taxes included\").nullable().optional(),\n QuantityBilled: z.number().int().describe(\"Quantity billed to customer for variable pricing features\").nullable().optional(),\n}).describe(\"Detailed breakdown of a single line item in the subscription quote.\");\nexport const ProabonoGetSubscriptionCreationQuoteOutput: z.ZodTypeAny = z.object({\n Details: z.array(ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema).describe(\"Collection of detailed pricing breakdown items for the subscription\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the quoted amounts (e.g., USD, EUR)\").nullable().optional(),\n AmountTotal: z.number().int().describe(\"Total amount in cents with taxes included\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"End date of the billing period in ISO 8601 format\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"Total amount in cents without taxes\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"Total amount due in cents with taxes included\").nullable().optional(),\n DateGeneration: z.string().describe(\"Date when the quote was generated in ISO 8601 format\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Start date of the billing period in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model for subscription creation pricing quote. Contains detailed pricing\\nbreakdown including subtotal, total, taxes, and line item details.\");\n\nexport const proabonoGetSubscriptionCreationQuote = action(\"PROABONO_GET_SUBSCRIPTION_CREATION_QUOTE\", {\n slug: \"proabono-get-subscription-creation-quote\",\n name: \"Get Subscription Creation Quote\",\n description: \"Tool to get a pricing quote for creating a new subscription without actually creating it. Use when you need to calculate the cost of a subscription before committing to its creation.\",\n input: ProabonoGetSubscriptionCreationQuoteInput,\n output: ProabonoGetSubscriptionCreationQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO;CAC9E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAClI,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,uDAAqE,E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
const ProabonoGetUsageInput = zod.z.object({
|
|
5
|
+
ReferenceFeature: zod.z.string().describe("The reference of the feature to retrieve usage for. This is the shared key between ProAbono and your application."),
|
|
6
|
+
ReferenceCustomer: zod.z.string().describe("The unique reference of the customer to retrieve usage for. This is the identifier from your application.")
|
|
7
|
+
}).describe("Request model for retrieving a single usage record.");
|
|
8
|
+
const ProabonoGetUsageOutput = zod.z.object({
|
|
9
|
+
IdFeature: zod.z.number().int().describe("Identifier of the feature related to this usage").nullable().optional(),
|
|
10
|
+
IdSegment: zod.z.number().int().describe("Identifier of the segment where the customer was created").nullable().optional(),
|
|
11
|
+
IsEnabled: zod.z.boolean().describe("(OnOff features only) Indicates if feature is currently enabled").nullable().optional(),
|
|
12
|
+
IdCustomer: zod.z.number().int().describe("Identifier of the customer").nullable().optional(),
|
|
13
|
+
IsIncluded: zod.z.boolean().describe("(OnOff features only) Indicates if feature is included in subscription").nullable().optional(),
|
|
14
|
+
TypeFeature: zod.z.string().describe("Feature classification: OnOff, Limitation, or Consumption").nullable().optional(),
|
|
15
|
+
DatePeriodEnd: zod.z.string().describe("End of the billing period in ISO 8601 format").nullable().optional(),
|
|
16
|
+
IdSubscription: zod.z.number().int().describe("Identifier of the subscription (may be absent if multiple subscriptions match)").nullable().optional(),
|
|
17
|
+
DatePeriodStart: zod.z.string().describe("Beginning of the billing period in ISO 8601 format").nullable().optional(),
|
|
18
|
+
QuantityCurrent: zod.z.number().int().describe("(Limitation/Consumption only) Currently consumed quantity").nullable().optional(),
|
|
19
|
+
QuantityIncluded: zod.z.number().int().describe("(Limitation/Consumption only) Available quota or volume").nullable().optional(),
|
|
20
|
+
ReferenceFeature: zod.z.string().describe("Reference code shared between application and ProAbono").nullable().optional(),
|
|
21
|
+
ReferenceSegment: zod.z.string().describe("Reference code of the segment").nullable().optional(),
|
|
22
|
+
ReferenceCustomer: zod.z.string().describe("Unique identifier from your application for this customer").nullable().optional()
|
|
23
|
+
}).describe("Response model for a single usage record.\nNote: The response structure varies based on feature type.");
|
|
24
|
+
const proabonoGetUsage = require_action.action("PROABONO_GET_USAGE", {
|
|
25
|
+
slug: "proabono-get-usage",
|
|
26
|
+
name: "Get Usage Record",
|
|
27
|
+
description: "Tool to retrieve a single usage record for a specific feature and customer combination from ProAbono. Use when you need to check current usage status, remaining quota, or feature availability for a customer. The response varies based on feature type: OnOff features return IsIncluded/IsEnabled, while Limitation and Consumption features return quantity information.",
|
|
28
|
+
input: ProabonoGetUsageInput,
|
|
29
|
+
output: ProabonoGetUsageOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.proabonoGetUsage = proabonoGetUsage;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-usage.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetUsageInput: z.ZodTypeAny = z.object({\n ReferenceFeature: z.string().describe(\"The reference of the feature to retrieve usage for. This is the shared key between ProAbono and your application.\"),\n ReferenceCustomer: z.string().describe(\"The unique reference of the customer to retrieve usage for. This is the identifier from your application.\"),\n}).describe(\"Request model for retrieving a single usage record.\");\nexport const ProabonoGetUsageOutput: z.ZodTypeAny = z.object({\n IdFeature: z.number().int().describe(\"Identifier of the feature related to this usage\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Identifier of the segment where the customer was created\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"(OnOff features only) Indicates if feature is currently enabled\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Identifier of the customer\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"(OnOff features only) Indicates if feature is included in subscription\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature classification: OnOff, Limitation, or Consumption\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"End of the billing period in ISO 8601 format\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Identifier of the subscription (may be absent if multiple subscriptions match)\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Beginning of the billing period in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().int().describe(\"(Limitation/Consumption only) Currently consumed quantity\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"(Limitation/Consumption only) Available quota or volume\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Reference code shared between application and ProAbono\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference code of the segment\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Unique identifier from your application for this customer\").nullable().optional(),\n}).describe(\"Response model for a single usage record.\\nNote: The response structure varies based on feature type.\");\n\nexport const proabonoGetUsage = action(\"PROABONO_GET_USAGE\", {\n slug: \"proabono-get-usage\",\n name: \"Get Usage Record\",\n description: \"Tool to retrieve a single usage record for a specific feature and customer combination from ProAbono. Use when you need to check current usage status, remaining quota, or feature availability for a customer. The response varies based on feature type: OnOff features return IsIncluded/IsEnabled, while Limitation and Consumption features return quantity information.\",\n input: ProabonoGetUsageInput,\n output: ProabonoGetUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACzJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;AACpJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,S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AAEnH,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-usage.d.ts
|
|
4
|
+
declare const ProabonoGetUsageInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoGetUsageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoGetUsage };
|
|
9
|
+
//# sourceMappingURL=get-usage.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-usage.d.cts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAG4B;AAAA,cACrD,sBAAA,EAAwB,CAAA,CAAE,UAe6E;AAAA,cAEvG,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-usage.d.ts
|
|
4
|
+
declare const ProabonoGetUsageInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoGetUsageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoGetUsage };
|
|
9
|
+
//# sourceMappingURL=get-usage.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-usage.d.mts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAG4B;AAAA,cACrD,sBAAA,EAAwB,CAAA,CAAE,UAe6E;AAAA,cAEvG,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const proabonoGetUsage = action("PROABONO_GET_USAGE", {
|
|
4
|
+
slug: "proabono-get-usage",
|
|
5
|
+
name: "Get Usage Record",
|
|
6
|
+
description: "Tool to retrieve a single usage record for a specific feature and customer combination from ProAbono. Use when you need to check current usage status, remaining quota, or feature availability for a customer. The response varies based on feature type: OnOff features return IsIncluded/IsEnabled, while Limitation and Consumption features return quantity information.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
ReferenceFeature: z.string().describe("The reference of the feature to retrieve usage for. This is the shared key between ProAbono and your application."),
|
|
9
|
+
ReferenceCustomer: z.string().describe("The unique reference of the customer to retrieve usage for. This is the identifier from your application.")
|
|
10
|
+
}).describe("Request model for retrieving a single usage record."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
IdFeature: z.number().int().describe("Identifier of the feature related to this usage").nullable().optional(),
|
|
13
|
+
IdSegment: z.number().int().describe("Identifier of the segment where the customer was created").nullable().optional(),
|
|
14
|
+
IsEnabled: z.boolean().describe("(OnOff features only) Indicates if feature is currently enabled").nullable().optional(),
|
|
15
|
+
IdCustomer: z.number().int().describe("Identifier of the customer").nullable().optional(),
|
|
16
|
+
IsIncluded: z.boolean().describe("(OnOff features only) Indicates if feature is included in subscription").nullable().optional(),
|
|
17
|
+
TypeFeature: z.string().describe("Feature classification: OnOff, Limitation, or Consumption").nullable().optional(),
|
|
18
|
+
DatePeriodEnd: z.string().describe("End of the billing period in ISO 8601 format").nullable().optional(),
|
|
19
|
+
IdSubscription: z.number().int().describe("Identifier of the subscription (may be absent if multiple subscriptions match)").nullable().optional(),
|
|
20
|
+
DatePeriodStart: z.string().describe("Beginning of the billing period in ISO 8601 format").nullable().optional(),
|
|
21
|
+
QuantityCurrent: z.number().int().describe("(Limitation/Consumption only) Currently consumed quantity").nullable().optional(),
|
|
22
|
+
QuantityIncluded: z.number().int().describe("(Limitation/Consumption only) Available quota or volume").nullable().optional(),
|
|
23
|
+
ReferenceFeature: z.string().describe("Reference code shared between application and ProAbono").nullable().optional(),
|
|
24
|
+
ReferenceSegment: z.string().describe("Reference code of the segment").nullable().optional(),
|
|
25
|
+
ReferenceCustomer: z.string().describe("Unique identifier from your application for this customer").nullable().optional()
|
|
26
|
+
}).describe("Response model for a single usage record.\nNote: The response structure varies based on feature type.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { proabonoGetUsage };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-usage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-usage.mjs","names":[],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetUsageInput: z.ZodTypeAny = z.object({\n ReferenceFeature: z.string().describe(\"The reference of the feature to retrieve usage for. This is the shared key between ProAbono and your application.\"),\n ReferenceCustomer: z.string().describe(\"The unique reference of the customer to retrieve usage for. This is the identifier from your application.\"),\n}).describe(\"Request model for retrieving a single usage record.\");\nexport const ProabonoGetUsageOutput: z.ZodTypeAny = z.object({\n IdFeature: z.number().int().describe(\"Identifier of the feature related to this usage\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Identifier of the segment where the customer was created\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"(OnOff features only) Indicates if feature is currently enabled\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Identifier of the customer\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"(OnOff features only) Indicates if feature is included in subscription\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature classification: OnOff, Limitation, or Consumption\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"End of the billing period in ISO 8601 format\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Identifier of the subscription (may be absent if multiple subscriptions match)\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Beginning of the billing period in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().int().describe(\"(Limitation/Consumption only) Currently consumed quantity\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"(Limitation/Consumption only) Available quota or volume\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Reference code shared between application and ProAbono\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference code of the segment\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Unique identifier from your application for this customer\").nullable().optional(),\n}).describe(\"Response model for a single usage record.\\nNote: The response structure varies based on feature type.\");\n\nexport const proabonoGetUsage = action(\"PROABONO_GET_USAGE\", {\n slug: \"proabono-get-usage\",\n name: \"Get Usage Record\",\n description: \"Tool to retrieve a single usage record for a specific feature and customer combination from ProAbono. Use when you need to check current usage status, remaining quota, or feature availability for a customer. The response varies based on feature type: OnOff features return IsIncluded/IsEnabled, while Limitation and Consumption features return quantity information.\",\n input: ProabonoGetUsageInput,\n output: ProabonoGetUsageOutput,\n});\n"],"mappings":";;AAyBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBiD,EAAE,OAAO;EAC1D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;EACzJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACpJ,CAAC,CAAC,CAAC,SAAS,qDAsBH;CACP,QAtBkD,EAAE,OAAO;EAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAA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