@keystrokehq/proabono 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/anonymize-customer.cjs +1 -0
- package/dist/actions/anonymize-customer.cjs.map +1 -1
- package/dist/actions/anonymize-customer.d.cts +3 -3
- package/dist/actions/anonymize-customer.d.cts.map +1 -1
- package/dist/actions/anonymize-customer.d.mts +3 -3
- package/dist/actions/anonymize-customer.d.mts.map +1 -1
- package/dist/actions/anonymize-customer.mjs +1 -0
- package/dist/actions/anonymize-customer.mjs.map +1 -1
- package/dist/actions/bill-customer.cjs +1 -0
- package/dist/actions/bill-customer.cjs.map +1 -1
- package/dist/actions/bill-customer.d.cts +3 -3
- package/dist/actions/bill-customer.d.cts.map +1 -1
- package/dist/actions/bill-customer.d.mts +3 -3
- package/dist/actions/bill-customer.d.mts.map +1 -1
- package/dist/actions/bill-customer.mjs +1 -0
- package/dist/actions/bill-customer.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -0
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +3 -10
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -10
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -0
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-feature.cjs +1 -0
- package/dist/actions/create-feature.cjs.map +1 -1
- package/dist/actions/create-feature.d.cts +3 -8
- package/dist/actions/create-feature.d.cts.map +1 -1
- package/dist/actions/create-feature.d.mts +3 -8
- package/dist/actions/create-feature.d.mts.map +1 -1
- package/dist/actions/create-feature.mjs +1 -0
- package/dist/actions/create-feature.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -0
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +3 -3
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +3 -3
- package/dist/actions/delete-customer.d.mts.map +1 -1
- package/dist/actions/delete-customer.mjs +1 -0
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-offer.cjs +1 -0
- package/dist/actions/delete-offer.cjs.map +1 -1
- package/dist/actions/delete-offer.d.cts +3 -3
- package/dist/actions/delete-offer.d.cts.map +1 -1
- package/dist/actions/delete-offer.d.mts +3 -3
- package/dist/actions/delete-offer.d.mts.map +1 -1
- package/dist/actions/delete-offer.mjs +1 -0
- package/dist/actions/delete-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.cjs +1 -0
- package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.cts +3 -3
- package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.mts +3 -3
- package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -1
- package/dist/actions/delete-pricing-table-offer.mjs +1 -0
- package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table.cjs +1 -0
- package/dist/actions/delete-pricing-table.cjs.map +1 -1
- package/dist/actions/delete-pricing-table.d.cts +3 -3
- package/dist/actions/delete-pricing-table.d.cts.map +1 -1
- package/dist/actions/delete-pricing-table.d.mts +3 -3
- package/dist/actions/delete-pricing-table.d.mts.map +1 -1
- package/dist/actions/delete-pricing-table.mjs +1 -0
- package/dist/actions/delete-pricing-table.mjs.map +1 -1
- package/dist/actions/delete-subscription-discount.cjs +1 -0
- package/dist/actions/delete-subscription-discount.cjs.map +1 -1
- package/dist/actions/delete-subscription-discount.d.cts +3 -3
- package/dist/actions/delete-subscription-discount.d.cts.map +1 -1
- package/dist/actions/delete-subscription-discount.d.mts +3 -3
- package/dist/actions/delete-subscription-discount.d.mts.map +1 -1
- package/dist/actions/delete-subscription-discount.mjs +1 -0
- package/dist/actions/delete-subscription-discount.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +1 -0
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +3 -3
- package/dist/actions/enable-webhook.d.cts.map +1 -1
- package/dist/actions/enable-webhook.d.mts +3 -3
- package/dist/actions/enable-webhook.d.mts.map +1 -1
- package/dist/actions/enable-webhook.mjs +1 -0
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/get-customer-billing-address.cjs +1 -0
- package/dist/actions/get-customer-billing-address.cjs.map +1 -1
- package/dist/actions/get-customer-billing-address.d.cts +3 -3
- package/dist/actions/get-customer-billing-address.d.cts.map +1 -1
- package/dist/actions/get-customer-billing-address.d.mts +3 -3
- package/dist/actions/get-customer-billing-address.d.mts.map +1 -1
- package/dist/actions/get-customer-billing-address.mjs +1 -0
- package/dist/actions/get-customer-billing-address.mjs.map +1 -1
- package/dist/actions/get-customer-billing.cjs +1 -0
- package/dist/actions/get-customer-billing.cjs.map +1 -1
- package/dist/actions/get-customer-billing.d.cts +3 -3
- package/dist/actions/get-customer-billing.d.cts.map +1 -1
- package/dist/actions/get-customer-billing.d.mts +3 -3
- package/dist/actions/get-customer-billing.d.mts.map +1 -1
- package/dist/actions/get-customer-billing.mjs +1 -0
- package/dist/actions/get-customer-billing.mjs.map +1 -1
- package/dist/actions/get-customer-by-reference.cjs +1 -0
- package/dist/actions/get-customer-by-reference.cjs.map +1 -1
- package/dist/actions/get-customer-by-reference.d.cts +3 -3
- package/dist/actions/get-customer-by-reference.d.cts.map +1 -1
- package/dist/actions/get-customer-by-reference.d.mts +3 -3
- package/dist/actions/get-customer-by-reference.d.mts.map +1 -1
- package/dist/actions/get-customer-by-reference.mjs +1 -0
- package/dist/actions/get-customer-by-reference.mjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.cjs +1 -0
- package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.d.cts +3 -3
- package/dist/actions/get-customer-payment-settings.d.cts.map +1 -1
- package/dist/actions/get-customer-payment-settings.d.mts +3 -3
- package/dist/actions/get-customer-payment-settings.d.mts.map +1 -1
- package/dist/actions/get-customer-payment-settings.mjs +1 -0
- package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -0
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +3 -4
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -4
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -0
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-discount.cjs +1 -0
- package/dist/actions/get-discount.cjs.map +1 -1
- package/dist/actions/get-discount.d.cts +3 -4
- package/dist/actions/get-discount.d.cts.map +1 -1
- package/dist/actions/get-discount.d.mts +3 -4
- package/dist/actions/get-discount.d.mts.map +1 -1
- package/dist/actions/get-discount.mjs +1 -0
- package/dist/actions/get-discount.mjs.map +1 -1
- package/dist/actions/get-feature.cjs +1 -0
- package/dist/actions/get-feature.cjs.map +1 -1
- package/dist/actions/get-feature.d.cts +3 -4
- package/dist/actions/get-feature.d.cts.map +1 -1
- package/dist/actions/get-feature.d.mts +3 -4
- package/dist/actions/get-feature.d.mts.map +1 -1
- package/dist/actions/get-feature.mjs +1 -0
- package/dist/actions/get-feature.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-offer.cjs +1 -0
- package/dist/actions/get-offer.cjs.map +1 -1
- package/dist/actions/get-offer.d.cts +3 -4
- package/dist/actions/get-offer.d.cts.map +1 -1
- package/dist/actions/get-offer.d.mts +3 -4
- package/dist/actions/get-offer.d.mts.map +1 -1
- package/dist/actions/get-offer.mjs +1 -0
- package/dist/actions/get-offer.mjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.cjs +1 -0
- package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.d.cts +3 -4
- package/dist/actions/get-subscription-by-customer.d.cts.map +1 -1
- package/dist/actions/get-subscription-by-customer.d.mts +3 -4
- package/dist/actions/get-subscription-by-customer.d.mts.map +1 -1
- package/dist/actions/get-subscription-by-customer.mjs +1 -0
- package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.cjs +1 -0
- package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.d.cts +3 -4
- package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -1
- package/dist/actions/get-subscription-creation-quote.d.mts +3 -4
- package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -1
- package/dist/actions/get-subscription-creation-quote.mjs +1 -0
- package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
- package/dist/actions/get-usage.cjs +1 -0
- package/dist/actions/get-usage.cjs.map +1 -1
- package/dist/actions/get-usage.d.cts +3 -4
- package/dist/actions/get-usage.d.cts.map +1 -1
- package/dist/actions/get-usage.d.mts +3 -4
- package/dist/actions/get-usage.d.mts.map +1 -1
- package/dist/actions/get-usage.mjs +1 -0
- package/dist/actions/get-usage.mjs.map +1 -1
- package/dist/actions/get-usages-for-customer.cjs +1 -0
- package/dist/actions/get-usages-for-customer.cjs.map +1 -1
- package/dist/actions/get-usages-for-customer.d.cts +3 -5
- package/dist/actions/get-usages-for-customer.d.cts.map +1 -1
- package/dist/actions/get-usages-for-customer.d.mts +3 -5
- package/dist/actions/get-usages-for-customer.d.mts.map +1 -1
- package/dist/actions/get-usages-for-customer.mjs +1 -0
- package/dist/actions/get-usages-for-customer.mjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.cjs +1 -0
- package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.d.cts +3 -3
- package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -1
- package/dist/actions/invalidate-customer-by-id.d.mts +3 -3
- package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -1
- package/dist/actions/invalidate-customer-by-id.mjs +1 -0
- package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
- package/dist/actions/invalidate-customer.cjs +1 -0
- package/dist/actions/invalidate-customer.cjs.map +1 -1
- package/dist/actions/invalidate-customer.d.cts +3 -3
- package/dist/actions/invalidate-customer.d.cts.map +1 -1
- package/dist/actions/invalidate-customer.d.mts +3 -3
- package/dist/actions/invalidate-customer.d.mts.map +1 -1
- package/dist/actions/invalidate-customer.mjs +1 -0
- package/dist/actions/invalidate-customer.mjs.map +1 -1
- package/dist/actions/list-balance-lines.cjs +1 -0
- package/dist/actions/list-balance-lines.cjs.map +1 -1
- package/dist/actions/list-balance-lines.d.cts +3 -7
- package/dist/actions/list-balance-lines.d.cts.map +1 -1
- package/dist/actions/list-balance-lines.d.mts +3 -7
- package/dist/actions/list-balance-lines.d.mts.map +1 -1
- package/dist/actions/list-balance-lines.mjs +1 -0
- package/dist/actions/list-balance-lines.mjs.map +1 -1
- package/dist/actions/list-business-localization.cjs +1 -0
- package/dist/actions/list-business-localization.cjs.map +1 -1
- package/dist/actions/list-business-localization.d.cts +3 -9
- package/dist/actions/list-business-localization.d.cts.map +1 -1
- package/dist/actions/list-business-localization.d.mts +3 -9
- package/dist/actions/list-business-localization.d.mts.map +1 -1
- package/dist/actions/list-business-localization.mjs +1 -0
- package/dist/actions/list-business-localization.mjs.map +1 -1
- package/dist/actions/list-businesses.cjs +1 -0
- package/dist/actions/list-businesses.cjs.map +1 -1
- package/dist/actions/list-businesses.d.cts +3 -6
- package/dist/actions/list-businesses.d.cts.map +1 -1
- package/dist/actions/list-businesses.d.mts +3 -6
- package/dist/actions/list-businesses.d.mts.map +1 -1
- package/dist/actions/list-businesses.mjs +1 -0
- package/dist/actions/list-businesses.mjs.map +1 -1
- package/dist/actions/list-customer-moves.cjs +1 -0
- package/dist/actions/list-customer-moves.cjs.map +1 -1
- package/dist/actions/list-customer-moves.d.cts +3 -10
- package/dist/actions/list-customer-moves.d.cts.map +1 -1
- package/dist/actions/list-customer-moves.d.mts +3 -10
- package/dist/actions/list-customer-moves.d.mts.map +1 -1
- package/dist/actions/list-customer-moves.mjs +1 -0
- package/dist/actions/list-customer-moves.mjs.map +1 -1
- package/dist/actions/list-customers-by-feature.cjs +1 -0
- package/dist/actions/list-customers-by-feature.cjs.map +1 -1
- package/dist/actions/list-customers-by-feature.d.cts +3 -6
- package/dist/actions/list-customers-by-feature.d.cts.map +1 -1
- package/dist/actions/list-customers-by-feature.d.mts +3 -6
- package/dist/actions/list-customers-by-feature.d.mts.map +1 -1
- package/dist/actions/list-customers-by-feature.mjs +1 -0
- package/dist/actions/list-customers-by-feature.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +1 -0
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -8
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +3 -8
- package/dist/actions/list-customers.d.mts.map +1 -1
- package/dist/actions/list-customers.mjs +1 -0
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-discounts.cjs +1 -0
- package/dist/actions/list-discounts.cjs.map +1 -1
- package/dist/actions/list-discounts.d.cts +3 -6
- package/dist/actions/list-discounts.d.cts.map +1 -1
- package/dist/actions/list-discounts.d.mts +3 -6
- package/dist/actions/list-discounts.d.mts.map +1 -1
- package/dist/actions/list-discounts.mjs +1 -0
- package/dist/actions/list-discounts.mjs.map +1 -1
- package/dist/actions/list-features.cjs +1 -0
- package/dist/actions/list-features.cjs.map +1 -1
- package/dist/actions/list-features.d.cts +3 -6
- package/dist/actions/list-features.d.cts.map +1 -1
- package/dist/actions/list-features.d.mts +3 -6
- package/dist/actions/list-features.d.mts.map +1 -1
- package/dist/actions/list-features.mjs +1 -0
- package/dist/actions/list-features.mjs.map +1 -1
- package/dist/actions/list-gateway-accounts.cjs +1 -0
- package/dist/actions/list-gateway-accounts.cjs.map +1 -1
- package/dist/actions/list-gateway-accounts.d.cts +3 -8
- package/dist/actions/list-gateway-accounts.d.cts.map +1 -1
- package/dist/actions/list-gateway-accounts.d.mts +3 -8
- package/dist/actions/list-gateway-accounts.d.mts.map +1 -1
- package/dist/actions/list-gateway-accounts.mjs +1 -0
- package/dist/actions/list-gateway-accounts.mjs.map +1 -1
- package/dist/actions/list-gateway-permissions.cjs +1 -0
- package/dist/actions/list-gateway-permissions.cjs.map +1 -1
- package/dist/actions/list-gateway-permissions.d.cts +3 -5
- package/dist/actions/list-gateway-permissions.d.cts.map +1 -1
- package/dist/actions/list-gateway-permissions.d.mts +3 -5
- package/dist/actions/list-gateway-permissions.d.mts.map +1 -1
- package/dist/actions/list-gateway-permissions.mjs +1 -0
- package/dist/actions/list-gateway-permissions.mjs.map +1 -1
- package/dist/actions/list-gateway-requests.cjs +1 -0
- package/dist/actions/list-gateway-requests.cjs.map +1 -1
- package/dist/actions/list-gateway-requests.d.cts +3 -13
- package/dist/actions/list-gateway-requests.d.cts.map +1 -1
- package/dist/actions/list-gateway-requests.d.mts +3 -13
- package/dist/actions/list-gateway-requests.d.mts.map +1 -1
- package/dist/actions/list-gateway-requests.mjs +1 -0
- package/dist/actions/list-gateway-requests.mjs.map +1 -1
- package/dist/actions/list-gateway-transactions.cjs +1 -0
- package/dist/actions/list-gateway-transactions.cjs.map +1 -1
- package/dist/actions/list-gateway-transactions.d.cts +3 -7
- package/dist/actions/list-gateway-transactions.d.cts.map +1 -1
- package/dist/actions/list-gateway-transactions.d.mts +3 -7
- package/dist/actions/list-gateway-transactions.d.mts.map +1 -1
- package/dist/actions/list-gateway-transactions.mjs +1 -0
- package/dist/actions/list-gateway-transactions.mjs.map +1 -1
- package/dist/actions/list-invoice-lines.cjs +1 -0
- package/dist/actions/list-invoice-lines.cjs.map +1 -1
- package/dist/actions/list-invoice-lines.d.cts +3 -5
- package/dist/actions/list-invoice-lines.d.cts.map +1 -1
- package/dist/actions/list-invoice-lines.d.mts +3 -5
- package/dist/actions/list-invoice-lines.d.mts.map +1 -1
- package/dist/actions/list-invoice-lines.mjs +1 -0
- package/dist/actions/list-invoice-lines.mjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.cjs +1 -0
- package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.d.cts +3 -5
- package/dist/actions/list-invoices-by-customer.d.cts.map +1 -1
- package/dist/actions/list-invoices-by-customer.d.mts +3 -5
- package/dist/actions/list-invoices-by-customer.d.mts.map +1 -1
- package/dist/actions/list-invoices-by-customer.mjs +1 -0
- package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -7
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -7
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-offers.cjs +1 -0
- package/dist/actions/list-offers.cjs.map +1 -1
- package/dist/actions/list-offers.d.cts +3 -8
- package/dist/actions/list-offers.d.cts.map +1 -1
- package/dist/actions/list-offers.d.mts +3 -8
- package/dist/actions/list-offers.d.mts.map +1 -1
- package/dist/actions/list-offers.mjs +1 -0
- package/dist/actions/list-offers.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +3 -7
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +3 -7
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.cjs +1 -0
- package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.d.cts +3 -5
- package/dist/actions/list-pricing-table-offers.d.cts.map +1 -1
- package/dist/actions/list-pricing-table-offers.d.mts +3 -5
- package/dist/actions/list-pricing-table-offers.d.mts.map +1 -1
- package/dist/actions/list-pricing-table-offers.mjs +1 -0
- package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
- package/dist/actions/list-pricing-tables.cjs +1 -0
- package/dist/actions/list-pricing-tables.cjs.map +1 -1
- package/dist/actions/list-pricing-tables.d.cts +3 -7
- package/dist/actions/list-pricing-tables.d.cts.map +1 -1
- package/dist/actions/list-pricing-tables.d.mts +3 -7
- package/dist/actions/list-pricing-tables.d.mts.map +1 -1
- package/dist/actions/list-pricing-tables.mjs +1 -0
- package/dist/actions/list-pricing-tables.mjs.map +1 -1
- package/dist/actions/list-segment-localizations.cjs +1 -0
- package/dist/actions/list-segment-localizations.cjs.map +1 -1
- package/dist/actions/list-segment-localizations.d.cts +3 -9
- package/dist/actions/list-segment-localizations.d.cts.map +1 -1
- package/dist/actions/list-segment-localizations.d.mts +3 -9
- package/dist/actions/list-segment-localizations.d.mts.map +1 -1
- package/dist/actions/list-segment-localizations.mjs +1 -0
- package/dist/actions/list-segment-localizations.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +1 -0
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +3 -6
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +3 -6
- package/dist/actions/list-segments.d.mts.map +1 -1
- package/dist/actions/list-segments.mjs +1 -0
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-subscription-discounts.cjs +1 -0
- package/dist/actions/list-subscription-discounts.cjs.map +1 -1
- package/dist/actions/list-subscription-discounts.d.cts +3 -5
- package/dist/actions/list-subscription-discounts.d.cts.map +1 -1
- package/dist/actions/list-subscription-discounts.d.mts +3 -5
- package/dist/actions/list-subscription-discounts.d.mts.map +1 -1
- package/dist/actions/list-subscription-discounts.mjs +1 -0
- package/dist/actions/list-subscription-discounts.mjs.map +1 -1
- package/dist/actions/list-subscription-features.cjs +1 -0
- package/dist/actions/list-subscription-features.cjs.map +1 -1
- package/dist/actions/list-subscription-features.d.cts +3 -5
- package/dist/actions/list-subscription-features.d.cts.map +1 -1
- package/dist/actions/list-subscription-features.d.mts +3 -5
- package/dist/actions/list-subscription-features.d.mts.map +1 -1
- package/dist/actions/list-subscription-features.mjs +1 -0
- package/dist/actions/list-subscription-features.mjs.map +1 -1
- package/dist/actions/list-subscription-periods.cjs +1 -0
- package/dist/actions/list-subscription-periods.cjs.map +1 -1
- package/dist/actions/list-subscription-periods.d.cts +3 -7
- package/dist/actions/list-subscription-periods.d.cts.map +1 -1
- package/dist/actions/list-subscription-periods.d.mts +3 -7
- package/dist/actions/list-subscription-periods.d.mts.map +1 -1
- package/dist/actions/list-subscription-periods.mjs +1 -0
- package/dist/actions/list-subscription-periods.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +1 -0
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +3 -7
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +3 -7
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-subscriptions.mjs +1 -0
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.cjs +1 -0
- package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.d.cts +3 -8
- package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.d.mts +3 -8
- package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.mjs +1 -0
- package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
- package/dist/actions/list-tax-profiles.cjs +1 -0
- package/dist/actions/list-tax-profiles.cjs.map +1 -1
- package/dist/actions/list-tax-profiles.d.cts +3 -5
- package/dist/actions/list-tax-profiles.d.cts.map +1 -1
- package/dist/actions/list-tax-profiles.d.mts +3 -5
- package/dist/actions/list-tax-profiles.d.mts.map +1 -1
- package/dist/actions/list-tax-profiles.mjs +1 -0
- package/dist/actions/list-tax-profiles.mjs.map +1 -1
- package/dist/actions/list-upgrade-offers.cjs +1 -0
- package/dist/actions/list-upgrade-offers.cjs.map +1 -1
- package/dist/actions/list-upgrade-offers.d.cts +3 -6
- package/dist/actions/list-upgrade-offers.d.cts.map +1 -1
- package/dist/actions/list-upgrade-offers.d.mts +3 -6
- package/dist/actions/list-upgrade-offers.d.mts.map +1 -1
- package/dist/actions/list-upgrade-offers.mjs +1 -0
- package/dist/actions/list-upgrade-offers.mjs.map +1 -1
- package/dist/actions/list-webhook-notifications.cjs +1 -0
- package/dist/actions/list-webhook-notifications.cjs.map +1 -1
- package/dist/actions/list-webhook-notifications.d.cts +3 -12
- package/dist/actions/list-webhook-notifications.d.cts.map +1 -1
- package/dist/actions/list-webhook-notifications.d.mts +3 -12
- package/dist/actions/list-webhook-notifications.d.mts.map +1 -1
- package/dist/actions/list-webhook-notifications.mjs +1 -0
- package/dist/actions/list-webhook-notifications.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -10
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -10
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/quote-balance-line.cjs +1 -0
- package/dist/actions/quote-balance-line.cjs.map +1 -1
- package/dist/actions/quote-balance-line.d.cts +3 -6
- package/dist/actions/quote-balance-line.d.cts.map +1 -1
- package/dist/actions/quote-balance-line.d.mts +3 -6
- package/dist/actions/quote-balance-line.d.mts.map +1 -1
- package/dist/actions/quote-balance-line.mjs +1 -0
- package/dist/actions/quote-balance-line.mjs.map +1 -1
- package/dist/actions/revoke-customer-links.cjs +1 -0
- package/dist/actions/revoke-customer-links.cjs.map +1 -1
- package/dist/actions/revoke-customer-links.d.cts +3 -3
- package/dist/actions/revoke-customer-links.d.cts.map +1 -1
- package/dist/actions/revoke-customer-links.d.mts +3 -3
- package/dist/actions/revoke-customer-links.d.mts.map +1 -1
- package/dist/actions/revoke-customer-links.mjs +1 -0
- package/dist/actions/revoke-customer-links.mjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.cjs +1 -0
- package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.d.cts +3 -14
- package/dist/actions/update-businesses-billing-address.d.cts.map +1 -1
- package/dist/actions/update-businesses-billing-address.d.mts +3 -14
- package/dist/actions/update-businesses-billing-address.d.mts.map +1 -1
- package/dist/actions/update-businesses-billing-address.mjs +1 -0
- package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-billing-address.cjs +1 -0
- package/dist/actions/update-customer-billing-address.cjs.map +1 -1
- package/dist/actions/update-customer-billing-address.d.cts +3 -14
- package/dist/actions/update-customer-billing-address.d.cts.map +1 -1
- package/dist/actions/update-customer-billing-address.d.mts +3 -14
- package/dist/actions/update-customer-billing-address.d.mts.map +1 -1
- package/dist/actions/update-customer-billing-address.mjs +1 -0
- package/dist/actions/update-customer-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.cjs +1 -0
- package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.d.cts +3 -4
- package/dist/actions/update-customer-payment-settings.d.cts.map +1 -1
- package/dist/actions/update-customer-payment-settings.d.mts +3 -4
- package/dist/actions/update-customer-payment-settings.d.mts.map +1 -1
- package/dist/actions/update-customer-payment-settings.mjs +1 -0
- package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/update-customer-shipping.cjs +1 -0
- package/dist/actions/update-customer-shipping.cjs.map +1 -1
- package/dist/actions/update-customer-shipping.d.cts +3 -15
- package/dist/actions/update-customer-shipping.d.cts.map +1 -1
- package/dist/actions/update-customer-shipping.d.mts +3 -15
- package/dist/actions/update-customer-shipping.d.mts.map +1 -1
- package/dist/actions/update-customer-shipping.mjs +1 -0
- package/dist/actions/update-customer-shipping.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -8
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -8
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-feature.cjs +1 -0
- package/dist/actions/update-feature.cjs.map +1 -1
- package/dist/actions/update-feature.d.cts +3 -9
- package/dist/actions/update-feature.d.cts.map +1 -1
- package/dist/actions/update-feature.d.mts +3 -9
- package/dist/actions/update-feature.d.mts.map +1 -1
- package/dist/actions/update-feature.mjs +1 -0
- package/dist/actions/update-feature.mjs.map +1 -1
- package/dist/actions/update-tax-profiles.cjs +1 -0
- package/dist/actions/update-tax-profiles.cjs.map +1 -1
- package/dist/actions/update-tax-profiles.d.cts +3 -9
- package/dist/actions/update-tax-profiles.d.cts.map +1 -1
- package/dist/actions/update-tax-profiles.d.mts +3 -9
- package/dist/actions/update-tax-profiles.d.mts.map +1 -1
- package/dist/actions/update-tax-profiles.mjs +1 -0
- package/dist/actions/update-tax-profiles.mjs.map +1 -1
- package/dist/app.cjs +11 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +10 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +10 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +8 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-subscription-creation-quote.d.ts
|
|
@@ -37,10 +39,7 @@ declare const ProabonoGetSubscriptionCreationQuoteOutput: z.ZodObject<{
|
|
|
37
39
|
DateGeneration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
DatePeriodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const proabonoGetSubscriptionCreationQuote:
|
|
41
|
-
ReferenceOffer: string;
|
|
42
|
-
ReferenceCustomer: string;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const proabonoGetSubscriptionCreationQuote: AppAction<typeof ProabonoGetSubscriptionCreationQuoteInput, typeof ProabonoGetSubscriptionCreationQuoteOutput, typeof proabono.credential>;
|
|
44
43
|
//#endregion
|
|
45
44
|
export { proabonoGetSubscriptionCreationQuote };
|
|
46
45
|
//# sourceMappingURL=get-subscription-creation-quote.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-creation-quote.d.mts","names":[],"sources":["../../src/actions/get-subscription-creation-quote.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subscription-creation-quote.d.mts","names":[],"sources":["../../src/actions/get-subscription-creation-quote.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAsBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAW1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough().describe(\"Tax calculation details for a pricing line item.\");\nconst ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema = 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}).passthrough().describe(\"Detailed breakdown of a single line item in the subscription quote.\");\nexport const ProabonoGetSubscriptionCreationQuoteOutput = 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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-subscription-creation-quote.mjs","names":[],"sources":["../../src/actions/get-subscription-creation-quote.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetSubscriptionCreationQuoteInput = 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.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}).passthrough().describe(\"Tax calculation details for a pricing line item.\");\nconst ProabonoGetSubscriptionCreationQuote_QuoteDetailSchema = 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}).passthrough().describe(\"Detailed breakdown of a single line item in the subscription quote.\");\nexport const ProabonoGetSubscriptionCreationQuoteOutput = 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}).passthrough().describe(\"Response model for subscription creation pricing quote. Contains detailed pricing\\nbreakdown including subtotal, total, taxes, and line item details.\");\n\nexport const proabonoGetSubscriptionCreationQuote: AppAction<\n typeof ProabonoGetSubscriptionCreationQuoteInput,\n typeof ProabonoGetSubscriptionCreationQuoteOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAClI,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,uDAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAA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C,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAY/F,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApBwD,EAAE,OAAO;EACjE,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetUsageInput = 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.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}).passthrough().describe(\"Response model for a single usage record.\\nNote: The response structure varies based on feature type.\");\n\nexport const proabonoGetUsage: AppAction<\n typeof ProabonoGetUsageInput,\n typeof ProabonoGetUsageOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,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,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,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,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAAuG;AAEjI,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-usage.d.ts
|
|
@@ -21,10 +23,7 @@ declare const ProabonoGetUsageOutput: z.ZodObject<{
|
|
|
21
23
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const proabonoGetUsage:
|
|
25
|
-
ReferenceFeature: string;
|
|
26
|
-
ReferenceCustomer: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const proabonoGetUsage: AppAction<typeof ProabonoGetUsageInput, typeof ProabonoGetUsageOutput, typeof proabono.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { proabonoGetUsage };
|
|
30
29
|
//# sourceMappingURL=get-usage.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage.d.cts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usage.d.cts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-usage.d.ts
|
|
@@ -21,10 +23,7 @@ declare const ProabonoGetUsageOutput: z.ZodObject<{
|
|
|
21
23
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const proabonoGetUsage:
|
|
25
|
-
ReferenceFeature: string;
|
|
26
|
-
ReferenceCustomer: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const proabonoGetUsage: AppAction<typeof ProabonoGetUsageInput, typeof ProabonoGetUsageOutput, typeof proabono.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { proabonoGetUsage };
|
|
30
29
|
//# sourceMappingURL=get-usage.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage.d.mts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usage.d.mts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-usage.mjs","names":[],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetUsageInput = 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.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}).passthrough().describe(\"Response model for a single usage record.\\nNote: The response structure varies based on feature type.\");\n\nexport const proabonoGetUsage: AppAction<\n typeof ProabonoGetUsageInput,\n typeof ProabonoGetUsageOutput,\n typeof proabono.credential\n> = 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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AC,SAAS,CAAC,CAAC,SAAS;EAC5H,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usages-for-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-usages-for-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetUsagesForCustomerInput = z.object({\n IdCustomer: z.number().int().describe(\"Retrieve usages exclusively from a specific customer by ID\").optional(),\n IdSubscription: z.number().int().describe(\"Retrieve usages exclusively from a specific subscription by ID\").optional(),\n ReferenceCustomer: z.string().describe(\"Reference of the customer - retrieve usages exclusively from this customer\").optional(),\n}).describe(\"Request model for retrieving usage data from ProAbono.\");\nconst ProabonoGetUsagesForCustomer_UsageItemSchema = z.object({\n IdFeature: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Feature activation status (applies to OnOff features only)\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"Feature inclusion status (applies to OnOff features only)\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature classification type: OnOff, Limitation, or Consumption\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Billing period conclusion timestamp in ISO 8601 format\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Subscription identifier. If not returned, it means multiple subscriptions match that usage\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Billing period commencement timestamp in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().int().describe(\"Current usage quantity for Limitation/Consumption features\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"Available allocation for Limitation/Consumption features. If not provided it means 'unlimited'\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Feature reference code\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference code\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference code\").nullable().optional(),\n}).passthrough().describe(\"Model for a single usage object in the response.\");\nconst ProabonoGetUsagesForCustomer_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in paginated response.\");\nexport const ProabonoGetUsagesForCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoGetUsagesForCustomer_UsageItemSchema).describe(\"Collection of usage objects\").nullable().optional(),\n Links: z.array(ProabonoGetUsagesForCustomer_NavigationLinkSchema).describe(\"Navigation links for pagination\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format (UTC)\").nullable().optional(),\n}).passthrough().describe(\"Response model for ProAbono usage data retrieval.\");\n\nexport const proabonoGetUsagesForCustomer = action(\"PROABONO_GET_USAGES_FOR_CUSTOMER\", {\n slug: \"proabono-get-usages-for-customer\",\n name: \"Get Usages for Customer\",\n description: \"Tool to retrieve usage data for customers from ProAbono. Use when you need to fetch feature usage information including OnOff, Limitation, and Consumption features. Parameters can be combined to filter results by customer reference, customer ID, or subscription ID.\",\n input: ProabonoGetUsagesForCustomerInput,\n output: ProabonoGetUsagesForCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usages-for-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-usages-for-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetUsagesForCustomerInput = z.object({\n IdCustomer: z.number().int().describe(\"Retrieve usages exclusively from a specific customer by ID\").optional(),\n IdSubscription: z.number().int().describe(\"Retrieve usages exclusively from a specific subscription by ID\").optional(),\n ReferenceCustomer: z.string().describe(\"Reference of the customer - retrieve usages exclusively from this customer\").optional(),\n}).describe(\"Request model for retrieving usage data from ProAbono.\");\nconst ProabonoGetUsagesForCustomer_UsageItemSchema = z.object({\n IdFeature: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Feature activation status (applies to OnOff features only)\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"Feature inclusion status (applies to OnOff features only)\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature classification type: OnOff, Limitation, or Consumption\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Billing period conclusion timestamp in ISO 8601 format\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Subscription identifier. If not returned, it means multiple subscriptions match that usage\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Billing period commencement timestamp in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().int().describe(\"Current usage quantity for Limitation/Consumption features\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"Available allocation for Limitation/Consumption features. If not provided it means 'unlimited'\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Feature reference code\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference code\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference code\").nullable().optional(),\n}).passthrough().describe(\"Model for a single usage object in the response.\");\nconst ProabonoGetUsagesForCustomer_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in paginated response.\");\nexport const ProabonoGetUsagesForCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoGetUsagesForCustomer_UsageItemSchema).describe(\"Collection of usage objects\").nullable().optional(),\n Links: z.array(ProabonoGetUsagesForCustomer_NavigationLinkSchema).describe(\"Navigation links for pagination\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format (UTC)\").nullable().optional(),\n}).passthrough().describe(\"Response model for ProAbono usage data retrieval.\");\n\nexport const proabonoGetUsagesForCustomer: AppAction<\n typeof ProabonoGetUsagesForCustomerInput,\n typeof ProabonoGetUsagesForCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_USAGES_FOR_CUSTOMER\", {\n slug: \"proabono-get-usages-for-customer\",\n name: \"Get Usages for Customer\",\n description: \"Tool to retrieve usage data for customers from ProAbono. Use when you need to fetch feature usage information including OnOff, Limitation, and Consumption features. Parameters can be combined to filter results by customer reference, customer ID, or subscription ID.\",\n input: ProabonoGetUsagesForCustomerInput,\n output: ProabonoGetUsagesForCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-usages-for-customer.d.ts
|
|
@@ -33,11 +35,7 @@ declare const ProabonoGetUsagesForCustomerOutput: z.ZodObject<{
|
|
|
33
35
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const proabonoGetUsagesForCustomer:
|
|
37
|
-
IdCustomer?: number | undefined;
|
|
38
|
-
IdSubscription?: number | undefined;
|
|
39
|
-
ReferenceCustomer?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const proabonoGetUsagesForCustomer: AppAction<typeof ProabonoGetUsagesForCustomerInput, typeof ProabonoGetUsagesForCustomerOutput, typeof proabono.credential>;
|
|
41
39
|
//#endregion
|
|
42
40
|
export { proabonoGetUsagesForCustomer };
|
|
43
41
|
//# sourceMappingURL=get-usages-for-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usages-for-customer.d.cts","names":[],"sources":["../../src/actions/get-usages-for-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usages-for-customer.d.cts","names":[],"sources":["../../src/actions/get-usages-for-customer.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAyBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-usages-for-customer.d.ts
|
|
@@ -33,11 +35,7 @@ declare const ProabonoGetUsagesForCustomerOutput: z.ZodObject<{
|
|
|
33
35
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const proabonoGetUsagesForCustomer:
|
|
37
|
-
IdCustomer?: number | undefined;
|
|
38
|
-
IdSubscription?: number | undefined;
|
|
39
|
-
ReferenceCustomer?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const proabonoGetUsagesForCustomer: AppAction<typeof ProabonoGetUsagesForCustomerInput, typeof ProabonoGetUsagesForCustomerOutput, typeof proabono.credential>;
|
|
41
39
|
//#endregion
|
|
42
40
|
export { proabonoGetUsagesForCustomer };
|
|
43
41
|
//# sourceMappingURL=get-usages-for-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usages-for-customer.d.mts","names":[],"sources":["../../src/actions/get-usages-for-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usages-for-customer.d.mts","names":[],"sources":["../../src/actions/get-usages-for-customer.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAyBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usages-for-customer.mjs","names":[],"sources":["../../src/actions/get-usages-for-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetUsagesForCustomerInput = z.object({\n IdCustomer: z.number().int().describe(\"Retrieve usages exclusively from a specific customer by ID\").optional(),\n IdSubscription: z.number().int().describe(\"Retrieve usages exclusively from a specific subscription by ID\").optional(),\n ReferenceCustomer: z.string().describe(\"Reference of the customer - retrieve usages exclusively from this customer\").optional(),\n}).describe(\"Request model for retrieving usage data from ProAbono.\");\nconst ProabonoGetUsagesForCustomer_UsageItemSchema = z.object({\n IdFeature: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Feature activation status (applies to OnOff features only)\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"Feature inclusion status (applies to OnOff features only)\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature classification type: OnOff, Limitation, or Consumption\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Billing period conclusion timestamp in ISO 8601 format\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Subscription identifier. If not returned, it means multiple subscriptions match that usage\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Billing period commencement timestamp in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().int().describe(\"Current usage quantity for Limitation/Consumption features\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"Available allocation for Limitation/Consumption features. If not provided it means 'unlimited'\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Feature reference code\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference code\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference code\").nullable().optional(),\n}).passthrough().describe(\"Model for a single usage object in the response.\");\nconst ProabonoGetUsagesForCustomer_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in paginated response.\");\nexport const ProabonoGetUsagesForCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoGetUsagesForCustomer_UsageItemSchema).describe(\"Collection of usage objects\").nullable().optional(),\n Links: z.array(ProabonoGetUsagesForCustomer_NavigationLinkSchema).describe(\"Navigation links for pagination\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format (UTC)\").nullable().optional(),\n}).passthrough().describe(\"Response model for ProAbono usage data retrieval.\");\n\nexport const proabonoGetUsagesForCustomer = action(\"PROABONO_GET_USAGES_FOR_CUSTOMER\", {\n slug: \"proabono-get-usages-for-customer\",\n name: \"Get Usages for Customer\",\n description: \"Tool to retrieve usage data for customers from ProAbono. Use when you need to fetch feature usage information including OnOff, Limitation, and Consumption features. Parameters can be combined to filter results by customer reference, customer ID, or subscription ID.\",\n input: ProabonoGetUsagesForCustomerInput,\n output: ProabonoGetUsagesForCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usages-for-customer.mjs","names":[],"sources":["../../src/actions/get-usages-for-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetUsagesForCustomerInput = z.object({\n IdCustomer: z.number().int().describe(\"Retrieve usages exclusively from a specific customer by ID\").optional(),\n IdSubscription: z.number().int().describe(\"Retrieve usages exclusively from a specific subscription by ID\").optional(),\n ReferenceCustomer: z.string().describe(\"Reference of the customer - retrieve usages exclusively from this customer\").optional(),\n}).describe(\"Request model for retrieving usage data from ProAbono.\");\nconst ProabonoGetUsagesForCustomer_UsageItemSchema = z.object({\n IdFeature: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Feature activation status (applies to OnOff features only)\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"Feature inclusion status (applies to OnOff features only)\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature classification type: OnOff, Limitation, or Consumption\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Billing period conclusion timestamp in ISO 8601 format\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Subscription identifier. If not returned, it means multiple subscriptions match that usage\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Billing period commencement timestamp in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().int().describe(\"Current usage quantity for Limitation/Consumption features\").nullable().optional(),\n QuantityIncluded: z.number().int().describe(\"Available allocation for Limitation/Consumption features. If not provided it means 'unlimited'\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Feature reference code\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference code\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference code\").nullable().optional(),\n}).passthrough().describe(\"Model for a single usage object in the response.\");\nconst ProabonoGetUsagesForCustomer_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in paginated response.\");\nexport const ProabonoGetUsagesForCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoGetUsagesForCustomer_UsageItemSchema).describe(\"Collection of usage objects\").nullable().optional(),\n Links: z.array(ProabonoGetUsagesForCustomer_NavigationLinkSchema).describe(\"Navigation links for pagination\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format (UTC)\").nullable().optional(),\n}).passthrough().describe(\"Response model for ProAbono usage data retrieval.\");\n\nexport const proabonoGetUsagesForCustomer: AppAction<\n typeof ProabonoGetUsagesForCustomerInput,\n typeof ProabonoGetUsagesForCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_USAGES_FOR_CUSTOMER\", {\n slug: \"proabono-get-usages-for-customer\",\n name: \"Get Usages for Customer\",\n description: \"Tool to retrieve usage data for customers from ProAbono. Use when you need to fetch feature usage information including OnOff, Limitation, and Consumption features. Parameters can be combined to filter results by customer reference, customer ID,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,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerByIdInput = z.object({\n id_customer: z.number().int().describe(\"The ProAbono internal ID of the customer to invalidate. This operation replaces the customer's reference identifier with a new value, allowing the original reference to be reused for a different customer.\"),\n}).describe(\"Request parameters for invalidating a customer by ID.\");\nconst ProabonoInvalidateCustomerById_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an encrypted portal link.\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerByIdOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomerById_CustomerLinkSchema).describe(\"Collection of newly generated encrypted portal links for customer access. All previous links are revoked during invalidation.\").nullable().optional(),\n Status: z.string().describe(\"The status of the customer account (e.g., 'Enabled', 'Disabled').\").nullable().optional(),\n Currency: z.string().describe(\"The currency code for this customer (e.g., 'EUR', 'USD').\").nullable().optional(),\n Language: z.string().describe(\"The customer's language preference (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"The reference name of the segment.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The new customer reference that was assigned during invalidation, replacing the original reference.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomerById = action(\"PROABONO_INVALIDATE_CUSTOMER_BY_ID\", {\n slug: \"proabono-invalidate-customer-by-id\",\n name: \"Invalidate Customer by ID\",\n description: \"Tool to invalidate a customer by their ProAbono internal ID. Use when you need to free up a customer reference for reuse. This operation replaces the customer's ReferenceCustomer with a new value and regenerates all encrypted portal links.\",\n input: ProabonoInvalidateCustomerByIdInput,\n output: ProabonoInvalidateCustomerByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoInvalidateCustomerByIdInput = z.object({\n id_customer: z.number().int().describe(\"The ProAbono internal ID of the customer to invalidate. This operation replaces the customer's reference identifier with a new value, allowing the original reference to be reused for a different customer.\"),\n}).describe(\"Request parameters for invalidating a customer by ID.\");\nconst ProabonoInvalidateCustomerById_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an encrypted portal link.\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerByIdOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomerById_CustomerLinkSchema).describe(\"Collection of newly generated encrypted portal links for customer access. All previous links are revoked during invalidation.\").nullable().optional(),\n Status: z.string().describe(\"The status of the customer account (e.g., 'Enabled', 'Disabled').\").nullable().optional(),\n Currency: z.string().describe(\"The currency code for this customer (e.g., 'EUR', 'USD').\").nullable().optional(),\n Language: z.string().describe(\"The customer's language preference (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"The reference name of the segment.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The new customer reference that was assigned during invalidation, replacing the original reference.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomerById: AppAction<\n typeof ProabonoInvalidateCustomerByIdInput,\n typeof ProabonoInvalidateCustomerByIdOutput,\n typeof proabono.credential\n> = action(\"PROABONO_INVALIDATE_CUSTOMER_BY_ID\", {\n slug: \"proabono-invalidate-customer-by-id\",\n name: \"Invalidate Customer by ID\",\n description: \"Tool to invalidate a customer by their ProAbono internal ID. Use when you need to free up a customer reference for reuse. This operation replaces the customer's ReferenceCustomer with a new value and regenerates all encrypted portal links.\",\n input: ProabonoInvalidateCustomerByIdInput,\n output: ProabonoInvalidateCustomerByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,aAAaA,IAAAA,E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AAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/invalidate-customer-by-id.d.ts
|
|
@@ -20,9 +22,7 @@ declare const ProabonoInvalidateCustomerByIdOutput: z.ZodObject<{
|
|
|
20
22
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const proabonoInvalidateCustomerById:
|
|
24
|
-
id_customer: number;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const proabonoInvalidateCustomerById: AppAction<typeof ProabonoInvalidateCustomerByIdInput, typeof ProabonoInvalidateCustomerByIdOutput, typeof proabono.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { proabonoInvalidateCustomerById };
|
|
28
28
|
//# sourceMappingURL=invalidate-customer-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.d.cts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.d.cts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAapC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/invalidate-customer-by-id.d.ts
|
|
@@ -20,9 +22,7 @@ declare const ProabonoInvalidateCustomerByIdOutput: z.ZodObject<{
|
|
|
20
22
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const proabonoInvalidateCustomerById:
|
|
24
|
-
id_customer: number;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const proabonoInvalidateCustomerById: AppAction<typeof ProabonoInvalidateCustomerByIdInput, typeof ProabonoInvalidateCustomerByIdOutput, typeof proabono.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { proabonoInvalidateCustomerById };
|
|
28
28
|
//# sourceMappingURL=invalidate-customer-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.d.mts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.d.mts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAapC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.mjs","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerByIdInput = z.object({\n id_customer: z.number().int().describe(\"The ProAbono internal ID of the customer to invalidate. This operation replaces the customer's reference identifier with a new value, allowing the original reference to be reused for a different customer.\"),\n}).describe(\"Request parameters for invalidating a customer by ID.\");\nconst ProabonoInvalidateCustomerById_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an encrypted portal link.\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerByIdOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomerById_CustomerLinkSchema).describe(\"Collection of newly generated encrypted portal links for customer access. All previous links are revoked during invalidation.\").nullable().optional(),\n Status: z.string().describe(\"The status of the customer account (e.g., 'Enabled', 'Disabled').\").nullable().optional(),\n Currency: z.string().describe(\"The currency code for this customer (e.g., 'EUR', 'USD').\").nullable().optional(),\n Language: z.string().describe(\"The customer's language preference (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"The reference name of the segment.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The new customer reference that was assigned during invalidation, replacing the original reference.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomerById = action(\"PROABONO_INVALIDATE_CUSTOMER_BY_ID\", {\n slug: \"proabono-invalidate-customer-by-id\",\n name: \"Invalidate Customer by ID\",\n description: \"Tool to invalidate a customer by their ProAbono internal ID. Use when you need to free up a customer reference for reuse. This operation replaces the customer's ReferenceCustomer with a new value and regenerates all encrypted portal links.\",\n input: ProabonoInvalidateCustomerByIdInput,\n output: ProabonoInvalidateCustomerByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.mjs","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoInvalidateCustomerByIdInput = z.object({\n id_customer: z.number().int().describe(\"The ProAbono internal ID of the customer to invalidate. This operation replaces the customer's reference identifier with a new value, allowing the original reference to be reused for a different customer.\"),\n}).describe(\"Request parameters for invalidating a customer by ID.\");\nconst ProabonoInvalidateCustomerById_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an encrypted portal link.\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerByIdOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomerById_CustomerLinkSchema).describe(\"Collection of newly generated encrypted portal links for customer access. All previous links are revoked during invalidation.\").nullable().optional(),\n Status: z.string().describe(\"The status of the customer account (e.g., 'Enabled', 'Disabled').\").nullable().optional(),\n Currency: z.string().describe(\"The currency code for this customer (e.g., 'EUR', 'USD').\").nullable().optional(),\n Language: z.string().describe(\"The customer's language preference (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"The reference name of the segment.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The new customer reference that was assigned during invalidation, replacing the original reference.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomerById: AppAction<\n typeof ProabonoInvalidateCustomerByIdInput,\n typeof ProabonoInvalidateCustomerByIdOutput,\n typeof proabono.credential\n> = action(\"PROABONO_INVALIDATE_CUSTOMER_BY_ID\", {\n slug: \"proabono-invalidate-customer-by-id\",\n name: \"Invalidate Customer by ID\",\n description: \"Tool to invalidate a customer by their ProAbono internal ID. Use when you need to free up a customer reference for reuse. This operation replaces the customer's ReferenceCustomer with a new value and regenerates all encrypted portal links.\",\n input: ProabonoInvalidateCustomerByIdInput,\n output: ProabonoInvalidateCustomerByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M,EACvP,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0D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AAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to invalidate. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for invalidating a customer.\");\nconst ProabonoInvalidateCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an API endpoint path.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's display name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources.\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended', 'Invalidated').\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association 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 customer record.\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Your application's customer reference that was invalidated.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomer = action(\"PROABONO_INVALIDATE_CUSTOMER\", {\n slug: \"proabono-invalidate-customer\",\n name: \"Invalidate Customer\",\n description: \"Tool to invalidate a customer by their reference. Use when you need to revoke a customer's access to subscribed services while keeping the account record.\",\n input: ProabonoInvalidateCustomerInput,\n output: ProabonoInvalidateCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoInvalidateCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to invalidate. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for invalidating a customer.\");\nconst ProabonoInvalidateCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an API endpoint path.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's display name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources.\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended', 'Invalidated').\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association 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 customer record.\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Your application's customer reference that was invalidated.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomer: AppAction<\n typeof ProabonoInvalidateCustomerInput,\n typeof ProabonoInvalidateCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_INVALIDATE_CUSTOMER\", {\n slug: \"proabono-invalidate-customer\",\n name: \"Invalidate Customer\",\n description: \"Tool to invalidate a customer by their reference. Use when you need to revoke a customer's access to subscribed services while keeping the account record.\",\n input: ProabonoInvalidateCustomerInput,\n output: ProabonoInvalidateCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,mCAAmCA,IAAAA,EAAE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;CACxI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,6BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/invalidate-customer.d.ts
|
|
@@ -23,9 +25,7 @@ declare const ProabonoInvalidateCustomerOutput: z.ZodObject<{
|
|
|
23
25
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
26
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const proabonoInvalidateCustomer:
|
|
27
|
-
reference_customer: string;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const proabonoInvalidateCustomer: AppAction<typeof ProabonoInvalidateCustomerInput, typeof ProabonoInvalidateCustomerOutput, typeof proabono.credential>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { proabonoInvalidateCustomer };
|
|
31
31
|
//# sourceMappingURL=invalidate-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.d.cts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer.d.cts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/invalidate-customer.d.ts
|
|
@@ -23,9 +25,7 @@ declare const ProabonoInvalidateCustomerOutput: z.ZodObject<{
|
|
|
23
25
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
26
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const proabonoInvalidateCustomer:
|
|
27
|
-
reference_customer: string;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const proabonoInvalidateCustomer: AppAction<typeof ProabonoInvalidateCustomerInput, typeof ProabonoInvalidateCustomerOutput, typeof proabono.credential>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { proabonoInvalidateCustomer };
|
|
31
31
|
//# sourceMappingURL=invalidate-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.d.mts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer.d.mts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.mjs","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to invalidate. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for invalidating a customer.\");\nconst ProabonoInvalidateCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an API endpoint path.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's display name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources.\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended', 'Invalidated').\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association 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 customer record.\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Your application's customer reference that was invalidated.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomer = action(\"PROABONO_INVALIDATE_CUSTOMER\", {\n slug: \"proabono-invalidate-customer\",\n name: \"Invalidate Customer\",\n description: \"Tool to invalidate a customer by their reference. Use when you need to revoke a customer's access to subscribed services while keeping the account record.\",\n input: ProabonoInvalidateCustomerInput,\n output: ProabonoInvalidateCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invalidate-customer.mjs","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoInvalidateCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to invalidate. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for invalidating a customer.\");\nconst ProabonoInvalidateCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an API endpoint path.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's display name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources.\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended', 'Invalidated').\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association 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 customer record.\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Your application's customer reference that was invalidated.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomer: AppAction<\n typeof ProabonoInvalidateCustomerInput,\n typeof ProabonoInvalidateCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_INVALIDATE_CUSTOMER\", {\n slug: \"proabono-invalidate-customer\",\n name: \"Invalidate Customer\",\n description: \"Tool to invalidate a customer by their reference. Use when you need to revoke a customer's access to subscribed services while keeping the account record.\",\n input: ProabonoInvalidateCustomerInput,\n output: ProabonoInvalidateCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,EACtD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAk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