@keystrokehq/persona 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-account.cjs +1 -0
- package/dist/actions/add-tag-to-account.cjs.map +1 -1
- package/dist/actions/add-tag-to-account.d.cts +3 -23
- package/dist/actions/add-tag-to-account.d.cts.map +1 -1
- package/dist/actions/add-tag-to-account.d.mts +3 -23
- package/dist/actions/add-tag-to-account.d.mts.map +1 -1
- package/dist/actions/add-tag-to-account.mjs +1 -0
- package/dist/actions/add-tag-to-account.mjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +1 -0
- 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 -18
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +3 -18
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +1 -0
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.cjs +1 -0
- package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.cts +3 -20
- package/dist/actions/archive-a-country-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.mts +3 -20
- package/dist/actions/archive-a-country-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-country-list-item.mjs +1 -0
- package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.cjs +1 -0
- package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.cts +3 -18
- package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.mts +3 -18
- package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.mjs +1 -0
- package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.cjs +1 -0
- 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 +3 -18
- package/dist/actions/archive-a-government-id-number-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.d.mts +3 -18
- package/dist/actions/archive-a-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.mjs +1 -0
- package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.cjs +1 -0
- package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.cts +3 -15
- package/dist/actions/archive-a-name-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.mts +3 -15
- package/dist/actions/archive-a-name-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-name-list-item.mjs +1 -0
- package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-webhook.cjs +1 -0
- package/dist/actions/archive-a-webhook.cjs.map +1 -1
- package/dist/actions/archive-a-webhook.d.cts +3 -20
- package/dist/actions/archive-a-webhook.d.cts.map +1 -1
- package/dist/actions/archive-a-webhook.d.mts +3 -20
- package/dist/actions/archive-a-webhook.d.mts.map +1 -1
- package/dist/actions/archive-a-webhook.mjs +1 -0
- package/dist/actions/archive-a-webhook.mjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.cjs +1 -0
- package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.cts +3 -20
- package/dist/actions/archive-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.mts +3 -20
- package/dist/actions/archive-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/archive-email-address-list-item.mjs +1 -0
- package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.cjs +1 -0
- package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.d.cts +3 -18
- package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -1
- package/dist/actions/archive-ip-address-list-item.d.mts +3 -18
- package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/archive-ip-address-list-item.mjs +1 -0
- package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.cjs +1 -0
- package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.cts +3 -18
- package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.mts +3 -18
- package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/archive-phone-number-list-item.mjs +1 -0
- package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-string-list-item.cjs +1 -0
- package/dist/actions/archive-string-list-item.cjs.map +1 -1
- package/dist/actions/archive-string-list-item.d.cts +3 -20
- package/dist/actions/archive-string-list-item.d.cts.map +1 -1
- package/dist/actions/archive-string-list-item.d.mts +3 -20
- package/dist/actions/archive-string-list-item.d.mts.map +1 -1
- package/dist/actions/archive-string-list-item.mjs +1 -0
- package/dist/actions/archive-string-list-item.mjs.map +1 -1
- package/dist/actions/clone-webhook.cjs +1 -0
- package/dist/actions/clone-webhook.cjs.map +1 -1
- package/dist/actions/clone-webhook.d.cts +3 -19
- package/dist/actions/clone-webhook.d.cts.map +1 -1
- package/dist/actions/clone-webhook.d.mts +3 -19
- package/dist/actions/clone-webhook.d.mts.map +1 -1
- package/dist/actions/clone-webhook.mjs +1 -0
- package/dist/actions/clone-webhook.mjs.map +1 -1
- package/dist/actions/consolidate-into-account.cjs +1 -0
- package/dist/actions/consolidate-into-account.cjs.map +1 -1
- package/dist/actions/consolidate-into-account.d.cts +3 -20
- package/dist/actions/consolidate-into-account.d.cts.map +1 -1
- package/dist/actions/consolidate-into-account.d.mts +3 -20
- package/dist/actions/consolidate-into-account.d.mts.map +1 -1
- package/dist/actions/consolidate-into-account.mjs +1 -0
- package/dist/actions/consolidate-into-account.mjs.map +1 -1
- package/dist/actions/create-an-account.cjs +1 -0
- package/dist/actions/create-an-account.cjs.map +1 -1
- package/dist/actions/create-an-account.d.cts +3 -46
- package/dist/actions/create-an-account.d.cts.map +1 -1
- package/dist/actions/create-an-account.d.mts +3 -46
- package/dist/actions/create-an-account.d.mts.map +1 -1
- package/dist/actions/create-an-account.mjs +1 -0
- package/dist/actions/create-an-account.mjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.cjs +1 -0
- package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.d.cts +3 -19
- package/dist/actions/create-an-ip-address-list-item.d.cts.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.d.mts +3 -19
- package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.mjs +1 -0
- package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/create-country-list-item.cjs +1 -0
- package/dist/actions/create-country-list-item.cjs.map +1 -1
- package/dist/actions/create-country-list-item.d.cts +3 -25
- package/dist/actions/create-country-list-item.d.cts.map +1 -1
- package/dist/actions/create-country-list-item.d.mts +3 -25
- package/dist/actions/create-country-list-item.d.mts.map +1 -1
- package/dist/actions/create-country-list-item.mjs +1 -0
- package/dist/actions/create-country-list-item.mjs.map +1 -1
- package/dist/actions/create-document-generic.cjs +1 -0
- package/dist/actions/create-document-generic.cjs.map +1 -1
- package/dist/actions/create-document-generic.d.cts +3 -26
- package/dist/actions/create-document-generic.d.cts.map +1 -1
- package/dist/actions/create-document-generic.d.mts +3 -26
- package/dist/actions/create-document-generic.d.mts.map +1 -1
- package/dist/actions/create-document-generic.mjs +1 -0
- package/dist/actions/create-document-generic.mjs.map +1 -1
- package/dist/actions/create-email-address-list-item.cjs +1 -0
- package/dist/actions/create-email-address-list-item.cjs.map +1 -1
- package/dist/actions/create-email-address-list-item.d.cts +3 -20
- package/dist/actions/create-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/create-email-address-list-item.d.mts +3 -20
- package/dist/actions/create-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/create-email-address-list-item.mjs +1 -0
- package/dist/actions/create-email-address-list-item.mjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.cjs +1 -0
- package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.d.cts +3 -21
- package/dist/actions/create-government-id-number-list-item.d.cts.map +1 -1
- package/dist/actions/create-government-id-number-list-item.d.mts +3 -21
- package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/create-government-id-number-list-item.mjs +1 -0
- package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/create-name-list-item.cjs +1 -0
- package/dist/actions/create-name-list-item.cjs.map +1 -1
- package/dist/actions/create-name-list-item.d.cts +3 -24
- package/dist/actions/create-name-list-item.d.cts.map +1 -1
- package/dist/actions/create-name-list-item.d.mts +3 -24
- package/dist/actions/create-name-list-item.d.mts.map +1 -1
- package/dist/actions/create-name-list-item.mjs +1 -0
- package/dist/actions/create-name-list-item.mjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.cjs +1 -0
- package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.cts +3 -23
- package/dist/actions/create-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.mts +3 -23
- package/dist/actions/create-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/create-phone-number-list-item.mjs +1 -0
- package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/create-string-list-item.cjs +1 -0
- package/dist/actions/create-string-list-item.cjs.map +1 -1
- package/dist/actions/create-string-list-item.d.cts +3 -19
- package/dist/actions/create-string-list-item.d.cts.map +1 -1
- package/dist/actions/create-string-list-item.d.mts +3 -19
- package/dist/actions/create-string-list-item.d.mts.map +1 -1
- package/dist/actions/create-string-list-item.mjs +1 -0
- package/dist/actions/create-string-list-item.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -29
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -29
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/disable-webhook.cjs +1 -0
- package/dist/actions/disable-webhook.cjs.map +1 -1
- package/dist/actions/disable-webhook.d.cts +3 -20
- package/dist/actions/disable-webhook.d.cts.map +1 -1
- package/dist/actions/disable-webhook.d.mts +3 -20
- package/dist/actions/disable-webhook.d.mts.map +1 -1
- package/dist/actions/disable-webhook.mjs +1 -0
- package/dist/actions/disable-webhook.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +1 -0
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +3 -19
- package/dist/actions/enable-webhook.d.cts.map +1 -1
- package/dist/actions/enable-webhook.d.mts +3 -19
- package/dist/actions/enable-webhook.d.mts.map +1 -1
- package/dist/actions/enable-webhook.mjs +1 -0
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.cjs +1 -0
- package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.cts +3 -22
- package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.mts +3 -22
- package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -1
- package/dist/actions/expire-inquiry-sessions.mjs +1 -0
- package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/import-email-address-lists.cjs +1 -0
- package/dist/actions/import-email-address-lists.cjs.map +1 -1
- package/dist/actions/import-email-address-lists.d.cts +3 -20
- package/dist/actions/import-email-address-lists.d.cts.map +1 -1
- package/dist/actions/import-email-address-lists.d.mts +3 -20
- package/dist/actions/import-email-address-lists.d.mts.map +1 -1
- package/dist/actions/import-email-address-lists.mjs +1 -0
- package/dist/actions/import-email-address-lists.mjs.map +1 -1
- package/dist/actions/import-ip-address-lists.cjs +1 -0
- package/dist/actions/import-ip-address-lists.cjs.map +1 -1
- package/dist/actions/import-ip-address-lists.d.cts +3 -26
- package/dist/actions/import-ip-address-lists.d.cts.map +1 -1
- package/dist/actions/import-ip-address-lists.d.mts +3 -26
- package/dist/actions/import-ip-address-lists.d.mts.map +1 -1
- package/dist/actions/import-ip-address-lists.mjs +1 -0
- package/dist/actions/import-ip-address-lists.mjs.map +1 -1
- package/dist/actions/import-name-lists.cjs +1 -0
- package/dist/actions/import-name-lists.cjs.map +1 -1
- package/dist/actions/import-name-lists.d.cts +3 -23
- package/dist/actions/import-name-lists.d.cts.map +1 -1
- package/dist/actions/import-name-lists.d.mts +3 -23
- package/dist/actions/import-name-lists.d.mts.map +1 -1
- package/dist/actions/import-name-lists.mjs +1 -0
- package/dist/actions/import-name-lists.mjs.map +1 -1
- package/dist/actions/import-phone-number-lists.cjs +1 -0
- package/dist/actions/import-phone-number-lists.cjs.map +1 -1
- package/dist/actions/import-phone-number-lists.d.cts +3 -26
- package/dist/actions/import-phone-number-lists.d.cts.map +1 -1
- package/dist/actions/import-phone-number-lists.d.mts +3 -26
- package/dist/actions/import-phone-number-lists.d.mts.map +1 -1
- package/dist/actions/import-phone-number-lists.mjs +1 -0
- package/dist/actions/import-phone-number-lists.mjs.map +1 -1
- package/dist/actions/list-all-accounts.cjs +1 -0
- package/dist/actions/list-all-accounts.cjs.map +1 -1
- package/dist/actions/list-all-accounts.d.cts +3 -23
- package/dist/actions/list-all-accounts.d.cts.map +1 -1
- package/dist/actions/list-all-accounts.d.mts +3 -23
- package/dist/actions/list-all-accounts.d.mts.map +1 -1
- package/dist/actions/list-all-accounts.mjs +1 -0
- package/dist/actions/list-all-accounts.mjs.map +1 -1
- package/dist/actions/list-all-api-logs.cjs +1 -0
- package/dist/actions/list-all-api-logs.cjs.map +1 -1
- package/dist/actions/list-all-api-logs.d.cts +3 -21
- package/dist/actions/list-all-api-logs.d.cts.map +1 -1
- package/dist/actions/list-all-api-logs.d.mts +3 -21
- package/dist/actions/list-all-api-logs.d.mts.map +1 -1
- package/dist/actions/list-all-api-logs.mjs +1 -0
- package/dist/actions/list-all-api-logs.mjs.map +1 -1
- package/dist/actions/list-all-cases.cjs +1 -0
- package/dist/actions/list-all-cases.cjs.map +1 -1
- package/dist/actions/list-all-cases.d.cts +3 -24
- package/dist/actions/list-all-cases.d.cts.map +1 -1
- package/dist/actions/list-all-cases.d.mts +3 -24
- package/dist/actions/list-all-cases.d.mts.map +1 -1
- package/dist/actions/list-all-cases.mjs +1 -0
- package/dist/actions/list-all-cases.mjs.map +1 -1
- package/dist/actions/list-all-devices.cjs +1 -0
- package/dist/actions/list-all-devices.cjs.map +1 -1
- package/dist/actions/list-all-devices.d.cts +3 -21
- package/dist/actions/list-all-devices.d.cts.map +1 -1
- package/dist/actions/list-all-devices.d.mts +3 -21
- package/dist/actions/list-all-devices.d.mts.map +1 -1
- package/dist/actions/list-all-devices.mjs +1 -0
- package/dist/actions/list-all-devices.mjs.map +1 -1
- package/dist/actions/list-all-events.cjs +1 -0
- package/dist/actions/list-all-events.cjs.map +1 -1
- package/dist/actions/list-all-events.d.cts +3 -23
- package/dist/actions/list-all-events.d.cts.map +1 -1
- package/dist/actions/list-all-events.d.mts +3 -23
- package/dist/actions/list-all-events.d.mts.map +1 -1
- package/dist/actions/list-all-events.mjs +1 -0
- package/dist/actions/list-all-events.mjs.map +1 -1
- package/dist/actions/list-all-importers.cjs +1 -0
- package/dist/actions/list-all-importers.cjs.map +1 -1
- package/dist/actions/list-all-importers.d.cts +3 -21
- package/dist/actions/list-all-importers.d.cts.map +1 -1
- package/dist/actions/list-all-importers.d.mts +3 -21
- package/dist/actions/list-all-importers.d.mts.map +1 -1
- package/dist/actions/list-all-importers.mjs +1 -0
- package/dist/actions/list-all-importers.mjs.map +1 -1
- package/dist/actions/list-all-inquiries.cjs +1 -0
- package/dist/actions/list-all-inquiries.cjs.map +1 -1
- package/dist/actions/list-all-inquiries.d.cts +3 -25
- package/dist/actions/list-all-inquiries.d.cts.map +1 -1
- package/dist/actions/list-all-inquiries.d.mts +3 -25
- package/dist/actions/list-all-inquiries.d.mts.map +1 -1
- package/dist/actions/list-all-inquiries.mjs +1 -0
- package/dist/actions/list-all-inquiries.mjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.cjs +1 -0
- package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.cts +3 -21
- package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.mts +3 -21
- package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.mjs +1 -0
- package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs +1 -0
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +3 -22
- package/dist/actions/list-all-lists.d.cts.map +1 -1
- package/dist/actions/list-all-lists.d.mts +3 -22
- package/dist/actions/list-all-lists.d.mts.map +1 -1
- package/dist/actions/list-all-lists.mjs +1 -0
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-all-rate-limits.cjs +1 -0
- package/dist/actions/list-all-rate-limits.cjs.map +1 -1
- package/dist/actions/list-all-rate-limits.d.cts +3 -17
- package/dist/actions/list-all-rate-limits.d.cts.map +1 -1
- package/dist/actions/list-all-rate-limits.d.mts +3 -17
- package/dist/actions/list-all-rate-limits.d.mts.map +1 -1
- package/dist/actions/list-all-rate-limits.mjs +1 -0
- package/dist/actions/list-all-rate-limits.mjs.map +1 -1
- package/dist/actions/list-all-reports.cjs +1 -0
- package/dist/actions/list-all-reports.cjs.map +1 -1
- package/dist/actions/list-all-reports.d.cts +3 -23
- package/dist/actions/list-all-reports.d.cts.map +1 -1
- package/dist/actions/list-all-reports.d.mts +3 -23
- package/dist/actions/list-all-reports.d.mts.map +1 -1
- package/dist/actions/list-all-reports.mjs +1 -0
- package/dist/actions/list-all-reports.mjs.map +1 -1
- package/dist/actions/list-all-transactions.cjs +1 -0
- package/dist/actions/list-all-transactions.cjs.map +1 -1
- package/dist/actions/list-all-transactions.d.cts +3 -21
- package/dist/actions/list-all-transactions.d.cts.map +1 -1
- package/dist/actions/list-all-transactions.d.mts +3 -21
- package/dist/actions/list-all-transactions.d.mts.map +1 -1
- package/dist/actions/list-all-transactions.mjs +1 -0
- package/dist/actions/list-all-transactions.mjs.map +1 -1
- package/dist/actions/list-all-webhooks.cjs +1 -0
- package/dist/actions/list-all-webhooks.cjs.map +1 -1
- package/dist/actions/list-all-webhooks.d.cts +3 -21
- package/dist/actions/list-all-webhooks.d.cts.map +1 -1
- package/dist/actions/list-all-webhooks.d.mts +3 -21
- package/dist/actions/list-all-webhooks.d.mts.map +1 -1
- package/dist/actions/list-all-webhooks.mjs +1 -0
- package/dist/actions/list-all-webhooks.mjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.cjs +1 -0
- package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.cts +3 -25
- package/dist/actions/list-all-workflow-runs.d.cts.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.mts +3 -25
- package/dist/actions/list-all-workflow-runs.d.mts.map +1 -1
- package/dist/actions/list-all-workflow-runs.mjs +1 -0
- package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
- package/dist/actions/redact-an-account.cjs +1 -0
- package/dist/actions/redact-an-account.cjs.map +1 -1
- package/dist/actions/redact-an-account.d.cts +3 -20
- package/dist/actions/redact-an-account.d.cts.map +1 -1
- package/dist/actions/redact-an-account.d.mts +3 -20
- package/dist/actions/redact-an-account.d.mts.map +1 -1
- package/dist/actions/redact-an-account.mjs +1 -0
- package/dist/actions/redact-an-account.mjs.map +1 -1
- package/dist/actions/remove-account-tag.cjs +1 -0
- package/dist/actions/remove-account-tag.cjs.map +1 -1
- package/dist/actions/remove-account-tag.d.cts +3 -23
- package/dist/actions/remove-account-tag.d.cts.map +1 -1
- package/dist/actions/remove-account-tag.d.mts +3 -23
- package/dist/actions/remove-account-tag.d.mts.map +1 -1
- package/dist/actions/remove-account-tag.mjs +1 -0
- package/dist/actions/remove-account-tag.mjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.cjs +1 -0
- package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.cts +3 -20
- package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.mts +3 -20
- package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.mjs +1 -0
- package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.cjs +1 -0
- package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts +3 -20
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts +3 -20
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.mjs +1 -0
- package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.cjs +1 -0
- package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.cts +3 -20
- package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.mts +3 -20
- package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.mjs +1 -0
- package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.cjs +1 -0
- package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.cts +3 -20
- package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.mts +3 -20
- package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.mjs +1 -0
- package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.cjs +1 -0
- package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.cts +3 -20
- package/dist/actions/retrieve-a-webhook.d.cts.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.mts +3 -20
- package/dist/actions/retrieve-a-webhook.d.mts.map +1 -1
- package/dist/actions/retrieve-a-webhook.mjs +1 -0
- package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
- package/dist/actions/retrieve-an-account.cjs +1 -0
- package/dist/actions/retrieve-an-account.cjs.map +1 -1
- package/dist/actions/retrieve-an-account.d.cts +3 -20
- package/dist/actions/retrieve-an-account.d.cts.map +1 -1
- package/dist/actions/retrieve-an-account.d.mts +3 -20
- package/dist/actions/retrieve-an-account.d.mts.map +1 -1
- package/dist/actions/retrieve-an-account.mjs +1 -0
- package/dist/actions/retrieve-an-account.mjs.map +1 -1
- package/dist/actions/retrieve-an-event.cjs +1 -0
- package/dist/actions/retrieve-an-event.cjs.map +1 -1
- package/dist/actions/retrieve-an-event.d.cts +3 -20
- package/dist/actions/retrieve-an-event.d.cts.map +1 -1
- package/dist/actions/retrieve-an-event.d.mts +3 -20
- package/dist/actions/retrieve-an-event.d.mts.map +1 -1
- package/dist/actions/retrieve-an-event.mjs +1 -0
- package/dist/actions/retrieve-an-event.mjs.map +1 -1
- package/dist/actions/retrieve-an-importer.cjs +1 -0
- package/dist/actions/retrieve-an-importer.cjs.map +1 -1
- package/dist/actions/retrieve-an-importer.d.cts +3 -20
- package/dist/actions/retrieve-an-importer.d.cts.map +1 -1
- package/dist/actions/retrieve-an-importer.d.mts +3 -20
- package/dist/actions/retrieve-an-importer.d.mts.map +1 -1
- package/dist/actions/retrieve-an-importer.mjs +1 -0
- package/dist/actions/retrieve-an-importer.mjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.cjs +1 -0
- package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.d.cts +3 -20
- package/dist/actions/retrieve-an-ip-address-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.d.mts +3 -20
- package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.mjs +1 -0
- package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-api-log.cjs +1 -0
- package/dist/actions/retrieve-api-log.cjs.map +1 -1
- package/dist/actions/retrieve-api-log.d.cts +3 -20
- package/dist/actions/retrieve-api-log.d.cts.map +1 -1
- package/dist/actions/retrieve-api-log.d.mts +3 -20
- package/dist/actions/retrieve-api-log.d.mts.map +1 -1
- package/dist/actions/retrieve-api-log.mjs +1 -0
- package/dist/actions/retrieve-api-log.mjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +1 -0
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +3 -20
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +3 -20
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +1 -0
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-document-generic.cjs +1 -0
- package/dist/actions/retrieve-document-generic.cjs.map +1 -1
- package/dist/actions/retrieve-document-generic.d.cts +3 -20
- package/dist/actions/retrieve-document-generic.d.cts.map +1 -1
- package/dist/actions/retrieve-document-generic.d.mts +3 -20
- package/dist/actions/retrieve-document-generic.d.mts.map +1 -1
- package/dist/actions/retrieve-document-generic.mjs +1 -0
- package/dist/actions/retrieve-document-generic.mjs.map +1 -1
- package/dist/actions/retrieve-document.cjs +1 -0
- package/dist/actions/retrieve-document.cjs.map +1 -1
- package/dist/actions/retrieve-document.d.cts +3 -20
- package/dist/actions/retrieve-document.d.cts.map +1 -1
- package/dist/actions/retrieve-document.d.mts +3 -20
- package/dist/actions/retrieve-document.d.mts.map +1 -1
- package/dist/actions/retrieve-document.mjs +1 -0
- package/dist/actions/retrieve-document.mjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.cjs +1 -0
- package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.cts +3 -20
- package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.mts +3 -20
- package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.mjs +1 -0
- package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.cjs +1 -0
- package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.d.cts +3 -20
- package/dist/actions/retrieve-government-id-number-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.d.mts +3 -20
- package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.mjs +1 -0
- package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.cjs +1 -0
- package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.cts +3 -20
- package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.mts +3 -20
- package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.mjs +1 -0
- package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.cjs +1 -0
- package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.cts +3 -21
- package/dist/actions/rotate-webhook-secret.d.cts.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.mts +3 -21
- package/dist/actions/rotate-webhook-secret.d.mts.map +1 -1
- package/dist/actions/rotate-webhook-secret.mjs +1 -0
- package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs +1 -0
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +3 -28
- package/dist/actions/search-accounts.d.cts.map +1 -1
- package/dist/actions/search-accounts.d.mts +3 -28
- package/dist/actions/search-accounts.d.mts.map +1 -1
- package/dist/actions/search-accounts.mjs +1 -0
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-cases.cjs +1 -0
- package/dist/actions/search-cases.cjs.map +1 -1
- package/dist/actions/search-cases.d.cts +3 -27
- package/dist/actions/search-cases.d.cts.map +1 -1
- package/dist/actions/search-cases.d.mts +3 -27
- package/dist/actions/search-cases.d.mts.map +1 -1
- package/dist/actions/search-cases.mjs +1 -0
- package/dist/actions/search-cases.mjs.map +1 -1
- package/dist/actions/set-tags.cjs +1 -0
- package/dist/actions/set-tags.cjs.map +1 -1
- package/dist/actions/set-tags.d.cts +3 -23
- package/dist/actions/set-tags.d.cts.map +1 -1
- package/dist/actions/set-tags.d.mts +3 -23
- package/dist/actions/set-tags.d.mts.map +1 -1
- package/dist/actions/set-tags.mjs +1 -0
- package/dist/actions/set-tags.mjs.map +1 -1
- package/dist/actions/update-a-webhook.cjs +1 -0
- package/dist/actions/update-a-webhook.cjs.map +1 -1
- package/dist/actions/update-a-webhook.d.cts +3 -30
- package/dist/actions/update-a-webhook.d.cts.map +1 -1
- package/dist/actions/update-a-webhook.d.mts +3 -30
- package/dist/actions/update-a-webhook.d.mts.map +1 -1
- package/dist/actions/update-a-webhook.mjs +1 -0
- package/dist/actions/update-a-webhook.mjs.map +1 -1
- package/dist/actions/update-an-account.cjs +1 -0
- package/dist/actions/update-an-account.cjs.map +1 -1
- package/dist/actions/update-an-account.d.cts +3 -42
- package/dist/actions/update-an-account.d.cts.map +1 -1
- package/dist/actions/update-an-account.d.mts +3 -42
- package/dist/actions/update-an-account.d.mts.map +1 -1
- package/dist/actions/update-an-account.mjs +1 -0
- package/dist/actions/update-an-account.mjs.map +1 -1
- package/dist/actions/update-document-generic.cjs +1 -0
- package/dist/actions/update-document-generic.cjs.map +1 -1
- package/dist/actions/update-document-generic.d.cts +3 -27
- package/dist/actions/update-document-generic.d.cts.map +1 -1
- package/dist/actions/update-document-generic.d.mts +3 -27
- package/dist/actions/update-document-generic.d.mts.map +1 -1
- package/dist/actions/update-document-generic.mjs +1 -0
- package/dist/actions/update-document-generic.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-string-list-item.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAStringListItemInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. Used for sparse fieldsets.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_item_id: z.string().describe(\"ID of the string list item to retrieve. Starts with 'listr_'.\"),\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}).describe(\"Request model for retrieving a string list item in Persona.\");\nconst PersonaRetrieveAStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of this list item.\").nullable().optional(),\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a string list item.\");\nconst PersonaRetrieveAStringListItem_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaRetrieveAStringListItem_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the string list item response.\");\nconst PersonaRetrieveAStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'listr_'.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'list-item/string'.\").nullable(),\n attributes: PersonaRetrieveAStringListItem_StringListItemAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"String list item data returned in the response.\");\nexport const PersonaRetrieveAStringListItemOutput = z.object({\n data: PersonaRetrieveAStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after retrieving a string list item.\");\n\nexport const personaRetrieveAStringListItem = action(\"PERSONA_RETRIEVE_A_STRING_LIST_ITEM\", {\n slug: \"persona-retrieve-a-string-list-item\",\n name: \"Retrieve a String List Item\",\n description: \"Tool to retrieve a string list item by ID in Persona. Use when you need to fetch details of a specific string list item.\",\n input: PersonaRetrieveAStringListItemInput,\n output: PersonaRetrieveAStringListItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-string-list-item.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaRetrieveAStringListItemInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. Used for sparse fieldsets.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_item_id: z.string().describe(\"ID of the string list item to retrieve. Starts with 'listr_'.\"),\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}).describe(\"Request model for retrieving a string list item in Persona.\");\nconst PersonaRetrieveAStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of this list item.\").nullable().optional(),\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a string list item.\");\nconst PersonaRetrieveAStringListItem_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaRetrieveAStringListItem_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the string list item response.\");\nconst PersonaRetrieveAStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'listr_'.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'list-item/string'.\").nullable(),\n attributes: PersonaRetrieveAStringListItem_StringListItemAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"String list item data returned in the response.\");\nexport const PersonaRetrieveAStringListItemOutput = z.object({\n data: PersonaRetrieveAStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after retrieving a string list item.\");\n\nexport const personaRetrieveAStringListItem: AppAction<\n typeof PersonaRetrieveAStringListItemInput,\n typeof PersonaRetrieveAStringListItemOutput,\n typeof persona.credential\n> = action(\"PERSONA_RETRIEVE_A_STRING_LIST_ITEM\", {\n slug: \"persona-retrieve-a-string-list-item\",\n name: \"Retrieve a String List Item\",\n description: \"Tool to retrieve a string list item by ID in Persona. Use when you need to fetch details of a specific string list item.\",\n input: PersonaRetrieveAStringListItemInput,\n output: PersonaRetrieveAStringListItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACjG,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gEAAgEA,IA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AAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,YAAY,8DAA8D,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAe,iEAAiE,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,wDAAwD,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persona } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-a-string-list-item.d.ts
|
|
@@ -42,26 +44,7 @@ declare const PersonaRetrieveAStringListItemOutput: z.ZodObject<{
|
|
|
42
44
|
}, z.core.$loose>>>;
|
|
43
45
|
}, z.core.$loose>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const personaRetrieveAStringListItem:
|
|
46
|
-
list_item_id: string;
|
|
47
|
-
fields?: Record<string, unknown> | undefined;
|
|
48
|
-
include?: string | undefined;
|
|
49
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
50
|
-
"Idempotency-Key"?: string | undefined;
|
|
51
|
-
"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;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
47
|
+
declare const personaRetrieveAStringListItem: AppAction<typeof PersonaRetrieveAStringListItemInput, typeof PersonaRetrieveAStringListItemOutput, typeof persona.credential>;
|
|
65
48
|
//#endregion
|
|
66
49
|
export { personaRetrieveAStringListItem };
|
|
67
50
|
//# sourceMappingURL=retrieve-a-string-list-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-string-list-item.d.cts","names":[],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-string-list-item.d.cts","names":[],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA6BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persona } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-a-string-list-item.d.ts
|
|
@@ -42,26 +44,7 @@ declare const PersonaRetrieveAStringListItemOutput: z.ZodObject<{
|
|
|
42
44
|
}, z.core.$loose>>>;
|
|
43
45
|
}, z.core.$loose>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const personaRetrieveAStringListItem:
|
|
46
|
-
list_item_id: string;
|
|
47
|
-
fields?: Record<string, unknown> | undefined;
|
|
48
|
-
include?: string | undefined;
|
|
49
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
50
|
-
"Idempotency-Key"?: string | undefined;
|
|
51
|
-
"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;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
47
|
+
declare const personaRetrieveAStringListItem: AppAction<typeof PersonaRetrieveAStringListItemInput, typeof PersonaRetrieveAStringListItemOutput, typeof persona.credential>;
|
|
65
48
|
//#endregion
|
|
66
49
|
export { personaRetrieveAStringListItem };
|
|
67
50
|
//# sourceMappingURL=retrieve-a-string-list-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-string-list-item.d.mts","names":[],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-string-list-item.d.mts","names":[],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA6BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-string-list-item.mjs","names":[],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAStringListItemInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. Used for sparse fieldsets.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_item_id: z.string().describe(\"ID of the string list item to retrieve. Starts with 'listr_'.\"),\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}).describe(\"Request model for retrieving a string list item in Persona.\");\nconst PersonaRetrieveAStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of this list item.\").nullable().optional(),\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a string list item.\");\nconst PersonaRetrieveAStringListItem_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaRetrieveAStringListItem_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the string list item response.\");\nconst PersonaRetrieveAStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'listr_'.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'list-item/string'.\").nullable(),\n attributes: PersonaRetrieveAStringListItem_StringListItemAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"String list item data returned in the response.\");\nexport const PersonaRetrieveAStringListItemOutput = z.object({\n data: PersonaRetrieveAStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after retrieving a string list item.\");\n\nexport const personaRetrieveAStringListItem = action(\"PERSONA_RETRIEVE_A_STRING_LIST_ITEM\", {\n slug: \"persona-retrieve-a-string-list-item\",\n name: \"Retrieve a String List Item\",\n description: \"Tool to retrieve a string list item by ID in Persona. Use when you need to fetch details of a specific string list item.\",\n input: PersonaRetrieveAStringListItemInput,\n output: PersonaRetrieveAStringListItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-string-list-item.mjs","names":[],"sources":["../../src/actions/retrieve-a-string-list-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaRetrieveAStringListItemInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. Used for sparse fieldsets.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_item_id: z.string().describe(\"ID of the string list item to retrieve. Starts with 'listr_'.\"),\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}).describe(\"Request model for retrieving a string list item in Persona.\");\nconst PersonaRetrieveAStringListItem_StringListItemAttributesSchema = z.object({\n value: z.string().describe(\"The string value of this list item.\").nullable().optional(),\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a string list item.\");\nconst PersonaRetrieveAStringListItem_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema = z.object({\n creator: PersonaRetrieveAStringListItem_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the string list item response.\");\nconst PersonaRetrieveAStringListItem_StringListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'listr_'.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'list-item/string'.\").nullable(),\n attributes: PersonaRetrieveAStringListItem_StringListItemAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAStringListItem_StringListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"String list item data returned in the response.\");\nexport const PersonaRetrieveAStringListItemOutput = z.object({\n data: PersonaRetrieveAStringListItem_StringListItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after retrieving a string list item.\");\n\nexport const personaRetrieveAStringListItem: AppAction<\n typeof PersonaRetrieveAStringListItemInput,\n typeof PersonaRetrieveAStringListItemOutput,\n typeof persona.credential\n> = action(\"PERSONA_RETRIEVE_A_STRING_LIST_ITEM\", {\n slug: \"persona-retrieve-a-string-list-item\",\n name: \"Retrieve a String List Item\",\n description: \"Tool to retrieve a string list item by ID in Persona. Use when you need to fetch details of a specific string list item.\",\n input: PersonaRetrieveAStringListItemInput,\n output: PersonaRetrieveAStringListItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACjG,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,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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C,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,YAAY,8DAA8D,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAe,iEAAiE,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO,EAC3D,MAAM,wDAAwD,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-webhook.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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.\").optional(),\n \"webhook-id\": z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\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}).describe(\"Request model for retrieving a webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"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 for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. Can be strings or objects with 'value' and 'expires-at' fields.\").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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_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: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-webhook.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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.\").optional(),\n \"webhook-id\": z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\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}).describe(\"Request model for retrieving a webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"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 for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. Can be strings or objects with 'value' and 'expires-at' fields.\").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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_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: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook: AppAction<\n typeof PersonaRetrieveAWebhookInput,\n typeof PersonaRetrieveAWebhookOutput,\n typeof persona.credential\n> = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACzR,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC3M,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,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,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CA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AE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,0CAA0C,SAAS;CACzD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persona } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-a-webhook.d.ts
|
|
@@ -47,26 +49,7 @@ declare const PersonaRetrieveAWebhookOutput: z.ZodObject<{
|
|
|
47
49
|
}, z.core.$loose>>;
|
|
48
50
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
49
51
|
}, z.core.$loose>;
|
|
50
|
-
declare const personaRetrieveAWebhook:
|
|
51
|
-
"webhook-id": string;
|
|
52
|
-
fields?: Record<string, unknown> | undefined;
|
|
53
|
-
include?: string | undefined;
|
|
54
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
55
|
-
"Idempotency-Key"?: string | undefined;
|
|
56
|
-
"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;
|
|
57
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
generic_api_key: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
52
|
+
declare const personaRetrieveAWebhook: AppAction<typeof PersonaRetrieveAWebhookInput, typeof PersonaRetrieveAWebhookOutput, typeof persona.credential>;
|
|
70
53
|
//#endregion
|
|
71
54
|
export { personaRetrieveAWebhook };
|
|
72
55
|
//# sourceMappingURL=retrieve-a-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-webhook.d.cts","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-webhook.d.cts","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persona } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-a-webhook.d.ts
|
|
@@ -47,26 +49,7 @@ declare const PersonaRetrieveAWebhookOutput: z.ZodObject<{
|
|
|
47
49
|
}, z.core.$loose>>;
|
|
48
50
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
49
51
|
}, z.core.$loose>;
|
|
50
|
-
declare const personaRetrieveAWebhook:
|
|
51
|
-
"webhook-id": string;
|
|
52
|
-
fields?: Record<string, unknown> | undefined;
|
|
53
|
-
include?: string | undefined;
|
|
54
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
55
|
-
"Idempotency-Key"?: string | undefined;
|
|
56
|
-
"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;
|
|
57
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
generic_api_key: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
52
|
+
declare const personaRetrieveAWebhook: AppAction<typeof PersonaRetrieveAWebhookInput, typeof PersonaRetrieveAWebhookOutput, typeof persona.credential>;
|
|
70
53
|
//#endregion
|
|
71
54
|
export { personaRetrieveAWebhook };
|
|
72
55
|
//# sourceMappingURL=retrieve-a-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-webhook.d.mts","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-webhook.d.mts","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-webhook.mjs","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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.\").optional(),\n \"webhook-id\": z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\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}).describe(\"Request model for retrieving a webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"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 for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. Can be strings or objects with 'value' and 'expires-at' fields.\").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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_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: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-a-webhook.mjs","names":[],"sources":["../../src/actions/retrieve-a-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaRetrieveAWebhookInput = 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. Keys are resource types, values are comma-separated attribute names.\").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.\").optional(),\n \"webhook-id\": z.string().describe(\"Webhook's ID (starts with 'wbh_').\"),\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}).describe(\"Request model for retrieving a webhook in Persona.\");\nconst PersonaRetrieveAWebhook_WebhookSecretSchema = z.object({\n value: z.string().describe(\"The secret value for webhook signature verification.\").nullable(),\n \"expires-at\": z.string().describe(\"Expiration timestamp for the secret.\").nullable().optional(),\n}).passthrough().describe(\"Webhook secret object.\");\nconst PersonaRetrieveAWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"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 for webhook signature verification.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook.\").nullable().optional(),\n secrets: z.array(z.union([z.string(), PersonaRetrieveAWebhook_WebhookSecretSchema])).describe(\"List of secret keys for webhook signature verification. Can be strings or objects with 'value' and 'expires-at' fields.\").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 for 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 the webhook.\").nullable().optional(),\n \"payload-filter\": z.record(z.string(), z.unknown()).describe(\"Filter configuration for the webhook payload.\").nullable().optional(),\n \"api-key-inflection\": z.string().describe(\"Key inflection format for the webhook payload.\").nullable().optional(),\n \"api-attributes-blocklist\": z.array(z.string()).describe(\"List of attributes to block from the webhook payload.\").nullable().optional(),\n \"file-access-token-expires-in\": z.number().int().describe(\"Expiration time in seconds for file access tokens.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a webhook in the response.\");\nconst PersonaRetrieveAWebhook_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: PersonaRetrieveAWebhook_WebhookAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Webhook data returned in the response.\");\nexport const PersonaRetrieveAWebhookOutput = z.object({\n data: PersonaRetrieveAWebhook_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 returned after retrieving a webhook in Persona.\");\n\nexport const personaRetrieveAWebhook: AppAction<\n typeof PersonaRetrieveAWebhookInput,\n typeof PersonaRetrieveAWebhookOutput,\n typeof persona.credential\n> = action(\"PERSONA_RETRIEVE_A_WEBHOOK\", {\n slug: \"persona-retrieve-a-webhook\",\n name: \"Retrieve a Webhook\",\n description: \"Tool to retrieve a webhook by its ID. Use when you need to fetch details about a specific webhook configuration.\",\n input: PersonaRetrieveAWebhookInput,\n output: PersonaRetrieveAWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACzR,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC3M,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,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,CAA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G,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,4BAA4B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,MAAM,0CAA0C,SAAS;EACzD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-an-account.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes which attributes will be serialized.\").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}).describe(\"Request model for retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = 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 and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").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 of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = 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: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_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 PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-an-account.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes which attributes will be serialized.\").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}).describe(\"Request model for retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = 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 and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").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 of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = 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: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_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 PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount: AppAction<\n typeof PersonaRetrieveAnAccountInput,\n typeof PersonaRetrieveAnAccountOutput,\n typeof persona.credential\n> = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACxM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACrN,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAA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,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persona } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-an-account.d.ts
|
|
@@ -48,26 +50,7 @@ declare const PersonaRetrieveAnAccountOutput: z.ZodObject<{
|
|
|
48
50
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
51
|
}, z.core.$loose>>>>;
|
|
50
52
|
}, z.core.$loose>;
|
|
51
|
-
declare const personaRetrieveAnAccount:
|
|
52
|
-
"account-id": string;
|
|
53
|
-
include?: string | undefined;
|
|
54
|
-
sparse_fields?: Record<string, unknown> | undefined;
|
|
55
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
56
|
-
"Idempotency-Key"?: string | undefined;
|
|
57
|
-
"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;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>;
|
|
53
|
+
declare const personaRetrieveAnAccount: AppAction<typeof PersonaRetrieveAnAccountInput, typeof PersonaRetrieveAnAccountOutput, typeof persona.credential>;
|
|
71
54
|
//#endregion
|
|
72
55
|
export { personaRetrieveAnAccount };
|
|
73
56
|
//# sourceMappingURL=retrieve-an-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-an-account.d.cts","names":[],"sources":["../../src/actions/retrieve-an-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-an-account.d.cts","names":[],"sources":["../../src/actions/retrieve-an-account.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persona } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-an-account.d.ts
|
|
@@ -48,26 +50,7 @@ declare const PersonaRetrieveAnAccountOutput: z.ZodObject<{
|
|
|
48
50
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
51
|
}, z.core.$loose>>>>;
|
|
50
52
|
}, z.core.$loose>;
|
|
51
|
-
declare const personaRetrieveAnAccount:
|
|
52
|
-
"account-id": string;
|
|
53
|
-
include?: string | undefined;
|
|
54
|
-
sparse_fields?: Record<string, unknown> | undefined;
|
|
55
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
56
|
-
"Idempotency-Key"?: string | undefined;
|
|
57
|
-
"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;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>;
|
|
53
|
+
declare const personaRetrieveAnAccount: AppAction<typeof PersonaRetrieveAnAccountInput, typeof PersonaRetrieveAnAccountOutput, typeof persona.credential>;
|
|
71
54
|
//#endregion
|
|
72
55
|
export { personaRetrieveAnAccount };
|
|
73
56
|
//# sourceMappingURL=retrieve-an-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-an-account.d.mts","names":[],"sources":["../../src/actions/retrieve-an-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-an-account.d.mts","names":[],"sources":["../../src/actions/retrieve-an-account.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-an-account.mjs","names":[],"sources":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes which attributes will be serialized.\").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}).describe(\"Request model for retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = 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 and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").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 of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = 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: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_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 PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-an-account.mjs","names":[],"sources":["../../src/actions/retrieve-an-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaRetrieveAnAccountInput = z.object({\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. This customizes which related resources will be fully serialized in the included key.\").optional(),\n \"account-id\": z.string().describe(\"Unique identifier for the account to retrieve.\"),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. This customizes which attributes will be serialized.\").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}).describe(\"Request model for retrieving an account in Persona.\");\nconst PersonaRetrieveAnAccount_AccountAttributesSchema = 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 and contains structured data with type information.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").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 of an account in the response.\");\nconst PersonaRetrieveAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveAnAccount_AccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRetrieveAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRetrieveAnAccount_AccountDataSchema = 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: PersonaRetrieveAnAccount_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveAnAccount_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRetrieveAnAccount_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 PersonaRetrieveAnAccountOutput = z.object({\n data: PersonaRetrieveAnAccount_AccountDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after retrieving an account in Persona.\");\n\nexport const personaRetrieveAnAccount: AppAction<\n typeof PersonaRetrieveAnAccountInput,\n typeof PersonaRetrieveAnAccountOutput,\n typeof persona.credential\n> = action(\"PERSONA_RETRIEVE_AN_ACCOUNT\", {\n slug: \"persona-retrieve-an-account\",\n name: \"Retrieve an Account\",\n description: \"Tool to retrieve an account in Persona. Use when you need to fetch details of a specific account by its ID.\",\n input: PersonaRetrieveAnAccountInput,\n output: PersonaRetrieveAnAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACxM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACrN,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,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 -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-an-event.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-an-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveAnEventInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. 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.\").optional(),\n \"event-id\": z.string().describe(\"The unique identifier of the event to retrieve.\"),\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}).describe(\"Request model for retrieving an event in Persona.\");\nconst PersonaRetrieveAnEvent_EventAttributesSchema = z.object({\n name: z.string().describe(\"Name of the event.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the event.\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"Payload data for the event.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the event was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an event.\");\nconst PersonaRetrieveAnEvent_EventDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the event.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'event'.\").nullable(),\n attributes: PersonaRetrieveAnEvent_EventAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Event data object returned by Persona API.\");\nconst PersonaRetrieveAnEvent_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 PersonaRetrieveAnEventOutput = z.object({\n data: PersonaRetrieveAnEvent_EventDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnEvent_IncludedResourceSchema).describe(\"Related resources included in the response. 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 retrieving an event in Persona.\");\n\nexport const personaRetrieveAnEvent = action(\"PERSONA_RETRIEVE_AN_EVENT\", {\n slug: \"persona-retrieve-an-event\",\n name: \"Retrieve an Event\",\n description: \"Tool to retrieve an event in Persona. Use when you need to fetch details of a specific event that was logged by Persona.\",\n input: PersonaRetrieveAnEventInput,\n output: PersonaRetrieveAnEventOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-an-event.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-an-event.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { persona } from \"../app\";\n\nexport const PersonaRetrieveAnEventInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. 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.\").optional(),\n \"event-id\": z.string().describe(\"The unique identifier of the event to retrieve.\"),\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}).describe(\"Request model for retrieving an event in Persona.\");\nconst PersonaRetrieveAnEvent_EventAttributesSchema = z.object({\n name: z.string().describe(\"Name of the event.\").nullable().optional(),\n context: z.record(z.string(), z.unknown()).describe(\"Context information for the event.\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"Payload data for the event.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the event was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an event.\");\nconst PersonaRetrieveAnEvent_EventDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the event.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'event'.\").nullable(),\n attributes: PersonaRetrieveAnEvent_EventAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Event data object returned by Persona API.\");\nconst PersonaRetrieveAnEvent_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 PersonaRetrieveAnEventOutput = z.object({\n data: PersonaRetrieveAnEvent_EventDataSchema.nullable(),\n included: z.array(PersonaRetrieveAnEvent_IncludedResourceSchema).describe(\"Related resources included in the response. 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 retrieving an event in Persona.\");\n\nexport const personaRetrieveAnEvent: AppAction<\n typeof PersonaRetrieveAnEventInput,\n typeof PersonaRetrieveAnEventOutput,\n typeof persona.credential\n> = action(\"PERSONA_RETRIEVE_AN_EVENT\", {\n slug: \"persona-retrieve-an-event\",\n name: \"Retrieve an Event\",\n description: \"Tool to retrieve an event in Persona. Use when you need to fetch details of a specific event that was logged by Persona.\",\n input: PersonaRetrieveAnEventInput,\n output: PersonaRetrieveAnEventOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,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nD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,uCAAuC,SAAS;CACtD,UAAUA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,wLAAwL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1R,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { persona } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-an-event.d.ts
|
|
@@ -39,26 +41,7 @@ declare const PersonaRetrieveAnEventOutput: z.ZodObject<{
|
|
|
39
41
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
40
42
|
}, z.core.$loose>>>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const personaRetrieveAnEvent:
|
|
43
|
-
"event-id": string;
|
|
44
|
-
fields?: Record<string, unknown> | undefined;
|
|
45
|
-
include?: string | undefined;
|
|
46
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
47
|
-
"Idempotency-Key"?: string | undefined;
|
|
48
|
-
"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;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
generic_api_key: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const personaRetrieveAnEvent: AppAction<typeof PersonaRetrieveAnEventInput, typeof PersonaRetrieveAnEventOutput, typeof persona.credential>;
|
|
62
45
|
//#endregion
|
|
63
46
|
export { personaRetrieveAnEvent };
|
|
64
47
|
//# sourceMappingURL=retrieve-an-event.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-an-event.d.cts","names":[],"sources":["../../src/actions/retrieve-an-event.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-an-event.d.cts","names":[],"sources":["../../src/actions/retrieve-an-event.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAwB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|