@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-businesses-billing-address.cjs","names":["z","action"],"sources":["../../src/actions/update-businesses-billing-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateBusinessesBillingAddressInput = z.object({\n Id: z.number().int().describe(\"Business identifier whose billing address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Contact phone number\").optional(),\n Region: z.string().describe(\"Region stands for Subdivision, Department, Region, Province, State. Note: Region field may have business rule restrictions preventing updates.\").optional(),\n Company: z.string().describe(\"Name of the company billing customers\").optional(),\n Country: z.string().describe(\"Two-letter country code per ISO 3166-1 alpha-2. Note: Country field may have business rule restrictions preventing updates.\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Individual name or department contact\").optional(),\n FirstName: z.string().describe(\"Individual name or department contact\").optional(),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (floor, suite, building, etc.)\").optional(),\n TaxInformation: z.string().describe(\"VAT/TAX identification number\").optional(),\n}).describe(\"Request model for updating the billing address of a business in ProAbono.\");\nconst ProabonoUpdateBusinessesBillingAddress_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}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateBusinessesBillingAddressOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateBusinessesBillingAddress_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").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 AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated business billing address.\");\n\nexport const proabonoUpdateBusinessesBillingAddress = action(\"PROABONO_UPDATE_BUSINESSES_BILLING_ADDRESS\", {\n slug: \"proabono-update-businesses-billing-address\",\n name: \"Update Business Billing Address\",\n description: \"Tool to update business billing address via the Backoffice API. Use when you need to modify billing information including company name, contact details, address lines, and tax information for a specific business.\",\n input: ProabonoUpdateBusinessesBillingAddressInput,\n output: ProabonoUpdateBusinessesBillingAddressOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-businesses-billing-address.cjs","names":["z","action"],"sources":["../../src/actions/update-businesses-billing-address.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 ProabonoUpdateBusinessesBillingAddressInput = z.object({\n Id: z.number().int().describe(\"Business identifier whose billing address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Contact phone number\").optional(),\n Region: z.string().describe(\"Region stands for Subdivision, Department, Region, Province, State. Note: Region field may have business rule restrictions preventing updates.\").optional(),\n Company: z.string().describe(\"Name of the company billing customers\").optional(),\n Country: z.string().describe(\"Two-letter country code per ISO 3166-1 alpha-2. Note: Country field may have business rule restrictions preventing updates.\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Individual name or department contact\").optional(),\n FirstName: z.string().describe(\"Individual name or department contact\").optional(),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (floor, suite, building, etc.)\").optional(),\n TaxInformation: z.string().describe(\"VAT/TAX identification number\").optional(),\n}).describe(\"Request model for updating the billing address of a business in ProAbono.\");\nconst ProabonoUpdateBusinessesBillingAddress_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}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateBusinessesBillingAddressOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateBusinessesBillingAddress_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").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 AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated business billing address.\");\n\nexport const proabonoUpdateBusinessesBillingAddress: AppAction<\n typeof ProabonoUpdateBusinessesBillingAddressInput,\n typeof ProabonoUpdateBusinessesBillingAddressOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_BUSINESSES_BILLING_ADDRESS\", {\n slug: \"proabono-update-businesses-billing-address\",\n name: \"Update Business Billing Address\",\n description: \"Tool to update business billing address via the Backoffice API. Use when you need to modify billing information including company name, contact details, address lines, and tax information for a specific business.\",\n input: ProabonoUpdateBusinessesBillingAddressInput,\n output: ProabonoUpdateBusinessesBillingAddressOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACvL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,cAA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";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-businesses-billing-address.d.ts
|
|
@@ -36,20 +38,7 @@ declare const ProabonoUpdateBusinessesBillingAddressOutput: z.ZodObject<{
|
|
|
36
38
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
39
|
TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const proabonoUpdateBusinessesBillingAddress:
|
|
40
|
-
Id: number;
|
|
41
|
-
City?: string | undefined;
|
|
42
|
-
Phone?: string | undefined;
|
|
43
|
-
Region?: string | undefined;
|
|
44
|
-
Company?: string | undefined;
|
|
45
|
-
Country?: string | undefined;
|
|
46
|
-
ZipCode?: string | undefined;
|
|
47
|
-
LastName?: string | undefined;
|
|
48
|
-
FirstName?: string | undefined;
|
|
49
|
-
AddressLine1?: string | undefined;
|
|
50
|
-
AddressLine2?: string | undefined;
|
|
51
|
-
TaxInformation?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
41
|
+
declare const proabonoUpdateBusinessesBillingAddress: AppAction<typeof ProabonoUpdateBusinessesBillingAddressInput, typeof ProabonoUpdateBusinessesBillingAddressOutput, typeof proabono.credential>;
|
|
53
42
|
//#endregion
|
|
54
43
|
export { proabonoUpdateBusinessesBillingAddress };
|
|
55
44
|
//# sourceMappingURL=update-businesses-billing-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-businesses-billing-address.d.cts","names":[],"sources":["../../src/actions/update-businesses-billing-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-businesses-billing-address.d.cts","names":[],"sources":["../../src/actions/update-businesses-billing-address.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAkB3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmB5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,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/update-businesses-billing-address.d.ts
|
|
@@ -36,20 +38,7 @@ declare const ProabonoUpdateBusinessesBillingAddressOutput: z.ZodObject<{
|
|
|
36
38
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
39
|
TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const proabonoUpdateBusinessesBillingAddress:
|
|
40
|
-
Id: number;
|
|
41
|
-
City?: string | undefined;
|
|
42
|
-
Phone?: string | undefined;
|
|
43
|
-
Region?: string | undefined;
|
|
44
|
-
Company?: string | undefined;
|
|
45
|
-
Country?: string | undefined;
|
|
46
|
-
ZipCode?: string | undefined;
|
|
47
|
-
LastName?: string | undefined;
|
|
48
|
-
FirstName?: string | undefined;
|
|
49
|
-
AddressLine1?: string | undefined;
|
|
50
|
-
AddressLine2?: string | undefined;
|
|
51
|
-
TaxInformation?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
41
|
+
declare const proabonoUpdateBusinessesBillingAddress: AppAction<typeof ProabonoUpdateBusinessesBillingAddressInput, typeof ProabonoUpdateBusinessesBillingAddressOutput, typeof proabono.credential>;
|
|
53
42
|
//#endregion
|
|
54
43
|
export { proabonoUpdateBusinessesBillingAddress };
|
|
55
44
|
//# sourceMappingURL=update-businesses-billing-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-businesses-billing-address.d.mts","names":[],"sources":["../../src/actions/update-businesses-billing-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-businesses-billing-address.d.mts","names":[],"sources":["../../src/actions/update-businesses-billing-address.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAkB3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmB5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-businesses-billing-address.mjs","names":[],"sources":["../../src/actions/update-businesses-billing-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateBusinessesBillingAddressInput = z.object({\n Id: z.number().int().describe(\"Business identifier whose billing address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Contact phone number\").optional(),\n Region: z.string().describe(\"Region stands for Subdivision, Department, Region, Province, State. Note: Region field may have business rule restrictions preventing updates.\").optional(),\n Company: z.string().describe(\"Name of the company billing customers\").optional(),\n Country: z.string().describe(\"Two-letter country code per ISO 3166-1 alpha-2. Note: Country field may have business rule restrictions preventing updates.\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Individual name or department contact\").optional(),\n FirstName: z.string().describe(\"Individual name or department contact\").optional(),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (floor, suite, building, etc.)\").optional(),\n TaxInformation: z.string().describe(\"VAT/TAX identification number\").optional(),\n}).describe(\"Request model for updating the billing address of a business in ProAbono.\");\nconst ProabonoUpdateBusinessesBillingAddress_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}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateBusinessesBillingAddressOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateBusinessesBillingAddress_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").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 AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated business billing address.\");\n\nexport const proabonoUpdateBusinessesBillingAddress = action(\"PROABONO_UPDATE_BUSINESSES_BILLING_ADDRESS\", {\n slug: \"proabono-update-businesses-billing-address\",\n name: \"Update Business Billing Address\",\n description: \"Tool to update business billing address via the Backoffice API. Use when you need to modify billing information including company name, contact details, address lines, and tax information for a specific business.\",\n input: ProabonoUpdateBusinessesBillingAddressInput,\n output: ProabonoUpdateBusinessesBillingAddressOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-businesses-billing-address.mjs","names":[],"sources":["../../src/actions/update-businesses-billing-address.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 ProabonoUpdateBusinessesBillingAddressInput = z.object({\n Id: z.number().int().describe(\"Business identifier whose billing address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Contact phone number\").optional(),\n Region: z.string().describe(\"Region stands for Subdivision, Department, Region, Province, State. Note: Region field may have business rule restrictions preventing updates.\").optional(),\n Company: z.string().describe(\"Name of the company billing customers\").optional(),\n Country: z.string().describe(\"Two-letter country code per ISO 3166-1 alpha-2. Note: Country field may have business rule restrictions preventing updates.\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Individual name or department contact\").optional(),\n FirstName: z.string().describe(\"Individual name or department contact\").optional(),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (floor, suite, building, etc.)\").optional(),\n TaxInformation: z.string().describe(\"VAT/TAX identification number\").optional(),\n}).describe(\"Request model for updating the billing address of a business in ProAbono.\");\nconst ProabonoUpdateBusinessesBillingAddress_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}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateBusinessesBillingAddressOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateBusinessesBillingAddress_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").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 AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated business billing address.\");\n\nexport const proabonoUpdateBusinessesBillingAddress: AppAction<\n typeof ProabonoUpdateBusinessesBillingAddressInput,\n typeof ProabonoUpdateBusinessesBillingAddressOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_BUSINESSES_BILLING_ADDRESS\", {\n slug: \"proabono-update-businesses-billing-address\",\n name: \"Update Business Billing Address\",\n description: \"Tool to update business billing address via the Backoffice API. Use when you need to modify billing information including company name, contact details, address lines, and tax information for a specific business.\",\n input: ProabonoUpdateBusinessesBillingAddressInput,\n output: ProabonoUpdateBusinessesBillingAddressOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8C,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACvL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACrD,UAAU,EAAE,OAAO,CA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AAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-billing-address.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-billing-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerBillingAddressInput = z.object({\n City: z.string().describe(\"City name of the billing address\").optional(),\n Phone: z.string().describe(\"Phone number for the billing address\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state. Required for certain countries like US (e.g., CA for California), optional for others like FR.\").optional(),\n Company: z.string().describe(\"Name of the company for billing purposes\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the billing address (e.g., FR for France, US for United States)\").optional(),\n ZipCode: z.string().describe(\"Postal code or ZIP code of the billing address\").optional(),\n LastName: z.string().describe(\"Last name of the billing address holder\").optional(),\n FirstName: z.string().describe(\"First name of the billing address holder\").optional(),\n AddressLine1: z.string().describe(\"Primary address line of the billing address\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (optional, for apartment, suite, etc.)\").optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, or other tax identification number\").optional(),\n reference_customer: z.string().describe(\"The unique reference of the customer whose billing address to update. This is the shared identifier between ProAbono and your application.\"),\n}).describe(\"Request model for updating a customer's billing address in ProAbono.\");\nexport const ProabonoUpdateCustomerBillingAddressOutput = z.object({\n City: z.string().describe(\"Name of the city\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state\").nullable().optional(),\n Company: z.string().describe(\"Name of the company\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the address\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code of the address\").nullable().optional(),\n LastName: z.string().describe(\"Last name of the address holder\").nullable().optional(),\n FirstName: z.string().describe(\"First name of the address holder\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, etc.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated customer billing address from ProAbono.\");\n\nexport const proabonoUpdateCustomerBillingAddress = action(\"PROABONO_UPDATE_CUSTOMER_BILLING_ADDRESS\", {\n slug: \"proabono-update-customer-billing-address\",\n name: \"Update Customer Billing Address\",\n description: \"Tool to update the billing address for a customer in ProAbono via the API. Use when you need to modify billing address information including company name, contact details, address lines, and tax information. Once updated, ProAbono will use this information for future invoices.\",\n input: ProabonoUpdateCustomerBillingAddressInput,\n output: ProabonoUpdateCustomerBillingAddressOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-billing-address.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-billing-address.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 ProabonoUpdateCustomerBillingAddressInput = z.object({\n City: z.string().describe(\"City name of the billing address\").optional(),\n Phone: z.string().describe(\"Phone number for the billing address\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state. Required for certain countries like US (e.g., CA for California), optional for others like FR.\").optional(),\n Company: z.string().describe(\"Name of the company for billing purposes\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the billing address (e.g., FR for France, US for United States)\").optional(),\n ZipCode: z.string().describe(\"Postal code or ZIP code of the billing address\").optional(),\n LastName: z.string().describe(\"Last name of the billing address holder\").optional(),\n FirstName: z.string().describe(\"First name of the billing address holder\").optional(),\n AddressLine1: z.string().describe(\"Primary address line of the billing address\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (optional, for apartment, suite, etc.)\").optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, or other tax identification number\").optional(),\n reference_customer: z.string().describe(\"The unique reference of the customer whose billing address to update. This is the shared identifier between ProAbono and your application.\"),\n}).describe(\"Request model for updating a customer's billing address in ProAbono.\");\nexport const ProabonoUpdateCustomerBillingAddressOutput = z.object({\n City: z.string().describe(\"Name of the city\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state\").nullable().optional(),\n Company: z.string().describe(\"Name of the company\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the address\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code of the address\").nullable().optional(),\n LastName: z.string().describe(\"Last name of the address holder\").nullable().optional(),\n FirstName: z.string().describe(\"First name of the address holder\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, etc.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated customer billing address from ProAbono.\");\n\nexport const proabonoUpdateCustomerBillingAddress: AppAction<\n typeof ProabonoUpdateCustomerBillingAddressInput,\n typeof ProabonoUpdateCustomerBillingAddressOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER_BILLING_ADDRESS\", {\n slug: \"proabono-update-customer-billing-address\",\n name: \"Update Customer Billing Address\",\n description: \"Tool to update the billing address for a customer in ProAbono via the API. Use when you need to modify billing address information including company name, contact details, address lines, and tax information. Once updated, ProAbono will use this information for future invoices.\",\n input: ProabonoUpdateCustomerBillingAddressInput,\n output: ProabonoUpdateCustomerBillingAddressOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAChO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE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,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,uCAITC,eAAAA,OAAO,4CAA4C;CACrD,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/update-customer-billing-address.d.ts
|
|
@@ -28,20 +30,7 @@ declare const ProabonoUpdateCustomerBillingAddressOutput: z.ZodObject<{
|
|
|
28
30
|
AddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const proabonoUpdateCustomerBillingAddress:
|
|
32
|
-
reference_customer: string;
|
|
33
|
-
City?: string | undefined;
|
|
34
|
-
Phone?: string | undefined;
|
|
35
|
-
Region?: string | undefined;
|
|
36
|
-
Company?: string | undefined;
|
|
37
|
-
Country?: string | undefined;
|
|
38
|
-
ZipCode?: string | undefined;
|
|
39
|
-
LastName?: string | undefined;
|
|
40
|
-
FirstName?: string | undefined;
|
|
41
|
-
AddressLine1?: string | undefined;
|
|
42
|
-
AddressLine2?: string | undefined;
|
|
43
|
-
TaxInformation?: string | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const proabonoUpdateCustomerBillingAddress: AppAction<typeof ProabonoUpdateCustomerBillingAddressInput, typeof ProabonoUpdateCustomerBillingAddressOutput, typeof proabono.credential>;
|
|
45
34
|
//#endregion
|
|
46
35
|
export { proabonoUpdateCustomerBillingAddress };
|
|
47
36
|
//# sourceMappingURL=update-customer-billing-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-billing-address.d.cts","names":[],"sources":["../../src/actions/update-customer-billing-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-billing-address.d.cts","names":[],"sources":["../../src/actions/update-customer-billing-address.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAczC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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/update-customer-billing-address.d.ts
|
|
@@ -28,20 +30,7 @@ declare const ProabonoUpdateCustomerBillingAddressOutput: z.ZodObject<{
|
|
|
28
30
|
AddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const proabonoUpdateCustomerBillingAddress:
|
|
32
|
-
reference_customer: string;
|
|
33
|
-
City?: string | undefined;
|
|
34
|
-
Phone?: string | undefined;
|
|
35
|
-
Region?: string | undefined;
|
|
36
|
-
Company?: string | undefined;
|
|
37
|
-
Country?: string | undefined;
|
|
38
|
-
ZipCode?: string | undefined;
|
|
39
|
-
LastName?: string | undefined;
|
|
40
|
-
FirstName?: string | undefined;
|
|
41
|
-
AddressLine1?: string | undefined;
|
|
42
|
-
AddressLine2?: string | undefined;
|
|
43
|
-
TaxInformation?: string | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const proabonoUpdateCustomerBillingAddress: AppAction<typeof ProabonoUpdateCustomerBillingAddressInput, typeof ProabonoUpdateCustomerBillingAddressOutput, typeof proabono.credential>;
|
|
45
34
|
//#endregion
|
|
46
35
|
export { proabonoUpdateCustomerBillingAddress };
|
|
47
36
|
//# sourceMappingURL=update-customer-billing-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-billing-address.d.mts","names":[],"sources":["../../src/actions/update-customer-billing-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-billing-address.d.mts","names":[],"sources":["../../src/actions/update-customer-billing-address.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAczC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-billing-address.mjs","names":[],"sources":["../../src/actions/update-customer-billing-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerBillingAddressInput = z.object({\n City: z.string().describe(\"City name of the billing address\").optional(),\n Phone: z.string().describe(\"Phone number for the billing address\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state. Required for certain countries like US (e.g., CA for California), optional for others like FR.\").optional(),\n Company: z.string().describe(\"Name of the company for billing purposes\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the billing address (e.g., FR for France, US for United States)\").optional(),\n ZipCode: z.string().describe(\"Postal code or ZIP code of the billing address\").optional(),\n LastName: z.string().describe(\"Last name of the billing address holder\").optional(),\n FirstName: z.string().describe(\"First name of the billing address holder\").optional(),\n AddressLine1: z.string().describe(\"Primary address line of the billing address\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (optional, for apartment, suite, etc.)\").optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, or other tax identification number\").optional(),\n reference_customer: z.string().describe(\"The unique reference of the customer whose billing address to update. This is the shared identifier between ProAbono and your application.\"),\n}).describe(\"Request model for updating a customer's billing address in ProAbono.\");\nexport const ProabonoUpdateCustomerBillingAddressOutput = z.object({\n City: z.string().describe(\"Name of the city\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state\").nullable().optional(),\n Company: z.string().describe(\"Name of the company\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the address\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code of the address\").nullable().optional(),\n LastName: z.string().describe(\"Last name of the address holder\").nullable().optional(),\n FirstName: z.string().describe(\"First name of the address holder\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, etc.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated customer billing address from ProAbono.\");\n\nexport const proabonoUpdateCustomerBillingAddress = action(\"PROABONO_UPDATE_CUSTOMER_BILLING_ADDRESS\", {\n slug: \"proabono-update-customer-billing-address\",\n name: \"Update Customer Billing Address\",\n description: \"Tool to update the billing address for a customer in ProAbono via the API. Use when you need to modify billing address information including company name, contact details, address lines, and tax information. Once updated, ProAbono will use this information for future invoices.\",\n input: ProabonoUpdateCustomerBillingAddressInput,\n output: ProabonoUpdateCustomerBillingAddressOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-billing-address.mjs","names":[],"sources":["../../src/actions/update-customer-billing-address.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 ProabonoUpdateCustomerBillingAddressInput = z.object({\n City: z.string().describe(\"City name of the billing address\").optional(),\n Phone: z.string().describe(\"Phone number for the billing address\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state. Required for certain countries like US (e.g., CA for California), optional for others like FR.\").optional(),\n Company: z.string().describe(\"Name of the company for billing purposes\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the billing address (e.g., FR for France, US for United States)\").optional(),\n ZipCode: z.string().describe(\"Postal code or ZIP code of the billing address\").optional(),\n LastName: z.string().describe(\"Last name of the billing address holder\").optional(),\n FirstName: z.string().describe(\"First name of the billing address holder\").optional(),\n AddressLine1: z.string().describe(\"Primary address line of the billing address\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line (optional, for apartment, suite, etc.)\").optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, or other tax identification number\").optional(),\n reference_customer: z.string().describe(\"The unique reference of the customer whose billing address to update. This is the shared identifier between ProAbono and your application.\"),\n}).describe(\"Request model for updating a customer's billing address in ProAbono.\");\nexport const ProabonoUpdateCustomerBillingAddressOutput = z.object({\n City: z.string().describe(\"Name of the city\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state\").nullable().optional(),\n Company: z.string().describe(\"Name of the company\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the address\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code of the address\").nullable().optional(),\n LastName: z.string().describe(\"Last name of the address holder\").nullable().optional(),\n FirstName: z.string().describe(\"First name of the address holder\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, etc.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated customer billing address from ProAbono.\");\n\nexport const proabonoUpdateCustomerBillingAddress: AppAction<\n typeof ProabonoUpdateCustomerBillingAddressInput,\n typeof ProabonoUpdateCustomerBillingAddressOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER_BILLING_ADDRESS\", {\n slug: \"proabono-update-customer-billing-address\",\n name: \"Update Customer Billing Address\",\n description: \"Tool to update the billing address for a customer in ProAbono via the API. Use when you need to modify billing address information including company name, contact details, address lines, and tax information. Once updated, ProAbono will use this information for future invoices.\",\n input: ProabonoUpdateCustomerBillingAddressInput,\n output: ProabonoUpdateCustomerBillingAddressOutput,\n});\n"],"mappings":";;;AAkCA,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApCuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;EAChO,SAAS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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerPaymentSettingsInput = z.object({\n TypePayment: z.string().describe(\"The manual payment method type to set. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther. When set, payment collection becomes your responsibility\").optional(),\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings you want to update\"),\n}).describe(\"Request model for the UpdateCustomerPaymentSettings action.\");\nexport const ProabonoUpdateCustomerPaymentSettingsOutput = z.object({\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.\");\n\nexport const proabonoUpdateCustomerPaymentSettings = action(\"PROABONO_UPDATE_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-update-customer-payment-settings\",\n name: \"Update Customer Payment Settings\",\n description: \"Tool to update payment settings for a specific customer in ProAbono. Use when you need to set a customer's payment method preference or update their billing configuration.\",\n input: ProabonoUpdateCustomerPaymentSettingsInput,\n output: ProabonoUpdateCustomerPaymentSettingsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-payment-settings.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 ProabonoUpdateCustomerPaymentSettingsInput = z.object({\n TypePayment: z.string().describe(\"The manual payment method type to set. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther. When set, payment collection becomes your responsibility\").optional(),\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings you want to update\"),\n}).describe(\"Request model for the UpdateCustomerPaymentSettings action.\");\nexport const ProabonoUpdateCustomerPaymentSettingsOutput = z.object({\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.\");\n\nexport const proabonoUpdateCustomerPaymentSettings: AppAction<\n typeof ProabonoUpdateCustomerPaymentSettingsInput,\n typeof ProabonoUpdateCustomerPaymentSettingsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-update-customer-payment-settings\",\n name: \"Update Customer Payment Settings\",\n description: \"Tool to update payment settings for a specific customer in ProAbono. Use when you need to set a customer's payment method preference or update their billing configuration.\",\n input: ProabonoUpdateCustomerPaymentSettingsInput,\n output: ProabonoUpdateCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC9N,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;AACpI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAAmG;AAE7H,MAAa,wCAITC,eAAAA,OAAO,6CAA6C;CACtD,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/update-customer-payment-settings.d.ts
|
|
@@ -12,10 +14,7 @@ declare const ProabonoUpdateCustomerPaymentSettingsOutput: z.ZodObject<{
|
|
|
12
14
|
IsAutoBilling: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
15
|
DateNextBilling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const proabonoUpdateCustomerPaymentSettings:
|
|
16
|
-
ReferenceCustomer: string;
|
|
17
|
-
TypePayment?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const proabonoUpdateCustomerPaymentSettings: AppAction<typeof ProabonoUpdateCustomerPaymentSettingsInput, typeof ProabonoUpdateCustomerPaymentSettingsOutput, typeof proabono.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { proabonoUpdateCustomerPaymentSettings };
|
|
21
20
|
//# sourceMappingURL=update-customer-payment-settings.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment-settings.d.cts","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment-settings.d.cts","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAI1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAQ3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,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/update-customer-payment-settings.d.ts
|
|
@@ -12,10 +14,7 @@ declare const ProabonoUpdateCustomerPaymentSettingsOutput: z.ZodObject<{
|
|
|
12
14
|
IsAutoBilling: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
15
|
DateNextBilling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const proabonoUpdateCustomerPaymentSettings:
|
|
16
|
-
ReferenceCustomer: string;
|
|
17
|
-
TypePayment?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const proabonoUpdateCustomerPaymentSettings: AppAction<typeof ProabonoUpdateCustomerPaymentSettingsInput, typeof ProabonoUpdateCustomerPaymentSettingsOutput, typeof proabono.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { proabonoUpdateCustomerPaymentSettings };
|
|
21
20
|
//# sourceMappingURL=update-customer-payment-settings.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment-settings.d.mts","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment-settings.d.mts","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAI1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAQ3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerPaymentSettingsInput = z.object({\n TypePayment: z.string().describe(\"The manual payment method type to set. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther. When set, payment collection becomes your responsibility\").optional(),\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings you want to update\"),\n}).describe(\"Request model for the UpdateCustomerPaymentSettings action.\");\nexport const ProabonoUpdateCustomerPaymentSettingsOutput = z.object({\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.\");\n\nexport const proabonoUpdateCustomerPaymentSettings = action(\"PROABONO_UPDATE_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-update-customer-payment-settings\",\n name: \"Update Customer Payment Settings\",\n description: \"Tool to update payment settings for a specific customer in ProAbono. Use when you need to set a customer's payment method preference or update their billing configuration.\",\n input: ProabonoUpdateCustomerPaymentSettingsInput,\n output: ProabonoUpdateCustomerPaymentSettingsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/update-customer-payment-settings.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 ProabonoUpdateCustomerPaymentSettingsInput = z.object({\n TypePayment: z.string().describe(\"The manual payment method type to set. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther. When set, payment collection becomes your responsibility\").optional(),\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings you want to update\"),\n}).describe(\"Request model for the UpdateCustomerPaymentSettings action.\");\nexport const ProabonoUpdateCustomerPaymentSettingsOutput = z.object({\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.\");\n\nexport const proabonoUpdateCustomerPaymentSettings: AppAction<\n typeof ProabonoUpdateCustomerPaymentSettingsInput,\n typeof ProabonoUpdateCustomerPaymentSettingsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-update-customer-payment-settings\",\n name: \"Update Customer Payment Settings\",\n description: \"Tool to update payment settings for a specific customer in ProAbono. Use when you need to set a customer's payment method preference or update their billing configuration.\",\n input: ProabonoUpdateCustomerPaymentSettingsInput,\n output: ProabonoUpdateCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,wCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwD,EAAE,OAAO;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EAC9N,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACpI,CAAC,CAAC,CAAC,SAAS,6DAiBH;CACP,QAjByD,EAAE,OAAO;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-shipping.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-shipping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).passthrough();\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoUpdateCustomerShipping = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-shipping.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-shipping.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 ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).passthrough();\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoUpdateCustomerShipping: AppAction<\n typeof ProabonoUpdateCustomerShippingInput,\n typeof ProabonoUpdateCustomerShippingOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAA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rokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-customer-shipping.d.ts
|
|
@@ -37,21 +39,7 @@ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
|
|
|
37
39
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const proabonoUpdateCustomerShipping:
|
|
41
|
-
Id: number;
|
|
42
|
-
IdBusiness: number;
|
|
43
|
-
City?: string | undefined;
|
|
44
|
-
Phone?: string | undefined;
|
|
45
|
-
Region?: string | undefined;
|
|
46
|
-
Company?: string | undefined;
|
|
47
|
-
Country?: string | undefined;
|
|
48
|
-
ZipCode?: string | undefined;
|
|
49
|
-
LastName?: string | undefined;
|
|
50
|
-
FirstName?: string | undefined;
|
|
51
|
-
AddressLine1?: string | undefined;
|
|
52
|
-
AddressLine2?: string | undefined;
|
|
53
|
-
TaxInformation?: string | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const proabonoUpdateCustomerShipping: AppAction<typeof ProabonoUpdateCustomerShippingInput, typeof ProabonoUpdateCustomerShippingOutput, typeof proabono.credential>;
|
|
55
43
|
//#endregion
|
|
56
44
|
export { proabonoUpdateCustomerShipping };
|
|
57
45
|
//# sourceMappingURL=update-customer-shipping.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-shipping.d.cts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-shipping.d.cts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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/update-customer-shipping.d.ts
|
|
@@ -37,21 +39,7 @@ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
|
|
|
37
39
|
IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const proabonoUpdateCustomerShipping:
|
|
41
|
-
Id: number;
|
|
42
|
-
IdBusiness: number;
|
|
43
|
-
City?: string | undefined;
|
|
44
|
-
Phone?: string | undefined;
|
|
45
|
-
Region?: string | undefined;
|
|
46
|
-
Company?: string | undefined;
|
|
47
|
-
Country?: string | undefined;
|
|
48
|
-
ZipCode?: string | undefined;
|
|
49
|
-
LastName?: string | undefined;
|
|
50
|
-
FirstName?: string | undefined;
|
|
51
|
-
AddressLine1?: string | undefined;
|
|
52
|
-
AddressLine2?: string | undefined;
|
|
53
|
-
TaxInformation?: string | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const proabonoUpdateCustomerShipping: AppAction<typeof ProabonoUpdateCustomerShippingInput, typeof ProabonoUpdateCustomerShippingOutput, typeof proabono.credential>;
|
|
55
43
|
//#endregion
|
|
56
44
|
export { proabonoUpdateCustomerShipping };
|
|
57
45
|
//# sourceMappingURL=update-customer-shipping.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-shipping.d.mts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-shipping.d.mts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-shipping.mjs","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).passthrough();\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoUpdateCustomerShipping = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-shipping.mjs","names":[],"sources":["../../src/actions/update-customer-shipping.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 ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).passthrough();\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoUpdateCustomerShipping: AppAction<\n typeof ProabonoUpdateCustomerShippingInput,\n typeof ProabonoUpdateCustomerShippingOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACxD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MA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Y,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_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 ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated 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(ProabonoUpdateCustomer_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().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-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 ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_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 ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated 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(ProabonoUpdateCustomer_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().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer: AppAction<\n typeof ProabonoUpdateCustomerInput,\n typeof ProabonoUpdateCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACnK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC1I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