@keystrokehq/proabono 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/anonymize-customer.cjs +2 -2
- package/dist/actions/anonymize-customer.cjs.map +1 -1
- package/dist/actions/anonymize-customer.d.cts +2 -2
- package/dist/actions/anonymize-customer.d.mts +2 -2
- package/dist/actions/anonymize-customer.mjs +2 -2
- package/dist/actions/anonymize-customer.mjs.map +1 -1
- package/dist/actions/bill-customer.cjs +1 -1
- package/dist/actions/bill-customer.cjs.map +1 -1
- package/dist/actions/bill-customer.d.cts +1 -1
- package/dist/actions/bill-customer.d.mts +1 -1
- package/dist/actions/bill-customer.mjs +1 -1
- package/dist/actions/bill-customer.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +4 -4
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +5 -5
- package/dist/actions/create-customer.d.mts +5 -5
- package/dist/actions/create-customer.mjs +4 -4
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-feature.cjs +2 -2
- package/dist/actions/create-feature.cjs.map +1 -1
- package/dist/actions/create-feature.d.cts +2 -2
- package/dist/actions/create-feature.d.mts +2 -2
- package/dist/actions/create-feature.mjs +2 -2
- package/dist/actions/create-feature.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +1 -1
- package/dist/actions/delete-customer.d.mts +1 -1
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-offer.cjs +1 -1
- package/dist/actions/delete-offer.cjs.map +1 -1
- package/dist/actions/delete-offer.d.cts +1 -1
- package/dist/actions/delete-offer.d.mts +1 -1
- package/dist/actions/delete-offer.mjs +1 -1
- package/dist/actions/delete-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.cjs +1 -1
- package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.cts +1 -1
- package/dist/actions/delete-pricing-table-offer.d.mts +1 -1
- package/dist/actions/delete-pricing-table-offer.mjs +1 -1
- package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table.cjs +1 -1
- package/dist/actions/delete-pricing-table.cjs.map +1 -1
- package/dist/actions/delete-pricing-table.d.cts +1 -1
- package/dist/actions/delete-pricing-table.d.mts +1 -1
- package/dist/actions/delete-pricing-table.mjs +1 -1
- package/dist/actions/delete-pricing-table.mjs.map +1 -1
- package/dist/actions/delete-subscription-discount.cjs +1 -1
- package/dist/actions/delete-subscription-discount.cjs.map +1 -1
- package/dist/actions/delete-subscription-discount.d.cts +1 -1
- package/dist/actions/delete-subscription-discount.d.mts +1 -1
- package/dist/actions/delete-subscription-discount.mjs +1 -1
- package/dist/actions/delete-subscription-discount.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +1 -1
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +1 -1
- package/dist/actions/enable-webhook.d.mts +1 -1
- package/dist/actions/enable-webhook.mjs +1 -1
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/get-customer-billing-address.cjs +1 -1
- package/dist/actions/get-customer-billing-address.cjs.map +1 -1
- package/dist/actions/get-customer-billing-address.d.cts +1 -1
- package/dist/actions/get-customer-billing-address.d.mts +1 -1
- package/dist/actions/get-customer-billing-address.mjs +1 -1
- package/dist/actions/get-customer-billing-address.mjs.map +1 -1
- package/dist/actions/get-customer-billing.cjs +2 -2
- package/dist/actions/get-customer-billing.cjs.map +1 -1
- package/dist/actions/get-customer-billing.d.cts +2 -2
- package/dist/actions/get-customer-billing.d.mts +2 -2
- package/dist/actions/get-customer-billing.mjs +2 -2
- package/dist/actions/get-customer-billing.mjs.map +1 -1
- package/dist/actions/get-customer-by-reference.cjs +3 -3
- package/dist/actions/get-customer-by-reference.cjs.map +1 -1
- package/dist/actions/get-customer-by-reference.d.cts +3 -3
- package/dist/actions/get-customer-by-reference.d.mts +3 -3
- package/dist/actions/get-customer-by-reference.mjs +3 -3
- package/dist/actions/get-customer-by-reference.mjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.cjs +1 -1
- package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.d.cts +1 -1
- package/dist/actions/get-customer-payment-settings.d.mts +1 -1
- package/dist/actions/get-customer-payment-settings.mjs +1 -1
- package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +2 -2
- package/dist/actions/get-customer.d.mts +2 -2
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-discount.cjs +2 -2
- package/dist/actions/get-discount.cjs.map +1 -1
- package/dist/actions/get-discount.d.cts +2 -2
- package/dist/actions/get-discount.d.mts +2 -2
- package/dist/actions/get-discount.mjs +2 -2
- package/dist/actions/get-discount.mjs.map +1 -1
- package/dist/actions/get-feature.cjs +2 -2
- package/dist/actions/get-feature.cjs.map +1 -1
- package/dist/actions/get-feature.d.cts +2 -2
- package/dist/actions/get-feature.d.mts +2 -2
- package/dist/actions/get-feature.mjs +2 -2
- package/dist/actions/get-feature.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +2 -2
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +2 -2
- package/dist/actions/get-invoice.d.mts +2 -2
- package/dist/actions/get-invoice.mjs +2 -2
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-offer.cjs +2 -2
- package/dist/actions/get-offer.cjs.map +1 -1
- package/dist/actions/get-offer.d.cts +2 -2
- package/dist/actions/get-offer.d.mts +2 -2
- package/dist/actions/get-offer.mjs +2 -2
- package/dist/actions/get-offer.mjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.cjs +3 -3
- package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.d.cts +3 -3
- package/dist/actions/get-subscription-by-customer.d.mts +3 -3
- package/dist/actions/get-subscription-by-customer.mjs +3 -3
- package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.cjs +3 -3
- package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.d.cts +4 -4
- package/dist/actions/get-subscription-creation-quote.d.mts +4 -4
- package/dist/actions/get-subscription-creation-quote.mjs +3 -3
- package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
- package/dist/actions/get-usage.cjs +1 -1
- package/dist/actions/get-usage.cjs.map +1 -1
- package/dist/actions/get-usage.d.cts +1 -1
- package/dist/actions/get-usage.d.mts +1 -1
- package/dist/actions/get-usage.mjs +1 -1
- package/dist/actions/get-usage.mjs.map +1 -1
- package/dist/actions/get-usages-for-customer.cjs +3 -3
- package/dist/actions/get-usages-for-customer.cjs.map +1 -1
- package/dist/actions/get-usages-for-customer.d.cts +3 -3
- package/dist/actions/get-usages-for-customer.d.mts +3 -3
- package/dist/actions/get-usages-for-customer.mjs +3 -3
- package/dist/actions/get-usages-for-customer.mjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.cjs +2 -2
- package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.d.cts +2 -2
- package/dist/actions/invalidate-customer-by-id.d.mts +2 -2
- package/dist/actions/invalidate-customer-by-id.mjs +2 -2
- package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
- package/dist/actions/invalidate-customer.cjs +2 -2
- package/dist/actions/invalidate-customer.cjs.map +1 -1
- package/dist/actions/invalidate-customer.d.cts +2 -2
- package/dist/actions/invalidate-customer.d.mts +2 -2
- package/dist/actions/invalidate-customer.mjs +2 -2
- package/dist/actions/invalidate-customer.mjs.map +1 -1
- package/dist/actions/list-balance-lines.cjs +3 -3
- package/dist/actions/list-balance-lines.cjs.map +1 -1
- package/dist/actions/list-balance-lines.d.cts +4 -4
- package/dist/actions/list-balance-lines.d.mts +4 -4
- package/dist/actions/list-balance-lines.mjs +3 -3
- package/dist/actions/list-balance-lines.mjs.map +1 -1
- package/dist/actions/list-business-localization.cjs +2 -2
- package/dist/actions/list-business-localization.cjs.map +1 -1
- package/dist/actions/list-business-localization.d.cts +2 -2
- package/dist/actions/list-business-localization.d.mts +2 -2
- package/dist/actions/list-business-localization.mjs +2 -2
- package/dist/actions/list-business-localization.mjs.map +1 -1
- package/dist/actions/list-businesses.cjs +3 -3
- package/dist/actions/list-businesses.cjs.map +1 -1
- package/dist/actions/list-businesses.d.cts +4 -4
- package/dist/actions/list-businesses.d.mts +4 -4
- package/dist/actions/list-businesses.mjs +3 -3
- package/dist/actions/list-businesses.mjs.map +1 -1
- package/dist/actions/list-customer-moves.cjs +3 -3
- package/dist/actions/list-customer-moves.cjs.map +1 -1
- package/dist/actions/list-customer-moves.d.cts +3 -3
- package/dist/actions/list-customer-moves.d.mts +3 -3
- package/dist/actions/list-customer-moves.mjs +3 -3
- package/dist/actions/list-customer-moves.mjs.map +1 -1
- package/dist/actions/list-customers-by-feature.cjs +2 -2
- package/dist/actions/list-customers-by-feature.cjs.map +1 -1
- package/dist/actions/list-customers-by-feature.d.cts +2 -2
- package/dist/actions/list-customers-by-feature.d.mts +2 -2
- package/dist/actions/list-customers-by-feature.mjs +2 -2
- package/dist/actions/list-customers-by-feature.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +4 -4
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +4 -4
- package/dist/actions/list-customers.d.mts +4 -4
- package/dist/actions/list-customers.mjs +4 -4
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-discounts.cjs +4 -4
- package/dist/actions/list-discounts.cjs.map +1 -1
- package/dist/actions/list-discounts.d.cts +4 -4
- package/dist/actions/list-discounts.d.mts +4 -4
- package/dist/actions/list-discounts.mjs +4 -4
- package/dist/actions/list-discounts.mjs.map +1 -1
- package/dist/actions/list-features.cjs +4 -4
- package/dist/actions/list-features.cjs.map +1 -1
- package/dist/actions/list-features.d.cts +4 -4
- package/dist/actions/list-features.d.mts +4 -4
- package/dist/actions/list-features.mjs +4 -4
- package/dist/actions/list-features.mjs.map +1 -1
- package/dist/actions/list-gateway-accounts.cjs +5 -5
- package/dist/actions/list-gateway-accounts.cjs.map +1 -1
- package/dist/actions/list-gateway-accounts.d.cts +5 -5
- package/dist/actions/list-gateway-accounts.d.mts +5 -5
- package/dist/actions/list-gateway-accounts.mjs +5 -5
- package/dist/actions/list-gateway-accounts.mjs.map +1 -1
- package/dist/actions/list-gateway-permissions.cjs +3 -3
- package/dist/actions/list-gateway-permissions.cjs.map +1 -1
- package/dist/actions/list-gateway-permissions.d.cts +4 -4
- package/dist/actions/list-gateway-permissions.d.mts +4 -4
- package/dist/actions/list-gateway-permissions.mjs +3 -3
- package/dist/actions/list-gateway-permissions.mjs.map +1 -1
- package/dist/actions/list-gateway-requests.cjs +4 -4
- package/dist/actions/list-gateway-requests.cjs.map +1 -1
- package/dist/actions/list-gateway-requests.d.cts +4 -4
- package/dist/actions/list-gateway-requests.d.mts +4 -4
- package/dist/actions/list-gateway-requests.mjs +4 -4
- package/dist/actions/list-gateway-requests.mjs.map +1 -1
- package/dist/actions/list-gateway-transactions.cjs +4 -4
- package/dist/actions/list-gateway-transactions.cjs.map +1 -1
- package/dist/actions/list-gateway-transactions.d.cts +4 -4
- package/dist/actions/list-gateway-transactions.d.mts +4 -4
- package/dist/actions/list-gateway-transactions.mjs +4 -4
- package/dist/actions/list-gateway-transactions.mjs.map +1 -1
- package/dist/actions/list-invoice-lines.cjs +2 -2
- package/dist/actions/list-invoice-lines.cjs.map +1 -1
- package/dist/actions/list-invoice-lines.d.cts +2 -2
- package/dist/actions/list-invoice-lines.d.mts +2 -2
- package/dist/actions/list-invoice-lines.mjs +2 -2
- package/dist/actions/list-invoice-lines.mjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.cjs +3 -3
- package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.d.cts +4 -4
- package/dist/actions/list-invoices-by-customer.d.mts +4 -4
- package/dist/actions/list-invoices-by-customer.mjs +3 -3
- package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +3 -3
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +4 -4
- package/dist/actions/list-invoices.d.mts +4 -4
- package/dist/actions/list-invoices.mjs +3 -3
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-offers.cjs +3 -3
- package/dist/actions/list-offers.cjs.map +1 -1
- package/dist/actions/list-offers.d.cts +4 -4
- package/dist/actions/list-offers.d.mts +4 -4
- package/dist/actions/list-offers.mjs +3 -3
- package/dist/actions/list-offers.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +3 -3
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +4 -4
- package/dist/actions/list-payments.d.mts +4 -4
- package/dist/actions/list-payments.mjs +3 -3
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.cjs +3 -3
- package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.d.cts +4 -4
- package/dist/actions/list-pricing-table-offers.d.mts +4 -4
- package/dist/actions/list-pricing-table-offers.mjs +3 -3
- package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
- package/dist/actions/list-pricing-tables.cjs +3 -3
- package/dist/actions/list-pricing-tables.cjs.map +1 -1
- package/dist/actions/list-pricing-tables.d.cts +4 -4
- package/dist/actions/list-pricing-tables.d.mts +4 -4
- package/dist/actions/list-pricing-tables.mjs +3 -3
- package/dist/actions/list-pricing-tables.mjs.map +1 -1
- package/dist/actions/list-segment-localizations.cjs +2 -2
- package/dist/actions/list-segment-localizations.cjs.map +1 -1
- package/dist/actions/list-segment-localizations.d.cts +2 -2
- package/dist/actions/list-segment-localizations.d.mts +2 -2
- package/dist/actions/list-segment-localizations.mjs +2 -2
- package/dist/actions/list-segment-localizations.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +4 -4
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +4 -4
- package/dist/actions/list-segments.d.mts +4 -4
- package/dist/actions/list-segments.mjs +4 -4
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-subscription-discounts.cjs +4 -4
- package/dist/actions/list-subscription-discounts.cjs.map +1 -1
- package/dist/actions/list-subscription-discounts.d.cts +4 -4
- package/dist/actions/list-subscription-discounts.d.mts +4 -4
- package/dist/actions/list-subscription-discounts.mjs +4 -4
- package/dist/actions/list-subscription-discounts.mjs.map +1 -1
- package/dist/actions/list-subscription-features.cjs +4 -4
- package/dist/actions/list-subscription-features.cjs.map +1 -1
- package/dist/actions/list-subscription-features.d.cts +4 -4
- package/dist/actions/list-subscription-features.d.mts +4 -4
- package/dist/actions/list-subscription-features.mjs +4 -4
- package/dist/actions/list-subscription-features.mjs.map +1 -1
- package/dist/actions/list-subscription-periods.cjs +3 -3
- package/dist/actions/list-subscription-periods.cjs.map +1 -1
- package/dist/actions/list-subscription-periods.d.cts +4 -4
- package/dist/actions/list-subscription-periods.d.mts +4 -4
- package/dist/actions/list-subscription-periods.mjs +3 -3
- package/dist/actions/list-subscription-periods.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +4 -4
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +4 -4
- package/dist/actions/list-subscriptions.d.mts +4 -4
- package/dist/actions/list-subscriptions.mjs +4 -4
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.cjs +4 -4
- package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.d.cts +4 -4
- package/dist/actions/list-tax-profile-exceptions.d.mts +4 -4
- package/dist/actions/list-tax-profile-exceptions.mjs +4 -4
- package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
- package/dist/actions/list-tax-profiles.cjs +4 -4
- package/dist/actions/list-tax-profiles.cjs.map +1 -1
- package/dist/actions/list-tax-profiles.d.cts +4 -4
- package/dist/actions/list-tax-profiles.d.mts +4 -4
- package/dist/actions/list-tax-profiles.mjs +4 -4
- package/dist/actions/list-tax-profiles.mjs.map +1 -1
- package/dist/actions/list-upgrade-offers.cjs +5 -5
- package/dist/actions/list-upgrade-offers.cjs.map +1 -1
- package/dist/actions/list-upgrade-offers.d.cts +6 -6
- package/dist/actions/list-upgrade-offers.d.mts +6 -6
- package/dist/actions/list-upgrade-offers.mjs +5 -5
- package/dist/actions/list-upgrade-offers.mjs.map +1 -1
- package/dist/actions/list-webhook-notifications.cjs +4 -4
- package/dist/actions/list-webhook-notifications.cjs.map +1 -1
- package/dist/actions/list-webhook-notifications.d.cts +4 -4
- package/dist/actions/list-webhook-notifications.d.mts +4 -4
- package/dist/actions/list-webhook-notifications.mjs +4 -4
- package/dist/actions/list-webhook-notifications.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +3 -3
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +4 -4
- package/dist/actions/list-webhooks.d.mts +4 -4
- package/dist/actions/list-webhooks.mjs +3 -3
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/quote-balance-line.cjs +2 -2
- package/dist/actions/quote-balance-line.cjs.map +1 -1
- package/dist/actions/quote-balance-line.d.cts +3 -3
- package/dist/actions/quote-balance-line.d.mts +3 -3
- package/dist/actions/quote-balance-line.mjs +2 -2
- package/dist/actions/quote-balance-line.mjs.map +1 -1
- package/dist/actions/revoke-customer-links.cjs +2 -2
- package/dist/actions/revoke-customer-links.cjs.map +1 -1
- package/dist/actions/revoke-customer-links.d.cts +2 -2
- package/dist/actions/revoke-customer-links.d.mts +2 -2
- package/dist/actions/revoke-customer-links.mjs +2 -2
- package/dist/actions/revoke-customer-links.mjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.cjs +2 -2
- package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.d.cts +2 -2
- package/dist/actions/update-businesses-billing-address.d.mts +2 -2
- package/dist/actions/update-businesses-billing-address.mjs +2 -2
- package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-billing-address.cjs +1 -1
- package/dist/actions/update-customer-billing-address.cjs.map +1 -1
- package/dist/actions/update-customer-billing-address.d.cts +1 -1
- package/dist/actions/update-customer-billing-address.d.mts +1 -1
- package/dist/actions/update-customer-billing-address.mjs +1 -1
- package/dist/actions/update-customer-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.cjs +1 -1
- package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.d.cts +1 -1
- package/dist/actions/update-customer-payment-settings.d.mts +1 -1
- package/dist/actions/update-customer-payment-settings.mjs +1 -1
- package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/update-customer-shipping.cjs +2 -2
- package/dist/actions/update-customer-shipping.cjs.map +1 -1
- package/dist/actions/update-customer-shipping.d.cts +2 -2
- package/dist/actions/update-customer-shipping.d.mts +2 -2
- package/dist/actions/update-customer-shipping.mjs +2 -2
- package/dist/actions/update-customer-shipping.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +3 -3
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -3
- package/dist/actions/update-customer.d.mts +3 -3
- package/dist/actions/update-customer.mjs +3 -3
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-feature.cjs +2 -2
- package/dist/actions/update-feature.cjs.map +1 -1
- package/dist/actions/update-feature.d.cts +2 -2
- package/dist/actions/update-feature.d.mts +2 -2
- package/dist/actions/update-feature.mjs +2 -2
- package/dist/actions/update-feature.mjs.map +1 -1
- package/dist/actions/update-tax-profiles.cjs +2 -2
- package/dist/actions/update-tax-profiles.cjs.map +1 -1
- package/dist/actions/update-tax-profiles.d.cts +2 -2
- package/dist/actions/update-tax-profiles.d.mts +2 -2
- package/dist/actions/update-tax-profiles.mjs +2 -2
- package/dist/actions/update-tax-profiles.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ const ProabonoGetCustomerByReference_CustomerLinkSchema = zod.z.object({
|
|
|
6
6
|
rel: zod.z.string().describe("Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')").nullable().optional(),
|
|
7
7
|
href: zod.z.string().describe("URL for accessing the hosted page or customer portal").nullable().optional(),
|
|
8
8
|
query: zod.z.string().describe("Unique encrypted query parameter for secure access").nullable().optional()
|
|
9
|
-
}).describe("Model for navigation links to hosted pages and customer portal.");
|
|
9
|
+
}).passthrough().describe("Model for navigation links to hosted pages and customer portal.");
|
|
10
10
|
const ProabonoGetCustomerByReferenceOutput = zod.z.object({
|
|
11
11
|
Id: zod.z.number().int().describe("Customer identifier").nullable().optional(),
|
|
12
12
|
Name: zod.z.string().describe("Fullname of your customer").nullable().optional(),
|
|
@@ -15,13 +15,13 @@ const ProabonoGetCustomerByReferenceOutput = zod.z.object({
|
|
|
15
15
|
Status: zod.z.string().describe("Status of your Customer (e.g., 'Enabled', 'Suspended')").nullable().optional(),
|
|
16
16
|
Currency: zod.z.string().describe("Customer's currency code (e.g., 'EUR', 'USD')").nullable().optional(),
|
|
17
17
|
Language: zod.z.string().describe("Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')").nullable().optional(),
|
|
18
|
-
Metadata: zod.z.
|
|
18
|
+
Metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.").nullable().optional(),
|
|
19
19
|
IdSegment: zod.z.number().int().describe("Id of the Segment in which your Customer has been created").nullable().optional(),
|
|
20
20
|
DateAffiliation: zod.z.string().describe("Affiliation timestamp in UTC/ISO 8601 format").nullable().optional(),
|
|
21
21
|
ReferenceSegment: zod.z.string().describe("Segment reference containing the customer").nullable().optional(),
|
|
22
22
|
ReferenceCustomer: zod.z.string().describe("The unique identifier used within your own application for this customer").nullable().optional(),
|
|
23
23
|
ReferenceAffiliation: zod.z.string().describe("Reference of the affiliate who brought the customer").nullable().optional()
|
|
24
|
-
}).describe("Response model for a ProAbono customer retrieved by reference.");
|
|
24
|
+
}).passthrough().describe("Response model for a ProAbono customer retrieved by reference.");
|
|
25
25
|
const proabonoGetCustomerByReference = require_action.action("PROABONO_GET_CUSTOMER_BY_REFERENCE", {
|
|
26
26
|
slug: "proabono-get-customer-by-reference",
|
|
27
27
|
name: "Get Customer by Reference",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer-by-reference.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.
|
|
1
|
+
{"version":3,"file":"get-customer-by-reference.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).passthrough().describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.\",\n input: ProabonoGetCustomerByReferenceInput,\n output: ProabonoGetCustomerByReferenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EACzI,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,C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EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,17 +12,17 @@ declare const ProabonoGetCustomerByReferenceOutput: z.ZodObject<{
|
|
|
12
12
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
Metadata: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
+
Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
20
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
DateAffiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
ReferenceAffiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const proabonoGetCustomerByReference: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
reference_customer: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,17 +12,17 @@ declare const ProabonoGetCustomerByReferenceOutput: z.ZodObject<{
|
|
|
12
12
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
Metadata: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
+
Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
20
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
DateAffiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
ReferenceAffiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const proabonoGetCustomerByReference: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
reference_customer: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ const ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({
|
|
|
6
6
|
rel: z.string().describe("Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')").nullable().optional(),
|
|
7
7
|
href: z.string().describe("URL for accessing the hosted page or customer portal").nullable().optional(),
|
|
8
8
|
query: z.string().describe("Unique encrypted query parameter for secure access").nullable().optional()
|
|
9
|
-
}).describe("Model for navigation links to hosted pages and customer portal.");
|
|
9
|
+
}).passthrough().describe("Model for navigation links to hosted pages and customer portal.");
|
|
10
10
|
const proabonoGetCustomerByReference = action("PROABONO_GET_CUSTOMER_BY_REFERENCE", {
|
|
11
11
|
slug: "proabono-get-customer-by-reference",
|
|
12
12
|
name: "Get Customer by Reference",
|
|
@@ -20,13 +20,13 @@ const proabonoGetCustomerByReference = action("PROABONO_GET_CUSTOMER_BY_REFERENC
|
|
|
20
20
|
Status: z.string().describe("Status of your Customer (e.g., 'Enabled', 'Suspended')").nullable().optional(),
|
|
21
21
|
Currency: z.string().describe("Customer's currency code (e.g., 'EUR', 'USD')").nullable().optional(),
|
|
22
22
|
Language: z.string().describe("Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')").nullable().optional(),
|
|
23
|
-
Metadata: z.
|
|
23
|
+
Metadata: z.record(z.string(), z.unknown()).describe("A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.").nullable().optional(),
|
|
24
24
|
IdSegment: z.number().int().describe("Id of the Segment in which your Customer has been created").nullable().optional(),
|
|
25
25
|
DateAffiliation: z.string().describe("Affiliation timestamp in UTC/ISO 8601 format").nullable().optional(),
|
|
26
26
|
ReferenceSegment: z.string().describe("Segment reference containing the customer").nullable().optional(),
|
|
27
27
|
ReferenceCustomer: z.string().describe("The unique identifier used within your own application for this customer").nullable().optional(),
|
|
28
28
|
ReferenceAffiliation: z.string().describe("Reference of the affiliate who brought the customer").nullable().optional()
|
|
29
|
-
}).describe("Response model for a ProAbono customer retrieved by reference.")
|
|
29
|
+
}).passthrough().describe("Response model for a ProAbono customer retrieved by reference.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { proabonoGetCustomerByReference };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer-by-reference.mjs","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.
|
|
1
|
+
{"version":3,"file":"get-customer-by-reference.mjs","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).passthrough().describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.\",\n input: ProabonoGetCustomerByReferenceInput,\n output: ProabonoGetCustomerByReferenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EACzI,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAiB3F,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ProabonoGetCustomerPaymentSettingsOutput = zod.z.object({
|
|
|
9
9
|
IsGreyListed: zod.z.boolean().describe("Indicates if access to payment forms is prevented due to suspicious activity or payment issues").nullable().optional(),
|
|
10
10
|
IsAutoBilling: zod.z.boolean().describe("Whether automatic billing is enabled for the next billing date").nullable().optional(),
|
|
11
11
|
DateNextBilling: zod.z.string().describe("ISO 8601 timestamp of the next billing date for this customer").nullable().optional()
|
|
12
|
-
}).describe("Response model for customer payment settings.");
|
|
12
|
+
}).passthrough().describe("Response model for customer payment settings.");
|
|
13
13
|
const proabonoGetCustomerPaymentSettings = require_action.action("PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS", {
|
|
14
14
|
slug: "proabono-get-customer-payment-settings",
|
|
15
15
|
name: "Get Customer Payment Settings",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer-payment-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).describe(\"Response model for customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"get-customer-payment-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const ProabonoGetCustomerPaymentSettingsOutput: z.ZodObject<{
|
|
|
11
11
|
IsGreyListed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
12
|
IsAutoBilling: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
DateNextBilling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const proabonoGetCustomerPaymentSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
ReferenceCustomer: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ declare const ProabonoGetCustomerPaymentSettingsOutput: z.ZodObject<{
|
|
|
11
11
|
IsGreyListed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
12
|
IsAutoBilling: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
DateNextBilling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const proabonoGetCustomerPaymentSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
ReferenceCustomer: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ const proabonoGetCustomerPaymentSettings = action("PROABONO_GET_CUSTOMER_PAYMENT
|
|
|
12
12
|
IsGreyListed: z.boolean().describe("Indicates if access to payment forms is prevented due to suspicious activity or payment issues").nullable().optional(),
|
|
13
13
|
IsAutoBilling: z.boolean().describe("Whether automatic billing is enabled for the next billing date").nullable().optional(),
|
|
14
14
|
DateNextBilling: z.string().describe("ISO 8601 timestamp of the next billing date for this customer").nullable().optional()
|
|
15
|
-
}).describe("Response model for customer payment settings.")
|
|
15
|
+
}).passthrough().describe("Response model for customer payment settings.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { proabonoGetCustomerPaymentSettings };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).describe(\"Response model for customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO,EAC9D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAdsD,EAAE,OAAO;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"get-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO,EAC9D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAdsD,EAAE,OAAO;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ProabonoGetCustomerInput = zod.z.object({
|
|
|
8
8
|
const ProabonoGetCustomer_CustomerLinkSchema = zod.z.object({
|
|
9
9
|
rel: zod.z.string().describe("Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')").nullable().optional(),
|
|
10
10
|
href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional()
|
|
11
|
-
}).describe("Model for HATEOAS navigation links in customer response.");
|
|
11
|
+
}).passthrough().describe("Model for HATEOAS navigation links in customer response.");
|
|
12
12
|
const ProabonoGetCustomerOutput = zod.z.object({
|
|
13
13
|
Id: zod.z.number().int().describe("Unique customer identifier").nullable().optional(),
|
|
14
14
|
Name: zod.z.string().describe("Display name of the customer").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const ProabonoGetCustomerOutput = zod.z.object({
|
|
|
24
24
|
StateCustomer: zod.z.string().describe("Technical state of the customer (e.g., 'Enabled', 'Disabled')").nullable().optional(),
|
|
25
25
|
IdUserCreation: zod.z.number().int().describe("User ID who created the customer record").nullable().optional(),
|
|
26
26
|
ReferenceCustomer: zod.z.string().describe("Shared key of the customer between ProAbono and your application").nullable().optional()
|
|
27
|
-
}).describe("Response model for a ProAbono customer retrieved by ID.");
|
|
27
|
+
}).passthrough().describe("Response model for a ProAbono customer retrieved by ID.");
|
|
28
28
|
const proabonoGetCustomer = require_action.action("PROABONO_GET_CUSTOMER", {
|
|
29
29
|
slug: "proabono-get-customer",
|
|
30
30
|
name: "Get Customer by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").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 IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").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 IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":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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,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const ProabonoGetCustomerOutput: z.ZodObject<{
|
|
|
12
12
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -23,7 +23,7 @@ declare const ProabonoGetCustomerOutput: z.ZodObject<{
|
|
|
23
23
|
StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const proabonoGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
id: number;
|
|
29
29
|
id_business?: number | undefined;
|
|
@@ -12,7 +12,7 @@ declare const ProabonoGetCustomerOutput: z.ZodObject<{
|
|
|
12
12
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -23,7 +23,7 @@ declare const ProabonoGetCustomerOutput: z.ZodObject<{
|
|
|
23
23
|
StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const proabonoGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
id: number;
|
|
29
29
|
id_business?: number | undefined;
|
|
@@ -8,7 +8,7 @@ const ProabonoGetCustomerInput = z.object({
|
|
|
8
8
|
const ProabonoGetCustomer_CustomerLinkSchema = z.object({
|
|
9
9
|
rel: z.string().describe("Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')").nullable().optional(),
|
|
10
10
|
href: z.string().describe("API endpoint path for the related resource").nullable().optional()
|
|
11
|
-
}).describe("Model for HATEOAS navigation links in customer response.");
|
|
11
|
+
}).passthrough().describe("Model for HATEOAS navigation links in customer response.");
|
|
12
12
|
const proabonoGetCustomer = action("PROABONO_GET_CUSTOMER", {
|
|
13
13
|
slug: "proabono-get-customer",
|
|
14
14
|
name: "Get Customer by ID",
|
|
@@ -29,7 +29,7 @@ const proabonoGetCustomer = action("PROABONO_GET_CUSTOMER", {
|
|
|
29
29
|
StateCustomer: z.string().describe("Technical state of the customer (e.g., 'Enabled', 'Disabled')").nullable().optional(),
|
|
30
30
|
IdUserCreation: z.number().int().describe("User ID who created the customer record").nullable().optional(),
|
|
31
31
|
ReferenceCustomer: z.string().describe("Shared key of the customer between ProAbono and your application").nullable().optional()
|
|
32
|
-
}).describe("Response model for a ProAbono customer retrieved by ID.")
|
|
32
|
+
}).passthrough().describe("Response model for a ProAbono customer retrieved by ID.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { proabonoGetCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").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 IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").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 IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAA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CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ProabonoGetDiscountInput = zod.z.object({
|
|
|
8
8
|
const ProabonoGetDiscount_LinkSchema = zod.z.object({
|
|
9
9
|
rel: zod.z.string().describe("Relation type of the link").nullable().optional(),
|
|
10
10
|
href: zod.z.string().describe("URL of the linked resource").nullable().optional()
|
|
11
|
-
}).describe("HATEOAS link.");
|
|
11
|
+
}).passthrough().describe("HATEOAS link.");
|
|
12
12
|
const ProabonoGetDiscount_DiscountTypeOffSchema = zod.z.enum(["Flat", "PerTenThousand"]).describe("Type of discount.");
|
|
13
13
|
const ProabonoGetDiscount_StateLifeCycleSchema = zod.z.enum([
|
|
14
14
|
"Ok",
|
|
@@ -42,7 +42,7 @@ const ProabonoGetDiscountOutput = zod.z.object({
|
|
|
42
42
|
StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),
|
|
43
43
|
IdUserCreation: zod.z.number().int().describe("ID of user who created the discount").nullable().optional(),
|
|
44
44
|
ReferenceDiscount: zod.z.string().describe("Shared reference key with external systems").nullable().optional()
|
|
45
|
-
}).describe("Response model for a discount retrieved from the Backoffice API.");
|
|
45
|
+
}).passthrough().describe("Response model for a discount retrieved from the Backoffice API.");
|
|
46
46
|
const proabonoGetDiscount = require_action.action("PROABONO_GET_DISCOUNT", {
|
|
47
47
|
slug: "proabono-get-discount",
|
|
48
48
|
name: "Get Discount",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-discount.cjs","names":["z","action"],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetDiscountInput = z.object({\n Id: z.number().int().describe(\"The discount ID to retrieve\"),\n IdBusiness: z.number().int().describe(\"Your business ID\"),\n}).describe(\"Request model for retrieving a discount by ID.\");\nconst ProabonoGetDiscount_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the discount\").nullable().optional(),\n Name: z.string().describe(\"Display name of the discount\").nullable().optional(),\n Links: z.array(ProabonoGetDiscount_LinkSchema).describe(\"HATEOAS links including self reference\").nullable().optional(),\n TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),\n AmountOff: z.number().int().describe(\"Discount amount in cents or per ten thousand\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),\n TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last modified the discount\").nullable().optional(),\n StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the discount\").nullable().optional(),\n ReferenceDiscount: z.string().describe(\"Shared reference key with external systems\").nullable().optional(),\n}).describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount = action(\"PROABONO_GET_DISCOUNT\", {\n slug: \"proabono-get-discount\",\n name: \"Get Discount\",\n description: \"Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.\",\n input: ProabonoGetDiscountInput,\n output: ProabonoGetDiscountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AAC1D,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,eAAe;
|
|
1
|
+
{"version":3,"file":"get-discount.cjs","names":["z","action"],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetDiscountInput = z.object({\n Id: z.number().int().describe(\"The discount ID to retrieve\"),\n IdBusiness: z.number().int().describe(\"Your business ID\"),\n}).describe(\"Request model for retrieving a discount by ID.\");\nconst ProabonoGetDiscount_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the discount\").nullable().optional(),\n Name: z.string().describe(\"Display name of the discount\").nullable().optional(),\n Links: z.array(ProabonoGetDiscount_LinkSchema).describe(\"HATEOAS links including self reference\").nullable().optional(),\n TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),\n AmountOff: z.number().int().describe(\"Discount amount in cents or per ten thousand\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),\n TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last modified the discount\").nullable().optional(),\n StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the discount\").nullable().optional(),\n ReferenceDiscount: z.string().describe(\"Shared reference key with external systems\").nullable().optional(),\n}).passthrough().describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount = action(\"PROABONO_GET_DISCOUNT\", {\n slug: \"proabono-get-discount\",\n name: \"Get Discount\",\n description: \"Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.\",\n input: ProabonoGetDiscountInput,\n output: ProabonoGetDiscountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AAC1D,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,eAAe;AACzC,MAAM,4CAA4CA,IAAAA,EAAE,KAAK,CAAC,QAAQ,gBAAgB,CAAC,CAAC,CAAC,SAAS,mBAAmB;AACjH,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAM;CAAc;CAAgB;CAAkB;CAAsB;AAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC5L,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAc;CAAW;CAAc;CAAgB;AAAK,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACnK,MAAM,0CAA0CA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC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AE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const ProabonoGetDiscountOutput: z.ZodObject<{
|
|
|
11
11
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
TypeOff: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16
16
|
Flat: "Flat";
|
|
17
17
|
PerTenThousand: "PerTenThousand";
|
|
@@ -43,7 +43,7 @@ declare const ProabonoGetDiscountOutput: z.ZodObject<{
|
|
|
43
43
|
}>>>;
|
|
44
44
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
ReferenceDiscount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const proabonoGetDiscount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
Id: number;
|
|
49
49
|
IdBusiness: number;
|
|
@@ -11,7 +11,7 @@ declare const ProabonoGetDiscountOutput: z.ZodObject<{
|
|
|
11
11
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
TypeOff: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16
16
|
Flat: "Flat";
|
|
17
17
|
PerTenThousand: "PerTenThousand";
|
|
@@ -43,7 +43,7 @@ declare const ProabonoGetDiscountOutput: z.ZodObject<{
|
|
|
43
43
|
}>>>;
|
|
44
44
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
ReferenceDiscount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const proabonoGetDiscount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
Id: number;
|
|
49
49
|
IdBusiness: number;
|
|
@@ -8,7 +8,7 @@ const ProabonoGetDiscountInput = z.object({
|
|
|
8
8
|
const ProabonoGetDiscount_LinkSchema = z.object({
|
|
9
9
|
rel: z.string().describe("Relation type of the link").nullable().optional(),
|
|
10
10
|
href: z.string().describe("URL of the linked resource").nullable().optional()
|
|
11
|
-
}).describe("HATEOAS link.");
|
|
11
|
+
}).passthrough().describe("HATEOAS link.");
|
|
12
12
|
const ProabonoGetDiscount_DiscountTypeOffSchema = z.enum(["Flat", "PerTenThousand"]).describe("Type of discount.");
|
|
13
13
|
const ProabonoGetDiscount_StateLifeCycleSchema = z.enum([
|
|
14
14
|
"Ok",
|
|
@@ -47,7 +47,7 @@ const proabonoGetDiscount = action("PROABONO_GET_DISCOUNT", {
|
|
|
47
47
|
StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),
|
|
48
48
|
IdUserCreation: z.number().int().describe("ID of user who created the discount").nullable().optional(),
|
|
49
49
|
ReferenceDiscount: z.string().describe("Shared reference key with external systems").nullable().optional()
|
|
50
|
-
}).describe("Response model for a discount retrieved from the Backoffice API.")
|
|
50
|
+
}).passthrough().describe("Response model for a discount retrieved from the Backoffice API.")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { proabonoGetDiscount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-discount.mjs","names":[],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetDiscountInput = z.object({\n Id: z.number().int().describe(\"The discount ID to retrieve\"),\n IdBusiness: z.number().int().describe(\"Your business ID\"),\n}).describe(\"Request model for retrieving a discount by ID.\");\nconst ProabonoGetDiscount_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the discount\").nullable().optional(),\n Name: z.string().describe(\"Display name of the discount\").nullable().optional(),\n Links: z.array(ProabonoGetDiscount_LinkSchema).describe(\"HATEOAS links including self reference\").nullable().optional(),\n TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),\n AmountOff: z.number().int().describe(\"Discount amount in cents or per ten thousand\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),\n TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last modified the discount\").nullable().optional(),\n StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the discount\").nullable().optional(),\n ReferenceDiscount: z.string().describe(\"Shared reference key with external systems\").nullable().optional(),\n}).describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount = action(\"PROABONO_GET_DISCOUNT\", {\n slug: \"proabono-get-discount\",\n name: \"Get Discount\",\n description: \"Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.\",\n input: ProabonoGetDiscountInput,\n output: ProabonoGetDiscountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AAC1D,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iCAAiC,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,eAAe;
|
|
1
|
+
{"version":3,"file":"get-discount.mjs","names":[],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetDiscountInput = z.object({\n Id: z.number().int().describe(\"The discount ID to retrieve\"),\n IdBusiness: z.number().int().describe(\"Your business ID\"),\n}).describe(\"Request model for retrieving a discount by ID.\");\nconst ProabonoGetDiscount_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the discount\").nullable().optional(),\n Name: z.string().describe(\"Display name of the discount\").nullable().optional(),\n Links: z.array(ProabonoGetDiscount_LinkSchema).describe(\"HATEOAS links including self reference\").nullable().optional(),\n TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),\n AmountOff: z.number().int().describe(\"Discount amount in cents or per ten thousand\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),\n TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last modified the discount\").nullable().optional(),\n StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the discount\").nullable().optional(),\n ReferenceDiscount: z.string().describe(\"Shared reference key with external systems\").nullable().optional(),\n}).passthrough().describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount = action(\"PROABONO_GET_DISCOUNT\", {\n slug: \"proabono-get-discount\",\n name: \"Get Discount\",\n description: \"Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.\",\n input: ProabonoGetDiscountInput,\n output: ProabonoGetDiscountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AAC1D,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iCAAiC,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,eAAe;AACzC,MAAM,4CAA4C,EAAE,KAAK,CAAC,QAAQ,gBAAgB,CAAC,CAAC,CAAC,SAAS,mBAAmB;AACjH,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAM;CAAc;CAAgB;CAAkB;CAAsB;AAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC5L,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAc;CAAW;CAAc;CAAgB;AAAK,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,SAAS;EACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ProabonoGetFeatureInput = zod.z.object({
|
|
|
8
8
|
const ProabonoGetFeatureOutput = zod.z.object({
|
|
9
9
|
Id: zod.z.number().int().describe("ID of the Feature Object").nullable(),
|
|
10
10
|
Name: zod.z.string().describe("Name of the Feature").nullable().optional(),
|
|
11
|
-
Links: zod.z.array(zod.z.
|
|
11
|
+
Links: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Collection of HATEOAS links for related resources").nullable().optional(),
|
|
12
12
|
Order: zod.z.number().int().describe("Define the position of the Feature among all Features when displayed").nullable().optional(),
|
|
13
13
|
IdSegment: zod.z.number().int().describe("Associated segment identifier").nullable().optional(),
|
|
14
14
|
IsVisible: zod.z.boolean().describe("Visibility of the Feature in offers and hosted pages").nullable().optional(),
|
|
@@ -20,7 +20,7 @@ const ProabonoGetFeatureOutput = zod.z.object({
|
|
|
20
20
|
IdUserUpdate: zod.z.number().int().describe("User ID who last updated the feature").nullable().optional(),
|
|
21
21
|
IdUserCreation: zod.z.number().int().describe("User ID who created the feature").nullable().optional(),
|
|
22
22
|
ReferenceFeature: zod.z.string().describe("Shared Key of the Feature between ProAbono and your application").nullable().optional()
|
|
23
|
-
}).describe("Response model for a retrieved feature.");
|
|
23
|
+
}).passthrough().describe("Response model for a retrieved feature.");
|
|
24
24
|
const proabonoGetFeature = require_action.action("PROABONO_GET_FEATURE", {
|
|
25
25
|
slug: "proabono-get-feature",
|
|
26
26
|
name: "Get Feature by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-feature.cjs","names":["z","action"],"sources":["../../src/actions/get-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to retrieve\"),\n id_business: z.number().int().describe(\"Optional business identifier filter\").optional(),\n}).describe(\"Request model for retrieving a feature by ID.\");\nexport const ProabonoGetFeatureOutput = z.object({\n Id: z.number().int().describe(\"ID of the Feature Object\").nullable(),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.
|
|
1
|
+
{"version":3,"file":"get-feature.cjs","names":["z","action"],"sources":["../../src/actions/get-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to retrieve\"),\n id_business: z.number().int().describe(\"Optional business identifier filter\").optional(),\n}).describe(\"Request model for retrieving a feature by ID.\");\nexport const ProabonoGetFeatureOutput = z.object({\n Id: z.number().int().describe(\"ID of the Feature Object\").nullable(),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.record(z.string(), z.unknown())).describe(\"Collection of HATEOAS links for related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Define the position of the Feature among all Features when displayed\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility of the Feature in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"State of the Feature\").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 TypeFeature: z.string().describe(\"Type of the Feature (OnOff, Limitation, Consumption)\").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 updated the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared Key of the Feature between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for a retrieved feature.\");\n\nexport const proabonoGetFeature = action(\"PROABONO_GET_FEATURE\", {\n slug: \"proabono-get-feature\",\n name: \"Get Feature by ID\",\n description: \"Tool to retrieve a feature by ID from ProAbono Backoffice API. Use when you need to fetch details about a specific feature.\",\n input: ProabonoGetFeatureInput,\n output: ProabonoGetFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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atureOutput: z.ZodObject<{
|
|
9
9
|
Id: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
11
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
12
|
Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
IsVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -20,7 +20,7 @@ declare const ProabonoGetFeatureOutput: z.ZodObject<{
|
|
|
20
20
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const proabonoGetFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
id_business?: number | undefined;
|
|
@@ -8,7 +8,7 @@ declare const ProabonoGetFeatureInput: z.ZodObject<{
|
|
|
8
8
|
declare const ProabonoGetFeatureOutput: z.ZodObject<{
|
|
9
9
|
Id: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
11
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
12
|
Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
IsVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -20,7 +20,7 @@ declare const ProabonoGetFeatureOutput: z.ZodObject<{
|
|
|
20
20
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const proabonoGetFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
id_business?: number | undefined;
|