@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":"list-all-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-all-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWebhooksInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"fields.webhook\": z.string().describe(\"Comma-separated list of attributes to include for webhook resources.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for listing all webhooks in Persona.\");\nconst PersonaListAllWebhooks_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(z.string()).describe(\"List of secret keys 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.
|
|
1
|
+
{"version":3,"file":"list-all-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-all-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWebhooksInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"fields.webhook\": z.string().describe(\"Comma-separated list of attributes to include for webhook resources.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for listing all webhooks in Persona.\");\nconst PersonaListAllWebhooks_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(z.string()).describe(\"List of secret keys 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 \"custom-http-headers\": z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers included in webhook requests.\").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 webhook object.\");\nconst PersonaListAllWebhooks_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: PersonaListAllWebhooks_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nconst PersonaListAllWebhooks_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllWebhooksOutput = z.object({\n data: z.array(PersonaListAllWebhooks_WebhookDataSchema).describe(\"An array of webhook objects.\"),\n links: PersonaListAllWebhooks_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model returned after listing all webhooks in Persona.\");\n\nexport const personaListAllWebhooks = action(\"PERSONA_LIST_ALL_WEBHOOKS\", {\n slug: \"persona-list-all-webhooks\",\n name: \"List All Webhooks\",\n description: \"Tool to list all webhooks in Persona. Use when you need to retrieve a paginated list of webhooks configured for the account.\",\n input: PersonaListAllWebhooksInput,\n output: PersonaListAllWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACvH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAA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AA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B;CAC/F,OAAO,6CAA6C,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -37,18 +37,18 @@ declare const PersonaListAllWebhooksOutput: z.ZodObject<{
|
|
|
37
37
|
"api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
"enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
|
-
"payload-filter": z.ZodOptional<z.ZodNullable<z.
|
|
40
|
+
"payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
41
41
|
"api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
"custom-http-headers": z.ZodOptional<z.ZodNullable<z.
|
|
42
|
+
"custom-http-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
43
43
|
"api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
44
44
|
"file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
47
|
links: z.ZodNullable<z.ZodObject<{
|
|
48
48
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
52
|
declare const personaListAllWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
53
|
"page.size"?: number | undefined;
|
|
54
54
|
"page.after"?: string | undefined;
|
|
@@ -37,18 +37,18 @@ declare const PersonaListAllWebhooksOutput: z.ZodObject<{
|
|
|
37
37
|
"api-version": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
"enabled-events": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
|
-
"payload-filter": z.ZodOptional<z.ZodNullable<z.
|
|
40
|
+
"payload-filter": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
41
41
|
"api-key-inflection": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
"custom-http-headers": z.ZodOptional<z.ZodNullable<z.
|
|
42
|
+
"custom-http-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
43
43
|
"api-attributes-blocklist": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
44
44
|
"file-access-token-expires-in": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
47
|
links: z.ZodNullable<z.ZodObject<{
|
|
48
48
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
52
|
declare const personaListAllWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
53
|
"page.size"?: number | undefined;
|
|
54
54
|
"page.after"?: string | undefined;
|
|
@@ -33,21 +33,21 @@ const PersonaListAllWebhooks_WebhookAttributesSchema = z.object({
|
|
|
33
33
|
"api-version": z.string().describe("API version used for this webhook.").nullable().optional(),
|
|
34
34
|
description: z.string().describe("Human-readable description of the webhook.").nullable().optional(),
|
|
35
35
|
"enabled-events": z.array(z.string()).describe("List of event types that trigger this webhook.").nullable().optional(),
|
|
36
|
-
"payload-filter": z.
|
|
36
|
+
"payload-filter": z.record(z.string(), z.unknown()).describe("Filter configuration for webhook payload.").nullable().optional(),
|
|
37
37
|
"api-key-inflection": z.string().describe("Casing format for API keys in webhook payload.").nullable().optional(),
|
|
38
|
-
"custom-http-headers": z.
|
|
38
|
+
"custom-http-headers": z.record(z.string(), z.unknown()).describe("Custom HTTP headers included in webhook requests.").nullable().optional(),
|
|
39
39
|
"api-attributes-blocklist": z.array(z.string()).describe("List of attributes excluded from webhook payload.").nullable().optional(),
|
|
40
40
|
"file-access-token-expires-in": z.number().int().describe("Duration in seconds for file access token expiration.").nullable().optional()
|
|
41
|
-
}).describe("Attributes of a webhook object.");
|
|
41
|
+
}).passthrough().describe("Attributes of a webhook object.");
|
|
42
42
|
const PersonaListAllWebhooks_WebhookDataSchema = z.object({
|
|
43
43
|
id: z.string().describe("Unique identifier for the webhook.").nullable(),
|
|
44
44
|
type: z.string().describe("Resource type, typically 'webhook'.").nullable(),
|
|
45
45
|
attributes: PersonaListAllWebhooks_WebhookAttributesSchema.nullable().optional()
|
|
46
|
-
}).describe("Webhook data object returned by Persona API.");
|
|
46
|
+
}).passthrough().describe("Webhook data object returned by Persona API.");
|
|
47
47
|
const PersonaListAllWebhooks_PaginationLinksSchema = z.object({
|
|
48
48
|
next: z.string().describe("URL pointing to the next page of data, or null if on the last page.").nullable().optional(),
|
|
49
49
|
prev: z.string().describe("URL pointing to the previous page of data, or null if on the first page.").nullable().optional()
|
|
50
|
-
}).describe("Pagination links for navigating through results.");
|
|
50
|
+
}).passthrough().describe("Pagination links for navigating through results.");
|
|
51
51
|
const personaListAllWebhooks = action("PERSONA_LIST_ALL_WEBHOOKS", {
|
|
52
52
|
slug: "persona-list-all-webhooks",
|
|
53
53
|
name: "List All Webhooks",
|
|
@@ -56,7 +56,7 @@ const personaListAllWebhooks = action("PERSONA_LIST_ALL_WEBHOOKS", {
|
|
|
56
56
|
output: z.object({
|
|
57
57
|
data: z.array(PersonaListAllWebhooks_WebhookDataSchema).describe("An array of webhook objects."),
|
|
58
58
|
links: PersonaListAllWebhooks_PaginationLinksSchema.nullable()
|
|
59
|
-
}).describe("Response model returned after listing all webhooks in Persona.")
|
|
59
|
+
}).passthrough().describe("Response model returned after listing all webhooks in Persona.")
|
|
60
60
|
});
|
|
61
61
|
//#endregion
|
|
62
62
|
export { personaListAllWebhooks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-webhooks.mjs","names":[],"sources":["../../src/actions/list-all-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWebhooksInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"fields.webhook\": z.string().describe(\"Comma-separated list of attributes to include for webhook resources.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for listing all webhooks in Persona.\");\nconst PersonaListAllWebhooks_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(z.string()).describe(\"List of secret keys 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.
|
|
1
|
+
{"version":3,"file":"list-all-webhooks.mjs","names":[],"sources":["../../src/actions/list-all-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWebhooksInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"fields.webhook\": z.string().describe(\"Comma-separated list of attributes to include for webhook resources.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for listing all webhooks in Persona.\");\nconst PersonaListAllWebhooks_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(z.string()).describe(\"List of secret keys 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 \"custom-http-headers\": z.record(z.string(), z.unknown()).describe(\"Custom HTTP headers included in webhook requests.\").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 webhook object.\");\nconst PersonaListAllWebhooks_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: PersonaListAllWebhooks_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data object returned by Persona API.\");\nconst PersonaListAllWebhooks_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllWebhooksOutput = z.object({\n data: z.array(PersonaListAllWebhooks_WebhookDataSchema).describe(\"An array of webhook objects.\"),\n links: PersonaListAllWebhooks_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model returned after listing all webhooks in Persona.\");\n\nexport const personaListAllWebhooks = action(\"PERSONA_LIST_ALL_WEBHOOKS\", {\n slug: \"persona-list-all-webhooks\",\n name: \"List All Webhooks\",\n description: \"Tool to list all webhooks in Persona. Use when you need to retrieve a paginated list of webhooks configured for the account.\",\n input: PersonaListAllWebhooksInput,\n output: PersonaListAllWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACvH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,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SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B;EAC/F,OAAO,6CAA6C,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -27,35 +27,35 @@ const PersonaListAllWorkflowRunsInput = zod.z.object({
|
|
|
27
27
|
"fields.workflow-run": zod.z.string().describe("Comma-separated list of workflow-run attributes to include in the response.").optional(),
|
|
28
28
|
"filter.session-token": zod.z.string().describe("Filter workflow runs by session token.").optional()
|
|
29
29
|
}).describe("Request model for listing all workflow runs in Persona.");
|
|
30
|
-
const PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = zod.z.object({ "session-token": zod.z.string().describe("Session token for the workflow run.").nullable().optional() }).describe("Meta information of a workflow run.");
|
|
30
|
+
const PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = zod.z.object({ "session-token": zod.z.string().describe("Session token for the workflow run.").nullable().optional() }).passthrough().describe("Meta information of a workflow run.");
|
|
31
31
|
const PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema = zod.z.object({
|
|
32
32
|
status: zod.z.string().describe("Status of the workflow run.").nullable().optional(),
|
|
33
33
|
"created-at": zod.z.string().describe("Timestamp when the workflow run was created.").nullable().optional(),
|
|
34
34
|
"expired-at": zod.z.string().describe("Timestamp when the workflow run expired.").nullable().optional(),
|
|
35
35
|
"updated-at": zod.z.string().describe("Timestamp when the workflow run was last updated.").nullable().optional(),
|
|
36
36
|
"completed-at": zod.z.string().describe("Timestamp when the workflow run was completed.").nullable().optional()
|
|
37
|
-
}).describe("Attributes of a workflow run.");
|
|
37
|
+
}).passthrough().describe("Attributes of a workflow run.");
|
|
38
38
|
const PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema = zod.z.object({
|
|
39
|
-
account: zod.z.
|
|
40
|
-
inquiry: zod.z.
|
|
41
|
-
workflow: zod.z.
|
|
42
|
-
}).describe("Relationships of a workflow run.");
|
|
39
|
+
account: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship to the account.").nullable().optional(),
|
|
40
|
+
inquiry: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship to the inquiry.").nullable().optional(),
|
|
41
|
+
workflow: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship to the workflow.").nullable().optional()
|
|
42
|
+
}).passthrough().describe("Relationships of a workflow run.");
|
|
43
43
|
const PersonaListAllWorkflowRuns_WorkflowRunDataSchema = zod.z.object({
|
|
44
44
|
id: zod.z.string().describe("Unique identifier for the workflow run.").nullable(),
|
|
45
45
|
meta: PersonaListAllWorkflowRuns_WorkflowRunMetaSchema.nullable().optional(),
|
|
46
46
|
type: zod.z.string().describe("Resource type, typically 'workflow-run'.").nullable(),
|
|
47
47
|
attributes: PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema.nullable().optional(),
|
|
48
48
|
relationships: PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema.nullable().optional()
|
|
49
|
-
}).describe("A Workflow Run object.");
|
|
49
|
+
}).passthrough().describe("A Workflow Run object.");
|
|
50
50
|
const PersonaListAllWorkflowRuns_PaginationLinksSchema = zod.z.object({
|
|
51
51
|
next: zod.z.string().describe("URL for the next page of results. Null if no more pages.").nullable().optional(),
|
|
52
52
|
prev: zod.z.string().describe("URL for the previous page of results. Null if on first page.").nullable().optional()
|
|
53
|
-
}).describe("Pagination links for navigating through results.");
|
|
53
|
+
}).passthrough().describe("Pagination links for navigating through results.");
|
|
54
54
|
const PersonaListAllWorkflowRunsOutput = zod.z.object({
|
|
55
55
|
data: zod.z.array(PersonaListAllWorkflowRuns_WorkflowRunDataSchema).describe("Array of workflow run objects."),
|
|
56
56
|
links: PersonaListAllWorkflowRuns_PaginationLinksSchema.nullable(),
|
|
57
|
-
included: zod.z.array(zod.z.
|
|
58
|
-
}).describe("Response model for listing all workflow runs.");
|
|
57
|
+
included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Related resources included in the response. Excluded by default.").nullable().optional()
|
|
58
|
+
}).passthrough().describe("Response model for listing all workflow runs.");
|
|
59
59
|
const personaListAllWorkflowRuns = require_action.action("PERSONA_LIST_ALL_WORKFLOW_RUNS", {
|
|
60
60
|
slug: "persona-list-all-workflow-runs",
|
|
61
61
|
name: "List all Workflow Runs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-workflow-runs.cjs","names":["z","action"],"sources":["../../src/actions/list-all-workflow-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWorkflowRunsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of items to return per page. Defaults to API default if not specified.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination to fetch records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination to fetch records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n \"filter.account-id\": z.string().describe(\"Filter workflow runs by account ID.\").optional(),\n \"filter.inquiry-id\": z.string().describe(\"Filter workflow runs by inquiry ID.\").optional(),\n \"filter.workflow-id\": z.string().describe(\"Filter workflow runs by workflow ID.\").optional(),\n \"fields.workflow-run\": z.string().describe(\"Comma-separated list of workflow-run attributes to include in the response.\").optional(),\n \"filter.session-token\": z.string().describe(\"Filter workflow runs by session token.\").optional(),\n}).describe(\"Request model for listing all workflow runs in Persona.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = z.object({\n \"session-token\": z.string().describe(\"Session token for the workflow run.\").nullable().optional(),\n}).describe(\"Meta information of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema = z.object({\n status: z.string().describe(\"Status of the workflow run.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the workflow run was created.\").nullable().optional(),\n \"expired-at\": z.string().describe(\"Timestamp when the workflow run expired.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the workflow run was last updated.\").nullable().optional(),\n \"completed-at\": z.string().describe(\"Timestamp when the workflow run was completed.\").nullable().optional(),\n}).describe(\"Attributes of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema = z.object({\n account: z.
|
|
1
|
+
{"version":3,"file":"list-all-workflow-runs.cjs","names":["z","action"],"sources":["../../src/actions/list-all-workflow-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWorkflowRunsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of items to return per page. Defaults to API default if not specified.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination to fetch records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination to fetch records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n \"filter.account-id\": z.string().describe(\"Filter workflow runs by account ID.\").optional(),\n \"filter.inquiry-id\": z.string().describe(\"Filter workflow runs by inquiry ID.\").optional(),\n \"filter.workflow-id\": z.string().describe(\"Filter workflow runs by workflow ID.\").optional(),\n \"fields.workflow-run\": z.string().describe(\"Comma-separated list of workflow-run attributes to include in the response.\").optional(),\n \"filter.session-token\": z.string().describe(\"Filter workflow runs by session token.\").optional(),\n}).describe(\"Request model for listing all workflow runs in Persona.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = z.object({\n \"session-token\": z.string().describe(\"Session token for the workflow run.\").nullable().optional(),\n}).passthrough().describe(\"Meta information of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema = z.object({\n status: z.string().describe(\"Status of the workflow run.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the workflow run was created.\").nullable().optional(),\n \"expired-at\": z.string().describe(\"Timestamp when the workflow run expired.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the workflow run was last updated.\").nullable().optional(),\n \"completed-at\": z.string().describe(\"Timestamp when the workflow run was completed.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the inquiry.\").nullable().optional(),\n workflow: z.record(z.string(), z.unknown()).describe(\"Relationship to the workflow.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workflow run.\").nullable(),\n meta: PersonaListAllWorkflowRuns_WorkflowRunMetaSchema.nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'workflow-run'.\").nullable(),\n attributes: PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema.nullable().optional(),\n relationships: PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"A Workflow Run object.\");\nconst PersonaListAllWorkflowRuns_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if no more pages.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results. Null if on first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllWorkflowRunsOutput = z.object({\n data: z.array(PersonaListAllWorkflowRuns_WorkflowRunDataSchema).describe(\"Array of workflow run objects.\"),\n links: PersonaListAllWorkflowRuns_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all workflow runs.\");\n\nexport const personaListAllWorkflowRuns = action(\"PERSONA_LIST_ALL_WORKFLOW_RUNS\", {\n slug: \"persona-list-all-workflow-runs\",\n name: \"List all Workflow Runs\",\n description: \"Tool to list all workflow runs in Persona. Use when you need to retrieve workflow runs with optional filtering by workflow ID, inquiry ID, account ID, or session token. Supports pagination for large result sets.\",\n input: PersonaListAllWorkflowRunsInput,\n output: PersonaListAllWorkflowRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,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,SAAS,CAAC,CAAC,SAAS;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gCAAgC;CACzG,OAAO,iDAAiD,SAAS;CACjE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -32,7 +32,7 @@ declare const PersonaListAllWorkflowRunsOutput: z.ZodObject<{
|
|
|
32
32
|
id: z.ZodNullable<z.ZodString>;
|
|
33
33
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
"session-token": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
36
|
type: z.ZodNullable<z.ZodString>;
|
|
37
37
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -40,19 +40,19 @@ declare const PersonaListAllWorkflowRunsOutput: z.ZodObject<{
|
|
|
40
40
|
"expired-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
"completed-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
|
-
account: z.ZodOptional<z.ZodNullable<z.
|
|
46
|
-
inquiry: z.ZodOptional<z.ZodNullable<z.
|
|
47
|
-
workflow: z.ZodOptional<z.ZodNullable<z.
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
45
|
+
account: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
|
+
inquiry: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
47
|
+
workflow: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
50
|
links: z.ZodNullable<z.ZodObject<{
|
|
51
51
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
54
|
-
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
55
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const personaListAllWorkflowRuns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
"page.size"?: number | undefined;
|
|
58
58
|
"page.after"?: string | undefined;
|
|
@@ -32,7 +32,7 @@ declare const PersonaListAllWorkflowRunsOutput: z.ZodObject<{
|
|
|
32
32
|
id: z.ZodNullable<z.ZodString>;
|
|
33
33
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
"session-token": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
36
|
type: z.ZodNullable<z.ZodString>;
|
|
37
37
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -40,19 +40,19 @@ declare const PersonaListAllWorkflowRunsOutput: z.ZodObject<{
|
|
|
40
40
|
"expired-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
"completed-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
|
-
account: z.ZodOptional<z.ZodNullable<z.
|
|
46
|
-
inquiry: z.ZodOptional<z.ZodNullable<z.
|
|
47
|
-
workflow: z.ZodOptional<z.ZodNullable<z.
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
45
|
+
account: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
|
+
inquiry: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
47
|
+
workflow: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
50
|
links: z.ZodNullable<z.ZodObject<{
|
|
51
51
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
54
|
-
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
55
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const personaListAllWorkflowRuns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
"page.size"?: number | undefined;
|
|
58
58
|
"page.after"?: string | undefined;
|
|
@@ -27,30 +27,30 @@ const PersonaListAllWorkflowRunsInput = z.object({
|
|
|
27
27
|
"fields.workflow-run": z.string().describe("Comma-separated list of workflow-run attributes to include in the response.").optional(),
|
|
28
28
|
"filter.session-token": z.string().describe("Filter workflow runs by session token.").optional()
|
|
29
29
|
}).describe("Request model for listing all workflow runs in Persona.");
|
|
30
|
-
const PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = z.object({ "session-token": z.string().describe("Session token for the workflow run.").nullable().optional() }).describe("Meta information of a workflow run.");
|
|
30
|
+
const PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = z.object({ "session-token": z.string().describe("Session token for the workflow run.").nullable().optional() }).passthrough().describe("Meta information of a workflow run.");
|
|
31
31
|
const PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema = z.object({
|
|
32
32
|
status: z.string().describe("Status of the workflow run.").nullable().optional(),
|
|
33
33
|
"created-at": z.string().describe("Timestamp when the workflow run was created.").nullable().optional(),
|
|
34
34
|
"expired-at": z.string().describe("Timestamp when the workflow run expired.").nullable().optional(),
|
|
35
35
|
"updated-at": z.string().describe("Timestamp when the workflow run was last updated.").nullable().optional(),
|
|
36
36
|
"completed-at": z.string().describe("Timestamp when the workflow run was completed.").nullable().optional()
|
|
37
|
-
}).describe("Attributes of a workflow run.");
|
|
37
|
+
}).passthrough().describe("Attributes of a workflow run.");
|
|
38
38
|
const PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema = z.object({
|
|
39
|
-
account: z.
|
|
40
|
-
inquiry: z.
|
|
41
|
-
workflow: z.
|
|
42
|
-
}).describe("Relationships of a workflow run.");
|
|
39
|
+
account: z.record(z.string(), z.unknown()).describe("Relationship to the account.").nullable().optional(),
|
|
40
|
+
inquiry: z.record(z.string(), z.unknown()).describe("Relationship to the inquiry.").nullable().optional(),
|
|
41
|
+
workflow: z.record(z.string(), z.unknown()).describe("Relationship to the workflow.").nullable().optional()
|
|
42
|
+
}).passthrough().describe("Relationships of a workflow run.");
|
|
43
43
|
const PersonaListAllWorkflowRuns_WorkflowRunDataSchema = z.object({
|
|
44
44
|
id: z.string().describe("Unique identifier for the workflow run.").nullable(),
|
|
45
45
|
meta: PersonaListAllWorkflowRuns_WorkflowRunMetaSchema.nullable().optional(),
|
|
46
46
|
type: z.string().describe("Resource type, typically 'workflow-run'.").nullable(),
|
|
47
47
|
attributes: PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema.nullable().optional(),
|
|
48
48
|
relationships: PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema.nullable().optional()
|
|
49
|
-
}).describe("A Workflow Run object.");
|
|
49
|
+
}).passthrough().describe("A Workflow Run object.");
|
|
50
50
|
const PersonaListAllWorkflowRuns_PaginationLinksSchema = z.object({
|
|
51
51
|
next: z.string().describe("URL for the next page of results. Null if no more pages.").nullable().optional(),
|
|
52
52
|
prev: z.string().describe("URL for the previous page of results. Null if on first page.").nullable().optional()
|
|
53
|
-
}).describe("Pagination links for navigating through results.");
|
|
53
|
+
}).passthrough().describe("Pagination links for navigating through results.");
|
|
54
54
|
const personaListAllWorkflowRuns = action("PERSONA_LIST_ALL_WORKFLOW_RUNS", {
|
|
55
55
|
slug: "persona-list-all-workflow-runs",
|
|
56
56
|
name: "List all Workflow Runs",
|
|
@@ -59,8 +59,8 @@ const personaListAllWorkflowRuns = action("PERSONA_LIST_ALL_WORKFLOW_RUNS", {
|
|
|
59
59
|
output: z.object({
|
|
60
60
|
data: z.array(PersonaListAllWorkflowRuns_WorkflowRunDataSchema).describe("Array of workflow run objects."),
|
|
61
61
|
links: PersonaListAllWorkflowRuns_PaginationLinksSchema.nullable(),
|
|
62
|
-
included: z.array(z.
|
|
63
|
-
}).describe("Response model for listing all workflow runs.")
|
|
62
|
+
included: z.array(z.record(z.string(), z.unknown())).describe("Related resources included in the response. Excluded by default.").nullable().optional()
|
|
63
|
+
}).passthrough().describe("Response model for listing all workflow runs.")
|
|
64
64
|
});
|
|
65
65
|
//#endregion
|
|
66
66
|
export { personaListAllWorkflowRuns };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-workflow-runs.mjs","names":[],"sources":["../../src/actions/list-all-workflow-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWorkflowRunsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of items to return per page. Defaults to API default if not specified.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination to fetch records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination to fetch records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n \"filter.account-id\": z.string().describe(\"Filter workflow runs by account ID.\").optional(),\n \"filter.inquiry-id\": z.string().describe(\"Filter workflow runs by inquiry ID.\").optional(),\n \"filter.workflow-id\": z.string().describe(\"Filter workflow runs by workflow ID.\").optional(),\n \"fields.workflow-run\": z.string().describe(\"Comma-separated list of workflow-run attributes to include in the response.\").optional(),\n \"filter.session-token\": z.string().describe(\"Filter workflow runs by session token.\").optional(),\n}).describe(\"Request model for listing all workflow runs in Persona.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = z.object({\n \"session-token\": z.string().describe(\"Session token for the workflow run.\").nullable().optional(),\n}).describe(\"Meta information of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema = z.object({\n status: z.string().describe(\"Status of the workflow run.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the workflow run was created.\").nullable().optional(),\n \"expired-at\": z.string().describe(\"Timestamp when the workflow run expired.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the workflow run was last updated.\").nullable().optional(),\n \"completed-at\": z.string().describe(\"Timestamp when the workflow run was completed.\").nullable().optional(),\n}).describe(\"Attributes of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema = z.object({\n account: z.
|
|
1
|
+
{"version":3,"file":"list-all-workflow-runs.mjs","names":[],"sources":["../../src/actions/list-all-workflow-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWorkflowRunsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of items to return per page. Defaults to API default if not specified.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination to fetch records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination to fetch records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").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(\"Server API version.\").optional(),\n \"filter.account-id\": z.string().describe(\"Filter workflow runs by account ID.\").optional(),\n \"filter.inquiry-id\": z.string().describe(\"Filter workflow runs by inquiry ID.\").optional(),\n \"filter.workflow-id\": z.string().describe(\"Filter workflow runs by workflow ID.\").optional(),\n \"fields.workflow-run\": z.string().describe(\"Comma-separated list of workflow-run attributes to include in the response.\").optional(),\n \"filter.session-token\": z.string().describe(\"Filter workflow runs by session token.\").optional(),\n}).describe(\"Request model for listing all workflow runs in Persona.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = z.object({\n \"session-token\": z.string().describe(\"Session token for the workflow run.\").nullable().optional(),\n}).passthrough().describe(\"Meta information of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema = z.object({\n status: z.string().describe(\"Status of the workflow run.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the workflow run was created.\").nullable().optional(),\n \"expired-at\": z.string().describe(\"Timestamp when the workflow run expired.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the workflow run was last updated.\").nullable().optional(),\n \"completed-at\": z.string().describe(\"Timestamp when the workflow run was completed.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the inquiry.\").nullable().optional(),\n workflow: z.record(z.string(), z.unknown()).describe(\"Relationship to the workflow.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workflow run.\").nullable(),\n meta: PersonaListAllWorkflowRuns_WorkflowRunMetaSchema.nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'workflow-run'.\").nullable(),\n attributes: PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema.nullable().optional(),\n relationships: PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"A Workflow Run object.\");\nconst PersonaListAllWorkflowRuns_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if no more pages.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results. Null if on first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllWorkflowRunsOutput = z.object({\n data: z.array(PersonaListAllWorkflowRuns_WorkflowRunDataSchema).describe(\"Array of workflow run objects.\"),\n links: PersonaListAllWorkflowRuns_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all workflow runs.\");\n\nexport const personaListAllWorkflowRuns = action(\"PERSONA_LIST_ALL_WORKFLOW_RUNS\", {\n slug: \"persona-list-all-workflow-runs\",\n name: \"List all Workflow Runs\",\n description: \"Tool to list all workflow runs in Persona. Use when you need to retrieve workflow runs with optional filtering by workflow ID, inquiry ID, account ID, or session token. Supports pagination for large result sets.\",\n input: PersonaListAllWorkflowRunsInput,\n output: PersonaListAllWorkflowRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAA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AAM,gDAAgD,CAAC,CAAC,SAAS,gCAAgC;EACzG,OAAO,iDAAiD,SAAS;EACjE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/redact-an-account.ts
|
|
4
4
|
const PersonaRedactAnAccountInput = 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. Use to customize which attributes will be serialized. Format: {'resource_type': 'field1,field2'}.").optional(),
|
|
6
6
|
include: zod.z.string().describe("A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.").optional(),
|
|
7
7
|
account_id: zod.z.string().describe("The ID of the account to redact. Must be a valid account ID starting with 'act_'."),
|
|
8
8
|
key_inflection: zod.z.enum([
|
|
@@ -24,31 +24,31 @@ const PersonaRedactAnAccountInput = zod.z.object({
|
|
|
24
24
|
}).describe("Request model for redacting an account in Persona.");
|
|
25
25
|
const PersonaRedactAnAccount_ResponseAccountAttributesSchema = zod.z.object({
|
|
26
26
|
tags: zod.z.array(zod.z.string()).describe("Tags associated with the account.").nullable().optional(),
|
|
27
|
-
fields: zod.z.
|
|
27
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields for the account. This is not key inflected.").nullable().optional(),
|
|
28
28
|
"created-at": zod.z.string().describe("ISO 8601 timestamp when the account was created.").nullable().optional(),
|
|
29
29
|
"updated-at": zod.z.string().describe("ISO 8601 timestamp when the account was last updated.").nullable().optional(),
|
|
30
30
|
"redacted-at": zod.z.string().describe("ISO 8601 timestamp when the account was redacted.").nullable().optional(),
|
|
31
31
|
"reference-id": zod.z.string().describe("External reference ID for the account.").nullable().optional(),
|
|
32
32
|
"account-status": zod.z.string().describe("Status of the account.").nullable().optional(),
|
|
33
33
|
"account-type-name": zod.z.string().describe("Name of the account type.").nullable().optional()
|
|
34
|
-
}).describe("Attributes returned in the account response.");
|
|
35
|
-
const PersonaRedactAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.
|
|
36
|
-
const PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
|
|
34
|
+
}).passthrough().describe("Attributes returned in the account response.");
|
|
35
|
+
const PersonaRedactAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
|
|
36
|
+
const PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
|
|
37
37
|
const PersonaRedactAnAccount_ResponseAccountDataSchema = zod.z.object({
|
|
38
38
|
id: zod.z.string().describe("Unique identifier for the account.").nullable(),
|
|
39
39
|
type: zod.z.string().describe("Resource type, typically 'account'.").nullable(),
|
|
40
40
|
attributes: PersonaRedactAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
|
|
41
41
|
relationships: PersonaRedactAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
|
|
42
|
-
}).describe("Account data returned in the response.");
|
|
42
|
+
}).passthrough().describe("Account data returned in the response.");
|
|
43
43
|
const PersonaRedactAnAccount_IncludedResourceSchema = zod.z.object({
|
|
44
44
|
id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
|
|
45
45
|
type: zod.z.string().describe("Resource type.").nullable(),
|
|
46
|
-
attributes: zod.z.
|
|
47
|
-
}).describe("Included resources in the response.");
|
|
46
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the included resource.").nullable().optional()
|
|
47
|
+
}).passthrough().describe("Included resources in the response.");
|
|
48
48
|
const PersonaRedactAnAccountOutput = zod.z.object({
|
|
49
49
|
data: PersonaRedactAnAccount_ResponseAccountDataSchema.nullable().optional(),
|
|
50
50
|
included: zod.z.array(PersonaRedactAnAccount_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
|
|
51
|
-
}).describe("Response model returned after redacting an account in Persona.");
|
|
51
|
+
}).passthrough().describe("Response model returned after redacting an account in Persona.");
|
|
52
52
|
const personaRedactAnAccount = require_action.action("PERSONA_REDACT_AN_ACCOUNT", {
|
|
53
53
|
slug: "persona-redact-an-account",
|
|
54
54
|
name: "Redact an Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redact-an-account.cjs","names":["z","action"],"sources":["../../src/actions/redact-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRedactAnAccountInput = z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"redact-an-account.cjs","names":["z","action"],"sources":["../../src/actions/redact-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRedactAnAccountInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. Use to customize which attributes will be serialized. Format: {'resource_type': 'field1,field2'}.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"The ID of the account to redact. Must be a valid account ID starting with 'act_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for retries to avoid duplicate operations.\").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(\"Server API version.\").optional(),\n}).describe(\"Request model for redacting an account in Persona.\");\nconst PersonaRedactAnAccount_ResponseAccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the account was redacted.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).passthrough().describe(\"Attributes returned in the account response.\");\nconst PersonaRedactAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRedactAnAccount_ResponseAccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaRedactAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaRedactAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRedactAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaRedactAnAccountOutput = z.object({\n data: PersonaRedactAnAccount_ResponseAccountDataSchema.nullable().optional(),\n included: z.array(PersonaRedactAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after redacting an account in Persona.\");\n\nexport const personaRedactAnAccount = action(\"PERSONA_REDACT_AN_ACCOUNT\", {\n slug: \"persona-redact-an-account\",\n name: \"Redact an Account\",\n description: \"Tool to permanently redact an account in Persona. Use when you need to delete sensitive personal information from an account to comply with privacy regulations or user requests. This operation is irreversible.\",\n input: PersonaRedactAnAccountInput,\n output: PersonaRedactAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACnO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CACnH,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAChJ,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EA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
|
declare const PersonaRedactAnAccountInput: 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
|
account_id: z.ZodString;
|
|
8
8
|
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28,29 +28,29 @@ declare const PersonaRedactAnAccountOutput: z.ZodObject<{
|
|
|
28
28
|
type: z.ZodNullable<z.ZodString>;
|
|
29
29
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
31
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
31
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
32
|
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
39
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
"account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
41
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
46
|
id: z.ZodNullable<z.ZodString>;
|
|
47
47
|
type: z.ZodNullable<z.ZodString>;
|
|
48
|
-
attributes: z.ZodOptional<z.ZodNullable<z.
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
48
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
|
+
}, z.core.$loose>>>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const personaRedactAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
account_id: string;
|
|
53
|
-
fields?: Record<string,
|
|
53
|
+
fields?: Record<string, unknown> | undefined;
|
|
54
54
|
include?: string | undefined;
|
|
55
55
|
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
56
56
|
idempotency_key?: string | undefined;
|