@keystrokehq/proabono 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/anonymize-customer.cjs +2 -2
- package/dist/actions/anonymize-customer.cjs.map +1 -1
- package/dist/actions/anonymize-customer.d.cts +2 -2
- package/dist/actions/anonymize-customer.d.mts +2 -2
- package/dist/actions/anonymize-customer.mjs +2 -2
- package/dist/actions/anonymize-customer.mjs.map +1 -1
- package/dist/actions/bill-customer.cjs +1 -1
- package/dist/actions/bill-customer.cjs.map +1 -1
- package/dist/actions/bill-customer.d.cts +1 -1
- package/dist/actions/bill-customer.d.mts +1 -1
- package/dist/actions/bill-customer.mjs +1 -1
- package/dist/actions/bill-customer.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +4 -4
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +5 -5
- package/dist/actions/create-customer.d.mts +5 -5
- package/dist/actions/create-customer.mjs +4 -4
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-feature.cjs +2 -2
- package/dist/actions/create-feature.cjs.map +1 -1
- package/dist/actions/create-feature.d.cts +2 -2
- package/dist/actions/create-feature.d.mts +2 -2
- package/dist/actions/create-feature.mjs +2 -2
- package/dist/actions/create-feature.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +1 -1
- package/dist/actions/delete-customer.d.mts +1 -1
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-offer.cjs +1 -1
- package/dist/actions/delete-offer.cjs.map +1 -1
- package/dist/actions/delete-offer.d.cts +1 -1
- package/dist/actions/delete-offer.d.mts +1 -1
- package/dist/actions/delete-offer.mjs +1 -1
- package/dist/actions/delete-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.cjs +1 -1
- package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.cts +1 -1
- package/dist/actions/delete-pricing-table-offer.d.mts +1 -1
- package/dist/actions/delete-pricing-table-offer.mjs +1 -1
- package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table.cjs +1 -1
- package/dist/actions/delete-pricing-table.cjs.map +1 -1
- package/dist/actions/delete-pricing-table.d.cts +1 -1
- package/dist/actions/delete-pricing-table.d.mts +1 -1
- package/dist/actions/delete-pricing-table.mjs +1 -1
- package/dist/actions/delete-pricing-table.mjs.map +1 -1
- package/dist/actions/delete-subscription-discount.cjs +1 -1
- package/dist/actions/delete-subscription-discount.cjs.map +1 -1
- package/dist/actions/delete-subscription-discount.d.cts +1 -1
- package/dist/actions/delete-subscription-discount.d.mts +1 -1
- package/dist/actions/delete-subscription-discount.mjs +1 -1
- package/dist/actions/delete-subscription-discount.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +1 -1
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +1 -1
- package/dist/actions/enable-webhook.d.mts +1 -1
- package/dist/actions/enable-webhook.mjs +1 -1
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/get-customer-billing-address.cjs +1 -1
- package/dist/actions/get-customer-billing-address.cjs.map +1 -1
- package/dist/actions/get-customer-billing-address.d.cts +1 -1
- package/dist/actions/get-customer-billing-address.d.mts +1 -1
- package/dist/actions/get-customer-billing-address.mjs +1 -1
- package/dist/actions/get-customer-billing-address.mjs.map +1 -1
- package/dist/actions/get-customer-billing.cjs +2 -2
- package/dist/actions/get-customer-billing.cjs.map +1 -1
- package/dist/actions/get-customer-billing.d.cts +2 -2
- package/dist/actions/get-customer-billing.d.mts +2 -2
- package/dist/actions/get-customer-billing.mjs +2 -2
- package/dist/actions/get-customer-billing.mjs.map +1 -1
- package/dist/actions/get-customer-by-reference.cjs +3 -3
- package/dist/actions/get-customer-by-reference.cjs.map +1 -1
- package/dist/actions/get-customer-by-reference.d.cts +3 -3
- package/dist/actions/get-customer-by-reference.d.mts +3 -3
- package/dist/actions/get-customer-by-reference.mjs +3 -3
- package/dist/actions/get-customer-by-reference.mjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.cjs +1 -1
- package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.d.cts +1 -1
- package/dist/actions/get-customer-payment-settings.d.mts +1 -1
- package/dist/actions/get-customer-payment-settings.mjs +1 -1
- package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +2 -2
- package/dist/actions/get-customer.d.mts +2 -2
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-discount.cjs +2 -2
- package/dist/actions/get-discount.cjs.map +1 -1
- package/dist/actions/get-discount.d.cts +2 -2
- package/dist/actions/get-discount.d.mts +2 -2
- package/dist/actions/get-discount.mjs +2 -2
- package/dist/actions/get-discount.mjs.map +1 -1
- package/dist/actions/get-feature.cjs +2 -2
- package/dist/actions/get-feature.cjs.map +1 -1
- package/dist/actions/get-feature.d.cts +2 -2
- package/dist/actions/get-feature.d.mts +2 -2
- package/dist/actions/get-feature.mjs +2 -2
- package/dist/actions/get-feature.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +2 -2
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +2 -2
- package/dist/actions/get-invoice.d.mts +2 -2
- package/dist/actions/get-invoice.mjs +2 -2
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-offer.cjs +2 -2
- package/dist/actions/get-offer.cjs.map +1 -1
- package/dist/actions/get-offer.d.cts +2 -2
- package/dist/actions/get-offer.d.mts +2 -2
- package/dist/actions/get-offer.mjs +2 -2
- package/dist/actions/get-offer.mjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.cjs +3 -3
- package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.d.cts +3 -3
- package/dist/actions/get-subscription-by-customer.d.mts +3 -3
- package/dist/actions/get-subscription-by-customer.mjs +3 -3
- package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.cjs +3 -3
- package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.d.cts +4 -4
- package/dist/actions/get-subscription-creation-quote.d.mts +4 -4
- package/dist/actions/get-subscription-creation-quote.mjs +3 -3
- package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
- package/dist/actions/get-usage.cjs +1 -1
- package/dist/actions/get-usage.cjs.map +1 -1
- package/dist/actions/get-usage.d.cts +1 -1
- package/dist/actions/get-usage.d.mts +1 -1
- package/dist/actions/get-usage.mjs +1 -1
- package/dist/actions/get-usage.mjs.map +1 -1
- package/dist/actions/get-usages-for-customer.cjs +3 -3
- package/dist/actions/get-usages-for-customer.cjs.map +1 -1
- package/dist/actions/get-usages-for-customer.d.cts +3 -3
- package/dist/actions/get-usages-for-customer.d.mts +3 -3
- package/dist/actions/get-usages-for-customer.mjs +3 -3
- package/dist/actions/get-usages-for-customer.mjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.cjs +2 -2
- package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.d.cts +2 -2
- package/dist/actions/invalidate-customer-by-id.d.mts +2 -2
- package/dist/actions/invalidate-customer-by-id.mjs +2 -2
- package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
- package/dist/actions/invalidate-customer.cjs +2 -2
- package/dist/actions/invalidate-customer.cjs.map +1 -1
- package/dist/actions/invalidate-customer.d.cts +2 -2
- package/dist/actions/invalidate-customer.d.mts +2 -2
- package/dist/actions/invalidate-customer.mjs +2 -2
- package/dist/actions/invalidate-customer.mjs.map +1 -1
- package/dist/actions/list-balance-lines.cjs +3 -3
- package/dist/actions/list-balance-lines.cjs.map +1 -1
- package/dist/actions/list-balance-lines.d.cts +4 -4
- package/dist/actions/list-balance-lines.d.mts +4 -4
- package/dist/actions/list-balance-lines.mjs +3 -3
- package/dist/actions/list-balance-lines.mjs.map +1 -1
- package/dist/actions/list-business-localization.cjs +2 -2
- package/dist/actions/list-business-localization.cjs.map +1 -1
- package/dist/actions/list-business-localization.d.cts +2 -2
- package/dist/actions/list-business-localization.d.mts +2 -2
- package/dist/actions/list-business-localization.mjs +2 -2
- package/dist/actions/list-business-localization.mjs.map +1 -1
- package/dist/actions/list-businesses.cjs +3 -3
- package/dist/actions/list-businesses.cjs.map +1 -1
- package/dist/actions/list-businesses.d.cts +4 -4
- package/dist/actions/list-businesses.d.mts +4 -4
- package/dist/actions/list-businesses.mjs +3 -3
- package/dist/actions/list-businesses.mjs.map +1 -1
- package/dist/actions/list-customer-moves.cjs +3 -3
- package/dist/actions/list-customer-moves.cjs.map +1 -1
- package/dist/actions/list-customer-moves.d.cts +3 -3
- package/dist/actions/list-customer-moves.d.mts +3 -3
- package/dist/actions/list-customer-moves.mjs +3 -3
- package/dist/actions/list-customer-moves.mjs.map +1 -1
- package/dist/actions/list-customers-by-feature.cjs +2 -2
- package/dist/actions/list-customers-by-feature.cjs.map +1 -1
- package/dist/actions/list-customers-by-feature.d.cts +2 -2
- package/dist/actions/list-customers-by-feature.d.mts +2 -2
- package/dist/actions/list-customers-by-feature.mjs +2 -2
- package/dist/actions/list-customers-by-feature.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +4 -4
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +4 -4
- package/dist/actions/list-customers.d.mts +4 -4
- package/dist/actions/list-customers.mjs +4 -4
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-discounts.cjs +4 -4
- package/dist/actions/list-discounts.cjs.map +1 -1
- package/dist/actions/list-discounts.d.cts +4 -4
- package/dist/actions/list-discounts.d.mts +4 -4
- package/dist/actions/list-discounts.mjs +4 -4
- package/dist/actions/list-discounts.mjs.map +1 -1
- package/dist/actions/list-features.cjs +4 -4
- package/dist/actions/list-features.cjs.map +1 -1
- package/dist/actions/list-features.d.cts +4 -4
- package/dist/actions/list-features.d.mts +4 -4
- package/dist/actions/list-features.mjs +4 -4
- package/dist/actions/list-features.mjs.map +1 -1
- package/dist/actions/list-gateway-accounts.cjs +5 -5
- package/dist/actions/list-gateway-accounts.cjs.map +1 -1
- package/dist/actions/list-gateway-accounts.d.cts +5 -5
- package/dist/actions/list-gateway-accounts.d.mts +5 -5
- package/dist/actions/list-gateway-accounts.mjs +5 -5
- package/dist/actions/list-gateway-accounts.mjs.map +1 -1
- package/dist/actions/list-gateway-permissions.cjs +3 -3
- package/dist/actions/list-gateway-permissions.cjs.map +1 -1
- package/dist/actions/list-gateway-permissions.d.cts +4 -4
- package/dist/actions/list-gateway-permissions.d.mts +4 -4
- package/dist/actions/list-gateway-permissions.mjs +3 -3
- package/dist/actions/list-gateway-permissions.mjs.map +1 -1
- package/dist/actions/list-gateway-requests.cjs +4 -4
- package/dist/actions/list-gateway-requests.cjs.map +1 -1
- package/dist/actions/list-gateway-requests.d.cts +4 -4
- package/dist/actions/list-gateway-requests.d.mts +4 -4
- package/dist/actions/list-gateway-requests.mjs +4 -4
- package/dist/actions/list-gateway-requests.mjs.map +1 -1
- package/dist/actions/list-gateway-transactions.cjs +4 -4
- package/dist/actions/list-gateway-transactions.cjs.map +1 -1
- package/dist/actions/list-gateway-transactions.d.cts +4 -4
- package/dist/actions/list-gateway-transactions.d.mts +4 -4
- package/dist/actions/list-gateway-transactions.mjs +4 -4
- package/dist/actions/list-gateway-transactions.mjs.map +1 -1
- package/dist/actions/list-invoice-lines.cjs +2 -2
- package/dist/actions/list-invoice-lines.cjs.map +1 -1
- package/dist/actions/list-invoice-lines.d.cts +2 -2
- package/dist/actions/list-invoice-lines.d.mts +2 -2
- package/dist/actions/list-invoice-lines.mjs +2 -2
- package/dist/actions/list-invoice-lines.mjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.cjs +3 -3
- package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.d.cts +4 -4
- package/dist/actions/list-invoices-by-customer.d.mts +4 -4
- package/dist/actions/list-invoices-by-customer.mjs +3 -3
- package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +3 -3
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +4 -4
- package/dist/actions/list-invoices.d.mts +4 -4
- package/dist/actions/list-invoices.mjs +3 -3
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-offers.cjs +3 -3
- package/dist/actions/list-offers.cjs.map +1 -1
- package/dist/actions/list-offers.d.cts +4 -4
- package/dist/actions/list-offers.d.mts +4 -4
- package/dist/actions/list-offers.mjs +3 -3
- package/dist/actions/list-offers.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +3 -3
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +4 -4
- package/dist/actions/list-payments.d.mts +4 -4
- package/dist/actions/list-payments.mjs +3 -3
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.cjs +3 -3
- package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.d.cts +4 -4
- package/dist/actions/list-pricing-table-offers.d.mts +4 -4
- package/dist/actions/list-pricing-table-offers.mjs +3 -3
- package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
- package/dist/actions/list-pricing-tables.cjs +3 -3
- package/dist/actions/list-pricing-tables.cjs.map +1 -1
- package/dist/actions/list-pricing-tables.d.cts +4 -4
- package/dist/actions/list-pricing-tables.d.mts +4 -4
- package/dist/actions/list-pricing-tables.mjs +3 -3
- package/dist/actions/list-pricing-tables.mjs.map +1 -1
- package/dist/actions/list-segment-localizations.cjs +2 -2
- package/dist/actions/list-segment-localizations.cjs.map +1 -1
- package/dist/actions/list-segment-localizations.d.cts +2 -2
- package/dist/actions/list-segment-localizations.d.mts +2 -2
- package/dist/actions/list-segment-localizations.mjs +2 -2
- package/dist/actions/list-segment-localizations.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +4 -4
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +4 -4
- package/dist/actions/list-segments.d.mts +4 -4
- package/dist/actions/list-segments.mjs +4 -4
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-subscription-discounts.cjs +4 -4
- package/dist/actions/list-subscription-discounts.cjs.map +1 -1
- package/dist/actions/list-subscription-discounts.d.cts +4 -4
- package/dist/actions/list-subscription-discounts.d.mts +4 -4
- package/dist/actions/list-subscription-discounts.mjs +4 -4
- package/dist/actions/list-subscription-discounts.mjs.map +1 -1
- package/dist/actions/list-subscription-features.cjs +4 -4
- package/dist/actions/list-subscription-features.cjs.map +1 -1
- package/dist/actions/list-subscription-features.d.cts +4 -4
- package/dist/actions/list-subscription-features.d.mts +4 -4
- package/dist/actions/list-subscription-features.mjs +4 -4
- package/dist/actions/list-subscription-features.mjs.map +1 -1
- package/dist/actions/list-subscription-periods.cjs +3 -3
- package/dist/actions/list-subscription-periods.cjs.map +1 -1
- package/dist/actions/list-subscription-periods.d.cts +4 -4
- package/dist/actions/list-subscription-periods.d.mts +4 -4
- package/dist/actions/list-subscription-periods.mjs +3 -3
- package/dist/actions/list-subscription-periods.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +4 -4
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +4 -4
- package/dist/actions/list-subscriptions.d.mts +4 -4
- package/dist/actions/list-subscriptions.mjs +4 -4
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.cjs +4 -4
- package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.d.cts +4 -4
- package/dist/actions/list-tax-profile-exceptions.d.mts +4 -4
- package/dist/actions/list-tax-profile-exceptions.mjs +4 -4
- package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
- package/dist/actions/list-tax-profiles.cjs +4 -4
- package/dist/actions/list-tax-profiles.cjs.map +1 -1
- package/dist/actions/list-tax-profiles.d.cts +4 -4
- package/dist/actions/list-tax-profiles.d.mts +4 -4
- package/dist/actions/list-tax-profiles.mjs +4 -4
- package/dist/actions/list-tax-profiles.mjs.map +1 -1
- package/dist/actions/list-upgrade-offers.cjs +5 -5
- package/dist/actions/list-upgrade-offers.cjs.map +1 -1
- package/dist/actions/list-upgrade-offers.d.cts +6 -6
- package/dist/actions/list-upgrade-offers.d.mts +6 -6
- package/dist/actions/list-upgrade-offers.mjs +5 -5
- package/dist/actions/list-upgrade-offers.mjs.map +1 -1
- package/dist/actions/list-webhook-notifications.cjs +4 -4
- package/dist/actions/list-webhook-notifications.cjs.map +1 -1
- package/dist/actions/list-webhook-notifications.d.cts +4 -4
- package/dist/actions/list-webhook-notifications.d.mts +4 -4
- package/dist/actions/list-webhook-notifications.mjs +4 -4
- package/dist/actions/list-webhook-notifications.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +3 -3
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +4 -4
- package/dist/actions/list-webhooks.d.mts +4 -4
- package/dist/actions/list-webhooks.mjs +3 -3
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/quote-balance-line.cjs +2 -2
- package/dist/actions/quote-balance-line.cjs.map +1 -1
- package/dist/actions/quote-balance-line.d.cts +3 -3
- package/dist/actions/quote-balance-line.d.mts +3 -3
- package/dist/actions/quote-balance-line.mjs +2 -2
- package/dist/actions/quote-balance-line.mjs.map +1 -1
- package/dist/actions/revoke-customer-links.cjs +2 -2
- package/dist/actions/revoke-customer-links.cjs.map +1 -1
- package/dist/actions/revoke-customer-links.d.cts +2 -2
- package/dist/actions/revoke-customer-links.d.mts +2 -2
- package/dist/actions/revoke-customer-links.mjs +2 -2
- package/dist/actions/revoke-customer-links.mjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.cjs +2 -2
- package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.d.cts +2 -2
- package/dist/actions/update-businesses-billing-address.d.mts +2 -2
- package/dist/actions/update-businesses-billing-address.mjs +2 -2
- package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-billing-address.cjs +1 -1
- package/dist/actions/update-customer-billing-address.cjs.map +1 -1
- package/dist/actions/update-customer-billing-address.d.cts +1 -1
- package/dist/actions/update-customer-billing-address.d.mts +1 -1
- package/dist/actions/update-customer-billing-address.mjs +1 -1
- package/dist/actions/update-customer-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.cjs +1 -1
- package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.d.cts +1 -1
- package/dist/actions/update-customer-payment-settings.d.mts +1 -1
- package/dist/actions/update-customer-payment-settings.mjs +1 -1
- package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/update-customer-shipping.cjs +2 -2
- package/dist/actions/update-customer-shipping.cjs.map +1 -1
- package/dist/actions/update-customer-shipping.d.cts +2 -2
- package/dist/actions/update-customer-shipping.d.mts +2 -2
- package/dist/actions/update-customer-shipping.mjs +2 -2
- package/dist/actions/update-customer-shipping.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +3 -3
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -3
- package/dist/actions/update-customer.d.mts +3 -3
- package/dist/actions/update-customer.mjs +3 -3
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-feature.cjs +2 -2
- package/dist/actions/update-feature.cjs.map +1 -1
- package/dist/actions/update-feature.d.cts +2 -2
- package/dist/actions/update-feature.d.mts +2 -2
- package/dist/actions/update-feature.mjs +2 -2
- package/dist/actions/update-feature.mjs.map +1 -1
- package/dist/actions/update-tax-profiles.cjs +2 -2
- package/dist/actions/update-tax-profiles.cjs.map +1 -1
- package/dist/actions/update-tax-profiles.d.cts +2 -2
- package/dist/actions/update-tax-profiles.d.mts +2 -2
- package/dist/actions/update-tax-profiles.mjs +2 -2
- package/dist/actions/update-tax-profiles.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-gateway-transactions.mjs","names":[],"sources":["../../src/actions/list-gateway-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListGatewayTransactionsInput = z.object({\n Page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to retrieve gateway transactions for a specific business\").optional(),\n IdCustomer: z.number().int().describe(\"Filter by Customer ID to retrieve gateway transactions for a specific customer\").optional(),\n DateUpdateMin: z.string().describe(\"Minimum update date filter in ISO 8601 format (e.g., '2023-07-27T13:54:00'). Only transactions updated on or after this date will be returned\").optional(),\n}).describe(\"Request schema for listing gateway transactions from ProAbono.\");\nconst ProabonoListGatewayTransactions_GatewayTransactionLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-customer', 'related-invoice')\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).describe(\"Link object in the gateway transaction response.\");\nconst ProabonoListGatewayTransactions_GatewayTransactionSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the gateway transaction\").nullable().optional(),\n Links: z.array(ProabonoListGatewayTransactions_GatewayTransactionLinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Amount: z.number().int().describe(\"Transaction amount in cents\").nullable().optional(),\n IdAccount: z.number().int().describe(\"Gateway account identifier used for the transaction\").nullable().optional(),\n IdInvoice: z.number().int().describe(\"Invoice identifier associated with the transaction\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier associated with the transaction\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer identifier associated with the transaction\").nullable().optional(),\n TypeGateway: z.string().describe(\"Gateway provider type (e.g., 'CardStripe', 'DirectDebitGoCardlessSepa', 'CardDummy')\").nullable().optional(),\n TypePayment: z.string().describe(\"Payment type (e.g., 'Card', 'DirectDebit')\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdPermission: z.number().int().describe(\"Permission identifier associated with the transaction\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the transaction record\").nullable().optional(),\n DateCompleted: z.string().describe(\"Timestamp when the transaction was completed in ISO 8601 format\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the transaction record\").nullable().optional(),\n TypeTransaction: z.string().describe(\"Transaction type (e.g., 'Debit', 'Credit')\").nullable().optional(),\n StatusTransaction: z.string().describe(\"Transaction status (e.g., 'Success', 'Failed', 'Pending')\").nullable().optional(),\n}).describe(\"Individual gateway transaction item.\");\nconst ProabonoListGatewayTransactions_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource\").nullable().optional(),\n}).describe(\"HATEOAS navigation link for pagination.\");\nexport const ProabonoListGatewayTransactionsOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoListGatewayTransactions_GatewayTransactionSchema).describe(\"Collection of gateway transaction objects matching the query\").nullable().optional(),\n Links: z.array(ProabonoListGatewayTransactions_NavigationLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response schema for listing gateway transactions from ProAbono.\");\n\nexport const proabonoListGatewayTransactions = action(\"PROABONO_LIST_GATEWAY_TRANSACTIONS\", {\n slug: \"proabono-list-gateway-transactions\",\n name: \"List Gateway Transactions\",\n description: \"Tool to list gateway transactions from ProAbono. Use when you need to retrieve payment gateway transaction records with optional filtering by business, customer, or update date. Returns paginated results with transaction details including status, amount, and payment type.\",\n input: ProabonoListGatewayTransactionsInput,\n output: ProabonoListGatewayTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACjI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;AAC/L,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+DAA+D,EAAE,OAAO;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"list-gateway-transactions.mjs","names":[],"sources":["../../src/actions/list-gateway-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListGatewayTransactionsInput = z.object({\n Page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to retrieve gateway transactions for a specific business\").optional(),\n IdCustomer: z.number().int().describe(\"Filter by Customer ID to retrieve gateway transactions for a specific customer\").optional(),\n DateUpdateMin: z.string().describe(\"Minimum update date filter in ISO 8601 format (e.g., '2023-07-27T13:54:00'). Only transactions updated on or after this date will be returned\").optional(),\n}).describe(\"Request schema for listing gateway transactions from ProAbono.\");\nconst ProabonoListGatewayTransactions_GatewayTransactionLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-customer', 'related-invoice')\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).passthrough().describe(\"Link object in the gateway transaction response.\");\nconst ProabonoListGatewayTransactions_GatewayTransactionSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the gateway transaction\").nullable().optional(),\n Links: z.array(ProabonoListGatewayTransactions_GatewayTransactionLinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Amount: z.number().int().describe(\"Transaction amount in cents\").nullable().optional(),\n IdAccount: z.number().int().describe(\"Gateway account identifier used for the transaction\").nullable().optional(),\n IdInvoice: z.number().int().describe(\"Invoice identifier associated with the transaction\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier associated with the transaction\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer identifier associated with the transaction\").nullable().optional(),\n TypeGateway: z.string().describe(\"Gateway provider type (e.g., 'CardStripe', 'DirectDebitGoCardlessSepa', 'CardDummy')\").nullable().optional(),\n TypePayment: z.string().describe(\"Payment type (e.g., 'Card', 'DirectDebit')\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdPermission: z.number().int().describe(\"Permission identifier associated with the transaction\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the transaction record\").nullable().optional(),\n DateCompleted: z.string().describe(\"Timestamp when the transaction was completed in ISO 8601 format\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the transaction record\").nullable().optional(),\n TypeTransaction: z.string().describe(\"Transaction type (e.g., 'Debit', 'Credit')\").nullable().optional(),\n StatusTransaction: z.string().describe(\"Transaction status (e.g., 'Success', 'Failed', 'Pending')\").nullable().optional(),\n}).passthrough().describe(\"Individual gateway transaction item.\");\nconst ProabonoListGatewayTransactions_NavigationLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS navigation link for pagination.\");\nexport const ProabonoListGatewayTransactionsOutput = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoListGatewayTransactions_GatewayTransactionSchema).describe(\"Collection of gateway transaction objects matching the query\").nullable().optional(),\n Links: z.array(ProabonoListGatewayTransactions_NavigationLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing gateway transactions from ProAbono.\");\n\nexport const proabonoListGatewayTransactions = action(\"PROABONO_LIST_GATEWAY_TRANSACTIONS\", {\n slug: \"proabono-list-gateway-transactions\",\n name: \"List Gateway Transactions\",\n description: \"Tool to list gateway transactions from ProAbono. Use when you need to retrieve payment gateway transaction records with optional filtering by business, customer, or update date. Returns paginated results with transaction details including status, amount, and payment type.\",\n input: ProabonoListGatewayTransactionsInput,\n output: ProabonoListGatewayTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACjI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;AAC/L,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+DAA+D,EAAE,OAAO;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAA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AC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
|
|
@@ -19,11 +19,11 @@ const ProabonoListInvoiceLines_InvoiceLineItemSchema = zod.z.object({
|
|
|
19
19
|
AmountTotalTax: zod.z.number().describe("Total tax amount for this line").nullable().optional(),
|
|
20
20
|
AmountUnitWithoutTax: zod.z.number().describe("Unit price without tax").nullable().optional(),
|
|
21
21
|
AmountTotalWithoutTax: zod.z.number().describe("Total amount without tax for this line").nullable().optional()
|
|
22
|
-
}).describe("Individual invoice line item resource.");
|
|
22
|
+
}).passthrough().describe("Individual invoice line item resource.");
|
|
23
23
|
const ProabonoListInvoiceLinesOutput = zod.z.object({
|
|
24
24
|
Items: zod.z.array(ProabonoListInvoiceLines_InvoiceLineItemSchema).describe("List of invoice line items").nullable().optional(),
|
|
25
25
|
TotalCount: zod.z.number().int().describe("Total number of invoice lines matching the query").nullable().optional()
|
|
26
|
-
}).describe("Response model for listing invoice lines from ProAbono Backoffice API.");
|
|
26
|
+
}).passthrough().describe("Response model for listing invoice lines from ProAbono Backoffice API.");
|
|
27
27
|
const proabonoListInvoiceLines = require_action.action("PROABONO_LIST_INVOICE_LINES", {
|
|
28
28
|
slug: "proabono-list-invoice-lines",
|
|
29
29
|
name: "List Invoice Lines",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoice-lines.cjs","names":["z","action"],"sources":["../../src/actions/list-invoice-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoiceLinesInput = z.object({\n IdInvoice: z.number().int().describe(\"Filter by Invoice ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID\").optional(),\n AmountTotalDueMin: z.number().int().describe(\"Minimum total due amount filter (in cents)\").optional(),\n}).describe(\"Request model for listing invoice lines via ProAbono Backoffice API.\");\nconst ProabonoListInvoiceLines_InvoiceLineItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the invoice line item\").nullable().optional(),\n Label: z.string().describe(\"Label or description of the invoice line item\").nullable().optional(),\n TaxRate: z.number().describe(\"Tax rate applied to this line item\").nullable().optional(),\n Quantity: z.number().describe(\"Quantity of items in this line\").nullable().optional(),\n IdInvoice: z.number().int().describe(\"Identifier of the parent invoice\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last update date of the invoice line item\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier associated with this line item\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice line item\").nullable().optional(),\n AmountTotalDue: z.number().describe(\"Total amount due (including tax) for this line\").nullable().optional(),\n AmountTotalTax: z.number().describe(\"Total tax amount for this line\").nullable().optional(),\n AmountUnitWithoutTax: z.number().describe(\"Unit price without tax\").nullable().optional(),\n AmountTotalWithoutTax: z.number().describe(\"Total amount without tax for this line\").nullable().optional(),\n}).describe(\"Individual invoice line item resource.\");\nexport const ProabonoListInvoiceLinesOutput = z.object({\n Items: z.array(ProabonoListInvoiceLines_InvoiceLineItemSchema).describe(\"List of invoice line items\").nullable().optional(),\n TotalCount: z.number().int().describe(\"Total number of invoice lines matching the query\").nullable().optional(),\n}).describe(\"Response model for listing invoice lines from ProAbono Backoffice API.\");\n\nexport const proabonoListInvoiceLines = action(\"PROABONO_LIST_INVOICE_LINES\", {\n slug: \"proabono-list-invoice-lines\",\n name: \"List Invoice Lines\",\n description: \"Tool to list all invoice lines from ProAbono via the Backoffice API. Use when you need to retrieve invoice line items with optional filtering by business, invoice, or minimum amount.\",\n input: Proabono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SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"list-invoice-lines.cjs","names":["z","action"],"sources":["../../src/actions/list-invoice-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoiceLinesInput = z.object({\n IdInvoice: z.number().int().describe(\"Filter by Invoice ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID\").optional(),\n AmountTotalDueMin: z.number().int().describe(\"Minimum total due amount filter (in cents)\").optional(),\n}).describe(\"Request model for listing invoice lines via ProAbono Backoffice API.\");\nconst ProabonoListInvoiceLines_InvoiceLineItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the invoice line item\").nullable().optional(),\n Label: z.string().describe(\"Label or description of the invoice line item\").nullable().optional(),\n TaxRate: z.number().describe(\"Tax rate applied to this line item\").nullable().optional(),\n Quantity: z.number().describe(\"Quantity of items in this line\").nullable().optional(),\n IdInvoice: z.number().int().describe(\"Identifier of the parent invoice\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last update date of the invoice line item\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier associated with this line item\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice line item\").nullable().optional(),\n AmountTotalDue: z.number().describe(\"Total amount due (including tax) for this line\").nullable().optional(),\n AmountTotalTax: z.number().describe(\"Total tax amount for this line\").nullable().optional(),\n AmountUnitWithoutTax: z.number().describe(\"Unit price without tax\").nullable().optional(),\n AmountTotalWithoutTax: z.number().describe(\"Total amount without tax for this line\").nullable().optional(),\n}).passthrough().describe(\"Individual invoice line item resource.\");\nexport const ProabonoListInvoiceLinesOutput = z.object({\n Items: z.array(ProabonoListInvoiceLines_InvoiceLineItemSchema).describe(\"List of invoice line items\").nullable().optional(),\n TotalCount: z.number().int().describe(\"Total number of invoice lines matching the query\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing invoice lines from ProAbono Backoffice API.\");\n\nexport const proabonoListInvoiceLines = action(\"PROABONO_LIST_INVOICE_LINES\", {\n slug: \"proabono-list-invoice-lines\",\n name: \"List Invoice Lines\",\n description: \"Tool to list all invoice lines from ProAbono via the Backoffice API. Use when you need to retrieve invoice line items with optional filtering by business, invoice, or minimum amount.\",\n input: ProabonoListInvoiceLinesInput,\n output: ProabonoListInvoiceLinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAA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4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,9 +20,9 @@ declare const ProabonoListInvoiceLinesOutput: z.ZodObject<{
|
|
|
20
20
|
AmountTotalTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
AmountUnitWithoutTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
AmountTotalWithoutTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
TotalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const proabonoListInvoiceLines: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
IdInvoice?: number | undefined;
|
|
28
28
|
IdBusiness?: number | undefined;
|
|
@@ -20,9 +20,9 @@ declare const ProabonoListInvoiceLinesOutput: z.ZodObject<{
|
|
|
20
20
|
AmountTotalTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
AmountUnitWithoutTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
AmountTotalWithoutTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
TotalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const proabonoListInvoiceLines: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
IdInvoice?: number | undefined;
|
|
28
28
|
IdBusiness?: number | undefined;
|
|
@@ -19,7 +19,7 @@ const ProabonoListInvoiceLines_InvoiceLineItemSchema = z.object({
|
|
|
19
19
|
AmountTotalTax: z.number().describe("Total tax amount for this line").nullable().optional(),
|
|
20
20
|
AmountUnitWithoutTax: z.number().describe("Unit price without tax").nullable().optional(),
|
|
21
21
|
AmountTotalWithoutTax: z.number().describe("Total amount without tax for this line").nullable().optional()
|
|
22
|
-
}).describe("Individual invoice line item resource.");
|
|
22
|
+
}).passthrough().describe("Individual invoice line item resource.");
|
|
23
23
|
const proabonoListInvoiceLines = action("PROABONO_LIST_INVOICE_LINES", {
|
|
24
24
|
slug: "proabono-list-invoice-lines",
|
|
25
25
|
name: "List Invoice Lines",
|
|
@@ -28,7 +28,7 @@ const proabonoListInvoiceLines = action("PROABONO_LIST_INVOICE_LINES", {
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
Items: z.array(ProabonoListInvoiceLines_InvoiceLineItemSchema).describe("List of invoice line items").nullable().optional(),
|
|
30
30
|
TotalCount: z.number().int().describe("Total number of invoice lines matching the query").nullable().optional()
|
|
31
|
-
}).describe("Response model for listing invoice lines from ProAbono Backoffice API.")
|
|
31
|
+
}).passthrough().describe("Response model for listing invoice lines from ProAbono Backoffice API.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { proabonoListInvoiceLines };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoice-lines.mjs","names":[],"sources":["../../src/actions/list-invoice-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoiceLinesInput = z.object({\n IdInvoice: z.number().int().describe(\"Filter by Invoice ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID\").optional(),\n AmountTotalDueMin: z.number().int().describe(\"Minimum total due amount filter (in cents)\").optional(),\n}).describe(\"Request model for listing invoice lines via ProAbono Backoffice API.\");\nconst ProabonoListInvoiceLines_InvoiceLineItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the invoice line item\").nullable().optional(),\n Label: z.string().describe(\"Label or description of the invoice line item\").nullable().optional(),\n TaxRate: z.number().describe(\"Tax rate applied to this line item\").nullable().optional(),\n Quantity: z.number().describe(\"Quantity of items in this line\").nullable().optional(),\n IdInvoice: z.number().int().describe(\"Identifier of the parent invoice\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last update date of the invoice line item\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier associated with this line item\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice line item\").nullable().optional(),\n AmountTotalDue: z.number().describe(\"Total amount due (including tax) for this line\").nullable().optional(),\n AmountTotalTax: z.number().describe(\"Total tax amount for this line\").nullable().optional(),\n AmountUnitWithoutTax: z.number().describe(\"Unit price without tax\").nullable().optional(),\n AmountTotalWithoutTax: z.number().describe(\"Total amount without tax for this line\").nullable().optional(),\n}).describe(\"Individual invoice line item resource.\");\nexport const ProabonoListInvoiceLinesOutput = z.object({\n Items: z.array(ProabonoListInvoiceLines_InvoiceLineItemSchema).describe(\"List of invoice line items\").nullable().optional(),\n TotalCount: z.number().int().describe(\"Total number of invoice lines matching the query\").nullable().optional(),\n}).describe(\"Response model for listing invoice lines from ProAbono Backoffice API.\");\n\nexport const proabonoListInvoiceLines = action(\"PROABONO_LIST_INVOICE_LINES\", {\n slug: \"proabono-list-invoice-lines\",\n name: \"List Invoice Lines\",\n description: \"Tool to list all invoice lines from ProAbono via the Backoffice API. Use when you need to retrieve invoice line items with optional filtering by business, invoice, or minimum amount.\",\n input: ProabonoListInvoiceLinesInput,\n output: ProabonoListInvoiceLinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,O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AAC,SAAS;CAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"list-invoice-lines.mjs","names":[],"sources":["../../src/actions/list-invoice-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoiceLinesInput = z.object({\n IdInvoice: z.number().int().describe(\"Filter by Invoice ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID\").optional(),\n AmountTotalDueMin: z.number().int().describe(\"Minimum total due amount filter (in cents)\").optional(),\n}).describe(\"Request model for listing invoice lines via ProAbono Backoffice API.\");\nconst ProabonoListInvoiceLines_InvoiceLineItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the invoice line item\").nullable().optional(),\n Label: z.string().describe(\"Label or description of the invoice line item\").nullable().optional(),\n TaxRate: z.number().describe(\"Tax rate applied to this line item\").nullable().optional(),\n Quantity: z.number().describe(\"Quantity of items in this line\").nullable().optional(),\n IdInvoice: z.number().int().describe(\"Identifier of the parent invoice\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last update date of the invoice line item\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier associated with this line item\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice line item\").nullable().optional(),\n AmountTotalDue: z.number().describe(\"Total amount due (including tax) for this line\").nullable().optional(),\n AmountTotalTax: z.number().describe(\"Total tax amount for this line\").nullable().optional(),\n AmountUnitWithoutTax: z.number().describe(\"Unit price without tax\").nullable().optional(),\n AmountTotalWithoutTax: z.number().describe(\"Total amount without tax for this line\").nullable().optional(),\n}).passthrough().describe(\"Individual invoice line item resource.\");\nexport const ProabonoListInvoiceLinesOutput = z.object({\n Items: z.array(ProabonoListInvoiceLines_InvoiceLineItemSchema).describe(\"List of invoice line items\").nullable().optional(),\n TotalCount: z.number().int().describe(\"Total number of invoice lines matching the query\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing invoice lines from ProAbono Backoffice API.\");\n\nexport const proabonoListInvoiceLines = action(\"PROABONO_LIST_INVOICE_LINES\", {\n slug: \"proabono-list-invoice-lines\",\n name: \"List Invoice Lines\",\n description: \"Tool to list all invoice lines from ProAbono via the Backoffice API. Use when you need to retrieve invoice line items with optional filtering by business, invoice, or minimum amount.\",\n input: ProabonoListInvoiceLinesInput,\n output: ProabonoListInvoiceLinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAA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|
rel: zod.z.string().describe("Link relationship type (e.g., 'self', 'next', 'prev').").nullable().optional(),
|
|
11
11
|
href: zod.z.string().describe("URL for the linked resource.").nullable().optional()
|
|
12
|
-
}).describe("HATEOAS navigation link for invoice resources.");
|
|
12
|
+
}).passthrough().describe("HATEOAS navigation link for invoice resources.");
|
|
13
13
|
const ProabonoListInvoicesByCustomer_InvoiceItemSchema = zod.z.object({
|
|
14
14
|
Id: zod.z.number().int().describe("Unique identifier for the invoice.").nullable().optional(),
|
|
15
15
|
Links: zod.z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe("HATEOAS navigation links for this invoice.").nullable().optional(),
|
|
@@ -27,7 +27,7 @@ const ProabonoListInvoicesByCustomer_InvoiceItemSchema = zod.z.object({
|
|
|
27
27
|
AmountSubtotal: zod.z.number().describe("Subtotal amount before taxes and discounts.").nullable().optional(),
|
|
28
28
|
ReferenceInvoice: zod.z.string().describe("Invoice reference number.").nullable().optional(),
|
|
29
29
|
ReferenceCustomer: zod.z.string().describe("Customer reference or external identifier.").nullable().optional()
|
|
30
|
-
}).describe("Individual invoice or credit note item for a customer.");
|
|
30
|
+
}).passthrough().describe("Individual invoice or credit note item for a customer.");
|
|
31
31
|
const ProabonoListInvoicesByCustomerOutput = 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 on current page.").nullable().optional(),
|
|
@@ -36,7 +36,7 @@ const ProabonoListInvoicesByCustomerOutput = zod.z.object({
|
|
|
36
36
|
SizePage: zod.z.number().int().describe("Maximum items per page.").nullable().optional(),
|
|
37
37
|
TotalItems: zod.z.number().int().describe("Total number of matching items across all pages.").nullable().optional(),
|
|
38
38
|
DateGenerated: zod.z.string().describe("Response generation timestamp in ISO 8601 format.").nullable().optional()
|
|
39
|
-
}).describe("Response model for listing invoices by customer reference.");
|
|
39
|
+
}).passthrough().describe("Response model for listing invoices by customer reference.");
|
|
40
40
|
const proabonoListInvoicesByCustomer = require_action.action("PROABONO_LIST_INVOICES_BY_CUSTOMER", {
|
|
41
41
|
slug: "proabono-list-invoices-by-customer",
|
|
42
42
|
name: "List Invoices by Customer Reference",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices-by-customer.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices-by-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesByCustomerInput = 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 reference_customer: z.string().describe(\"The unique reference of the customer whose invoices you want to retrieve. This is the identifier used within your own application.\"),\n}).describe(\"Request model for listing invoices by customer reference.\");\nconst ProabonoListInvoicesByCustomer_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoicesByCustomer_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).describe(\"Individual invoice or credit note item for a customer.\");\nexport const ProabonoListInvoicesByCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoicesByCustomer_InvoiceItemSchema).describe(\"Collection of invoice objects for the specified customer.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Response model for listing invoices by customer reference.\");\n\nexport const proabonoListInvoicesByCustomer = action(\"PROABONO_LIST_INVOICES_BY_CUSTOMER\", {\n slug: \"proabono-list-invoices-by-customer\",\n name: \"List Invoices by Customer Reference\",\n description: \"Tool to list invoices for a specific customer by their reference identifier from ProAbono API. Use when you need to retrieve all invoices associated with a particular customer using their unique reference from your application.\",\n input: ProabonoListInvoicesByCustomerInput,\n output: ProabonoListInvoicesByCustomerOutput,\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,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;AAC9K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"list-invoices-by-customer.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices-by-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesByCustomerInput = 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 reference_customer: z.string().describe(\"The unique reference of the customer whose invoices you want to retrieve. This is the identifier used within your own application.\"),\n}).describe(\"Request model for listing invoices by customer reference.\");\nconst ProabonoListInvoicesByCustomer_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoicesByCustomer_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).passthrough().describe(\"Individual invoice or credit note item for a customer.\");\nexport const ProabonoListInvoicesByCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoicesByCustomer_InvoiceItemSchema).describe(\"Collection of invoice objects for the specified customer.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing invoices by customer reference.\");\n\nexport const proabonoListInvoicesByCustomer = action(\"PROABONO_LIST_INVOICES_BY_CUSTOMER\", {\n slug: \"proabono-list-invoices-by-customer\",\n name: \"List Invoices by Customer Reference\",\n description: \"Tool to list invoices for a specific customer by their reference identifier from ProAbono API. Use when you need to retrieve all invoices associated with a particular customer using their unique reference from your application.\",\n input: ProabonoListInvoicesByCustomerInput,\n output: ProabonoListInvoicesByCustomerOutput,\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,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;AAC9K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAA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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
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
AmountTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -29,15 +29,15 @@ declare const ProabonoListInvoicesByCustomerOutput: z.ZodObject<{
|
|
|
29
29
|
AmountSubtotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
ReferenceInvoice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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 proabonoListInvoicesByCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
reference_customer: string;
|
|
43
43
|
page?: number | undefined;
|
|
@@ -14,7 +14,7 @@ declare const ProabonoListInvoicesByCustomerOutput: 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
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
AmountTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -29,15 +29,15 @@ declare const ProabonoListInvoicesByCustomerOutput: z.ZodObject<{
|
|
|
29
29
|
AmountSubtotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
ReferenceInvoice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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 proabonoListInvoicesByCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
reference_customer: string;
|
|
43
43
|
page?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const ProabonoListInvoicesByCustomerInput = z.object({
|
|
|
9
9
|
const ProabonoListInvoicesByCustomer_InvoiceLinkSchema = z.object({
|
|
10
10
|
rel: z.string().describe("Link relationship type (e.g., 'self', 'next', 'prev').").nullable().optional(),
|
|
11
11
|
href: z.string().describe("URL for the linked resource.").nullable().optional()
|
|
12
|
-
}).describe("HATEOAS navigation link for invoice resources.");
|
|
12
|
+
}).passthrough().describe("HATEOAS navigation link for invoice resources.");
|
|
13
13
|
const ProabonoListInvoicesByCustomer_InvoiceItemSchema = z.object({
|
|
14
14
|
Id: z.number().int().describe("Unique identifier for the invoice.").nullable().optional(),
|
|
15
15
|
Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe("HATEOAS navigation links for this invoice.").nullable().optional(),
|
|
@@ -27,7 +27,7 @@ const ProabonoListInvoicesByCustomer_InvoiceItemSchema = z.object({
|
|
|
27
27
|
AmountSubtotal: z.number().describe("Subtotal amount before taxes and discounts.").nullable().optional(),
|
|
28
28
|
ReferenceInvoice: z.string().describe("Invoice reference number.").nullable().optional(),
|
|
29
29
|
ReferenceCustomer: z.string().describe("Customer reference or external identifier.").nullable().optional()
|
|
30
|
-
}).describe("Individual invoice or credit note item for a customer.");
|
|
30
|
+
}).passthrough().describe("Individual invoice or credit note item for a customer.");
|
|
31
31
|
const proabonoListInvoicesByCustomer = action("PROABONO_LIST_INVOICES_BY_CUSTOMER", {
|
|
32
32
|
slug: "proabono-list-invoices-by-customer",
|
|
33
33
|
name: "List Invoices by Customer Reference",
|
|
@@ -41,7 +41,7 @@ const proabonoListInvoicesByCustomer = action("PROABONO_LIST_INVOICES_BY_CUSTOME
|
|
|
41
41
|
SizePage: z.number().int().describe("Maximum items per page.").nullable().optional(),
|
|
42
42
|
TotalItems: z.number().int().describe("Total number of matching items across all pages.").nullable().optional(),
|
|
43
43
|
DateGenerated: z.string().describe("Response generation timestamp in ISO 8601 format.").nullable().optional()
|
|
44
|
-
}).describe("Response model for listing invoices by customer reference.")
|
|
44
|
+
}).passthrough().describe("Response model for listing invoices by customer reference.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { proabonoListInvoicesByCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices-by-customer.mjs","names":[],"sources":["../../src/actions/list-invoices-by-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesByCustomerInput = 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 reference_customer: z.string().describe(\"The unique reference of the customer whose invoices you want to retrieve. This is the identifier used within your own application.\"),\n}).describe(\"Request model for listing invoices by customer reference.\");\nconst ProabonoListInvoicesByCustomer_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoicesByCustomer_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).describe(\"Individual invoice or credit note item for a customer.\");\nexport const ProabonoListInvoicesByCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoicesByCustomer_InvoiceItemSchema).describe(\"Collection of invoice objects for the specified customer.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Response model for listing invoices by customer reference.\");\n\nexport const proabonoListInvoicesByCustomer = action(\"PROABONO_LIST_INVOICES_BY_CUSTOMER\", {\n slug: \"proabono-list-invoices-by-customer\",\n name: \"List Invoices by Customer Reference\",\n description: \"Tool to list invoices for a specific customer by their reference identifier from ProAbono API. Use when you need to retrieve all invoices associated with a particular customer using their unique reference from your application.\",\n input: ProabonoListInvoicesByCustomerInput,\n output: ProabonoListInvoicesByCustomerOutput,\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,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;AAC9K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"list-invoices-by-customer.mjs","names":[],"sources":["../../src/actions/list-invoices-by-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesByCustomerInput = 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 reference_customer: z.string().describe(\"The unique reference of the customer whose invoices you want to retrieve. This is the identifier used within your own application.\"),\n}).describe(\"Request model for listing invoices by customer reference.\");\nconst ProabonoListInvoicesByCustomer_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoicesByCustomer_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).passthrough().describe(\"Individual invoice or credit note item for a customer.\");\nexport const ProabonoListInvoicesByCustomerOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoicesByCustomer_InvoiceItemSchema).describe(\"Collection of invoice objects for the specified customer.\").nullable().optional(),\n Links: z.array(ProabonoListInvoicesByCustomer_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing invoices by customer reference.\");\n\nexport const proabonoListInvoicesByCustomer = action(\"PROABONO_LIST_INVOICES_BY_CUSTOMER\", {\n slug: \"proabono-list-invoices-by-customer\",\n name: \"List Invoices by Customer Reference\",\n description: \"Tool to list invoices for a specific customer by their reference identifier from ProAbono API. Use when you need to retrieve all invoices associated with a particular customer using their unique reference from your application.\",\n input: ProabonoListInvoicesByCustomerInput,\n output: ProabonoListInvoicesByCustomerOutput,\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,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;AAC9K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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O,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ProabonoListInvoicesInput = zod.z.object({
|
|
|
11
11
|
const ProabonoListInvoices_InvoiceLinkSchema = zod.z.object({
|
|
12
12
|
rel: zod.z.string().describe("Link relationship type (e.g., 'self', 'next', 'prev').").nullable().optional(),
|
|
13
13
|
href: zod.z.string().describe("URL for the linked resource.").nullable().optional()
|
|
14
|
-
}).describe("HATEOAS navigation link for invoice resources.");
|
|
14
|
+
}).passthrough().describe("HATEOAS navigation link for invoice resources.");
|
|
15
15
|
const ProabonoListInvoices_InvoiceItemSchema = zod.z.object({
|
|
16
16
|
Id: zod.z.number().int().describe("Unique identifier for the invoice.").nullable().optional(),
|
|
17
17
|
Links: zod.z.array(ProabonoListInvoices_InvoiceLinkSchema).describe("HATEOAS navigation links for this invoice.").nullable().optional(),
|
|
@@ -29,7 +29,7 @@ const ProabonoListInvoices_InvoiceItemSchema = zod.z.object({
|
|
|
29
29
|
AmountSubtotal: zod.z.number().describe("Subtotal amount before taxes and discounts.").nullable().optional(),
|
|
30
30
|
ReferenceInvoice: zod.z.string().describe("Invoice reference number.").nullable().optional(),
|
|
31
31
|
ReferenceCustomer: zod.z.string().describe("Customer reference or external identifier.").nullable().optional()
|
|
32
|
-
}).describe("Individual invoice or credit note item.");
|
|
32
|
+
}).passthrough().describe("Individual invoice or credit note item.");
|
|
33
33
|
const ProabonoListInvoicesOutput = zod.z.object({
|
|
34
34
|
Page: zod.z.number().int().describe("Current page number.").nullable().optional(),
|
|
35
35
|
Count: zod.z.number().int().describe("Number of items on current page.").nullable().optional(),
|
|
@@ -38,7 +38,7 @@ const ProabonoListInvoicesOutput = zod.z.object({
|
|
|
38
38
|
SizePage: zod.z.number().int().describe("Maximum items per page.").nullable().optional(),
|
|
39
39
|
TotalItems: zod.z.number().int().describe("Total number of matching items across all pages.").nullable().optional(),
|
|
40
40
|
DateGenerated: zod.z.string().describe("Response generation timestamp in ISO 8601 format.").nullable().optional()
|
|
41
|
-
}).describe("Response model for listing invoices and credit notes.");
|
|
41
|
+
}).passthrough().describe("Response model for listing invoices and credit notes.");
|
|
42
42
|
const proabonoListInvoices = require_action.action("PROABONO_LIST_INVOICES", {
|
|
43
43
|
slug: "proabono-list-invoices",
|
|
44
44
|
name: "List Invoices and Credit Notes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesInput = z.object({\n Page: z.number().int().describe(\"Page number for pagination (minimum 1).\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page (minimum 1).\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to get invoices for a specific business.\").optional(),\n StateInvoice: z.string().describe(\"Filter by invoice state (e.g., 'Paid', 'Due', 'Draft', 'Problem', 'Void', 'Uncollectible'). This is the technical state used internally by ProAbono.\").optional(),\n DatePaymentMin: z.string().describe(\"Minimum payment date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00'). Only invoices paid on or after this date will be returned.\").optional(),\n}).describe(\"Request model for listing invoices and credit notes from ProAbono.\");\nconst ProabonoListInvoices_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoices_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).describe(\"Individual invoice or credit note item.\");\nexport const ProabonoListInvoicesOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoices_InvoiceItemSchema).describe(\"Collection of invoice objects matching the query.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Response model for listing invoices and credit notes.\");\n\nexport const proabonoListInvoices = action(\"PROABONO_LIST_INVOICES\", {\n slug: \"proabono-list-invoices\",\n name: \"List Invoices and Credit Notes\",\n description: \"Tool to list all invoices and credit notes from ProAbono Backoffice API. Use when you need to retrieve invoice data with optional filtering by business, payment state, or date range. Supports pagination for large result sets.\",\n input: ProabonoListInvoicesInput,\n output: ProabonoListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesInput = z.object({\n Page: z.number().int().describe(\"Page number for pagination (minimum 1).\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page (minimum 1).\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to get invoices for a specific business.\").optional(),\n StateInvoice: z.string().describe(\"Filter by invoice state (e.g., 'Paid', 'Due', 'Draft', 'Problem', 'Void', 'Uncollectible'). This is the technical state used internally by ProAbono.\").optional(),\n DatePaymentMin: z.string().describe(\"Minimum payment date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00'). Only invoices paid on or after this date will be returned.\").optional(),\n}).describe(\"Request model for listing invoices and credit notes from ProAbono.\");\nconst ProabonoListInvoices_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoices_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).passthrough().describe(\"Individual invoice or credit note item.\");\nexport const ProabonoListInvoicesOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoices_InvoiceItemSchema).describe(\"Collection of invoice objects matching the query.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing invoices and credit notes.\");\n\nexport const proabonoListInvoices = action(\"PROABONO_LIST_INVOICES\", {\n slug: \"proabono-list-invoices\",\n name: \"List Invoices and Credit Notes\",\n description: \"Tool to list all invoices and credit notes from ProAbono Backoffice API. Use when you need to retrieve invoice data with optional filtering by business, payment state, or date range. Supports pagination for large result sets.\",\n input: ProabonoListInvoicesInput,\n output: ProabonoListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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AAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const ProabonoListInvoicesOutput: z.ZodObject<{
|
|
|
16
16
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
20
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
AmountTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -31,15 +31,15 @@ declare const ProabonoListInvoicesOutput: z.ZodObject<{
|
|
|
31
31
|
AmountSubtotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
ReferenceInvoice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
36
36
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const proabonoListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
Page?: number | undefined;
|
|
45
45
|
SizePage?: number | undefined;
|
|
@@ -16,7 +16,7 @@ declare const ProabonoListInvoicesOutput: z.ZodObject<{
|
|
|
16
16
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
20
|
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
AmountTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -31,15 +31,15 @@ declare const ProabonoListInvoicesOutput: z.ZodObject<{
|
|
|
31
31
|
AmountSubtotal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
ReferenceInvoice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
36
36
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const proabonoListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
Page?: number | undefined;
|
|
45
45
|
SizePage?: number | undefined;
|
|
@@ -11,7 +11,7 @@ const ProabonoListInvoicesInput = z.object({
|
|
|
11
11
|
const ProabonoListInvoices_InvoiceLinkSchema = z.object({
|
|
12
12
|
rel: z.string().describe("Link relationship type (e.g., 'self', 'next', 'prev').").nullable().optional(),
|
|
13
13
|
href: z.string().describe("URL for the linked resource.").nullable().optional()
|
|
14
|
-
}).describe("HATEOAS navigation link for invoice resources.");
|
|
14
|
+
}).passthrough().describe("HATEOAS navigation link for invoice resources.");
|
|
15
15
|
const ProabonoListInvoices_InvoiceItemSchema = z.object({
|
|
16
16
|
Id: z.number().int().describe("Unique identifier for the invoice.").nullable().optional(),
|
|
17
17
|
Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe("HATEOAS navigation links for this invoice.").nullable().optional(),
|
|
@@ -29,7 +29,7 @@ const ProabonoListInvoices_InvoiceItemSchema = z.object({
|
|
|
29
29
|
AmountSubtotal: z.number().describe("Subtotal amount before taxes and discounts.").nullable().optional(),
|
|
30
30
|
ReferenceInvoice: z.string().describe("Invoice reference number.").nullable().optional(),
|
|
31
31
|
ReferenceCustomer: z.string().describe("Customer reference or external identifier.").nullable().optional()
|
|
32
|
-
}).describe("Individual invoice or credit note item.");
|
|
32
|
+
}).passthrough().describe("Individual invoice or credit note item.");
|
|
33
33
|
const proabonoListInvoices = action("PROABONO_LIST_INVOICES", {
|
|
34
34
|
slug: "proabono-list-invoices",
|
|
35
35
|
name: "List Invoices and Credit Notes",
|
|
@@ -43,7 +43,7 @@ const proabonoListInvoices = action("PROABONO_LIST_INVOICES", {
|
|
|
43
43
|
SizePage: z.number().int().describe("Maximum items per page.").nullable().optional(),
|
|
44
44
|
TotalItems: z.number().int().describe("Total number of matching items across all pages.").nullable().optional(),
|
|
45
45
|
DateGenerated: z.string().describe("Response generation timestamp in ISO 8601 format.").nullable().optional()
|
|
46
|
-
}).describe("Response model for listing invoices and credit notes.")
|
|
46
|
+
}).passthrough().describe("Response model for listing invoices and credit notes.")
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { proabonoListInvoices };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesInput = z.object({\n Page: z.number().int().describe(\"Page number for pagination (minimum 1).\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page (minimum 1).\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to get invoices for a specific business.\").optional(),\n StateInvoice: z.string().describe(\"Filter by invoice state (e.g., 'Paid', 'Due', 'Draft', 'Problem', 'Void', 'Uncollectible'). This is the technical state used internally by ProAbono.\").optional(),\n DatePaymentMin: z.string().describe(\"Minimum payment date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00'). Only invoices paid on or after this date will be returned.\").optional(),\n}).describe(\"Request model for listing invoices and credit notes from ProAbono.\");\nconst ProabonoListInvoices_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoices_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).describe(\"Individual invoice or credit note item.\");\nexport const ProabonoListInvoicesOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoices_InvoiceItemSchema).describe(\"Collection of invoice objects matching the query.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Response model for listing invoices and credit notes.\");\n\nexport const proabonoListInvoices = action(\"PROABONO_LIST_INVOICES\", {\n slug: \"proabono-list-invoices\",\n name: \"List Invoices and Credit Notes\",\n description: \"Tool to list all invoices and credit notes from ProAbono Backoffice API. Use when you need to retrieve invoice data with optional filtering by business, payment state, or date range. Supports pagination for large result sets.\",\n input: ProabonoListInvoicesInput,\n output: ProabonoListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListInvoicesInput = z.object({\n Page: z.number().int().describe(\"Page number for pagination (minimum 1).\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page (minimum 1).\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to get invoices for a specific business.\").optional(),\n StateInvoice: z.string().describe(\"Filter by invoice state (e.g., 'Paid', 'Due', 'Draft', 'Problem', 'Void', 'Uncollectible'). This is the technical state used internally by ProAbono.\").optional(),\n DatePaymentMin: z.string().describe(\"Minimum payment date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00'). Only invoices paid on or after this date will be returned.\").optional(),\n}).describe(\"Request model for listing invoices and credit notes from ProAbono.\");\nconst ProabonoListInvoices_InvoiceLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'next', 'prev').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS navigation link for invoice resources.\");\nconst ProabonoListInvoices_InvoiceItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the invoice.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for this invoice.\").nullable().optional(),\n Status: z.string().describe(\"Functional invoice state (accounting state), such as 'Draft', 'Due', 'Paid', 'Problem', 'Void', 'Uncollectible'.\").nullable().optional(),\n AmountTax: z.number().describe(\"Total tax amount.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment ID associated with this invoice.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the invoice in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this invoice.\").nullable().optional(),\n AmountTotal: z.number().describe(\"Total invoice amount.\").nullable().optional(),\n DateInvoice: z.string().describe(\"Invoice date in ISO 8601 format.\").nullable().optional(),\n DatePayment: z.string().describe(\"Payment date in ISO 8601 format.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the invoice in ISO 8601 format.\").nullable().optional(),\n StateInvoice: z.string().describe(\"Technical invoice state used internally by ProAbono to track the automation process.\").nullable().optional(),\n AmountSubtotal: z.number().describe(\"Subtotal amount before taxes and discounts.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"Invoice reference number.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).passthrough().describe(\"Individual invoice or credit note item.\");\nexport const ProabonoListInvoicesOutput = z.object({\n Page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page.\").nullable().optional(),\n Items: z.array(ProabonoListInvoices_InvoiceItemSchema).describe(\"Collection of invoice objects matching the query.\").nullable().optional(),\n Links: z.array(ProabonoListInvoices_InvoiceLinkSchema).describe(\"HATEOAS navigation links for pagination (e.g., next, prev).\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page.\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of matching items across all pages.\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing invoices and credit notes.\");\n\nexport const proabonoListInvoices = action(\"PROABONO_LIST_INVOICES\", {\n slug: \"proabono-list-invoices\",\n name: \"List Invoices and Credit Notes\",\n description: \"Tool to list all invoices and credit notes from ProAbono Backoffice API. Use when you need to retrieve invoice data with optional filtering by business, payment state, or date range. Supports pagination for large result sets.\",\n input: ProabonoListInvoicesInput,\n output: ProabonoListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,E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mD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const ProabonoListOffersInput = zod.z.object({
|
|
|
12
12
|
const ProabonoListOffers_LinkObjectSchema = zod.z.object({
|
|
13
13
|
rel: zod.z.string().describe("Relationship type of the link (e.g., 'self', 'next', 'previous')").nullable().optional(),
|
|
14
14
|
href: zod.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 = zod.z.object({
|
|
17
17
|
Id: zod.z.number().int().describe("Unique identifier for the offer").nullable().optional(),
|
|
18
18
|
Name: zod.z.string().describe("Display name of the offer").nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const ProabonoListOffers_OfferObjectSchema = zod.z.object({
|
|
|
32
32
|
UnitRecurrence: zod.z.string().describe("Recurrence time unit (e.g., 'day', 'month', 'year')").nullable().optional(),
|
|
33
33
|
AmountRecurrence: zod.z.number().int().describe("Recurring fee amount in cents").nullable().optional(),
|
|
34
34
|
DurationRecurrence: zod.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 ProabonoListOffersOutput = zod.z.object({
|
|
37
37
|
Page: zod.z.number().int().describe("Current page number in the result set").nullable().optional(),
|
|
38
38
|
Count: zod.z.number().int().describe("Number of items returned in this page").nullable().optional(),
|
|
@@ -41,7 +41,7 @@ const ProabonoListOffersOutput = zod.z.object({
|
|
|
41
41
|
SizePage: zod.z.number().int().describe("Number of items per page").nullable().optional(),
|
|
42
42
|
TotalItems: zod.z.number().int().describe("Total number of items available across all pages").nullable().optional(),
|
|
43
43
|
DateGenerated: zod.z.string().describe("Timestamp when this response was generated (ISO 8601 format)").nullable().optional()
|
|
44
|
-
}).describe("Response model for listing offers with pagination metadata.");
|
|
44
|
+
}).passthrough().describe("Response model for listing offers with pagination metadata.");
|
|
45
45
|
const proabonoListOffers = require_action.action("PROABONO_LIST_OFFERS", {
|
|
46
46
|
slug: "proabono-list-offers",
|
|
47
47
|
name: "List Offers",
|