@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSegmentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Currency: z.string().describe(\"Filter by currency code (e.g., 'EUR', 'USD', 'GBP')\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to list segments for a specific business\").optional(),\n});\nconst ProabonoListSegments_SegmentLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'related-dashboard')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path or URL for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_SegmentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique segment identifier\").nullable().optional(),\n Name: z.string().describe(\"Name of the segment\").nullable().optional(),\n Links: z.array(ProabonoListSegments_SegmentLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n Currency: z.string().describe(\"Currency code used for the segment (e.g., 'USD', 'EUR')\").nullable().optional(),\n HostAgent: z.string().describe(\"Full domain name where agents can log into the backoffice (format: {domain}.via.proabono.com)\").nullable().optional(),\n StateLife: z.string().describe(\"Current state of the segment lifecycle (e.g., 'Ok')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n HostCustomer: z.string().describe(\"Full domain name of customer hosted pages (format: {domain}.proabono.com)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the segment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the segment\").nullable().optional(),\n LanguageDefault: z.string().describe(\"Default language setting for the segment (ISO 639-1 code)\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Shared key of the segment between ProAbono and your application\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'prev', 'next', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSegmentsOutput = 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(ProabonoListSegments_SegmentItemSchema).describe(\"Collection of segment objects\").nullable().optional(),\n Links: z.array(ProabonoListSegments_NavigationLinkSchema).describe(\"Navigation links for pagination (prev/next)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSegments = action(\"PROABONO_LIST_SEGMENTS\", {\n slug: \"proabono-list-segments\",\n name: \"List Segments\",\n description: \"Tool to list all segments from ProAbono via the Backoffice API. Use when you need to retrieve segments with optional filtering by business ID or currency. Returns a paginated collection of segment objects including configuration details, hosts, and navigation links.\",\n input: ProabonoListSegmentsInput,\n output: ProabonoListSegmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.cjs","names":["z","action"],"sources":["../../src/actions/list-segments.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 ProabonoListSegmentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Currency: z.string().describe(\"Filter by currency code (e.g., 'EUR', 'USD', 'GBP')\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to list segments for a specific business\").optional(),\n});\nconst ProabonoListSegments_SegmentLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'related-dashboard')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path or URL for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_SegmentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique segment identifier\").nullable().optional(),\n Name: z.string().describe(\"Name of the segment\").nullable().optional(),\n Links: z.array(ProabonoListSegments_SegmentLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n Currency: z.string().describe(\"Currency code used for the segment (e.g., 'USD', 'EUR')\").nullable().optional(),\n HostAgent: z.string().describe(\"Full domain name where agents can log into the backoffice (format: {domain}.via.proabono.com)\").nullable().optional(),\n StateLife: z.string().describe(\"Current state of the segment lifecycle (e.g., 'Ok')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n HostCustomer: z.string().describe(\"Full domain name of customer hosted pages (format: {domain}.proabono.com)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the segment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the segment\").nullable().optional(),\n LanguageDefault: z.string().describe(\"Default language setting for the segment (ISO 639-1 code)\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Shared key of the segment between ProAbono and your application\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'prev', 'next', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSegmentsOutput = 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(ProabonoListSegments_SegmentItemSchema).describe(\"Collection of segment objects\").nullable().optional(),\n Links: z.array(ProabonoListSegments_NavigationLinkSchema).describe(\"Navigation links for pagination (prev/next)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSegments: AppAction<\n typeof ProabonoListSegmentsInput,\n typeof ProabonoListSegmentsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SEGMENTS\", {\n slug: \"proabono-list-segments\",\n name: \"List Segments\",\n description: \"Tool to list all segments from ProAbono via the Backoffice API. Use when you need to retrieve segments with optional filtering by business ID or currency. Returns a paginated collection of segment objects including configuration details, hosts, and navigation links.\",\n input: ProabonoListSegmentsInput,\n output: ProabonoListSegmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,y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C,CAAC,SAAS;CACtI,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,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/list-segments.d.ts
|
|
@@ -37,12 +39,7 @@ declare const ProabonoListSegmentsOutput: z.ZodObject<{
|
|
|
37
39
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const proabonoListSegments:
|
|
41
|
-
page?: number | undefined;
|
|
42
|
-
Currency?: string | undefined;
|
|
43
|
-
size_page?: number | undefined;
|
|
44
|
-
IdBusiness?: number | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const proabonoListSegments: AppAction<typeof ProabonoListSegmentsInput, typeof ProabonoListSegmentsOutput, typeof proabono.credential>;
|
|
46
43
|
//#endregion
|
|
47
44
|
export { proabonoListSegments };
|
|
48
45
|
//# sourceMappingURL=list-segments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.d.cts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.d.cts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/list-segments.d.ts
|
|
@@ -37,12 +39,7 @@ declare const ProabonoListSegmentsOutput: z.ZodObject<{
|
|
|
37
39
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const proabonoListSegments:
|
|
41
|
-
page?: number | undefined;
|
|
42
|
-
Currency?: string | undefined;
|
|
43
|
-
size_page?: number | undefined;
|
|
44
|
-
IdBusiness?: number | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const proabonoListSegments: AppAction<typeof ProabonoListSegmentsInput, typeof ProabonoListSegmentsOutput, typeof proabono.credential>;
|
|
46
43
|
//#endregion
|
|
47
44
|
export { proabonoListSegments };
|
|
48
45
|
//# sourceMappingURL=list-segments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.d.mts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.d.mts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSegmentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Currency: z.string().describe(\"Filter by currency code (e.g., 'EUR', 'USD', 'GBP')\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to list segments for a specific business\").optional(),\n});\nconst ProabonoListSegments_SegmentLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'related-dashboard')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path or URL for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_SegmentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique segment identifier\").nullable().optional(),\n Name: z.string().describe(\"Name of the segment\").nullable().optional(),\n Links: z.array(ProabonoListSegments_SegmentLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n Currency: z.string().describe(\"Currency code used for the segment (e.g., 'USD', 'EUR')\").nullable().optional(),\n HostAgent: z.string().describe(\"Full domain name where agents can log into the backoffice (format: {domain}.via.proabono.com)\").nullable().optional(),\n StateLife: z.string().describe(\"Current state of the segment lifecycle (e.g., 'Ok')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n HostCustomer: z.string().describe(\"Full domain name of customer hosted pages (format: {domain}.proabono.com)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the segment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the segment\").nullable().optional(),\n LanguageDefault: z.string().describe(\"Default language setting for the segment (ISO 639-1 code)\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Shared key of the segment between ProAbono and your application\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'prev', 'next', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSegmentsOutput = 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(ProabonoListSegments_SegmentItemSchema).describe(\"Collection of segment objects\").nullable().optional(),\n Links: z.array(ProabonoListSegments_NavigationLinkSchema).describe(\"Navigation links for pagination (prev/next)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSegments = action(\"PROABONO_LIST_SEGMENTS\", {\n slug: \"proabono-list-segments\",\n name: \"List Segments\",\n description: \"Tool to list all segments from ProAbono via the Backoffice API. Use when you need to retrieve segments with optional filtering by business ID or currency. Returns a paginated collection of segment objects including configuration details, hosts, and navigation links.\",\n input: ProabonoListSegmentsInput,\n output: ProabonoListSegmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.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 ProabonoListSegmentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Currency: z.string().describe(\"Filter by currency code (e.g., 'EUR', 'USD', 'GBP')\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to list segments for a specific business\").optional(),\n});\nconst ProabonoListSegments_SegmentLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'related-dashboard')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path or URL for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_SegmentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique segment identifier\").nullable().optional(),\n Name: z.string().describe(\"Name of the segment\").nullable().optional(),\n Links: z.array(ProabonoListSegments_SegmentLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n Currency: z.string().describe(\"Currency code used for the segment (e.g., 'USD', 'EUR')\").nullable().optional(),\n HostAgent: z.string().describe(\"Full domain name where agents can log into the backoffice (format: {domain}.via.proabono.com)\").nullable().optional(),\n StateLife: z.string().describe(\"Current state of the segment lifecycle (e.g., 'Ok')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n HostCustomer: z.string().describe(\"Full domain name of customer hosted pages (format: {domain}.proabono.com)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the segment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the segment\").nullable().optional(),\n LanguageDefault: z.string().describe(\"Default language setting for the segment (ISO 639-1 code)\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Shared key of the segment between ProAbono and your application\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSegments_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'prev', 'next', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSegmentsOutput = 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(ProabonoListSegments_SegmentItemSchema).describe(\"Collection of segment objects\").nullable().optional(),\n Links: z.array(ProabonoListSegments_NavigationLinkSchema).describe(\"Navigation links for pagination (prev/next)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSegments: AppAction<\n typeof ProabonoListSegmentsInput,\n typeof ProabonoListSegmentsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SEGMENTS\", {\n slug: \"proabono-list-segments\",\n name: \"List Segments\",\n description: \"Tool to list all segments from ProAbono via the Backoffice API. Use when you need to retrieve segments with optional filtering by business ID or currency. Returns a paginated collection of segment objects including configuration details, hosts, and navigation links.\",\n input: ProabonoListSegmentsInput,\n output: ProabonoListSegmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAA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AAI,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,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-discounts.cjs","names":["z","action"],"sources":["../../src/actions/list-subscription-discounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionDiscountsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID - required to retrieve subscription discounts for a specific business\"),\n});\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription discount\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdDiscount: z.number().int().describe(\"Associated discount ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription discount record\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Associated subscription ID\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription discount record\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_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();\nexport const ProabonoListSubscriptionDiscountsOutput = 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(ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema).describe(\"Collection of subscription discount objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionDiscounts = action(\"PROABONO_LIST_SUBSCRIPTION_DISCOUNTS\", {\n slug: \"proabono-list-subscription-discounts\",\n name: \"List Subscription Discounts\",\n description: \"Tool to list all subscription discounts via the ProAbono Backoffice API. Use when you need to retrieve discounts applied to subscriptions for a specific business. Returns paginated results with discount details including IDs, creation/update timestamps, and associated subscription and discount references.\",\n input: ProabonoListSubscriptionDiscountsInput,\n output: ProabonoListSubscriptionDiscountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-discounts.cjs","names":["z","action"],"sources":["../../src/actions/list-subscription-discounts.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 ProabonoListSubscriptionDiscountsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID - required to retrieve subscription discounts for a specific business\"),\n});\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription discount\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdDiscount: z.number().int().describe(\"Associated discount ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription discount record\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Associated subscription ID\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription discount record\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_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();\nexport const ProabonoListSubscriptionDiscountsOutput = 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(ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema).describe(\"Collection of subscription discount objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionDiscounts: AppAction<\n typeof ProabonoListSubscriptionDiscountsInput,\n typeof ProabonoListSubscriptionDiscountsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SUBSCRIPTION_DISCOUNTS\", {\n slug: \"proabono-list-subscription-discounts\",\n name: \"List Subscription Discounts\",\n description: \"Tool to list all subscription discounts via the ProAbono Backoffice API. Use when you need to retrieve discounts applied to subscriptions for a specific business. Returns paginated results with discount details including IDs, creation/update timestamps, and associated subscription and discount references.\",\n input: ProabonoListSubscriptionDiscountsInput,\n output: ProabonoListSubscriptionDiscountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF;AAChI,CAAC;AACD,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,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CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,OAAOA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,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,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAITC,eAAAA,OAAO,wCAAwC;CACjD,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/list-subscription-discounts.d.ts
|
|
@@ -31,11 +33,7 @@ declare const ProabonoListSubscriptionDiscountsOutput: z.ZodObject<{
|
|
|
31
33
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const proabonoListSubscriptionDiscounts:
|
|
35
|
-
IdBusiness: number;
|
|
36
|
-
page?: number | undefined;
|
|
37
|
-
size_page?: number | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const proabonoListSubscriptionDiscounts: AppAction<typeof ProabonoListSubscriptionDiscountsInput, typeof ProabonoListSubscriptionDiscountsOutput, typeof proabono.credential>;
|
|
39
37
|
//#endregion
|
|
40
38
|
export { proabonoListSubscriptionDiscounts };
|
|
41
39
|
//# sourceMappingURL=list-subscription-discounts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-discounts.d.cts","names":[],"sources":["../../src/actions/list-subscription-discounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-discounts.d.cts","names":[],"sources":["../../src/actions/list-subscription-discounts.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAwBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAUvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,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/list-subscription-discounts.d.ts
|
|
@@ -31,11 +33,7 @@ declare const ProabonoListSubscriptionDiscountsOutput: z.ZodObject<{
|
|
|
31
33
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const proabonoListSubscriptionDiscounts:
|
|
35
|
-
IdBusiness: number;
|
|
36
|
-
page?: number | undefined;
|
|
37
|
-
size_page?: number | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const proabonoListSubscriptionDiscounts: AppAction<typeof ProabonoListSubscriptionDiscountsInput, typeof ProabonoListSubscriptionDiscountsOutput, typeof proabono.credential>;
|
|
39
37
|
//#endregion
|
|
40
38
|
export { proabonoListSubscriptionDiscounts };
|
|
41
39
|
//# sourceMappingURL=list-subscription-discounts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-discounts.d.mts","names":[],"sources":["../../src/actions/list-subscription-discounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-discounts.d.mts","names":[],"sources":["../../src/actions/list-subscription-discounts.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAwBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAUvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-discounts.mjs","names":[],"sources":["../../src/actions/list-subscription-discounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionDiscountsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID - required to retrieve subscription discounts for a specific business\"),\n});\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription discount\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdDiscount: z.number().int().describe(\"Associated discount ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription discount record\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Associated subscription ID\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription discount record\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_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();\nexport const ProabonoListSubscriptionDiscountsOutput = 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(ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema).describe(\"Collection of subscription discount objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionDiscounts = action(\"PROABONO_LIST_SUBSCRIPTION_DISCOUNTS\", {\n slug: \"proabono-list-subscription-discounts\",\n name: \"List Subscription Discounts\",\n description: \"Tool to list all subscription discounts via the ProAbono Backoffice API. Use when you need to retrieve discounts applied to subscriptions for a specific business. Returns paginated results with discount details including IDs, creation/update timestamps, and associated subscription and discount references.\",\n input: ProabonoListSubscriptionDiscountsInput,\n output: ProabonoListSubscriptionDiscountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-discounts.mjs","names":[],"sources":["../../src/actions/list-subscription-discounts.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 ProabonoListSubscriptionDiscountsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID - required to retrieve subscription discounts for a specific business\"),\n});\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription discount\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdDiscount: z.number().int().describe(\"Associated discount ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription discount record\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Associated subscription ID\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription discount record\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionDiscounts_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();\nexport const ProabonoListSubscriptionDiscountsOutput = 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(ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema).describe(\"Collection of subscription discount objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionDiscounts_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").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\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionDiscounts: AppAction<\n typeof ProabonoListSubscriptionDiscountsInput,\n typeof ProabonoListSubscriptionDiscountsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SUBSCRIPTION_DISCOUNTS\", {\n slug: \"proabono-list-subscription-discounts\",\n name: \"List Subscription Discounts\",\n description: \"Tool to list all subscription discounts via the ProAbono Backoffice API. Use when you need to retrieve discounts applied to subscriptions for a specific business. Returns paginated results with discount details including IDs, creation/update timestamps, and associated subscription and discount references.\",\n input: ProabonoListSubscriptionDiscountsInput,\n output: ProabonoListSubscriptionDiscountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,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@@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-features.cjs","names":["z","action"],"sources":["../../src/actions/list-subscription-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionFeaturesInput = z.object({\n IdFeature: z.number().int().describe(\"Filter subscription features by Feature ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter subscription features by Business ID\").optional(),\n DateUpdateMin: z.string().describe(\"Minimum update date filter in ISO 8601 format (e.g., 2025-08-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing subscription features with optional filters.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n Method: z.string().describe(\"The HTTP method for the link\").nullable().optional(),\n}).passthrough().describe(\"Represents a navigation link to related resources.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema = z.object({\n Id: z.number().int().describe(\"ID of the SubscriptionFeature\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema).describe(\"Navigation links to related resources\").nullable().optional(),\n Quantity: z.number().int().describe(\"Current quantity of the feature\").nullable().optional(),\n IdFeature: z.number().int().describe(\"Identifier of the associated feature\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date of last update of the object\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the object on ProAbono\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Identifier linking to parent subscription\").nullable().optional(),\n}).passthrough().describe(\"Represents a subscription feature object from ProAbono.\");\nconst ProabonoListSubscriptionFeatures_PaginationLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type (prev, next, etc.)\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked page\").nullable().optional(),\n}).passthrough().describe(\"Represents a pagination link for navigating through results.\");\nexport const ProabonoListSubscriptionFeaturesOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema).describe(\"List of subscription feature objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_PaginationLinkSchema).describe(\"HATEOAS links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items matching the query\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing subscription features with pagination.\");\n\nexport const proabonoListSubscriptionFeatures = action(\"PROABONO_LIST_SUBSCRIPTION_FEATURES\", {\n slug: \"proabono-list-subscription-features\",\n name: \"List Subscription Features\",\n description: \"Tool to list all subscription features via the ProAbono Backoffice API. Use when you need to retrieve subscription features with optional filtering by Business ID, Feature ID, or minimum update date.\",\n input: ProabonoListSubscriptionFeaturesInput,\n output: ProabonoListSubscriptionFeaturesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-features.cjs","names":["z","action"],"sources":["../../src/actions/list-subscription-features.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 ProabonoListSubscriptionFeaturesInput = z.object({\n IdFeature: z.number().int().describe(\"Filter subscription features by Feature ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter subscription features by Business ID\").optional(),\n DateUpdateMin: z.string().describe(\"Minimum update date filter in ISO 8601 format (e.g., 2025-08-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing subscription features with optional filters.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n Method: z.string().describe(\"The HTTP method for the link\").nullable().optional(),\n}).passthrough().describe(\"Represents a navigation link to related resources.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema = z.object({\n Id: z.number().int().describe(\"ID of the SubscriptionFeature\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema).describe(\"Navigation links to related resources\").nullable().optional(),\n Quantity: z.number().int().describe(\"Current quantity of the feature\").nullable().optional(),\n IdFeature: z.number().int().describe(\"Identifier of the associated feature\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date of last update of the object\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the object on ProAbono\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Identifier linking to parent subscription\").nullable().optional(),\n}).passthrough().describe(\"Represents a subscription feature object from ProAbono.\");\nconst ProabonoListSubscriptionFeatures_PaginationLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type (prev, next, etc.)\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked page\").nullable().optional(),\n}).passthrough().describe(\"Represents a pagination link for navigating through results.\");\nexport const ProabonoListSubscriptionFeaturesOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema).describe(\"List of subscription feature objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_PaginationLinkSchema).describe(\"HATEOAS links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items matching the query\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing subscription features with pagination.\");\n\nexport const proabonoListSubscriptionFeatures: AppAction<\n typeof ProabonoListSubscriptionFeaturesInput,\n typeof ProabonoListSubscriptionFeaturesOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SUBSCRIPTION_FEATURES\", {\n slug: \"proabono-list-subscription-features\",\n name: \"List Subscription Features\",\n description: \"Tool to list all subscription features via the ProAbono Backoffice API. Use when you need to retrieve subscription features with optional filtering by Business ID, Feature ID, or minimum update date.\",\n input: ProabonoListSubscriptionFeaturesInput,\n output: ProabonoListSubscriptionFeaturesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,UAAUA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AC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,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/list-subscription-features.d.ts
|
|
@@ -30,11 +32,7 @@ declare const ProabonoListSubscriptionFeaturesOutput: z.ZodObject<{
|
|
|
30
32
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
33
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const proabonoListSubscriptionFeatures:
|
|
34
|
-
IdFeature?: number | undefined;
|
|
35
|
-
IdBusiness?: number | undefined;
|
|
36
|
-
DateUpdateMin?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
|
+
declare const proabonoListSubscriptionFeatures: AppAction<typeof ProabonoListSubscriptionFeaturesInput, typeof ProabonoListSubscriptionFeaturesOutput, typeof proabono.credential>;
|
|
38
36
|
//#endregion
|
|
39
37
|
export { proabonoListSubscriptionFeatures };
|
|
40
38
|
//# sourceMappingURL=list-subscription-features.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-features.d.cts","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-features.d.cts","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAuBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAUtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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/list-subscription-features.d.ts
|
|
@@ -30,11 +32,7 @@ declare const ProabonoListSubscriptionFeaturesOutput: z.ZodObject<{
|
|
|
30
32
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
33
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const proabonoListSubscriptionFeatures:
|
|
34
|
-
IdFeature?: number | undefined;
|
|
35
|
-
IdBusiness?: number | undefined;
|
|
36
|
-
DateUpdateMin?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
|
+
declare const proabonoListSubscriptionFeatures: AppAction<typeof ProabonoListSubscriptionFeaturesInput, typeof ProabonoListSubscriptionFeaturesOutput, typeof proabono.credential>;
|
|
38
36
|
//#endregion
|
|
39
37
|
export { proabonoListSubscriptionFeatures };
|
|
40
38
|
//# sourceMappingURL=list-subscription-features.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-features.d.mts","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-features.d.mts","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAuBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAUtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-features.mjs","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionFeaturesInput = z.object({\n IdFeature: z.number().int().describe(\"Filter subscription features by Feature ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter subscription features by Business ID\").optional(),\n DateUpdateMin: z.string().describe(\"Minimum update date filter in ISO 8601 format (e.g., 2025-08-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing subscription features with optional filters.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n Method: z.string().describe(\"The HTTP method for the link\").nullable().optional(),\n}).passthrough().describe(\"Represents a navigation link to related resources.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema = z.object({\n Id: z.number().int().describe(\"ID of the SubscriptionFeature\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema).describe(\"Navigation links to related resources\").nullable().optional(),\n Quantity: z.number().int().describe(\"Current quantity of the feature\").nullable().optional(),\n IdFeature: z.number().int().describe(\"Identifier of the associated feature\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date of last update of the object\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the object on ProAbono\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Identifier linking to parent subscription\").nullable().optional(),\n}).passthrough().describe(\"Represents a subscription feature object from ProAbono.\");\nconst ProabonoListSubscriptionFeatures_PaginationLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type (prev, next, etc.)\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked page\").nullable().optional(),\n}).passthrough().describe(\"Represents a pagination link for navigating through results.\");\nexport const ProabonoListSubscriptionFeaturesOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema).describe(\"List of subscription feature objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_PaginationLinkSchema).describe(\"HATEOAS links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items matching the query\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing subscription features with pagination.\");\n\nexport const proabonoListSubscriptionFeatures = action(\"PROABONO_LIST_SUBSCRIPTION_FEATURES\", {\n slug: \"proabono-list-subscription-features\",\n name: \"List Subscription Features\",\n description: \"Tool to list all subscription features via the ProAbono Backoffice API. Use when you need to retrieve subscription features with optional filtering by Business ID, Feature ID, or minimum update date.\",\n input: ProabonoListSubscriptionFeaturesInput,\n output: ProabonoListSubscriptionFeaturesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-features.mjs","names":[],"sources":["../../src/actions/list-subscription-features.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 ProabonoListSubscriptionFeaturesInput = z.object({\n IdFeature: z.number().int().describe(\"Filter subscription features by Feature ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter subscription features by Business ID\").optional(),\n DateUpdateMin: z.string().describe(\"Minimum update date filter in ISO 8601 format (e.g., 2025-08-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing subscription features with optional filters.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n Method: z.string().describe(\"The HTTP method for the link\").nullable().optional(),\n}).passthrough().describe(\"Represents a navigation link to related resources.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema = z.object({\n Id: z.number().int().describe(\"ID of the SubscriptionFeature\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema).describe(\"Navigation links to related resources\").nullable().optional(),\n Quantity: z.number().int().describe(\"Current quantity of the feature\").nullable().optional(),\n IdFeature: z.number().int().describe(\"Identifier of the associated feature\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date of last update of the object\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the object on ProAbono\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Identifier linking to parent subscription\").nullable().optional(),\n}).passthrough().describe(\"Represents a subscription feature object from ProAbono.\");\nconst ProabonoListSubscriptionFeatures_PaginationLinkSchema = z.object({\n Rel: z.string().describe(\"The relationship type (prev, next, etc.)\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked page\").nullable().optional(),\n}).passthrough().describe(\"Represents a pagination link for navigating through results.\");\nexport const ProabonoListSubscriptionFeaturesOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current response\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema).describe(\"List of subscription feature objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_PaginationLinkSchema).describe(\"HATEOAS links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items matching the query\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing subscription features with pagination.\");\n\nexport const proabonoListSubscriptionFeatures: AppAction<\n typeof ProabonoListSubscriptionFeaturesInput,\n typeof ProabonoListSubscriptionFeaturesOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SUBSCRIPTION_FEATURES\", {\n slug: \"proabono-list-subscription-features\",\n name: \"List Subscription Features\",\n description: \"Tool to list all subscription features via the ProAbono Backoffice API. Use when you need to retrieve subscription features with optional filtering by Business ID, Feature ID, or minimum update date.\",\n input: ProabonoListSubscriptionFeaturesInput,\n output: ProabonoListSubscriptionFeaturesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,iEAAiE,EAAE,OAAO;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,C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,SAAS,8DAA8D;AAWxF,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,OAAO,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-periods.cjs","names":["z","action"],"sources":["../../src/actions/list-subscription-periods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionPeriodsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID. Use this to retrieve subscription periods for a specific business.\").optional(),\n DateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.\").optional(),\n IdSubscription: z.number().int().describe(\"Filter by Subscription ID. Use this to retrieve periods for a specific subscription.\").optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')\").nullable().optional(),\n href: z.string().describe(\"The URI path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription period\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Related resource links for the subscription period\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether this is a trial period\").nullable().optional(),\n DateTerm: z.string().describe(\"End date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateStart: z.string().describe(\"Start date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date and time when the subscription period was last updated (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date and time when the subscription period was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the subscription period\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"ID of the subscription this period belongs to\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the subscription period\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSubscriptionPeriodsOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in the current page\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe(\"Array of subscription period objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Navigation links for pagination (next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of subscription periods matching the filter criteria\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionPeriods = action(\"PROABONO_LIST_SUBSCRIPTION_PERIODS\", {\n slug: \"proabono-list-subscription-periods\",\n name: \"List Subscription Periods\",\n description: \"Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.\",\n input: ProabonoListSubscriptionPeriodsInput,\n output: ProabonoListSubscriptionPeriodsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-periods.cjs","names":["z","action"],"sources":["../../src/actions/list-subscription-periods.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 ProabonoListSubscriptionPeriodsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID. Use this to retrieve subscription periods for a specific business.\").optional(),\n DateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.\").optional(),\n IdSubscription: z.number().int().describe(\"Filter by Subscription ID. Use this to retrieve periods for a specific subscription.\").optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')\").nullable().optional(),\n href: z.string().describe(\"The URI path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription period\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Related resource links for the subscription period\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether this is a trial period\").nullable().optional(),\n DateTerm: z.string().describe(\"End date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateStart: z.string().describe(\"Start date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date and time when the subscription period was last updated (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date and time when the subscription period was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the subscription period\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"ID of the subscription this period belongs to\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the subscription period\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSubscriptionPeriodsOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in the current page\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe(\"Array of subscription period objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Navigation links for pagination (next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of subscription periods matching the filter criteria\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionPeriods: AppAction<\n typeof ProabonoListSubscriptionPeriodsInput,\n typeof ProabonoListSubscriptionPeriodsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SUBSCRIPTION_PERIODS\", {\n slug: \"proabono-list-subscription-periods\",\n name: \"List Subscription Periods\",\n description: \"Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.\",\n input: ProabonoListSubscriptionPeriodsInput,\n output: ProabonoListSubscriptionPeriodsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC5K,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,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,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,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/list-subscription-periods.d.ts
|
|
@@ -34,13 +36,7 @@ declare const ProabonoListSubscriptionPeriodsOutput: z.ZodObject<{
|
|
|
34
36
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
37
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const proabonoListSubscriptionPeriods:
|
|
38
|
-
page?: number | undefined;
|
|
39
|
-
size_page?: number | undefined;
|
|
40
|
-
IdBusiness?: number | undefined;
|
|
41
|
-
DateStartMin?: string | undefined;
|
|
42
|
-
IdSubscription?: number | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const proabonoListSubscriptionPeriods: AppAction<typeof ProabonoListSubscriptionPeriodsInput, typeof ProabonoListSubscriptionPeriodsOutput, typeof proabono.credential>;
|
|
44
40
|
//#endregion
|
|
45
41
|
export { proabonoListSubscriptionPeriods };
|
|
46
42
|
//# sourceMappingURL=list-subscription-periods.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-periods.d.cts","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-periods.d.cts","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAuBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAUrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/list-subscription-periods.d.ts
|
|
@@ -34,13 +36,7 @@ declare const ProabonoListSubscriptionPeriodsOutput: z.ZodObject<{
|
|
|
34
36
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
37
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const proabonoListSubscriptionPeriods:
|
|
38
|
-
page?: number | undefined;
|
|
39
|
-
size_page?: number | undefined;
|
|
40
|
-
IdBusiness?: number | undefined;
|
|
41
|
-
DateStartMin?: string | undefined;
|
|
42
|
-
IdSubscription?: number | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const proabonoListSubscriptionPeriods: AppAction<typeof ProabonoListSubscriptionPeriodsInput, typeof ProabonoListSubscriptionPeriodsOutput, typeof proabono.credential>;
|
|
44
40
|
//#endregion
|
|
45
41
|
export { proabonoListSubscriptionPeriods };
|
|
46
42
|
//# sourceMappingURL=list-subscription-periods.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-periods.d.mts","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-periods.d.mts","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAuBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAUrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-subscription-periods.mjs","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionPeriodsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID. Use this to retrieve subscription periods for a specific business.\").optional(),\n DateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.\").optional(),\n IdSubscription: z.number().int().describe(\"Filter by Subscription ID. Use this to retrieve periods for a specific subscription.\").optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')\").nullable().optional(),\n href: z.string().describe(\"The URI path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription period\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Related resource links for the subscription period\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether this is a trial period\").nullable().optional(),\n DateTerm: z.string().describe(\"End date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateStart: z.string().describe(\"Start date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date and time when the subscription period was last updated (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date and time when the subscription period was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the subscription period\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"ID of the subscription this period belongs to\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the subscription period\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSubscriptionPeriodsOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in the current page\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe(\"Array of subscription period objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Navigation links for pagination (next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of subscription periods matching the filter criteria\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionPeriods = action(\"PROABONO_LIST_SUBSCRIPTION_PERIODS\", {\n slug: \"proabono-list-subscription-periods\",\n name: \"List Subscription Periods\",\n description: \"Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.\",\n input: ProabonoListSubscriptionPeriodsInput,\n output: ProabonoListSubscriptionPeriodsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscription-periods.mjs","names":[],"sources":["../../src/actions/list-subscription-periods.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 ProabonoListSubscriptionPeriodsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID. Use this to retrieve subscription periods for a specific business.\").optional(),\n DateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.\").optional(),\n IdSubscription: z.number().int().describe(\"Filter by Subscription ID. Use this to retrieve periods for a specific subscription.\").optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')\").nullable().optional(),\n href: z.string().describe(\"The URI path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription period\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Related resource links for the subscription period\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether this is a trial period\").nullable().optional(),\n DateTerm: z.string().describe(\"End date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateStart: z.string().describe(\"Start date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date and time when the subscription period was last updated (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date and time when the subscription period was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the subscription period\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"ID of the subscription this period belongs to\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the subscription period\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListSubscriptionPeriodsOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in the current page\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe(\"Array of subscription period objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Navigation links for pagination (next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of subscription periods matching the filter criteria\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptionPeriods: AppAction<\n typeof ProabonoListSubscriptionPeriodsInput,\n typeof ProabonoListSubscriptionPeriodsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SUBSCRIPTION_PERIODS\", {\n slug: \"proabono-list-subscription-periods\",\n name: \"List Subscription Periods\",\n description: \"Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.\",\n input: ProabonoListSubscriptionPeriodsInput,\n output: ProabonoListSubscriptionPeriodsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAA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scriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to retrieve subscriptions for a specific business\").optional(),\n dateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00')\").optional(),\n StateSubscription: z.string().describe(\"Filter by subscription technical state (e.g., 'ActiveRunning', 'Draft', 'Suspended', 'Ended')\").optional(),\n});\nconst ProabonoListSubscriptions_SubscriptionLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-customer', 'collection-features')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptions_SubscriptionSchema = z.object({\n Id: z.number().int().describe(\"Unique subscription identifier\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_SubscriptionLinkSchema).describe(\"Related resource links\").nullable().optional(),\n Status: z.string().describe(\"Functional state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')\").nullable().optional(),\n IdOffer: z.number().int().describe(\"Related offer identifier\").nullable().optional(),\n DateTerm: z.string().describe(\"Subscription termination or renewal date\").nullable().optional(),\n DateStart: z.string().describe(\"Subscription commencement date in ISO 8601 format\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state (e.g., 'Ok', 'ToModerate')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription record\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Current billing period end date\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription record\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized subscription/offer title\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Current billing period start date\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer's external reference key\").nullable().optional(),\n StateSubscription: z.string().describe(\"Technical state reflecting lifecycle position (e.g., 'ActiveRunning', 'ActivePaused')\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptions_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();\nexport const ProabonoListSubscriptionsOutput = 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(ProabonoListSubscriptions_SubscriptionSchema).describe(\"Collection of subscription objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching subscriptions across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptions = action(\"PROABONO_LIST_SUBSCRIPTIONS\", {\n slug: \"proabono-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list all subscriptions from ProAbono via the Backoffice API. Use when you need to retrieve subscription information with optional filtering by business, state, or start date. Returns paginated results with subscription details including customer, offer, dates, and status.\",\n input: ProabonoListSubscriptionsInput,\n output: ProabonoListSubscriptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/list-subscriptions.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 ProabonoListSubscriptionsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to retrieve subscriptions for a specific business\").optional(),\n dateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00')\").optional(),\n StateSubscription: z.string().describe(\"Filter by subscription technical state (e.g., 'ActiveRunning', 'Draft', 'Suspended', 'Ended')\").optional(),\n});\nconst ProabonoListSubscriptions_SubscriptionLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-customer', 'collection-features')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptions_SubscriptionSchema = z.object({\n Id: z.number().int().describe(\"Unique subscription identifier\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_SubscriptionLinkSchema).describe(\"Related resource links\").nullable().optional(),\n Status: z.string().describe(\"Functional state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')\").nullable().optional(),\n IdOffer: z.number().int().describe(\"Related offer identifier\").nullable().optional(),\n DateTerm: z.string().describe(\"Subscription termination or renewal date\").nullable().optional(),\n DateStart: z.string().describe(\"Subscription commencement date in ISO 8601 format\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state (e.g., 'Ok', 'ToModerate')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription record\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Current billing period end date\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription record\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized subscription/offer title\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Current billing period start date\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer's external reference key\").nullable().optional(),\n StateSubscription: z.string().describe(\"Technical state reflecting lifecycle position (e.g., 'ActiveRunning', 'ActivePaused')\").nullable().optional(),\n}).passthrough();\nconst ProabonoListSubscriptions_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();\nexport const ProabonoListSubscriptionsOutput = 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(ProabonoListSubscriptions_SubscriptionSchema).describe(\"Collection of subscription objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching subscriptions across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListSubscriptions: AppAction<\n typeof ProabonoListSubscriptionsInput,\n typeof ProabonoListSubscriptionsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_LIST_SUBSCRIPTIONS\", {\n slug: \"proabono-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list all subscriptions from ProAbono via the Backoffice API. Use when you need to retrieve subscription information with optional filtering by business, state, or start date. Returns paginated results with subscription details including customer, offer, dates, and status.\",\n input: ProabonoListSubscriptionsInput,\n output: ProabonoListSubscript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