@keystrokehq/persona 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-tag-to-account.cjs +6 -6
- package/dist/actions/add-tag-to-account.cjs.map +1 -1
- package/dist/actions/add-tag-to-account.d.cts +6 -6
- package/dist/actions/add-tag-to-account.d.mts +6 -6
- package/dist/actions/add-tag-to-account.mjs +6 -6
- package/dist/actions/add-tag-to-account.mjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +3 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.cjs +5 -5
- package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.cts +6 -6
- package/dist/actions/archive-a-country-list-item.d.mts +6 -6
- package/dist/actions/archive-a-country-list-item.mjs +5 -5
- package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.cjs +6 -6
- package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.cts +6 -6
- package/dist/actions/archive-a-geolocation-list-item.d.mts +6 -6
- package/dist/actions/archive-a-geolocation-list-item.mjs +6 -6
- package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.cjs +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.d.cts +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.d.mts +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.mjs +4 -4
- package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.cjs +6 -6
- package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.cts +6 -6
- package/dist/actions/archive-a-name-list-item.d.mts +6 -6
- package/dist/actions/archive-a-name-list-item.mjs +6 -6
- package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-webhook.cjs +6 -6
- package/dist/actions/archive-a-webhook.cjs.map +1 -1
- package/dist/actions/archive-a-webhook.d.cts +7 -7
- package/dist/actions/archive-a-webhook.d.mts +7 -7
- package/dist/actions/archive-a-webhook.mjs +6 -6
- package/dist/actions/archive-a-webhook.mjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.cjs +5 -5
- package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.cts +5 -5
- package/dist/actions/archive-email-address-list-item.d.mts +5 -5
- package/dist/actions/archive-email-address-list-item.mjs +5 -5
- package/dist/actions/archive-email-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.cjs +4 -4
- package/dist/actions/archive-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-ip-address-list-item.d.cts +4 -4
- package/dist/actions/archive-ip-address-list-item.d.mts +4 -4
- package/dist/actions/archive-ip-address-list-item.mjs +4 -4
- package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.cjs +3 -3
- package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.cts +3 -3
- package/dist/actions/archive-phone-number-list-item.d.mts +3 -3
- package/dist/actions/archive-phone-number-list-item.mjs +3 -3
- package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-string-list-item.cjs +5 -5
- package/dist/actions/archive-string-list-item.cjs.map +1 -1
- package/dist/actions/archive-string-list-item.d.cts +6 -6
- package/dist/actions/archive-string-list-item.d.mts +6 -6
- package/dist/actions/archive-string-list-item.mjs +5 -5
- package/dist/actions/archive-string-list-item.mjs.map +1 -1
- package/dist/actions/clone-webhook.cjs +4 -4
- package/dist/actions/clone-webhook.cjs.map +1 -1
- package/dist/actions/clone-webhook.d.cts +4 -4
- package/dist/actions/clone-webhook.d.mts +4 -4
- package/dist/actions/clone-webhook.mjs +4 -4
- package/dist/actions/clone-webhook.mjs.map +1 -1
- package/dist/actions/consolidate-into-account.cjs +2 -2
- package/dist/actions/consolidate-into-account.cjs.map +1 -1
- package/dist/actions/consolidate-into-account.d.cts +2 -2
- package/dist/actions/consolidate-into-account.d.mts +2 -2
- package/dist/actions/consolidate-into-account.mjs +2 -2
- package/dist/actions/consolidate-into-account.mjs.map +1 -1
- package/dist/actions/create-an-account.cjs +12 -12
- package/dist/actions/create-an-account.cjs.map +1 -1
- package/dist/actions/create-an-account.d.cts +16 -16
- package/dist/actions/create-an-account.d.mts +16 -16
- package/dist/actions/create-an-account.mjs +12 -12
- package/dist/actions/create-an-account.mjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.cjs +6 -6
- package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.d.cts +6 -6
- package/dist/actions/create-an-ip-address-list-item.d.mts +6 -6
- package/dist/actions/create-an-ip-address-list-item.mjs +6 -6
- package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/create-country-list-item.cjs +6 -6
- package/dist/actions/create-country-list-item.cjs.map +1 -1
- package/dist/actions/create-country-list-item.d.cts +6 -6
- package/dist/actions/create-country-list-item.d.mts +6 -6
- package/dist/actions/create-country-list-item.mjs +6 -6
- package/dist/actions/create-country-list-item.mjs.map +1 -1
- package/dist/actions/create-document-generic.cjs +5 -5
- package/dist/actions/create-document-generic.cjs.map +1 -1
- package/dist/actions/create-document-generic.d.cts +5 -5
- package/dist/actions/create-document-generic.d.mts +5 -5
- package/dist/actions/create-document-generic.mjs +5 -5
- package/dist/actions/create-document-generic.mjs.map +1 -1
- package/dist/actions/create-email-address-list-item.cjs +4 -4
- package/dist/actions/create-email-address-list-item.cjs.map +1 -1
- package/dist/actions/create-email-address-list-item.d.cts +4 -4
- package/dist/actions/create-email-address-list-item.d.mts +4 -4
- package/dist/actions/create-email-address-list-item.mjs +4 -4
- package/dist/actions/create-email-address-list-item.mjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.cjs +6 -6
- package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.d.cts +6 -6
- package/dist/actions/create-government-id-number-list-item.d.mts +6 -6
- package/dist/actions/create-government-id-number-list-item.mjs +6 -6
- package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/create-name-list-item.cjs +5 -5
- package/dist/actions/create-name-list-item.cjs.map +1 -1
- package/dist/actions/create-name-list-item.d.cts +5 -5
- package/dist/actions/create-name-list-item.d.mts +5 -5
- package/dist/actions/create-name-list-item.mjs +5 -5
- package/dist/actions/create-name-list-item.mjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.cjs +5 -5
- package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.cts +5 -5
- package/dist/actions/create-phone-number-list-item.d.mts +5 -5
- package/dist/actions/create-phone-number-list-item.mjs +5 -5
- package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/create-string-list-item.cjs +6 -6
- package/dist/actions/create-string-list-item.cjs.map +1 -1
- package/dist/actions/create-string-list-item.d.cts +6 -6
- package/dist/actions/create-string-list-item.d.mts +6 -6
- package/dist/actions/create-string-list-item.mjs +6 -6
- package/dist/actions/create-string-list-item.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +5 -5
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +6 -6
- package/dist/actions/create-webhook.d.mts +6 -6
- package/dist/actions/create-webhook.mjs +5 -5
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/disable-webhook.cjs +6 -6
- package/dist/actions/disable-webhook.cjs.map +1 -1
- package/dist/actions/disable-webhook.d.cts +7 -7
- package/dist/actions/disable-webhook.d.mts +7 -7
- package/dist/actions/disable-webhook.mjs +6 -6
- package/dist/actions/disable-webhook.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +5 -5
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +5 -5
- package/dist/actions/enable-webhook.d.mts +5 -5
- package/dist/actions/enable-webhook.mjs +5 -5
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.cjs +8 -8
- package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.cts +10 -10
- package/dist/actions/expire-inquiry-sessions.d.mts +10 -10
- package/dist/actions/expire-inquiry-sessions.mjs +8 -8
- package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/import-email-address-lists.cjs +3 -3
- package/dist/actions/import-email-address-lists.cjs.map +1 -1
- package/dist/actions/import-email-address-lists.d.cts +3 -3
- package/dist/actions/import-email-address-lists.d.mts +3 -3
- package/dist/actions/import-email-address-lists.mjs +3 -3
- package/dist/actions/import-email-address-lists.mjs.map +1 -1
- package/dist/actions/import-ip-address-lists.cjs +3 -3
- package/dist/actions/import-ip-address-lists.cjs.map +1 -1
- package/dist/actions/import-ip-address-lists.d.cts +3 -3
- package/dist/actions/import-ip-address-lists.d.mts +3 -3
- package/dist/actions/import-ip-address-lists.mjs +3 -3
- package/dist/actions/import-ip-address-lists.mjs.map +1 -1
- package/dist/actions/import-name-lists.cjs +3 -3
- package/dist/actions/import-name-lists.cjs.map +1 -1
- package/dist/actions/import-name-lists.d.cts +3 -3
- package/dist/actions/import-name-lists.d.mts +3 -3
- package/dist/actions/import-name-lists.mjs +3 -3
- package/dist/actions/import-name-lists.mjs.map +1 -1
- package/dist/actions/import-phone-number-lists.cjs +3 -3
- package/dist/actions/import-phone-number-lists.cjs.map +1 -1
- package/dist/actions/import-phone-number-lists.d.cts +3 -3
- package/dist/actions/import-phone-number-lists.d.mts +3 -3
- package/dist/actions/import-phone-number-lists.mjs +3 -3
- package/dist/actions/import-phone-number-lists.mjs.map +1 -1
- package/dist/actions/list-all-accounts.cjs +8 -8
- package/dist/actions/list-all-accounts.cjs.map +1 -1
- package/dist/actions/list-all-accounts.d.cts +10 -10
- package/dist/actions/list-all-accounts.d.mts +10 -10
- package/dist/actions/list-all-accounts.mjs +8 -8
- package/dist/actions/list-all-accounts.mjs.map +1 -1
- package/dist/actions/list-all-api-logs.cjs +10 -10
- package/dist/actions/list-all-api-logs.cjs.map +1 -1
- package/dist/actions/list-all-api-logs.d.cts +11 -11
- package/dist/actions/list-all-api-logs.d.mts +11 -11
- package/dist/actions/list-all-api-logs.mjs +10 -10
- package/dist/actions/list-all-api-logs.mjs.map +1 -1
- package/dist/actions/list-all-cases.cjs +10 -10
- package/dist/actions/list-all-cases.cjs.map +1 -1
- package/dist/actions/list-all-cases.d.cts +10 -10
- package/dist/actions/list-all-cases.d.mts +10 -10
- package/dist/actions/list-all-cases.mjs +10 -10
- package/dist/actions/list-all-cases.mjs.map +1 -1
- package/dist/actions/list-all-devices.cjs +5 -5
- package/dist/actions/list-all-devices.cjs.map +1 -1
- package/dist/actions/list-all-devices.d.cts +5 -5
- package/dist/actions/list-all-devices.d.mts +5 -5
- package/dist/actions/list-all-devices.mjs +5 -5
- package/dist/actions/list-all-devices.mjs.map +1 -1
- package/dist/actions/list-all-events.cjs +4 -4
- package/dist/actions/list-all-events.cjs.map +1 -1
- package/dist/actions/list-all-events.d.cts +4 -4
- package/dist/actions/list-all-events.d.mts +4 -4
- package/dist/actions/list-all-events.mjs +4 -4
- package/dist/actions/list-all-events.mjs.map +1 -1
- package/dist/actions/list-all-importers.cjs +6 -6
- package/dist/actions/list-all-importers.cjs.map +1 -1
- package/dist/actions/list-all-importers.d.cts +7 -7
- package/dist/actions/list-all-importers.d.mts +7 -7
- package/dist/actions/list-all-importers.mjs +6 -6
- package/dist/actions/list-all-importers.mjs.map +1 -1
- package/dist/actions/list-all-inquiries.cjs +9 -9
- package/dist/actions/list-all-inquiries.cjs.map +1 -1
- package/dist/actions/list-all-inquiries.d.cts +9 -9
- package/dist/actions/list-all-inquiries.d.mts +9 -9
- package/dist/actions/list-all-inquiries.mjs +9 -9
- package/dist/actions/list-all-inquiries.mjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.cjs +9 -9
- package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.cts +11 -11
- package/dist/actions/list-all-inquiry-sessions.d.mts +11 -11
- package/dist/actions/list-all-inquiry-sessions.mjs +9 -9
- package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs +7 -7
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +9 -9
- package/dist/actions/list-all-lists.d.mts +9 -9
- package/dist/actions/list-all-lists.mjs +7 -7
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-all-rate-limits.cjs +3 -3
- package/dist/actions/list-all-rate-limits.cjs.map +1 -1
- package/dist/actions/list-all-rate-limits.d.cts +3 -3
- package/dist/actions/list-all-rate-limits.d.mts +3 -3
- package/dist/actions/list-all-rate-limits.mjs +3 -3
- package/dist/actions/list-all-rate-limits.mjs.map +1 -1
- package/dist/actions/list-all-reports.cjs +10 -10
- package/dist/actions/list-all-reports.cjs.map +1 -1
- package/dist/actions/list-all-reports.d.cts +10 -10
- package/dist/actions/list-all-reports.d.mts +10 -10
- package/dist/actions/list-all-reports.mjs +10 -10
- package/dist/actions/list-all-reports.mjs.map +1 -1
- package/dist/actions/list-all-transactions.cjs +8 -8
- package/dist/actions/list-all-transactions.cjs.map +1 -1
- package/dist/actions/list-all-transactions.d.cts +8 -8
- package/dist/actions/list-all-transactions.d.mts +8 -8
- package/dist/actions/list-all-transactions.mjs +8 -8
- package/dist/actions/list-all-transactions.mjs.map +1 -1
- package/dist/actions/list-all-webhooks.cjs +6 -6
- package/dist/actions/list-all-webhooks.cjs.map +1 -1
- package/dist/actions/list-all-webhooks.d.cts +6 -6
- package/dist/actions/list-all-webhooks.d.mts +6 -6
- package/dist/actions/list-all-webhooks.mjs +6 -6
- package/dist/actions/list-all-webhooks.mjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.cjs +10 -10
- package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.cts +10 -10
- package/dist/actions/list-all-workflow-runs.d.mts +10 -10
- package/dist/actions/list-all-workflow-runs.mjs +10 -10
- package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
- package/dist/actions/redact-an-account.cjs +9 -9
- package/dist/actions/redact-an-account.cjs.map +1 -1
- package/dist/actions/redact-an-account.d.cts +11 -11
- package/dist/actions/redact-an-account.d.mts +11 -11
- package/dist/actions/redact-an-account.mjs +9 -9
- package/dist/actions/redact-an-account.mjs.map +1 -1
- package/dist/actions/remove-account-tag.cjs +5 -5
- package/dist/actions/remove-account-tag.cjs.map +1 -1
- package/dist/actions/remove-account-tag.d.cts +5 -5
- package/dist/actions/remove-account-tag.d.mts +5 -5
- package/dist/actions/remove-account-tag.mjs +5 -5
- package/dist/actions/remove-account-tag.mjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.cjs +6 -6
- package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.cts +8 -8
- package/dist/actions/retrieve-a-country-list-item.d.mts +8 -8
- package/dist/actions/retrieve-a-country-list-item.mjs +6 -6
- package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.cjs +7 -7
- package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts +8 -8
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts +8 -8
- package/dist/actions/retrieve-a-geolocation-list-item.mjs +7 -7
- package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.cjs +5 -5
- package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.cts +6 -6
- package/dist/actions/retrieve-a-name-list-item.d.mts +6 -6
- package/dist/actions/retrieve-a-name-list-item.mjs +5 -5
- package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.cjs +6 -6
- package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.cts +8 -8
- package/dist/actions/retrieve-a-string-list-item.d.mts +8 -8
- package/dist/actions/retrieve-a-string-list-item.mjs +6 -6
- package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.cjs +7 -7
- package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.cts +8 -8
- package/dist/actions/retrieve-a-webhook.d.mts +8 -8
- package/dist/actions/retrieve-a-webhook.mjs +7 -7
- package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
- package/dist/actions/retrieve-an-account.cjs +9 -9
- package/dist/actions/retrieve-an-account.cjs.map +1 -1
- package/dist/actions/retrieve-an-account.d.cts +11 -11
- package/dist/actions/retrieve-an-account.d.mts +11 -11
- package/dist/actions/retrieve-an-account.mjs +9 -9
- package/dist/actions/retrieve-an-account.mjs.map +1 -1
- package/dist/actions/retrieve-an-event.cjs +5 -5
- package/dist/actions/retrieve-an-event.cjs.map +1 -1
- package/dist/actions/retrieve-an-event.d.cts +6 -6
- package/dist/actions/retrieve-an-event.d.mts +6 -6
- package/dist/actions/retrieve-an-event.mjs +5 -5
- package/dist/actions/retrieve-an-event.mjs.map +1 -1
- package/dist/actions/retrieve-an-importer.cjs +5 -5
- package/dist/actions/retrieve-an-importer.cjs.map +1 -1
- package/dist/actions/retrieve-an-importer.d.cts +6 -6
- package/dist/actions/retrieve-an-importer.d.mts +6 -6
- package/dist/actions/retrieve-an-importer.mjs +5 -5
- package/dist/actions/retrieve-an-importer.mjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.cjs +5 -5
- package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.d.cts +6 -6
- package/dist/actions/retrieve-an-ip-address-list-item.d.mts +6 -6
- package/dist/actions/retrieve-an-ip-address-list-item.mjs +5 -5
- package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-api-log.cjs +12 -12
- package/dist/actions/retrieve-api-log.cjs.map +1 -1
- package/dist/actions/retrieve-api-log.d.cts +13 -13
- package/dist/actions/retrieve-api-log.d.mts +13 -13
- package/dist/actions/retrieve-api-log.mjs +12 -12
- package/dist/actions/retrieve-api-log.mjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +5 -5
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +7 -7
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +7 -7
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +5 -5
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-document-generic.cjs +18 -18
- package/dist/actions/retrieve-document-generic.cjs.map +1 -1
- package/dist/actions/retrieve-document-generic.d.cts +19 -19
- package/dist/actions/retrieve-document-generic.d.mts +19 -19
- package/dist/actions/retrieve-document-generic.mjs +18 -18
- package/dist/actions/retrieve-document-generic.mjs.map +1 -1
- package/dist/actions/retrieve-document.cjs +14 -14
- package/dist/actions/retrieve-document.cjs.map +1 -1
- package/dist/actions/retrieve-document.d.cts +25 -25
- package/dist/actions/retrieve-document.d.mts +25 -25
- package/dist/actions/retrieve-document.mjs +14 -14
- package/dist/actions/retrieve-document.mjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.cjs +5 -5
- package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.cts +6 -6
- package/dist/actions/retrieve-email-address-list-item.d.mts +6 -6
- package/dist/actions/retrieve-email-address-list-item.mjs +5 -5
- package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.cjs +5 -5
- package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.d.cts +6 -6
- package/dist/actions/retrieve-government-id-number-list-item.d.mts +6 -6
- package/dist/actions/retrieve-government-id-number-list-item.mjs +5 -5
- package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.cjs +7 -7
- package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.cts +8 -8
- package/dist/actions/retrieve-phone-number-list-item.d.mts +8 -8
- package/dist/actions/retrieve-phone-number-list-item.mjs +7 -7
- package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.cjs +7 -7
- package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.cts +8 -8
- package/dist/actions/rotate-webhook-secret.d.mts +8 -8
- package/dist/actions/rotate-webhook-secret.mjs +7 -7
- package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs +8 -8
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +11 -11
- package/dist/actions/search-accounts.d.mts +11 -11
- package/dist/actions/search-accounts.mjs +8 -8
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-cases.cjs +8 -8
- package/dist/actions/search-cases.cjs.map +1 -1
- package/dist/actions/search-cases.d.cts +9 -9
- package/dist/actions/search-cases.d.mts +9 -9
- package/dist/actions/search-cases.mjs +8 -8
- package/dist/actions/search-cases.mjs.map +1 -1
- package/dist/actions/set-tags.cjs +6 -6
- package/dist/actions/set-tags.cjs.map +1 -1
- package/dist/actions/set-tags.d.cts +6 -6
- package/dist/actions/set-tags.d.mts +6 -6
- package/dist/actions/set-tags.mjs +6 -6
- package/dist/actions/set-tags.mjs.map +1 -1
- package/dist/actions/update-a-webhook.cjs +8 -8
- package/dist/actions/update-a-webhook.cjs.map +1 -1
- package/dist/actions/update-a-webhook.d.cts +11 -11
- package/dist/actions/update-a-webhook.d.mts +11 -11
- package/dist/actions/update-a-webhook.mjs +8 -8
- package/dist/actions/update-a-webhook.mjs.map +1 -1
- package/dist/actions/update-an-account.cjs +10 -10
- package/dist/actions/update-an-account.cjs.map +1 -1
- package/dist/actions/update-an-account.d.cts +14 -14
- package/dist/actions/update-an-account.d.mts +14 -14
- package/dist/actions/update-an-account.mjs +10 -10
- package/dist/actions/update-an-account.mjs.map +1 -1
- package/dist/actions/update-document-generic.cjs +16 -16
- package/dist/actions/update-document-generic.cjs.map +1 -1
- package/dist/actions/update-document-generic.d.cts +27 -27
- package/dist/actions/update-document-generic.d.mts +27 -27
- package/dist/actions/update-document-generic.mjs +16 -16
- package/dist/actions/update-document-generic.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/redact-an-account.d.ts
|
|
4
4
|
declare const PersonaRedactAnAccountInput: z.ZodObject<{
|
|
5
|
-
fields: z.ZodOptional<z.
|
|
5
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
include: z.ZodOptional<z.ZodString>;
|
|
7
7
|
account_id: z.ZodString;
|
|
8
8
|
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28,29 +28,29 @@ declare const PersonaRedactAnAccountOutput: z.ZodObject<{
|
|
|
28
28
|
type: z.ZodNullable<z.ZodString>;
|
|
29
29
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
31
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
31
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
32
|
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
39
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
"account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
41
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
46
|
id: z.ZodNullable<z.ZodString>;
|
|
47
47
|
type: z.ZodNullable<z.ZodString>;
|
|
48
|
-
attributes: z.ZodOptional<z.ZodNullable<z.
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
48
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
|
+
}, z.core.$loose>>>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const personaRedactAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
account_id: string;
|
|
53
|
-
fields?: Record<string,
|
|
53
|
+
fields?: Record<string, unknown> | undefined;
|
|
54
54
|
include?: string | undefined;
|
|
55
55
|
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
56
56
|
idempotency_key?: string | undefined;
|
|
@@ -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
38
|
id: z.string().describe("Unique identifier for the account.").nullable(),
|
|
39
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
44
|
id: z.string().describe("Unique identifier for the included resource.").nullable(),
|
|
45
45
|
type: z.string().describe("Resource type.").nullable(),
|
|
46
|
-
attributes: z.
|
|
47
|
-
}).describe("Included resources in the response.");
|
|
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 = z.object({\n fields: z.
|
|
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,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAChJ,iBAAiB,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,yDAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,MAAM,EAAE,OAAO,C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S;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAM/D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -21,23 +21,23 @@ const PersonaRemoveAccountTag_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
27
|
id: zod.z.string().describe("Unique identifier for the account").nullable(),
|
|
28
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
33
|
id: zod.z.string().describe("Unique identifier for the included resource").nullable(),
|
|
34
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 = 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}).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}).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}).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}).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}).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,EA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AAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
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;CACt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AAAA,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"}
|
|
@@ -25,17 +25,17 @@ declare const PersonaRemoveAccountTagOutput: z.ZodObject<{
|
|
|
25
25
|
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
29
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
"account-type": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
id: z.ZodNullable<z.ZodString>;
|
|
35
35
|
type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const personaRemoveAccountTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
meta: {
|
|
41
41
|
"tag-id"?: string | undefined;
|
|
@@ -25,17 +25,17 @@ declare const PersonaRemoveAccountTagOutput: z.ZodObject<{
|
|
|
25
25
|
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
29
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
"account-type": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
id: z.ZodNullable<z.ZodString>;
|
|
35
35
|
type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const personaRemoveAccountTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
meta: {
|
|
41
41
|
"tag-id"?: string | undefined;
|
|
@@ -21,19 +21,19 @@ const PersonaRemoveAccountTag_AccountAttributesSchema = z.object({
|
|
|
21
21
|
"reference-id": z.string().describe("External reference ID for the account").nullable().optional(),
|
|
22
22
|
"account-status": z.string().describe("Status of the account").nullable().optional(),
|
|
23
23
|
"account-type-name": z.string().describe("Name of the account type").nullable().optional()
|
|
24
|
-
}).describe("Attributes of a Persona Account.");
|
|
25
|
-
const PersonaRemoveAccountTag_AccountRelationshipsSchema = z.object({ "account-type": z.record(z.string(), 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 = z.object({ "account-type": z.record(z.string(), z.unknown()).describe("Account type relationship data").nullable().optional() }).passthrough().describe("Relationships of a Persona Account.");
|
|
26
26
|
const PersonaRemoveAccountTag_AccountDataSchema = z.object({
|
|
27
27
|
id: z.string().describe("Unique identifier for the account").nullable(),
|
|
28
28
|
type: 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 = z.object({
|
|
33
33
|
id: z.string().describe("Unique identifier for the included resource").nullable(),
|
|
34
34
|
type: z.string().describe("Resource type").nullable(),
|
|
35
35
|
attributes: z.record(z.string(), 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 personaRemoveAccountTag = action("PERSONA_REMOVE_ACCOUNT_TAG", {
|
|
38
38
|
slug: "persona-remove-account-tag",
|
|
39
39
|
name: "Remove Account Tag",
|
|
@@ -42,7 +42,7 @@ const personaRemoveAccountTag = action("PERSONA_REMOVE_ACCOUNT_TAG", {
|
|
|
42
42
|
output: z.object({
|
|
43
43
|
data: PersonaRemoveAccountTag_AccountDataSchema.nullable(),
|
|
44
44
|
included: z.array(PersonaRemoveAccountTag_IncludedResourceSchema).describe("Related objects that are included in the response based on the include parameter").nullable().optional()
|
|
45
|
-
}).describe("Response model after removing a tag from a Persona Account.")
|
|
45
|
+
}).passthrough().describe("Response model after removing a tag from a Persona Account.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { personaRemoveAccountTag };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-account-tag.mjs","names":[],"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}).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}).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}).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}).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}).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+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAChF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,Q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[],"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+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAChF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACpN,SAAS,EAAE,OAAO,CAAC,CA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,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAChF,eAAe,mDAAmD,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,0CAA0C,SAAS;EACzD,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/retrieve-a-country-list-item.ts
|
|
4
4
|
const PersonaRetrieveACountryListItemInput = 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, keyed by resource type. Used for sparse fieldsets.").optional(),
|
|
6
6
|
include: zod.z.string().describe("A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.").optional(),
|
|
7
7
|
list_item_id: zod.z.string().describe("ID of the country list item to retrieve. Starts with 'lic_'."),
|
|
8
8
|
"Key-Inflection": zod.z.enum([
|
|
@@ -30,16 +30,16 @@ const PersonaRetrieveACountryListItem_CountryListItemAttributesSchema = zod.z.ob
|
|
|
30
30
|
"match-count": zod.z.number().int().describe("Number of matches for this list item.").nullable().optional(),
|
|
31
31
|
"redacted-at": zod.z.string().describe("Timestamp when the list item was redacted, if applicable.").nullable().optional(),
|
|
32
32
|
"country-code": zod.z.string().describe("Country code for this list item.").nullable().optional()
|
|
33
|
-
}).describe("Attributes of a country list item.");
|
|
34
|
-
const PersonaRetrieveACountryListItem_RelationshipDataSchema = zod.z.object({ data: zod.z.
|
|
35
|
-
const PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema = zod.z.object({ creator: PersonaRetrieveACountryListItem_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the country list item response.");
|
|
33
|
+
}).passthrough().describe("Attributes of a country list item.");
|
|
34
|
+
const PersonaRetrieveACountryListItem_RelationshipDataSchema = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
|
|
35
|
+
const PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema = zod.z.object({ creator: PersonaRetrieveACountryListItem_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the country list item response.");
|
|
36
36
|
const PersonaRetrieveACountryListItem_CountryListItemDataSchema = zod.z.object({
|
|
37
37
|
id: zod.z.string().describe("Unique identifier for this list item. Starts with 'lic_'.").nullable(),
|
|
38
38
|
type: zod.z.string().describe("Resource type, typically 'list-item/country'.").nullable(),
|
|
39
39
|
attributes: PersonaRetrieveACountryListItem_CountryListItemAttributesSchema.nullable().optional(),
|
|
40
40
|
relationships: PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema.nullable().optional()
|
|
41
|
-
}).describe("Country list item data returned in the response.");
|
|
42
|
-
const PersonaRetrieveACountryListItemOutput = zod.z.object({ data: PersonaRetrieveACountryListItem_CountryListItemDataSchema.nullable() }).describe("Response model returned after retrieving a country list item.");
|
|
41
|
+
}).passthrough().describe("Country list item data returned in the response.");
|
|
42
|
+
const PersonaRetrieveACountryListItemOutput = zod.z.object({ data: PersonaRetrieveACountryListItem_CountryListItemDataSchema.nullable() }).passthrough().describe("Response model returned after retrieving a country list item.");
|
|
43
43
|
const personaRetrieveACountryListItem = require_action.action("PERSONA_RETRIEVE_A_COUNTRY_LIST_ITEM", {
|
|
44
44
|
slug: "persona-retrieve-a-country-list-item",
|
|
45
45
|
name: "Retrieve a Country List Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-country-list-item.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-country-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveACountryListItemInput = z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"retrieve-a-country-list-item.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-a-country-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveACountryListItemInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. Used for sparse fieldsets.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_item_id: z.string().describe(\"ID of the country list item to retrieve. Starts with 'lic_'.\"),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for retrieving a country list item in Persona.\");\nconst PersonaRetrieveACountryListItem_CountryListItemAttributesSchema = z.object({\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Country code for this list item.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a country list item.\");\nconst PersonaRetrieveACountryListItem_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema = z.object({\n creator: PersonaRetrieveACountryListItem_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the country list item response.\");\nconst PersonaRetrieveACountryListItem_CountryListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lic_'.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'list-item/country'.\").nullable(),\n attributes: PersonaRetrieveACountryListItem_CountryListItemAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Country list item data returned in the response.\");\nexport const PersonaRetrieveACountryListItemOutput = z.object({\n data: PersonaRetrieveACountryListItem_CountryListItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after retrieving a country list item.\");\n\nexport const personaRetrieveACountryListItem = action(\"PERSONA_RETRIEVE_A_COUNTRY_LIST_ITEM\", {\n slug: \"persona-retrieve-a-country-list-item\",\n name: \"Retrieve a Country List Item\",\n description: \"Tool to retrieve a country list item by ID in Persona. Use when you need to fetch details of a specific country list item.\",\n input: PersonaRetrieveACountryListItemInput,\n output: PersonaRetrieveACountryListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAChG,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,kEAAkEA,IAAAA,EAAE,OAAO;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACn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,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAM,0DAA0D,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-a-country-list-item.d.ts
|
|
4
4
|
declare const PersonaRetrieveACountryListItemInput: z.ZodObject<{
|
|
5
|
-
fields: z.ZodOptional<z.
|
|
5
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
include: z.ZodOptional<z.ZodString>;
|
|
7
7
|
list_item_id: z.ZodString;
|
|
8
8
|
"Key-Inflection": z.ZodOptional<z.ZodEnum<{
|
|
@@ -34,17 +34,17 @@ declare const PersonaRetrieveACountryListItemOutput: z.ZodObject<{
|
|
|
34
34
|
"match-count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
40
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const personaRetrieveACountryListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
list_item_id: string;
|
|
47
|
-
fields?: Record<string,
|
|
47
|
+
fields?: Record<string, unknown> | undefined;
|
|
48
48
|
include?: string | undefined;
|
|
49
49
|
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
50
50
|
"Idempotency-Key"?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-a-country-list-item.d.ts
|
|
4
4
|
declare const PersonaRetrieveACountryListItemInput: z.ZodObject<{
|
|
5
|
-
fields: z.ZodOptional<z.
|
|
5
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
include: z.ZodOptional<z.ZodString>;
|
|
7
7
|
list_item_id: z.ZodString;
|
|
8
8
|
"Key-Inflection": z.ZodOptional<z.ZodEnum<{
|
|
@@ -34,17 +34,17 @@ declare const PersonaRetrieveACountryListItemOutput: z.ZodObject<{
|
|
|
34
34
|
"match-count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
40
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const personaRetrieveACountryListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
list_item_id: string;
|
|
47
|
-
fields?: Record<string,
|
|
47
|
+
fields?: Record<string, unknown> | undefined;
|
|
48
48
|
include?: string | undefined;
|
|
49
49
|
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
50
50
|
"Idempotency-Key"?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/retrieve-a-country-list-item.ts
|
|
4
4
|
const PersonaRetrieveACountryListItemInput = 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, keyed by resource type. Used for sparse fieldsets.").optional(),
|
|
6
6
|
include: z.string().describe("A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.").optional(),
|
|
7
7
|
list_item_id: z.string().describe("ID of the country list item to retrieve. Starts with 'lic_'."),
|
|
8
8
|
"Key-Inflection": z.enum([
|
|
@@ -30,21 +30,21 @@ const PersonaRetrieveACountryListItem_CountryListItemAttributesSchema = z.object
|
|
|
30
30
|
"match-count": z.number().int().describe("Number of matches for this list item.").nullable().optional(),
|
|
31
31
|
"redacted-at": z.string().describe("Timestamp when the list item was redacted, if applicable.").nullable().optional(),
|
|
32
32
|
"country-code": z.string().describe("Country code for this list item.").nullable().optional()
|
|
33
|
-
}).describe("Attributes of a country list item.");
|
|
34
|
-
const PersonaRetrieveACountryListItem_RelationshipDataSchema = z.object({ data: z.
|
|
35
|
-
const PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema = z.object({ creator: PersonaRetrieveACountryListItem_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the country list item response.");
|
|
33
|
+
}).passthrough().describe("Attributes of a country list item.");
|
|
34
|
+
const PersonaRetrieveACountryListItem_RelationshipDataSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
|
|
35
|
+
const PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema = z.object({ creator: PersonaRetrieveACountryListItem_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the country list item response.");
|
|
36
36
|
const PersonaRetrieveACountryListItem_CountryListItemDataSchema = z.object({
|
|
37
37
|
id: z.string().describe("Unique identifier for this list item. Starts with 'lic_'.").nullable(),
|
|
38
38
|
type: z.string().describe("Resource type, typically 'list-item/country'.").nullable(),
|
|
39
39
|
attributes: PersonaRetrieveACountryListItem_CountryListItemAttributesSchema.nullable().optional(),
|
|
40
40
|
relationships: PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema.nullable().optional()
|
|
41
|
-
}).describe("Country list item data returned in the response.");
|
|
41
|
+
}).passthrough().describe("Country list item data returned in the response.");
|
|
42
42
|
const personaRetrieveACountryListItem = action("PERSONA_RETRIEVE_A_COUNTRY_LIST_ITEM", {
|
|
43
43
|
slug: "persona-retrieve-a-country-list-item",
|
|
44
44
|
name: "Retrieve a Country List Item",
|
|
45
45
|
description: "Tool to retrieve a country list item by ID in Persona. Use when you need to fetch details of a specific country list item.",
|
|
46
46
|
input: PersonaRetrieveACountryListItemInput,
|
|
47
|
-
output: z.object({ data: PersonaRetrieveACountryListItem_CountryListItemDataSchema.nullable() }).describe("Response model returned after retrieving a country list item.")
|
|
47
|
+
output: z.object({ data: PersonaRetrieveACountryListItem_CountryListItemDataSchema.nullable() }).passthrough().describe("Response model returned after retrieving a country list item.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { personaRetrieveACountryListItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-a-country-list-item.mjs","names":[],"sources":["../../src/actions/retrieve-a-country-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveACountryListItemInput = z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"retrieve-a-country-list-item.mjs","names":[],"sources":["../../src/actions/retrieve-a-country-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaRetrieveACountryListItemInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type. Used for sparse fieldsets.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_item_id: z.string().describe(\"ID of the country list item to retrieve. Starts with 'lic_'.\"),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for retrieving a country list item in Persona.\");\nconst PersonaRetrieveACountryListItem_CountryListItemAttributesSchema = z.object({\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this list item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Country code for this list item.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a country list item.\");\nconst PersonaRetrieveACountryListItem_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema = z.object({\n creator: PersonaRetrieveACountryListItem_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the country list item response.\");\nconst PersonaRetrieveACountryListItem_CountryListItemDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lic_'.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'list-item/country'.\").nullable(),\n attributes: PersonaRetrieveACountryListItem_CountryListItemAttributesSchema.nullable().optional(),\n relationships: PersonaRetrieveACountryListItem_CountryListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Country list item data returned in the response.\");\nexport const PersonaRetrieveACountryListItemOutput = z.object({\n data: PersonaRetrieveACountryListItem_CountryListItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after retrieving a country list item.\");\n\nexport const personaRetrieveACountryListItem = action(\"PERSONA_RETRIEVE_A_COUNTRY_LIST_ITEM\", {\n slug: \"persona-retrieve-a-country-list-item\",\n name: \"Retrieve a Country List Item\",\n description: \"Tool to retrieve a country list item by ID in Persona. Use when you need to fetch details of a specific country list item.\",\n input: PersonaRetrieveACountryListItemInput,\n output: PersonaRetrieveACountryListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAChG,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,C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qE,EAAE,OAAO,EAClF,SAAS,uDAAuD,SAAS,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,YAAY,gEAAgE,SAAS,CAAC,CAAC,SAAS;CAChG,eAAe,mEAAmE,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,0DAA0D,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/retrieve-a-geolocation-list-item.ts
|
|
4
4
|
const PersonaRetrieveAGeolocationListItemInput = 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, keyed by resource type. This can be used to customize which attributes will be serialized in the response.").optional(),
|
|
6
6
|
include: zod.z.string().describe("A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the 'included' key in the response.").optional(),
|
|
7
7
|
list_item_id: zod.z.string().describe("ID of list item to retrieve. Must start with 'ligl_' prefix."),
|
|
8
8
|
key_inflection: zod.z.enum([
|
|
@@ -32,20 +32,20 @@ const PersonaRetrieveAGeolocationListItem_GeolocationListItemAttributesSchema =
|
|
|
32
32
|
match_count: zod.z.number().int().describe("Number of matches for this list item.").nullable().optional(),
|
|
33
33
|
redacted_at: zod.z.string().describe("Timestamp when the list item was redacted.").nullable().optional(),
|
|
34
34
|
radius_meters: zod.z.number().int().describe("Radius in meters for the geolocation area.").nullable().optional()
|
|
35
|
-
}).describe("Attributes of a geolocation list item.");
|
|
35
|
+
}).passthrough().describe("Attributes of a geolocation list item.");
|
|
36
36
|
const PersonaRetrieveAGeolocationListItem_CreatorRelationshipDataSchema = zod.z.object({
|
|
37
37
|
id: zod.z.string().describe("Unique identifier of the creator.").nullable().optional(),
|
|
38
38
|
type: zod.z.string().describe("Type of the creator resource.").nullable().optional()
|
|
39
|
-
}).describe("Creator relationship data structure.");
|
|
40
|
-
const PersonaRetrieveAGeolocationListItem_CreatorRelationshipSchema = zod.z.object({ data: PersonaRetrieveAGeolocationListItem_CreatorRelationshipDataSchema.nullable().optional() }).describe("Creator relationship object.");
|
|
41
|
-
const PersonaRetrieveAGeolocationListItem_GeolocationListItemRelationshipsSchema = zod.z.object({ creator: PersonaRetrieveAGeolocationListItem_CreatorRelationshipSchema.nullable().optional() }).describe("Relationships of a geolocation list item.");
|
|
39
|
+
}).passthrough().describe("Creator relationship data structure.");
|
|
40
|
+
const PersonaRetrieveAGeolocationListItem_CreatorRelationshipSchema = zod.z.object({ data: PersonaRetrieveAGeolocationListItem_CreatorRelationshipDataSchema.nullable().optional() }).passthrough().describe("Creator relationship object.");
|
|
41
|
+
const PersonaRetrieveAGeolocationListItem_GeolocationListItemRelationshipsSchema = zod.z.object({ creator: PersonaRetrieveAGeolocationListItem_CreatorRelationshipSchema.nullable().optional() }).passthrough().describe("Relationships of a geolocation list item.");
|
|
42
42
|
const PersonaRetrieveAGeolocationListItem_GeolocationListItemDataSchema = zod.z.object({
|
|
43
43
|
id: zod.z.string().describe("Unique identifier for this list item. Starts with 'ligl_'.").nullable().optional(),
|
|
44
44
|
type: zod.z.string().describe("Type of the resource.").nullable().optional(),
|
|
45
45
|
attributes: PersonaRetrieveAGeolocationListItem_GeolocationListItemAttributesSchema.nullable().optional(),
|
|
46
46
|
relationships: PersonaRetrieveAGeolocationListItem_GeolocationListItemRelationshipsSchema.nullable().optional()
|
|
47
|
-
}).describe("Geolocation list item data structure.");
|
|
48
|
-
const PersonaRetrieveAGeolocationListItemOutput = zod.z.object({ data: PersonaRetrieveAGeolocationListItem_GeolocationListItemDataSchema.nullable() }).describe("Response containing the geolocation list item.");
|
|
47
|
+
}).passthrough().describe("Geolocation list item data structure.");
|
|
48
|
+
const PersonaRetrieveAGeolocationListItemOutput = zod.z.object({ data: PersonaRetrieveAGeolocationListItem_GeolocationListItemDataSchema.nullable() }).passthrough().describe("Response containing the geolocation list item.");
|
|
49
49
|
const personaRetrieveAGeolocationListItem = require_action.action("PERSONA_RETRIEVE_A_GEOLOCATION_LIST_ITEM", {
|
|
50
50
|
slug: "persona-retrieve-a-geolocation-list-item",
|
|
51
51
|
name: "Retrieve a Geolocation List Item",
|