@keystrokehq/proabono 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/anonymize-customer.cjs +31 -0
- package/dist/actions/anonymize-customer.cjs.map +1 -0
- package/dist/actions/anonymize-customer.d.cts +9 -0
- package/dist/actions/anonymize-customer.d.cts.map +1 -0
- package/dist/actions/anonymize-customer.d.mts +9 -0
- package/dist/actions/anonymize-customer.d.mts.map +1 -0
- package/dist/actions/anonymize-customer.mjs +30 -0
- package/dist/actions/anonymize-customer.mjs.map +1 -0
- package/dist/actions/bill-customer.cjs +23 -0
- package/dist/actions/bill-customer.cjs.map +1 -0
- package/dist/actions/bill-customer.d.cts +9 -0
- package/dist/actions/bill-customer.d.cts.map +1 -0
- package/dist/actions/bill-customer.d.mts +9 -0
- package/dist/actions/bill-customer.d.mts.map +1 -0
- package/dist/actions/bill-customer.mjs +20 -0
- package/dist/actions/bill-customer.mjs.map +1 -0
- package/dist/actions/create-customer.cjs +48 -0
- package/dist/actions/create-customer.cjs.map +1 -0
- package/dist/actions/create-customer.d.cts +9 -0
- package/dist/actions/create-customer.d.cts.map +1 -0
- package/dist/actions/create-customer.d.mts +9 -0
- package/dist/actions/create-customer.d.mts.map +1 -0
- package/dist/actions/create-customer.mjs +47 -0
- package/dist/actions/create-customer.mjs.map +1 -0
- package/dist/actions/create-feature.cjs +45 -0
- package/dist/actions/create-feature.cjs.map +1 -0
- package/dist/actions/create-feature.d.cts +9 -0
- package/dist/actions/create-feature.d.cts.map +1 -0
- package/dist/actions/create-feature.d.mts +9 -0
- package/dist/actions/create-feature.d.mts.map +1 -0
- package/dist/actions/create-feature.mjs +44 -0
- package/dist/actions/create-feature.mjs.map +1 -0
- package/dist/actions/delete-customer.cjs +19 -0
- package/dist/actions/delete-customer.cjs.map +1 -0
- package/dist/actions/delete-customer.d.cts +9 -0
- package/dist/actions/delete-customer.d.cts.map +1 -0
- package/dist/actions/delete-customer.d.mts +9 -0
- package/dist/actions/delete-customer.d.mts.map +1 -0
- package/dist/actions/delete-customer.mjs +16 -0
- package/dist/actions/delete-customer.mjs.map +1 -0
- package/dist/actions/delete-offer.cjs +20 -0
- package/dist/actions/delete-offer.cjs.map +1 -0
- package/dist/actions/delete-offer.d.cts +9 -0
- package/dist/actions/delete-offer.d.cts.map +1 -0
- package/dist/actions/delete-offer.d.mts +9 -0
- package/dist/actions/delete-offer.d.mts.map +1 -0
- package/dist/actions/delete-offer.mjs +17 -0
- package/dist/actions/delete-offer.mjs.map +1 -0
- package/dist/actions/delete-pricing-table-offer.cjs +19 -0
- package/dist/actions/delete-pricing-table-offer.cjs.map +1 -0
- package/dist/actions/delete-pricing-table-offer.d.cts +9 -0
- package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -0
- package/dist/actions/delete-pricing-table-offer.d.mts +9 -0
- package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -0
- package/dist/actions/delete-pricing-table-offer.mjs +16 -0
- package/dist/actions/delete-pricing-table-offer.mjs.map +1 -0
- package/dist/actions/delete-pricing-table.cjs +19 -0
- package/dist/actions/delete-pricing-table.cjs.map +1 -0
- package/dist/actions/delete-pricing-table.d.cts +9 -0
- package/dist/actions/delete-pricing-table.d.cts.map +1 -0
- package/dist/actions/delete-pricing-table.d.mts +9 -0
- package/dist/actions/delete-pricing-table.d.mts.map +1 -0
- package/dist/actions/delete-pricing-table.mjs +16 -0
- package/dist/actions/delete-pricing-table.mjs.map +1 -0
- package/dist/actions/delete-subscription-discount.cjs +16 -0
- package/dist/actions/delete-subscription-discount.cjs.map +1 -0
- package/dist/actions/delete-subscription-discount.d.cts +9 -0
- package/dist/actions/delete-subscription-discount.d.cts.map +1 -0
- package/dist/actions/delete-subscription-discount.d.mts +9 -0
- package/dist/actions/delete-subscription-discount.d.mts.map +1 -0
- package/dist/actions/delete-subscription-discount.mjs +13 -0
- package/dist/actions/delete-subscription-discount.mjs.map +1 -0
- package/dist/actions/enable-webhook.cjs +19 -0
- package/dist/actions/enable-webhook.cjs.map +1 -0
- package/dist/actions/enable-webhook.d.cts +9 -0
- package/dist/actions/enable-webhook.d.cts.map +1 -0
- package/dist/actions/enable-webhook.d.mts +9 -0
- package/dist/actions/enable-webhook.d.mts.map +1 -0
- package/dist/actions/enable-webhook.mjs +16 -0
- package/dist/actions/enable-webhook.mjs.map +1 -0
- package/dist/actions/get-customer-billing-address.cjs +28 -0
- package/dist/actions/get-customer-billing-address.cjs.map +1 -0
- package/dist/actions/get-customer-billing-address.d.cts +9 -0
- package/dist/actions/get-customer-billing-address.d.cts.map +1 -0
- package/dist/actions/get-customer-billing-address.d.mts +9 -0
- package/dist/actions/get-customer-billing-address.d.mts.map +1 -0
- package/dist/actions/get-customer-billing-address.mjs +25 -0
- package/dist/actions/get-customer-billing-address.mjs.map +1 -0
- package/dist/actions/get-customer-billing.cjs +37 -0
- package/dist/actions/get-customer-billing.cjs.map +1 -0
- package/dist/actions/get-customer-billing.d.cts +9 -0
- package/dist/actions/get-customer-billing.d.cts.map +1 -0
- package/dist/actions/get-customer-billing.d.mts +9 -0
- package/dist/actions/get-customer-billing.d.mts.map +1 -0
- package/dist/actions/get-customer-billing.mjs +36 -0
- package/dist/actions/get-customer-billing.mjs.map +1 -0
- package/dist/actions/get-customer-by-reference.cjs +35 -0
- package/dist/actions/get-customer-by-reference.cjs.map +1 -0
- package/dist/actions/get-customer-by-reference.d.cts +9 -0
- package/dist/actions/get-customer-by-reference.d.cts.map +1 -0
- package/dist/actions/get-customer-by-reference.d.mts +9 -0
- package/dist/actions/get-customer-by-reference.d.mts.map +1 -0
- package/dist/actions/get-customer-by-reference.mjs +34 -0
- package/dist/actions/get-customer-by-reference.mjs.map +1 -0
- package/dist/actions/get-customer-payment-settings.cjs +23 -0
- package/dist/actions/get-customer-payment-settings.cjs.map +1 -0
- package/dist/actions/get-customer-payment-settings.d.cts +9 -0
- package/dist/actions/get-customer-payment-settings.d.cts.map +1 -0
- package/dist/actions/get-customer-payment-settings.d.mts +9 -0
- package/dist/actions/get-customer-payment-settings.d.mts.map +1 -0
- package/dist/actions/get-customer-payment-settings.mjs +20 -0
- package/dist/actions/get-customer-payment-settings.mjs.map +1 -0
- package/dist/actions/get-customer.cjs +38 -0
- package/dist/actions/get-customer.cjs.map +1 -0
- package/dist/actions/get-customer.d.cts +9 -0
- package/dist/actions/get-customer.d.cts.map +1 -0
- package/dist/actions/get-customer.d.mts +9 -0
- package/dist/actions/get-customer.d.mts.map +1 -0
- package/dist/actions/get-customer.mjs +37 -0
- package/dist/actions/get-customer.mjs.map +1 -0
- package/dist/actions/get-discount.cjs +56 -0
- package/dist/actions/get-discount.cjs.map +1 -0
- package/dist/actions/get-discount.d.cts +9 -0
- package/dist/actions/get-discount.d.cts.map +1 -0
- package/dist/actions/get-discount.d.mts +9 -0
- package/dist/actions/get-discount.d.mts.map +1 -0
- package/dist/actions/get-discount.mjs +55 -0
- package/dist/actions/get-discount.mjs.map +1 -0
- package/dist/actions/get-feature.cjs +34 -0
- package/dist/actions/get-feature.cjs.map +1 -0
- package/dist/actions/get-feature.d.cts +9 -0
- package/dist/actions/get-feature.d.cts.map +1 -0
- package/dist/actions/get-feature.d.mts +9 -0
- package/dist/actions/get-feature.d.mts.map +1 -0
- package/dist/actions/get-feature.mjs +31 -0
- package/dist/actions/get-feature.mjs.map +1 -0
- package/dist/actions/get-invoice.cjs +48 -0
- package/dist/actions/get-invoice.cjs.map +1 -0
- package/dist/actions/get-invoice.d.cts +9 -0
- package/dist/actions/get-invoice.d.cts.map +1 -0
- package/dist/actions/get-invoice.d.mts +9 -0
- package/dist/actions/get-invoice.d.mts.map +1 -0
- package/dist/actions/get-invoice.mjs +47 -0
- package/dist/actions/get-invoice.mjs.map +1 -0
- package/dist/actions/get-offer.cjs +54 -0
- package/dist/actions/get-offer.cjs.map +1 -0
- package/dist/actions/get-offer.d.cts +9 -0
- package/dist/actions/get-offer.d.cts.map +1 -0
- package/dist/actions/get-offer.d.mts +9 -0
- package/dist/actions/get-offer.d.mts.map +1 -0
- package/dist/actions/get-offer.mjs +53 -0
- package/dist/actions/get-offer.mjs.map +1 -0
- package/dist/actions/get-subscription-by-customer.cjs +78 -0
- package/dist/actions/get-subscription-by-customer.cjs.map +1 -0
- package/dist/actions/get-subscription-by-customer.d.cts +9 -0
- package/dist/actions/get-subscription-by-customer.d.cts.map +1 -0
- package/dist/actions/get-subscription-by-customer.d.mts +9 -0
- package/dist/actions/get-subscription-by-customer.d.mts.map +1 -0
- package/dist/actions/get-subscription-by-customer.mjs +77 -0
- package/dist/actions/get-subscription-by-customer.mjs.map +1 -0
- package/dist/actions/get-subscription-creation-quote.cjs +46 -0
- package/dist/actions/get-subscription-creation-quote.cjs.map +1 -0
- package/dist/actions/get-subscription-creation-quote.d.cts +9 -0
- package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -0
- package/dist/actions/get-subscription-creation-quote.d.mts +9 -0
- package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -0
- package/dist/actions/get-subscription-creation-quote.mjs +45 -0
- package/dist/actions/get-subscription-creation-quote.mjs.map +1 -0
- package/dist/actions/get-usage.cjs +34 -0
- package/dist/actions/get-usage.cjs.map +1 -0
- package/dist/actions/get-usage.d.cts +9 -0
- package/dist/actions/get-usage.d.cts.map +1 -0
- package/dist/actions/get-usage.d.mts +9 -0
- package/dist/actions/get-usage.d.mts.map +1 -0
- package/dist/actions/get-usage.mjs +31 -0
- package/dist/actions/get-usage.mjs.map +1 -0
- package/dist/actions/get-usages-for-customer.cjs +48 -0
- package/dist/actions/get-usages-for-customer.cjs.map +1 -0
- package/dist/actions/get-usages-for-customer.d.cts +9 -0
- package/dist/actions/get-usages-for-customer.d.cts.map +1 -0
- package/dist/actions/get-usages-for-customer.d.mts +9 -0
- package/dist/actions/get-usages-for-customer.d.mts.map +1 -0
- package/dist/actions/get-usages-for-customer.mjs +47 -0
- package/dist/actions/get-usages-for-customer.mjs.map +1 -0
- package/dist/actions/index.cjs +129 -0
- package/dist/actions/index.d.cts +65 -0
- package/dist/actions/index.d.mts +65 -0
- package/dist/actions/index.mjs +65 -0
- package/dist/actions/invalidate-customer-by-id.cjs +32 -0
- package/dist/actions/invalidate-customer-by-id.cjs.map +1 -0
- package/dist/actions/invalidate-customer-by-id.d.cts +9 -0
- package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -0
- package/dist/actions/invalidate-customer-by-id.d.mts +9 -0
- package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -0
- package/dist/actions/invalidate-customer-by-id.mjs +31 -0
- package/dist/actions/invalidate-customer-by-id.mjs.map +1 -0
- package/dist/actions/invalidate-customer.cjs +35 -0
- package/dist/actions/invalidate-customer.cjs.map +1 -0
- package/dist/actions/invalidate-customer.d.cts +9 -0
- package/dist/actions/invalidate-customer.d.cts.map +1 -0
- package/dist/actions/invalidate-customer.d.mts +9 -0
- package/dist/actions/invalidate-customer.d.mts.map +1 -0
- package/dist/actions/invalidate-customer.mjs +34 -0
- package/dist/actions/invalidate-customer.mjs.map +1 -0
- package/dist/actions/list-balance-lines.cjs +49 -0
- package/dist/actions/list-balance-lines.cjs.map +1 -0
- package/dist/actions/list-balance-lines.d.cts +9 -0
- package/dist/actions/list-balance-lines.d.cts.map +1 -0
- package/dist/actions/list-balance-lines.d.mts +9 -0
- package/dist/actions/list-balance-lines.d.mts.map +1 -0
- package/dist/actions/list-balance-lines.mjs +48 -0
- package/dist/actions/list-balance-lines.mjs.map +1 -0
- package/dist/actions/list-business-localization.cjs +43 -0
- package/dist/actions/list-business-localization.cjs.map +1 -0
- package/dist/actions/list-business-localization.d.cts +9 -0
- package/dist/actions/list-business-localization.d.cts.map +1 -0
- package/dist/actions/list-business-localization.d.mts +9 -0
- package/dist/actions/list-business-localization.d.mts.map +1 -0
- package/dist/actions/list-business-localization.mjs +42 -0
- package/dist/actions/list-business-localization.mjs.map +1 -0
- package/dist/actions/list-businesses.cjs +44 -0
- package/dist/actions/list-businesses.cjs.map +1 -0
- package/dist/actions/list-businesses.d.cts +9 -0
- package/dist/actions/list-businesses.d.cts.map +1 -0
- package/dist/actions/list-businesses.d.mts +9 -0
- package/dist/actions/list-businesses.d.mts.map +1 -0
- package/dist/actions/list-businesses.mjs +43 -0
- package/dist/actions/list-businesses.mjs.map +1 -0
- package/dist/actions/list-customer-moves.cjs +50 -0
- package/dist/actions/list-customer-moves.cjs.map +1 -0
- package/dist/actions/list-customer-moves.d.cts +9 -0
- package/dist/actions/list-customer-moves.d.cts.map +1 -0
- package/dist/actions/list-customer-moves.d.mts +9 -0
- package/dist/actions/list-customer-moves.d.mts.map +1 -0
- package/dist/actions/list-customer-moves.mjs +49 -0
- package/dist/actions/list-customer-moves.mjs.map +1 -0
- package/dist/actions/list-customers-by-feature.cjs +38 -0
- package/dist/actions/list-customers-by-feature.cjs.map +1 -0
- package/dist/actions/list-customers-by-feature.d.cts +9 -0
- package/dist/actions/list-customers-by-feature.d.cts.map +1 -0
- package/dist/actions/list-customers-by-feature.d.mts +9 -0
- package/dist/actions/list-customers-by-feature.d.mts.map +1 -0
- package/dist/actions/list-customers-by-feature.mjs +37 -0
- package/dist/actions/list-customers-by-feature.mjs.map +1 -0
- package/dist/actions/list-customers.cjs +55 -0
- package/dist/actions/list-customers.cjs.map +1 -0
- package/dist/actions/list-customers.d.cts +9 -0
- package/dist/actions/list-customers.d.cts.map +1 -0
- package/dist/actions/list-customers.d.mts +9 -0
- package/dist/actions/list-customers.d.mts.map +1 -0
- package/dist/actions/list-customers.mjs +54 -0
- package/dist/actions/list-customers.mjs.map +1 -0
- package/dist/actions/list-discounts.cjs +55 -0
- package/dist/actions/list-discounts.cjs.map +1 -0
- package/dist/actions/list-discounts.d.cts +9 -0
- package/dist/actions/list-discounts.d.cts.map +1 -0
- package/dist/actions/list-discounts.d.mts +9 -0
- package/dist/actions/list-discounts.d.mts.map +1 -0
- package/dist/actions/list-discounts.mjs +54 -0
- package/dist/actions/list-discounts.mjs.map +1 -0
- package/dist/actions/list-features.cjs +52 -0
- package/dist/actions/list-features.cjs.map +1 -0
- package/dist/actions/list-features.d.cts +9 -0
- package/dist/actions/list-features.d.cts.map +1 -0
- package/dist/actions/list-features.d.mts +9 -0
- package/dist/actions/list-features.d.mts.map +1 -0
- package/dist/actions/list-features.mjs +51 -0
- package/dist/actions/list-features.mjs.map +1 -0
- package/dist/actions/list-gateway-accounts.cjs +55 -0
- package/dist/actions/list-gateway-accounts.cjs.map +1 -0
- package/dist/actions/list-gateway-accounts.d.cts +9 -0
- package/dist/actions/list-gateway-accounts.d.cts.map +1 -0
- package/dist/actions/list-gateway-accounts.d.mts +9 -0
- package/dist/actions/list-gateway-accounts.d.mts.map +1 -0
- package/dist/actions/list-gateway-accounts.mjs +54 -0
- package/dist/actions/list-gateway-accounts.mjs.map +1 -0
- package/dist/actions/list-gateway-permissions.cjs +52 -0
- package/dist/actions/list-gateway-permissions.cjs.map +1 -0
- package/dist/actions/list-gateway-permissions.d.cts +9 -0
- package/dist/actions/list-gateway-permissions.d.cts.map +1 -0
- package/dist/actions/list-gateway-permissions.d.mts +9 -0
- package/dist/actions/list-gateway-permissions.d.mts.map +1 -0
- package/dist/actions/list-gateway-permissions.mjs +51 -0
- package/dist/actions/list-gateway-permissions.mjs.map +1 -0
- package/dist/actions/list-gateway-requests.cjs +66 -0
- package/dist/actions/list-gateway-requests.cjs.map +1 -0
- package/dist/actions/list-gateway-requests.d.cts +9 -0
- package/dist/actions/list-gateway-requests.d.cts.map +1 -0
- package/dist/actions/list-gateway-requests.d.mts +9 -0
- package/dist/actions/list-gateway-requests.d.mts.map +1 -0
- package/dist/actions/list-gateway-requests.mjs +65 -0
- package/dist/actions/list-gateway-requests.mjs.map +1 -0
- package/dist/actions/list-gateway-transactions.cjs +57 -0
- package/dist/actions/list-gateway-transactions.cjs.map +1 -0
- package/dist/actions/list-gateway-transactions.d.cts +9 -0
- package/dist/actions/list-gateway-transactions.d.cts.map +1 -0
- package/dist/actions/list-gateway-transactions.d.mts +9 -0
- package/dist/actions/list-gateway-transactions.d.mts.map +1 -0
- package/dist/actions/list-gateway-transactions.mjs +56 -0
- package/dist/actions/list-gateway-transactions.mjs.map +1 -0
- package/dist/actions/list-invoice-lines.cjs +37 -0
- package/dist/actions/list-invoice-lines.cjs.map +1 -0
- package/dist/actions/list-invoice-lines.d.cts +9 -0
- package/dist/actions/list-invoice-lines.d.cts.map +1 -0
- package/dist/actions/list-invoice-lines.d.mts +9 -0
- package/dist/actions/list-invoice-lines.d.mts.map +1 -0
- package/dist/actions/list-invoice-lines.mjs +36 -0
- package/dist/actions/list-invoice-lines.mjs.map +1 -0
- package/dist/actions/list-invoices-by-customer.cjs +50 -0
- package/dist/actions/list-invoices-by-customer.cjs.map +1 -0
- package/dist/actions/list-invoices-by-customer.d.cts +9 -0
- package/dist/actions/list-invoices-by-customer.d.cts.map +1 -0
- package/dist/actions/list-invoices-by-customer.d.mts +9 -0
- package/dist/actions/list-invoices-by-customer.d.mts.map +1 -0
- package/dist/actions/list-invoices-by-customer.mjs +49 -0
- package/dist/actions/list-invoices-by-customer.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +52 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +51 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-offers.cjs +55 -0
- package/dist/actions/list-offers.cjs.map +1 -0
- package/dist/actions/list-offers.d.cts +9 -0
- package/dist/actions/list-offers.d.cts.map +1 -0
- package/dist/actions/list-offers.d.mts +9 -0
- package/dist/actions/list-offers.d.mts.map +1 -0
- package/dist/actions/list-offers.mjs +54 -0
- package/dist/actions/list-offers.mjs.map +1 -0
- package/dist/actions/list-payments.cjs +50 -0
- package/dist/actions/list-payments.cjs.map +1 -0
- package/dist/actions/list-payments.d.cts +9 -0
- package/dist/actions/list-payments.d.cts.map +1 -0
- package/dist/actions/list-payments.d.mts +9 -0
- package/dist/actions/list-payments.d.mts.map +1 -0
- package/dist/actions/list-payments.mjs +49 -0
- package/dist/actions/list-payments.mjs.map +1 -0
- package/dist/actions/list-pricing-table-offers.cjs +41 -0
- package/dist/actions/list-pricing-table-offers.cjs.map +1 -0
- package/dist/actions/list-pricing-table-offers.d.cts +9 -0
- package/dist/actions/list-pricing-table-offers.d.cts.map +1 -0
- package/dist/actions/list-pricing-table-offers.d.mts +9 -0
- package/dist/actions/list-pricing-table-offers.d.mts.map +1 -0
- package/dist/actions/list-pricing-table-offers.mjs +40 -0
- package/dist/actions/list-pricing-table-offers.mjs.map +1 -0
- package/dist/actions/list-pricing-tables.cjs +48 -0
- package/dist/actions/list-pricing-tables.cjs.map +1 -0
- package/dist/actions/list-pricing-tables.d.cts +9 -0
- package/dist/actions/list-pricing-tables.d.cts.map +1 -0
- package/dist/actions/list-pricing-tables.d.mts +9 -0
- package/dist/actions/list-pricing-tables.d.mts.map +1 -0
- package/dist/actions/list-pricing-tables.mjs +47 -0
- package/dist/actions/list-pricing-tables.mjs.map +1 -0
- package/dist/actions/list-segment-localizations.cjs +38 -0
- package/dist/actions/list-segment-localizations.cjs.map +1 -0
- package/dist/actions/list-segment-localizations.d.cts +9 -0
- package/dist/actions/list-segment-localizations.d.cts.map +1 -0
- package/dist/actions/list-segment-localizations.d.mts +9 -0
- package/dist/actions/list-segment-localizations.d.mts.map +1 -0
- package/dist/actions/list-segment-localizations.mjs +37 -0
- package/dist/actions/list-segment-localizations.mjs.map +1 -0
- package/dist/actions/list-segments.cjs +53 -0
- package/dist/actions/list-segments.cjs.map +1 -0
- package/dist/actions/list-segments.d.cts +9 -0
- package/dist/actions/list-segments.d.cts.map +1 -0
- package/dist/actions/list-segments.d.mts +9 -0
- package/dist/actions/list-segments.d.mts.map +1 -0
- package/dist/actions/list-segments.mjs +52 -0
- package/dist/actions/list-segments.mjs.map +1 -0
- package/dist/actions/list-subscription-discounts.cjs +47 -0
- package/dist/actions/list-subscription-discounts.cjs.map +1 -0
- package/dist/actions/list-subscription-discounts.d.cts +9 -0
- package/dist/actions/list-subscription-discounts.d.cts.map +1 -0
- package/dist/actions/list-subscription-discounts.d.mts +9 -0
- package/dist/actions/list-subscription-discounts.d.mts.map +1 -0
- package/dist/actions/list-subscription-discounts.mjs +46 -0
- package/dist/actions/list-subscription-discounts.mjs.map +1 -0
- package/dist/actions/list-subscription-features.cjs +46 -0
- package/dist/actions/list-subscription-features.cjs.map +1 -0
- package/dist/actions/list-subscription-features.d.cts +9 -0
- package/dist/actions/list-subscription-features.d.cts.map +1 -0
- package/dist/actions/list-subscription-features.d.mts +9 -0
- package/dist/actions/list-subscription-features.d.mts.map +1 -0
- package/dist/actions/list-subscription-features.mjs +45 -0
- package/dist/actions/list-subscription-features.mjs.map +1 -0
- package/dist/actions/list-subscription-periods.cjs +46 -0
- package/dist/actions/list-subscription-periods.cjs.map +1 -0
- package/dist/actions/list-subscription-periods.d.cts +9 -0
- package/dist/actions/list-subscription-periods.d.cts.map +1 -0
- package/dist/actions/list-subscription-periods.d.mts +9 -0
- package/dist/actions/list-subscription-periods.d.mts.map +1 -0
- package/dist/actions/list-subscription-periods.mjs +45 -0
- package/dist/actions/list-subscription-periods.mjs.map +1 -0
- package/dist/actions/list-subscriptions.cjs +59 -0
- package/dist/actions/list-subscriptions.cjs.map +1 -0
- package/dist/actions/list-subscriptions.d.cts +9 -0
- package/dist/actions/list-subscriptions.d.cts.map +1 -0
- package/dist/actions/list-subscriptions.d.mts +9 -0
- package/dist/actions/list-subscriptions.d.mts.map +1 -0
- package/dist/actions/list-subscriptions.mjs +58 -0
- package/dist/actions/list-subscriptions.mjs.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.cjs +52 -0
- package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.d.cts +9 -0
- package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.d.mts +9 -0
- package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -0
- package/dist/actions/list-tax-profile-exceptions.mjs +51 -0
- package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -0
- package/dist/actions/list-tax-profiles.cjs +48 -0
- package/dist/actions/list-tax-profiles.cjs.map +1 -0
- package/dist/actions/list-tax-profiles.d.cts +9 -0
- package/dist/actions/list-tax-profiles.d.cts.map +1 -0
- package/dist/actions/list-tax-profiles.d.mts +9 -0
- package/dist/actions/list-tax-profiles.d.mts.map +1 -0
- package/dist/actions/list-tax-profiles.mjs +47 -0
- package/dist/actions/list-tax-profiles.mjs.map +1 -0
- package/dist/actions/list-upgrade-offers.cjs +72 -0
- package/dist/actions/list-upgrade-offers.cjs.map +1 -0
- package/dist/actions/list-upgrade-offers.d.cts +9 -0
- package/dist/actions/list-upgrade-offers.d.cts.map +1 -0
- package/dist/actions/list-upgrade-offers.d.mts +9 -0
- package/dist/actions/list-upgrade-offers.d.mts.map +1 -0
- package/dist/actions/list-upgrade-offers.mjs +71 -0
- package/dist/actions/list-upgrade-offers.mjs.map +1 -0
- package/dist/actions/list-webhook-notifications.cjs +58 -0
- package/dist/actions/list-webhook-notifications.cjs.map +1 -0
- package/dist/actions/list-webhook-notifications.d.cts +9 -0
- package/dist/actions/list-webhook-notifications.d.cts.map +1 -0
- package/dist/actions/list-webhook-notifications.d.mts +9 -0
- package/dist/actions/list-webhook-notifications.d.mts.map +1 -0
- package/dist/actions/list-webhook-notifications.mjs +57 -0
- package/dist/actions/list-webhook-notifications.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +49 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +48 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/quote-balance-line.cjs +41 -0
- package/dist/actions/quote-balance-line.cjs.map +1 -0
- package/dist/actions/quote-balance-line.d.cts +9 -0
- package/dist/actions/quote-balance-line.d.cts.map +1 -0
- package/dist/actions/quote-balance-line.d.mts +9 -0
- package/dist/actions/quote-balance-line.d.mts.map +1 -0
- package/dist/actions/quote-balance-line.mjs +40 -0
- package/dist/actions/quote-balance-line.mjs.map +1 -0
- package/dist/actions/revoke-customer-links.cjs +31 -0
- package/dist/actions/revoke-customer-links.cjs.map +1 -0
- package/dist/actions/revoke-customer-links.d.cts +9 -0
- package/dist/actions/revoke-customer-links.d.cts.map +1 -0
- package/dist/actions/revoke-customer-links.d.mts +9 -0
- package/dist/actions/revoke-customer-links.d.mts.map +1 -0
- package/dist/actions/revoke-customer-links.mjs +30 -0
- package/dist/actions/revoke-customer-links.mjs.map +1 -0
- package/dist/actions/update-businesses-billing-address.cjs +50 -0
- package/dist/actions/update-businesses-billing-address.cjs.map +1 -0
- package/dist/actions/update-businesses-billing-address.d.cts +9 -0
- package/dist/actions/update-businesses-billing-address.d.cts.map +1 -0
- package/dist/actions/update-businesses-billing-address.d.mts +9 -0
- package/dist/actions/update-businesses-billing-address.d.mts.map +1 -0
- package/dist/actions/update-businesses-billing-address.mjs +49 -0
- package/dist/actions/update-businesses-billing-address.mjs.map +1 -0
- package/dist/actions/update-customer-billing-address.cjs +41 -0
- package/dist/actions/update-customer-billing-address.cjs.map +1 -0
- package/dist/actions/update-customer-billing-address.d.cts +9 -0
- package/dist/actions/update-customer-billing-address.d.cts.map +1 -0
- package/dist/actions/update-customer-billing-address.d.mts +9 -0
- package/dist/actions/update-customer-billing-address.d.mts.map +1 -0
- package/dist/actions/update-customer-billing-address.mjs +38 -0
- package/dist/actions/update-customer-billing-address.mjs.map +1 -0
- package/dist/actions/update-customer-payment-settings.cjs +25 -0
- package/dist/actions/update-customer-payment-settings.cjs.map +1 -0
- package/dist/actions/update-customer-payment-settings.d.cts +9 -0
- package/dist/actions/update-customer-payment-settings.d.cts.map +1 -0
- package/dist/actions/update-customer-payment-settings.d.mts +9 -0
- package/dist/actions/update-customer-payment-settings.d.mts.map +1 -0
- package/dist/actions/update-customer-payment-settings.mjs +22 -0
- package/dist/actions/update-customer-payment-settings.mjs.map +1 -0
- package/dist/actions/update-customer-shipping.cjs +51 -0
- package/dist/actions/update-customer-shipping.cjs.map +1 -0
- package/dist/actions/update-customer-shipping.d.cts +9 -0
- package/dist/actions/update-customer-shipping.d.cts.map +1 -0
- package/dist/actions/update-customer-shipping.d.mts +9 -0
- package/dist/actions/update-customer-shipping.d.mts.map +1 -0
- package/dist/actions/update-customer-shipping.mjs +50 -0
- package/dist/actions/update-customer-shipping.mjs.map +1 -0
- package/dist/actions/update-customer.cjs +46 -0
- package/dist/actions/update-customer.cjs.map +1 -0
- package/dist/actions/update-customer.d.cts +9 -0
- package/dist/actions/update-customer.d.cts.map +1 -0
- package/dist/actions/update-customer.d.mts +9 -0
- package/dist/actions/update-customer.d.mts.map +1 -0
- package/dist/actions/update-customer.mjs +45 -0
- package/dist/actions/update-customer.mjs.map +1 -0
- package/dist/actions/update-feature.cjs +46 -0
- package/dist/actions/update-feature.cjs.map +1 -0
- package/dist/actions/update-feature.d.cts +9 -0
- package/dist/actions/update-feature.d.cts.map +1 -0
- package/dist/actions/update-feature.d.mts +9 -0
- package/dist/actions/update-feature.d.mts.map +1 -0
- package/dist/actions/update-feature.mjs +45 -0
- package/dist/actions/update-feature.mjs.map +1 -0
- package/dist/actions/update-tax-profiles.cjs +39 -0
- package/dist/actions/update-tax-profiles.cjs.map +1 -0
- package/dist/actions/update-tax-profiles.d.cts +9 -0
- package/dist/actions/update-tax-profiles.d.cts.map +1 -0
- package/dist/actions/update-tax-profiles.d.mts +9 -0
- package/dist/actions/update-tax-profiles.d.mts.map +1 -0
- package/dist/actions/update-tax-profiles.mjs +38 -0
- package/dist/actions/update-tax-profiles.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +134 -0
- package/dist/index.d.cts +67 -0
- package/dist/index.d.mts +67 -0
- package/dist/index.mjs +68 -0
- package/package.json +49 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-segment-localizations.ts
|
|
4
|
+
const ProabonoListSegmentLocalizationsInput = zod.z.object({
|
|
5
|
+
Code: zod.z.string().describe("Search localizations by specific localization code").optional(),
|
|
6
|
+
page: zod.z.number().int().describe("Page number. Default: 1.").optional(),
|
|
7
|
+
Content: zod.z.string().describe("Search localizations containing specified content text").optional(),
|
|
8
|
+
IsCustom: zod.z.boolean().describe("Filter for customized localizations - true to show only custom localizations, false for default localizations").optional(),
|
|
9
|
+
Language: zod.z.string().describe("Filter by specific language code (e.g., 'EN', 'FR')").optional(),
|
|
10
|
+
IdSegment: zod.z.number().int().describe("The segment ID for which to retrieve localizations"),
|
|
11
|
+
size_page: zod.z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional()
|
|
12
|
+
});
|
|
13
|
+
const ProabonoListSegmentLocalizations_LocalizationItemSchema = zod.z.object({
|
|
14
|
+
Code: zod.z.string().describe("Localization code identifier").nullable().optional(),
|
|
15
|
+
Content: zod.z.string().describe("Localized content text").nullable().optional(),
|
|
16
|
+
Language: zod.z.string().describe("Language code for this localization").nullable().optional(),
|
|
17
|
+
IdSegment: zod.z.number().int().describe("Segment identifier").nullable().optional(),
|
|
18
|
+
TypeContent: zod.z.string().describe("Type of content being localized").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const ProabonoListSegmentLocalizationsOutput = zod.z.object({
|
|
21
|
+
Page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
22
|
+
Count: zod.z.number().int().describe("Items on current page").nullable().optional(),
|
|
23
|
+
Items: zod.z.array(ProabonoListSegmentLocalizations_LocalizationItemSchema).describe("Collection of localization objects").nullable().optional(),
|
|
24
|
+
SizePage: zod.z.number().int().describe("Items per page").nullable().optional(),
|
|
25
|
+
TotalItems: zod.z.number().int().describe("Total available items").nullable().optional(),
|
|
26
|
+
DateGenerated: zod.z.string().describe("Response timestamp in ISO 8601 format").nullable().optional()
|
|
27
|
+
});
|
|
28
|
+
const proabonoListSegmentLocalizations = require_action.action("PROABONO_LIST_SEGMENT_LOCALIZATIONS", {
|
|
29
|
+
slug: "proabono-list-segment-localizations",
|
|
30
|
+
name: "List Segment Localizations",
|
|
31
|
+
description: "Tool to list localization entries by segment from ProAbono Backoffice API. Use when you need to retrieve hosted page localizations for a specific segment with optional filtering by language, custom status, content, or code.",
|
|
32
|
+
input: ProabonoListSegmentLocalizationsInput,
|
|
33
|
+
output: ProabonoListSegmentLocalizationsOutput
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
exports.proabonoListSegmentLocalizations = proabonoListSegmentLocalizations;
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=list-segment-localizations.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-segment-localizations.cjs","names":["z","action"],"sources":["../../src/actions/list-segment-localizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSegmentLocalizationsInput: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Search localizations by specific localization code\").optional(),\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Content: z.string().describe(\"Search localizations containing specified content text\").optional(),\n IsCustom: z.boolean().describe(\"Filter for customized localizations - true to show only custom localizations, false for default localizations\").optional(),\n Language: z.string().describe(\"Filter by specific language code (e.g., 'EN', 'FR')\").optional(),\n IdSegment: z.number().int().describe(\"The segment ID for which to retrieve localizations\"),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n});\nconst ProabonoListSegmentLocalizations_LocalizationItemSchema: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Localization code identifier\").nullable().optional(),\n Content: z.string().describe(\"Localized content text\").nullable().optional(),\n Language: z.string().describe(\"Language code for this localization\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier\").nullable().optional(),\n TypeContent: z.string().describe(\"Type of content being localized\").nullable().optional(),\n});\nexport const ProabonoListSegmentLocalizationsOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Items on current page\").nullable().optional(),\n Items: z.array(ProabonoListSegmentLocalizations_LocalizationItemSchema).describe(\"Collection of localization objects\").nullable().optional(),\n SizePage: z.number().int().describe(\"Items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total available items\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response timestamp in ISO 8601 format\").nullable().optional(),\n});\n\nexport const proabonoListSegmentLocalizations = action(\"PROABONO_LIST_SEGMENT_LOCALIZATIONS\", {\n slug: \"proabono-list-segment-localizations\",\n name: \"List Segment Localizations\",\n description: \"Tool to list localization entries by segment from ProAbono Backoffice API. Use when you need to retrieve hosted page localizations for a specific segment with optional filtering by language, custom status, content, or code.\",\n input: ProabonoListS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1F,CAAC;AACD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,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,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-segment-localizations.d.ts
|
|
4
|
+
declare const ProabonoListSegmentLocalizationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSegmentLocalizationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSegmentLocalizations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSegmentLocalizations };
|
|
9
|
+
//# sourceMappingURL=list-segment-localizations.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-segment-localizations.d.cts","names":[],"sources":["../../src/actions/list-segment-localizations.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAQpD;AAAA,cAQW,sCAAA,EAAwC,CAAA,CAAE,UAOrD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-segment-localizations.d.ts
|
|
4
|
+
declare const ProabonoListSegmentLocalizationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSegmentLocalizationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSegmentLocalizations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSegmentLocalizations };
|
|
9
|
+
//# sourceMappingURL=list-segment-localizations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-segment-localizations.d.mts","names":[],"sources":["../../src/actions/list-segment-localizations.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAQpD;AAAA,cAQW,sCAAA,EAAwC,CAAA,CAAE,UAOrD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-segment-localizations.ts
|
|
4
|
+
const ProabonoListSegmentLocalizationsInput = z.object({
|
|
5
|
+
Code: z.string().describe("Search localizations by specific localization code").optional(),
|
|
6
|
+
page: z.number().int().describe("Page number. Default: 1.").optional(),
|
|
7
|
+
Content: z.string().describe("Search localizations containing specified content text").optional(),
|
|
8
|
+
IsCustom: z.boolean().describe("Filter for customized localizations - true to show only custom localizations, false for default localizations").optional(),
|
|
9
|
+
Language: z.string().describe("Filter by specific language code (e.g., 'EN', 'FR')").optional(),
|
|
10
|
+
IdSegment: z.number().int().describe("The segment ID for which to retrieve localizations"),
|
|
11
|
+
size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional()
|
|
12
|
+
});
|
|
13
|
+
const ProabonoListSegmentLocalizations_LocalizationItemSchema = z.object({
|
|
14
|
+
Code: z.string().describe("Localization code identifier").nullable().optional(),
|
|
15
|
+
Content: z.string().describe("Localized content text").nullable().optional(),
|
|
16
|
+
Language: z.string().describe("Language code for this localization").nullable().optional(),
|
|
17
|
+
IdSegment: z.number().int().describe("Segment identifier").nullable().optional(),
|
|
18
|
+
TypeContent: z.string().describe("Type of content being localized").nullable().optional()
|
|
19
|
+
});
|
|
20
|
+
const proabonoListSegmentLocalizations = action("PROABONO_LIST_SEGMENT_LOCALIZATIONS", {
|
|
21
|
+
slug: "proabono-list-segment-localizations",
|
|
22
|
+
name: "List Segment Localizations",
|
|
23
|
+
description: "Tool to list localization entries by segment from ProAbono Backoffice API. Use when you need to retrieve hosted page localizations for a specific segment with optional filtering by language, custom status, content, or code.",
|
|
24
|
+
input: ProabonoListSegmentLocalizationsInput,
|
|
25
|
+
output: z.object({
|
|
26
|
+
Page: z.number().int().describe("Current page number").nullable().optional(),
|
|
27
|
+
Count: z.number().int().describe("Items on current page").nullable().optional(),
|
|
28
|
+
Items: z.array(ProabonoListSegmentLocalizations_LocalizationItemSchema).describe("Collection of localization objects").nullable().optional(),
|
|
29
|
+
SizePage: z.number().int().describe("Items per page").nullable().optional(),
|
|
30
|
+
TotalItems: z.number().int().describe("Total available items").nullable().optional(),
|
|
31
|
+
DateGenerated: z.string().describe("Response timestamp in ISO 8601 format").nullable().optional()
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { proabonoListSegmentLocalizations };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=list-segment-localizations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-segment-localizations.mjs","names":[],"sources":["../../src/actions/list-segment-localizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSegmentLocalizationsInput: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Search localizations by specific localization code\").optional(),\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Content: z.string().describe(\"Search localizations containing specified content text\").optional(),\n IsCustom: z.boolean().describe(\"Filter for customized localizations - true to show only custom localizations, false for default localizations\").optional(),\n Language: z.string().describe(\"Filter by specific language code (e.g., 'EN', 'FR')\").optional(),\n IdSegment: z.number().int().describe(\"The segment ID for which to retrieve localizations\"),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n});\nconst ProabonoListSegmentLocalizations_LocalizationItemSchema: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Localization code identifier\").nullable().optional(),\n Content: z.string().describe(\"Localized content text\").nullable().optional(),\n Language: z.string().describe(\"Language code for this localization\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier\").nullable().optional(),\n TypeContent: z.string().describe(\"Type of content being localized\").nullable().optional(),\n});\nexport const ProabonoListSegmentLocalizationsOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Items on current page\").nullable().optional(),\n Items: z.array(ProabonoListSegmentLocalizations_LocalizationItemSchema).describe(\"Collection of localization objects\").nullable().optional(),\n SizePage: z.number().int().describe(\"Items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total available items\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response timestamp in ISO 8601 format\").nullable().optional(),\n});\n\nexport const proabonoListSegmentLocalizations = action(\"PROABONO_LIST_SEGMENT_LOCALIZATIONS\", {\n slug: \"proabono-list-segment-localizations\",\n name: \"List Segment Localizations\",\n description: \"Tool to list localization entries by segment from ProAbono Backoffice API. Use when you need to retrieve hosted page localizations for a specific segment with optional filtering by language, custom status, content, or code.\",\n input: ProabonoListSegmentLocalizationsInput,\n output: ProabonoListSegmentLocalizationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACzJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAM,0DAAwE,EAAE,OAAO;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC;AAUD,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkE,EAAE,OAAO;EAC3E,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,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-segments.ts
|
|
4
|
+
const ProabonoListSegmentsInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("Page number. Default: 1.").optional(),
|
|
6
|
+
Currency: zod.z.string().describe("Filter by currency code (e.g., 'EUR', 'USD', 'GBP')").optional(),
|
|
7
|
+
size_page: zod.z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
|
|
8
|
+
IdBusiness: zod.z.number().int().describe("Filter by Business ID to list segments for a specific business").optional()
|
|
9
|
+
});
|
|
10
|
+
const ProabonoListSegments_SegmentLinkSchema = zod.z.object({
|
|
11
|
+
rel: zod.z.string().describe("Link relation type (e.g., 'self', 'related-dashboard')").nullable().optional(),
|
|
12
|
+
href: zod.z.string().describe("API endpoint path or URL for the related resource").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const ProabonoListSegments_SegmentItemSchema = zod.z.object({
|
|
15
|
+
Id: zod.z.number().int().describe("Unique segment identifier").nullable().optional(),
|
|
16
|
+
Name: zod.z.string().describe("Name of the segment").nullable().optional(),
|
|
17
|
+
Links: zod.z.array(ProabonoListSegments_SegmentLinkSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
|
|
18
|
+
Currency: zod.z.string().describe("Currency code used for the segment (e.g., 'USD', 'EUR')").nullable().optional(),
|
|
19
|
+
HostAgent: zod.z.string().describe("Full domain name where agents can log into the backoffice (format: {domain}.via.proabono.com)").nullable().optional(),
|
|
20
|
+
StateLife: zod.z.string().describe("Current state of the segment lifecycle (e.g., 'Ok')").nullable().optional(),
|
|
21
|
+
DateUpdate: zod.z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
|
|
22
|
+
IdBusiness: zod.z.number().int().describe("Associated business identifier").nullable().optional(),
|
|
23
|
+
DateCreation: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
|
|
24
|
+
HostCustomer: zod.z.string().describe("Full domain name of customer hosted pages (format: {domain}.proabono.com)").nullable().optional(),
|
|
25
|
+
IdUserUpdate: zod.z.number().int().describe("User ID who last modified the segment").nullable().optional(),
|
|
26
|
+
IdUserCreation: zod.z.number().int().describe("User ID who created the segment").nullable().optional(),
|
|
27
|
+
LanguageDefault: zod.z.string().describe("Default language setting for the segment (ISO 639-1 code)").nullable().optional(),
|
|
28
|
+
ReferenceSegment: zod.z.string().describe("Shared key of the segment between ProAbono and your application").nullable().optional()
|
|
29
|
+
});
|
|
30
|
+
const ProabonoListSegments_NavigationLinkSchema = zod.z.object({
|
|
31
|
+
rel: zod.z.string().describe("Link relation type (e.g., 'prev', 'next', 'self')").nullable().optional(),
|
|
32
|
+
href: zod.z.string().describe("API endpoint path for navigation").nullable().optional()
|
|
33
|
+
});
|
|
34
|
+
const ProabonoListSegmentsOutput = zod.z.object({
|
|
35
|
+
Page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
36
|
+
Count: zod.z.number().int().describe("Number of items on current page").nullable().optional(),
|
|
37
|
+
Items: zod.z.array(ProabonoListSegments_SegmentItemSchema).describe("Collection of segment objects").nullable().optional(),
|
|
38
|
+
Links: zod.z.array(ProabonoListSegments_NavigationLinkSchema).describe("Navigation links for pagination (prev/next)").nullable().optional(),
|
|
39
|
+
SizePage: zod.z.number().int().describe("Maximum items per page").nullable().optional(),
|
|
40
|
+
TotalItems: zod.z.number().int().describe("Total matching items across all pages").nullable().optional(),
|
|
41
|
+
DateGenerated: zod.z.string().describe("Response generation timestamp in ISO 8601 format").nullable().optional()
|
|
42
|
+
});
|
|
43
|
+
const proabonoListSegments = require_action.action("PROABONO_LIST_SEGMENTS", {
|
|
44
|
+
slug: "proabono-list-segments",
|
|
45
|
+
name: "List Segments",
|
|
46
|
+
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.",
|
|
47
|
+
input: ProabonoListSegmentsInput,
|
|
48
|
+
output: ProabonoListSegmentsOutput
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.proabonoListSegments = proabonoListSegments;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=list-segments.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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});\nconst ProabonoListSegments_SegmentItemSchema: z.ZodTypeAny = 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});\nconst ProabonoListSegments_NavigationLinkSchema: z.ZodTypeAny = 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});\nexport const ProabonoListSegmentsOutput: z.ZodTypeAny = 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});\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":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAA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AAS,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;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-segments.d.ts
|
|
4
|
+
declare const ProabonoListSegmentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSegmentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSegments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSegments };
|
|
9
|
+
//# sourceMappingURL=list-segments.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-segments.d.cts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKxC;AAAA,cAyBW,0BAAA,EAA4B,CAAA,CAAE,UAQzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-segments.d.ts
|
|
4
|
+
declare const ProabonoListSegmentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSegmentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSegments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSegments };
|
|
9
|
+
//# sourceMappingURL=list-segments.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-segments.d.mts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKxC;AAAA,cAyBW,0BAAA,EAA4B,CAAA,CAAE,UAQzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-segments.ts
|
|
4
|
+
const ProabonoListSegmentsInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number. Default: 1.").optional(),
|
|
6
|
+
Currency: z.string().describe("Filter by currency code (e.g., 'EUR', 'USD', 'GBP')").optional(),
|
|
7
|
+
size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
|
|
8
|
+
IdBusiness: z.number().int().describe("Filter by Business ID to list segments for a specific business").optional()
|
|
9
|
+
});
|
|
10
|
+
const ProabonoListSegments_SegmentLinkSchema = z.object({
|
|
11
|
+
rel: z.string().describe("Link relation type (e.g., 'self', 'related-dashboard')").nullable().optional(),
|
|
12
|
+
href: z.string().describe("API endpoint path or URL for the related resource").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const ProabonoListSegments_SegmentItemSchema = z.object({
|
|
15
|
+
Id: z.number().int().describe("Unique segment identifier").nullable().optional(),
|
|
16
|
+
Name: z.string().describe("Name of the segment").nullable().optional(),
|
|
17
|
+
Links: z.array(ProabonoListSegments_SegmentLinkSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
|
|
18
|
+
Currency: z.string().describe("Currency code used for the segment (e.g., 'USD', 'EUR')").nullable().optional(),
|
|
19
|
+
HostAgent: z.string().describe("Full domain name where agents can log into the backoffice (format: {domain}.via.proabono.com)").nullable().optional(),
|
|
20
|
+
StateLife: z.string().describe("Current state of the segment lifecycle (e.g., 'Ok')").nullable().optional(),
|
|
21
|
+
DateUpdate: z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
|
|
22
|
+
IdBusiness: z.number().int().describe("Associated business identifier").nullable().optional(),
|
|
23
|
+
DateCreation: z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
|
|
24
|
+
HostCustomer: z.string().describe("Full domain name of customer hosted pages (format: {domain}.proabono.com)").nullable().optional(),
|
|
25
|
+
IdUserUpdate: z.number().int().describe("User ID who last modified the segment").nullable().optional(),
|
|
26
|
+
IdUserCreation: z.number().int().describe("User ID who created the segment").nullable().optional(),
|
|
27
|
+
LanguageDefault: z.string().describe("Default language setting for the segment (ISO 639-1 code)").nullable().optional(),
|
|
28
|
+
ReferenceSegment: z.string().describe("Shared key of the segment between ProAbono and your application").nullable().optional()
|
|
29
|
+
});
|
|
30
|
+
const ProabonoListSegments_NavigationLinkSchema = z.object({
|
|
31
|
+
rel: z.string().describe("Link relation type (e.g., 'prev', 'next', 'self')").nullable().optional(),
|
|
32
|
+
href: z.string().describe("API endpoint path for navigation").nullable().optional()
|
|
33
|
+
});
|
|
34
|
+
const proabonoListSegments = action("PROABONO_LIST_SEGMENTS", {
|
|
35
|
+
slug: "proabono-list-segments",
|
|
36
|
+
name: "List Segments",
|
|
37
|
+
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.",
|
|
38
|
+
input: ProabonoListSegmentsInput,
|
|
39
|
+
output: z.object({
|
|
40
|
+
Page: z.number().int().describe("Current page number").nullable().optional(),
|
|
41
|
+
Count: z.number().int().describe("Number of items on current page").nullable().optional(),
|
|
42
|
+
Items: z.array(ProabonoListSegments_SegmentItemSchema).describe("Collection of segment objects").nullable().optional(),
|
|
43
|
+
Links: z.array(ProabonoListSegments_NavigationLinkSchema).describe("Navigation links for pagination (prev/next)").nullable().optional(),
|
|
44
|
+
SizePage: z.number().int().describe("Maximum items per page").nullable().optional(),
|
|
45
|
+
TotalItems: z.number().int().describe("Total matching items across all pages").nullable().optional(),
|
|
46
|
+
DateGenerated: z.string().describe("Response generation timestamp in ISO 8601 format").nullable().optional()
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
export { proabonoListSegments };
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=list-segments.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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});\nconst ProabonoListSegments_SegmentItemSchema: z.ZodTypeAny = 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});\nconst ProabonoListSegments_NavigationLinkSchema: z.ZodTypeAny = 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});\nexport const ProabonoListSegmentsOutput: z.ZodTypeAny = 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});\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":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,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,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,yCAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CA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CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-subscription-discounts.ts
|
|
4
|
+
const ProabonoListSubscriptionDiscountsInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("Page number. Default: 1.").optional(),
|
|
6
|
+
size_page: zod.z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
|
|
7
|
+
IdBusiness: zod.z.number().int().describe("Your business ID - required to retrieve subscription discounts for a specific business")
|
|
8
|
+
});
|
|
9
|
+
const ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema = zod.z.object({
|
|
10
|
+
rel: zod.z.string().describe("Relationship type (e.g., 'self', 'related')").nullable().optional(),
|
|
11
|
+
href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional()
|
|
12
|
+
});
|
|
13
|
+
const ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema = zod.z.object({
|
|
14
|
+
Id: zod.z.number().int().describe("Unique identifier for the subscription discount").nullable().optional(),
|
|
15
|
+
Links: zod.z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
|
|
16
|
+
IdSegment: zod.z.number().int().describe("Segment association ID").nullable().optional(),
|
|
17
|
+
DateUpdate: zod.z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
|
|
18
|
+
IdDiscount: zod.z.number().int().describe("Associated discount ID").nullable().optional(),
|
|
19
|
+
DateCreation: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
|
|
20
|
+
IdUserUpdate: zod.z.number().int().describe("User ID who last modified the subscription discount record").nullable().optional(),
|
|
21
|
+
IdSubscription: zod.z.number().int().describe("Associated subscription ID").nullable().optional(),
|
|
22
|
+
IdUserCreation: zod.z.number().int().describe("User ID who created the subscription discount record").nullable().optional()
|
|
23
|
+
});
|
|
24
|
+
const ProabonoListSubscriptionDiscounts_NavigationLinkSchema = zod.z.object({
|
|
25
|
+
rel: zod.z.string().describe("Relationship type (e.g., 'next', 'prev', 'self')").nullable().optional(),
|
|
26
|
+
href: zod.z.string().describe("API endpoint path for navigation").nullable().optional()
|
|
27
|
+
});
|
|
28
|
+
const ProabonoListSubscriptionDiscountsOutput = zod.z.object({
|
|
29
|
+
Page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
30
|
+
Count: zod.z.number().int().describe("Number of items on current page").nullable().optional(),
|
|
31
|
+
Items: zod.z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema).describe("Collection of subscription discount objects").nullable().optional(),
|
|
32
|
+
Links: zod.z.array(ProabonoListSubscriptionDiscounts_NavigationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
|
|
33
|
+
SizePage: zod.z.number().int().describe("Maximum items per page").nullable().optional(),
|
|
34
|
+
TotalItems: zod.z.number().int().describe("Total matching items across all pages").nullable().optional(),
|
|
35
|
+
DateGenerated: zod.z.string().describe("Response generation timestamp in ISO 8601 format").nullable().optional()
|
|
36
|
+
});
|
|
37
|
+
const proabonoListSubscriptionDiscounts = require_action.action("PROABONO_LIST_SUBSCRIPTION_DISCOUNTS", {
|
|
38
|
+
slug: "proabono-list-subscription-discounts",
|
|
39
|
+
name: "List Subscription Discounts",
|
|
40
|
+
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.",
|
|
41
|
+
input: ProabonoListSubscriptionDiscountsInput,
|
|
42
|
+
output: ProabonoListSubscriptionDiscountsOutput
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
exports.proabonoListSubscriptionDiscounts = proabonoListSubscriptionDiscounts;
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=list-subscription-discounts.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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});\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema: z.ZodTypeAny = 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});\nconst ProabonoListSubscriptionDiscounts_NavigationLinkSchema: z.ZodTypeAny = 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});\nexport const ProabonoListSubscriptionDiscountsOutput: z.ZodTypeAny = 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});\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":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,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,mEAAiFA,IAAAA,EAAE,OAAO;CAC9F,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;AACD,MAAM,+DAA6EA,IAAAA,EAAE,OAAO;CAC1F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAw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,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;AAED,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-subscription-discounts.d.ts
|
|
4
|
+
declare const ProabonoListSubscriptionDiscountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSubscriptionDiscountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSubscriptionDiscounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSubscriptionDiscounts };
|
|
9
|
+
//# sourceMappingURL=list-subscription-discounts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-subscription-discounts.d.cts","names":[],"sources":["../../src/actions/list-subscription-discounts.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIrD;AAAA,cAoBW,uCAAA,EAAyC,CAAA,CAAE,UAQtD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-subscription-discounts.d.ts
|
|
4
|
+
declare const ProabonoListSubscriptionDiscountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSubscriptionDiscountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSubscriptionDiscounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSubscriptionDiscounts };
|
|
9
|
+
//# sourceMappingURL=list-subscription-discounts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-subscription-discounts.d.mts","names":[],"sources":["../../src/actions/list-subscription-discounts.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIrD;AAAA,cAoBW,uCAAA,EAAyC,CAAA,CAAE,UAQtD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-subscription-discounts.ts
|
|
4
|
+
const ProabonoListSubscriptionDiscountsInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number. Default: 1.").optional(),
|
|
6
|
+
size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
|
|
7
|
+
IdBusiness: z.number().int().describe("Your business ID - required to retrieve subscription discounts for a specific business")
|
|
8
|
+
});
|
|
9
|
+
const ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema = z.object({
|
|
10
|
+
rel: z.string().describe("Relationship type (e.g., 'self', 'related')").nullable().optional(),
|
|
11
|
+
href: z.string().describe("API endpoint path for the related resource").nullable().optional()
|
|
12
|
+
});
|
|
13
|
+
const ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema = z.object({
|
|
14
|
+
Id: z.number().int().describe("Unique identifier for the subscription discount").nullable().optional(),
|
|
15
|
+
Links: z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountLinkSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
|
|
16
|
+
IdSegment: z.number().int().describe("Segment association ID").nullable().optional(),
|
|
17
|
+
DateUpdate: z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
|
|
18
|
+
IdDiscount: z.number().int().describe("Associated discount ID").nullable().optional(),
|
|
19
|
+
DateCreation: z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
|
|
20
|
+
IdUserUpdate: z.number().int().describe("User ID who last modified the subscription discount record").nullable().optional(),
|
|
21
|
+
IdSubscription: z.number().int().describe("Associated subscription ID").nullable().optional(),
|
|
22
|
+
IdUserCreation: z.number().int().describe("User ID who created the subscription discount record").nullable().optional()
|
|
23
|
+
});
|
|
24
|
+
const ProabonoListSubscriptionDiscounts_NavigationLinkSchema = z.object({
|
|
25
|
+
rel: z.string().describe("Relationship type (e.g., 'next', 'prev', 'self')").nullable().optional(),
|
|
26
|
+
href: z.string().describe("API endpoint path for navigation").nullable().optional()
|
|
27
|
+
});
|
|
28
|
+
const proabonoListSubscriptionDiscounts = action("PROABONO_LIST_SUBSCRIPTION_DISCOUNTS", {
|
|
29
|
+
slug: "proabono-list-subscription-discounts",
|
|
30
|
+
name: "List Subscription Discounts",
|
|
31
|
+
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.",
|
|
32
|
+
input: ProabonoListSubscriptionDiscountsInput,
|
|
33
|
+
output: z.object({
|
|
34
|
+
Page: z.number().int().describe("Current page number").nullable().optional(),
|
|
35
|
+
Count: z.number().int().describe("Number of items on current page").nullable().optional(),
|
|
36
|
+
Items: z.array(ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema).describe("Collection of subscription discount objects").nullable().optional(),
|
|
37
|
+
Links: z.array(ProabonoListSubscriptionDiscounts_NavigationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
|
|
38
|
+
SizePage: z.number().int().describe("Maximum items per page").nullable().optional(),
|
|
39
|
+
TotalItems: z.number().int().describe("Total matching items across all pages").nullable().optional(),
|
|
40
|
+
DateGenerated: z.string().describe("Response generation timestamp in ISO 8601 format").nullable().optional()
|
|
41
|
+
})
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { proabonoListSubscriptionDiscounts };
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=list-subscription-discounts.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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});\nconst ProabonoListSubscriptionDiscounts_SubscriptionDiscountSchema: z.ZodTypeAny = 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});\nconst ProabonoListSubscriptionDiscounts_NavigationLinkSchema: z.ZodTypeAny = 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});\nexport const ProabonoListSubscriptionDiscountsOutput: z.ZodTypeAny = 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});\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":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CA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
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-subscription-features.ts
|
|
4
|
+
const ProabonoListSubscriptionFeaturesInput = zod.z.object({
|
|
5
|
+
IdFeature: zod.z.number().int().describe("Filter subscription features by Feature ID").optional(),
|
|
6
|
+
IdBusiness: zod.z.number().int().describe("Filter subscription features by Business ID").optional(),
|
|
7
|
+
DateUpdateMin: zod.z.string().describe("Minimum update date filter in ISO 8601 format (e.g., 2025-08-27T13:54:00)").optional()
|
|
8
|
+
}).describe("Request model for listing subscription features with optional filters.");
|
|
9
|
+
const ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema = zod.z.object({
|
|
10
|
+
Rel: zod.z.string().describe("The relationship type of the link").nullable().optional(),
|
|
11
|
+
Href: zod.z.string().describe("The URL of the linked resource").nullable().optional(),
|
|
12
|
+
Method: zod.z.string().describe("The HTTP method for the link").nullable().optional()
|
|
13
|
+
}).describe("Represents a navigation link to related resources.");
|
|
14
|
+
const ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema = zod.z.object({
|
|
15
|
+
Id: zod.z.number().int().describe("ID of the SubscriptionFeature").nullable().optional(),
|
|
16
|
+
Links: zod.z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema).describe("Navigation links to related resources").nullable().optional(),
|
|
17
|
+
Quantity: zod.z.number().int().describe("Current quantity of the feature").nullable().optional(),
|
|
18
|
+
IdFeature: zod.z.number().int().describe("Identifier of the associated feature").nullable().optional(),
|
|
19
|
+
DateUpdate: zod.z.string().describe("Date of last update of the object").nullable().optional(),
|
|
20
|
+
DateCreation: zod.z.string().describe("Creation date of the object on ProAbono").nullable().optional(),
|
|
21
|
+
IdSubscription: zod.z.number().int().describe("Identifier linking to parent subscription").nullable().optional()
|
|
22
|
+
}).describe("Represents a subscription feature object from ProAbono.");
|
|
23
|
+
const ProabonoListSubscriptionFeatures_PaginationLinkSchema = zod.z.object({
|
|
24
|
+
Rel: zod.z.string().describe("The relationship type (prev, next, etc.)").nullable().optional(),
|
|
25
|
+
Href: zod.z.string().describe("The URL of the linked page").nullable().optional()
|
|
26
|
+
}).describe("Represents a pagination link for navigating through results.");
|
|
27
|
+
const ProabonoListSubscriptionFeaturesOutput = zod.z.object({
|
|
28
|
+
Page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
29
|
+
Count: zod.z.number().int().describe("Number of items in current response").nullable().optional(),
|
|
30
|
+
Items: zod.z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema).describe("List of subscription feature objects").nullable().optional(),
|
|
31
|
+
Links: zod.z.array(ProabonoListSubscriptionFeatures_PaginationLinkSchema).describe("HATEOAS links for pagination navigation").nullable().optional(),
|
|
32
|
+
SizePage: zod.z.number().int().describe("Number of items per page").nullable().optional(),
|
|
33
|
+
TotalItems: zod.z.number().int().describe("Total number of items matching the query").nullable().optional(),
|
|
34
|
+
DateGenerated: zod.z.string().describe("Timestamp when the response was generated").nullable().optional()
|
|
35
|
+
}).describe("Response model for listing subscription features with pagination.");
|
|
36
|
+
const proabonoListSubscriptionFeatures = require_action.action("PROABONO_LIST_SUBSCRIPTION_FEATURES", {
|
|
37
|
+
slug: "proabono-list-subscription-features",
|
|
38
|
+
name: "List Subscription Features",
|
|
39
|
+
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.",
|
|
40
|
+
input: ProabonoListSubscriptionFeaturesInput,
|
|
41
|
+
output: ProabonoListSubscriptionFeaturesOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.proabonoListSubscriptionFeatures = proabonoListSubscriptionFeatures;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=list-subscription-features.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Represents a navigation link to related resources.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema: z.ZodTypeAny = 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}).describe(\"Represents a subscription feature object from ProAbono.\");\nconst ProabonoListSubscriptionFeatures_PaginationLinkSchema: z.ZodTypeAny = 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}).describe(\"Represents a pagination link for navigating through results.\");\nexport const ProabonoListSubscriptionFeaturesOutput: z.ZodTypeAny = 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}).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":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,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,iEAA+EA,IAAAA,EAAE,OAAO;CAC5F,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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AA,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,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,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,SAAS,mEAAmE;AAE/E,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-subscription-features.d.ts
|
|
4
|
+
declare const ProabonoListSubscriptionFeaturesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSubscriptionFeaturesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSubscriptionFeatures: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSubscriptionFeatures };
|
|
9
|
+
//# sourceMappingURL=list-subscription-features.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-subscription-features.d.cts","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAI+B;AAAA,cAmBxE,sCAAA,EAAwC,CAAA,CAAE,UAQyB;AAAA,cAEnE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-subscription-features.d.ts
|
|
4
|
+
declare const ProabonoListSubscriptionFeaturesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ProabonoListSubscriptionFeaturesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const proabonoListSubscriptionFeatures: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { proabonoListSubscriptionFeatures };
|
|
9
|
+
//# sourceMappingURL=list-subscription-features.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-subscription-features.d.mts","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAI+B;AAAA,cAmBxE,sCAAA,EAAwC,CAAA,CAAE,UAQyB;AAAA,cAEnE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|