@keystrokehq/persona 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-tag-to-account.cjs +6 -6
- package/dist/actions/add-tag-to-account.cjs.map +1 -1
- package/dist/actions/add-tag-to-account.d.cts +6 -6
- package/dist/actions/add-tag-to-account.d.mts +6 -6
- package/dist/actions/add-tag-to-account.mjs +6 -6
- package/dist/actions/add-tag-to-account.mjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.cjs +5 -5
- package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.cts +6 -6
- package/dist/actions/archive-a-country-list-item.d.mts +6 -6
- package/dist/actions/archive-a-country-list-item.mjs +5 -5
- package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.cjs +6 -6
- package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.cts +6 -6
- package/dist/actions/archive-a-geolocation-list-item.d.mts +6 -6
- package/dist/actions/archive-a-geolocation-list-item.mjs +6 -6
- package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.cjs +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.d.cts +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.d.mts +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.mjs +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.cjs +6 -6
- package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.cts +6 -6
- package/dist/actions/archive-a-name-list-item.d.mts +6 -6
- package/dist/actions/archive-a-name-list-item.mjs +6 -6
- package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-webhook.cjs +6 -6
- package/dist/actions/archive-a-webhook.cjs.map +1 -1
- package/dist/actions/archive-a-webhook.d.cts +7 -7
- package/dist/actions/archive-a-webhook.d.mts +7 -7
- package/dist/actions/archive-a-webhook.mjs +6 -6
- package/dist/actions/archive-a-webhook.mjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.cjs +5 -5
- package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.cts +5 -5
- package/dist/actions/archive-email-address-list-item.d.mts +5 -5
- package/dist/actions/archive-email-address-list-item.mjs +5 -5
- package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.cjs +4 -4
- package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.d.cts +4 -4
- package/dist/actions/archive-ip-address-list-item.d.mts +4 -4
- package/dist/actions/archive-ip-address-list-item.mjs +4 -4
- package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.cjs +3 -3
- package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.cts +3 -3
- package/dist/actions/archive-phone-number-list-item.d.mts +3 -3
- package/dist/actions/archive-phone-number-list-item.mjs +3 -3
- package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-string-list-item.cjs +5 -5
- package/dist/actions/archive-string-list-item.cjs.map +1 -1
- package/dist/actions/archive-string-list-item.d.cts +6 -6
- package/dist/actions/archive-string-list-item.d.mts +6 -6
- package/dist/actions/archive-string-list-item.mjs +5 -5
- package/dist/actions/archive-string-list-item.mjs.map +1 -1
- package/dist/actions/clone-webhook.cjs +4 -4
- package/dist/actions/clone-webhook.cjs.map +1 -1
- package/dist/actions/clone-webhook.d.cts +4 -4
- package/dist/actions/clone-webhook.d.mts +4 -4
- package/dist/actions/clone-webhook.mjs +4 -4
- package/dist/actions/clone-webhook.mjs.map +1 -1
- package/dist/actions/consolidate-into-account.cjs +2 -2
- package/dist/actions/consolidate-into-account.cjs.map +1 -1
- package/dist/actions/consolidate-into-account.d.cts +2 -2
- package/dist/actions/consolidate-into-account.d.mts +2 -2
- package/dist/actions/consolidate-into-account.mjs +2 -2
- package/dist/actions/consolidate-into-account.mjs.map +1 -1
- package/dist/actions/create-an-account.cjs +12 -12
- package/dist/actions/create-an-account.cjs.map +1 -1
- package/dist/actions/create-an-account.d.cts +16 -16
- package/dist/actions/create-an-account.d.mts +16 -16
- package/dist/actions/create-an-account.mjs +12 -12
- package/dist/actions/create-an-account.mjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.cjs +6 -6
- package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.d.cts +6 -6
- package/dist/actions/create-an-ip-address-list-item.d.mts +6 -6
- package/dist/actions/create-an-ip-address-list-item.mjs +6 -6
- package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/create-country-list-item.cjs +6 -6
- package/dist/actions/create-country-list-item.cjs.map +1 -1
- package/dist/actions/create-country-list-item.d.cts +6 -6
- package/dist/actions/create-country-list-item.d.mts +6 -6
- package/dist/actions/create-country-list-item.mjs +6 -6
- package/dist/actions/create-country-list-item.mjs.map +1 -1
- package/dist/actions/create-document-generic.cjs +5 -5
- package/dist/actions/create-document-generic.cjs.map +1 -1
- package/dist/actions/create-document-generic.d.cts +5 -5
- package/dist/actions/create-document-generic.d.mts +5 -5
- package/dist/actions/create-document-generic.mjs +5 -5
- package/dist/actions/create-document-generic.mjs.map +1 -1
- package/dist/actions/create-email-address-list-item.cjs +4 -4
- package/dist/actions/create-email-address-list-item.cjs.map +1 -1
- package/dist/actions/create-email-address-list-item.d.cts +4 -4
- package/dist/actions/create-email-address-list-item.d.mts +4 -4
- package/dist/actions/create-email-address-list-item.mjs +4 -4
- package/dist/actions/create-email-address-list-item.mjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.cjs +6 -6
- package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.d.cts +6 -6
- package/dist/actions/create-government-id-number-list-item.d.mts +6 -6
- package/dist/actions/create-government-id-number-list-item.mjs +6 -6
- package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/create-name-list-item.cjs +5 -5
- package/dist/actions/create-name-list-item.cjs.map +1 -1
- package/dist/actions/create-name-list-item.d.cts +5 -5
- package/dist/actions/create-name-list-item.d.mts +5 -5
- package/dist/actions/create-name-list-item.mjs +5 -5
- package/dist/actions/create-name-list-item.mjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.cjs +5 -5
- package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.cts +5 -5
- package/dist/actions/create-phone-number-list-item.d.mts +5 -5
- package/dist/actions/create-phone-number-list-item.mjs +5 -5
- package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/create-string-list-item.cjs +6 -6
- package/dist/actions/create-string-list-item.cjs.map +1 -1
- package/dist/actions/create-string-list-item.d.cts +6 -6
- package/dist/actions/create-string-list-item.d.mts +6 -6
- package/dist/actions/create-string-list-item.mjs +6 -6
- package/dist/actions/create-string-list-item.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +5 -5
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +6 -6
- package/dist/actions/create-webhook.d.mts +6 -6
- package/dist/actions/create-webhook.mjs +5 -5
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/disable-webhook.cjs +6 -6
- package/dist/actions/disable-webhook.cjs.map +1 -1
- package/dist/actions/disable-webhook.d.cts +7 -7
- package/dist/actions/disable-webhook.d.mts +7 -7
- package/dist/actions/disable-webhook.mjs +6 -6
- package/dist/actions/disable-webhook.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +5 -5
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +5 -5
- package/dist/actions/enable-webhook.d.mts +5 -5
- package/dist/actions/enable-webhook.mjs +5 -5
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.cjs +8 -8
- package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.cts +10 -10
- package/dist/actions/expire-inquiry-sessions.d.mts +10 -10
- package/dist/actions/expire-inquiry-sessions.mjs +8 -8
- package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/import-email-address-lists.cjs +3 -3
- package/dist/actions/import-email-address-lists.cjs.map +1 -1
- package/dist/actions/import-email-address-lists.d.cts +3 -3
- package/dist/actions/import-email-address-lists.d.mts +3 -3
- package/dist/actions/import-email-address-lists.mjs +3 -3
- package/dist/actions/import-email-address-lists.mjs.map +1 -1
- package/dist/actions/import-ip-address-lists.cjs +3 -3
- package/dist/actions/import-ip-address-lists.cjs.map +1 -1
- package/dist/actions/import-ip-address-lists.d.cts +3 -3
- package/dist/actions/import-ip-address-lists.d.mts +3 -3
- package/dist/actions/import-ip-address-lists.mjs +3 -3
- package/dist/actions/import-ip-address-lists.mjs.map +1 -1
- package/dist/actions/import-name-lists.cjs +3 -3
- package/dist/actions/import-name-lists.cjs.map +1 -1
- package/dist/actions/import-name-lists.d.cts +3 -3
- package/dist/actions/import-name-lists.d.mts +3 -3
- package/dist/actions/import-name-lists.mjs +3 -3
- package/dist/actions/import-name-lists.mjs.map +1 -1
- package/dist/actions/import-phone-number-lists.cjs +3 -3
- package/dist/actions/import-phone-number-lists.cjs.map +1 -1
- package/dist/actions/import-phone-number-lists.d.cts +3 -3
- package/dist/actions/import-phone-number-lists.d.mts +3 -3
- package/dist/actions/import-phone-number-lists.mjs +3 -3
- package/dist/actions/import-phone-number-lists.mjs.map +1 -1
- package/dist/actions/list-all-accounts.cjs +8 -8
- package/dist/actions/list-all-accounts.cjs.map +1 -1
- package/dist/actions/list-all-accounts.d.cts +10 -10
- package/dist/actions/list-all-accounts.d.mts +10 -10
- package/dist/actions/list-all-accounts.mjs +8 -8
- package/dist/actions/list-all-accounts.mjs.map +1 -1
- package/dist/actions/list-all-api-logs.cjs +10 -10
- package/dist/actions/list-all-api-logs.cjs.map +1 -1
- package/dist/actions/list-all-api-logs.d.cts +11 -11
- package/dist/actions/list-all-api-logs.d.mts +11 -11
- package/dist/actions/list-all-api-logs.mjs +10 -10
- package/dist/actions/list-all-api-logs.mjs.map +1 -1
- package/dist/actions/list-all-cases.cjs +10 -10
- package/dist/actions/list-all-cases.cjs.map +1 -1
- package/dist/actions/list-all-cases.d.cts +10 -10
- package/dist/actions/list-all-cases.d.mts +10 -10
- package/dist/actions/list-all-cases.mjs +10 -10
- package/dist/actions/list-all-cases.mjs.map +1 -1
- package/dist/actions/list-all-devices.cjs +5 -5
- package/dist/actions/list-all-devices.cjs.map +1 -1
- package/dist/actions/list-all-devices.d.cts +5 -5
- package/dist/actions/list-all-devices.d.mts +5 -5
- package/dist/actions/list-all-devices.mjs +5 -5
- package/dist/actions/list-all-devices.mjs.map +1 -1
- package/dist/actions/list-all-events.cjs +4 -4
- package/dist/actions/list-all-events.cjs.map +1 -1
- package/dist/actions/list-all-events.d.cts +4 -4
- package/dist/actions/list-all-events.d.mts +4 -4
- package/dist/actions/list-all-events.mjs +4 -4
- package/dist/actions/list-all-events.mjs.map +1 -1
- package/dist/actions/list-all-importers.cjs +6 -6
- package/dist/actions/list-all-importers.cjs.map +1 -1
- package/dist/actions/list-all-importers.d.cts +7 -7
- package/dist/actions/list-all-importers.d.mts +7 -7
- package/dist/actions/list-all-importers.mjs +6 -6
- package/dist/actions/list-all-importers.mjs.map +1 -1
- package/dist/actions/list-all-inquiries.cjs +9 -9
- package/dist/actions/list-all-inquiries.cjs.map +1 -1
- package/dist/actions/list-all-inquiries.d.cts +9 -9
- package/dist/actions/list-all-inquiries.d.mts +9 -9
- package/dist/actions/list-all-inquiries.mjs +9 -9
- package/dist/actions/list-all-inquiries.mjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.cjs +9 -9
- package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.cts +11 -11
- package/dist/actions/list-all-inquiry-sessions.d.mts +11 -11
- package/dist/actions/list-all-inquiry-sessions.mjs +9 -9
- package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs +7 -7
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +9 -9
- package/dist/actions/list-all-lists.d.mts +9 -9
- package/dist/actions/list-all-lists.mjs +7 -7
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-all-rate-limits.cjs +3 -3
- package/dist/actions/list-all-rate-limits.cjs.map +1 -1
- package/dist/actions/list-all-rate-limits.d.cts +3 -3
- package/dist/actions/list-all-rate-limits.d.mts +3 -3
- package/dist/actions/list-all-rate-limits.mjs +3 -3
- package/dist/actions/list-all-rate-limits.mjs.map +1 -1
- package/dist/actions/list-all-reports.cjs +10 -10
- package/dist/actions/list-all-reports.cjs.map +1 -1
- package/dist/actions/list-all-reports.d.cts +10 -10
- package/dist/actions/list-all-reports.d.mts +10 -10
- package/dist/actions/list-all-reports.mjs +10 -10
- package/dist/actions/list-all-reports.mjs.map +1 -1
- package/dist/actions/list-all-transactions.cjs +8 -8
- package/dist/actions/list-all-transactions.cjs.map +1 -1
- package/dist/actions/list-all-transactions.d.cts +8 -8
- package/dist/actions/list-all-transactions.d.mts +8 -8
- package/dist/actions/list-all-transactions.mjs +8 -8
- package/dist/actions/list-all-transactions.mjs.map +1 -1
- package/dist/actions/list-all-webhooks.cjs +6 -6
- package/dist/actions/list-all-webhooks.cjs.map +1 -1
- package/dist/actions/list-all-webhooks.d.cts +6 -6
- package/dist/actions/list-all-webhooks.d.mts +6 -6
- package/dist/actions/list-all-webhooks.mjs +6 -6
- package/dist/actions/list-all-webhooks.mjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.cjs +10 -10
- package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.cts +10 -10
- package/dist/actions/list-all-workflow-runs.d.mts +10 -10
- package/dist/actions/list-all-workflow-runs.mjs +10 -10
- package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
- package/dist/actions/redact-an-account.cjs +9 -9
- package/dist/actions/redact-an-account.cjs.map +1 -1
- package/dist/actions/redact-an-account.d.cts +11 -11
- package/dist/actions/redact-an-account.d.mts +11 -11
- package/dist/actions/redact-an-account.mjs +9 -9
- package/dist/actions/redact-an-account.mjs.map +1 -1
- package/dist/actions/remove-account-tag.cjs +5 -5
- package/dist/actions/remove-account-tag.cjs.map +1 -1
- package/dist/actions/remove-account-tag.d.cts +5 -5
- package/dist/actions/remove-account-tag.d.mts +5 -5
- package/dist/actions/remove-account-tag.mjs +5 -5
- package/dist/actions/remove-account-tag.mjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.cjs +6 -6
- package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.cts +8 -8
- package/dist/actions/retrieve-a-country-list-item.d.mts +8 -8
- package/dist/actions/retrieve-a-country-list-item.mjs +6 -6
- package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.cjs +7 -7
- package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts +8 -8
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts +8 -8
- package/dist/actions/retrieve-a-geolocation-list-item.mjs +7 -7
- package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.cjs +5 -5
- package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.cts +6 -6
- package/dist/actions/retrieve-a-name-list-item.d.mts +6 -6
- package/dist/actions/retrieve-a-name-list-item.mjs +5 -5
- package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.cjs +6 -6
- package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.cts +8 -8
- package/dist/actions/retrieve-a-string-list-item.d.mts +8 -8
- package/dist/actions/retrieve-a-string-list-item.mjs +6 -6
- package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.cjs +7 -7
- package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.cts +8 -8
- package/dist/actions/retrieve-a-webhook.d.mts +8 -8
- package/dist/actions/retrieve-a-webhook.mjs +7 -7
- package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
- package/dist/actions/retrieve-an-account.cjs +9 -9
- package/dist/actions/retrieve-an-account.cjs.map +1 -1
- package/dist/actions/retrieve-an-account.d.cts +11 -11
- package/dist/actions/retrieve-an-account.d.mts +11 -11
- package/dist/actions/retrieve-an-account.mjs +9 -9
- package/dist/actions/retrieve-an-account.mjs.map +1 -1
- package/dist/actions/retrieve-an-event.cjs +5 -5
- package/dist/actions/retrieve-an-event.cjs.map +1 -1
- package/dist/actions/retrieve-an-event.d.cts +6 -6
- package/dist/actions/retrieve-an-event.d.mts +6 -6
- package/dist/actions/retrieve-an-event.mjs +5 -5
- package/dist/actions/retrieve-an-event.mjs.map +1 -1
- package/dist/actions/retrieve-an-importer.cjs +5 -5
- package/dist/actions/retrieve-an-importer.cjs.map +1 -1
- package/dist/actions/retrieve-an-importer.d.cts +6 -6
- package/dist/actions/retrieve-an-importer.d.mts +6 -6
- package/dist/actions/retrieve-an-importer.mjs +5 -5
- package/dist/actions/retrieve-an-importer.mjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.cjs +5 -5
- package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.d.cts +6 -6
- package/dist/actions/retrieve-an-ip-address-list-item.d.mts +6 -6
- package/dist/actions/retrieve-an-ip-address-list-item.mjs +5 -5
- package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-api-log.cjs +12 -12
- package/dist/actions/retrieve-api-log.cjs.map +1 -1
- package/dist/actions/retrieve-api-log.d.cts +13 -13
- package/dist/actions/retrieve-api-log.d.mts +13 -13
- package/dist/actions/retrieve-api-log.mjs +12 -12
- package/dist/actions/retrieve-api-log.mjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +5 -5
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +7 -7
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +7 -7
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +5 -5
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-document-generic.cjs +18 -18
- package/dist/actions/retrieve-document-generic.cjs.map +1 -1
- package/dist/actions/retrieve-document-generic.d.cts +19 -19
- package/dist/actions/retrieve-document-generic.d.mts +19 -19
- package/dist/actions/retrieve-document-generic.mjs +18 -18
- package/dist/actions/retrieve-document-generic.mjs.map +1 -1
- package/dist/actions/retrieve-document.cjs +14 -14
- package/dist/actions/retrieve-document.cjs.map +1 -1
- package/dist/actions/retrieve-document.d.cts +25 -25
- package/dist/actions/retrieve-document.d.mts +25 -25
- package/dist/actions/retrieve-document.mjs +14 -14
- package/dist/actions/retrieve-document.mjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.cjs +5 -5
- package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.cts +6 -6
- package/dist/actions/retrieve-email-address-list-item.d.mts +6 -6
- package/dist/actions/retrieve-email-address-list-item.mjs +5 -5
- package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.cjs +5 -5
- package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.d.cts +6 -6
- package/dist/actions/retrieve-government-id-number-list-item.d.mts +6 -6
- package/dist/actions/retrieve-government-id-number-list-item.mjs +5 -5
- package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.cjs +7 -7
- package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.cts +8 -8
- package/dist/actions/retrieve-phone-number-list-item.d.mts +8 -8
- package/dist/actions/retrieve-phone-number-list-item.mjs +7 -7
- package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.cjs +7 -7
- package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.cts +8 -8
- package/dist/actions/rotate-webhook-secret.d.mts +8 -8
- package/dist/actions/rotate-webhook-secret.mjs +7 -7
- package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs +8 -8
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +11 -11
- package/dist/actions/search-accounts.d.mts +11 -11
- package/dist/actions/search-accounts.mjs +8 -8
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-cases.cjs +8 -8
- package/dist/actions/search-cases.cjs.map +1 -1
- package/dist/actions/search-cases.d.cts +9 -9
- package/dist/actions/search-cases.d.mts +9 -9
- package/dist/actions/search-cases.mjs +8 -8
- package/dist/actions/search-cases.mjs.map +1 -1
- package/dist/actions/set-tags.cjs +6 -6
- package/dist/actions/set-tags.cjs.map +1 -1
- package/dist/actions/set-tags.d.cts +6 -6
- package/dist/actions/set-tags.d.mts +6 -6
- package/dist/actions/set-tags.mjs +6 -6
- package/dist/actions/set-tags.mjs.map +1 -1
- package/dist/actions/update-a-webhook.cjs +8 -8
- package/dist/actions/update-a-webhook.cjs.map +1 -1
- package/dist/actions/update-a-webhook.d.cts +11 -11
- package/dist/actions/update-a-webhook.d.mts +11 -11
- package/dist/actions/update-a-webhook.mjs +8 -8
- package/dist/actions/update-a-webhook.mjs.map +1 -1
- package/dist/actions/update-an-account.cjs +10 -10
- package/dist/actions/update-an-account.cjs.map +1 -1
- package/dist/actions/update-an-account.d.cts +14 -14
- package/dist/actions/update-an-account.d.mts +14 -14
- package/dist/actions/update-an-account.mjs +10 -10
- package/dist/actions/update-an-account.mjs.map +1 -1
- package/dist/actions/update-document-generic.cjs +16 -16
- package/dist/actions/update-document-generic.cjs.map +1 -1
- package/dist/actions/update-document-generic.d.cts +27 -27
- package/dist/actions/update-document-generic.d.mts +27 -27
- package/dist/actions/update-document-generic.mjs +16 -16
- package/dist/actions/update-document-generic.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for creating a Persona webhook.\");\nconst PersonaCreateWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"The secret value.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., enabled, disabled).\").nullable().optional(),\n secrets: z.array(PersonaCreateWebhook_SecretObjectSchema).describe(\"List of secret objects for webhook signing rotation.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes excluded from webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput = z.object({\n data: PersonaCreateWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created webhook.\");\n\nexport const personaCreateWebhook = action(\"PERSONA_CREATE_WEBHOOK\", {\n slug: \"persona-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook in Persona. Use when you need to set up real-time notifications for specific events in your Persona account. The webhook will send POST requests to your URL when enabled events occur.\",\n input: PersonaCreateWebhookInput,\n output: PersonaCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,C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_inflection: z.ZodOptional<z.ZodString>;
|
|
30
|
-
custom_http_headers: z.ZodOptional<z.
|
|
30
|
+
custom_http_headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31
31
|
api_attributes_blocklist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
32
|
file_access_token_expires_in: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, z.core.$strip>;
|
|
@@ -43,7 +43,7 @@ declare const PersonaCreateWebhookOutput: z.ZodObject<{
|
|
|
43
43
|
secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
44
44
|
value: z.ZodNullable<z.ZodString>;
|
|
45
45
|
"expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>>;
|
|
47
47
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
api_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52,10 +52,10 @@ declare const PersonaCreateWebhookOutput: z.ZodObject<{
|
|
|
52
52
|
api_key_inflection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
api_attributes_blocklist: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
54
54
|
file_access_token_expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
57
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
58
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$loose>;
|
|
59
59
|
declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
url: string;
|
|
61
61
|
name: string;
|
|
@@ -69,7 +69,7 @@ declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowAction
|
|
|
69
69
|
idempotency_key?: string | undefined;
|
|
70
70
|
persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
|
|
71
71
|
api_key_inflection?: string | undefined;
|
|
72
|
-
custom_http_headers?: Record<string,
|
|
72
|
+
custom_http_headers?: Record<string, unknown> | undefined;
|
|
73
73
|
api_attributes_blocklist?: string[] | undefined;
|
|
74
74
|
file_access_token_expires_in?: number | undefined;
|
|
75
75
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -27,7 +27,7 @@ declare const PersonaCreateWebhookInput: z.ZodObject<{
|
|
|
27
27
|
"2020-05-18": "2020-05-18";
|
|
28
28
|
}>>;
|
|
29
29
|
api_key_inflection: z.ZodOptional<z.ZodString>;
|
|
30
|
-
custom_http_headers: z.ZodOptional<z.
|
|
30
|
+
custom_http_headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31
31
|
api_attributes_blocklist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
32
|
file_access_token_expires_in: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, z.core.$strip>;
|
|
@@ -43,7 +43,7 @@ declare const PersonaCreateWebhookOutput: z.ZodObject<{
|
|
|
43
43
|
secrets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
44
44
|
value: z.ZodNullable<z.ZodString>;
|
|
45
45
|
"expires-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>>;
|
|
47
47
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
api_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52,10 +52,10 @@ declare const PersonaCreateWebhookOutput: z.ZodObject<{
|
|
|
52
52
|
api_key_inflection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
api_attributes_blocklist: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
54
54
|
file_access_token_expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
57
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
58
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$loose>;
|
|
59
59
|
declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
url: string;
|
|
61
61
|
name: string;
|
|
@@ -69,7 +69,7 @@ declare const personaCreateWebhook: import("@keystrokehq/action").WorkflowAction
|
|
|
69
69
|
idempotency_key?: string | undefined;
|
|
70
70
|
persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
|
|
71
71
|
api_key_inflection?: string | undefined;
|
|
72
|
-
custom_http_headers?: Record<string,
|
|
72
|
+
custom_http_headers?: Record<string, unknown> | undefined;
|
|
73
73
|
api_attributes_blocklist?: string[] | undefined;
|
|
74
74
|
file_access_token_expires_in?: number | undefined;
|
|
75
75
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -27,14 +27,14 @@ const PersonaCreateWebhookInput = z.object({
|
|
|
27
27
|
"2020-05-18"
|
|
28
28
|
]).describe("Persona API version.").optional(),
|
|
29
29
|
api_key_inflection: z.string().describe("Casing format for API keys in webhook payload (camel, kebab, or snake).").optional(),
|
|
30
|
-
custom_http_headers: z.
|
|
30
|
+
custom_http_headers: z.record(z.string(), z.unknown()).describe("Custom HTTP headers to include in webhook requests for authentication or routing.").optional(),
|
|
31
31
|
api_attributes_blocklist: z.array(z.string()).describe("List of attributes to exclude from the webhook payload for security or data minimization.").optional(),
|
|
32
32
|
file_access_token_expires_in: z.number().int().describe("Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.").optional()
|
|
33
33
|
}).describe("Request model for creating a Persona webhook.");
|
|
34
34
|
const PersonaCreateWebhook_SecretObjectSchema = z.object({
|
|
35
35
|
value: z.string().describe("The secret value.").nullable(),
|
|
36
36
|
"expires-at": z.string().describe("Expiration timestamp for the secret.").nullable().optional()
|
|
37
|
-
}).describe("Secret object containing value and expiration.");
|
|
37
|
+
}).passthrough().describe("Secret object containing value and expiration.");
|
|
38
38
|
const PersonaCreateWebhook_WebhookAttributesSchema = z.object({
|
|
39
39
|
url: z.string().describe("Target URL where webhook events are sent.").nullable().optional(),
|
|
40
40
|
name: z.string().describe("Name of the webhook.").nullable().optional(),
|
|
@@ -49,12 +49,12 @@ const PersonaCreateWebhook_WebhookAttributesSchema = z.object({
|
|
|
49
49
|
api_key_inflection: z.string().describe("Casing format for API keys in webhook payload.").nullable().optional(),
|
|
50
50
|
api_attributes_blocklist: z.array(z.string()).describe("List of attributes excluded from webhook payload.").nullable().optional(),
|
|
51
51
|
file_access_token_expires_in: z.number().int().describe("Duration in seconds for file access token expiration.").nullable().optional()
|
|
52
|
-
}).describe("Attributes of a Persona webhook object.");
|
|
52
|
+
}).passthrough().describe("Attributes of a Persona webhook object.");
|
|
53
53
|
const PersonaCreateWebhook_WebhookDataSchema = z.object({
|
|
54
54
|
id: z.string().describe("Unique identifier for the webhook.").nullable(),
|
|
55
55
|
type: z.string().describe("Resource type, typically 'webhook'.").nullable(),
|
|
56
56
|
attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional()
|
|
57
|
-
}).describe("Webhook data object returned by Persona API.");
|
|
57
|
+
}).passthrough().describe("Webhook data object returned by Persona API.");
|
|
58
58
|
const personaCreateWebhook = action("PERSONA_CREATE_WEBHOOK", {
|
|
59
59
|
slug: "persona-create-webhook",
|
|
60
60
|
name: "Create Webhook",
|
|
@@ -63,7 +63,7 @@ const personaCreateWebhook = action("PERSONA_CREATE_WEBHOOK", {
|
|
|
63
63
|
output: z.object({
|
|
64
64
|
data: PersonaCreateWebhook_WebhookDataSchema.nullable(),
|
|
65
65
|
included: z.array(z.record(z.string(), z.unknown())).describe("Related resources included in the response when requested via 'include' parameter.").nullable().optional()
|
|
66
|
-
}).describe("Response model for the created webhook.")
|
|
66
|
+
}).passthrough().describe("Response model for the created webhook.")
|
|
67
67
|
});
|
|
68
68
|
//#endregion
|
|
69
69
|
export { personaCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateWebhookInput = z.object({\n url: z.string().describe(\"Target URL where webhook events will be sent. Must be a valid HTTPS endpoint.\"),\n name: z.string().describe(\"Name of the webhook for identification purposes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response for customization.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n api_version: z.string().describe(\"API version to use for this webhook. If not specified, uses the account's default version.\").optional(),\n description: z.string().describe(\"Human-readable description of the webhook's purpose.\").optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that will trigger this webhook. Common events include 'account.created', 'inquiry.completed', 'verification.passed', etc.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration to limit which events trigger the webhook based on payload attributes.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for duplicate requests to prevent creating multiple webhooks.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload (camel, kebab, or snake).\").optional(),\n custom_http_headers: z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers to include in webhook requests for authentication or routing.\").optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload for security or data minimization.\").optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration. Controls how long file URLs in webhook payloads remain valid.\").optional(),\n}).describe(\"Request model for creating a Persona webhook.\");\nconst PersonaCreateWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"The secret value.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Secret object containing value and expiration.\");\nconst PersonaCreateWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests for verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., enabled, disabled).\").nullable().optional(),\n secrets: z.array(PersonaCreateWebhook_SecretObjectSchema).describe(\"List of secret objects for webhook signing rotation.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes excluded from webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCreateWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCreateWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCreateWebhookOutput = z.object({\n data: PersonaCreateWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created webhook.\");\n\nexport const personaCreateWebhook = action(\"PERSONA_CREATE_WEBHOOK\", {\n slug: \"persona-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a new webhook in Persona. Use when you need to set up real-time notifications for specific events in your Persona account. The webhook will send POST requests to your URL when enabled events occur.\",\n input: PersonaCreateWebhookInput,\n output: PersonaCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+IAA+I;CAC5L,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACnK,iBAAiB,EAAE,OAAO,CAAC,CAAC,S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MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,uCAAuC,SAAS;EACtD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/disable-webhook.ts
|
|
4
4
|
const PersonaDisableWebhookInput = zod.z.object({
|
|
5
|
-
fields: zod.z.
|
|
5
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.").optional(),
|
|
6
6
|
include: zod.z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.").optional(),
|
|
7
7
|
webhook_id: zod.z.string().describe("Webhook's ID (starts with 'wbh_')"),
|
|
8
8
|
key_inflection: zod.z.enum([
|
|
@@ -30,20 +30,20 @@ const PersonaDisableWebhook_WebhookAttributesSchema = zod.z.object({
|
|
|
30
30
|
"api-version": zod.z.string().describe("API version used by the webhook").nullable().optional(),
|
|
31
31
|
description: zod.z.string().describe("Description of the webhook").nullable().optional(),
|
|
32
32
|
"enabled-events": zod.z.array(zod.z.string()).describe("List of events enabled for this webhook").nullable().optional(),
|
|
33
|
-
"payload-filter": zod.z.
|
|
33
|
+
"payload-filter": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Payload filter configuration").nullable().optional(),
|
|
34
34
|
"api-key-inflection": zod.z.string().describe("API key inflection setting").nullable().optional(),
|
|
35
35
|
"api-attributes-blocklist": zod.z.array(zod.z.string()).describe("List of API attributes to blocklist").nullable().optional(),
|
|
36
36
|
"file-access-token-expires-in": zod.z.number().int().describe("File access token expiration time in seconds").nullable().optional()
|
|
37
|
-
}).describe("Webhook attributes in the response.");
|
|
37
|
+
}).passthrough().describe("Webhook attributes in the response.");
|
|
38
38
|
const PersonaDisableWebhook_WebhookDataSchema = zod.z.object({
|
|
39
39
|
id: zod.z.string().describe("Webhook ID").nullable().optional(),
|
|
40
40
|
type: zod.z.string().describe("Resource type").nullable().optional(),
|
|
41
41
|
attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional()
|
|
42
|
-
}).describe("Webhook data object in the response.");
|
|
42
|
+
}).passthrough().describe("Webhook data object in the response.");
|
|
43
43
|
const PersonaDisableWebhookOutput = zod.z.object({
|
|
44
44
|
data: PersonaDisableWebhook_WebhookDataSchema.nullable(),
|
|
45
|
-
included: zod.z.array(zod.z.
|
|
46
|
-
}).describe("Response model for disabling a webhook.");
|
|
45
|
+
included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.").nullable().optional()
|
|
46
|
+
}).passthrough().describe("Response model for disabling a webhook.");
|
|
47
47
|
const personaDisableWebhook = require_action.action("PERSONA_DISABLE_WEBHOOK", {
|
|
48
48
|
slug: "persona-disable-webhook",
|
|
49
49
|
name: "Disable Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"disable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for disabling a webhook.\");\nconst PersonaDisableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaDisableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable().optional(),\n type: z.string().describe(\"Resource type\").nullable().optional(),\n attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaDisableWebhookOutput = z.object({\n data: PersonaDisableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling a webhook.\");\n\nexport const personaDisableWebhook = action(\"PERSONA_DISABLE_WEBHOOK\", {\n slug: \"persona-disable-webhook\",\n name: \"Disable Webhook\",\n description: \"Tool to disable a webhook in Persona. Use when you need to stop a webhook from receiving events without deleting it.\",\n input: PersonaDisableWebhookInput,\n output: PersonaDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACjP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SA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AAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAM,wCAAwC,SAAS;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/disable-webhook.d.ts
|
|
4
4
|
declare const PersonaDisableWebhookInput: z.ZodObject<{
|
|
5
|
-
fields: z.ZodOptional<z.
|
|
5
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
include: z.ZodOptional<z.ZodString>;
|
|
7
7
|
webhook_id: z.ZodString;
|
|
8
8
|
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
@@ -34,17 +34,17 @@ declare const PersonaDisableWebhookOutput: z.ZodObject<{
|
|
|
34
34
|
"api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
"enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
37
|
-
"payload-filter": z.ZodOptional<z.ZodNullable<z.
|
|
37
|
+
"payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
38
|
"api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
"api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
40
|
"file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
43
|
-
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
44
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const personaDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
webhook_id: string;
|
|
47
|
-
fields?: Record<string,
|
|
47
|
+
fields?: Record<string, unknown> | undefined;
|
|
48
48
|
include?: string | undefined;
|
|
49
49
|
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
50
50
|
idempotency_key?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/disable-webhook.d.ts
|
|
4
4
|
declare const PersonaDisableWebhookInput: z.ZodObject<{
|
|
5
|
-
fields: z.ZodOptional<z.
|
|
5
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
include: z.ZodOptional<z.ZodString>;
|
|
7
7
|
webhook_id: z.ZodString;
|
|
8
8
|
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
@@ -34,17 +34,17 @@ declare const PersonaDisableWebhookOutput: z.ZodObject<{
|
|
|
34
34
|
"api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
"enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
37
|
-
"payload-filter": z.ZodOptional<z.ZodNullable<z.
|
|
37
|
+
"payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
38
|
"api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
"api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
40
|
"file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
43
|
-
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
44
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const personaDisableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
webhook_id: string;
|
|
47
|
-
fields?: Record<string,
|
|
47
|
+
fields?: Record<string, unknown> | undefined;
|
|
48
48
|
include?: string | undefined;
|
|
49
49
|
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
50
50
|
idempotency_key?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/disable-webhook.ts
|
|
4
4
|
const PersonaDisableWebhookInput = z.object({
|
|
5
|
-
fields: z.
|
|
5
|
+
fields: z.record(z.string(), z.unknown()).describe("Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.").optional(),
|
|
6
6
|
include: z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.").optional(),
|
|
7
7
|
webhook_id: z.string().describe("Webhook's ID (starts with 'wbh_')"),
|
|
8
8
|
key_inflection: z.enum([
|
|
@@ -30,16 +30,16 @@ const PersonaDisableWebhook_WebhookAttributesSchema = z.object({
|
|
|
30
30
|
"api-version": z.string().describe("API version used by the webhook").nullable().optional(),
|
|
31
31
|
description: z.string().describe("Description of the webhook").nullable().optional(),
|
|
32
32
|
"enabled-events": z.array(z.string()).describe("List of events enabled for this webhook").nullable().optional(),
|
|
33
|
-
"payload-filter": z.
|
|
33
|
+
"payload-filter": z.record(z.string(), z.unknown()).describe("Payload filter configuration").nullable().optional(),
|
|
34
34
|
"api-key-inflection": z.string().describe("API key inflection setting").nullable().optional(),
|
|
35
35
|
"api-attributes-blocklist": z.array(z.string()).describe("List of API attributes to blocklist").nullable().optional(),
|
|
36
36
|
"file-access-token-expires-in": z.number().int().describe("File access token expiration time in seconds").nullable().optional()
|
|
37
|
-
}).describe("Webhook attributes in the response.");
|
|
37
|
+
}).passthrough().describe("Webhook attributes in the response.");
|
|
38
38
|
const PersonaDisableWebhook_WebhookDataSchema = z.object({
|
|
39
39
|
id: z.string().describe("Webhook ID").nullable().optional(),
|
|
40
40
|
type: z.string().describe("Resource type").nullable().optional(),
|
|
41
41
|
attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional()
|
|
42
|
-
}).describe("Webhook data object in the response.");
|
|
42
|
+
}).passthrough().describe("Webhook data object in the response.");
|
|
43
43
|
const personaDisableWebhook = action("PERSONA_DISABLE_WEBHOOK", {
|
|
44
44
|
slug: "persona-disable-webhook",
|
|
45
45
|
name: "Disable Webhook",
|
|
@@ -47,8 +47,8 @@ const personaDisableWebhook = action("PERSONA_DISABLE_WEBHOOK", {
|
|
|
47
47
|
input: PersonaDisableWebhookInput,
|
|
48
48
|
output: z.object({
|
|
49
49
|
data: PersonaDisableWebhook_WebhookDataSchema.nullable(),
|
|
50
|
-
included: z.array(z.
|
|
51
|
-
}).describe("Response model for disabling a webhook.")
|
|
50
|
+
included: z.array(z.record(z.string(), z.unknown())).describe("Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.").nullable().optional()
|
|
51
|
+
}).passthrough().describe("Response model for disabling a webhook.")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { personaDisableWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable-webhook.mjs","names":[],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"disable-webhook.mjs","names":[],"sources":["../../src/actions/disable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaDisableWebhookInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response. See Serialization for more details.\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing options for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for disabling a webhook.\");\nconst PersonaDisableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"URL of the webhook endpoint\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"API key inflection setting\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to blocklist\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Webhook attributes in the response.\");\nconst PersonaDisableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable().optional(),\n type: z.string().describe(\"Resource type\").nullable().optional(),\n attributes: PersonaDisableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object in the response.\");\nexport const PersonaDisableWebhookOutput = z.object({\n data: PersonaDisableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Excluded from the response by default. Will be an empty array when the 'include' query parameter in the request was explicitly set to empty.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling a webhook.\");\n\nexport const personaDisableWebhook = action(\"PERSONA_DISABLE_WEBHOOK\", {\n slug: \"persona-disable-webhook\",\n name: \"Disable Webhook\",\n description: \"Tool to disable a webhook in Persona. Use when you need to stop a webhook from receiving events without deleting it.\",\n input: PersonaDisableWebhookInput,\n output: PersonaDisableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CACjP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gB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EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,MAAM,wCAAwC,SAAS;EACvD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -29,20 +29,20 @@ const PersonaEnableWebhook_WebhookAttributesSchema = zod.z.object({
|
|
|
29
29
|
"api-version": zod.z.string().describe("API version used by the webhook").nullable().optional(),
|
|
30
30
|
description: zod.z.string().describe("Description of the webhook").nullable().optional(),
|
|
31
31
|
"enabled-events": zod.z.array(zod.z.string()).describe("List of events enabled for this webhook").nullable().optional(),
|
|
32
|
-
"payload-filter": zod.z.
|
|
32
|
+
"payload-filter": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Payload filter configuration").nullable().optional(),
|
|
33
33
|
"api-key-inflection": zod.z.string().describe("Key inflection for API responses").nullable().optional(),
|
|
34
34
|
"api-attributes-blocklist": zod.z.array(zod.z.string()).describe("List of API attributes to block").nullable().optional(),
|
|
35
35
|
"file-access-token-expires-in": zod.z.number().int().describe("File access token expiration time in seconds").nullable().optional()
|
|
36
|
-
}).describe("Attributes of a webhook.");
|
|
36
|
+
}).passthrough().describe("Attributes of a webhook.");
|
|
37
37
|
const PersonaEnableWebhook_WebhookDataSchema = zod.z.object({
|
|
38
38
|
id: zod.z.string().describe("Webhook ID").nullable(),
|
|
39
39
|
type: zod.z.string().describe("Resource type (webhook)").nullable(),
|
|
40
40
|
attributes: PersonaEnableWebhook_WebhookAttributesSchema.nullable().optional()
|
|
41
|
-
}).describe("Webhook data object.");
|
|
41
|
+
}).passthrough().describe("Webhook data object.");
|
|
42
42
|
const PersonaEnableWebhookOutput = zod.z.object({
|
|
43
43
|
data: PersonaEnableWebhook_WebhookDataSchema.nullable(),
|
|
44
|
-
included: zod.z.array(zod.z.
|
|
45
|
-
}).describe("Response model for enabling a webhook.");
|
|
44
|
+
included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Included related resources (empty array by default)").nullable().optional()
|
|
45
|
+
}).passthrough().describe("Response model for enabling a webhook.");
|
|
46
46
|
const personaEnableWebhook = require_action.action("PERSONA_ENABLE_WEBHOOK", {
|
|
47
47
|
slug: "persona-enable-webhook",
|
|
48
48
|
name: "Enable Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaEnableWebhookInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for enabling a Persona webhook.\");\nconst PersonaEnableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.
|
|
1
|
+
{"version":3,"file":"enable-webhook.cjs","names":["z","action"],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaEnableWebhookInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for enabling a Persona webhook.\");\nconst PersonaEnableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection for API responses\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to block\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook.\");\nconst PersonaEnableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type (webhook)\").nullable(),\n attributes: PersonaEnableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object.\");\nexport const PersonaEnableWebhookOutput = z.object({\n data: PersonaEnableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources (empty array by default)\").nullable().optional(),\n}).passthrough().describe(\"Response model for enabling a webhook.\");\n\nexport const personaEnableWebhook = action(\"PERSONA_ENABLE_WEBHOOK\", {\n slug: \"persona-enable-webhook\",\n name: \"Enable Webhook\",\n description: \"Tool to enable a webhook in Persona. Use when you need to activate a previously disabled webhook.\",\n input: PersonaEnableWebhookInput,\n output: PersonaEnableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,C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
35
|
"enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
36
|
-
"payload-filter": z.ZodOptional<z.ZodNullable<z.
|
|
36
|
+
"payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
37
|
"api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
"api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
39
39
|
"file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
42
|
-
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
43
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const personaEnableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
webhook_id: string;
|
|
46
46
|
include?: string | undefined;
|
|
@@ -33,14 +33,14 @@ declare const PersonaEnableWebhookOutput: z.ZodObject<{
|
|
|
33
33
|
"api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
"enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
36
|
-
"payload-filter": z.ZodOptional<z.ZodNullable<z.
|
|
36
|
+
"payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
37
|
"api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
"api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
39
39
|
"file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
42
|
-
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
43
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const personaEnableWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
webhook_id: string;
|
|
46
46
|
include?: string | undefined;
|
|
@@ -29,16 +29,16 @@ const PersonaEnableWebhook_WebhookAttributesSchema = z.object({
|
|
|
29
29
|
"api-version": z.string().describe("API version used by the webhook").nullable().optional(),
|
|
30
30
|
description: z.string().describe("Description of the webhook").nullable().optional(),
|
|
31
31
|
"enabled-events": z.array(z.string()).describe("List of events enabled for this webhook").nullable().optional(),
|
|
32
|
-
"payload-filter": z.
|
|
32
|
+
"payload-filter": z.record(z.string(), z.unknown()).describe("Payload filter configuration").nullable().optional(),
|
|
33
33
|
"api-key-inflection": z.string().describe("Key inflection for API responses").nullable().optional(),
|
|
34
34
|
"api-attributes-blocklist": z.array(z.string()).describe("List of API attributes to block").nullable().optional(),
|
|
35
35
|
"file-access-token-expires-in": z.number().int().describe("File access token expiration time in seconds").nullable().optional()
|
|
36
|
-
}).describe("Attributes of a webhook.");
|
|
36
|
+
}).passthrough().describe("Attributes of a webhook.");
|
|
37
37
|
const PersonaEnableWebhook_WebhookDataSchema = z.object({
|
|
38
38
|
id: z.string().describe("Webhook ID").nullable(),
|
|
39
39
|
type: z.string().describe("Resource type (webhook)").nullable(),
|
|
40
40
|
attributes: PersonaEnableWebhook_WebhookAttributesSchema.nullable().optional()
|
|
41
|
-
}).describe("Webhook data object.");
|
|
41
|
+
}).passthrough().describe("Webhook data object.");
|
|
42
42
|
const personaEnableWebhook = action("PERSONA_ENABLE_WEBHOOK", {
|
|
43
43
|
slug: "persona-enable-webhook",
|
|
44
44
|
name: "Enable Webhook",
|
|
@@ -46,8 +46,8 @@ const personaEnableWebhook = action("PERSONA_ENABLE_WEBHOOK", {
|
|
|
46
46
|
input: PersonaEnableWebhookInput,
|
|
47
47
|
output: z.object({
|
|
48
48
|
data: PersonaEnableWebhook_WebhookDataSchema.nullable(),
|
|
49
|
-
included: z.array(z.
|
|
50
|
-
}).describe("Response model for enabling a webhook.")
|
|
49
|
+
included: z.array(z.record(z.string(), z.unknown())).describe("Included related resources (empty array by default)").nullable().optional()
|
|
50
|
+
}).passthrough().describe("Response model for enabling a webhook.")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { personaEnableWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-webhook.mjs","names":[],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaEnableWebhookInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for enabling a Persona webhook.\");\nconst PersonaEnableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.
|
|
1
|
+
{"version":3,"file":"enable-webhook.mjs","names":[],"sources":["../../src/actions/enable-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaEnableWebhookInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response\").optional(),\n webhook_id: z.string().describe(\"Webhook's ID (starts with 'wbh_')\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Key inflection options for API response casing.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version options.\").optional(),\n}).describe(\"Request model for enabling a Persona webhook.\");\nconst PersonaEnableWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the webhook was created\").nullable().optional(),\n \"api-version\": z.string().describe(\"API version used by the webhook\").nullable().optional(),\n description: z.string().describe(\"Description of the webhook\").nullable().optional(),\n \"enabled-events\": z.array(z.string()).describe(\"List of events enabled for this webhook\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Payload filter configuration\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection for API responses\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of API attributes to block\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"File access token expiration time in seconds\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook.\");\nconst PersonaEnableWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Webhook ID\").nullable(),\n type: z.string().describe(\"Resource type (webhook)\").nullable(),\n attributes: PersonaEnableWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object.\");\nexport const PersonaEnableWebhookOutput = z.object({\n data: PersonaEnableWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources (empty array by default)\").nullable().optional(),\n}).passthrough().describe(\"Response model for enabling a webhook.\");\n\nexport const personaEnableWebhook = action(\"PERSONA_ENABLE_WEBHOOK\", {\n slug: \"persona-enable-webhook\",\n name: \"Enable Webhook\",\n description: \"Tool to enable a webhook in Persona. Use when you need to activate a previously disabled webhook.\",\n input: PersonaEnableWebhookInput,\n output: PersonaEnableWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,iBAAiB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,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