@keystrokehq/proabono 0.1.4 → 0.1.6
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 +1 -0
- package/dist/actions/anonymize-customer.cjs.map +1 -1
- package/dist/actions/anonymize-customer.d.cts +3 -3
- package/dist/actions/anonymize-customer.d.cts.map +1 -1
- package/dist/actions/anonymize-customer.d.mts +3 -3
- package/dist/actions/anonymize-customer.d.mts.map +1 -1
- package/dist/actions/anonymize-customer.mjs +1 -0
- package/dist/actions/anonymize-customer.mjs.map +1 -1
- package/dist/actions/bill-customer.cjs +1 -0
- package/dist/actions/bill-customer.cjs.map +1 -1
- package/dist/actions/bill-customer.d.cts +3 -3
- package/dist/actions/bill-customer.d.cts.map +1 -1
- package/dist/actions/bill-customer.d.mts +3 -3
- package/dist/actions/bill-customer.d.mts.map +1 -1
- package/dist/actions/bill-customer.mjs +1 -0
- package/dist/actions/bill-customer.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -0
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +3 -10
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -10
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -0
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-feature.cjs +1 -0
- package/dist/actions/create-feature.cjs.map +1 -1
- package/dist/actions/create-feature.d.cts +3 -8
- package/dist/actions/create-feature.d.cts.map +1 -1
- package/dist/actions/create-feature.d.mts +3 -8
- package/dist/actions/create-feature.d.mts.map +1 -1
- package/dist/actions/create-feature.mjs +1 -0
- package/dist/actions/create-feature.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -0
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +3 -3
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +3 -3
- package/dist/actions/delete-customer.d.mts.map +1 -1
- package/dist/actions/delete-customer.mjs +1 -0
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-offer.cjs +1 -0
- package/dist/actions/delete-offer.cjs.map +1 -1
- package/dist/actions/delete-offer.d.cts +3 -3
- package/dist/actions/delete-offer.d.cts.map +1 -1
- package/dist/actions/delete-offer.d.mts +3 -3
- package/dist/actions/delete-offer.d.mts.map +1 -1
- package/dist/actions/delete-offer.mjs +1 -0
- package/dist/actions/delete-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.cjs +1 -0
- package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.cts +3 -3
- package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -1
- package/dist/actions/delete-pricing-table-offer.d.mts +3 -3
- package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -1
- package/dist/actions/delete-pricing-table-offer.mjs +1 -0
- package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
- package/dist/actions/delete-pricing-table.cjs +1 -0
- package/dist/actions/delete-pricing-table.cjs.map +1 -1
- package/dist/actions/delete-pricing-table.d.cts +3 -3
- package/dist/actions/delete-pricing-table.d.cts.map +1 -1
- package/dist/actions/delete-pricing-table.d.mts +3 -3
- package/dist/actions/delete-pricing-table.d.mts.map +1 -1
- package/dist/actions/delete-pricing-table.mjs +1 -0
- package/dist/actions/delete-pricing-table.mjs.map +1 -1
- package/dist/actions/delete-subscription-discount.cjs +1 -0
- package/dist/actions/delete-subscription-discount.cjs.map +1 -1
- package/dist/actions/delete-subscription-discount.d.cts +3 -3
- package/dist/actions/delete-subscription-discount.d.cts.map +1 -1
- package/dist/actions/delete-subscription-discount.d.mts +3 -3
- package/dist/actions/delete-subscription-discount.d.mts.map +1 -1
- package/dist/actions/delete-subscription-discount.mjs +1 -0
- package/dist/actions/delete-subscription-discount.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +1 -0
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +3 -3
- package/dist/actions/enable-webhook.d.cts.map +1 -1
- package/dist/actions/enable-webhook.d.mts +3 -3
- package/dist/actions/enable-webhook.d.mts.map +1 -1
- package/dist/actions/enable-webhook.mjs +1 -0
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/get-customer-billing-address.cjs +1 -0
- package/dist/actions/get-customer-billing-address.cjs.map +1 -1
- package/dist/actions/get-customer-billing-address.d.cts +3 -3
- package/dist/actions/get-customer-billing-address.d.cts.map +1 -1
- package/dist/actions/get-customer-billing-address.d.mts +3 -3
- package/dist/actions/get-customer-billing-address.d.mts.map +1 -1
- package/dist/actions/get-customer-billing-address.mjs +1 -0
- package/dist/actions/get-customer-billing-address.mjs.map +1 -1
- package/dist/actions/get-customer-billing.cjs +1 -0
- package/dist/actions/get-customer-billing.cjs.map +1 -1
- package/dist/actions/get-customer-billing.d.cts +3 -3
- package/dist/actions/get-customer-billing.d.cts.map +1 -1
- package/dist/actions/get-customer-billing.d.mts +3 -3
- package/dist/actions/get-customer-billing.d.mts.map +1 -1
- package/dist/actions/get-customer-billing.mjs +1 -0
- package/dist/actions/get-customer-billing.mjs.map +1 -1
- package/dist/actions/get-customer-by-reference.cjs +1 -0
- package/dist/actions/get-customer-by-reference.cjs.map +1 -1
- package/dist/actions/get-customer-by-reference.d.cts +3 -3
- package/dist/actions/get-customer-by-reference.d.cts.map +1 -1
- package/dist/actions/get-customer-by-reference.d.mts +3 -3
- package/dist/actions/get-customer-by-reference.d.mts.map +1 -1
- package/dist/actions/get-customer-by-reference.mjs +1 -0
- package/dist/actions/get-customer-by-reference.mjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.cjs +1 -0
- package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/get-customer-payment-settings.d.cts +3 -3
- package/dist/actions/get-customer-payment-settings.d.cts.map +1 -1
- package/dist/actions/get-customer-payment-settings.d.mts +3 -3
- package/dist/actions/get-customer-payment-settings.d.mts.map +1 -1
- package/dist/actions/get-customer-payment-settings.mjs +1 -0
- package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -0
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +3 -4
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -4
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -0
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-discount.cjs +1 -0
- package/dist/actions/get-discount.cjs.map +1 -1
- package/dist/actions/get-discount.d.cts +3 -4
- package/dist/actions/get-discount.d.cts.map +1 -1
- package/dist/actions/get-discount.d.mts +3 -4
- package/dist/actions/get-discount.d.mts.map +1 -1
- package/dist/actions/get-discount.mjs +1 -0
- package/dist/actions/get-discount.mjs.map +1 -1
- package/dist/actions/get-feature.cjs +1 -0
- package/dist/actions/get-feature.cjs.map +1 -1
- package/dist/actions/get-feature.d.cts +3 -4
- package/dist/actions/get-feature.d.cts.map +1 -1
- package/dist/actions/get-feature.d.mts +3 -4
- package/dist/actions/get-feature.d.mts.map +1 -1
- package/dist/actions/get-feature.mjs +1 -0
- package/dist/actions/get-feature.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-offer.cjs +1 -0
- package/dist/actions/get-offer.cjs.map +1 -1
- package/dist/actions/get-offer.d.cts +3 -4
- package/dist/actions/get-offer.d.cts.map +1 -1
- package/dist/actions/get-offer.d.mts +3 -4
- package/dist/actions/get-offer.d.mts.map +1 -1
- package/dist/actions/get-offer.mjs +1 -0
- package/dist/actions/get-offer.mjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.cjs +1 -0
- package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
- package/dist/actions/get-subscription-by-customer.d.cts +3 -4
- package/dist/actions/get-subscription-by-customer.d.cts.map +1 -1
- package/dist/actions/get-subscription-by-customer.d.mts +3 -4
- package/dist/actions/get-subscription-by-customer.d.mts.map +1 -1
- package/dist/actions/get-subscription-by-customer.mjs +1 -0
- package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.cjs +1 -0
- package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
- package/dist/actions/get-subscription-creation-quote.d.cts +3 -4
- package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -1
- package/dist/actions/get-subscription-creation-quote.d.mts +3 -4
- package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -1
- package/dist/actions/get-subscription-creation-quote.mjs +1 -0
- package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
- package/dist/actions/get-usage.cjs +1 -0
- package/dist/actions/get-usage.cjs.map +1 -1
- package/dist/actions/get-usage.d.cts +3 -4
- package/dist/actions/get-usage.d.cts.map +1 -1
- package/dist/actions/get-usage.d.mts +3 -4
- package/dist/actions/get-usage.d.mts.map +1 -1
- package/dist/actions/get-usage.mjs +1 -0
- package/dist/actions/get-usage.mjs.map +1 -1
- package/dist/actions/get-usages-for-customer.cjs +1 -0
- package/dist/actions/get-usages-for-customer.cjs.map +1 -1
- package/dist/actions/get-usages-for-customer.d.cts +3 -5
- package/dist/actions/get-usages-for-customer.d.cts.map +1 -1
- package/dist/actions/get-usages-for-customer.d.mts +3 -5
- package/dist/actions/get-usages-for-customer.d.mts.map +1 -1
- package/dist/actions/get-usages-for-customer.mjs +1 -0
- package/dist/actions/get-usages-for-customer.mjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.cjs +1 -0
- package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
- package/dist/actions/invalidate-customer-by-id.d.cts +3 -3
- package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -1
- package/dist/actions/invalidate-customer-by-id.d.mts +3 -3
- package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -1
- package/dist/actions/invalidate-customer-by-id.mjs +1 -0
- package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
- package/dist/actions/invalidate-customer.cjs +1 -0
- package/dist/actions/invalidate-customer.cjs.map +1 -1
- package/dist/actions/invalidate-customer.d.cts +3 -3
- package/dist/actions/invalidate-customer.d.cts.map +1 -1
- package/dist/actions/invalidate-customer.d.mts +3 -3
- package/dist/actions/invalidate-customer.d.mts.map +1 -1
- package/dist/actions/invalidate-customer.mjs +1 -0
- package/dist/actions/invalidate-customer.mjs.map +1 -1
- package/dist/actions/list-balance-lines.cjs +1 -0
- package/dist/actions/list-balance-lines.cjs.map +1 -1
- package/dist/actions/list-balance-lines.d.cts +3 -7
- package/dist/actions/list-balance-lines.d.cts.map +1 -1
- package/dist/actions/list-balance-lines.d.mts +3 -7
- package/dist/actions/list-balance-lines.d.mts.map +1 -1
- package/dist/actions/list-balance-lines.mjs +1 -0
- package/dist/actions/list-balance-lines.mjs.map +1 -1
- package/dist/actions/list-business-localization.cjs +1 -0
- package/dist/actions/list-business-localization.cjs.map +1 -1
- package/dist/actions/list-business-localization.d.cts +3 -9
- package/dist/actions/list-business-localization.d.cts.map +1 -1
- package/dist/actions/list-business-localization.d.mts +3 -9
- package/dist/actions/list-business-localization.d.mts.map +1 -1
- package/dist/actions/list-business-localization.mjs +1 -0
- package/dist/actions/list-business-localization.mjs.map +1 -1
- package/dist/actions/list-businesses.cjs +1 -0
- package/dist/actions/list-businesses.cjs.map +1 -1
- package/dist/actions/list-businesses.d.cts +3 -6
- package/dist/actions/list-businesses.d.cts.map +1 -1
- package/dist/actions/list-businesses.d.mts +3 -6
- package/dist/actions/list-businesses.d.mts.map +1 -1
- package/dist/actions/list-businesses.mjs +1 -0
- package/dist/actions/list-businesses.mjs.map +1 -1
- package/dist/actions/list-customer-moves.cjs +1 -0
- package/dist/actions/list-customer-moves.cjs.map +1 -1
- package/dist/actions/list-customer-moves.d.cts +3 -10
- package/dist/actions/list-customer-moves.d.cts.map +1 -1
- package/dist/actions/list-customer-moves.d.mts +3 -10
- package/dist/actions/list-customer-moves.d.mts.map +1 -1
- package/dist/actions/list-customer-moves.mjs +1 -0
- package/dist/actions/list-customer-moves.mjs.map +1 -1
- package/dist/actions/list-customers-by-feature.cjs +1 -0
- package/dist/actions/list-customers-by-feature.cjs.map +1 -1
- package/dist/actions/list-customers-by-feature.d.cts +3 -6
- package/dist/actions/list-customers-by-feature.d.cts.map +1 -1
- package/dist/actions/list-customers-by-feature.d.mts +3 -6
- package/dist/actions/list-customers-by-feature.d.mts.map +1 -1
- package/dist/actions/list-customers-by-feature.mjs +1 -0
- package/dist/actions/list-customers-by-feature.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +1 -0
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -8
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +3 -8
- package/dist/actions/list-customers.d.mts.map +1 -1
- package/dist/actions/list-customers.mjs +1 -0
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-discounts.cjs +1 -0
- package/dist/actions/list-discounts.cjs.map +1 -1
- package/dist/actions/list-discounts.d.cts +3 -6
- package/dist/actions/list-discounts.d.cts.map +1 -1
- package/dist/actions/list-discounts.d.mts +3 -6
- package/dist/actions/list-discounts.d.mts.map +1 -1
- package/dist/actions/list-discounts.mjs +1 -0
- package/dist/actions/list-discounts.mjs.map +1 -1
- package/dist/actions/list-features.cjs +1 -0
- package/dist/actions/list-features.cjs.map +1 -1
- package/dist/actions/list-features.d.cts +3 -6
- package/dist/actions/list-features.d.cts.map +1 -1
- package/dist/actions/list-features.d.mts +3 -6
- package/dist/actions/list-features.d.mts.map +1 -1
- package/dist/actions/list-features.mjs +1 -0
- package/dist/actions/list-features.mjs.map +1 -1
- package/dist/actions/list-gateway-accounts.cjs +1 -0
- package/dist/actions/list-gateway-accounts.cjs.map +1 -1
- package/dist/actions/list-gateway-accounts.d.cts +3 -8
- package/dist/actions/list-gateway-accounts.d.cts.map +1 -1
- package/dist/actions/list-gateway-accounts.d.mts +3 -8
- package/dist/actions/list-gateway-accounts.d.mts.map +1 -1
- package/dist/actions/list-gateway-accounts.mjs +1 -0
- package/dist/actions/list-gateway-accounts.mjs.map +1 -1
- package/dist/actions/list-gateway-permissions.cjs +1 -0
- package/dist/actions/list-gateway-permissions.cjs.map +1 -1
- package/dist/actions/list-gateway-permissions.d.cts +3 -5
- package/dist/actions/list-gateway-permissions.d.cts.map +1 -1
- package/dist/actions/list-gateway-permissions.d.mts +3 -5
- package/dist/actions/list-gateway-permissions.d.mts.map +1 -1
- package/dist/actions/list-gateway-permissions.mjs +1 -0
- package/dist/actions/list-gateway-permissions.mjs.map +1 -1
- package/dist/actions/list-gateway-requests.cjs +1 -0
- package/dist/actions/list-gateway-requests.cjs.map +1 -1
- package/dist/actions/list-gateway-requests.d.cts +3 -13
- package/dist/actions/list-gateway-requests.d.cts.map +1 -1
- package/dist/actions/list-gateway-requests.d.mts +3 -13
- package/dist/actions/list-gateway-requests.d.mts.map +1 -1
- package/dist/actions/list-gateway-requests.mjs +1 -0
- package/dist/actions/list-gateway-requests.mjs.map +1 -1
- package/dist/actions/list-gateway-transactions.cjs +1 -0
- package/dist/actions/list-gateway-transactions.cjs.map +1 -1
- package/dist/actions/list-gateway-transactions.d.cts +3 -7
- package/dist/actions/list-gateway-transactions.d.cts.map +1 -1
- package/dist/actions/list-gateway-transactions.d.mts +3 -7
- package/dist/actions/list-gateway-transactions.d.mts.map +1 -1
- package/dist/actions/list-gateway-transactions.mjs +1 -0
- package/dist/actions/list-gateway-transactions.mjs.map +1 -1
- package/dist/actions/list-invoice-lines.cjs +1 -0
- package/dist/actions/list-invoice-lines.cjs.map +1 -1
- package/dist/actions/list-invoice-lines.d.cts +3 -5
- package/dist/actions/list-invoice-lines.d.cts.map +1 -1
- package/dist/actions/list-invoice-lines.d.mts +3 -5
- package/dist/actions/list-invoice-lines.d.mts.map +1 -1
- package/dist/actions/list-invoice-lines.mjs +1 -0
- package/dist/actions/list-invoice-lines.mjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.cjs +1 -0
- package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
- package/dist/actions/list-invoices-by-customer.d.cts +3 -5
- package/dist/actions/list-invoices-by-customer.d.cts.map +1 -1
- package/dist/actions/list-invoices-by-customer.d.mts +3 -5
- package/dist/actions/list-invoices-by-customer.d.mts.map +1 -1
- package/dist/actions/list-invoices-by-customer.mjs +1 -0
- package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -7
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -7
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-offers.cjs +1 -0
- package/dist/actions/list-offers.cjs.map +1 -1
- package/dist/actions/list-offers.d.cts +3 -8
- package/dist/actions/list-offers.d.cts.map +1 -1
- package/dist/actions/list-offers.d.mts +3 -8
- package/dist/actions/list-offers.d.mts.map +1 -1
- package/dist/actions/list-offers.mjs +1 -0
- package/dist/actions/list-offers.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +3 -7
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +3 -7
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.cjs +1 -0
- package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
- package/dist/actions/list-pricing-table-offers.d.cts +3 -5
- package/dist/actions/list-pricing-table-offers.d.cts.map +1 -1
- package/dist/actions/list-pricing-table-offers.d.mts +3 -5
- package/dist/actions/list-pricing-table-offers.d.mts.map +1 -1
- package/dist/actions/list-pricing-table-offers.mjs +1 -0
- package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
- package/dist/actions/list-pricing-tables.cjs +1 -0
- package/dist/actions/list-pricing-tables.cjs.map +1 -1
- package/dist/actions/list-pricing-tables.d.cts +3 -7
- package/dist/actions/list-pricing-tables.d.cts.map +1 -1
- package/dist/actions/list-pricing-tables.d.mts +3 -7
- package/dist/actions/list-pricing-tables.d.mts.map +1 -1
- package/dist/actions/list-pricing-tables.mjs +1 -0
- package/dist/actions/list-pricing-tables.mjs.map +1 -1
- package/dist/actions/list-segment-localizations.cjs +1 -0
- package/dist/actions/list-segment-localizations.cjs.map +1 -1
- package/dist/actions/list-segment-localizations.d.cts +3 -9
- package/dist/actions/list-segment-localizations.d.cts.map +1 -1
- package/dist/actions/list-segment-localizations.d.mts +3 -9
- package/dist/actions/list-segment-localizations.d.mts.map +1 -1
- package/dist/actions/list-segment-localizations.mjs +1 -0
- package/dist/actions/list-segment-localizations.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +1 -0
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +3 -6
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +3 -6
- package/dist/actions/list-segments.d.mts.map +1 -1
- package/dist/actions/list-segments.mjs +1 -0
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/list-subscription-discounts.cjs +1 -0
- package/dist/actions/list-subscription-discounts.cjs.map +1 -1
- package/dist/actions/list-subscription-discounts.d.cts +3 -5
- package/dist/actions/list-subscription-discounts.d.cts.map +1 -1
- package/dist/actions/list-subscription-discounts.d.mts +3 -5
- package/dist/actions/list-subscription-discounts.d.mts.map +1 -1
- package/dist/actions/list-subscription-discounts.mjs +1 -0
- package/dist/actions/list-subscription-discounts.mjs.map +1 -1
- package/dist/actions/list-subscription-features.cjs +1 -0
- package/dist/actions/list-subscription-features.cjs.map +1 -1
- package/dist/actions/list-subscription-features.d.cts +3 -5
- package/dist/actions/list-subscription-features.d.cts.map +1 -1
- package/dist/actions/list-subscription-features.d.mts +3 -5
- package/dist/actions/list-subscription-features.d.mts.map +1 -1
- package/dist/actions/list-subscription-features.mjs +1 -0
- package/dist/actions/list-subscription-features.mjs.map +1 -1
- package/dist/actions/list-subscription-periods.cjs +1 -0
- package/dist/actions/list-subscription-periods.cjs.map +1 -1
- package/dist/actions/list-subscription-periods.d.cts +3 -7
- package/dist/actions/list-subscription-periods.d.cts.map +1 -1
- package/dist/actions/list-subscription-periods.d.mts +3 -7
- package/dist/actions/list-subscription-periods.d.mts.map +1 -1
- package/dist/actions/list-subscription-periods.mjs +1 -0
- package/dist/actions/list-subscription-periods.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +1 -0
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +3 -7
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +3 -7
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-subscriptions.mjs +1 -0
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.cjs +1 -0
- package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.d.cts +3 -8
- package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.d.mts +3 -8
- package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -1
- package/dist/actions/list-tax-profile-exceptions.mjs +1 -0
- package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
- package/dist/actions/list-tax-profiles.cjs +1 -0
- package/dist/actions/list-tax-profiles.cjs.map +1 -1
- package/dist/actions/list-tax-profiles.d.cts +3 -5
- package/dist/actions/list-tax-profiles.d.cts.map +1 -1
- package/dist/actions/list-tax-profiles.d.mts +3 -5
- package/dist/actions/list-tax-profiles.d.mts.map +1 -1
- package/dist/actions/list-tax-profiles.mjs +1 -0
- package/dist/actions/list-tax-profiles.mjs.map +1 -1
- package/dist/actions/list-upgrade-offers.cjs +1 -0
- package/dist/actions/list-upgrade-offers.cjs.map +1 -1
- package/dist/actions/list-upgrade-offers.d.cts +3 -6
- package/dist/actions/list-upgrade-offers.d.cts.map +1 -1
- package/dist/actions/list-upgrade-offers.d.mts +3 -6
- package/dist/actions/list-upgrade-offers.d.mts.map +1 -1
- package/dist/actions/list-upgrade-offers.mjs +1 -0
- package/dist/actions/list-upgrade-offers.mjs.map +1 -1
- package/dist/actions/list-webhook-notifications.cjs +1 -0
- package/dist/actions/list-webhook-notifications.cjs.map +1 -1
- package/dist/actions/list-webhook-notifications.d.cts +3 -12
- package/dist/actions/list-webhook-notifications.d.cts.map +1 -1
- package/dist/actions/list-webhook-notifications.d.mts +3 -12
- package/dist/actions/list-webhook-notifications.d.mts.map +1 -1
- package/dist/actions/list-webhook-notifications.mjs +1 -0
- package/dist/actions/list-webhook-notifications.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -10
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -10
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/quote-balance-line.cjs +1 -0
- package/dist/actions/quote-balance-line.cjs.map +1 -1
- package/dist/actions/quote-balance-line.d.cts +3 -6
- package/dist/actions/quote-balance-line.d.cts.map +1 -1
- package/dist/actions/quote-balance-line.d.mts +3 -6
- package/dist/actions/quote-balance-line.d.mts.map +1 -1
- package/dist/actions/quote-balance-line.mjs +1 -0
- package/dist/actions/quote-balance-line.mjs.map +1 -1
- package/dist/actions/revoke-customer-links.cjs +1 -0
- package/dist/actions/revoke-customer-links.cjs.map +1 -1
- package/dist/actions/revoke-customer-links.d.cts +3 -3
- package/dist/actions/revoke-customer-links.d.cts.map +1 -1
- package/dist/actions/revoke-customer-links.d.mts +3 -3
- package/dist/actions/revoke-customer-links.d.mts.map +1 -1
- package/dist/actions/revoke-customer-links.mjs +1 -0
- package/dist/actions/revoke-customer-links.mjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.cjs +1 -0
- package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
- package/dist/actions/update-businesses-billing-address.d.cts +3 -14
- package/dist/actions/update-businesses-billing-address.d.cts.map +1 -1
- package/dist/actions/update-businesses-billing-address.d.mts +3 -14
- package/dist/actions/update-businesses-billing-address.d.mts.map +1 -1
- package/dist/actions/update-businesses-billing-address.mjs +1 -0
- package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-billing-address.cjs +1 -0
- package/dist/actions/update-customer-billing-address.cjs.map +1 -1
- package/dist/actions/update-customer-billing-address.d.cts +3 -14
- package/dist/actions/update-customer-billing-address.d.cts.map +1 -1
- package/dist/actions/update-customer-billing-address.d.mts +3 -14
- package/dist/actions/update-customer-billing-address.d.mts.map +1 -1
- package/dist/actions/update-customer-billing-address.mjs +1 -0
- package/dist/actions/update-customer-billing-address.mjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.cjs +1 -0
- package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
- package/dist/actions/update-customer-payment-settings.d.cts +3 -4
- package/dist/actions/update-customer-payment-settings.d.cts.map +1 -1
- package/dist/actions/update-customer-payment-settings.d.mts +3 -4
- package/dist/actions/update-customer-payment-settings.d.mts.map +1 -1
- package/dist/actions/update-customer-payment-settings.mjs +1 -0
- package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
- package/dist/actions/update-customer-shipping.cjs +1 -0
- package/dist/actions/update-customer-shipping.cjs.map +1 -1
- package/dist/actions/update-customer-shipping.d.cts +3 -15
- package/dist/actions/update-customer-shipping.d.cts.map +1 -1
- package/dist/actions/update-customer-shipping.d.mts +3 -15
- package/dist/actions/update-customer-shipping.d.mts.map +1 -1
- package/dist/actions/update-customer-shipping.mjs +1 -0
- package/dist/actions/update-customer-shipping.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -8
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -8
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-feature.cjs +1 -0
- package/dist/actions/update-feature.cjs.map +1 -1
- package/dist/actions/update-feature.d.cts +3 -9
- package/dist/actions/update-feature.d.cts.map +1 -1
- package/dist/actions/update-feature.d.mts +3 -9
- package/dist/actions/update-feature.d.mts.map +1 -1
- package/dist/actions/update-feature.mjs +1 -0
- package/dist/actions/update-feature.mjs.map +1 -1
- package/dist/actions/update-tax-profiles.cjs +1 -0
- package/dist/actions/update-tax-profiles.cjs.map +1 -1
- package/dist/actions/update-tax-profiles.d.cts +3 -9
- package/dist/actions/update-tax-profiles.d.cts.map +1 -1
- package/dist/actions/update-tax-profiles.d.mts +3 -9
- package/dist/actions/update-tax-profiles.d.mts.map +1 -1
- package/dist/actions/update-tax-profiles.mjs +1 -0
- package/dist/actions/update-tax-profiles.mjs.map +1 -1
- package/dist/app.cjs +11 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +10 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +10 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +8 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["proabono","executeProabonoTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof proabono.credential> {\n return proabono.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProabonoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof proabono.credential> {\n return proabono.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProabonoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"anonymize-customer.cjs","names":["z","action"],"sources":["../../src/actions/anonymize-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\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: AppAction<\n typeof ProabonoAnonymizeCustomerInput,\n typeof ProabonoAnonymizeCustomerOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,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,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/anonymize-customer.d.ts
|
|
@@ -19,9 +21,7 @@ declare const ProabonoAnonymizeCustomerOutput: z.ZodObject<{
|
|
|
19
21
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const proabonoAnonymizeCustomer:
|
|
23
|
-
reference_customer: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const proabonoAnonymizeCustomer: AppAction<typeof ProabonoAnonymizeCustomerInput, typeof ProabonoAnonymizeCustomerOutput, typeof proabono.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { proabonoAnonymizeCustomer };
|
|
27
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":"
|
|
1
|
+
{"version":3,"file":"anonymize-customer.d.cts","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/anonymize-customer.d.ts
|
|
@@ -19,9 +21,7 @@ declare const ProabonoAnonymizeCustomerOutput: z.ZodObject<{
|
|
|
19
21
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const proabonoAnonymizeCustomer:
|
|
23
|
-
reference_customer: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const proabonoAnonymizeCustomer: AppAction<typeof ProabonoAnonymizeCustomerInput, typeof ProabonoAnonymizeCustomerOutput, typeof proabono.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { proabonoAnonymizeCustomer };
|
|
27
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":"
|
|
1
|
+
{"version":3,"file":"anonymize-customer.d.mts","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"anonymize-customer.mjs","names":[],"sources":["../../src/actions/anonymize-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\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: AppAction<\n typeof ProabonoAnonymizeCustomerInput,\n typeof ProabonoAnonymizeCustomerOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,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,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtB6C,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,uDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"bill-customer.cjs","names":["z","action"],"sources":["../../src/actions/bill-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\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: AppAction<\n typeof ProabonoBillCustomerInput,\n typeof ProabonoBillCustomerOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/bill-customer.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ProabonoBillCustomerOutput: z.ZodObject<{
|
|
|
12
14
|
BillingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const proabonoBillCustomer:
|
|
16
|
-
ReferenceCustomer: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const proabonoBillCustomer: AppAction<typeof ProabonoBillCustomerInput, typeof ProabonoBillCustomerOutput, typeof proabono.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { proabonoBillCustomer };
|
|
20
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":"
|
|
1
|
+
{"version":3,"file":"bill-customer.d.cts","names":[],"sources":["../../src/actions/bill-customer.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/bill-customer.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ProabonoBillCustomerOutput: z.ZodObject<{
|
|
|
12
14
|
BillingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const proabonoBillCustomer:
|
|
16
|
-
ReferenceCustomer: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const proabonoBillCustomer: AppAction<typeof ProabonoBillCustomerInput, typeof ProabonoBillCustomerOutput, typeof proabono.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { proabonoBillCustomer };
|
|
20
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":"
|
|
1
|
+
{"version":3,"file":"bill-customer.d.mts","names":[],"sources":["../../src/actions/bill-customer.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"bill-customer.mjs","names":[],"sources":["../../src/actions/bill-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\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: AppAction<\n typeof ProabonoBillCustomerInput,\n typeof ProabonoBillCustomerOutput,\n typeof proabono.credential\n> = 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":";;;AAkBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO,EAChD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,EAC5K,CAAC,CAAC,CAAC,SAAS,uCAkBH;CACP,QAlBwC,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,mDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"create-customer.cjs","names":["z","action"],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\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: AppAction<\n typeof ProabonoCreateCustomerInput,\n typeof ProabonoCreateCustomerOutput,\n typeof proabono.credential\n> = 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,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-customer.d.ts
|
|
@@ -34,16 +36,7 @@ declare const ProabonoCreateCustomerOutput: z.ZodObject<{
|
|
|
34
36
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const proabonoCreateCustomer:
|
|
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]>;
|
|
39
|
+
declare const proabonoCreateCustomer: AppAction<typeof ProabonoCreateCustomerInput, typeof ProabonoCreateCustomerOutput, typeof proabono.credential>;
|
|
47
40
|
//#endregion
|
|
48
41
|
export { proabonoCreateCustomer };
|
|
49
42
|
//# sourceMappingURL=create-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-customer.d.cts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-customer.d.cts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-customer.d.ts
|
|
@@ -34,16 +36,7 @@ declare const ProabonoCreateCustomerOutput: z.ZodObject<{
|
|
|
34
36
|
ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const proabonoCreateCustomer:
|
|
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]>;
|
|
39
|
+
declare const proabonoCreateCustomer: AppAction<typeof ProabonoCreateCustomerInput, typeof ProabonoCreateCustomerOutput, typeof proabono.credential>;
|
|
47
40
|
//#endregion
|
|
48
41
|
export { proabonoCreateCustomer };
|
|
49
42
|
//# sourceMappingURL=create-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-customer.d.mts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-customer.d.mts","names":[],"sources":["../../src/actions/create-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\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: AppAction<\n typeof ProabonoCreateCustomerInput,\n typeof ProabonoCreateCustomerOutput,\n typeof proabono.credential\n> = 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-feature.cjs","names":["z","action"],"sources":["../../src/actions/create-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoCreateFeatureInput = z.object({\n Name: z.string().describe(\"The feature name displayed to users\"),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\"),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type: OnOff (boolean feature), Limitation (quota/limit), or Consumption (metered usage)\"),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for creating a new feature in ProAbono.\");\nconst ProabonoCreateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoCreateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoCreateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for created feature.\");\n\nexport const proabonoCreateFeature = action(\"PROABONO_CREATE_FEATURE\", {\n slug: \"proabono-create-feature\",\n name: \"Create Feature\",\n description: \"Tool to create a new feature in ProAbono via the Backoffice API. Features define capabilities or usage limits that can be attached to offers. Use when you need to define a new feature (OnOff, Limitation, or Consumption type) for your subscription plans.\",\n input: ProabonoCreateFeatureInput,\n output: ProabonoCreateFeatureOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-feature.cjs","names":["z","action"],"sources":["../../src/actions/create-feature.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoCreateFeatureInput = z.object({\n Name: z.string().describe(\"The feature name displayed to users\"),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\"),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type: OnOff (boolean feature), Limitation (quota/limit), or Consumption (metered usage)\"),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for creating a new feature in ProAbono.\");\nconst ProabonoCreateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoCreateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoCreateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for created feature.\");\n\nexport const proabonoCreateFeature: AppAction<\n typeof ProabonoCreateFeatureInput,\n typeof ProabonoCreateFeatureOutput,\n typeof proabono.credential\n> = action(\"PROABONO_CREATE_FEATURE\", {\n slug: \"proabono-create-feature\",\n name: \"Create Feature\",\n description: \"Tool to create a new feature in ProAbono via the Backoffice API. Features define capabilities or usage limits that can be attached to offers. Use when you need to define a new feature (OnOff, Limitation, or Consumption type) for your subscription plans.\",\n input: ProabonoCreateFeatureInput,\n output: ProabonoCreateFeatureOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-feature.d.ts
|
|
@@ -31,14 +33,7 @@ declare const ProabonoCreateFeatureOutput: z.ZodObject<{
|
|
|
31
33
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const proabonoCreateFeature:
|
|
35
|
-
Name: string;
|
|
36
|
-
IdBusiness: number;
|
|
37
|
-
TypeFeature: "OnOff" | "Limitation" | "Consumption";
|
|
38
|
-
Order?: number | undefined;
|
|
39
|
-
IsVisible?: boolean | undefined;
|
|
40
|
-
ReferenceFeature?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const proabonoCreateFeature: AppAction<typeof ProabonoCreateFeatureInput, typeof ProabonoCreateFeatureOutput, typeof proabono.credential>;
|
|
42
37
|
//#endregion
|
|
43
38
|
export { proabonoCreateFeature };
|
|
44
39
|
//# sourceMappingURL=create-feature.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-feature.d.cts","names":[],"sources":["../../src/actions/create-feature.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-feature.d.cts","names":[],"sources":["../../src/actions/create-feature.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-feature.d.ts
|
|
@@ -31,14 +33,7 @@ declare const ProabonoCreateFeatureOutput: z.ZodObject<{
|
|
|
31
33
|
IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const proabonoCreateFeature:
|
|
35
|
-
Name: string;
|
|
36
|
-
IdBusiness: number;
|
|
37
|
-
TypeFeature: "OnOff" | "Limitation" | "Consumption";
|
|
38
|
-
Order?: number | undefined;
|
|
39
|
-
IsVisible?: boolean | undefined;
|
|
40
|
-
ReferenceFeature?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const proabonoCreateFeature: AppAction<typeof ProabonoCreateFeatureInput, typeof ProabonoCreateFeatureOutput, typeof proabono.credential>;
|
|
42
37
|
//#endregion
|
|
43
38
|
export { proabonoCreateFeature };
|
|
44
39
|
//# sourceMappingURL=create-feature.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-feature.d.mts","names":[],"sources":["../../src/actions/create-feature.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-feature.d.mts","names":[],"sources":["../../src/actions/create-feature.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-feature.mjs","names":[],"sources":["../../src/actions/create-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoCreateFeatureInput = z.object({\n Name: z.string().describe(\"The feature name displayed to users\"),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\"),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type: OnOff (boolean feature), Limitation (quota/limit), or Consumption (metered usage)\"),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for creating a new feature in ProAbono.\");\nconst ProabonoCreateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoCreateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoCreateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for created feature.\");\n\nexport const proabonoCreateFeature = action(\"PROABONO_CREATE_FEATURE\", {\n slug: \"proabono-create-feature\",\n name: \"Create Feature\",\n description: \"Tool to create a new feature in ProAbono via the Backoffice API. Features define capabilities or usage limits that can be attached to offers. Use when you need to define a new feature (OnOff, Limitation, or Consumption type) for your subscription plans.\",\n input: ProabonoCreateFeatureInput,\n output: ProabonoCreateFeatureOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-feature.mjs","names":[],"sources":["../../src/actions/create-feature.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoCreateFeatureInput = z.object({\n Name: z.string().describe(\"The feature name displayed to users\"),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\"),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type: OnOff (boolean feature), Limitation (quota/limit), or Consumption (metered usage)\"),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for creating a new feature in ProAbono.\");\nconst ProabonoCreateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoCreateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoCreateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for created feature.\");\n\nexport const proabonoCreateFeature: AppAction<\n typeof ProabonoCreateFeatureInput,\n typeof ProabonoCreateFeatureOutput,\n typeof proabono.credential\n> = action(\"PROABONO_CREATE_FEATURE\", {\n slug: \"proabono-create-feature\",\n name: \"Create Feature\",\n description: \"Tool to create a new feature in ProAbono via the Backoffice API. Features define capabilities or usage limits that can be attached to offers. Use when you need to define a new feature (OnOff, Limitation, or Consumption type) for your subscription plans.\",\n input: ProabonoCreateFeatureInput,\n output: ProabonoCreateFeatureOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAChE,aAAa,EAAE,KAAK;EAAC;EAAS;EAAc;CAAa,CAAC,CAAC,CAAC,SAAS,iGAAiG;CACtK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,mCAAmC,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAiBlD,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAzByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.cjs","names":["z","action"],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoDeleteCustomerInput = z.object({\n id: z.number().int().describe(\"ID of the customer to delete. This is the unique customer identifier in ProAbono.\"),\n}).describe(\"Request parameters for deleting a customer.\");\nexport const ProabonoDeleteCustomerOutput = z.object({\n message: z.string().default(\"Customer deleted successfully\").describe(\"A message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response for successful customer deletion.\");\n\nexport const proabonoDeleteCustomer = action(\"PROABONO_DELETE_CUSTOMER\", {\n slug: \"proabono-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from ProAbono by ID. Use when you need to remove a customer record from the system.\",\n input: ProabonoDeleteCustomerInput,\n output: ProabonoDeleteCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-customer.cjs","names":["z","action"],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoDeleteCustomerInput = z.object({\n id: z.number().int().describe(\"ID of the customer to delete. This is the unique customer identifier in ProAbono.\"),\n}).describe(\"Request parameters for deleting a customer.\");\nexport const ProabonoDeleteCustomerOutput = z.object({\n message: z.string().default(\"Customer deleted successfully\").describe(\"A message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response for successful customer deletion.\");\n\nexport const proabonoDeleteCustomer: AppAction<\n typeof ProabonoDeleteCustomerInput,\n typeof ProabonoDeleteCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_DELETE_CUSTOMER\", {\n slug: \"proabono-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from ProAbono by ID. Use when you need to remove a customer record from the system.\",\n input: ProabonoDeleteCustomerInput,\n output: ProabonoDeleteCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-customer.d.ts
|
|
@@ -8,9 +10,7 @@ declare const ProabonoDeleteCustomerOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const proabonoDeleteCustomer:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const proabonoDeleteCustomer: AppAction<typeof ProabonoDeleteCustomerInput, typeof ProabonoDeleteCustomerOutput, typeof proabono.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { proabonoDeleteCustomer };
|
|
16
16
|
//# sourceMappingURL=delete-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.d.cts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-customer.d.cts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { proabono } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-customer.d.ts
|
|
@@ -8,9 +10,7 @@ declare const ProabonoDeleteCustomerOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const proabonoDeleteCustomer:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const proabonoDeleteCustomer: AppAction<typeof ProabonoDeleteCustomerInput, typeof ProabonoDeleteCustomerOutput, typeof proabono.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { proabonoDeleteCustomer };
|
|
16
16
|
//# sourceMappingURL=delete-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.d.mts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-customer.d.mts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoDeleteCustomerInput = z.object({\n id: z.number().int().describe(\"ID of the customer to delete. This is the unique customer identifier in ProAbono.\"),\n}).describe(\"Request parameters for deleting a customer.\");\nexport const ProabonoDeleteCustomerOutput = z.object({\n message: z.string().default(\"Customer deleted successfully\").describe(\"A message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response for successful customer deletion.\");\n\nexport const proabonoDeleteCustomer = action(\"PROABONO_DELETE_CUSTOMER\", {\n slug: \"proabono-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from ProAbono by ID. Use when you need to remove a customer record from the system.\",\n input: ProabonoDeleteCustomerInput,\n output: ProabonoDeleteCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoDeleteCustomerInput = z.object({\n id: z.number().int().describe(\"ID of the customer to delete. This is the unique customer identifier in ProAbono.\"),\n}).describe(\"Request parameters for deleting a customer.\");\nexport const ProabonoDeleteCustomerOutput = z.object({\n message: z.string().default(\"Customer deleted successfully\").describe(\"A message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response for successful customer deletion.\");\n\nexport const proabonoDeleteCustomer: AppAction<\n typeof ProabonoDeleteCustomerInput,\n typeof ProabonoDeleteCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_DELETE_CUSTOMER\", {\n slug: \"proabono-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from ProAbono by ID. Use when you need to remove a customer record from the system.\",\n input: ProabonoDeleteCustomerInput,\n output: ProabonoDeleteCustomerOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,EACnH,CAAC,CAAC,CAAC,SAAS,6CAcH;CACP,QAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|