@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
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["proabono","executeProabonoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { proabono } from \"./app\";\nimport { executeProabonoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["proabono","executeProabonoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { proabono } from \"./app\";\nimport { executeProabonoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return proabono.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeProabonoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { proabono } from \"./app\";\nimport { executeProabonoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { proabono } from \"./app\";\nimport { executeProabonoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return proabono.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeProabonoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -5,7 +5,7 @@ const ProabonoAnonymizeCustomerInput = zod.z.object({ reference_customer: zod.z.
|
|
|
5
5
|
const ProabonoAnonymizeCustomer_CustomerLinkSchema = zod.z.object({
|
|
6
6
|
rel: zod.z.string().describe("The relationship type of the link (e.g., 'insite-home', 'insite-collection-offers', 'insite-register').").nullable().optional(),
|
|
7
7
|
href: zod.z.string().describe("The URL of the link, typically an encrypted portal link.").nullable().optional()
|
|
8
|
-
}).describe("A link to a customer portal page.");
|
|
8
|
+
}).passthrough().describe("A link to a customer portal page.");
|
|
9
9
|
const ProabonoAnonymizeCustomerOutput = 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 name, will be '## cleared ##' after anonymization.").nullable().optional(),
|
|
@@ -17,7 +17,7 @@ const ProabonoAnonymizeCustomerOutput = zod.z.object({
|
|
|
17
17
|
IdSegment: zod.z.number().int().describe("The identifier of the segment this customer belongs to.").nullable().optional(),
|
|
18
18
|
ReferenceSegment: zod.z.string().describe("The reference name of the segment.").nullable().optional(),
|
|
19
19
|
ReferenceCustomer: zod.z.string().describe("Your application's customer reference that was anonymized.").nullable().optional()
|
|
20
|
-
}).describe("Response model returned after anonymizing a customer.");
|
|
20
|
+
}).passthrough().describe("Response model returned after anonymizing a customer.");
|
|
21
21
|
const proabonoAnonymizeCustomer = require_action.action("PROABONO_ANONYMIZE_CUSTOMER", {
|
|
22
22
|
slug: "proabono-anonymize-customer",
|
|
23
23
|
name: "Anonymize Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anonymize-customer.cjs","names":["z","action"],"sources":["../../src/actions/anonymize-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoAnonymizeCustomerInput
|
|
1
|
+
{"version":3,"file":"anonymize-customer.cjs","names":["z","action"],"sources":["../../src/actions/anonymize-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoAnonymizeCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to anonymize. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for anonymizing a customer.\");\nconst ProabonoAnonymizeCustomer_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}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoAnonymizeCustomerOutput = 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, will be '## cleared ##' after anonymization.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address, cleared during anonymization.\").nullable().optional(),\n Links: z.array(ProabonoAnonymizeCustomer_CustomerLinkSchema).describe(\"Collection of encrypted portal links for customer access.\").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(\"Your application's customer reference that was anonymized.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after anonymizing a customer.\");\n\nexport const proabonoAnonymizeCustomer = action(\"PROABONO_ANONYMIZE_CUSTOMER\", {\n slug: \"proabono-anonymize-customer\",\n name: \"Anonymize Customer\",\n description: \"Tool to anonymize a customer for GDPR compliance. Use when you need to permanently remove personal data from a customer record while maintaining the account structure. The customer must have no active subscriptions, all invoices must be settled, and the balance must be empty before anonymization.\",\n input: ProabonoAnonymizeCustomerInput,\n output: ProabonoAnonymizeCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EACxJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,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;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/anonymize-customer.d.ts
|
|
4
|
-
declare const ProabonoAnonymizeCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoAnonymizeCustomerInput: z.ZodObject<{
|
|
5
|
+
reference_customer: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoAnonymizeCustomerOutput: 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
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const proabonoAnonymizeCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
reference_customer: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { proabonoAnonymizeCustomer };
|
|
9
27
|
//# sourceMappingURL=anonymize-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anonymize-customer.d.cts","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"anonymize-customer.d.cts","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/anonymize-customer.d.ts
|
|
4
|
-
declare const ProabonoAnonymizeCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoAnonymizeCustomerInput: z.ZodObject<{
|
|
5
|
+
reference_customer: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoAnonymizeCustomerOutput: 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
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const proabonoAnonymizeCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
reference_customer: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { proabonoAnonymizeCustomer };
|
|
9
27
|
//# sourceMappingURL=anonymize-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anonymize-customer.d.mts","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"anonymize-customer.d.mts","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const ProabonoAnonymizeCustomerInput = z.object({ reference_customer: z.string()
|
|
|
5
5
|
const ProabonoAnonymizeCustomer_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
|
-
}).describe("A link to a customer portal page.");
|
|
8
|
+
}).passthrough().describe("A link to a customer portal page.");
|
|
9
9
|
const proabonoAnonymizeCustomer = action("PROABONO_ANONYMIZE_CUSTOMER", {
|
|
10
10
|
slug: "proabono-anonymize-customer",
|
|
11
11
|
name: "Anonymize Customer",
|
|
@@ -22,7 +22,7 @@ const proabonoAnonymizeCustomer = action("PROABONO_ANONYMIZE_CUSTOMER", {
|
|
|
22
22
|
IdSegment: z.number().int().describe("The identifier of the segment this customer belongs to.").nullable().optional(),
|
|
23
23
|
ReferenceSegment: z.string().describe("The reference name of the segment.").nullable().optional(),
|
|
24
24
|
ReferenceCustomer: z.string().describe("Your application's customer reference that was anonymized.").nullable().optional()
|
|
25
|
-
}).describe("Response model returned after anonymizing a customer.")
|
|
25
|
+
}).passthrough().describe("Response model returned after anonymizing a customer.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { proabonoAnonymizeCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anonymize-customer.mjs","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoAnonymizeCustomerInput
|
|
1
|
+
{"version":3,"file":"anonymize-customer.mjs","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoAnonymizeCustomerInput = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to anonymize. This is your application's customer reference identifier.\"),\n}).describe(\"Request parameters for anonymizing a customer.\");\nconst ProabonoAnonymizeCustomer_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}).passthrough().describe(\"A link to a customer portal page.\");\nexport const ProabonoAnonymizeCustomerOutput = 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, will be '## cleared ##' after anonymization.\").nullable().optional(),\n Email: z.string().describe(\"The customer's email address, cleared during anonymization.\").nullable().optional(),\n Links: z.array(ProabonoAnonymizeCustomer_CustomerLinkSchema).describe(\"Collection of encrypted portal links for customer access.\").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(\"Your application's customer reference that was anonymized.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after anonymizing a customer.\");\n\nexport const proabonoAnonymizeCustomer = action(\"PROABONO_ANONYMIZE_CUSTOMER\", {\n slug: \"proabono-anonymize-customer\",\n name: \"Anonymize Customer\",\n description: \"Tool to anonymize a customer for GDPR compliance. Use when you need to permanently remove personal data from a customer record while maintaining the account structure. The customer must have no active subscriptions, all invoices must be settled, and the balance must be empty before anonymization.\",\n input: ProabonoAnonymizeCustomerInput,\n output: ProabonoAnonymizeCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EACxJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,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;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAc7D,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ProabonoBillCustomerOutput = zod.z.object({
|
|
|
9
9
|
InvoiceId: zod.z.string().describe("Identifier of the invoice generated").nullable().optional(),
|
|
10
10
|
BillingDate: zod.z.string().describe("Date when the billing was processed").nullable().optional(),
|
|
11
11
|
ReferenceCustomer: zod.z.string().describe("Reference of the customer that was billed").nullable().optional()
|
|
12
|
-
}).describe("Response model returned after billing a customer.");
|
|
12
|
+
}).passthrough().describe("Response model returned after billing a customer.");
|
|
13
13
|
const proabonoBillCustomer = require_action.action("PROABONO_BILL_CUSTOMER", {
|
|
14
14
|
slug: "proabono-bill-customer",
|
|
15
15
|
name: "Bill Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-customer.cjs","names":["z","action"],"sources":["../../src/actions/bill-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoBillCustomerInput
|
|
1
|
+
{"version":3,"file":"bill-customer.cjs","names":["z","action"],"sources":["../../src/actions/bill-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoBillCustomerInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference of the customer to bill. This identifier is used to trigger billing and create invoices for pending charges.\"),\n}).describe(\"Request model for billing a customer.\");\nexport const ProabonoBillCustomerOutput = z.object({\n Amount: z.number().describe(\"Total amount billed\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the billing operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the billing operation was successful\").nullable().optional(),\n InvoiceId: z.string().describe(\"Identifier of the invoice generated\").nullable().optional(),\n BillingDate: z.string().describe(\"Date when the billing was processed\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Reference of the customer that was billed\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after billing a customer.\");\n\nexport const proabonoBillCustomer = action(\"PROABONO_BILL_CUSTOMER\", {\n slug: \"proabono-bill-customer\",\n name: \"Bill Customer\",\n description: \"Tool to trigger billing for a customer. Use when you need to create invoices for pending charges for a specific customer.\",\n input: ProabonoBillCustomerInput,\n output: ProabonoBillCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,EAC5K,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/bill-customer.d.ts
|
|
4
|
-
declare const ProabonoBillCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoBillCustomerInput: z.ZodObject<{
|
|
5
|
+
ReferenceCustomer: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoBillCustomerOutput: z.ZodObject<{
|
|
8
|
+
Amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
InvoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
BillingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const proabonoBillCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
ReferenceCustomer: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { proabonoBillCustomer };
|
|
9
20
|
//# sourceMappingURL=bill-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-customer.d.cts","names":[],"sources":["../../src/actions/bill-customer.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"bill-customer.d.cts","names":[],"sources":["../../src/actions/bill-customer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/bill-customer.d.ts
|
|
4
|
-
declare const ProabonoBillCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoBillCustomerInput: z.ZodObject<{
|
|
5
|
+
ReferenceCustomer: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ProabonoBillCustomerOutput: z.ZodObject<{
|
|
8
|
+
Amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
InvoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
BillingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const proabonoBillCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
ReferenceCustomer: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { proabonoBillCustomer };
|
|
9
20
|
//# sourceMappingURL=bill-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-customer.d.mts","names":[],"sources":["../../src/actions/bill-customer.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"bill-customer.d.mts","names":[],"sources":["../../src/actions/bill-customer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -12,7 +12,7 @@ const proabonoBillCustomer = action("PROABONO_BILL_CUSTOMER", {
|
|
|
12
12
|
InvoiceId: z.string().describe("Identifier of the invoice generated").nullable().optional(),
|
|
13
13
|
BillingDate: z.string().describe("Date when the billing was processed").nullable().optional(),
|
|
14
14
|
ReferenceCustomer: z.string().describe("Reference of the customer that was billed").nullable().optional()
|
|
15
|
-
}).describe("Response model returned after billing a customer.")
|
|
15
|
+
}).passthrough().describe("Response model returned after billing a customer.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { proabonoBillCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bill-customer.mjs","names":[],"sources":["../../src/actions/bill-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoBillCustomerInput
|
|
1
|
+
{"version":3,"file":"bill-customer.mjs","names":[],"sources":["../../src/actions/bill-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoBillCustomerInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference of the customer to bill. This identifier is used to trigger billing and create invoices for pending charges.\"),\n}).describe(\"Request model for billing a customer.\");\nexport const ProabonoBillCustomerOutput = z.object({\n Amount: z.number().describe(\"Total amount billed\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the billing operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the billing operation was successful\").nullable().optional(),\n InvoiceId: z.string().describe(\"Identifier of the invoice generated\").nullable().optional(),\n BillingDate: z.string().describe(\"Date when the billing was processed\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Reference of the customer that was billed\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after billing a customer.\");\n\nexport const proabonoBillCustomer = action(\"PROABONO_BILL_CUSTOMER\", {\n slug: \"proabono-bill-customer\",\n name: \"Bill Customer\",\n description: \"Tool to trigger billing for a customer. Use when you need to create invoices for pending charges for a specific customer.\",\n input: ProabonoBillCustomerInput,\n output: ProabonoBillCustomerOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO,EAChD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,EAC5K,CAAC,CAAC,CAAC,SAAS,uCAcH;CACP,QAdwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ProabonoCreateCustomerInput = zod.z.object({
|
|
|
5
5
|
Name: zod.z.string().describe("Display Name of your customer").optional(),
|
|
6
6
|
Email: zod.z.string().describe("Email of your customer"),
|
|
7
7
|
Language: zod.z.string().describe("Language of your customer. By Default, ProAbono will use the language of the segment").optional(),
|
|
8
|
-
Metadata: zod.z.
|
|
8
|
+
Metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata for the customer (max 5 pairs, 50-char keys, 450-char values)").optional(),
|
|
9
9
|
IdBusiness: zod.z.number().int().describe("Id of your Business"),
|
|
10
10
|
ReferenceSegment: zod.z.string().describe("Reference of the segment in which the customer will be created. Required only if you have more than 1 segment").optional(),
|
|
11
11
|
ReferenceCustomer: zod.z.string().describe("Reference of your customer shared with your application and ProAbono. Use your own id/reference user").optional(),
|
|
@@ -15,7 +15,7 @@ const ProabonoCreateCustomer_LinkSchema = zod.z.object({
|
|
|
15
15
|
rel: zod.z.string().describe("Relationship type of the link").nullable().optional(),
|
|
16
16
|
href: zod.z.string().describe("URL of the related resource").nullable().optional(),
|
|
17
17
|
query: zod.z.string().describe("Query parameter for the related resource").nullable().optional()
|
|
18
|
-
}).describe("Related resource link.");
|
|
18
|
+
}).passthrough().describe("Related resource link.");
|
|
19
19
|
const ProabonoCreateCustomerOutput = zod.z.object({
|
|
20
20
|
Id: zod.z.number().int().describe("Unique identifier of the created Customer object").nullable().optional(),
|
|
21
21
|
Name: zod.z.string().describe("Display name of the customer").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const ProabonoCreateCustomerOutput = zod.z.object({
|
|
|
24
24
|
Status: zod.z.string().describe("Functional state indicating external perspective of customer condition").nullable().optional(),
|
|
25
25
|
Currency: zod.z.string().describe("Currency code for the customer").nullable().optional(),
|
|
26
26
|
Language: zod.z.string().describe("Customer's language preference (ISO 639-1 code)").nullable().optional(),
|
|
27
|
-
Metadata: zod.z.
|
|
27
|
+
Metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)").nullable().optional(),
|
|
28
28
|
IdSegment: zod.z.number().int().describe("Associated segment identifier").nullable().optional(),
|
|
29
29
|
DateUpdate: zod.z.string().describe("Most recent modification timestamp in UTC/ISO 8601 format").nullable().optional(),
|
|
30
30
|
IdBusiness: zod.z.number().int().describe("Associated business identifier").nullable().optional(),
|
|
@@ -34,7 +34,7 @@ const ProabonoCreateCustomerOutput = zod.z.object({
|
|
|
34
34
|
IdUserCreation: zod.z.number().int().describe("User ID who initially created the customer").nullable().optional(),
|
|
35
35
|
ReferenceSegment: zod.z.string().describe("Reference of the segment the customer belongs to").nullable().optional(),
|
|
36
36
|
ReferenceCustomer: zod.z.string().describe("Shared reference key between ProAbono and your application").nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const proabonoCreateCustomer = require_action.action("PROABONO_CREATE_CUSTOMER", {
|
|
39
39
|
slug: "proabono-create-customer",
|
|
40
40
|
name: "Create Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-customer.cjs","names":["z","action"],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoCreateCustomerInput
|
|
1
|
+
{"version":3,"file":"create-customer.cjs","names":["z","action"],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoCreateCustomerInput = z.object({\n Name: z.string().describe(\"Display Name of your customer\").optional(),\n Email: z.string().describe(\"Email of your customer\"),\n Language: z.string().describe(\"Language of your customer. By Default, ProAbono will use the language of the segment\").optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata for the customer (max 5 pairs, 50-char keys, 450-char values)\").optional(),\n IdBusiness: z.number().int().describe(\"Id of your Business\"),\n ReferenceSegment: z.string().describe(\"Reference of the segment in which the customer will be created. Required only if you have more than 1 segment\").optional(),\n ReferenceCustomer: z.string().describe(\"Reference of your customer shared with your application and ProAbono. Use your own id/reference user\").optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate\").optional(),\n});\nconst ProabonoCreateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoCreateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the created Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoCreateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/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 reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoCreateCustomer = action(\"PROABONO_CREATE_CUSTOMER\", {\n slug: \"proabono-create-customer\",\n name: \"Create Customer\",\n description: \"Tool to create or declare a customer in ProAbono via the Backoffice API. Use when you need to register a new customer with billing and subscription management capabilities.\",\n input: ProabonoCreateCustomerInput,\n output: ProabonoCreateCustomerOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-customer.d.ts
|
|
4
|
-
declare const ProabonoCreateCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoCreateCustomerInput: z.ZodObject<{
|
|
5
|
+
Name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
Email: z.ZodString;
|
|
7
|
+
Language: z.ZodOptional<z.ZodString>;
|
|
8
|
+
Metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
IdBusiness: z.ZodNumber;
|
|
10
|
+
ReferenceSegment: z.ZodOptional<z.ZodString>;
|
|
11
|
+
ReferenceCustomer: z.ZodOptional<z.ZodString>;
|
|
12
|
+
ReferenceAffiliation: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const ProabonoCreateCustomerOutput: z.ZodObject<{
|
|
15
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
|
+
declare const proabonoCreateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
|
+
Email: string;
|
|
39
|
+
IdBusiness: number;
|
|
40
|
+
Name?: string | undefined;
|
|
41
|
+
Language?: string | undefined;
|
|
42
|
+
Metadata?: Record<string, unknown> | undefined;
|
|
43
|
+
ReferenceSegment?: string | undefined;
|
|
44
|
+
ReferenceCustomer?: string | undefined;
|
|
45
|
+
ReferenceAffiliation?: string | undefined;
|
|
46
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { proabonoCreateCustomer };
|
|
9
49
|
//# sourceMappingURL=create-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-customer.d.cts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-customer.d.cts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA;;;;;aAMjC,MAAA"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-customer.d.ts
|
|
4
|
-
declare const ProabonoCreateCustomerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProabonoCreateCustomerInput: z.ZodObject<{
|
|
5
|
+
Name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
Email: z.ZodString;
|
|
7
|
+
Language: z.ZodOptional<z.ZodString>;
|
|
8
|
+
Metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
IdBusiness: z.ZodNumber;
|
|
10
|
+
ReferenceSegment: z.ZodOptional<z.ZodString>;
|
|
11
|
+
ReferenceCustomer: z.ZodOptional<z.ZodString>;
|
|
12
|
+
ReferenceAffiliation: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const ProabonoCreateCustomerOutput: z.ZodObject<{
|
|
15
|
+
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
|
+
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
|
+
IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
|
+
declare const proabonoCreateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
|
+
Email: string;
|
|
39
|
+
IdBusiness: number;
|
|
40
|
+
Name?: string | undefined;
|
|
41
|
+
Language?: string | undefined;
|
|
42
|
+
Metadata?: Record<string, unknown> | undefined;
|
|
43
|
+
ReferenceSegment?: string | undefined;
|
|
44
|
+
ReferenceCustomer?: string | undefined;
|
|
45
|
+
ReferenceAffiliation?: string | undefined;
|
|
46
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { proabonoCreateCustomer };
|
|
9
49
|
//# sourceMappingURL=create-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-customer.d.mts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-customer.d.mts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA;;;;;aAMjC,MAAA"}
|
|
@@ -5,7 +5,7 @@ const ProabonoCreateCustomerInput = z.object({
|
|
|
5
5
|
Name: z.string().describe("Display Name of your customer").optional(),
|
|
6
6
|
Email: z.string().describe("Email of your customer"),
|
|
7
7
|
Language: z.string().describe("Language of your customer. By Default, ProAbono will use the language of the segment").optional(),
|
|
8
|
-
Metadata: z.
|
|
8
|
+
Metadata: z.record(z.string(), z.unknown()).describe("Custom key-value metadata for the customer (max 5 pairs, 50-char keys, 450-char values)").optional(),
|
|
9
9
|
IdBusiness: z.number().int().describe("Id of your Business"),
|
|
10
10
|
ReferenceSegment: z.string().describe("Reference of the segment in which the customer will be created. Required only if you have more than 1 segment").optional(),
|
|
11
11
|
ReferenceCustomer: z.string().describe("Reference of your customer shared with your application and ProAbono. Use your own id/reference user").optional(),
|
|
@@ -15,7 +15,7 @@ const ProabonoCreateCustomer_LinkSchema = z.object({
|
|
|
15
15
|
rel: z.string().describe("Relationship type of the link").nullable().optional(),
|
|
16
16
|
href: z.string().describe("URL of the related resource").nullable().optional(),
|
|
17
17
|
query: z.string().describe("Query parameter for the related resource").nullable().optional()
|
|
18
|
-
}).describe("Related resource link.");
|
|
18
|
+
}).passthrough().describe("Related resource link.");
|
|
19
19
|
const proabonoCreateCustomer = action("PROABONO_CREATE_CUSTOMER", {
|
|
20
20
|
slug: "proabono-create-customer",
|
|
21
21
|
name: "Create Customer",
|
|
@@ -29,7 +29,7 @@ const proabonoCreateCustomer = action("PROABONO_CREATE_CUSTOMER", {
|
|
|
29
29
|
Status: z.string().describe("Functional state indicating external perspective of customer condition").nullable().optional(),
|
|
30
30
|
Currency: z.string().describe("Currency code for the customer").nullable().optional(),
|
|
31
31
|
Language: z.string().describe("Customer's language preference (ISO 639-1 code)").nullable().optional(),
|
|
32
|
-
Metadata: z.
|
|
32
|
+
Metadata: z.record(z.string(), z.unknown()).describe("Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)").nullable().optional(),
|
|
33
33
|
IdSegment: z.number().int().describe("Associated segment identifier").nullable().optional(),
|
|
34
34
|
DateUpdate: z.string().describe("Most recent modification timestamp in UTC/ISO 8601 format").nullable().optional(),
|
|
35
35
|
IdBusiness: z.number().int().describe("Associated business identifier").nullable().optional(),
|
|
@@ -39,7 +39,7 @@ const proabonoCreateCustomer = action("PROABONO_CREATE_CUSTOMER", {
|
|
|
39
39
|
IdUserCreation: z.number().int().describe("User ID who initially created the customer").nullable().optional(),
|
|
40
40
|
ReferenceSegment: z.string().describe("Reference of the segment the customer belongs to").nullable().optional(),
|
|
41
41
|
ReferenceCustomer: z.string().describe("Shared reference key between ProAbono and your application").nullable().optional()
|
|
42
|
-
})
|
|
42
|
+
}).passthrough()
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { proabonoCreateCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoCreateCustomerInput
|
|
1
|
+
{"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoCreateCustomerInput = z.object({\n Name: z.string().describe(\"Display Name of your customer\").optional(),\n Email: z.string().describe(\"Email of your customer\"),\n Language: z.string().describe(\"Language of your customer. By Default, ProAbono will use the language of the segment\").optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata for the customer (max 5 pairs, 50-char keys, 450-char values)\").optional(),\n IdBusiness: z.number().int().describe(\"Id of your Business\"),\n ReferenceSegment: z.string().describe(\"Reference of the segment in which the customer will be created. Required only if you have more than 1 segment\").optional(),\n ReferenceCustomer: z.string().describe(\"Reference of your customer shared with your application and ProAbono. Use your own id/reference user\").optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate\").optional(),\n});\nconst ProabonoCreateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoCreateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the created Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoCreateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/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 reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoCreateCustomer = action(\"PROABONO_CREATE_CUSTOMER\", {\n slug: \"proabono-create-customer\",\n name: \"Create Customer\",\n description: \"Tool to create or declare a customer in ProAbono via the Backoffice API. Use when you need to register a new customer with billing and subscription management capabilities.\",\n input: ProabonoCreateCustomerInput,\n output: ProabonoCreateCustomerOutput,\n});\n"],"mappings":"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"}
|
|
@@ -16,7 +16,7 @@ const ProabonoCreateFeatureInput = zod.z.object({
|
|
|
16
16
|
const ProabonoCreateFeature_LinkSchema = zod.z.object({
|
|
17
17
|
rel: zod.z.string().describe("Link relation type").nullable().optional(),
|
|
18
18
|
href: zod.z.string().describe("Link URL").nullable().optional()
|
|
19
|
-
}).describe("Navigation link model.");
|
|
19
|
+
}).passthrough().describe("Navigation link model.");
|
|
20
20
|
const ProabonoCreateFeatureOutput = zod.z.object({
|
|
21
21
|
Id: zod.z.number().int().describe("Feature identifier").nullable().optional(),
|
|
22
22
|
Name: zod.z.string().describe("Feature name").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const ProabonoCreateFeatureOutput = zod.z.object({
|
|
|
31
31
|
IdUserUpdate: zod.z.number().int().describe("User ID who last modified the feature").nullable().optional(),
|
|
32
32
|
IdUserCreation: zod.z.number().int().describe("User ID who created the feature").nullable().optional(),
|
|
33
33
|
ReferenceFeature: zod.z.string().describe("Shared key between ProAbono and your application").nullable().optional()
|
|
34
|
-
}).describe("Response model for created feature.");
|
|
34
|
+
}).passthrough().describe("Response model for created feature.");
|
|
35
35
|
const proabonoCreateFeature = require_action.action("PROABONO_CREATE_FEATURE", {
|
|
36
36
|
slug: "proabono-create-feature",
|
|
37
37
|
name: "Create Feature",
|