@keystrokehq/persona 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-account.cjs +10 -10
- package/dist/actions/add-tag-to-account.cjs.map +1 -1
- package/dist/actions/add-tag-to-account.d.cts +48 -3
- package/dist/actions/add-tag-to-account.d.cts.map +1 -1
- package/dist/actions/add-tag-to-account.d.mts +48 -3
- package/dist/actions/add-tag-to-account.d.mts.map +1 -1
- package/dist/actions/add-tag-to-account.mjs +10 -10
- package/dist/actions/add-tag-to-account.mjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +7 -7
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +31 -3
- 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 +31 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +7 -7
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.cjs +11 -11
- package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.cts +49 -3
- package/dist/actions/archive-a-country-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.mts +49 -3
- package/dist/actions/archive-a-country-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-country-list-item.mjs +11 -11
- package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.cjs +6 -6
- package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.cts +41 -3
- package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.mts +41 -3
- package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.mjs +6 -6
- package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.cjs +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.d.cts +31 -3
- 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 +31 -3
- 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 +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.cjs +6 -6
- package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.cts +30 -3
- package/dist/actions/archive-a-name-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.mts +30 -3
- package/dist/actions/archive-a-name-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-name-list-item.mjs +6 -6
- package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-webhook.cjs +6 -6
- package/dist/actions/archive-a-webhook.cjs.map +1 -1
- package/dist/actions/archive-a-webhook.d.cts +49 -3
- package/dist/actions/archive-a-webhook.d.cts.map +1 -1
- package/dist/actions/archive-a-webhook.d.mts +49 -3
- package/dist/actions/archive-a-webhook.d.mts.map +1 -1
- package/dist/actions/archive-a-webhook.mjs +6 -6
- package/dist/actions/archive-a-webhook.mjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.cjs +5 -5
- package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.cts +50 -3
- package/dist/actions/archive-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.mts +50 -3
- package/dist/actions/archive-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/archive-email-address-list-item.mjs +5 -5
- package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.cjs +8 -8
- package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.d.cts +34 -3
- package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -1
- package/dist/actions/archive-ip-address-list-item.d.mts +34 -3
- package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/archive-ip-address-list-item.mjs +8 -8
- package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.cjs +9 -9
- package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.cts +31 -3
- package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.mts +31 -3
- package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/archive-phone-number-list-item.mjs +9 -9
- package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-string-list-item.cjs +5 -5
- package/dist/actions/archive-string-list-item.cjs.map +1 -1
- package/dist/actions/archive-string-list-item.d.cts +49 -3
- package/dist/actions/archive-string-list-item.d.cts.map +1 -1
- package/dist/actions/archive-string-list-item.d.mts +49 -3
- package/dist/actions/archive-string-list-item.d.mts.map +1 -1
- package/dist/actions/archive-string-list-item.mjs +5 -5
- package/dist/actions/archive-string-list-item.mjs.map +1 -1
- package/dist/actions/clone-webhook.cjs +7 -7
- package/dist/actions/clone-webhook.cjs.map +1 -1
- package/dist/actions/clone-webhook.d.cts +43 -3
- package/dist/actions/clone-webhook.d.cts.map +1 -1
- package/dist/actions/clone-webhook.d.mts +43 -3
- package/dist/actions/clone-webhook.d.mts.map +1 -1
- package/dist/actions/clone-webhook.mjs +7 -7
- package/dist/actions/clone-webhook.mjs.map +1 -1
- package/dist/actions/consolidate-into-account.cjs +2 -2
- package/dist/actions/consolidate-into-account.cjs.map +1 -1
- package/dist/actions/consolidate-into-account.d.cts +28 -3
- package/dist/actions/consolidate-into-account.d.cts.map +1 -1
- package/dist/actions/consolidate-into-account.d.mts +28 -3
- package/dist/actions/consolidate-into-account.d.mts.map +1 -1
- package/dist/actions/consolidate-into-account.mjs +2 -2
- package/dist/actions/consolidate-into-account.mjs.map +1 -1
- package/dist/actions/create-an-account.cjs +16 -16
- package/dist/actions/create-an-account.cjs.map +1 -1
- package/dist/actions/create-an-account.d.cts +121 -3
- package/dist/actions/create-an-account.d.cts.map +1 -1
- package/dist/actions/create-an-account.d.mts +121 -3
- package/dist/actions/create-an-account.d.mts.map +1 -1
- package/dist/actions/create-an-account.mjs +16 -16
- package/dist/actions/create-an-account.mjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.cjs +10 -10
- package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.d.cts +41 -3
- 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 +41 -3
- package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.mjs +10 -10
- package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/create-country-list-item.cjs +8 -8
- package/dist/actions/create-country-list-item.cjs.map +1 -1
- package/dist/actions/create-country-list-item.d.cts +62 -3
- package/dist/actions/create-country-list-item.d.cts.map +1 -1
- package/dist/actions/create-country-list-item.d.mts +62 -3
- package/dist/actions/create-country-list-item.d.mts.map +1 -1
- package/dist/actions/create-country-list-item.mjs +8 -8
- package/dist/actions/create-country-list-item.mjs.map +1 -1
- package/dist/actions/create-document-generic.cjs +9 -9
- package/dist/actions/create-document-generic.cjs.map +1 -1
- package/dist/actions/create-document-generic.d.cts +73 -3
- package/dist/actions/create-document-generic.d.cts.map +1 -1
- package/dist/actions/create-document-generic.d.mts +73 -3
- package/dist/actions/create-document-generic.d.mts.map +1 -1
- package/dist/actions/create-document-generic.mjs +9 -9
- package/dist/actions/create-document-generic.mjs.map +1 -1
- package/dist/actions/create-email-address-list-item.cjs +11 -11
- package/dist/actions/create-email-address-list-item.cjs.map +1 -1
- package/dist/actions/create-email-address-list-item.d.cts +39 -3
- package/dist/actions/create-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/create-email-address-list-item.d.mts +39 -3
- package/dist/actions/create-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/create-email-address-list-item.mjs +11 -11
- package/dist/actions/create-email-address-list-item.mjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.cjs +13 -13
- package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.d.cts +42 -3
- 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 +42 -3
- package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/create-government-id-number-list-item.mjs +13 -13
- package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/create-name-list-item.cjs +12 -12
- package/dist/actions/create-name-list-item.cjs.map +1 -1
- package/dist/actions/create-name-list-item.d.cts +47 -3
- package/dist/actions/create-name-list-item.d.cts.map +1 -1
- package/dist/actions/create-name-list-item.d.mts +47 -3
- package/dist/actions/create-name-list-item.d.mts.map +1 -1
- package/dist/actions/create-name-list-item.mjs +12 -12
- package/dist/actions/create-name-list-item.mjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.cjs +9 -9
- package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.cts +46 -3
- package/dist/actions/create-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.mts +46 -3
- package/dist/actions/create-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/create-phone-number-list-item.mjs +9 -9
- package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/create-string-list-item.cjs +10 -10
- package/dist/actions/create-string-list-item.cjs.map +1 -1
- package/dist/actions/create-string-list-item.d.cts +39 -3
- package/dist/actions/create-string-list-item.d.cts.map +1 -1
- package/dist/actions/create-string-list-item.d.mts +39 -3
- package/dist/actions/create-string-list-item.d.mts.map +1 -1
- package/dist/actions/create-string-list-item.mjs +10 -10
- package/dist/actions/create-string-list-item.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +8 -8
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +72 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +72 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +8 -8
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/disable-webhook.cjs +6 -6
- package/dist/actions/disable-webhook.cjs.map +1 -1
- package/dist/actions/disable-webhook.d.cts +49 -3
- package/dist/actions/disable-webhook.d.cts.map +1 -1
- package/dist/actions/disable-webhook.d.mts +49 -3
- package/dist/actions/disable-webhook.d.mts.map +1 -1
- package/dist/actions/disable-webhook.mjs +6 -6
- package/dist/actions/disable-webhook.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +7 -7
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +47 -3
- package/dist/actions/enable-webhook.d.cts.map +1 -1
- package/dist/actions/enable-webhook.d.mts +47 -3
- package/dist/actions/enable-webhook.d.mts.map +1 -1
- package/dist/actions/enable-webhook.mjs +7 -7
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.cjs +12 -12
- package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.cts +54 -3
- package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.mts +54 -3
- package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -1
- package/dist/actions/expire-inquiry-sessions.mjs +12 -12
- package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/import-email-address-lists.cjs +10 -10
- package/dist/actions/import-email-address-lists.cjs.map +1 -1
- package/dist/actions/import-email-address-lists.d.cts +30 -3
- package/dist/actions/import-email-address-lists.d.cts.map +1 -1
- package/dist/actions/import-email-address-lists.d.mts +30 -3
- package/dist/actions/import-email-address-lists.d.mts.map +1 -1
- package/dist/actions/import-email-address-lists.mjs +10 -10
- package/dist/actions/import-email-address-lists.mjs.map +1 -1
- package/dist/actions/import-ip-address-lists.cjs +10 -10
- package/dist/actions/import-ip-address-lists.cjs.map +1 -1
- package/dist/actions/import-ip-address-lists.d.cts +46 -3
- package/dist/actions/import-ip-address-lists.d.cts.map +1 -1
- package/dist/actions/import-ip-address-lists.d.mts +46 -3
- package/dist/actions/import-ip-address-lists.d.mts.map +1 -1
- package/dist/actions/import-ip-address-lists.mjs +10 -10
- package/dist/actions/import-ip-address-lists.mjs.map +1 -1
- package/dist/actions/import-name-lists.cjs +3 -3
- package/dist/actions/import-name-lists.cjs.map +1 -1
- package/dist/actions/import-name-lists.d.cts +36 -3
- package/dist/actions/import-name-lists.d.cts.map +1 -1
- package/dist/actions/import-name-lists.d.mts +36 -3
- package/dist/actions/import-name-lists.d.mts.map +1 -1
- package/dist/actions/import-name-lists.mjs +3 -3
- package/dist/actions/import-name-lists.mjs.map +1 -1
- package/dist/actions/import-phone-number-lists.cjs +10 -10
- package/dist/actions/import-phone-number-lists.cjs.map +1 -1
- package/dist/actions/import-phone-number-lists.d.cts +46 -3
- package/dist/actions/import-phone-number-lists.d.cts.map +1 -1
- package/dist/actions/import-phone-number-lists.d.mts +46 -3
- package/dist/actions/import-phone-number-lists.d.mts.map +1 -1
- package/dist/actions/import-phone-number-lists.mjs +10 -10
- package/dist/actions/import-phone-number-lists.mjs.map +1 -1
- package/dist/actions/list-all-accounts.cjs +10 -10
- package/dist/actions/list-all-accounts.cjs.map +1 -1
- package/dist/actions/list-all-accounts.d.cts +60 -3
- package/dist/actions/list-all-accounts.d.cts.map +1 -1
- package/dist/actions/list-all-accounts.d.mts +60 -3
- package/dist/actions/list-all-accounts.d.mts.map +1 -1
- package/dist/actions/list-all-accounts.mjs +10 -10
- package/dist/actions/list-all-accounts.mjs.map +1 -1
- package/dist/actions/list-all-api-logs.cjs +12 -12
- package/dist/actions/list-all-api-logs.cjs.map +1 -1
- package/dist/actions/list-all-api-logs.d.cts +54 -3
- package/dist/actions/list-all-api-logs.d.cts.map +1 -1
- package/dist/actions/list-all-api-logs.d.mts +54 -3
- package/dist/actions/list-all-api-logs.d.mts.map +1 -1
- package/dist/actions/list-all-api-logs.mjs +12 -12
- package/dist/actions/list-all-api-logs.mjs.map +1 -1
- package/dist/actions/list-all-cases.cjs +14 -14
- package/dist/actions/list-all-cases.cjs.map +1 -1
- package/dist/actions/list-all-cases.d.cts +66 -3
- package/dist/actions/list-all-cases.d.cts.map +1 -1
- package/dist/actions/list-all-cases.d.mts +66 -3
- package/dist/actions/list-all-cases.d.mts.map +1 -1
- package/dist/actions/list-all-cases.mjs +14 -14
- package/dist/actions/list-all-cases.mjs.map +1 -1
- package/dist/actions/list-all-devices.cjs +7 -7
- package/dist/actions/list-all-devices.cjs.map +1 -1
- package/dist/actions/list-all-devices.d.cts +46 -3
- package/dist/actions/list-all-devices.d.cts.map +1 -1
- package/dist/actions/list-all-devices.d.mts +46 -3
- package/dist/actions/list-all-devices.d.mts.map +1 -1
- package/dist/actions/list-all-devices.mjs +7 -7
- package/dist/actions/list-all-devices.mjs.map +1 -1
- package/dist/actions/list-all-events.cjs +4 -4
- package/dist/actions/list-all-events.cjs.map +1 -1
- package/dist/actions/list-all-events.d.cts +50 -3
- package/dist/actions/list-all-events.d.cts.map +1 -1
- package/dist/actions/list-all-events.d.mts +50 -3
- package/dist/actions/list-all-events.d.mts.map +1 -1
- package/dist/actions/list-all-events.mjs +4 -4
- package/dist/actions/list-all-events.mjs.map +1 -1
- package/dist/actions/list-all-importers.cjs +6 -6
- package/dist/actions/list-all-importers.cjs.map +1 -1
- package/dist/actions/list-all-importers.d.cts +50 -3
- package/dist/actions/list-all-importers.d.cts.map +1 -1
- package/dist/actions/list-all-importers.d.mts +50 -3
- package/dist/actions/list-all-importers.d.mts.map +1 -1
- package/dist/actions/list-all-importers.mjs +6 -6
- package/dist/actions/list-all-importers.mjs.map +1 -1
- package/dist/actions/list-all-inquiries.cjs +11 -11
- package/dist/actions/list-all-inquiries.cjs.map +1 -1
- package/dist/actions/list-all-inquiries.d.cts +63 -3
- package/dist/actions/list-all-inquiries.d.cts.map +1 -1
- package/dist/actions/list-all-inquiries.d.mts +63 -3
- package/dist/actions/list-all-inquiries.d.mts.map +1 -1
- package/dist/actions/list-all-inquiries.mjs +11 -11
- package/dist/actions/list-all-inquiries.mjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.cjs +13 -13
- package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.cts +56 -3
- package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.mts +56 -3
- package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.mjs +13 -13
- package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs +7 -7
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +45 -3
- package/dist/actions/list-all-lists.d.cts.map +1 -1
- package/dist/actions/list-all-lists.d.mts +45 -3
- package/dist/actions/list-all-lists.d.mts.map +1 -1
- package/dist/actions/list-all-lists.mjs +7 -7
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-all-rate-limits.cjs +3 -3
- package/dist/actions/list-all-rate-limits.cjs.map +1 -1
- package/dist/actions/list-all-rate-limits.d.cts +36 -3
- package/dist/actions/list-all-rate-limits.d.cts.map +1 -1
- package/dist/actions/list-all-rate-limits.d.mts +36 -3
- package/dist/actions/list-all-rate-limits.d.mts.map +1 -1
- package/dist/actions/list-all-rate-limits.mjs +3 -3
- package/dist/actions/list-all-rate-limits.mjs.map +1 -1
- package/dist/actions/list-all-reports.cjs +12 -12
- package/dist/actions/list-all-reports.cjs.map +1 -1
- package/dist/actions/list-all-reports.d.cts +65 -3
- package/dist/actions/list-all-reports.d.cts.map +1 -1
- package/dist/actions/list-all-reports.d.mts +65 -3
- package/dist/actions/list-all-reports.d.mts.map +1 -1
- package/dist/actions/list-all-reports.mjs +12 -12
- package/dist/actions/list-all-reports.mjs.map +1 -1
- package/dist/actions/list-all-transactions.cjs +10 -10
- package/dist/actions/list-all-transactions.cjs.map +1 -1
- package/dist/actions/list-all-transactions.d.cts +55 -3
- package/dist/actions/list-all-transactions.d.cts.map +1 -1
- package/dist/actions/list-all-transactions.d.mts +55 -3
- package/dist/actions/list-all-transactions.d.mts.map +1 -1
- package/dist/actions/list-all-transactions.mjs +10 -10
- package/dist/actions/list-all-transactions.mjs.map +1 -1
- package/dist/actions/list-all-webhooks.cjs +8 -8
- package/dist/actions/list-all-webhooks.cjs.map +1 -1
- package/dist/actions/list-all-webhooks.d.cts +57 -3
- package/dist/actions/list-all-webhooks.d.cts.map +1 -1
- package/dist/actions/list-all-webhooks.d.mts +57 -3
- package/dist/actions/list-all-webhooks.d.mts.map +1 -1
- package/dist/actions/list-all-webhooks.mjs +8 -8
- package/dist/actions/list-all-webhooks.mjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.cjs +12 -12
- package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.cts +65 -3
- package/dist/actions/list-all-workflow-runs.d.cts.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.mts +65 -3
- package/dist/actions/list-all-workflow-runs.d.mts.map +1 -1
- package/dist/actions/list-all-workflow-runs.mjs +12 -12
- package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
- package/dist/actions/redact-an-account.cjs +13 -13
- package/dist/actions/redact-an-account.cjs.map +1 -1
- package/dist/actions/redact-an-account.d.cts +55 -3
- package/dist/actions/redact-an-account.d.cts.map +1 -1
- package/dist/actions/redact-an-account.d.mts +55 -3
- package/dist/actions/redact-an-account.d.mts.map +1 -1
- package/dist/actions/redact-an-account.mjs +13 -13
- package/dist/actions/redact-an-account.mjs.map +1 -1
- package/dist/actions/remove-account-tag.cjs +9 -9
- package/dist/actions/remove-account-tag.cjs.map +1 -1
- package/dist/actions/remove-account-tag.d.cts +46 -3
- package/dist/actions/remove-account-tag.d.cts.map +1 -1
- package/dist/actions/remove-account-tag.d.mts +46 -3
- package/dist/actions/remove-account-tag.d.mts.map +1 -1
- package/dist/actions/remove-account-tag.mjs +9 -9
- package/dist/actions/remove-account-tag.mjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.cjs +8 -8
- package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.cts +49 -3
- package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.mts +49 -3
- package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.mjs +8 -8
- package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.cjs +7 -7
- package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts +54 -3
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts +54 -3
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.mjs +7 -7
- package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.cjs +5 -5
- package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.cts +50 -3
- package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.mts +50 -3
- package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.mjs +5 -5
- package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.cjs +8 -8
- package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.cts +49 -3
- package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.mts +49 -3
- package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.mjs +8 -8
- package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.cjs +10 -10
- package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.cts +54 -3
- package/dist/actions/retrieve-a-webhook.d.cts.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.mts +54 -3
- package/dist/actions/retrieve-a-webhook.d.mts.map +1 -1
- package/dist/actions/retrieve-a-webhook.mjs +10 -10
- package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
- package/dist/actions/retrieve-an-account.cjs +13 -13
- package/dist/actions/retrieve-an-account.cjs.map +1 -1
- package/dist/actions/retrieve-an-account.d.cts +55 -3
- package/dist/actions/retrieve-an-account.d.cts.map +1 -1
- package/dist/actions/retrieve-an-account.d.mts +55 -3
- package/dist/actions/retrieve-an-account.d.mts.map +1 -1
- package/dist/actions/retrieve-an-account.mjs +13 -13
- package/dist/actions/retrieve-an-account.mjs.map +1 -1
- package/dist/actions/retrieve-an-event.cjs +9 -9
- package/dist/actions/retrieve-an-event.cjs.map +1 -1
- package/dist/actions/retrieve-an-event.d.cts +46 -3
- package/dist/actions/retrieve-an-event.d.cts.map +1 -1
- package/dist/actions/retrieve-an-event.d.mts +46 -3
- package/dist/actions/retrieve-an-event.d.mts.map +1 -1
- package/dist/actions/retrieve-an-event.mjs +9 -9
- package/dist/actions/retrieve-an-event.mjs.map +1 -1
- package/dist/actions/retrieve-an-importer.cjs +5 -5
- package/dist/actions/retrieve-an-importer.cjs.map +1 -1
- package/dist/actions/retrieve-an-importer.d.cts +44 -3
- package/dist/actions/retrieve-an-importer.d.cts.map +1 -1
- package/dist/actions/retrieve-an-importer.d.mts +44 -3
- package/dist/actions/retrieve-an-importer.d.mts.map +1 -1
- package/dist/actions/retrieve-an-importer.mjs +5 -5
- package/dist/actions/retrieve-an-importer.mjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.cjs +5 -5
- package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.d.cts +49 -3
- 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 +49 -3
- package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.mjs +5 -5
- package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-api-log.cjs +16 -16
- package/dist/actions/retrieve-api-log.cjs.map +1 -1
- package/dist/actions/retrieve-api-log.d.cts +54 -3
- package/dist/actions/retrieve-api-log.d.cts.map +1 -1
- package/dist/actions/retrieve-api-log.d.mts +54 -3
- package/dist/actions/retrieve-api-log.d.mts.map +1 -1
- package/dist/actions/retrieve-api-log.mjs +16 -16
- package/dist/actions/retrieve-api-log.mjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +9 -9
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +47 -3
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +47 -3
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +9 -9
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-document-generic.cjs +22 -22
- package/dist/actions/retrieve-document-generic.cjs.map +1 -1
- package/dist/actions/retrieve-document-generic.d.cts +61 -3
- package/dist/actions/retrieve-document-generic.d.cts.map +1 -1
- package/dist/actions/retrieve-document-generic.d.mts +61 -3
- package/dist/actions/retrieve-document-generic.d.mts.map +1 -1
- package/dist/actions/retrieve-document-generic.mjs +22 -22
- package/dist/actions/retrieve-document-generic.mjs.map +1 -1
- package/dist/actions/retrieve-document.cjs +18 -18
- package/dist/actions/retrieve-document.cjs.map +1 -1
- package/dist/actions/retrieve-document.d.cts +81 -3
- package/dist/actions/retrieve-document.d.cts.map +1 -1
- package/dist/actions/retrieve-document.d.mts +81 -3
- package/dist/actions/retrieve-document.d.mts.map +1 -1
- package/dist/actions/retrieve-document.mjs +18 -18
- package/dist/actions/retrieve-document.mjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.cjs +5 -5
- package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.cts +50 -3
- package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.mts +50 -3
- package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.mjs +5 -5
- package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.cjs +5 -5
- package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.d.cts +50 -3
- 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 +50 -3
- package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.mjs +5 -5
- package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.cjs +11 -11
- package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.cts +52 -3
- package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.mts +52 -3
- package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.mjs +11 -11
- package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.cjs +9 -9
- package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.cts +53 -3
- package/dist/actions/rotate-webhook-secret.d.cts.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.mts +53 -3
- package/dist/actions/rotate-webhook-secret.d.mts.map +1 -1
- package/dist/actions/rotate-webhook-secret.mjs +9 -9
- package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs +8 -8
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +71 -3
- package/dist/actions/search-accounts.d.cts.map +1 -1
- package/dist/actions/search-accounts.d.mts +71 -3
- package/dist/actions/search-accounts.d.mts.map +1 -1
- package/dist/actions/search-accounts.mjs +8 -8
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-cases.cjs +10 -10
- package/dist/actions/search-cases.cjs.map +1 -1
- package/dist/actions/search-cases.d.cts +69 -3
- package/dist/actions/search-cases.d.cts.map +1 -1
- package/dist/actions/search-cases.d.mts +69 -3
- package/dist/actions/search-cases.d.mts.map +1 -1
- package/dist/actions/search-cases.mjs +10 -10
- package/dist/actions/search-cases.mjs.map +1 -1
- package/dist/actions/set-tags.cjs +10 -10
- package/dist/actions/set-tags.cjs.map +1 -1
- package/dist/actions/set-tags.d.cts +52 -3
- package/dist/actions/set-tags.d.cts.map +1 -1
- package/dist/actions/set-tags.d.mts +52 -3
- package/dist/actions/set-tags.d.mts.map +1 -1
- package/dist/actions/set-tags.mjs +10 -10
- package/dist/actions/set-tags.mjs.map +1 -1
- package/dist/actions/update-a-webhook.cjs +10 -10
- package/dist/actions/update-a-webhook.cjs.map +1 -1
- package/dist/actions/update-a-webhook.d.cts +69 -3
- package/dist/actions/update-a-webhook.d.cts.map +1 -1
- package/dist/actions/update-a-webhook.d.mts +69 -3
- package/dist/actions/update-a-webhook.d.mts.map +1 -1
- package/dist/actions/update-a-webhook.mjs +10 -10
- package/dist/actions/update-a-webhook.mjs.map +1 -1
- package/dist/actions/update-an-account.cjs +14 -14
- package/dist/actions/update-an-account.cjs.map +1 -1
- package/dist/actions/update-an-account.d.cts +113 -3
- package/dist/actions/update-an-account.d.cts.map +1 -1
- package/dist/actions/update-an-account.d.mts +113 -3
- package/dist/actions/update-an-account.d.mts.map +1 -1
- package/dist/actions/update-an-account.mjs +14 -14
- package/dist/actions/update-an-account.mjs.map +1 -1
- package/dist/actions/update-document-generic.cjs +20 -20
- package/dist/actions/update-document-generic.cjs.map +1 -1
- package/dist/actions/update-document-generic.d.cts +87 -3
- package/dist/actions/update-document-generic.d.cts.map +1 -1
- package/dist/actions/update-document-generic.d.mts +87 -3
- package/dist/actions/update-document-generic.d.mts.map +1 -1
- package/dist/actions/update-document-generic.mjs +20 -20
- package/dist/actions/update-document-generic.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-workflow-runs.mjs","names":[],"sources":["../../src/actions/list-all-workflow-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWorkflowRunsInput
|
|
1
|
+
{"version":3,"file":"list-all-workflow-runs.mjs","names":[],"sources":["../../src/actions/list-all-workflow-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaListAllWorkflowRunsInput = z.object({\n \"page.size\": z.number().int().describe(\"Number of items to return per page. Defaults to API default if not specified.\").optional(),\n \"page.after\": z.string().describe(\"Cursor for pagination to fetch records after this cursor.\").optional(),\n \"page.before\": z.string().describe(\"Cursor for pagination to fetch records before this cursor.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n \"filter.account-id\": z.string().describe(\"Filter workflow runs by account ID.\").optional(),\n \"filter.inquiry-id\": z.string().describe(\"Filter workflow runs by inquiry ID.\").optional(),\n \"filter.workflow-id\": z.string().describe(\"Filter workflow runs by workflow ID.\").optional(),\n \"fields.workflow-run\": z.string().describe(\"Comma-separated list of workflow-run attributes to include in the response.\").optional(),\n \"filter.session-token\": z.string().describe(\"Filter workflow runs by session token.\").optional(),\n}).describe(\"Request model for listing all workflow runs in Persona.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunMetaSchema = z.object({\n \"session-token\": z.string().describe(\"Session token for the workflow run.\").nullable().optional(),\n}).passthrough().describe(\"Meta information of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema = z.object({\n status: z.string().describe(\"Status of the workflow run.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the workflow run was created.\").nullable().optional(),\n \"expired-at\": z.string().describe(\"Timestamp when the workflow run expired.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the workflow run was last updated.\").nullable().optional(),\n \"completed-at\": z.string().describe(\"Timestamp when the workflow run was completed.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema = z.object({\n account: z.record(z.string(), z.unknown()).describe(\"Relationship to the account.\").nullable().optional(),\n inquiry: z.record(z.string(), z.unknown()).describe(\"Relationship to the inquiry.\").nullable().optional(),\n workflow: z.record(z.string(), z.unknown()).describe(\"Relationship to the workflow.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a workflow run.\");\nconst PersonaListAllWorkflowRuns_WorkflowRunDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workflow run.\").nullable(),\n meta: PersonaListAllWorkflowRuns_WorkflowRunMetaSchema.nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'workflow-run'.\").nullable(),\n attributes: PersonaListAllWorkflowRuns_WorkflowRunAttributesSchema.nullable().optional(),\n relationships: PersonaListAllWorkflowRuns_WorkflowRunRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"A Workflow Run object.\");\nconst PersonaListAllWorkflowRuns_PaginationLinksSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if no more pages.\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page of results. Null if on first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const PersonaListAllWorkflowRunsOutput = z.object({\n data: z.array(PersonaListAllWorkflowRuns_WorkflowRunDataSchema).describe(\"Array of workflow run objects.\"),\n links: PersonaListAllWorkflowRuns_PaginationLinksSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response. Excluded by default.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all workflow runs.\");\n\nexport const personaListAllWorkflowRuns = action(\"PERSONA_LIST_ALL_WORKFLOW_RUNS\", {\n slug: \"persona-list-all-workflow-runs\",\n name: \"List all Workflow Runs\",\n description: \"Tool to list all workflow runs in Persona. Use when you need to retrieve workflow runs with optional filtering by workflow ID, inquiry ID, account ID, or session token. Supports pagination for large result sets.\",\n input: PersonaListAllWorkflowRunsInput,\n output: PersonaListAllWorkflowRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,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,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnI,wBAAwB,EAAE,OAAO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C,CAAC,SAAS,kCAAkC;AAC5D,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,YAAY,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAO5E,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gCAAgC;EACzG,OAAO,iDAAiD,SAAS;EACjE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/redact-an-account.ts
|
|
4
4
|
const PersonaRedactAnAccountInput = zod.z.object({
|
|
5
|
-
fields: zod.z.
|
|
5
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Comma-separated list(s) of attributes to include in the response. Use to customize which attributes will be serialized. Format: {'resource_type': 'field1,field2'}.").optional(),
|
|
6
6
|
include: zod.z.string().describe("A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.").optional(),
|
|
7
7
|
account_id: zod.z.string().describe("The ID of the account to redact. Must be a valid account ID starting with 'act_'."),
|
|
8
8
|
key_inflection: zod.z.enum([
|
|
@@ -24,31 +24,31 @@ const PersonaRedactAnAccountInput = zod.z.object({
|
|
|
24
24
|
}).describe("Request model for redacting an account in Persona.");
|
|
25
25
|
const PersonaRedactAnAccount_ResponseAccountAttributesSchema = zod.z.object({
|
|
26
26
|
tags: zod.z.array(zod.z.string()).describe("Tags associated with the account.").nullable().optional(),
|
|
27
|
-
fields: zod.z.
|
|
27
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields for the account. This is not key inflected.").nullable().optional(),
|
|
28
28
|
"created-at": zod.z.string().describe("ISO 8601 timestamp when the account was created.").nullable().optional(),
|
|
29
29
|
"updated-at": zod.z.string().describe("ISO 8601 timestamp when the account was last updated.").nullable().optional(),
|
|
30
30
|
"redacted-at": zod.z.string().describe("ISO 8601 timestamp when the account was redacted.").nullable().optional(),
|
|
31
31
|
"reference-id": zod.z.string().describe("External reference ID for the account.").nullable().optional(),
|
|
32
32
|
"account-status": zod.z.string().describe("Status of the account.").nullable().optional(),
|
|
33
33
|
"account-type-name": zod.z.string().describe("Name of the account type.").nullable().optional()
|
|
34
|
-
}).describe("Attributes returned in the account response.");
|
|
35
|
-
const PersonaRedactAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.
|
|
36
|
-
const PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
|
|
34
|
+
}).passthrough().describe("Attributes returned in the account response.");
|
|
35
|
+
const PersonaRedactAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
|
|
36
|
+
const PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
|
|
37
37
|
const PersonaRedactAnAccount_ResponseAccountDataSchema = zod.z.object({
|
|
38
|
-
id: zod.z.string().describe("Unique identifier for the account."),
|
|
39
|
-
type: zod.z.string().describe("Resource type, typically 'account'."),
|
|
38
|
+
id: zod.z.string().describe("Unique identifier for the account.").nullable(),
|
|
39
|
+
type: zod.z.string().describe("Resource type, typically 'account'.").nullable(),
|
|
40
40
|
attributes: PersonaRedactAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
|
|
41
41
|
relationships: PersonaRedactAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
|
|
42
|
-
}).describe("Account data returned in the response.");
|
|
42
|
+
}).passthrough().describe("Account data returned in the response.");
|
|
43
43
|
const PersonaRedactAnAccount_IncludedResourceSchema = zod.z.object({
|
|
44
|
-
id: zod.z.string().describe("Unique identifier for the included resource."),
|
|
45
|
-
type: zod.z.string().describe("Resource type."),
|
|
46
|
-
attributes: zod.z.
|
|
47
|
-
}).describe("Included resources in the response.");
|
|
44
|
+
id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
|
|
45
|
+
type: zod.z.string().describe("Resource type.").nullable(),
|
|
46
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the included resource.").nullable().optional()
|
|
47
|
+
}).passthrough().describe("Included resources in the response.");
|
|
48
48
|
const PersonaRedactAnAccountOutput = zod.z.object({
|
|
49
49
|
data: PersonaRedactAnAccount_ResponseAccountDataSchema.nullable().optional(),
|
|
50
50
|
included: zod.z.array(PersonaRedactAnAccount_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
|
|
51
|
-
}).describe("Response model returned after redacting an account in Persona.");
|
|
51
|
+
}).passthrough().describe("Response model returned after redacting an account in Persona.");
|
|
52
52
|
const personaRedactAnAccount = require_action.action("PERSONA_REDACT_AN_ACCOUNT", {
|
|
53
53
|
slug: "persona-redact-an-account",
|
|
54
54
|
name: "Redact an Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redact-an-account.cjs","names":["z","action"],"sources":["../../src/actions/redact-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRedactAnAccountInput
|
|
1
|
+
{"version":3,"file":"redact-an-account.cjs","names":["z","action"],"sources":["../../src/actions/redact-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRedactAnAccountInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. Use to customize which attributes will be serialized. Format: {'resource_type': 'field1,field2'}.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"The ID of the account to redact. Must be a valid account ID starting with 'act_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for retries to avoid duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for redacting an account in Persona.\");\nconst PersonaRedactAnAccount_ResponseAccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the account was redacted.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).passthrough().describe(\"Attributes returned in the account response.\");\nconst PersonaRedactAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRedactAnAccount_ResponseAccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaRedactAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaRedactAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRedactAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaRedactAnAccountOutput = z.object({\n data: PersonaRedactAnAccount_ResponseAccountDataSchema.nullable().optional(),\n included: z.array(PersonaRedactAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after redacting an account in Persona.\");\n\nexport const personaRedactAnAccount = action(\"PERSONA_REDACT_AN_ACCOUNT\", {\n slug: \"persona-redact-an-account\",\n name: \"Redact an Account\",\n description: \"Tool to permanently redact an account in Persona. Use when you need to delete sensitive personal information from an account to comply with privacy regulations or user requests. This operation is irreversible.\",\n input: PersonaRedactAnAccountInput,\n output: PersonaRedactAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACnO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CACnH,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAChJ,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CA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SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/redact-an-account.d.ts
|
|
4
|
-
declare const PersonaRedactAnAccountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersonaRedactAnAccountInput: z.ZodObject<{
|
|
5
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
|
+
include: z.ZodOptional<z.ZodString>;
|
|
7
|
+
account_id: z.ZodString;
|
|
8
|
+
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
camel: "camel";
|
|
10
|
+
kebab: "kebab";
|
|
11
|
+
snake: "snake";
|
|
12
|
+
}>>;
|
|
13
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
14
|
+
persona_version: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
"2025-12-08": "2025-12-08";
|
|
16
|
+
"2025-10-27": "2025-10-27";
|
|
17
|
+
"2023-01-05": "2023-01-05";
|
|
18
|
+
"2022-09-01": "2022-09-01";
|
|
19
|
+
"2021-08-18": "2021-08-18";
|
|
20
|
+
"2021-07-05": "2021-07-05";
|
|
21
|
+
"2021-02-21": "2021-02-21";
|
|
22
|
+
"2020-05-18": "2020-05-18";
|
|
23
|
+
}>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const PersonaRedactAnAccountOutput: z.ZodObject<{
|
|
26
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
id: z.ZodNullable<z.ZodString>;
|
|
28
|
+
type: z.ZodNullable<z.ZodString>;
|
|
29
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
31
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
+
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
|
+
"account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
|
+
id: z.ZodNullable<z.ZodString>;
|
|
47
|
+
type: z.ZodNullable<z.ZodString>;
|
|
48
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
|
+
}, z.core.$loose>>>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
|
+
declare const personaRedactAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
|
+
account_id: string;
|
|
53
|
+
fields?: Record<string, unknown> | undefined;
|
|
54
|
+
include?: string | undefined;
|
|
55
|
+
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
56
|
+
idempotency_key?: string | undefined;
|
|
57
|
+
persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
59
|
//#endregion
|
|
8
60
|
export { personaRedactAnAccount };
|
|
9
61
|
//# sourceMappingURL=redact-an-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redact-an-account.d.cts","names":[],"sources":["../../src/actions/redact-an-account.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"redact-an-account.d.cts","names":[],"sources":["../../src/actions/redact-an-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA;;WAMjC,MAAA"}
|
|
@@ -1,9 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/redact-an-account.d.ts
|
|
4
|
-
declare const PersonaRedactAnAccountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersonaRedactAnAccountInput: z.ZodObject<{
|
|
5
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
|
+
include: z.ZodOptional<z.ZodString>;
|
|
7
|
+
account_id: z.ZodString;
|
|
8
|
+
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
camel: "camel";
|
|
10
|
+
kebab: "kebab";
|
|
11
|
+
snake: "snake";
|
|
12
|
+
}>>;
|
|
13
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
14
|
+
persona_version: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
"2025-12-08": "2025-12-08";
|
|
16
|
+
"2025-10-27": "2025-10-27";
|
|
17
|
+
"2023-01-05": "2023-01-05";
|
|
18
|
+
"2022-09-01": "2022-09-01";
|
|
19
|
+
"2021-08-18": "2021-08-18";
|
|
20
|
+
"2021-07-05": "2021-07-05";
|
|
21
|
+
"2021-02-21": "2021-02-21";
|
|
22
|
+
"2020-05-18": "2020-05-18";
|
|
23
|
+
}>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const PersonaRedactAnAccountOutput: z.ZodObject<{
|
|
26
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
id: z.ZodNullable<z.ZodString>;
|
|
28
|
+
type: z.ZodNullable<z.ZodString>;
|
|
29
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
31
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
+
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
|
+
"account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
|
+
id: z.ZodNullable<z.ZodString>;
|
|
47
|
+
type: z.ZodNullable<z.ZodString>;
|
|
48
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
|
+
}, z.core.$loose>>>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
|
+
declare const personaRedactAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
|
+
account_id: string;
|
|
53
|
+
fields?: Record<string, unknown> | undefined;
|
|
54
|
+
include?: string | undefined;
|
|
55
|
+
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
56
|
+
idempotency_key?: string | undefined;
|
|
57
|
+
persona_version?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
59
|
//#endregion
|
|
8
60
|
export { personaRedactAnAccount };
|
|
9
61
|
//# sourceMappingURL=redact-an-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redact-an-account.d.mts","names":[],"sources":["../../src/actions/redact-an-account.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"redact-an-account.d.mts","names":[],"sources":["../../src/actions/redact-an-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA;;WAMjC,MAAA"}
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/redact-an-account.ts
|
|
4
4
|
const PersonaRedactAnAccountInput = z.object({
|
|
5
|
-
fields: z.
|
|
5
|
+
fields: z.record(z.string(), z.unknown()).describe("Comma-separated list(s) of attributes to include in the response. Use to customize which attributes will be serialized. Format: {'resource_type': 'field1,field2'}.").optional(),
|
|
6
6
|
include: z.string().describe("A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.").optional(),
|
|
7
7
|
account_id: z.string().describe("The ID of the account to redact. Must be a valid account ID starting with 'act_'."),
|
|
8
8
|
key_inflection: z.enum([
|
|
@@ -24,27 +24,27 @@ const PersonaRedactAnAccountInput = z.object({
|
|
|
24
24
|
}).describe("Request model for redacting an account in Persona.");
|
|
25
25
|
const PersonaRedactAnAccount_ResponseAccountAttributesSchema = z.object({
|
|
26
26
|
tags: z.array(z.string()).describe("Tags associated with the account.").nullable().optional(),
|
|
27
|
-
fields: z.
|
|
27
|
+
fields: z.record(z.string(), z.unknown()).describe("Custom fields for the account. This is not key inflected.").nullable().optional(),
|
|
28
28
|
"created-at": z.string().describe("ISO 8601 timestamp when the account was created.").nullable().optional(),
|
|
29
29
|
"updated-at": z.string().describe("ISO 8601 timestamp when the account was last updated.").nullable().optional(),
|
|
30
30
|
"redacted-at": z.string().describe("ISO 8601 timestamp when the account was redacted.").nullable().optional(),
|
|
31
31
|
"reference-id": z.string().describe("External reference ID for the account.").nullable().optional(),
|
|
32
32
|
"account-status": z.string().describe("Status of the account.").nullable().optional(),
|
|
33
33
|
"account-type-name": z.string().describe("Name of the account type.").nullable().optional()
|
|
34
|
-
}).describe("Attributes returned in the account response.");
|
|
35
|
-
const PersonaRedactAnAccount_RelationshipDataSchema = z.object({ data: z.
|
|
36
|
-
const PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = z.object({ "account-type": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
|
|
34
|
+
}).passthrough().describe("Attributes returned in the account response.");
|
|
35
|
+
const PersonaRedactAnAccount_RelationshipDataSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
|
|
36
|
+
const PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = z.object({ "account-type": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
|
|
37
37
|
const PersonaRedactAnAccount_ResponseAccountDataSchema = z.object({
|
|
38
|
-
id: z.string().describe("Unique identifier for the account."),
|
|
39
|
-
type: z.string().describe("Resource type, typically 'account'."),
|
|
38
|
+
id: z.string().describe("Unique identifier for the account.").nullable(),
|
|
39
|
+
type: z.string().describe("Resource type, typically 'account'.").nullable(),
|
|
40
40
|
attributes: PersonaRedactAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
|
|
41
41
|
relationships: PersonaRedactAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
|
|
42
|
-
}).describe("Account data returned in the response.");
|
|
42
|
+
}).passthrough().describe("Account data returned in the response.");
|
|
43
43
|
const PersonaRedactAnAccount_IncludedResourceSchema = z.object({
|
|
44
|
-
id: z.string().describe("Unique identifier for the included resource."),
|
|
45
|
-
type: z.string().describe("Resource type."),
|
|
46
|
-
attributes: z.
|
|
47
|
-
}).describe("Included resources in the response.");
|
|
44
|
+
id: z.string().describe("Unique identifier for the included resource.").nullable(),
|
|
45
|
+
type: z.string().describe("Resource type.").nullable(),
|
|
46
|
+
attributes: z.record(z.string(), z.unknown()).describe("Attributes of the included resource.").nullable().optional()
|
|
47
|
+
}).passthrough().describe("Included resources in the response.");
|
|
48
48
|
const personaRedactAnAccount = action("PERSONA_REDACT_AN_ACCOUNT", {
|
|
49
49
|
slug: "persona-redact-an-account",
|
|
50
50
|
name: "Redact an Account",
|
|
@@ -53,7 +53,7 @@ const personaRedactAnAccount = action("PERSONA_REDACT_AN_ACCOUNT", {
|
|
|
53
53
|
output: z.object({
|
|
54
54
|
data: PersonaRedactAnAccount_ResponseAccountDataSchema.nullable().optional(),
|
|
55
55
|
included: z.array(PersonaRedactAnAccount_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
|
|
56
|
-
}).describe("Response model returned after redacting an account in Persona.")
|
|
56
|
+
}).passthrough().describe("Response model returned after redacting an account in Persona.")
|
|
57
57
|
});
|
|
58
58
|
//#endregion
|
|
59
59
|
export { personaRedactAnAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redact-an-account.mjs","names":[],"sources":["../../src/actions/redact-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRedactAnAccountInput
|
|
1
|
+
{"version":3,"file":"redact-an-account.mjs","names":[],"sources":["../../src/actions/redact-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRedactAnAccountInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. Use to customize which attributes will be serialized. Format: {'resource_type': 'field1,field2'}.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"The ID of the account to redact. Must be a valid account ID starting with 'act_'.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Use the same key for retries to avoid duplicate operations.\").optional(),\n persona_version: z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for redacting an account in Persona.\");\nconst PersonaRedactAnAccount_ResponseAccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected.\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the account was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the account was last updated.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the account was redacted.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n}).passthrough().describe(\"Attributes returned in the account response.\");\nconst PersonaRedactAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRedactAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaRedactAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaRedactAnAccount_ResponseAccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaRedactAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaRedactAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRedactAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).passthrough().describe(\"Included resources in the response.\");\nexport const PersonaRedactAnAccountOutput = z.object({\n data: PersonaRedactAnAccount_ResponseAccountDataSchema.nullable().optional(),\n included: z.array(PersonaRedactAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after redacting an account in Persona.\");\n\nexport const personaRedactAnAccount = action(\"PERSONA_REDACT_AN_ACCOUNT\", {\n slug: \"persona-redact-an-account\",\n name: \"Redact an Account\",\n description: \"Tool to permanently redact an account in Persona. Use when you need to delete sensitive personal information from an account to comply with privacy regulations or user requests. This operation is irreversible.\",\n input: PersonaRedactAnAccountInput,\n output: PersonaRedactAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACnO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CACnH,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,S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aRemoveAccountTag_AccountAttributesSchema = zod.z.object({
|
|
|
21
21
|
"reference-id": zod.z.string().describe("External reference ID for the account").nullable().optional(),
|
|
22
22
|
"account-status": zod.z.string().describe("Status of the account").nullable().optional(),
|
|
23
23
|
"account-type-name": zod.z.string().describe("Name of the account type").nullable().optional()
|
|
24
|
-
}).describe("Attributes of a Persona Account.");
|
|
25
|
-
const PersonaRemoveAccountTag_AccountRelationshipsSchema = zod.z.object({ "account-type": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Account type relationship data").nullable().optional() }).describe("Relationships of a Persona Account.");
|
|
24
|
+
}).passthrough().describe("Attributes of a Persona Account.");
|
|
25
|
+
const PersonaRemoveAccountTag_AccountRelationshipsSchema = zod.z.object({ "account-type": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Account type relationship data").nullable().optional() }).passthrough().describe("Relationships of a Persona Account.");
|
|
26
26
|
const PersonaRemoveAccountTag_AccountDataSchema = zod.z.object({
|
|
27
|
-
id: zod.z.string().describe("Unique identifier for the account"),
|
|
28
|
-
type: zod.z.string().describe("Resource type, typically 'account'"),
|
|
27
|
+
id: zod.z.string().describe("Unique identifier for the account").nullable(),
|
|
28
|
+
type: zod.z.string().describe("Resource type, typically 'account'").nullable(),
|
|
29
29
|
attributes: PersonaRemoveAccountTag_AccountAttributesSchema.nullable().optional(),
|
|
30
30
|
relationships: PersonaRemoveAccountTag_AccountRelationshipsSchema.nullable().optional()
|
|
31
|
-
}).describe("Account data returned in the response.");
|
|
31
|
+
}).passthrough().describe("Account data returned in the response.");
|
|
32
32
|
const PersonaRemoveAccountTag_IncludedResourceSchema = zod.z.object({
|
|
33
|
-
id: zod.z.string().describe("Unique identifier for the included resource"),
|
|
34
|
-
type: zod.z.string().describe("Resource type"),
|
|
33
|
+
id: zod.z.string().describe("Unique identifier for the included resource").nullable(),
|
|
34
|
+
type: zod.z.string().describe("Resource type").nullable(),
|
|
35
35
|
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the included resource").nullable().optional()
|
|
36
|
-
}).describe("Included related resources in the response.");
|
|
36
|
+
}).passthrough().describe("Included related resources in the response.");
|
|
37
37
|
const PersonaRemoveAccountTagOutput = zod.z.object({
|
|
38
38
|
data: PersonaRemoveAccountTag_AccountDataSchema.nullable(),
|
|
39
39
|
included: zod.z.array(PersonaRemoveAccountTag_IncludedResourceSchema).describe("Related objects that are included in the response based on the include parameter").nullable().optional()
|
|
40
|
-
}).describe("Response model after removing a tag from a Persona Account.");
|
|
40
|
+
}).passthrough().describe("Response model after removing a tag from a Persona Account.");
|
|
41
41
|
const personaRemoveAccountTag = require_action.action("PERSONA_REMOVE_ACCOUNT_TAG", {
|
|
42
42
|
slug: "persona-remove-account-tag",
|
|
43
43
|
name: "Remove Account Tag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-account-tag.cjs","names":["z","action"],"sources":["../../src/actions/remove-account-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRemoveAccountTagInput
|
|
1
|
+
{"version":3,"file":"remove-account-tag.cjs","names":["z","action"],"sources":["../../src/actions/remove-account-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRemoveAccountTagInput = z.object({\n meta: z.object({\n \"tag-id\": z.string().describe(\"ID of the tag to remove from the Account. Either tag_id or tag_name must be provided.\").optional(),\n \"tag-name\": z.string().describe(\"Name of the tag to remove from the Account. Either tag_id or tag_name must be provided.\").optional(),\n}).describe(\"Meta information containing either the tag ID or tag name to remove.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the `included` key in the response.\").optional(),\n \"account-id\": z.string().describe(\"The ID of the account from which to remove the tag.\"),\n \"Key-Inflection\": z.string().describe(\"Determines casing for the API response. Options: camel, kebab, snake.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate operations.\").optional(),\n}).describe(\"Request model for removing a tag from a Persona Account.\");\nconst PersonaRemoveAccountTag_AccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the account\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the account\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a Persona Account.\");\nconst PersonaRemoveAccountTag_AccountRelationshipsSchema = z.object({\n \"account-type\": z.record(z.string(), z.unknown()).describe(\"Account type relationship data\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a Persona Account.\");\nconst PersonaRemoveAccountTag_AccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'\").nullable(),\n attributes: PersonaRemoveAccountTag_AccountAttributesSchema.nullable().optional(),\n relationships: PersonaRemoveAccountTag_AccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaRemoveAccountTag_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource\").nullable(),\n type: z.string().describe(\"Resource type\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the included resource\").nullable().optional(),\n}).passthrough().describe(\"Included related resources in the response.\");\nexport const PersonaRemoveAccountTagOutput = z.object({\n data: PersonaRemoveAccountTag_AccountDataSchema.nullable(),\n included: z.array(PersonaRemoveAccountTag_IncludedResourceSchema).describe(\"Related objects that are included in the response based on the include parameter\").nullable().optional(),\n}).passthrough().describe(\"Response model after removing a tag from a Persona Account.\");\n\nexport const personaRemoveAccountTag = action(\"PERSONA_REMOVE_ACCOUNT_TAG\", {\n slug: \"persona-remove-account-tag\",\n name: \"Remove Account Tag\",\n description: \"Tool to remove a tag from a Persona Account. Use when you need to remove a tag association from an account by providing either the tag ID or tag name.\",\n input: PersonaRemoveAccountTagInput,\n output: PersonaRemoveAccountTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO;EACf,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAChF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CAC7M,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,I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AgD,SAAS,CAAC,CAAC,SAAS;CAChF,eAAe,mDAAmD,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,0CAA0C,SAAS;CACzD,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,52 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/remove-account-tag.d.ts
|
|
4
|
-
declare const PersonaRemoveAccountTagInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersonaRemoveAccountTagInput: z.ZodObject<{
|
|
5
|
+
meta: z.ZodObject<{
|
|
6
|
+
"tag-id": z.ZodOptional<z.ZodString>;
|
|
7
|
+
"tag-name": z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
+
include: z.ZodOptional<z.ZodString>;
|
|
11
|
+
"account-id": z.ZodString;
|
|
12
|
+
"Key-Inflection": z.ZodOptional<z.ZodString>;
|
|
13
|
+
"Idempotency-Key": z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const PersonaRemoveAccountTagOutput: z.ZodObject<{
|
|
16
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
"account-type": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
|
+
id: z.ZodNullable<z.ZodString>;
|
|
35
|
+
type: z.ZodNullable<z.ZodString>;
|
|
36
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const personaRemoveAccountTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
meta: {
|
|
41
|
+
"tag-id"?: string | undefined;
|
|
42
|
+
"tag-name"?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
"account-id": string;
|
|
45
|
+
fields?: Record<string, unknown> | undefined;
|
|
46
|
+
include?: string | undefined;
|
|
47
|
+
"Key-Inflection"?: string | undefined;
|
|
48
|
+
"Idempotency-Key"?: string | undefined;
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
50
|
//#endregion
|
|
8
51
|
export { personaRemoveAccountTag };
|
|
9
52
|
//# sourceMappingURL=remove-account-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-account-tag.d.cts","names":[],"sources":["../../src/actions/remove-account-tag.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"remove-account-tag.d.cts","names":[],"sources":["../../src/actions/remove-account-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAmC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA;;;;;;WAMlC,MAAA"}
|
|
@@ -1,9 +1,52 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/remove-account-tag.d.ts
|
|
4
|
-
declare const PersonaRemoveAccountTagInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersonaRemoveAccountTagInput: z.ZodObject<{
|
|
5
|
+
meta: z.ZodObject<{
|
|
6
|
+
"tag-id": z.ZodOptional<z.ZodString>;
|
|
7
|
+
"tag-name": z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
+
include: z.ZodOptional<z.ZodString>;
|
|
11
|
+
"account-id": z.ZodString;
|
|
12
|
+
"Key-Inflection": z.ZodOptional<z.ZodString>;
|
|
13
|
+
"Idempotency-Key": z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const PersonaRemoveAccountTagOutput: z.ZodObject<{
|
|
16
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
"account-type": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
|
+
id: z.ZodNullable<z.ZodString>;
|
|
35
|
+
type: z.ZodNullable<z.ZodString>;
|
|
36
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const personaRemoveAccountTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
meta: {
|
|
41
|
+
"tag-id"?: string | undefined;
|
|
42
|
+
"tag-name"?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
"account-id": string;
|
|
45
|
+
fields?: Record<string, unknown> | undefined;
|
|
46
|
+
include?: string | undefined;
|
|
47
|
+
"Key-Inflection"?: string | undefined;
|
|
48
|
+
"Idempotency-Key"?: string | undefined;
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
50
|
//#endregion
|
|
8
51
|
export { personaRemoveAccountTag };
|
|
9
52
|
//# sourceMappingURL=remove-account-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-account-tag.d.mts","names":[],"sources":["../../src/actions/remove-account-tag.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"remove-account-tag.d.mts","names":[],"sources":["../../src/actions/remove-account-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAmC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA;;;;;;WAMlC,MAAA"}
|