@keystrokehq/proabono 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/anonymize-customer.cjs +2 -2
- package/dist/actions/anonymize-customer.cjs.map +1 -1
- package/dist/actions/anonymize-customer.d.cts +21 -3
- package/dist/actions/anonymize-customer.d.cts.map +1 -1
- package/dist/actions/anonymize-customer.d.mts +21 -3
- package/dist/actions/anonymize-customer.d.mts.map +1 -1
- 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 +14 -3
- package/dist/actions/bill-customer.d.cts.map +1 -1
- package/dist/actions/bill-customer.d.mts +14 -3
- package/dist/actions/bill-customer.d.mts.map +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 +43 -3
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +43 -3
- package/dist/actions/create-customer.d.mts.map +1 -1
- 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 +38 -3
- package/dist/actions/create-feature.d.cts.map +1 -1
- package/dist/actions/create-feature.d.mts +38 -3
- package/dist/actions/create-feature.d.mts.map +1 -1
- 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 +10 -3
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +10 -3
- package/dist/actions/delete-customer.d.mts.map +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 +4 -4
- package/dist/actions/delete-offer.cjs.map +1 -1
- package/dist/actions/delete-offer.d.cts +11 -3
- package/dist/actions/delete-offer.d.cts.map +1 -1
- package/dist/actions/delete-offer.d.mts +11 -3
- package/dist/actions/delete-offer.d.mts.map +1 -1
- package/dist/actions/delete-offer.mjs +4 -4
- package/dist/actions/delete-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.cjs +3 -3
- package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.cts +10 -3
- package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.mts +10 -3
- package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -1
- package/dist/actions/delete-pricing-table-offer.mjs +3 -3
- package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table.cjs +3 -3
- package/dist/actions/delete-pricing-table.cjs.map +1 -1
- package/dist/actions/delete-pricing-table.d.cts +10 -3
- package/dist/actions/delete-pricing-table.d.cts.map +1 -1
- package/dist/actions/delete-pricing-table.d.mts +10 -3
- package/dist/actions/delete-pricing-table.d.mts.map +1 -1
- package/dist/actions/delete-pricing-table.mjs +3 -3
- 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 +9 -3
- package/dist/actions/delete-subscription-discount.d.cts.map +1 -1
- package/dist/actions/delete-subscription-discount.d.mts +9 -3
- package/dist/actions/delete-subscription-discount.d.mts.map +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 +10 -3
- package/dist/actions/enable-webhook.d.cts.map +1 -1
- package/dist/actions/enable-webhook.d.mts +10 -3
- package/dist/actions/enable-webhook.d.mts.map +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 +19 -3
- package/dist/actions/get-customer-billing-address.d.cts.map +1 -1
- package/dist/actions/get-customer-billing-address.d.mts +19 -3
- package/dist/actions/get-customer-billing-address.d.mts.map +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 +27 -3
- package/dist/actions/get-customer-billing.d.cts.map +1 -1
- package/dist/actions/get-customer-billing.d.mts +27 -3
- package/dist/actions/get-customer-billing.d.mts.map +1 -1
- 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 +25 -3
- package/dist/actions/get-customer-by-reference.d.cts.map +1 -1
- package/dist/actions/get-customer-by-reference.d.mts +25 -3
- package/dist/actions/get-customer-by-reference.d.mts.map +1 -1
- 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 +14 -3
- package/dist/actions/get-customer-payment-settings.d.cts.map +1 -1
- package/dist/actions/get-customer-payment-settings.d.mts +14 -3
- package/dist/actions/get-customer-payment-settings.d.mts.map +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 +27 -3
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +27 -3
- package/dist/actions/get-customer.d.mts.map +1 -1
- 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 +47 -3
- package/dist/actions/get-discount.d.cts.map +1 -1
- package/dist/actions/get-discount.d.mts +47 -3
- package/dist/actions/get-discount.d.mts.map +1 -1
- package/dist/actions/get-discount.mjs +2 -2
- package/dist/actions/get-discount.mjs.map +1 -1
- package/dist/actions/get-feature.cjs +3 -3
- package/dist/actions/get-feature.cjs.map +1 -1
- package/dist/actions/get-feature.d.cts +24 -3
- package/dist/actions/get-feature.d.cts.map +1 -1
- package/dist/actions/get-feature.d.mts +24 -3
- package/dist/actions/get-feature.d.mts.map +1 -1
- package/dist/actions/get-feature.mjs +3 -3
- 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 +38 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +38 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- 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 +43 -3
- package/dist/actions/get-offer.d.cts.map +1 -1
- package/dist/actions/get-offer.d.mts +43 -3
- package/dist/actions/get-offer.d.mts.map +1 -1
- 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 +66 -3
- package/dist/actions/get-subscription-by-customer.d.cts.map +1 -1
- package/dist/actions/get-subscription-by-customer.d.mts +66 -3
- package/dist/actions/get-subscription-by-customer.d.mts.map +1 -1
- 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 +40 -3
- package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -1
- package/dist/actions/get-subscription-creation-quote.d.mts +40 -3
- package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -1
- 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 +24 -3
- package/dist/actions/get-usage.d.cts.map +1 -1
- package/dist/actions/get-usage.d.mts +24 -3
- package/dist/actions/get-usage.d.mts.map +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 +37 -3
- package/dist/actions/get-usages-for-customer.d.cts.map +1 -1
- package/dist/actions/get-usages-for-customer.d.mts +37 -3
- package/dist/actions/get-usages-for-customer.d.mts.map +1 -1
- 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 +22 -3
- package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -1
- package/dist/actions/invalidate-customer-by-id.d.mts +22 -3
- package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -1
- 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 +25 -3
- package/dist/actions/invalidate-customer.d.cts.map +1 -1
- package/dist/actions/invalidate-customer.d.mts +25 -3
- package/dist/actions/invalidate-customer.d.mts.map +1 -1
- 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 +43 -3
- package/dist/actions/list-balance-lines.d.cts.map +1 -1
- package/dist/actions/list-balance-lines.d.mts +43 -3
- package/dist/actions/list-balance-lines.d.mts.map +1 -1
- 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 +36 -3
- package/dist/actions/list-business-localization.d.cts.map +1 -1
- package/dist/actions/list-business-localization.d.mts +36 -3
- package/dist/actions/list-business-localization.d.mts.map +1 -1
- 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 +37 -3
- package/dist/actions/list-businesses.d.cts.map +1 -1
- package/dist/actions/list-businesses.d.mts +37 -3
- package/dist/actions/list-businesses.d.mts.map +1 -1
- 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 +44 -3
- package/dist/actions/list-customer-moves.d.cts.map +1 -1
- package/dist/actions/list-customer-moves.d.mts +44 -3
- package/dist/actions/list-customer-moves.d.mts.map +1 -1
- 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 +29 -3
- package/dist/actions/list-customers-by-feature.d.cts.map +1 -1
- package/dist/actions/list-customers-by-feature.d.mts +29 -3
- package/dist/actions/list-customers-by-feature.d.mts.map +1 -1
- 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 +46 -3
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +46 -3
- package/dist/actions/list-customers.d.mts.map +1 -1
- 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 +45 -3
- package/dist/actions/list-discounts.d.cts.map +1 -1
- package/dist/actions/list-discounts.d.mts +45 -3
- package/dist/actions/list-discounts.d.mts.map +1 -1
- 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 +41 -3
- package/dist/actions/list-features.d.cts.map +1 -1
- package/dist/actions/list-features.d.mts +41 -3
- package/dist/actions/list-features.d.mts.map +1 -1
- 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 +46 -3
- package/dist/actions/list-gateway-accounts.d.cts.map +1 -1
- package/dist/actions/list-gateway-accounts.d.mts +46 -3
- package/dist/actions/list-gateway-accounts.d.mts.map +1 -1
- 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 +44 -3
- package/dist/actions/list-gateway-permissions.d.cts.map +1 -1
- package/dist/actions/list-gateway-permissions.d.mts +44 -3
- package/dist/actions/list-gateway-permissions.d.mts.map +1 -1
- 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 +62 -3
- package/dist/actions/list-gateway-requests.d.cts.map +1 -1
- package/dist/actions/list-gateway-requests.d.mts +62 -3
- package/dist/actions/list-gateway-requests.d.mts.map +1 -1
- 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 +47 -3
- package/dist/actions/list-gateway-transactions.d.cts.map +1 -1
- package/dist/actions/list-gateway-transactions.d.mts +47 -3
- package/dist/actions/list-gateway-transactions.d.mts.map +1 -1
- 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 +27 -3
- package/dist/actions/list-invoice-lines.d.cts.map +1 -1
- package/dist/actions/list-invoice-lines.d.mts +27 -3
- package/dist/actions/list-invoice-lines.d.mts.map +1 -1
- 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 +42 -3
- package/dist/actions/list-invoices-by-customer.d.cts.map +1 -1
- package/dist/actions/list-invoices-by-customer.d.mts +42 -3
- package/dist/actions/list-invoices-by-customer.d.mts.map +1 -1
- 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 +46 -3
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +46 -3
- package/dist/actions/list-invoices.d.mts.map +1 -1
- 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 +50 -3
- package/dist/actions/list-offers.d.cts.map +1 -1
- package/dist/actions/list-offers.d.mts +50 -3
- package/dist/actions/list-offers.d.mts.map +1 -1
- 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 +44 -3
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +44 -3
- package/dist/actions/list-payments.d.mts.map +1 -1
- 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 +33 -3
- package/dist/actions/list-pricing-table-offers.d.cts.map +1 -1
- package/dist/actions/list-pricing-table-offers.d.mts +33 -3
- package/dist/actions/list-pricing-table-offers.d.mts.map +1 -1
- 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 +42 -3
- package/dist/actions/list-pricing-tables.d.cts.map +1 -1
- package/dist/actions/list-pricing-tables.d.mts +42 -3
- package/dist/actions/list-pricing-tables.d.mts.map +1 -1
- 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 +32 -3
- package/dist/actions/list-segment-localizations.d.cts.map +1 -1
- package/dist/actions/list-segment-localizations.d.mts +32 -3
- package/dist/actions/list-segment-localizations.d.mts.map +1 -1
- 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 +42 -3
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +42 -3
- package/dist/actions/list-segments.d.mts.map +1 -1
- 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 +35 -3
- package/dist/actions/list-subscription-discounts.d.cts.map +1 -1
- package/dist/actions/list-subscription-discounts.d.mts +35 -3
- package/dist/actions/list-subscription-discounts.d.mts.map +1 -1
- 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 +34 -3
- package/dist/actions/list-subscription-features.d.cts.map +1 -1
- package/dist/actions/list-subscription-features.d.mts +34 -3
- package/dist/actions/list-subscription-features.d.mts.map +1 -1
- 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 +40 -3
- package/dist/actions/list-subscription-periods.d.cts.map +1 -1
- package/dist/actions/list-subscription-periods.d.mts +40 -3
- package/dist/actions/list-subscription-periods.d.mts.map +1 -1
- 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 +49 -3
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +49 -3
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- 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 +43 -3
- package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.d.mts +43 -3
- package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -1
- 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 +36 -3
- package/dist/actions/list-tax-profiles.d.cts.map +1 -1
- package/dist/actions/list-tax-profiles.d.mts +36 -3
- package/dist/actions/list-tax-profiles.d.mts.map +1 -1
- 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 +65 -3
- package/dist/actions/list-upgrade-offers.d.cts.map +1 -1
- package/dist/actions/list-upgrade-offers.d.mts +65 -3
- package/dist/actions/list-upgrade-offers.d.mts.map +1 -1
- 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 +53 -3
- package/dist/actions/list-webhook-notifications.d.cts.map +1 -1
- package/dist/actions/list-webhook-notifications.d.mts +53 -3
- package/dist/actions/list-webhook-notifications.d.mts.map +1 -1
- 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 +46 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +46 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- 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 +38 -3
- package/dist/actions/quote-balance-line.d.cts.map +1 -1
- package/dist/actions/quote-balance-line.d.mts +38 -3
- package/dist/actions/quote-balance-line.d.mts.map +1 -1
- 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 +21 -3
- package/dist/actions/revoke-customer-links.d.cts.map +1 -1
- package/dist/actions/revoke-customer-links.d.mts +21 -3
- package/dist/actions/revoke-customer-links.d.mts.map +1 -1
- 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 +49 -3
- package/dist/actions/update-businesses-billing-address.d.cts.map +1 -1
- package/dist/actions/update-businesses-billing-address.d.mts +49 -3
- package/dist/actions/update-businesses-billing-address.d.mts.map +1 -1
- 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 +41 -3
- package/dist/actions/update-customer-billing-address.d.cts.map +1 -1
- package/dist/actions/update-customer-billing-address.d.mts +41 -3
- package/dist/actions/update-customer-billing-address.d.mts.map +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 +15 -3
- package/dist/actions/update-customer-payment-settings.d.cts.map +1 -1
- package/dist/actions/update-customer-payment-settings.d.mts +15 -3
- package/dist/actions/update-customer-payment-settings.d.mts.map +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 +51 -3
- package/dist/actions/update-customer-shipping.d.cts.map +1 -1
- package/dist/actions/update-customer-shipping.d.mts +51 -3
- package/dist/actions/update-customer-shipping.d.mts.map +1 -1
- 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 +39 -3
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +39 -3
- package/dist/actions/update-customer.d.mts.map +1 -1
- 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 +40 -3
- package/dist/actions/update-feature.d.cts.map +1 -1
- package/dist/actions/update-feature.d.mts +40 -3
- package/dist/actions/update-feature.d.mts.map +1 -1
- 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 +33 -3
- package/dist/actions/update-tax-profiles.d.cts.map +1 -1
- package/dist/actions/update-tax-profiles.d.mts +33 -3
- package/dist/actions/update-tax-profiles.d.mts.map +1 -1
- package/dist/actions/update-tax-profiles.mjs +2 -2
- package/dist/actions/update-tax-profiles.mjs.map +1 -1
- package/dist/catalog.cjs +23 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +22 -0
- package/dist/catalog.d.mts +22 -0
- package/dist/catalog.mjs +23 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerByIdInput
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerByIdInput = z.object({\n id_customer: z.number().int().describe(\"The ProAbono internal ID of the customer to invalidate. This operation replaces the customer's reference identifier with a new value, allowing the original reference to be reused for a different customer.\"),\n}).describe(\"Request parameters for invalidating a customer by ID.\");\nconst ProabonoInvalidateCustomerById_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an encrypted portal link.\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerByIdOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomerById_CustomerLinkSchema).describe(\"Collection of newly generated encrypted portal links for customer access. All previous links are revoked during invalidation.\").nullable().optional(),\n Status: z.string().describe(\"The status of the customer account (e.g., 'Enabled', 'Disabled').\").nullable().optional(),\n Currency: z.string().describe(\"The currency code for this customer (e.g., 'EUR', 'USD').\").nullable().optional(),\n Language: z.string().describe(\"The customer's language preference (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"The reference name of the segment.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The new customer reference that was assigned during invalidation, replacing the original reference.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomerById = action(\"PROABONO_INVALIDATE_CUSTOMER_BY_ID\", {\n slug: \"proabono-invalidate-customer-by-id\",\n name: \"Invalidate Customer by ID\",\n description: \"Tool to invalidate a customer by their ProAbono internal ID. Use when you need to free up a customer reference for reuse. This operation replaces the customer's ReferenceCustomer with a new value and regenerates all encrypted portal links.\",\n input: ProabonoInvalidateCustomerByIdInput,\n output: ProabonoInvalidateCustomerByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M,EACvP,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,M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
+
declare const ProabonoInvalidateCustomerByIdInput: z.ZodObject<{
|
|
5
|
+
id_customer: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoInvalidateCustomerByIdOutput: z.ZodObject<{
|
|
8
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const proabonoInvalidateCustomerById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
id_customer: number;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { proabonoInvalidateCustomerById };
|
|
9
28
|
//# sourceMappingURL=invalidate-customer-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.d.cts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.d.cts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAapC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/invalidate-customer-by-id.d.ts
|
|
4
|
-
declare const ProabonoInvalidateCustomerByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoInvalidateCustomerByIdInput: z.ZodObject<{
|
|
5
|
+
id_customer: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoInvalidateCustomerByIdOutput: z.ZodObject<{
|
|
8
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const proabonoInvalidateCustomerById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
id_customer: number;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { proabonoInvalidateCustomerById };
|
|
9
28
|
//# sourceMappingURL=invalidate-customer-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.d.mts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.d.mts","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAapC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -6,7 +6,7 @@ const ProabonoInvalidateCustomerById_CustomerLinkSchema = z.object({
|
|
|
6
6
|
rel: z.string().describe("The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').").nullable().optional(),
|
|
7
7
|
href: z.string().describe("The URL of the link, typically an encrypted portal link.").nullable().optional(),
|
|
8
8
|
query: z.string().describe("Unique encrypted query parameter for secure access.").nullable().optional()
|
|
9
|
-
}).describe("A link to a customer portal page.");
|
|
9
|
+
}).passthrough().describe("A link to a customer portal page.");
|
|
10
10
|
const proabonoInvalidateCustomerById = action("PROABONO_INVALIDATE_CUSTOMER_BY_ID", {
|
|
11
11
|
slug: "proabono-invalidate-customer-by-id",
|
|
12
12
|
name: "Invalidate Customer by ID",
|
|
@@ -23,7 +23,7 @@ const proabonoInvalidateCustomerById = action("PROABONO_INVALIDATE_CUSTOMER_BY_I
|
|
|
23
23
|
IdSegment: z.number().int().describe("The identifier of the segment this customer belongs to.").nullable().optional(),
|
|
24
24
|
ReferenceSegment: z.string().describe("The reference name of the segment.").nullable().optional(),
|
|
25
25
|
ReferenceCustomer: z.string().describe("The new customer reference that was assigned during invalidation, replacing the original reference.").nullable().optional()
|
|
26
|
-
}).describe("Response model returned after invalidating a customer.")
|
|
26
|
+
}).passthrough().describe("Response model returned after invalidating a customer.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { proabonoInvalidateCustomerById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer-by-id.mjs","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerByIdInput
|
|
1
|
+
{"version":3,"file":"invalidate-customer-by-id.mjs","names":[],"sources":["../../src/actions/invalidate-customer-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerByIdInput = z.object({\n id_customer: z.number().int().describe(\"The ProAbono internal ID of the customer to invalidate. This operation replaces the customer's reference identifier with a new value, allowing the original reference to be reused for a different customer.\"),\n}).describe(\"Request parameters for invalidating a customer by ID.\");\nconst ProabonoInvalidateCustomerById_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an encrypted portal link.\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerByIdOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomerById_CustomerLinkSchema).describe(\"Collection of newly generated encrypted portal links for customer access. All previous links are revoked during invalidation.\").nullable().optional(),\n Status: z.string().describe(\"The status of the customer account (e.g., 'Enabled', 'Disabled').\").nullable().optional(),\n Currency: z.string().describe(\"The currency code for this customer (e.g., 'EUR', 'USD').\").nullable().optional(),\n Language: z.string().describe(\"The customer's language preference (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"The reference name of the segment.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The new customer reference that was assigned during invalidation, replacing the original reference.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomerById = action(\"PROABONO_INVALIDATE_CUSTOMER_BY_ID\", {\n slug: \"proabono-invalidate-customer-by-id\",\n name: \"Invalidate Customer by ID\",\n description: \"Tool to invalidate a customer by their ProAbono internal ID. Use when you need to free up a customer reference for reuse. This operation replaces the customer's ReferenceCustomer with a new value and regenerates all encrypted portal links.\",\n input: ProabonoInvalidateCustomerByIdInput,\n output: ProabonoInvalidateCustomerByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M,EACvP,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,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idateCustomerInput = zod.z.object({ reference_customer: zod.z
|
|
|
5
5
|
const ProabonoInvalidateCustomer_CustomerLinkSchema = zod.z.object({
|
|
6
6
|
rel: zod.z.string().describe("The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').").nullable().optional(),
|
|
7
7
|
href: zod.z.string().describe("The URL of the link, typically an API endpoint path.").nullable().optional()
|
|
8
|
-
}).describe("A link to a customer portal page.");
|
|
8
|
+
}).passthrough().describe("A link to a customer portal page.");
|
|
9
9
|
const ProabonoInvalidateCustomerOutput = zod.z.object({
|
|
10
10
|
Id: zod.z.number().int().describe("The ProAbono internal identifier for the customer.").nullable().optional(),
|
|
11
11
|
Name: zod.z.string().describe("The customer's display name.").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const ProabonoInvalidateCustomerOutput = zod.z.object({
|
|
|
21
21
|
StateCustomer: zod.z.string().describe("Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').").nullable().optional(),
|
|
22
22
|
IdUserCreation: zod.z.number().int().describe("User ID who created the customer record.").nullable().optional(),
|
|
23
23
|
ReferenceCustomer: zod.z.string().describe("Your application's customer reference that was invalidated.").nullable().optional()
|
|
24
|
-
}).describe("Response model returned after invalidating a customer.");
|
|
24
|
+
}).passthrough().describe("Response model returned after invalidating a customer.");
|
|
25
25
|
const proabonoInvalidateCustomer = require_action.action("PROABONO_INVALIDATE_CUSTOMER", {
|
|
26
26
|
slug: "proabono-invalidate-customer",
|
|
27
27
|
name: "Invalidate Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerInput
|
|
1
|
+
{"version":3,"file":"invalidate-customer.cjs","names":["z","action"],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to invalidate. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for invalidating a customer.\");\nconst ProabonoInvalidateCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an API endpoint path.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's display name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources.\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended', 'Invalidated').\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record.\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Your application's customer reference that was invalidated.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomer = action(\"PROABONO_INVALIDATE_CUSTOMER\", {\n slug: \"proabono-invalidate-customer\",\n name: \"Invalidate Customer\",\n description: \"Tool to invalidate a customer by their reference. Use when you need to revoke a customer's access to subscribed services while keeping the account record.\",\n input: ProabonoInvalidateCustomerInput,\n output: ProabonoInvalidateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/invalidate-customer.d.ts
|
|
4
|
-
declare const ProabonoInvalidateCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoInvalidateCustomerInput: z.ZodObject<{
|
|
5
|
+
reference_customer: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoInvalidateCustomerOutput: z.ZodObject<{
|
|
8
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const proabonoInvalidateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
reference_customer: string;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { proabonoInvalidateCustomer };
|
|
9
31
|
//# sourceMappingURL=invalidate-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.d.cts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"invalidate-customer.d.cts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/invalidate-customer.d.ts
|
|
4
|
-
declare const ProabonoInvalidateCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoInvalidateCustomerInput: z.ZodObject<{
|
|
5
|
+
reference_customer: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoInvalidateCustomerOutput: z.ZodObject<{
|
|
8
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const proabonoInvalidateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
reference_customer: string;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { proabonoInvalidateCustomer };
|
|
9
31
|
//# sourceMappingURL=invalidate-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.d.mts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"invalidate-customer.d.mts","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const ProabonoInvalidateCustomerInput = z.object({ reference_customer: z.string(
|
|
|
5
5
|
const ProabonoInvalidateCustomer_CustomerLinkSchema = z.object({
|
|
6
6
|
rel: z.string().describe("The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').").nullable().optional(),
|
|
7
7
|
href: z.string().describe("The URL of the link, typically an API endpoint path.").nullable().optional()
|
|
8
|
-
}).describe("A link to a customer portal page.");
|
|
8
|
+
}).passthrough().describe("A link to a customer portal page.");
|
|
9
9
|
const proabonoInvalidateCustomer = action("PROABONO_INVALIDATE_CUSTOMER", {
|
|
10
10
|
slug: "proabono-invalidate-customer",
|
|
11
11
|
name: "Invalidate Customer",
|
|
@@ -26,7 +26,7 @@ const proabonoInvalidateCustomer = action("PROABONO_INVALIDATE_CUSTOMER", {
|
|
|
26
26
|
StateCustomer: z.string().describe("Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').").nullable().optional(),
|
|
27
27
|
IdUserCreation: z.number().int().describe("User ID who created the customer record.").nullable().optional(),
|
|
28
28
|
ReferenceCustomer: z.string().describe("Your application's customer reference that was invalidated.").nullable().optional()
|
|
29
|
-
}).describe("Response model returned after invalidating a customer.")
|
|
29
|
+
}).passthrough().describe("Response model returned after invalidating a customer.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { proabonoInvalidateCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalidate-customer.mjs","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerInput
|
|
1
|
+
{"version":3,"file":"invalidate-customer.mjs","names":[],"sources":["../../src/actions/invalidate-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoInvalidateCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to invalidate. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for invalidating a customer.\");\nconst ProabonoInvalidateCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'self', 'related-address-billing', 'collection-subscription').\").nullable().optional(),\n href: z.string().describe(\"The URL of the link, typically an API endpoint path.\").nullable().optional(),\n}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoInvalidateCustomerOutput = z.object({\n Id: z.number().int().describe(\"The ProAbono internal identifier for the customer.\").nullable().optional(),\n Name: z.string().describe(\"The customer's display name.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address.\").nullable().optional(),\n Links: z.array(ProabonoInvalidateCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources.\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended', 'Invalidated').\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr').\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The identifier of the segment this customer belongs to.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record.\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled', 'Invalidated').\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record.\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Your application's customer reference that was invalidated.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after invalidating a customer.\");\n\nexport const proabonoInvalidateCustomer = action(\"PROABONO_INVALIDATE_CUSTOMER\", {\n slug: \"proabono-invalidate-customer\",\n name: \"Invalidate Customer\",\n description: \"Tool to invalidate a customer by their reference. Use when you need to revoke a customer's access to subscribed services while keeping the account record.\",\n input: ProabonoInvalidateCustomerInput,\n output: ProabonoInvalidateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACzJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAAgD,EA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,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ProabonoListBalanceLinesInput = zod.z.object({
|
|
|
11
11
|
const ProabonoListBalanceLines_BalanceLineLinkSchema = zod.z.object({
|
|
12
12
|
rel: zod.z.string().describe("Link relationship type (e.g., 'self', 'related-customer', 'related-subscription').").nullable().optional(),
|
|
13
13
|
href: zod.z.string().describe("URL for the linked resource.").nullable().optional()
|
|
14
|
-
}).describe("HATEOAS navigation link for balance line resources.");
|
|
14
|
+
}).passthrough().describe("HATEOAS navigation link for balance line resources.");
|
|
15
15
|
const ProabonoListBalanceLines_BalanceLineItemSchema = zod.z.object({
|
|
16
16
|
Id: zod.z.number().int().describe("Unique identifier for the balance line.").nullable().optional(),
|
|
17
17
|
Label: zod.z.string().describe("Label or description of the balance line item.").nullable().optional(),
|
|
@@ -26,7 +26,7 @@ const ProabonoListBalanceLines_BalanceLineItemSchema = zod.z.object({
|
|
|
26
26
|
IdSubscription: zod.z.number().int().describe("Subscription ID associated with this balance line.").nullable().optional(),
|
|
27
27
|
TypeBalanceLine: zod.z.string().describe("Type of balance line (e.g., 'Charge', 'Credit', 'Fee').").nullable().optional(),
|
|
28
28
|
ReferenceCustomer: zod.z.string().describe("Customer reference or external identifier.").nullable().optional()
|
|
29
|
-
}).describe("Individual balance line item representing a charge or credit.");
|
|
29
|
+
}).passthrough().describe("Individual balance line item representing a charge or credit.");
|
|
30
30
|
const ProabonoListBalanceLinesOutput = zod.z.object({
|
|
31
31
|
Page: zod.z.number().int().describe("Current page number.").nullable().optional(),
|
|
32
32
|
Count: zod.z.number().int().describe("Number of items on current page.").nullable().optional(),
|
|
@@ -35,7 +35,7 @@ const ProabonoListBalanceLinesOutput = zod.z.object({
|
|
|
35
35
|
SizePage: zod.z.number().int().describe("Maximum items per page.").nullable().optional(),
|
|
36
36
|
TotalItems: zod.z.number().int().describe("Total number of matching items across all pages.").nullable().optional(),
|
|
37
37
|
DateGenerated: zod.z.string().describe("Response generation timestamp in ISO 8601 format.").nullable().optional()
|
|
38
|
-
}).describe("Response model for listing balance lines.");
|
|
38
|
+
}).passthrough().describe("Response model for listing balance lines.");
|
|
39
39
|
const proabonoListBalanceLines = require_action.action("PROABONO_LIST_BALANCE_LINES", {
|
|
40
40
|
slug: "proabono-list-balance-lines",
|
|
41
41
|
name: "List Balance Lines",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-balance-lines.cjs","names":["z","action"],"sources":["../../src/actions/list-balance-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListBalanceLinesInput
|
|
1
|
+
{"version":3,"file":"list-balance-lines.cjs","names":["z","action"],"sources":["../../src/actions/list-balance-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListBalanceLinesInput = 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 nextBilling: z.boolean().describe(\"Flag to retrieve the outstanding balances of the upcoming billing. Set to true to get only balance lines that will be included in the next billing.\").optional(),\n IdSubscription: z.number().int().describe(\"The ID of the subscription to retrieve balance lines for. Either ReferenceCustomer or IdSubscription must be provided.\").optional(),\n ReferenceCustomer: z.string().describe(\"The reference of the customer to retrieve balance lines for. Either ReferenceCustomer or IdSubscription must be provided.\").optional(),\n}).describe(\"Request model for listing balance lines from ProAbono.\");\nconst ProabonoListBalanceLines_BalanceLineLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'related-customer', 'related-subscription').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS navigation link for balance line resources.\");\nconst ProabonoListBalanceLines_BalanceLineItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the balance line.\").nullable().optional(),\n Label: z.string().describe(\"Label or description of the balance line item.\").nullable().optional(),\n Links: z.array(ProabonoListBalanceLines_BalanceLineLinkSchema).describe(\"HATEOAS navigation links for this balance line.\").nullable().optional(),\n Amount: z.number().describe(\"Amount of the balance line (positive for charges, negative for credits).\").nullable().optional(),\n Status: z.string().describe(\"Status of the balance line (e.g., 'Pending', 'Billed', 'Cancelled').\").nullable().optional(),\n AmountTax: z.number().describe(\"Tax amount for this balance line.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the balance line in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this balance line.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this balance line.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the balance line in ISO 8601 format.\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Subscription ID associated with this balance line.\").nullable().optional(),\n TypeBalanceLine: z.string().describe(\"Type of balance line (e.g., 'Charge', 'Credit', 'Fee').\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).passthrough().describe(\"Individual balance line item representing a charge or credit.\");\nexport const ProabonoListBalanceLinesOutput = 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(ProabonoListBalanceLines_BalanceLineItemSchema).describe(\"Collection of balance line objects matching the query.\").nullable().optional(),\n Links: z.array(ProabonoListBalanceLines_BalanceLineLinkSchema).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 balance lines.\");\n\nexport const proabonoListBalanceLines = action(\"PROABONO_LIST_BALANCE_LINES\", {\n slug: \"proabono-list-balance-lines\",\n name: \"List Balance Lines\",\n description: \"Tool to list all balance lines from ProAbono. Use when you need to retrieve one-time charges or credits associated with a customer or subscription. Either ReferenceCustomer or IdSubscription parameter is required.\",\n input: ProabonoListBalanceLinesInput,\n output: ProabonoListBalanceLinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAClM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CAC7K,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,C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CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-balance-lines.d.ts
|
|
4
|
-
declare const ProabonoListBalanceLinesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoListBalanceLinesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
size_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
nextBilling: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
IdSubscription: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
ReferenceCustomer: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ProabonoListBalanceLinesOutput: z.ZodObject<{
|
|
12
|
+
Page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
Count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
Items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
Label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
Amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
AmountTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
IdCustomer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
IdSubscription: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
TypeBalanceLine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
33
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$loose>>>>;
|
|
36
|
+
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
declare const proabonoListBalanceLines: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
|
+
page?: number | undefined;
|
|
42
|
+
size_page?: number | undefined;
|
|
43
|
+
nextBilling?: boolean | undefined;
|
|
44
|
+
IdSubscription?: number | undefined;
|
|
45
|
+
ReferenceCustomer?: string | undefined;
|
|
46
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { proabonoListBalanceLines };
|
|
9
49
|
//# sourceMappingURL=list-balance-lines.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-balance-lines.d.cts","names":[],"sources":["../../src/actions/list-balance-lines.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-balance-lines.d.cts","names":[],"sources":["../../src/actions/list-balance-lines.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cA0B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-balance-lines.d.ts
|
|
4
|
-
declare const ProabonoListBalanceLinesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoListBalanceLinesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
size_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
nextBilling: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
IdSubscription: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
ReferenceCustomer: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ProabonoListBalanceLinesOutput: z.ZodObject<{
|
|
12
|
+
Page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
Count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
Items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
Label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
Amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
AmountTax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
IdCustomer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
IdSubscription: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
TypeBalanceLine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
33
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$loose>>>>;
|
|
36
|
+
SizePage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
TotalItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
DateGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
declare const proabonoListBalanceLines: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
|
+
page?: number | undefined;
|
|
42
|
+
size_page?: number | undefined;
|
|
43
|
+
nextBilling?: boolean | undefined;
|
|
44
|
+
IdSubscription?: number | undefined;
|
|
45
|
+
ReferenceCustomer?: string | undefined;
|
|
46
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { proabonoListBalanceLines };
|
|
9
49
|
//# sourceMappingURL=list-balance-lines.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-balance-lines.d.mts","names":[],"sources":["../../src/actions/list-balance-lines.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-balance-lines.d.mts","names":[],"sources":["../../src/actions/list-balance-lines.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cA0B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -11,7 +11,7 @@ const ProabonoListBalanceLinesInput = z.object({
|
|
|
11
11
|
const ProabonoListBalanceLines_BalanceLineLinkSchema = z.object({
|
|
12
12
|
rel: z.string().describe("Link relationship type (e.g., 'self', 'related-customer', 'related-subscription').").nullable().optional(),
|
|
13
13
|
href: z.string().describe("URL for the linked resource.").nullable().optional()
|
|
14
|
-
}).describe("HATEOAS navigation link for balance line resources.");
|
|
14
|
+
}).passthrough().describe("HATEOAS navigation link for balance line resources.");
|
|
15
15
|
const ProabonoListBalanceLines_BalanceLineItemSchema = z.object({
|
|
16
16
|
Id: z.number().int().describe("Unique identifier for the balance line.").nullable().optional(),
|
|
17
17
|
Label: z.string().describe("Label or description of the balance line item.").nullable().optional(),
|
|
@@ -26,7 +26,7 @@ const ProabonoListBalanceLines_BalanceLineItemSchema = z.object({
|
|
|
26
26
|
IdSubscription: z.number().int().describe("Subscription ID associated with this balance line.").nullable().optional(),
|
|
27
27
|
TypeBalanceLine: z.string().describe("Type of balance line (e.g., 'Charge', 'Credit', 'Fee').").nullable().optional(),
|
|
28
28
|
ReferenceCustomer: z.string().describe("Customer reference or external identifier.").nullable().optional()
|
|
29
|
-
}).describe("Individual balance line item representing a charge or credit.");
|
|
29
|
+
}).passthrough().describe("Individual balance line item representing a charge or credit.");
|
|
30
30
|
const proabonoListBalanceLines = action("PROABONO_LIST_BALANCE_LINES", {
|
|
31
31
|
slug: "proabono-list-balance-lines",
|
|
32
32
|
name: "List Balance Lines",
|
|
@@ -40,7 +40,7 @@ const proabonoListBalanceLines = action("PROABONO_LIST_BALANCE_LINES", {
|
|
|
40
40
|
SizePage: z.number().int().describe("Maximum items per page.").nullable().optional(),
|
|
41
41
|
TotalItems: z.number().int().describe("Total number of matching items across all pages.").nullable().optional(),
|
|
42
42
|
DateGenerated: z.string().describe("Response generation timestamp in ISO 8601 format.").nullable().optional()
|
|
43
|
-
}).describe("Response model for listing balance lines.")
|
|
43
|
+
}).passthrough().describe("Response model for listing balance lines.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { proabonoListBalanceLines };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-balance-lines.mjs","names":[],"sources":["../../src/actions/list-balance-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListBalanceLinesInput
|
|
1
|
+
{"version":3,"file":"list-balance-lines.mjs","names":[],"sources":["../../src/actions/list-balance-lines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListBalanceLinesInput = 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 nextBilling: z.boolean().describe(\"Flag to retrieve the outstanding balances of the upcoming billing. Set to true to get only balance lines that will be included in the next billing.\").optional(),\n IdSubscription: z.number().int().describe(\"The ID of the subscription to retrieve balance lines for. Either ReferenceCustomer or IdSubscription must be provided.\").optional(),\n ReferenceCustomer: z.string().describe(\"The reference of the customer to retrieve balance lines for. Either ReferenceCustomer or IdSubscription must be provided.\").optional(),\n}).describe(\"Request model for listing balance lines from ProAbono.\");\nconst ProabonoListBalanceLines_BalanceLineLinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self', 'related-customer', 'related-subscription').\").nullable().optional(),\n href: z.string().describe(\"URL for the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS navigation link for balance line resources.\");\nconst ProabonoListBalanceLines_BalanceLineItemSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier for the balance line.\").nullable().optional(),\n Label: z.string().describe(\"Label or description of the balance line item.\").nullable().optional(),\n Links: z.array(ProabonoListBalanceLines_BalanceLineLinkSchema).describe(\"HATEOAS navigation links for this balance line.\").nullable().optional(),\n Amount: z.number().describe(\"Amount of the balance line (positive for charges, negative for credits).\").nullable().optional(),\n Status: z.string().describe(\"Status of the balance line (e.g., 'Pending', 'Billed', 'Cancelled').\").nullable().optional(),\n AmountTax: z.number().describe(\"Tax amount for this balance line.\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date of the balance line in ISO 8601 format.\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business ID associated with this balance line.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Customer ID associated with this balance line.\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the balance line in ISO 8601 format.\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Subscription ID associated with this balance line.\").nullable().optional(),\n TypeBalanceLine: z.string().describe(\"Type of balance line (e.g., 'Charge', 'Credit', 'Fee').\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference or external identifier.\").nullable().optional(),\n}).passthrough().describe(\"Individual balance line item representing a charge or credit.\");\nexport const ProabonoListBalanceLinesOutput = 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(ProabonoListBalanceLines_BalanceLineItemSchema).describe(\"Collection of balance line objects matching the query.\").nullable().optional(),\n Links: z.array(ProabonoListBalanceLines_BalanceLineLinkSchema).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 balance lines.\");\n\nexport const proabonoListBalanceLines = action(\"PROABONO_LIST_BALANCE_LINES\", {\n slug: \"proabono-list-balance-lines\",\n name: \"List Balance Lines\",\n description: \"Tool to list all balance lines from ProAbono. Use when you need to retrieve one-time charges or credits associated with a customer or subscription. Either ReferenceCustomer or IdSubscription parameter is required.\",\n input: ProabonoListBalanceLinesInput,\n output: ProabonoListBalanceLinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,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,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAClM,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CAC7K,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,C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,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAWzF,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,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,8CAA8C,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,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,2CAOhB;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ const ProabonoListBusinessLocalization_LocalizationItemSchema = zod.z.object({
|
|
|
21
21
|
Language: zod.z.string().describe("Language code per ISO 639-1 standard (e.g., 'en', 'fr', 'de')").nullable().optional(),
|
|
22
22
|
IdBusiness: zod.z.number().int().describe("Business identifier for this localization").nullable().optional(),
|
|
23
23
|
TypeContent: ProabonoListBusinessLocalization_TypeContentEnumSchema.nullable().optional()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const ProabonoListBusinessLocalizationOutput = zod.z.object({
|
|
26
26
|
Page: zod.z.number().int().describe("Current page number in the paginated results").nullable().optional(),
|
|
27
27
|
Count: zod.z.number().int().describe("Number of localization items on the current page").nullable().optional(),
|
|
@@ -29,7 +29,7 @@ const ProabonoListBusinessLocalizationOutput = zod.z.object({
|
|
|
29
29
|
SizePage: zod.z.number().int().describe("Maximum number of items per page").nullable().optional(),
|
|
30
30
|
TotalItems: zod.z.number().int().describe("Total number of matching localization items across all pages").nullable().optional(),
|
|
31
31
|
DateGenerated: zod.z.string().describe("Timestamp when the response was generated").nullable().optional()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const proabonoListBusinessLocalization = require_action.action("PROABONO_LIST_BUSINESS_LOCALIZATION", {
|
|
34
34
|
slug: "proabono-list-business-localization",
|
|
35
35
|
name: "List Business Localization",
|