@keystrokehq/persona 0.1.2 → 0.1.4
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/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ declare const PersonaCreateAnAccountInput: z.ZodObject<{
|
|
|
6
6
|
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
7
|
attributes: z.ZodObject<{
|
|
8
8
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
-
fields: z.ZodOptional<z.
|
|
9
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
10
|
birthdate: z.ZodOptional<z.ZodString>;
|
|
11
11
|
"name-last": z.ZodOptional<z.ZodString>;
|
|
12
12
|
"name-first": z.ZodOptional<z.ZodString>;
|
|
@@ -15,7 +15,7 @@ declare const PersonaCreateAnAccountInput: z.ZodObject<{
|
|
|
15
15
|
"country-code": z.ZodOptional<z.ZodString>;
|
|
16
16
|
"phone-number": z.ZodOptional<z.ZodString>;
|
|
17
17
|
"reference-id": z.ZodOptional<z.ZodString>;
|
|
18
|
-
"selfie-photo": z.ZodOptional<z.
|
|
18
|
+
"selfie-photo": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
19
|
"email-address": z.ZodOptional<z.ZodString>;
|
|
20
20
|
"account-status": z.ZodOptional<z.ZodString>;
|
|
21
21
|
"account-type-id": z.ZodOptional<z.ZodString>;
|
|
@@ -30,7 +30,7 @@ declare const PersonaCreateAnAccountInput: z.ZodObject<{
|
|
|
30
30
|
"upsert-by": z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
32
|
include: z.ZodOptional<z.ZodString>;
|
|
33
|
-
sparse_fields: z.ZodOptional<z.
|
|
33
|
+
sparse_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
34
34
|
"Key-Inflection": z.ZodOptional<z.ZodEnum<{
|
|
35
35
|
camel: "camel";
|
|
36
36
|
kebab: "kebab";
|
|
@@ -54,7 +54,7 @@ declare const PersonaCreateAnAccountOutput: z.ZodObject<{
|
|
|
54
54
|
type: z.ZodNullable<z.ZodString>;
|
|
55
55
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
56
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
57
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
57
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
58
58
|
birthdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
"name-last": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -73,26 +73,26 @@ declare const PersonaCreateAnAccountOutput: z.ZodObject<{
|
|
|
73
73
|
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
74
|
"address-postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
"address-subdivision": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
-
"identification-numbers": z.ZodOptional<z.ZodNullable<z.
|
|
76
|
+
"identification-numbers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
77
77
|
"social-security-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$loose>>>;
|
|
79
79
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
80
80
|
"account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
81
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
82
|
-
}, z.core.$
|
|
83
|
-
}, z.core.$
|
|
84
|
-
}, z.core.$
|
|
81
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
82
|
+
}, z.core.$loose>>>;
|
|
83
|
+
}, z.core.$loose>>>;
|
|
84
|
+
}, z.core.$loose>>;
|
|
85
85
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
86
86
|
id: z.ZodNullable<z.ZodString>;
|
|
87
87
|
type: z.ZodNullable<z.ZodString>;
|
|
88
|
-
attributes: z.ZodOptional<z.ZodNullable<z.
|
|
89
|
-
}, z.core.$
|
|
90
|
-
}, z.core.$
|
|
88
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
89
|
+
}, z.core.$loose>>>>;
|
|
90
|
+
}, z.core.$loose>;
|
|
91
91
|
declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
92
92
|
data: {
|
|
93
93
|
attributes: {
|
|
94
94
|
tags?: string[] | undefined;
|
|
95
|
-
fields?: Record<string,
|
|
95
|
+
fields?: Record<string, unknown> | undefined;
|
|
96
96
|
birthdate?: string | undefined;
|
|
97
97
|
"name-last"?: string | undefined;
|
|
98
98
|
"name-first"?: string | undefined;
|
|
@@ -101,7 +101,7 @@ declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActi
|
|
|
101
101
|
"country-code"?: string | undefined;
|
|
102
102
|
"phone-number"?: string | undefined;
|
|
103
103
|
"reference-id"?: string | undefined;
|
|
104
|
-
"selfie-photo"?: Record<string,
|
|
104
|
+
"selfie-photo"?: Record<string, unknown> | undefined;
|
|
105
105
|
"email-address"?: string | undefined;
|
|
106
106
|
"account-status"?: string | undefined;
|
|
107
107
|
"account-type-id"?: string | undefined;
|
|
@@ -117,7 +117,7 @@ declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActi
|
|
|
117
117
|
"upsert-by"?: string | undefined;
|
|
118
118
|
} | undefined;
|
|
119
119
|
include?: string | undefined;
|
|
120
|
-
sparse_fields?: Record<string,
|
|
120
|
+
sparse_fields?: Record<string, unknown> | undefined;
|
|
121
121
|
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
122
122
|
"Idempotency-Key"?: string | undefined;
|
|
123
123
|
"Persona-Version"?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
|
|
@@ -6,7 +6,7 @@ const PersonaCreateAnAccountInput = z.object({
|
|
|
6
6
|
type: z.string().default("account").describe("The resource type for JSON:API. Must be 'account'.").optional(),
|
|
7
7
|
attributes: z.object({
|
|
8
8
|
tags: z.array(z.string()).describe("Tags to associate with the account.").optional(),
|
|
9
|
-
fields: z.
|
|
9
|
+
fields: z.record(z.string(), z.unknown()).describe("Custom fields for the account. This is not key inflected.").optional(),
|
|
10
10
|
birthdate: z.string().describe("Birthdate in YYYY-MM-DD format.").optional(),
|
|
11
11
|
"name-last": z.string().describe("Last name of the account holder.").optional(),
|
|
12
12
|
"name-first": z.string().describe("First name of the account holder.").optional(),
|
|
@@ -15,7 +15,7 @@ const PersonaCreateAnAccountInput = z.object({
|
|
|
15
15
|
"country-code": z.string().describe("Two-letter country code (ISO 3166-1 alpha-2).").optional(),
|
|
16
16
|
"phone-number": z.string().describe("Phone number for the account.").optional(),
|
|
17
17
|
"reference-id": z.string().describe("External reference ID for the account.").optional(),
|
|
18
|
-
"selfie-photo": z.
|
|
18
|
+
"selfie-photo": z.record(z.string(), z.unknown()).describe("Selfie photo data for the account.").optional(),
|
|
19
19
|
"email-address": z.string().describe("Email address for the account.").optional(),
|
|
20
20
|
"account-status": z.string().describe("Status of the account.").optional(),
|
|
21
21
|
"account-type-id": z.string().describe("ID of the account type to use for this account.").optional(),
|
|
@@ -28,7 +28,7 @@ const PersonaCreateAnAccountInput = z.object({
|
|
|
28
28
|
}).describe("The account data to create."),
|
|
29
29
|
meta: z.object({ "upsert-by": z.string().describe("The field name to use for upserting the account. This field must be unique across all accounts for the given account type.").optional() }).describe("Meta information for account creation.").optional(),
|
|
30
30
|
include: z.string().describe("A comma-separated list of relationship paths to include in the response.").optional(),
|
|
31
|
-
sparse_fields: z.
|
|
31
|
+
sparse_fields: z.record(z.string(), z.unknown()).describe("Comma-separated list(s) of attributes to include in the response, keyed by resource type.").optional(),
|
|
32
32
|
"Key-Inflection": z.enum([
|
|
33
33
|
"camel",
|
|
34
34
|
"kebab",
|
|
@@ -48,7 +48,7 @@ const PersonaCreateAnAccountInput = z.object({
|
|
|
48
48
|
}).describe("Request model for creating an account in Persona.");
|
|
49
49
|
const PersonaCreateAnAccount_ResponseAccountAttributesSchema = z.object({
|
|
50
50
|
tags: z.array(z.string()).describe("Tags associated with the account.").nullable().optional(),
|
|
51
|
-
fields: z.
|
|
51
|
+
fields: z.record(z.string(), z.unknown()).describe("Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.").nullable().optional(),
|
|
52
52
|
birthdate: z.string().describe("Birthdate in YYYY-MM-DD format.").nullable().optional(),
|
|
53
53
|
"name-last": z.string().describe("Last name of the account holder.").nullable().optional(),
|
|
54
54
|
"created-at": z.string().describe("Timestamp when the account was created.").nullable().optional(),
|
|
@@ -67,22 +67,22 @@ const PersonaCreateAnAccount_ResponseAccountAttributesSchema = z.object({
|
|
|
67
67
|
"account-type-name": z.string().describe("Name of the account type.").nullable().optional(),
|
|
68
68
|
"address-postal-code": z.string().describe("Postal code for the account address.").nullable().optional(),
|
|
69
69
|
"address-subdivision": z.string().describe("State or subdivision for the account address.").nullable().optional(),
|
|
70
|
-
"identification-numbers": z.
|
|
70
|
+
"identification-numbers": z.record(z.string(), z.unknown()).describe("Identification numbers for the account.").nullable().optional(),
|
|
71
71
|
"social-security-number": z.string().describe("Social security number for the account.").nullable().optional()
|
|
72
|
-
}).describe("Attributes returned in the account response.");
|
|
73
|
-
const PersonaCreateAnAccount_RelationshipDataSchema = z.object({ data: z.
|
|
74
|
-
const PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({ "account-type": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
|
|
72
|
+
}).passthrough().describe("Attributes returned in the account response.");
|
|
73
|
+
const PersonaCreateAnAccount_RelationshipDataSchema = z.object({ data: z.record(z.string(), z.unknown()).describe("Relationship data.").nullable().optional() }).passthrough().describe("Relationship data structure.");
|
|
74
|
+
const PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({ "account-type": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationships in the account response.");
|
|
75
75
|
const PersonaCreateAnAccount_ResponseAccountDataSchema = z.object({
|
|
76
76
|
id: z.string().describe("Unique identifier for the account.").nullable(),
|
|
77
77
|
type: z.string().describe("Resource type, typically 'account'.").nullable(),
|
|
78
78
|
attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
|
|
79
79
|
relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
|
|
80
|
-
}).describe("Account data returned in the response.");
|
|
80
|
+
}).passthrough().describe("Account data returned in the response.");
|
|
81
81
|
const PersonaCreateAnAccount_IncludedResourceSchema = z.object({
|
|
82
82
|
id: z.string().describe("Unique identifier for the included resource.").nullable(),
|
|
83
83
|
type: z.string().describe("Resource type.").nullable(),
|
|
84
|
-
attributes: z.
|
|
85
|
-
}).describe("Included resources in the response.");
|
|
84
|
+
attributes: z.record(z.string(), z.unknown()).describe("Attributes of the included resource.").nullable().optional()
|
|
85
|
+
}).passthrough().describe("Included resources in the response.");
|
|
86
86
|
const personaCreateAnAccount = action("PERSONA_CREATE_AN_ACCOUNT", {
|
|
87
87
|
slug: "persona-create-an-account",
|
|
88
88
|
name: "Create an Account",
|
|
@@ -91,7 +91,7 @@ const personaCreateAnAccount = action("PERSONA_CREATE_AN_ACCOUNT", {
|
|
|
91
91
|
output: z.object({
|
|
92
92
|
data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),
|
|
93
93
|
included: z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe("Related resources included in the response.").nullable().optional()
|
|
94
|
-
}).describe("Response model returned after creating an account in Persona.")
|
|
94
|
+
}).passthrough().describe("Response model returned after creating an account in Persona.")
|
|
95
95
|
});
|
|
96
96
|
//#endregion
|
|
97
97
|
export { personaCreateAnAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-an-account.mjs","names":[],"sources":["../../src/actions/create-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnAccountInput = z.object({\n data: z.object({\n type: z.string().default(\"account\").describe(\"The resource type for JSON:API. Must be 'account'.\").optional(),\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account.\").optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected.\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").optional(),\n \"selfie-photo\": z.object({}).describe(\"Selfie photo data for the account.\").optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").optional(),\n \"account-type-id\": z.string().describe(\"ID of the account type to use for this account.\").optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").optional(),\n}).describe(\"Attributes for the account.\"),\n}).describe(\"The account data to create.\"),\n meta: z.object({\n \"upsert-by\": z.string().describe(\"The field name to use for upserting the account. This field must be unique across all accounts for the given account type.\").optional(),\n}).describe(\"Meta information for account creation.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for creating an account in Persona.\");\nconst PersonaCreateAnAccount_ResponseAccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").nullable().optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").nullable().optional(),\n \"identification-numbers\": z.object({}).describe(\"Identification numbers for the account.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").nullable().optional(),\n}).describe(\"Attributes returned in the account response.\");\nconst PersonaCreateAnAccount_RelationshipDataSchema = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaCreateAnAccount_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: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaCreateAnAccount_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.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaCreateAnAccountOutput = z.object({\n data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after creating an account in Persona.\");\n\nexport const personaCreateAnAccount = action(\"PERSONA_CREATE_AN_ACCOUNT\", {\n slug: \"persona-create-an-account\",\n name: \"Create an Account\",\n description: \"Tool to create an account in Persona. Use when you need to create a new account with personal information such as name, email, phone, address, and custom fields.\",\n input: PersonaCreateAnAccountInput,\n output: PersonaCreateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,M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7D,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,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAMjD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,iDAAiD,SAAS;EAChE,UAAU,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-an-account.mjs","names":[],"sources":["../../src/actions/create-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnAccountInput = z.object({\n data: z.object({\n type: z.string().default(\"account\").describe(\"The resource type for JSON:API. Must be 'account'.\").optional(),\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields for the account. This is not key inflected.\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").optional(),\n \"selfie-photo\": z.record(z.string(), z.unknown()).describe(\"Selfie photo data for the account.\").optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").optional(),\n \"account-type-id\": z.string().describe(\"ID of the account type to use for this account.\").optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").optional(),\n}).describe(\"Attributes for the account.\"),\n}).describe(\"The account data to create.\"),\n meta: z.object({\n \"upsert-by\": z.string().describe(\"The field name to use for upserting the account. This field must be unique across all accounts for the given account type.\").optional(),\n}).describe(\"Meta information for account creation.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n sparse_fields: z.record(z.string(), z.unknown()).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for creating an account in Persona.\");\nconst PersonaCreateAnAccount_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. Each field has a 'type' and 'value' property.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").nullable().optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").nullable().optional(),\n \"identification-numbers\": z.record(z.string(), z.unknown()).describe(\"Identification numbers for the account.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").nullable().optional(),\n}).passthrough().describe(\"Attributes returned in the account response.\");\nconst PersonaCreateAnAccount_RelationshipDataSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Relationship data.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data structure.\");\nconst PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the account response.\");\nconst PersonaCreateAnAccount_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: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Account data returned in the response.\");\nconst PersonaCreateAnAccount_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 PersonaCreateAnAccountOutput = z.object({\n data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after creating an account in Persona.\");\n\nexport const personaCreateAnAccount = action(\"PERSONA_CREATE_AN_ACCOUNT\", {\n slug: \"persona-create-an-account\",\n name: \"Create an Account\",\n description: \"Tool to create an account in Persona. Use when you need to create a new account with personal information such as name, email, phone, address, and custom fields.\",\n input: PersonaCreateAnAccountInput,\n output: PersonaCreateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO;GACrB,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GACnF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;GACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GAC9E,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AAS;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;EAChE,UAAU,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -20,20 +20,20 @@ const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttribut
|
|
|
20
20
|
"archived-at": zod.z.string().describe("Timestamp when the item was archived, if applicable.").nullable().optional(),
|
|
21
21
|
"match-count": zod.z.number().int().describe("Number of matches for this IP address item.").nullable().optional(),
|
|
22
22
|
"redacted-at": zod.z.string().describe("Timestamp when the item was redacted, if applicable.").nullable().optional()
|
|
23
|
-
}).describe("Attributes of the created IP Address List Item.");
|
|
23
|
+
}).passthrough().describe("Attributes of the created IP Address List Item.");
|
|
24
24
|
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema = zod.z.object({
|
|
25
25
|
id: zod.z.string().describe("ID of the creator.").nullable().optional(),
|
|
26
26
|
type: zod.z.string().describe("Type of the creator resource.").nullable().optional()
|
|
27
|
-
}).describe("Creator data within relationship.");
|
|
28
|
-
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = zod.z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional() }).describe("Creator relationship data.");
|
|
29
|
-
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = zod.z.object({ creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional() }).describe("Relationships of the created IP Address List Item.");
|
|
27
|
+
}).passthrough().describe("Creator data within relationship.");
|
|
28
|
+
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = zod.z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional() }).passthrough().describe("Creator relationship data.");
|
|
29
|
+
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = zod.z.object({ creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional() }).passthrough().describe("Relationships of the created IP Address List Item.");
|
|
30
30
|
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema = zod.z.object({
|
|
31
31
|
id: zod.z.string().describe("Unique identifier for this list item. Starts with 'liip_'.").nullable(),
|
|
32
32
|
type: zod.z.string().describe("Type of the resource.").nullable(),
|
|
33
33
|
attributes: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema.nullable(),
|
|
34
34
|
relationships: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema.nullable().optional()
|
|
35
|
-
}).describe("Data of the created IP Address List Item.");
|
|
36
|
-
const PersonaCreateAnIpAddressListItemOutput = zod.z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable() }).describe("Response model for creating an IP Address List Item.");
|
|
35
|
+
}).passthrough().describe("Data of the created IP Address List Item.");
|
|
36
|
+
const PersonaCreateAnIpAddressListItemOutput = zod.z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating an IP Address List Item.");
|
|
37
37
|
const personaCreateAnIpAddressListItem = require_action.action("PERSONA_CREATE_AN_IP_ADDRESS_LIST_ITEM", {
|
|
38
38
|
slug: "persona-create-an-ip-address-list-item",
|
|
39
39
|
name: "Create IP Address List Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-an-ip-address-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-an-ip-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnIpAddressListItemInput = z.object({\n value: z.string().describe(\"The IP address value to add to the list. Can be a single IP address (e.g., '192.168.1.100') or CIDR notation (e.g., '192.168.1.0/24').\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response (e.g., 'creator').\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the IP address to. Must start with 'lst_'.\"),\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 duplicate requests to prevent creating multiple identical items.\").optional(),\n}).describe(\"Request model for creating an IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The IP address value of the list item.\").nullable(),\n status: z.string().describe(\"Current status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this IP address item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted, if applicable.\").nullable().optional(),\n}).describe(\"Attributes of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema = z.object({\n id: z.string().describe(\"ID of the creator.\").nullable().optional(),\n type: z.string().describe(\"Type of the creator resource.\").nullable().optional(),\n}).describe(\"Creator data within relationship.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional(),\n}).describe(\"Creator relationship data.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = z.object({\n creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional(),\n}).describe(\"Relationships of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liip_'.\").nullable(),\n type: z.string().describe(\"Type of the resource.\").nullable(),\n attributes: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).describe(\"Data of the created IP Address List Item.\");\nexport const PersonaCreateAnIpAddressListItemOutput = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating an IP Address List Item.\");\n\nexport const personaCreateAnIpAddressListItem = action(\"PERSONA_CREATE_AN_IP_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-an-ip-address-list-item\",\n name: \"Create IP Address List Item\",\n description: \"Tool to create an IP Address List Item in Persona. Use when you need to add an IP address to a watchlist or allowlist for identity verification purposes. The list ID must be obtained first using a list retrieval action.\",\n input: PersonaCreateAnIpAddressListItemInput,\n output: PersonaCreateAnIpAddressListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qFAAqFA,IAAAA,EAAE,OAAO;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"create-an-ip-address-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-an-ip-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnIpAddressListItemInput = z.object({\n value: z.string().describe(\"The IP address value to add to the list. Can be a single IP address (e.g., '192.168.1.100') or CIDR notation (e.g., '192.168.1.0/24').\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response (e.g., 'creator').\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the IP address to. Must start with 'lst_'.\"),\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 duplicate requests to prevent creating multiple identical items.\").optional(),\n}).describe(\"Request model for creating an IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The IP address value of the list item.\").nullable(),\n status: z.string().describe(\"Current status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this IP address item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema = z.object({\n id: z.string().describe(\"ID of the creator.\").nullable().optional(),\n type: z.string().describe(\"Type of the creator resource.\").nullable().optional(),\n}).passthrough().describe(\"Creator data within relationship.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional(),\n}).passthrough().describe(\"Creator relationship data.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = z.object({\n creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liip_'.\").nullable(),\n type: z.string().describe(\"Type of the resource.\").nullable(),\n attributes: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Data of the created IP Address List Item.\");\nexport const PersonaCreateAnIpAddressListItemOutput = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating an IP Address List Item.\");\n\nexport const personaCreateAnIpAddressListItem = action(\"PERSONA_CREATE_AN_IP_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-an-ip-address-list-item\",\n name: \"Create IP Address List Item\",\n description: \"Tool to create an IP Address List Item in Persona. Use when you need to add an IP address to a watchlist or allowlist for identity verification purposes. The list ID must be obtained first using a list retrieval action.\",\n input: PersonaCreateAnIpAddressListItemInput,\n output: PersonaCreateAnIpAddressListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qFAAqFA,IAAAA,EAAE,OAAO;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,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,SAAS,oDAAoD;AAC9E,MAAM,+EAA+EA,IAAAA,EAAE,OAAO;CAC5F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,YAAY,mFAAmF,SAAS;CACxG,eAAe,sFAAsF,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAM,6EAA6E,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,17 +24,17 @@ declare const PersonaCreateAnIpAddressListItemOutput: z.ZodObject<{
|
|
|
24
24
|
"archived-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
"match-count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const personaCreateAnIpAddressListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
value: string;
|
|
40
40
|
list_id: string;
|
|
@@ -24,17 +24,17 @@ declare const PersonaCreateAnIpAddressListItemOutput: z.ZodObject<{
|
|
|
24
24
|
"archived-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
"match-count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const personaCreateAnIpAddressListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
value: string;
|
|
40
40
|
list_id: string;
|
|
@@ -20,25 +20,25 @@ const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttribut
|
|
|
20
20
|
"archived-at": z.string().describe("Timestamp when the item was archived, if applicable.").nullable().optional(),
|
|
21
21
|
"match-count": z.number().int().describe("Number of matches for this IP address item.").nullable().optional(),
|
|
22
22
|
"redacted-at": z.string().describe("Timestamp when the item was redacted, if applicable.").nullable().optional()
|
|
23
|
-
}).describe("Attributes of the created IP Address List Item.");
|
|
23
|
+
}).passthrough().describe("Attributes of the created IP Address List Item.");
|
|
24
24
|
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema = z.object({
|
|
25
25
|
id: z.string().describe("ID of the creator.").nullable().optional(),
|
|
26
26
|
type: z.string().describe("Type of the creator resource.").nullable().optional()
|
|
27
|
-
}).describe("Creator data within relationship.");
|
|
28
|
-
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional() }).describe("Creator relationship data.");
|
|
29
|
-
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = z.object({ creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional() }).describe("Relationships of the created IP Address List Item.");
|
|
27
|
+
}).passthrough().describe("Creator data within relationship.");
|
|
28
|
+
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional() }).passthrough().describe("Creator relationship data.");
|
|
29
|
+
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = z.object({ creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional() }).passthrough().describe("Relationships of the created IP Address List Item.");
|
|
30
30
|
const PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema = z.object({
|
|
31
31
|
id: z.string().describe("Unique identifier for this list item. Starts with 'liip_'.").nullable(),
|
|
32
32
|
type: z.string().describe("Type of the resource.").nullable(),
|
|
33
33
|
attributes: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema.nullable(),
|
|
34
34
|
relationships: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema.nullable().optional()
|
|
35
|
-
}).describe("Data of the created IP Address List Item.");
|
|
35
|
+
}).passthrough().describe("Data of the created IP Address List Item.");
|
|
36
36
|
const personaCreateAnIpAddressListItem = action("PERSONA_CREATE_AN_IP_ADDRESS_LIST_ITEM", {
|
|
37
37
|
slug: "persona-create-an-ip-address-list-item",
|
|
38
38
|
name: "Create IP Address List Item",
|
|
39
39
|
description: "Tool to create an IP Address List Item in Persona. Use when you need to add an IP address to a watchlist or allowlist for identity verification purposes. The list ID must be obtained first using a list retrieval action.",
|
|
40
40
|
input: PersonaCreateAnIpAddressListItemInput,
|
|
41
|
-
output: z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable() }).describe("Response model for creating an IP Address List Item.")
|
|
41
|
+
output: z.object({ data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating an IP Address List Item.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { personaCreateAnIpAddressListItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-an-ip-address-list-item.mjs","names":[],"sources":["../../src/actions/create-an-ip-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnIpAddressListItemInput = z.object({\n value: z.string().describe(\"The IP address value to add to the list. Can be a single IP address (e.g., '192.168.1.100') or CIDR notation (e.g., '192.168.1.0/24').\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response (e.g., 'creator').\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the IP address to. Must start with 'lst_'.\"),\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 duplicate requests to prevent creating multiple identical items.\").optional(),\n}).describe(\"Request model for creating an IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The IP address value of the list item.\").nullable(),\n status: z.string().describe(\"Current status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this IP address item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted, if applicable.\").nullable().optional(),\n}).describe(\"Attributes of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema = z.object({\n id: z.string().describe(\"ID of the creator.\").nullable().optional(),\n type: z.string().describe(\"Type of the creator resource.\").nullable().optional(),\n}).describe(\"Creator data within relationship.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional(),\n}).describe(\"Creator relationship data.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = z.object({\n creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional(),\n}).describe(\"Relationships of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liip_'.\").nullable(),\n type: z.string().describe(\"Type of the resource.\").nullable(),\n attributes: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).describe(\"Data of the created IP Address List Item.\");\nexport const PersonaCreateAnIpAddressListItemOutput = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating an IP Address List Item.\");\n\nexport const personaCreateAnIpAddressListItem = action(\"PERSONA_CREATE_AN_IP_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-an-ip-address-list-item\",\n name: \"Create IP Address List Item\",\n description: \"Tool to create an IP Address List Item in Persona. Use when you need to add an IP address to a watchlist or allowlist for identity verification purposes. The list ID must be obtained first using a list retrieval action.\",\n input: PersonaCreateAnIpAddressListItemInput,\n output: PersonaCreateAnIpAddressListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qFAAqF,EAAE,OAAO;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"create-an-ip-address-list-item.mjs","names":[],"sources":["../../src/actions/create-an-ip-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnIpAddressListItemInput = z.object({\n value: z.string().describe(\"The IP address value to add to the list. Can be a single IP address (e.g., '192.168.1.100') or CIDR notation (e.g., '192.168.1.0/24').\"),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response (e.g., 'creator').\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the IP address to. Must start with 'lst_'.\"),\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 duplicate requests to prevent creating multiple identical items.\").optional(),\n}).describe(\"Request model for creating an IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The IP address value of the list item.\").nullable(),\n status: z.string().describe(\"Current status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this IP address item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema = z.object({\n id: z.string().describe(\"ID of the creator.\").nullable().optional(),\n type: z.string().describe(\"Type of the creator resource.\").nullable().optional(),\n}).passthrough().describe(\"Creator data within relationship.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorDataSchema.nullable().optional(),\n}).passthrough().describe(\"Creator relationship data.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema = z.object({\n creator: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsCreatorSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships of the created IP Address List Item.\");\nconst PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liip_'.\").nullable(),\n type: z.string().describe(\"Type of the resource.\").nullable(),\n attributes: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Data of the created IP Address List Item.\");\nexport const PersonaCreateAnIpAddressListItemOutput = z.object({\n data: PersonaCreateAnIpAddressListItem_CreateAnIpAddressListItemResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating an IP Address List Item.\");\n\nexport const personaCreateAnIpAddressListItem = action(\"PERSONA_CREATE_AN_IP_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-an-ip-address-list-item\",\n name: \"Create IP Address List Item\",\n description: \"Tool to create an IP Address List Item in Persona. Use when you need to add an IP address to a watchlist or allowlist for identity verification purposes. The list ID must be obtained first using a list retrieval action.\",\n input: PersonaCreateAnIpAddressListItemInput,\n output: PersonaCreateAnIpAddressListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qFAAqF,EAAE,OAAO;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,mGAAmG,EAAE,OAAO;CAChH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,+FAA+F,EAAE,OAAO,EAC5G,MAAM,iGAAiG,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,wFAAwF,EAAE,OAAO,EACrG,SAAS,6FAA6F,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,+EAA+E,EAAE,OAAO;CAC5F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,YAAY,mFAAmF,SAAS;CACxG,eAAe,sFAAsF,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,6EAA6E,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -33,20 +33,20 @@ const PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema = zod
|
|
|
33
33
|
"match-count": zod.z.number().int().describe("Number of matches for this item.").nullable().optional(),
|
|
34
34
|
"redacted-at": zod.z.string().describe("Timestamp when the item was redacted.").nullable().optional(),
|
|
35
35
|
"country-code": zod.z.string().describe("ISO 3166-1 alpha-2 country code.").nullable().optional()
|
|
36
|
-
}).describe("Attributes in the country list item response.");
|
|
36
|
+
}).passthrough().describe("Attributes in the country list item response.");
|
|
37
37
|
const PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema = zod.z.object({
|
|
38
38
|
id: zod.z.string().describe("ID of the related resource.").nullable().optional(),
|
|
39
39
|
type: zod.z.string().describe("Type of the related resource.").nullable().optional()
|
|
40
|
-
}).describe("Relationship data object.");
|
|
41
|
-
const PersonaCreateCountryListItem_CountryListItemRelationshipSchema = zod.z.object({ data: PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema.nullable().optional() }).describe("Relationship object.");
|
|
42
|
-
const PersonaCreateCountryListItem_CountryListItemRelationshipsSchema = zod.z.object({ creator: PersonaCreateCountryListItem_CountryListItemRelationshipSchema.nullable().optional() }).describe("Relationships in the country list item response.");
|
|
40
|
+
}).passthrough().describe("Relationship data object.");
|
|
41
|
+
const PersonaCreateCountryListItem_CountryListItemRelationshipSchema = zod.z.object({ data: PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationship object.");
|
|
42
|
+
const PersonaCreateCountryListItem_CountryListItemRelationshipsSchema = zod.z.object({ creator: PersonaCreateCountryListItem_CountryListItemRelationshipSchema.nullable().optional() }).passthrough().describe("Relationships in the country list item response.");
|
|
43
43
|
const PersonaCreateCountryListItem_CountryListItemResponseDataSchema = zod.z.object({
|
|
44
44
|
id: zod.z.string().describe("Unique identifier for this list item. Starts with 'lic_'.").nullable(),
|
|
45
45
|
type: zod.z.string().describe("Type of the resource.").nullable(),
|
|
46
46
|
attributes: PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema.nullable(),
|
|
47
47
|
relationships: PersonaCreateCountryListItem_CountryListItemRelationshipsSchema.nullable().optional()
|
|
48
|
-
}).describe("Data object in the country list item response.");
|
|
49
|
-
const PersonaCreateCountryListItemOutput = zod.z.object({ data: PersonaCreateCountryListItem_CountryListItemResponseDataSchema.nullable() }).describe("Response model for creating a country list item.");
|
|
48
|
+
}).passthrough().describe("Data object in the country list item response.");
|
|
49
|
+
const PersonaCreateCountryListItemOutput = zod.z.object({ data: PersonaCreateCountryListItem_CountryListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a country list item.");
|
|
50
50
|
const personaCreateCountryListItem = require_action.action("PERSONA_CREATE_COUNTRY_LIST_ITEM", {
|
|
51
51
|
slug: "persona-create-country-list-item",
|
|
52
52
|
name: "Create Country List Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-country-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-country-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateCountryListItemInput = z.object({\n data: z.object({\n attributes: z.object({\n \"list-id\": z.string().describe(\"The ID of the country list to add this item to. Starts with 'lst_'.\"),\n \"country-code\": z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\"),\n}).describe(\"Attributes for the country list item.\"),\n}).describe(\"Data object containing the country list item attributes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response (sparse fieldsets).\").optional(),\n include: z.string().describe(\"Comma-separated list of relationship paths to include in the response.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate creations.\").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 for Persona.\").optional(),\n}).describe(\"Request model for creating a country list item.\");\nconst PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema = z.object({\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted.\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 3166-1 alpha-2 country code.\").nullable().optional(),\n}).describe(\"Attributes in the country list item response.\");\nconst PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema = z.object({\n id: z.string().describe(\"ID of the related resource.\").nullable().optional(),\n type: z.string().describe(\"Type of the related resource.\").nullable().optional(),\n}).describe(\"Relationship data object.\");\nconst PersonaCreateCountryListItem_CountryListItemRelationshipSchema = z.object({\n data: PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationship object.\");\nconst PersonaCreateCountryListItem_CountryListItemRelationshipsSchema = z.object({\n creator: PersonaCreateCountryListItem_CountryListItemRelationshipSchema.nullable().optional(),\n}).describe(\"Relationships in the country list item response.\");\nconst PersonaCreateCountryListItem_CountryListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lic_'.\").nullable(),\n type: z.string().describe(\"Type of the resource.\").nullable(),\n attributes: PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateCountryListItem_CountryListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"Data object in the country list item response.\");\nexport const PersonaCreateCountryListItemOutput = z.object({\n data: PersonaCreateCountryListItem_CountryListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a country list item.\");\n\nexport const personaCreateCountryListItem = action(\"PERSONA_CREATE_COUNTRY_LIST_ITEM\", {\n slug: \"persona-create-country-list-item\",\n name: \"Create Country List Item\",\n description: \"Tool to create a country list item in Persona. Use when you need to add a country to a country list for identity verification or compliance purposes.\",\n input: PersonaCreateCountryListItemInput,\n output: PersonaCreateCountryListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;EACrB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC,EACnD,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC3I,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACnM,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uEAAuEA,IAAAA,EAAE,OAAO;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"create-country-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-country-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateCountryListItemInput = z.object({\n data: z.object({\n attributes: z.object({\n \"list-id\": z.string().describe(\"The ID of the country list to add this item to. Starts with 'lst_'.\"),\n \"country-code\": z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').\"),\n}).describe(\"Attributes for the country list item.\"),\n}).describe(\"Data object containing the country list item attributes.\"),\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response (sparse fieldsets).\").optional(),\n include: z.string().describe(\"Comma-separated list of relationship paths to include in the response.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate creations.\").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 for Persona.\").optional(),\n}).describe(\"Request model for creating a country list item.\");\nconst PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema = z.object({\n status: z.string().describe(\"Status of the list item.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the item was created.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the item was updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the item was archived.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"Number of matches for this item.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the item was redacted.\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 3166-1 alpha-2 country code.\").nullable().optional(),\n}).passthrough().describe(\"Attributes in the country list item response.\");\nconst PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema = z.object({\n id: z.string().describe(\"ID of the related resource.\").nullable().optional(),\n type: z.string().describe(\"Type of the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Relationship data object.\");\nconst PersonaCreateCountryListItem_CountryListItemRelationshipSchema = z.object({\n data: PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Relationship object.\");\nconst PersonaCreateCountryListItem_CountryListItemRelationshipsSchema = z.object({\n creator: PersonaCreateCountryListItem_CountryListItemRelationshipSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships in the country list item response.\");\nconst PersonaCreateCountryListItem_CountryListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'lic_'.\").nullable(),\n type: z.string().describe(\"Type of the resource.\").nullable(),\n attributes: PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateCountryListItem_CountryListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Data object in the country list item response.\");\nexport const PersonaCreateCountryListItemOutput = z.object({\n data: PersonaCreateCountryListItem_CountryListItemResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a country list item.\");\n\nexport const personaCreateCountryListItem = action(\"PERSONA_CREATE_COUNTRY_LIST_ITEM\", {\n slug: \"persona-create-country-list-item\",\n name: \"Create Country List Item\",\n description: \"Tool to create a country list item in Persona. Use when you need to add a country to a country list for identity verification or compliance purposes.\",\n input: PersonaCreateCountryListItemInput,\n output: PersonaCreateCountryListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;EACrB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC,EACnD,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC3I,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACnM,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uEAAuEA,IAAAA,EAAE,OAAO;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9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AAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,YAAY,qEAAqE,SAAS;CAC1F,eAAe,gEAAgE,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -39,17 +39,17 @@ declare const PersonaCreateCountryListItemOutput: z.ZodObject<{
|
|
|
39
39
|
"match-count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
45
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
52
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
}, z.core.$loose>;
|
|
53
53
|
declare const personaCreateCountryListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
54
|
data: {
|
|
55
55
|
attributes: {
|
|
@@ -39,17 +39,17 @@ declare const PersonaCreateCountryListItemOutput: z.ZodObject<{
|
|
|
39
39
|
"match-count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
45
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
52
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
}, z.core.$loose>;
|
|
53
53
|
declare const personaCreateCountryListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
54
|
data: {
|
|
55
55
|
attributes: {
|
|
@@ -33,25 +33,25 @@ const PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema = z.o
|
|
|
33
33
|
"match-count": z.number().int().describe("Number of matches for this item.").nullable().optional(),
|
|
34
34
|
"redacted-at": z.string().describe("Timestamp when the item was redacted.").nullable().optional(),
|
|
35
35
|
"country-code": z.string().describe("ISO 3166-1 alpha-2 country code.").nullable().optional()
|
|
36
|
-
}).describe("Attributes in the country list item response.");
|
|
36
|
+
}).passthrough().describe("Attributes in the country list item response.");
|
|
37
37
|
const PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema = z.object({
|
|
38
38
|
id: z.string().describe("ID of the related resource.").nullable().optional(),
|
|
39
39
|
type: z.string().describe("Type of the related resource.").nullable().optional()
|
|
40
|
-
}).describe("Relationship data object.");
|
|
41
|
-
const PersonaCreateCountryListItem_CountryListItemRelationshipSchema = z.object({ data: PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema.nullable().optional() }).describe("Relationship object.");
|
|
42
|
-
const PersonaCreateCountryListItem_CountryListItemRelationshipsSchema = z.object({ creator: PersonaCreateCountryListItem_CountryListItemRelationshipSchema.nullable().optional() }).describe("Relationships in the country list item response.");
|
|
40
|
+
}).passthrough().describe("Relationship data object.");
|
|
41
|
+
const PersonaCreateCountryListItem_CountryListItemRelationshipSchema = z.object({ data: PersonaCreateCountryListItem_CountryListItemRelationshipDataSchema.nullable().optional() }).passthrough().describe("Relationship object.");
|
|
42
|
+
const PersonaCreateCountryListItem_CountryListItemRelationshipsSchema = z.object({ creator: PersonaCreateCountryListItem_CountryListItemRelationshipSchema.nullable().optional() }).passthrough().describe("Relationships in the country list item response.");
|
|
43
43
|
const PersonaCreateCountryListItem_CountryListItemResponseDataSchema = z.object({
|
|
44
44
|
id: z.string().describe("Unique identifier for this list item. Starts with 'lic_'.").nullable(),
|
|
45
45
|
type: z.string().describe("Type of the resource.").nullable(),
|
|
46
46
|
attributes: PersonaCreateCountryListItem_CountryListItemResponseAttributesSchema.nullable(),
|
|
47
47
|
relationships: PersonaCreateCountryListItem_CountryListItemRelationshipsSchema.nullable().optional()
|
|
48
|
-
}).describe("Data object in the country list item response.");
|
|
48
|
+
}).passthrough().describe("Data object in the country list item response.");
|
|
49
49
|
const personaCreateCountryListItem = action("PERSONA_CREATE_COUNTRY_LIST_ITEM", {
|
|
50
50
|
slug: "persona-create-country-list-item",
|
|
51
51
|
name: "Create Country List Item",
|
|
52
52
|
description: "Tool to create a country list item in Persona. Use when you need to add a country to a country list for identity verification or compliance purposes.",
|
|
53
53
|
input: PersonaCreateCountryListItemInput,
|
|
54
|
-
output: z.object({ data: PersonaCreateCountryListItem_CountryListItemResponseDataSchema.nullable() }).describe("Response model for creating a country list item.")
|
|
54
|
+
output: z.object({ data: PersonaCreateCountryListItem_CountryListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a country list item.")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { personaCreateCountryListItem };
|