@keystrokehq/proabono 0.1.2 → 0.1.3
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/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-offers.cjs","names":["z","action"],"sources":["../../src/actions/list-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n IsVisible: z.boolean().describe(\"Filter offers by visibility status. Set to true to retrieve only visible offers, false for hidden ones.\").optional(),\n StateLife: z.string().describe(\"Filter offers by lifecycle state. Common values include 'Ok' for active offers.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter offers by Business ID. Use to retrieve offers for a specific business entity.\").optional(),\n DateUpdateMin: z.string().describe(\"Filter offers updated after this date. Must be in ISO 8601 format (e.g., '2025-04-27T13:54:00').\").optional(),\n}).describe(\"Request model for listing offers (subscription plans) with optional filters.\");\nconst ProabonoListOffers_LinkObjectSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'next', 'previous')\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n}).describe(\"Represents a link to a related resource.\");\nconst ProabonoListOffers_OfferObjectSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the offer\").nullable().optional(),\n Name: z.string().describe(\"Display name of the offer\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links to related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display position/order among other offers\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Identifier of the segment this offer belongs to\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the offer is visible in hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state of the offer (e.g., 'Ok' for active)\").nullable().optional(),\n UnitTrial: z.string().describe(\"Trial period time unit (e.g., 'day', 'month')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp of the last modification (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Timestamp when the offer was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID of the person who last updated this offer\").nullable().optional(),\n AmountUpFront: z.number().int().describe(\"Setup fee amount in cents (one-time charge)\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Trial period duration quantity\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID of the person who created this offer\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"Shared key of the offer between ProAbono and your application\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Recurrence time unit (e.g., 'day', 'month', 'year')\").nullable().optional(),\n AmountRecurrence: z.number().int().describe(\"Recurring fee amount in cents\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Recurrence period duration quantity\").nullable().optional(),\n}).describe(\"Represents a single offer (subscription plan) in ProAbono.\");\nexport const ProabonoListOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the result set\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in this page\").nullable().optional(),\n Items: z.array(ProabonoListOffers_OfferObjectSchema).describe(\"Array of offer objects returned in this page\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items available across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model for listing offers with pagination metadata.\");\n\nexport const proabonoListOffers = action(\"PROABONO_LIST_OFFERS\", {\n slug: \"proabono-list-offers\",\n name: \"List Offers\",\n description: \"Tool to list all subscription offers (plans) from ProAbono Backoffice API. Use when you need to retrieve available offers with optional filtering by business, state, visibility, or update date.\",\n input: ProabonoListOffersInput,\n output: ProabonoListOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACvI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"list-offers.cjs","names":["z","action"],"sources":["../../src/actions/list-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n IsVisible: z.boolean().describe(\"Filter offers by visibility status. Set to true to retrieve only visible offers, false for hidden ones.\").optional(),\n StateLife: z.string().describe(\"Filter offers by lifecycle state. Common values include 'Ok' for active offers.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter offers by Business ID. Use to retrieve offers for a specific business entity.\").optional(),\n DateUpdateMin: z.string().describe(\"Filter offers updated after this date. Must be in ISO 8601 format (e.g., '2025-04-27T13:54:00').\").optional(),\n}).describe(\"Request model for listing offers (subscription plans) with optional filters.\");\nconst ProabonoListOffers_LinkObjectSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'next', 'previous')\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n}).passthrough().describe(\"Represents a link to a related resource.\");\nconst ProabonoListOffers_OfferObjectSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the offer\").nullable().optional(),\n Name: z.string().describe(\"Display name of the offer\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links to related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display position/order among other offers\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Identifier of the segment this offer belongs to\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the offer is visible in hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state of the offer (e.g., 'Ok' for active)\").nullable().optional(),\n UnitTrial: z.string().describe(\"Trial period time unit (e.g., 'day', 'month')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp of the last modification (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Timestamp when the offer was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID of the person who last updated this offer\").nullable().optional(),\n AmountUpFront: z.number().int().describe(\"Setup fee amount in cents (one-time charge)\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Trial period duration quantity\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID of the person who created this offer\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"Shared key of the offer between ProAbono and your application\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Recurrence time unit (e.g., 'day', 'month', 'year')\").nullable().optional(),\n AmountRecurrence: z.number().int().describe(\"Recurring fee amount in cents\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Recurrence period duration quantity\").nullable().optional(),\n}).passthrough().describe(\"Represents a single offer (subscription plan) in ProAbono.\");\nexport const ProabonoListOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the result set\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in this page\").nullable().optional(),\n Items: z.array(ProabonoListOffers_OfferObjectSchema).describe(\"Array of offer objects returned in this page\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items available across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing offers with pagination metadata.\");\n\nexport const proabonoListOffers = action(\"PROABONO_LIST_OFFERS\", {\n slug: \"proabono-list-offers\",\n name: \"List Offers\",\n description: \"Tool to list all subscription offers (plans) from ProAbono Backoffice API. Use when you need to retrieve available offers with optional filtering by business, state, visibility, or update date.\",\n input: ProabonoListOffersInput,\n output: ProabonoListOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WA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;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const ProabonoListOffersOutput: z.ZodObject<{
|
|
|
18
18
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
22
|
Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
IsVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -34,15 +34,15 @@ declare const ProabonoListOffersOutput: z.ZodObject<{
|
|
|
34
34
|
UnitRecurrence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
AmountRecurrence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
DurationRecurrence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
38
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const proabonoListOffers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
page?: number | undefined;
|
|
48
48
|
IsVisible?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ declare const ProabonoListOffersOutput: z.ZodObject<{
|
|
|
18
18
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
22
|
Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
IsVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -34,15 +34,15 @@ declare const ProabonoListOffersOutput: z.ZodObject<{
|
|
|
34
34
|
UnitRecurrence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
AmountRecurrence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
DurationRecurrence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
38
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const proabonoListOffers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
page?: number | undefined;
|
|
48
48
|
IsVisible?: boolean | undefined;
|
|
@@ -12,7 +12,7 @@ const ProabonoListOffersInput = z.object({
|
|
|
12
12
|
const ProabonoListOffers_LinkObjectSchema = z.object({
|
|
13
13
|
rel: z.string().describe("Relationship type of the link (e.g., 'self', 'next', 'previous')").nullable().optional(),
|
|
14
14
|
href: z.string().describe("URL of the related resource").nullable().optional()
|
|
15
|
-
}).describe("Represents a link to a related resource.");
|
|
15
|
+
}).passthrough().describe("Represents a link to a related resource.");
|
|
16
16
|
const ProabonoListOffers_OfferObjectSchema = z.object({
|
|
17
17
|
Id: z.number().int().describe("Unique identifier for the offer").nullable().optional(),
|
|
18
18
|
Name: z.string().describe("Display name of the offer").nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const ProabonoListOffers_OfferObjectSchema = z.object({
|
|
|
32
32
|
UnitRecurrence: z.string().describe("Recurrence time unit (e.g., 'day', 'month', 'year')").nullable().optional(),
|
|
33
33
|
AmountRecurrence: z.number().int().describe("Recurring fee amount in cents").nullable().optional(),
|
|
34
34
|
DurationRecurrence: z.number().int().describe("Recurrence period duration quantity").nullable().optional()
|
|
35
|
-
}).describe("Represents a single offer (subscription plan) in ProAbono.");
|
|
35
|
+
}).passthrough().describe("Represents a single offer (subscription plan) in ProAbono.");
|
|
36
36
|
const proabonoListOffers = action("PROABONO_LIST_OFFERS", {
|
|
37
37
|
slug: "proabono-list-offers",
|
|
38
38
|
name: "List Offers",
|
|
@@ -46,7 +46,7 @@ const proabonoListOffers = action("PROABONO_LIST_OFFERS", {
|
|
|
46
46
|
SizePage: z.number().int().describe("Number of items per page").nullable().optional(),
|
|
47
47
|
TotalItems: z.number().int().describe("Total number of items available across all pages").nullable().optional(),
|
|
48
48
|
DateGenerated: z.string().describe("Timestamp when this response was generated (ISO 8601 format)").nullable().optional()
|
|
49
|
-
}).describe("Response model for listing offers with pagination metadata.")
|
|
49
|
+
}).passthrough().describe("Response model for listing offers with pagination metadata.")
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { proabonoListOffers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-offers.mjs","names":[],"sources":["../../src/actions/list-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n IsVisible: z.boolean().describe(\"Filter offers by visibility status. Set to true to retrieve only visible offers, false for hidden ones.\").optional(),\n StateLife: z.string().describe(\"Filter offers by lifecycle state. Common values include 'Ok' for active offers.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter offers by Business ID. Use to retrieve offers for a specific business entity.\").optional(),\n DateUpdateMin: z.string().describe(\"Filter offers updated after this date. Must be in ISO 8601 format (e.g., '2025-04-27T13:54:00').\").optional(),\n}).describe(\"Request model for listing offers (subscription plans) with optional filters.\");\nconst ProabonoListOffers_LinkObjectSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'next', 'previous')\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n}).describe(\"Represents a link to a related resource.\");\nconst ProabonoListOffers_OfferObjectSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the offer\").nullable().optional(),\n Name: z.string().describe(\"Display name of the offer\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links to related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display position/order among other offers\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Identifier of the segment this offer belongs to\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the offer is visible in hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state of the offer (e.g., 'Ok' for active)\").nullable().optional(),\n UnitTrial: z.string().describe(\"Trial period time unit (e.g., 'day', 'month')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp of the last modification (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Timestamp when the offer was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID of the person who last updated this offer\").nullable().optional(),\n AmountUpFront: z.number().int().describe(\"Setup fee amount in cents (one-time charge)\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Trial period duration quantity\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID of the person who created this offer\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"Shared key of the offer between ProAbono and your application\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Recurrence time unit (e.g., 'day', 'month', 'year')\").nullable().optional(),\n AmountRecurrence: z.number().int().describe(\"Recurring fee amount in cents\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Recurrence period duration quantity\").nullable().optional(),\n}).describe(\"Represents a single offer (subscription plan) in ProAbono.\");\nexport const ProabonoListOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the result set\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in this page\").nullable().optional(),\n Items: z.array(ProabonoListOffers_OfferObjectSchema).describe(\"Array of offer objects returned in this page\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items available across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model for listing offers with pagination metadata.\");\n\nexport const proabonoListOffers = action(\"PROABONO_LIST_OFFERS\", {\n slug: \"proabono-list-offers\",\n name: \"List Offers\",\n description: \"Tool to list all subscription offers (plans) from ProAbono Backoffice API. Use when you need to retrieve available offers with optional filtering by business, state, visibility, or update date.\",\n input: ProabonoListOffersInput,\n output: ProabonoListOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACvI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,sCAAsC,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"list-offers.mjs","names":[],"sources":["../../src/actions/list-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n IsVisible: z.boolean().describe(\"Filter offers by visibility status. Set to true to retrieve only visible offers, false for hidden ones.\").optional(),\n StateLife: z.string().describe(\"Filter offers by lifecycle state. Common values include 'Ok' for active offers.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter offers by Business ID. Use to retrieve offers for a specific business entity.\").optional(),\n DateUpdateMin: z.string().describe(\"Filter offers updated after this date. Must be in ISO 8601 format (e.g., '2025-04-27T13:54:00').\").optional(),\n}).describe(\"Request model for listing offers (subscription plans) with optional filters.\");\nconst ProabonoListOffers_LinkObjectSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'next', 'previous')\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n}).passthrough().describe(\"Represents a link to a related resource.\");\nconst ProabonoListOffers_OfferObjectSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the offer\").nullable().optional(),\n Name: z.string().describe(\"Display name of the offer\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links to related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display position/order among other offers\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Identifier of the segment this offer belongs to\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the offer is visible in hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state of the offer (e.g., 'Ok' for active)\").nullable().optional(),\n UnitTrial: z.string().describe(\"Trial period time unit (e.g., 'day', 'month')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp of the last modification (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Timestamp when the offer was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID of the person who last updated this offer\").nullable().optional(),\n AmountUpFront: z.number().int().describe(\"Setup fee amount in cents (one-time charge)\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Trial period duration quantity\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID of the person who created this offer\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"Shared key of the offer between ProAbono and your application\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Recurrence time unit (e.g., 'day', 'month', 'year')\").nullable().optional(),\n AmountRecurrence: z.number().int().describe(\"Recurring fee amount in cents\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Recurrence period duration quantity\").nullable().optional(),\n}).passthrough().describe(\"Represents a single offer (subscription plan) in ProAbono.\");\nexport const ProabonoListOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the result set\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in this page\").nullable().optional(),\n Items: z.array(ProabonoListOffers_OfferObjectSchema).describe(\"Array of offer objects returned in this page\").nullable().optional(),\n Links: z.array(ProabonoListOffers_LinkObjectSchema).describe(\"Array of links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items available across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing offers with pagination metadata.\");\n\nexport const proabonoListOffers = action(\"PROABONO_LIST_OFFERS\", {\n slug: \"proabono-list-offers\",\n name: \"List Offers\",\n description: \"Tool to list all subscription offers (plans) from ProAbono Backoffice API. Use when you need to retrieve available offers with optional filtering by business, state, visibility, or update date.\",\n input: ProabonoListOffersInput,\n output: ProabonoListOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACvI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,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,oCAAoC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ProabonoListPaymentsInput = zod.z.object({
|
|
|
11
11
|
const ProabonoListPayments_PaymentLinksSchema = zod.z.object({
|
|
12
12
|
rel: zod.z.string().describe("Relation type of the link").nullable().optional(),
|
|
13
13
|
href: zod.z.string().describe("URL of the linked resource").nullable().optional()
|
|
14
|
-
}).describe("Links related to a payment resource.");
|
|
14
|
+
}).passthrough().describe("Links related to a payment resource.");
|
|
15
15
|
const ProabonoListPayments_PaymentItemSchema = zod.z.object({
|
|
16
16
|
Id: zod.z.number().int().describe("Unique identifier of the payment").nullable().optional(),
|
|
17
17
|
Type: zod.z.string().describe("Type of payment").nullable().optional(),
|
|
@@ -27,7 +27,7 @@ const ProabonoListPayments_PaymentItemSchema = zod.z.object({
|
|
|
27
27
|
DateCreation: zod.z.string().describe("Date when payment was created (ISO 8601 format)").nullable().optional(),
|
|
28
28
|
IdUserUpdate: zod.z.number().int().describe("ID of user who last updated the payment").nullable().optional(),
|
|
29
29
|
IdUserCreation: zod.z.number().int().describe("ID of user who created the payment").nullable().optional()
|
|
30
|
-
}).describe("Individual payment object returned in the list.");
|
|
30
|
+
}).passthrough().describe("Individual payment object returned in the list.");
|
|
31
31
|
const ProabonoListPaymentsOutput = zod.z.object({
|
|
32
32
|
Page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
33
33
|
Count: zod.z.number().int().describe("Number of items in current page").nullable().optional(),
|
|
@@ -36,7 +36,7 @@ const ProabonoListPaymentsOutput = zod.z.object({
|
|
|
36
36
|
SizePage: zod.z.number().int().describe("Number of items per page").nullable().optional(),
|
|
37
37
|
TotalItems: zod.z.number().int().describe("Total number of items across all pages").nullable().optional(),
|
|
38
38
|
DateGenerated: zod.z.string().describe("Date when the response was generated").nullable().optional()
|
|
39
|
-
}).describe("Response model for listing payments from ProAbono.");
|
|
39
|
+
}).passthrough().describe("Response model for listing payments from ProAbono.");
|
|
40
40
|
const proabonoListPayments = require_action.action("PROABONO_LIST_PAYMENTS", {
|
|
41
41
|
slug: "proabono-list-payments",
|
|
42
42
|
name: "List Payments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-payments.cjs","names":["z","action"],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPaymentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter payments by Business ID\").optional(),\n IdCustomer: z.number().int().describe(\"Filter payments by Customer ID\").optional(),\n DateUpdateMin: z.string().describe(\"Filter payments updated after this date (ISO 8601 format, e.g., 2025-07-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing payments from ProAbono.\");\nconst ProabonoListPayments_PaymentLinksSchema = 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(\"Links related to a payment resource.\");\nconst ProabonoListPayments_PaymentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the payment\").nullable().optional(),\n Type: z.string().describe(\"Type of payment\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Related resource links\").nullable().optional(),\n State: z.string().describe(\"Current state of the payment\").nullable().optional(),\n Amount: z.number().int().describe(\"Payment amount in cents\").nullable().optional(),\n Status: z.string().describe(\"Payment status\").nullable().optional(),\n Currency: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date when payment was last updated (ISO 8601 format)\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with the payment\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with the payment\").nullable().optional(),\n DatePayment: z.string().describe(\"Date when payment was made (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date when payment was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last updated the payment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the payment\").nullable().optional(),\n}).describe(\"Individual payment object returned in the list.\");\nexport const ProabonoListPaymentsOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListPayments_PaymentItemSchema).describe(\"List of payment objects\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Pagination links (next, previous, etc.)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Date when the response was generated\").nullable().optional(),\n}).describe(\"Response model for listing payments from ProAbono.\");\n\nexport const proabonoListPayments = action(\"PROABONO_LIST_PAYMENTS\", {\n slug: \"proabono-list-payments\",\n name: \"List Payments\",\n description: \"Tool to list all payments from ProAbono Backoffice API. Use when you need to retrieve payments with optional filters by business, customer, or update date.\",\n input: ProabonoListPaymentsInput,\n output: ProabonoListPaymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,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,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-payments.cjs","names":["z","action"],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPaymentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter payments by Business ID\").optional(),\n IdCustomer: z.number().int().describe(\"Filter payments by Customer ID\").optional(),\n DateUpdateMin: z.string().describe(\"Filter payments updated after this date (ISO 8601 format, e.g., 2025-07-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing payments from ProAbono.\");\nconst ProabonoListPayments_PaymentLinksSchema = 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(\"Links related to a payment resource.\");\nconst ProabonoListPayments_PaymentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the payment\").nullable().optional(),\n Type: z.string().describe(\"Type of payment\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Related resource links\").nullable().optional(),\n State: z.string().describe(\"Current state of the payment\").nullable().optional(),\n Amount: z.number().int().describe(\"Payment amount in cents\").nullable().optional(),\n Status: z.string().describe(\"Payment status\").nullable().optional(),\n Currency: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date when payment was last updated (ISO 8601 format)\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with the payment\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with the payment\").nullable().optional(),\n DatePayment: z.string().describe(\"Date when payment was made (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date when payment was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last updated the payment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the payment\").nullable().optional(),\n}).passthrough().describe(\"Individual payment object returned in the list.\");\nexport const ProabonoListPaymentsOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListPayments_PaymentItemSchema).describe(\"List of payment objects\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Pagination links (next, previous, etc.)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Date when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing payments from ProAbono.\");\n\nexport const proabonoListPayments = action(\"PROABONO_LIST_PAYMENTS\", {\n slug: \"proabono-list-payments\",\n name: \"List Payments\",\n description: \"Tool to list all payments from ProAbono Backoffice API. Use when you need to retrieve payments with optional filters by business, customer, or update date.\",\n input: ProabonoListPaymentsInput,\n output: ProabonoListPaymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,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,sCAAsC;AAChE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,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ject<{
|
|
|
17
17
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
18
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
State: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
Amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,15 +29,15 @@ declare const ProabonoListPaymentsOutput: z.ZodObject<{
|
|
|
29
29
|
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
33
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const proabonoListPayments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
page?: number | undefined;
|
|
43
43
|
size_page?: number | undefined;
|
|
@@ -17,7 +17,7 @@ declare const ProabonoListPaymentsOutput: z.ZodObject<{
|
|
|
17
17
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
18
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
State: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
Amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,15 +29,15 @@ declare const ProabonoListPaymentsOutput: z.ZodObject<{
|
|
|
29
29
|
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>>;
|
|
33
33
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const proabonoListPayments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
page?: number | undefined;
|
|
43
43
|
size_page?: number | undefined;
|
|
@@ -11,7 +11,7 @@ const ProabonoListPaymentsInput = z.object({
|
|
|
11
11
|
const ProabonoListPayments_PaymentLinksSchema = z.object({
|
|
12
12
|
rel: z.string().describe("Relation type of the link").nullable().optional(),
|
|
13
13
|
href: z.string().describe("URL of the linked resource").nullable().optional()
|
|
14
|
-
}).describe("Links related to a payment resource.");
|
|
14
|
+
}).passthrough().describe("Links related to a payment resource.");
|
|
15
15
|
const ProabonoListPayments_PaymentItemSchema = z.object({
|
|
16
16
|
Id: z.number().int().describe("Unique identifier of the payment").nullable().optional(),
|
|
17
17
|
Type: z.string().describe("Type of payment").nullable().optional(),
|
|
@@ -27,7 +27,7 @@ const ProabonoListPayments_PaymentItemSchema = z.object({
|
|
|
27
27
|
DateCreation: z.string().describe("Date when payment was created (ISO 8601 format)").nullable().optional(),
|
|
28
28
|
IdUserUpdate: z.number().int().describe("ID of user who last updated the payment").nullable().optional(),
|
|
29
29
|
IdUserCreation: z.number().int().describe("ID of user who created the payment").nullable().optional()
|
|
30
|
-
}).describe("Individual payment object returned in the list.");
|
|
30
|
+
}).passthrough().describe("Individual payment object returned in the list.");
|
|
31
31
|
const proabonoListPayments = action("PROABONO_LIST_PAYMENTS", {
|
|
32
32
|
slug: "proabono-list-payments",
|
|
33
33
|
name: "List Payments",
|
|
@@ -41,7 +41,7 @@ const proabonoListPayments = action("PROABONO_LIST_PAYMENTS", {
|
|
|
41
41
|
SizePage: z.number().int().describe("Number of items per page").nullable().optional(),
|
|
42
42
|
TotalItems: z.number().int().describe("Total number of items across all pages").nullable().optional(),
|
|
43
43
|
DateGenerated: z.string().describe("Date when the response was generated").nullable().optional()
|
|
44
|
-
}).describe("Response model for listing payments from ProAbono.")
|
|
44
|
+
}).passthrough().describe("Response model for listing payments from ProAbono.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { proabonoListPayments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-payments.mjs","names":[],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPaymentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter payments by Business ID\").optional(),\n IdCustomer: z.number().int().describe(\"Filter payments by Customer ID\").optional(),\n DateUpdateMin: z.string().describe(\"Filter payments updated after this date (ISO 8601 format, e.g., 2025-07-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing payments from ProAbono.\");\nconst ProabonoListPayments_PaymentLinksSchema = 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(\"Links related to a payment resource.\");\nconst ProabonoListPayments_PaymentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the payment\").nullable().optional(),\n Type: z.string().describe(\"Type of payment\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Related resource links\").nullable().optional(),\n State: z.string().describe(\"Current state of the payment\").nullable().optional(),\n Amount: z.number().int().describe(\"Payment amount in cents\").nullable().optional(),\n Status: z.string().describe(\"Payment status\").nullable().optional(),\n Currency: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date when payment was last updated (ISO 8601 format)\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with the payment\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with the payment\").nullable().optional(),\n DatePayment: z.string().describe(\"Date when payment was made (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date when payment was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last updated the payment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the payment\").nullable().optional(),\n}).describe(\"Individual payment object returned in the list.\");\nexport const ProabonoListPaymentsOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListPayments_PaymentItemSchema).describe(\"List of payment objects\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Pagination links (next, previous, etc.)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Date when the response was generated\").nullable().optional(),\n}).describe(\"Response model for listing payments from ProAbono.\");\n\nexport const proabonoListPayments = action(\"PROABONO_LIST_PAYMENTS\", {\n slug: \"proabono-list-payments\",\n name: \"List Payments\",\n description: \"Tool to list all payments from ProAbono Backoffice API. Use when you need to retrieve payments with optional filters by business, customer, or update date.\",\n input: ProabonoListPaymentsInput,\n output: ProabonoListPaymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0C,EAAE,OAAO;CACvD,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,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-payments.mjs","names":[],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPaymentsInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter payments by Business ID\").optional(),\n IdCustomer: z.number().int().describe(\"Filter payments by Customer ID\").optional(),\n DateUpdateMin: z.string().describe(\"Filter payments updated after this date (ISO 8601 format, e.g., 2025-07-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing payments from ProAbono.\");\nconst ProabonoListPayments_PaymentLinksSchema = 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(\"Links related to a payment resource.\");\nconst ProabonoListPayments_PaymentItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the payment\").nullable().optional(),\n Type: z.string().describe(\"Type of payment\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Related resource links\").nullable().optional(),\n State: z.string().describe(\"Current state of the payment\").nullable().optional(),\n Amount: z.number().int().describe(\"Payment amount in cents\").nullable().optional(),\n Status: z.string().describe(\"Payment status\").nullable().optional(),\n Currency: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date when payment was last updated (ISO 8601 format)\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with the payment\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with the payment\").nullable().optional(),\n DatePayment: z.string().describe(\"Date when payment was made (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date when payment was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last updated the payment\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the payment\").nullable().optional(),\n}).passthrough().describe(\"Individual payment object returned in the list.\");\nexport const ProabonoListPaymentsOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListPayments_PaymentItemSchema).describe(\"List of payment objects\").nullable().optional(),\n Links: z.array(ProabonoListPayments_PaymentLinksSchema).describe(\"Pagination links (next, previous, etc.)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Date when the response was generated\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing payments from ProAbono.\");\n\nexport const proabonoListPayments = action(\"PROABONO_LIST_PAYMENTS\", {\n slug: \"proabono-list-payments\",\n name: \"List Payments\",\n description: \"Tool to list all payments from ProAbono Backoffice API. Use when you need to retrieve payments with optional filters by business, customer, or update date.\",\n input: ProabonoListPaymentsInput,\n output: ProabonoListPaymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0C,EA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,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ProabonoListPricingTableOffersInput = zod.z.object({
|
|
|
9
9
|
const ProabonoListPricingTableOffers_LinkSchema = zod.z.object({
|
|
10
10
|
rel: zod.z.string().describe("The relationship type of the link (e.g., 'self', 'next', 'prev').").nullable().optional(),
|
|
11
11
|
href: zod.z.string().describe("The URL of the linked resource.").nullable().optional()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ProabonoListPricingTableOffers_PricingTableOfferSchema = zod.z.object({
|
|
14
14
|
Id: zod.z.number().int().describe("Unique identifier of the pricing table offer.").nullable().optional(),
|
|
15
15
|
Links: zod.z.array(ProabonoListPricingTableOffers_LinkSchema).describe("List of hypermedia links related to this pricing table offer.").nullable().optional(),
|
|
@@ -18,7 +18,7 @@ const ProabonoListPricingTableOffers_PricingTableOfferSchema = zod.z.object({
|
|
|
18
18
|
DateUpdate: zod.z.string().describe("Timestamp when the pricing table offer was last updated (ISO 8601 format).").nullable().optional(),
|
|
19
19
|
IdUserUpdate: zod.z.number().int().describe("ID of the user who last updated this pricing table offer.").nullable().optional(),
|
|
20
20
|
IdPricingTable: zod.z.number().int().describe("ID of the pricing table this offer belongs to.").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const ProabonoListPricingTableOffersOutput = zod.z.object({
|
|
23
23
|
Page: zod.z.number().int().describe("Current page number in the paginated results.").nullable().optional(),
|
|
24
24
|
Count: zod.z.number().int().describe("Number of items returned in the current page.").nullable().optional(),
|
|
@@ -27,7 +27,7 @@ const ProabonoListPricingTableOffersOutput = zod.z.object({
|
|
|
27
27
|
SizePage: zod.z.number().int().describe("Number of items per page.").nullable().optional(),
|
|
28
28
|
TotalItems: zod.z.number().int().describe("Total number of pricing table offers available across all pages.").nullable().optional(),
|
|
29
29
|
DateGenerated: zod.z.string().describe("Timestamp when this response was generated (ISO 8601 format).").nullable().optional()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const proabonoListPricingTableOffers = require_action.action("PROABONO_LIST_PRICING_TABLE_OFFERS", {
|
|
32
32
|
slug: "proabono-list-pricing-table-offers",
|
|
33
33
|
name: "List Pricing Table Offers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pricing-table-offers.cjs","names":["z","action"],"sources":["../../src/actions/list-pricing-table-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPricingTableOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID. This is required to identify which business's pricing table offers to retrieve.\"),\n});\nconst ProabonoListPricingTableOffers_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource.\").nullable().optional(),\n});\nconst ProabonoListPricingTableOffers_PricingTableOfferSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the pricing table offer.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links related to this pricing table offer.\").nullable().optional(),\n Order: z.number().int().describe(\"Display order of this offer in the pricing table.\").nullable().optional(),\n IdOffer: z.number().int().describe(\"ID of the offer associated with this pricing table entry.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp when the pricing table offer was last updated (ISO 8601 format).\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated this pricing table offer.\").nullable().optional(),\n IdPricingTable: z.number().int().describe(\"ID of the pricing table this offer belongs to.\").nullable().optional(),\n});\nexport const ProabonoListPricingTableOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in the current page.\").nullable().optional(),\n Items: z.array(ProabonoListPricingTableOffers_PricingTableOfferSchema).describe(\"List of pricing table offer objects.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links for pagination (e.g., next page, previous page).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of pricing table offers available across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format).\").nullable().optional(),\n});\n\nexport const proabonoListPricingTableOffers = action(\"PROABONO_LIST_PRICING_TABLE_OFFERS\", {\n slug: \"proabono-list-pricing-table-offers\",\n name: \"List Pricing Table Offers\",\n description: \"Tool to list all pricing table offers via the ProAbono Backoffice API. Use when you need to retrieve all offers configured in pricing tables for a specific business.\",\n input: ProabonoListPricingTableOffersInput,\n output: ProabonoListPricingTableOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;AAC3I,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC;
|
|
1
|
+
{"version":3,"file":"list-pricing-table-offers.cjs","names":["z","action"],"sources":["../../src/actions/list-pricing-table-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPricingTableOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID. This is required to identify which business's pricing table offers to retrieve.\"),\n});\nconst ProabonoListPricingTableOffers_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource.\").nullable().optional(),\n}).passthrough();\nconst ProabonoListPricingTableOffers_PricingTableOfferSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the pricing table offer.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links related to this pricing table offer.\").nullable().optional(),\n Order: z.number().int().describe(\"Display order of this offer in the pricing table.\").nullable().optional(),\n IdOffer: z.number().int().describe(\"ID of the offer associated with this pricing table entry.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp when the pricing table offer was last updated (ISO 8601 format).\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated this pricing table offer.\").nullable().optional(),\n IdPricingTable: z.number().int().describe(\"ID of the pricing table this offer belongs to.\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListPricingTableOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in the current page.\").nullable().optional(),\n Items: z.array(ProabonoListPricingTableOffers_PricingTableOfferSchema).describe(\"List of pricing table offer objects.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links for pagination (e.g., next page, previous page).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of pricing table offers available across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format).\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListPricingTableOffers = action(\"PROABONO_LIST_PRICING_TABLE_OFFERS\", {\n slug: \"proabono-list-pricing-table-offers\",\n name: \"List Pricing Table Offers\",\n description: \"Tool to list all pricing table offers via the ProAbono Backoffice API. Use when you need to retrieve all offers configured in pricing tables for a specific business.\",\n input: ProabonoListPricingTableOffersInput,\n output: ProabonoListPricingTableOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;AAC3I,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,21 +14,21 @@ declare const ProabonoListPricingTableOffersOutput: z.ZodObject<{
|
|
|
14
14
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
IdOffer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
IdPricingTable: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
25
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
28
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const proabonoListPricingTableOffers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
IdBusiness: number;
|
|
34
34
|
page?: number | undefined;
|
|
@@ -14,21 +14,21 @@ declare const ProabonoListPricingTableOffersOutput: z.ZodObject<{
|
|
|
14
14
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
IdOffer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
IdPricingTable: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
25
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
28
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const proabonoListPricingTableOffers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
IdBusiness: number;
|
|
34
34
|
page?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const ProabonoListPricingTableOffersInput = z.object({
|
|
|
9
9
|
const ProabonoListPricingTableOffers_LinkSchema = z.object({
|
|
10
10
|
rel: z.string().describe("The relationship type of the link (e.g., 'self', 'next', 'prev').").nullable().optional(),
|
|
11
11
|
href: z.string().describe("The URL of the linked resource.").nullable().optional()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const ProabonoListPricingTableOffers_PricingTableOfferSchema = z.object({
|
|
14
14
|
Id: z.number().int().describe("Unique identifier of the pricing table offer.").nullable().optional(),
|
|
15
15
|
Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe("List of hypermedia links related to this pricing table offer.").nullable().optional(),
|
|
@@ -18,7 +18,7 @@ const ProabonoListPricingTableOffers_PricingTableOfferSchema = z.object({
|
|
|
18
18
|
DateUpdate: z.string().describe("Timestamp when the pricing table offer was last updated (ISO 8601 format).").nullable().optional(),
|
|
19
19
|
IdUserUpdate: z.number().int().describe("ID of the user who last updated this pricing table offer.").nullable().optional(),
|
|
20
20
|
IdPricingTable: z.number().int().describe("ID of the pricing table this offer belongs to.").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const proabonoListPricingTableOffers = action("PROABONO_LIST_PRICING_TABLE_OFFERS", {
|
|
23
23
|
slug: "proabono-list-pricing-table-offers",
|
|
24
24
|
name: "List Pricing Table Offers",
|
|
@@ -32,7 +32,7 @@ const proabonoListPricingTableOffers = action("PROABONO_LIST_PRICING_TABLE_OFFER
|
|
|
32
32
|
SizePage: z.number().int().describe("Number of items per page.").nullable().optional(),
|
|
33
33
|
TotalItems: z.number().int().describe("Total number of pricing table offers available across all pages.").nullable().optional(),
|
|
34
34
|
DateGenerated: z.string().describe("Timestamp when this response was generated (ISO 8601 format).").nullable().optional()
|
|
35
|
-
})
|
|
35
|
+
}).passthrough()
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { proabonoListPricingTableOffers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pricing-table-offers.mjs","names":[],"sources":["../../src/actions/list-pricing-table-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPricingTableOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID. This is required to identify which business's pricing table offers to retrieve.\"),\n});\nconst ProabonoListPricingTableOffers_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource.\").nullable().optional(),\n});\nconst ProabonoListPricingTableOffers_PricingTableOfferSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the pricing table offer.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links related to this pricing table offer.\").nullable().optional(),\n Order: z.number().int().describe(\"Display order of this offer in the pricing table.\").nullable().optional(),\n IdOffer: z.number().int().describe(\"ID of the offer associated with this pricing table entry.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp when the pricing table offer was last updated (ISO 8601 format).\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated this pricing table offer.\").nullable().optional(),\n IdPricingTable: z.number().int().describe(\"ID of the pricing table this offer belongs to.\").nullable().optional(),\n});\nexport const ProabonoListPricingTableOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in the current page.\").nullable().optional(),\n Items: z.array(ProabonoListPricingTableOffers_PricingTableOfferSchema).describe(\"List of pricing table offer objects.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links for pagination (e.g., next page, previous page).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of pricing table offers available across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format).\").nullable().optional(),\n});\n\nexport const proabonoListPricingTableOffers = action(\"PROABONO_LIST_PRICING_TABLE_OFFERS\", {\n slug: \"proabono-list-pricing-table-offers\",\n name: \"List Pricing Table Offers\",\n description: \"Tool to list all pricing table offers via the ProAbono Backoffice API. Use when you need to retrieve all offers configured in pricing tables for a specific business.\",\n input: ProabonoListPricingTableOffersInput,\n output: ProabonoListPricingTableOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;AAC3I,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC;
|
|
1
|
+
{"version":3,"file":"list-pricing-table-offers.mjs","names":[],"sources":["../../src/actions/list-pricing-table-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPricingTableOffersInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID. This is required to identify which business's pricing table offers to retrieve.\"),\n});\nconst ProabonoListPricingTableOffers_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource.\").nullable().optional(),\n}).passthrough();\nconst ProabonoListPricingTableOffers_PricingTableOfferSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the pricing table offer.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links related to this pricing table offer.\").nullable().optional(),\n Order: z.number().int().describe(\"Display order of this offer in the pricing table.\").nullable().optional(),\n IdOffer: z.number().int().describe(\"ID of the offer associated with this pricing table entry.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp when the pricing table offer was last updated (ISO 8601 format).\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated this pricing table offer.\").nullable().optional(),\n IdPricingTable: z.number().int().describe(\"ID of the pricing table this offer belongs to.\").nullable().optional(),\n}).passthrough();\nexport const ProabonoListPricingTableOffersOutput = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in the current page.\").nullable().optional(),\n Items: z.array(ProabonoListPricingTableOffers_PricingTableOfferSchema).describe(\"List of pricing table offer objects.\").nullable().optional(),\n Links: z.array(ProabonoListPricingTableOffers_LinkSchema).describe(\"List of hypermedia links for pagination (e.g., next page, previous page).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of pricing table offers available across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format).\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoListPricingTableOffers = action(\"PROABONO_LIST_PRICING_TABLE_OFFERS\", {\n slug: \"proabono-list-pricing-table-offers\",\n name: \"List Pricing Table Offers\",\n description: \"Tool to list all pricing table offers via the ProAbono Backoffice API. Use when you need to retrieve all offers configured in pric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C,SAAS;CACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY;AAWf,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpK,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ProabonoListPricingTablesInput = zod.z.object({
|
|
|
11
11
|
const ProabonoListPricingTables_LinkItemSchema = zod.z.object({
|
|
12
12
|
rel: zod.z.string().describe("Relationship type of the link").nullable().optional(),
|
|
13
13
|
href: zod.z.string().describe("URL of the linked resource").nullable().optional()
|
|
14
|
-
}).describe("Link object containing rel and href.");
|
|
14
|
+
}).passthrough().describe("Link object containing rel and href.");
|
|
15
15
|
const ProabonoListPricingTables_PricingTableItemSchema = zod.z.object({
|
|
16
16
|
Id: zod.z.number().int().describe("Unique identifier of the pricing table").nullable().optional(),
|
|
17
17
|
Name: zod.z.string().describe("Name of the pricing table").nullable().optional(),
|
|
@@ -25,7 +25,7 @@ const ProabonoListPricingTables_PricingTableItemSchema = zod.z.object({
|
|
|
25
25
|
IdUserUpdate: zod.z.number().int().describe("ID of the user who last updated the pricing table").nullable().optional(),
|
|
26
26
|
IdUserCreation: zod.z.number().int().describe("ID of the user who created the pricing table").nullable().optional(),
|
|
27
27
|
ReferencePricingTable: zod.z.string().describe("Reference identifier for the pricing table, unique per segment").nullable().optional()
|
|
28
|
-
}).describe("PricingTable object with all fields.");
|
|
28
|
+
}).passthrough().describe("PricingTable object with all fields.");
|
|
29
29
|
const ProabonoListPricingTablesOutput = zod.z.object({
|
|
30
30
|
Page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
31
31
|
Count: zod.z.number().int().describe("Number of items on the current page").nullable().optional(),
|
|
@@ -34,7 +34,7 @@ const ProabonoListPricingTablesOutput = zod.z.object({
|
|
|
34
34
|
SizePage: zod.z.number().int().describe("Maximum items per page").nullable().optional(),
|
|
35
35
|
TotalItems: zod.z.number().int().describe("Total number of items in the collection").nullable().optional(),
|
|
36
36
|
DateGenerated: zod.z.string().describe("Response generation timestamp in ISO 8601 format").nullable().optional()
|
|
37
|
-
}).describe("Response model for listing ProAbono pricing tables.");
|
|
37
|
+
}).passthrough().describe("Response model for listing ProAbono pricing tables.");
|
|
38
38
|
const proabonoListPricingTables = require_action.action("PROABONO_LIST_PRICING_TABLES", {
|
|
39
39
|
slug: "proabono-list-pricing-tables",
|
|
40
40
|
name: "List Pricing Tables",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pricing-tables.cjs","names":["z","action"],"sources":["../../src/actions/list-pricing-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPricingTablesInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n IsVisible: z.boolean().describe(\"Filter by visibility status\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID\").optional(),\n DateCreationMin: z.string().describe(\"Minimum creation date filter in ISO 8601 format\").optional(),\n}).describe(\"Request model for listing ProAbono pricing tables.\");\nconst ProabonoListPricingTables_LinkItemSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).describe(\"Link object containing rel and href.\");\nconst ProabonoListPricingTables_PricingTableItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the pricing table\").nullable().optional(),\n Name: z.string().describe(\"Name of the pricing table\").nullable().optional(),\n Links: z.array(ProabonoListPricingTables_LinkItemSchema).describe(\"Array of links to related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display order of the pricing table\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier for the pricing table\").nullable().optional(),\n IsDefault: z.boolean().describe(\"Whether this is the default pricing table\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the pricing table is visible\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last update date in ISO 8601 format\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the pricing table\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the pricing table\").nullable().optional(),\n ReferencePricingTable: z.string().describe(\"Reference identifier for the pricing table, unique per segment\").nullable().optional(),\n}).describe(\"PricingTable object with all fields.\");\nexport const ProabonoListPricingTablesOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on the current page\").nullable().optional(),\n Items: z.array(ProabonoListPricingTables_PricingTableItemSchema).describe(\"Array of pricing table objects\").nullable().optional(),\n Links: z.array(ProabonoListPricingTables_LinkItemSchema).describe(\"Navigation links for pagination\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items in the collection\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model for listing ProAbono pricing tables.\");\n\nexport const proabonoListPricingTables = action(\"PROABONO_LIST_PRICING_TABLES\", {\n slug: \"proabono-list-pricing-tables\",\n name: \"List Pricing Tables\",\n description: \"Tool to list all pricing tables from ProAbono Backoffice API. Use when you need to retrieve pricing tables with optional filtering by business ID, visibility, or creation date.\",\n input: ProabonoListPricingTablesInput,\n output: ProabonoListPricingTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-pricing-tables.cjs","names":["z","action"],"sources":["../../src/actions/list-pricing-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListPricingTablesInput = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n IsVisible: z.boolean().describe(\"Filter by visibility status\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID\").optional(),\n DateCreationMin: z.string().describe(\"Minimum creation date filter in ISO 8601 format\").optional(),\n}).describe(\"Request model for listing ProAbono pricing tables.\");\nconst ProabonoListPricingTables_LinkItemSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).passthrough().describe(\"Link object containing rel and href.\");\nconst ProabonoListPricingTables_PricingTableItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the pricing table\").nullable().optional(),\n Name: z.string().describe(\"Name of the pricing table\").nullable().optional(),\n Links: z.array(ProabonoListPricingTables_LinkItemSchema).describe(\"Array of links to related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display order of the pricing table\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier for the pricing table\").nullable().optional(),\n IsDefault: z.boolean().describe(\"Whether this is the default pricing table\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the pricing table is visible\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last update date in ISO 8601 format\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the pricing table\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the pricing table\").nullable().optional(),\n ReferencePricingTable: z.string().describe(\"Reference identifier for the pricing table, unique per segment\").nullable().optional(),\n}).passthrough().describe(\"PricingTable object with all fields.\");\nexport const ProabonoListPricingTablesOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on the current page\").nullable().optional(),\n Items: z.array(ProabonoListPricingTables_PricingTableItemSchema).describe(\"Array of pricing table objects\").nullable().optional(),\n Links: z.array(ProabonoListPricingTables_LinkItemSchema).describe(\"Navigation links for pagination\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items in the collection\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing ProAbono pricing tables.\");\n\nexport const proabonoListPricingTables = action(\"PROABONO_LIST_PRICING_TABLES\", {\n slug: \"proabono-list-pricing-tables\",\n name: \"List Pricing Tables\",\n description: \"Tool to list all pricing tables from ProAbono Backoffice API. Use when you need to retrieve pricing tables with optional filtering by business ID, visibility, or creation date.\",\n input: ProabonoListPricingTablesInput,\n output: ProabonoListPricingTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACnG,CA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