@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":"list-all-api-logs.mjs","names":[],"sources":["../../src/actions/list-all-api-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllApiLogsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 listing all API logs in Persona.\");\nconst PersonaListAllApiLogs_ApiLogAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the API log was created.\").nullable().optional(),\n \"request-id\": z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n \"duration-ms\": z.number().int().describe(\"Duration of the API request in milliseconds.\").nullable().optional(),\n \"request-url\": z.string().describe(\"The URL of the API request.\").nullable().optional(),\n \"request-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API request.\").nullable().optional(),\n \"response-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API response.\").nullable().optional(),\n \"request-method\": z.string().describe(\"The HTTP method of the request (GET, POST, etc.).\").nullable().optional(),\n \"request-headers\": z.record(z.string(), z.unknown()).describe(\"Headers sent with the API request.\").nullable().optional(),\n \"response-status\": z.number().int().describe(\"HTTP status code of the API response.\").nullable().optional(),\n \"response-headers\": z.record(z.string(), z.unknown()).describe(\"Headers returned in the API response.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an API log in the response.\");\nconst PersonaListAllApiLogs_ApiLogDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API log.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'api-log'.\").nullable(),\n attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"API log data returned in the response.\");\nconst PersonaListAllApiLogs_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllApiLogsOutput = z.object({\n data: z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe(\"An array of API Log objects.\"),\n links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after listing all API logs in Persona.\");\n\nexport const personaListAllApiLogs = action(\"PERSONA_LIST_ALL_API_LOGS\", {\n slug: \"persona-list-all-api-logs\",\n name: \"List All API Logs\",\n description: \"Tool to list all API logs in Persona. Use when you need to retrieve a paginated history of API requests made to your organization, including request details, response status, and timing information.\",\n input: PersonaListAllApiLogsInput,\n output: PersonaListAllApiLogsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-api-logs.mjs","names":[],"sources":["../../src/actions/list-all-api-logs.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 PersonaListAllApiLogsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination - retrieves records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination - retrieves records before this cursor.\").optional(),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").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 listing all API logs in Persona.\");\nconst PersonaListAllApiLogs_ApiLogAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the API log was created.\").nullable().optional(),\n \"request-id\": z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n \"duration-ms\": z.number().int().describe(\"Duration of the API request in milliseconds.\").nullable().optional(),\n \"request-url\": z.string().describe(\"The URL of the API request.\").nullable().optional(),\n \"request-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API request.\").nullable().optional(),\n \"response-body\": z.record(z.string(), z.unknown()).describe(\"Body of the API response.\").nullable().optional(),\n \"request-method\": z.string().describe(\"The HTTP method of the request (GET, POST, etc.).\").nullable().optional(),\n \"request-headers\": z.record(z.string(), z.unknown()).describe(\"Headers sent with the API request.\").nullable().optional(),\n \"response-status\": z.number().int().describe(\"HTTP status code of the API response.\").nullable().optional(),\n \"response-headers\": z.record(z.string(), z.unknown()).describe(\"Headers returned in the API response.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an API log in the response.\");\nconst PersonaListAllApiLogs_ApiLogDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API log.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'api-log'.\").nullable(),\n attributes: PersonaListAllApiLogs_ApiLogAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"API log data returned in the response.\");\nconst PersonaListAllApiLogs_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllApiLogsOutput = z.object({\n data: z.array(PersonaListAllApiLogs_ApiLogDataSchema).describe(\"An array of API Log objects.\"),\n links: PersonaListAllApiLogs_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after listing all API logs in Persona.\");\n\nexport const personaListAllApiLogs: AppAction<\n typeof PersonaListAllApiLogsInput,\n typeof PersonaListAllApiLogsOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_API_LOGS\", {\n slug: \"persona-list-all-api-logs\",\n name: \"List All API Logs\",\n description: \"Tool to list all API logs in Persona. Use when you need to retrieve a paginated history of API requests made to your organization, including request details, response status, and timing information.\",\n input: PersonaListAllApiLogsInput,\n output: PersonaListAllApiLogsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChK,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS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":["z","action"],"sources":["../../src/actions/list-all-cases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllCasesInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination. Fetch records after this cursor.\").optional(),\n \"fields.case\": z.string().describe(\"Comma-separated list of attributes to include for case resources.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination. Fetch records before this cursor.\").optional(),\n \"filter.status\": z.string().describe(\"Filter cases by status (e.g., 'open', 'closed').\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.created-at-end\": z.string().describe(\"Filter cases created on or before this timestamp (ISO 8601 format).\").optional(),\n \"filter.created-at-start\": z.string().describe(\"Filter cases created on or after this timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all cases in Persona.\");\nconst PersonaListAllCases_CaseAttributesSchema = z.object({\n name: z.string().describe(\"Name or title of the case.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the case.\").nullable().optional(),\n status: z.string().describe(\"Current status of the case.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the case was created.\").nullable().optional(),\n resolution: z.string().describe(\"Resolution status of the case.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the case was last updated.\").nullable().optional(),\n \"assignee-id\": z.string().describe(\"ID of the user assigned to the case.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated inquiry.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a case object.\");\nconst PersonaListAllCases_CaseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the case.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'case'.\").nullable(),\n attributes: PersonaListAllCases_CaseAttributesSchema.nullable().optional(),\n relationships: PersonaListAllCases_CaseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Case data object returned by Persona API.\");\nconst PersonaListAllCases_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating the result set.\");\nconst PersonaListAllCases_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 relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaListAllCasesOutput = z.object({\n data: z.array(PersonaListAllCases_CaseDataSchema).describe(\"An array of case objects.\"),\n links: PersonaListAllCases_PaginationLinksSchema.nullable(),\n included: z.array(PersonaListAllCases_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all cases in Persona.\");\n\nexport const personaListAllCases = action(\"PERSONA_LIST_ALL_CASES\", {\n slug: \"persona-list-all-cases\",\n name: \"List All Cases\",\n description: \"Tool to list all cases in Persona. Use when you need to retrieve a collection of cases with optional filtering and pagination.\",\n input: PersonaListAllCasesInput,\n output: PersonaListAllCasesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-cases.cjs","names":["z","action"],"sources":["../../src/actions/list-all-cases.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 PersonaListAllCasesInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination. Fetch records after this cursor.\").optional(),\n \"fields.case\": z.string().describe(\"Comma-separated list of attributes to include for case resources.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination. Fetch records before this cursor.\").optional(),\n \"filter.status\": z.string().describe(\"Filter cases by status (e.g., 'open', 'closed').\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.created-at-end\": z.string().describe(\"Filter cases created on or before this timestamp (ISO 8601 format).\").optional(),\n \"filter.created-at-start\": z.string().describe(\"Filter cases created on or after this timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all cases in Persona.\");\nconst PersonaListAllCases_CaseAttributesSchema = z.object({\n name: z.string().describe(\"Name or title of the case.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the case.\").nullable().optional(),\n status: z.string().describe(\"Current status of the case.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the case was created.\").nullable().optional(),\n resolution: z.string().describe(\"Resolution status of the case.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the case was last updated.\").nullable().optional(),\n \"assignee-id\": z.string().describe(\"ID of the user assigned to the case.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated inquiry.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a case object.\");\nconst PersonaListAllCases_CaseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the case.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'case'.\").nullable(),\n attributes: PersonaListAllCases_CaseAttributesSchema.nullable().optional(),\n relationships: PersonaListAllCases_CaseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Case data object returned by Persona API.\");\nconst PersonaListAllCases_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating the result set.\");\nconst PersonaListAllCases_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 relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaListAllCasesOutput = z.object({\n data: z.array(PersonaListAllCases_CaseDataSchema).describe(\"An array of case objects.\"),\n links: PersonaListAllCases_PaginationLinksSchema.nullable(),\n included: z.array(PersonaListAllCases_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all cases in Persona.\");\n\nexport const personaListAllCases: AppAction<\n typeof PersonaListAllCasesInput,\n typeof PersonaListAllCasesOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_CASES\", {\n slug: \"persona-list-all-cases\",\n name: \"List All Cases\",\n description: \"Tool to list all cases in Persona. Use when you need to retrieve a collection of cases with optional filtering and pagination.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AS,kDAAkD;AAE5E,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/list-all-cases.d.ts
|
|
@@ -55,30 +57,7 @@ declare const PersonaListAllCasesOutput: z.ZodObject<{
|
|
|
55
57
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
56
58
|
}, z.core.$loose>>>>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const personaListAllCases:
|
|
59
|
-
"page.size"?: number | undefined;
|
|
60
|
-
"page.after"?: string | undefined;
|
|
61
|
-
"fields.case"?: string | undefined;
|
|
62
|
-
"page.before"?: string | undefined;
|
|
63
|
-
"filter.status"?: string | undefined;
|
|
64
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
65
|
-
"Idempotency-Key"?: string | undefined;
|
|
66
|
-
"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;
|
|
67
|
-
"filter.created-at-end"?: string | undefined;
|
|
68
|
-
"filter.created-at-start"?: string | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
60
|
+
declare const personaListAllCases: AppAction<typeof PersonaListAllCasesInput, typeof PersonaListAllCasesOutput, typeof persona.credential>;
|
|
82
61
|
//#endregion
|
|
83
62
|
export { personaListAllCases };
|
|
84
63
|
//# sourceMappingURL=list-all-cases.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-cases.d.cts","names":[],"sources":["../../src/actions/list-all-cases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-cases.d.cts","names":[],"sources":["../../src/actions/list-all-cases.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAyCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/list-all-cases.d.ts
|
|
@@ -55,30 +57,7 @@ declare const PersonaListAllCasesOutput: z.ZodObject<{
|
|
|
55
57
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
56
58
|
}, z.core.$loose>>>>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const personaListAllCases:
|
|
59
|
-
"page.size"?: number | undefined;
|
|
60
|
-
"page.after"?: string | undefined;
|
|
61
|
-
"fields.case"?: string | undefined;
|
|
62
|
-
"page.before"?: string | undefined;
|
|
63
|
-
"filter.status"?: string | undefined;
|
|
64
|
-
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
65
|
-
"Idempotency-Key"?: string | undefined;
|
|
66
|
-
"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;
|
|
67
|
-
"filter.created-at-end"?: string | undefined;
|
|
68
|
-
"filter.created-at-start"?: string | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
60
|
+
declare const personaListAllCases: AppAction<typeof PersonaListAllCasesInput, typeof PersonaListAllCasesOutput, typeof persona.credential>;
|
|
82
61
|
//#endregion
|
|
83
62
|
export { personaListAllCases };
|
|
84
63
|
//# sourceMappingURL=list-all-cases.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-cases.d.mts","names":[],"sources":["../../src/actions/list-all-cases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-cases.d.mts","names":[],"sources":["../../src/actions/list-all-cases.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAyCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-cases.mjs","names":[],"sources":["../../src/actions/list-all-cases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllCasesInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination. Fetch records after this cursor.\").optional(),\n \"fields.case\": z.string().describe(\"Comma-separated list of attributes to include for case resources.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination. Fetch records before this cursor.\").optional(),\n \"filter.status\": z.string().describe(\"Filter cases by status (e.g., 'open', 'closed').\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.created-at-end\": z.string().describe(\"Filter cases created on or before this timestamp (ISO 8601 format).\").optional(),\n \"filter.created-at-start\": z.string().describe(\"Filter cases created on or after this timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all cases in Persona.\");\nconst PersonaListAllCases_CaseAttributesSchema = z.object({\n name: z.string().describe(\"Name or title of the case.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the case.\").nullable().optional(),\n status: z.string().describe(\"Current status of the case.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the case was created.\").nullable().optional(),\n resolution: z.string().describe(\"Resolution status of the case.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the case was last updated.\").nullable().optional(),\n \"assignee-id\": z.string().describe(\"ID of the user assigned to the case.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated inquiry.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a case object.\");\nconst PersonaListAllCases_CaseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the case.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'case'.\").nullable(),\n attributes: PersonaListAllCases_CaseAttributesSchema.nullable().optional(),\n relationships: PersonaListAllCases_CaseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Case data object returned by Persona API.\");\nconst PersonaListAllCases_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating the result set.\");\nconst PersonaListAllCases_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 relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaListAllCasesOutput = z.object({\n data: z.array(PersonaListAllCases_CaseDataSchema).describe(\"An array of case objects.\"),\n links: PersonaListAllCases_PaginationLinksSchema.nullable(),\n included: z.array(PersonaListAllCases_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all cases in Persona.\");\n\nexport const personaListAllCases = action(\"PERSONA_LIST_ALL_CASES\", {\n slug: \"persona-list-all-cases\",\n name: \"List All Cases\",\n description: \"Tool to list all cases in Persona. Use when you need to retrieve a collection of cases with optional filtering and pagination.\",\n input: PersonaListAllCasesInput,\n output: PersonaListAllCasesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-cases.mjs","names":[],"sources":["../../src/actions/list-all-cases.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 PersonaListAllCasesInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of records to return per page.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination. Fetch records after this cursor.\").optional(),\n \"fields.case\": z.string().describe(\"Comma-separated list of attributes to include for case resources.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination. Fetch records before this cursor.\").optional(),\n \"filter.status\": z.string().describe(\"Filter cases by status (e.g., 'open', 'closed').\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.created-at-end\": z.string().describe(\"Filter cases created on or before this timestamp (ISO 8601 format).\").optional(),\n \"filter.created-at-start\": z.string().describe(\"Filter cases created on or after this timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all cases in Persona.\");\nconst PersonaListAllCases_CaseAttributesSchema = z.object({\n name: z.string().describe(\"Name or title of the case.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the case.\").nullable().optional(),\n status: z.string().describe(\"Current status of the case.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the case was created.\").nullable().optional(),\n resolution: z.string().describe(\"Resolution status of the case.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the case was last updated.\").nullable().optional(),\n \"assignee-id\": z.string().describe(\"ID of the user assigned to the case.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a case object.\");\nconst PersonaListAllCases_CaseRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the associated inquiry.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a case object.\");\nconst PersonaListAllCases_CaseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the case.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'case'.\").nullable(),\n attributes: PersonaListAllCases_CaseAttributesSchema.nullable().optional(),\n relationships: PersonaListAllCases_CaseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Case data object returned by Persona API.\");\nconst PersonaListAllCases_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating the result set.\");\nconst PersonaListAllCases_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 relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaListAllCasesOutput = z.object({\n data: z.array(PersonaListAllCases_CaseDataSchema).describe(\"An array of case objects.\"),\n links: PersonaListAllCases_PaginationLinksSchema.nullable(),\n included: z.array(PersonaListAllCases_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all cases in Persona.\");\n\nexport const personaListAllCases: AppAction<\n typeof PersonaListAllCasesInput,\n typeof PersonaListAllCasesOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_CASES\", {\n slug: \"persona-list-all-cases\",\n name: \"List All Cases\",\n description: \"Tool to list all cases in Persona. Use when you need to retrieve a collection of cases with optional filtering and pagination.\",\n input: PersonaListAllCasesInput,\n output: PersonaListAllCasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,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,CAAC,SAAS;CACrL,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7H,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CA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":["z","action"],"sources":["../../src/actions/list-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.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 listing all devices in Persona.\");\n\nexport const personaListAllDevices = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-all-devices.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 PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.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 listing all devices in Persona.\");\n\nexport const personaListAllDevices: AppAction<\n typeof PersonaListAllDevicesInput,\n typeof PersonaListAllDevicesOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC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S,kDAAkD;AAC5E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6BAA6B;CAC5F,OAAO,4CAA4C,SAAS;CAC5D,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,+DAA+D;AAEzF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/list-all-devices.d.ts
|
|
@@ -38,27 +40,7 @@ declare const PersonaListAllDevicesOutput: z.ZodObject<{
|
|
|
38
40
|
}, z.core.$loose>>;
|
|
39
41
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const personaListAllDevices:
|
|
42
|
-
"filter.inquiry-session-id": string;
|
|
43
|
-
page_size?: number | undefined;
|
|
44
|
-
page_after?: string | undefined;
|
|
45
|
-
page_before?: 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>>]>;
|
|
43
|
+
declare const personaListAllDevices: AppAction<typeof PersonaListAllDevicesInput, typeof PersonaListAllDevicesOutput, typeof persona.credential>;
|
|
62
44
|
//#endregion
|
|
63
45
|
export { personaListAllDevices };
|
|
64
46
|
//# sourceMappingURL=list-all-devices.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-devices.d.cts","names":[],"sources":["../../src/actions/list-all-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-devices.d.cts","names":[],"sources":["../../src/actions/list-all-devices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/list-all-devices.d.ts
|
|
@@ -38,27 +40,7 @@ declare const PersonaListAllDevicesOutput: z.ZodObject<{
|
|
|
38
40
|
}, z.core.$loose>>;
|
|
39
41
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const personaListAllDevices:
|
|
42
|
-
"filter.inquiry-session-id": string;
|
|
43
|
-
page_size?: number | undefined;
|
|
44
|
-
page_after?: string | undefined;
|
|
45
|
-
page_before?: 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>>]>;
|
|
43
|
+
declare const personaListAllDevices: AppAction<typeof PersonaListAllDevicesInput, typeof PersonaListAllDevicesOutput, typeof persona.credential>;
|
|
62
44
|
//#endregion
|
|
63
45
|
export { personaListAllDevices };
|
|
64
46
|
//# sourceMappingURL=list-all-devices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-devices.d.mts","names":[],"sources":["../../src/actions/list-all-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-devices.d.mts","names":[],"sources":["../../src/actions/list-all-devices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-devices.mjs","names":[],"sources":["../../src/actions/list-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.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 listing all devices in Persona.\");\n\nexport const personaListAllDevices = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-devices.mjs","names":[],"sources":["../../src/actions/list-all-devices.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 PersonaListAllDevicesInput = z.object({\n page_size: z.number().int().describe(\"Number of results per page. Default: 10, max: 100.\").optional(),\n page_after: z.string().describe(\"Cursor ID to fetch results after.\").optional(),\n page_before: z.string().describe(\"Cursor ID to fetch results before.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.inquiry-session-id\": z.string().describe(\"Filter devices by inquiry session ID (format: iqse_*).\"),\n}).describe(\"Request model for listing all devices in Persona.\");\nconst PersonaListAllDevices_DeviceAttributesSchema = z.object({\n \"created-at\": z.string().describe(\"Timestamp when the device was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the device was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a device in the response.\");\nconst PersonaListAllDevices_DeviceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the device.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'device'.\").nullable(),\n attributes: PersonaListAllDevices_DeviceAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Device data returned in the response.\");\nconst PersonaListAllDevices_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL pointing to the next page of data, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL pointing to the previous page of data, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllDevicesOutput = z.object({\n data: z.array(PersonaListAllDevices_DeviceDataSchema).describe(\"An array of Device objects.\"),\n links: PersonaListAllDevices_PaginationLinksSchema.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 listing all devices in Persona.\");\n\nexport const personaListAllDevices: AppAction<\n typeof PersonaListAllDevicesInput,\n typeof PersonaListAllDevicesOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_DEVICES\", {\n slug: \"persona-list-all-devices\",\n name: \"List All Devices\",\n description: \"Tool to list all devices filtered by inquiry session ID. Use when you need to retrieve devices associated with a specific inquiry session.\",\n input: PersonaListAllDevicesInput,\n output: PersonaListAllDevicesOutput,\n});\n"],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;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAO5E,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6BAA6B;EAC5F,OAAO,4CAA4C,SAAS;EAC5D,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,+DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-events.cjs","names":["z","action"],"sources":["../../src/actions/list-all-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllEventsInput = z.object({\n page_size: z.number().int().describe(\"Number of events to return per page. Must be between 1 and 100.\").optional(),\n page_after: z.string().describe(\"Cursor for forward pagination. The object ID that defines your place in the list. Use this to fetch the next page of results.\").optional(),\n page_before: z.string().describe(\"Cursor for backward pagination. The object ID that defines your place in the list. Use this to fetch the previous page of results.\").optional(),\n fields_events: z.string().describe(\"Comma-separated list of event attributes to include in the response. This can be used to customize which attributes will be serialized. See Persona Serialization docs for more details.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Optional header to prevent duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n filter_created_after: z.string().describe(\"Filter events created after this timestamp. Use ISO 8601 format.\").optional(),\n filter_created_before: z.string().describe(\"Filter events created before this timestamp. Use ISO 8601 format.\").optional(),\n}).describe(\"Request to list all events.\");\nconst PersonaListAllEvents_EventAttributesSchema = z.object({\n name: z.string().describe(\"Name of the event.\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"Event payload containing additional data.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the event was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an event.\");\nconst PersonaListAllEvents_EventDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the event.\").nullable().optional(),\n type: z.string().describe(\"Type of the resource (event).\").nullable().optional(),\n attributes: PersonaListAllEvents_EventAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Event data structure.\");\nconst PersonaListAllEvents_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if on last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results. Null if on first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating results.\");\nexport const PersonaListAllEventsOutput = z.object({\n data: z.array(PersonaListAllEvents_EventDataSchema).describe(\"Array of event objects.\"),\n links: PersonaListAllEvents_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of events.\");\n\nexport const personaListAllEvents = action(\"PERSONA_LIST_ALL_EVENTS\", {\n slug: \"persona-list-all-events\",\n name: \"List all Events\",\n description: \"Tool to list all events from Persona. Use when you need to retrieve events for your organization. Supports pagination and filtering by creation date. Events up to 3 months old can be viewed.\",\n input: PersonaListAllEventsInput,\n output: PersonaListAllEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-events.cjs","names":["z","action"],"sources":["../../src/actions/list-all-events.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 PersonaListAllEventsInput = z.object({\n page_size: z.number().int().describe(\"Number of events to return per page. Must be between 1 and 100.\").optional(),\n page_after: z.string().describe(\"Cursor for forward pagination. The object ID that defines your place in the list. Use this to fetch the next page of results.\").optional(),\n page_before: z.string().describe(\"Cursor for backward pagination. The object ID that defines your place in the list. Use this to fetch the previous page of results.\").optional(),\n fields_events: z.string().describe(\"Comma-separated list of event attributes to include in the response. This can be used to customize which attributes will be serialized. See Persona Serialization docs for more details.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Optional header to prevent duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n filter_created_after: z.string().describe(\"Filter events created after this timestamp. Use ISO 8601 format.\").optional(),\n filter_created_before: z.string().describe(\"Filter events created before this timestamp. Use ISO 8601 format.\").optional(),\n}).describe(\"Request to list all events.\");\nconst PersonaListAllEvents_EventAttributesSchema = z.object({\n name: z.string().describe(\"Name of the event.\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"Event payload containing additional data.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the event was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an event.\");\nconst PersonaListAllEvents_EventDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the event.\").nullable().optional(),\n type: z.string().describe(\"Type of the resource (event).\").nullable().optional(),\n attributes: PersonaListAllEvents_EventAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Event data structure.\");\nconst PersonaListAllEvents_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if on last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results. Null if on first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating results.\");\nexport const PersonaListAllEventsOutput = z.object({\n data: z.array(PersonaListAllEvents_EventDataSchema).describe(\"Array of event objects.\"),\n links: PersonaListAllEvents_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of events.\");\n\nexport const personaListAllEvents: AppAction<\n typeof PersonaListAllEventsInput,\n typeof PersonaListAllEventsOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_EVENTS\", {\n slug: \"persona-list-all-events\",\n name: \"List all Events\",\n description: \"Tool to list all events from Persona. Use when you need to retrieve events for your organization. Supports pagination and filtering by creation date. Events up to 3 months old can be viewed.\",\n input: PersonaListAllEventsInput,\n output: PersonaListAllEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC1K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAChL,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACxO,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACrI,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SA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AAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB;CACtF,OAAO,2CAA2C,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/list-all-events.d.ts
|
|
@@ -40,29 +42,7 @@ declare const PersonaListAllEventsOutput: z.ZodObject<{
|
|
|
40
42
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const personaListAllEvents:
|
|
44
|
-
page_size?: number | undefined;
|
|
45
|
-
page_after?: string | undefined;
|
|
46
|
-
page_before?: string | undefined;
|
|
47
|
-
fields_events?: string | undefined;
|
|
48
|
-
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
49
|
-
idempotency_key?: string | undefined;
|
|
50
|
-
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;
|
|
51
|
-
filter_created_after?: string | undefined;
|
|
52
|
-
filter_created_before?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const personaListAllEvents: AppAction<typeof PersonaListAllEventsInput, typeof PersonaListAllEventsOutput, typeof persona.credential>;
|
|
66
46
|
//#endregion
|
|
67
47
|
export { personaListAllEvents };
|
|
68
48
|
//# sourceMappingURL=list-all-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-events.d.cts","names":[],"sources":["../../src/actions/list-all-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-events.d.cts","names":[],"sources":["../../src/actions/list-all-events.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/list-all-events.d.ts
|
|
@@ -40,29 +42,7 @@ declare const PersonaListAllEventsOutput: z.ZodObject<{
|
|
|
40
42
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const personaListAllEvents:
|
|
44
|
-
page_size?: number | undefined;
|
|
45
|
-
page_after?: string | undefined;
|
|
46
|
-
page_before?: string | undefined;
|
|
47
|
-
fields_events?: string | undefined;
|
|
48
|
-
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
49
|
-
idempotency_key?: string | undefined;
|
|
50
|
-
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;
|
|
51
|
-
filter_created_after?: string | undefined;
|
|
52
|
-
filter_created_before?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"persona", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const personaListAllEvents: AppAction<typeof PersonaListAllEventsInput, typeof PersonaListAllEventsOutput, typeof persona.credential>;
|
|
66
46
|
//#endregion
|
|
67
47
|
export { personaListAllEvents };
|
|
68
48
|
//# sourceMappingURL=list-all-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-events.d.mts","names":[],"sources":["../../src/actions/list-all-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-events.d.mts","names":[],"sources":["../../src/actions/list-all-events.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-events.mjs","names":[],"sources":["../../src/actions/list-all-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllEventsInput = z.object({\n page_size: z.number().int().describe(\"Number of events to return per page. Must be between 1 and 100.\").optional(),\n page_after: z.string().describe(\"Cursor for forward pagination. The object ID that defines your place in the list. Use this to fetch the next page of results.\").optional(),\n page_before: z.string().describe(\"Cursor for backward pagination. The object ID that defines your place in the list. Use this to fetch the previous page of results.\").optional(),\n fields_events: z.string().describe(\"Comma-separated list of event attributes to include in the response. This can be used to customize which attributes will be serialized. See Persona Serialization docs for more details.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Optional header to prevent duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n filter_created_after: z.string().describe(\"Filter events created after this timestamp. Use ISO 8601 format.\").optional(),\n filter_created_before: z.string().describe(\"Filter events created before this timestamp. Use ISO 8601 format.\").optional(),\n}).describe(\"Request to list all events.\");\nconst PersonaListAllEvents_EventAttributesSchema = z.object({\n name: z.string().describe(\"Name of the event.\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"Event payload containing additional data.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the event was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an event.\");\nconst PersonaListAllEvents_EventDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the event.\").nullable().optional(),\n type: z.string().describe(\"Type of the resource (event).\").nullable().optional(),\n attributes: PersonaListAllEvents_EventAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Event data structure.\");\nconst PersonaListAllEvents_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if on last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results. Null if on first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating results.\");\nexport const PersonaListAllEventsOutput = z.object({\n data: z.array(PersonaListAllEvents_EventDataSchema).describe(\"Array of event objects.\"),\n links: PersonaListAllEvents_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of events.\");\n\nexport const personaListAllEvents = action(\"PERSONA_LIST_ALL_EVENTS\", {\n slug: \"persona-list-all-events\",\n name: \"List all Events\",\n description: \"Tool to list all events from Persona. Use when you need to retrieve events for your organization. Supports pagination and filtering by creation date. Events up to 3 months old can be viewed.\",\n input: PersonaListAllEventsInput,\n output: PersonaListAllEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-events.mjs","names":[],"sources":["../../src/actions/list-all-events.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 PersonaListAllEventsInput = z.object({\n page_size: z.number().int().describe(\"Number of events to return per page. Must be between 1 and 100.\").optional(),\n page_after: z.string().describe(\"Cursor for forward pagination. The object ID that defines your place in the list. Use this to fetch the next page of results.\").optional(),\n page_before: z.string().describe(\"Cursor for backward pagination. The object ID that defines your place in the list. Use this to fetch the previous page of results.\").optional(),\n fields_events: z.string().describe(\"Comma-separated list of event attributes to include in the response. This can be used to customize which attributes will be serialized. See Persona Serialization docs for more details.\").optional(),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Optional header to prevent duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Persona API version.\").optional(),\n filter_created_after: z.string().describe(\"Filter events created after this timestamp. Use ISO 8601 format.\").optional(),\n filter_created_before: z.string().describe(\"Filter events created before this timestamp. Use ISO 8601 format.\").optional(),\n}).describe(\"Request to list all events.\");\nconst PersonaListAllEvents_EventAttributesSchema = z.object({\n name: z.string().describe(\"Name of the event.\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"Event payload containing additional data.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the event was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an event.\");\nconst PersonaListAllEvents_EventDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the event.\").nullable().optional(),\n type: z.string().describe(\"Type of the resource (event).\").nullable().optional(),\n attributes: PersonaListAllEvents_EventAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Event data structure.\");\nconst PersonaListAllEvents_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if on last page.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results. Null if on first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating results.\");\nexport const PersonaListAllEventsOutput = z.object({\n data: z.array(PersonaListAllEvents_EventDataSchema).describe(\"Array of event objects.\"),\n links: PersonaListAllEvents_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of events.\");\n\nexport const personaListAllEvents: AppAction<\n typeof PersonaListAllEventsInput,\n typeof PersonaListAllEventsOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_EVENTS\", {\n slug: \"persona-list-all-events\",\n name: \"List all Events\",\n description: \"Tool to list all events from Persona. Use when you need to retrieve events for your organization. Supports pagination and filtering by creation date. Events up to 3 months old can be viewed.\",\n input: PersonaList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AC,SAAS,yBAAyB;AACnD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB;EACtF,OAAO,2CAA2C,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-importers.cjs","names":["z","action"],"sources":["../../src/actions/list-all-importers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllImportersInput = z.object({\n page_size: z.number().int().describe(\"Number of items to return per page. Default is determined by the API.\").optional(),\n page_after: z.string().describe(\"Cursor for pagination. Use the value from 'links.next' in the previous response to fetch the next page.\").optional(),\n page_before: z.string().describe(\"Cursor for pagination. Use the value from 'links.prev' in the previous response to fetch the previous page.\").optional(),\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. Allows customizing 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 listing all importers in Persona.\");\nconst PersonaListAllImporters_ImporterAttributesSchema = z.object({\n status: z.string().describe(\"Current status of the import process (e.g., 'pending', 'processing', 'completed', 'failed').\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the importer was created.\").nullable().optional(),\n \"error-count\": z.number().int().describe(\"Number of errors encountered during import.\").nullable().optional(),\n \"completed-at\": z.string().describe(\"ISO 8601 timestamp when the import was completed.\").nullable().optional(),\n \"duplicate-count\": z.number().int().describe(\"Number of duplicate items found during import.\").nullable().optional(),\n \"successful-count\": z.number().int().describe(\"Number of items successfully imported.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an Importer.\");\nconst PersonaListAllImporters_ImporterDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this Importer.\").nullable().optional(),\n type: z.string().describe(\"Resource type (e.g., 'importer/account', 'importer/email-address-list-item').\").nullable().optional(),\n attributes: PersonaListAllImporters_ImporterAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Data object for an Importer.\");\nconst PersonaListAllImporters_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL to fetch the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL to fetch the previous page of results, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllImportersOutput = z.object({\n data: z.array(PersonaListAllImporters_ImporterDataSchema).describe(\"An array of Importer objects containing import status and results.\"),\n links: PersonaListAllImporters_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default unless specified via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all importers.\");\n\nexport const personaListAllImporters = action(\"PERSONA_LIST_ALL_IMPORTERS\", {\n slug: \"persona-list-all-importers\",\n name: \"List all Importers\",\n description: \"Tool to list all importers in Persona. Use when you need to retrieve a list of all import operations, including account importers, email address list importers, and other types.\",\n input: PersonaListAllImportersInput,\n output: PersonaListAllImportersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-importers.cjs","names":["z","action"],"sources":["../../src/actions/list-all-importers.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 PersonaListAllImportersInput = z.object({\n page_size: z.number().int().describe(\"Number of items to return per page. Default is determined by the API.\").optional(),\n page_after: z.string().describe(\"Cursor for pagination. Use the value from 'links.next' in the previous response to fetch the next page.\").optional(),\n page_before: z.string().describe(\"Cursor for pagination. Use the value from 'links.prev' in the previous response to fetch the previous page.\").optional(),\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. Allows customizing 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 listing all importers in Persona.\");\nconst PersonaListAllImporters_ImporterAttributesSchema = z.object({\n status: z.string().describe(\"Current status of the import process (e.g., 'pending', 'processing', 'completed', 'failed').\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the importer was created.\").nullable().optional(),\n \"error-count\": z.number().int().describe(\"Number of errors encountered during import.\").nullable().optional(),\n \"completed-at\": z.string().describe(\"ISO 8601 timestamp when the import was completed.\").nullable().optional(),\n \"duplicate-count\": z.number().int().describe(\"Number of duplicate items found during import.\").nullable().optional(),\n \"successful-count\": z.number().int().describe(\"Number of items successfully imported.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an Importer.\");\nconst PersonaListAllImporters_ImporterDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this Importer.\").nullable().optional(),\n type: z.string().describe(\"Resource type (e.g., 'importer/account', 'importer/email-address-list-item').\").nullable().optional(),\n attributes: PersonaListAllImporters_ImporterAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Data object for an Importer.\");\nconst PersonaListAllImporters_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL to fetch the next page of results, or null if on the last page.\").nullable().optional(),\n prev: z.string().describe(\"URL to fetch the previous page of results, or null if on the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllImportersOutput = z.object({\n data: z.array(PersonaListAllImporters_ImporterDataSchema).describe(\"An array of Importer objects containing import status and results.\"),\n links: PersonaListAllImporters_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default unless specified via 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all importers.\");\n\nexport const personaListAllImporters: AppAction<\n typeof PersonaListAllImportersInput,\n typeof PersonaListAllImportersOutput,\n typeof persona.credential\n> = action(\"PERSONA_LIST_ALL_IMPORTERS\", {\n slug: \"persona-list-all-importers\",\n name: \"List all Importers\",\n description: \"Tool to list all importers in Persona. Use when you need to retrieve a list of all import operations, including account importers, email address list importers, and other types.\",\n input: PersonaListAllImportersInput,\n output: PersonaListAllImportersOutput,\n});\n"],"mappings":";;;;AA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