@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-country-list-item.mjs","names":[],"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,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,OAAO;EACrB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC,EACnD,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC3I,mBAAmB,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,uEAAuE,EAAE,OAAO;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,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.mjs","names":[],"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,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,OAAO;EACrB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC,EACnD,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,y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AmE,SAAS,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,kEAAkE,EAAE,OAAO,EAC/E,SAAS,+DAA+D,SAAS,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,iEAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,MAAM,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;AAK1E,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -37,7 +37,7 @@ const PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema = zod.z.obje
|
|
|
37
37
|
"processed-at-ts": zod.z.number().int().describe("Unix timestamp when the document was processed.").nullable().optional(),
|
|
38
38
|
"files-normalized": zod.z.array(zod.z.unknown()).describe("Normalized file objects.").nullable().optional(),
|
|
39
39
|
"extraction-responses": zod.z.array(zod.z.unknown()).describe("List of extraction responses from the document.").nullable().optional()
|
|
40
|
-
}).describe("Attributes of a document generic object.");
|
|
40
|
+
}).passthrough().describe("Attributes of a document generic object.");
|
|
41
41
|
const PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = zod.z.object({
|
|
42
42
|
inquiry: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related inquiry object.").nullable().optional(),
|
|
43
43
|
template: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related document template.").nullable().optional(),
|
|
@@ -45,23 +45,23 @@ const PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = zod.z.object({
|
|
|
45
45
|
"document-files": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related document files.").nullable().optional(),
|
|
46
46
|
"inquiry-template": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related inquiry template.").nullable().optional(),
|
|
47
47
|
"inquiry-template-version": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related inquiry template version.").nullable().optional()
|
|
48
|
-
}).describe("Relationships of a document generic object.");
|
|
48
|
+
}).passthrough().describe("Relationships of a document generic object.");
|
|
49
49
|
const PersonaCreateDocumentGeneric_DocumentDataResponseSchema = zod.z.object({
|
|
50
50
|
id: zod.z.string().describe("Unique identifier of the document.").nullable(),
|
|
51
51
|
type: zod.z.string().describe("Type of the resource (e.g., 'document/generic').").nullable(),
|
|
52
52
|
attributes: PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema.nullable(),
|
|
53
53
|
relationships: PersonaCreateDocumentGeneric_DocumentRelationshipsSchema.nullable().optional()
|
|
54
|
-
}).describe("Document generic object in the response.");
|
|
54
|
+
}).passthrough().describe("Document generic object in the response.");
|
|
55
55
|
const PersonaCreateDocumentGeneric_IncludedResourceSchema = zod.z.object({
|
|
56
56
|
id: zod.z.string().describe("Unique identifier of the related resource.").nullable(),
|
|
57
57
|
type: zod.z.string().describe("Type of the related resource.").nullable(),
|
|
58
58
|
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Attributes of the related resource.").nullable().optional(),
|
|
59
59
|
relationships: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Relationships of the related resource.").nullable().optional()
|
|
60
|
-
}).describe("A related resource object that may be included in the response.");
|
|
60
|
+
}).passthrough().describe("A related resource object that may be included in the response.");
|
|
61
61
|
const PersonaCreateDocumentGenericOutput = zod.z.object({
|
|
62
62
|
data: PersonaCreateDocumentGeneric_DocumentDataResponseSchema.nullable(),
|
|
63
63
|
included: zod.z.array(PersonaCreateDocumentGeneric_IncludedResourceSchema).describe("Related resources that were requested via the 'include' parameter.").nullable().optional()
|
|
64
|
-
}).describe("Response after creating a generic document.");
|
|
64
|
+
}).passthrough().describe("Response after creating a generic document.");
|
|
65
65
|
const personaCreateDocumentGeneric = require_action.action("PERSONA_CREATE_DOCUMENT_GENERIC", {
|
|
66
66
|
slug: "persona-create-document-generic",
|
|
67
67
|
name: "Create Generic Document",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-document-generic.cjs","names":["z","action"],"sources":["../../src/actions/create-document-generic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateDocumentGenericInput = z.object({\n data: z.object({\n attributes: z.object({\n kind: z.string().describe(\"Type of document being created. This is a required field that identifies the document template or type.\"),\n files: z.array(z.string()).describe(\"List of file IDs to attach to the document.\").optional(),\n \"account-id\": z.string().describe(\"ID of the account this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n \"inquiry-id\": z.string().describe(\"ID of the inquiry this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n}).describe(\"Document attributes including kind, account-id, inquiry-id, and files.\"),\n}).describe(\"Document data containing attributes for the generic document.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to fully serialize in the 'included' key. See https://docs.withpersona.com/serialization#inclusion-of-related-resources\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Use the same key for retries.\").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(\"API version for Persona.\").optional(),\n}).describe(\"Request model for creating a generic document in Persona.\");\nconst PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema = z.object({\n kind: z.string().describe(\"Kind/type of the document as specified during creation.\").nullable().optional(),\n files: z.array(z.unknown()).describe(\"List of file objects attached to the document.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields extracted from the document.\").nullable().optional(),\n status: z.string().describe(\"Status of the document (e.g., pending, approved, failed).\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the document was created.\").nullable().optional(),\n \"processed-at\": z.string().describe(\"ISO 8601 timestamp when the document was processed.\").nullable().optional(),\n \"document-type\": z.string().describe(\"Type of the document detected.\").nullable().optional(),\n \"processed-at-ts\": z.number().int().describe(\"Unix timestamp when the document was processed.\").nullable().optional(),\n \"files-normalized\": z.array(z.unknown()).describe(\"Normalized file objects.\").nullable().optional(),\n \"extraction-responses\": z.array(z.unknown()).describe(\"List of extraction responses from the document.\").nullable().optional(),\n}).describe(\"Attributes of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = z.object({\n inquiry: z.record(z.string(), z.unknown()).describe(\"Related inquiry object.\").nullable().optional(),\n template: z.record(z.string(), z.unknown()).describe(\"Related document template.\").nullable().optional(),\n transaction: z.record(z.string(), z.unknown()).describe(\"Related transaction.\").nullable().optional(),\n \"document-files\": z.record(z.string(), z.unknown()).describe(\"Related document files.\").nullable().optional(),\n \"inquiry-template\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template.\").nullable().optional(),\n \"inquiry-template-version\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template version.\").nullable().optional(),\n}).describe(\"Relationships of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'document/generic').\").nullable(),\n attributes: PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema.nullable(),\n relationships: PersonaCreateDocumentGeneric_DocumentRelationshipsSchema.nullable().optional(),\n}).describe(\"Document generic object in the response.\");\nconst PersonaCreateDocumentGeneric_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the related resource.\").nullable(),\n type: z.string().describe(\"Type of the related resource.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the related resource.\").nullable().optional(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the related resource.\").nullable().optional(),\n}).describe(\"A related resource object that may be included in the response.\");\nexport const PersonaCreateDocumentGenericOutput = z.object({\n data: PersonaCreateDocumentGeneric_DocumentDataResponseSchema.nullable(),\n included: z.array(PersonaCreateDocumentGeneric_IncludedResourceSchema).describe(\"Related resources that were requested via the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response after creating a generic document.\");\n\nexport const personaCreateDocumentGeneric = action(\"PERSONA_CREATE_DOCUMENT_GENERIC\", {\n slug: \"persona-create-document-generic\",\n name: \"Create Generic Document\",\n description: \"Tool to create a generic document in Persona. Use when you need to create a document record of a specific kind/type for an account or inquiry.\",\n input: PersonaCreateDocumentGenericInput,\n output: PersonaCreateDocumentGenericOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC9I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,wEAAwE,EACpF,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,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AC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"create-document-generic.cjs","names":["z","action"],"sources":["../../src/actions/create-document-generic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateDocumentGenericInput = z.object({\n data: z.object({\n attributes: z.object({\n kind: z.string().describe(\"Type of document being created. This is a required field that identifies the document template or type.\"),\n files: z.array(z.string()).describe(\"List of file IDs to attach to the document.\").optional(),\n \"account-id\": z.string().describe(\"ID of the account this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n \"inquiry-id\": z.string().describe(\"ID of the inquiry this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n}).describe(\"Document attributes including kind, account-id, inquiry-id, and files.\"),\n}).describe(\"Document data containing attributes for the generic document.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to fully serialize in the 'included' key. See https://docs.withpersona.com/serialization#inclusion-of-related-resources\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Use the same key for retries.\").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(\"API version for Persona.\").optional(),\n}).describe(\"Request model for creating a generic document in Persona.\");\nconst PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema = z.object({\n kind: z.string().describe(\"Kind/type of the document as specified during creation.\").nullable().optional(),\n files: z.array(z.unknown()).describe(\"List of file objects attached to the document.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields extracted from the document.\").nullable().optional(),\n status: z.string().describe(\"Status of the document (e.g., pending, approved, failed).\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the document was created.\").nullable().optional(),\n \"processed-at\": z.string().describe(\"ISO 8601 timestamp when the document was processed.\").nullable().optional(),\n \"document-type\": z.string().describe(\"Type of the document detected.\").nullable().optional(),\n \"processed-at-ts\": z.number().int().describe(\"Unix timestamp when the document was processed.\").nullable().optional(),\n \"files-normalized\": z.array(z.unknown()).describe(\"Normalized file objects.\").nullable().optional(),\n \"extraction-responses\": z.array(z.unknown()).describe(\"List of extraction responses from the document.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = z.object({\n inquiry: z.record(z.string(), z.unknown()).describe(\"Related inquiry object.\").nullable().optional(),\n template: z.record(z.string(), z.unknown()).describe(\"Related document template.\").nullable().optional(),\n transaction: z.record(z.string(), z.unknown()).describe(\"Related transaction.\").nullable().optional(),\n \"document-files\": z.record(z.string(), z.unknown()).describe(\"Related document files.\").nullable().optional(),\n \"inquiry-template\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template.\").nullable().optional(),\n \"inquiry-template-version\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template version.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'document/generic').\").nullable(),\n attributes: PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema.nullable(),\n relationships: PersonaCreateDocumentGeneric_DocumentRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Document generic object in the response.\");\nconst PersonaCreateDocumentGeneric_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the related resource.\").nullable(),\n type: z.string().describe(\"Type of the related resource.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the related resource.\").nullable().optional(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the related resource.\").nullable().optional(),\n}).passthrough().describe(\"A related resource object that may be included in the response.\");\nexport const PersonaCreateDocumentGenericOutput = z.object({\n data: PersonaCreateDocumentGeneric_DocumentDataResponseSchema.nullable(),\n included: z.array(PersonaCreateDocumentGeneric_IncludedResourceSchema).describe(\"Related resources that were requested via the 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response after creating a generic document.\");\n\nexport const personaCreateDocumentGeneric = action(\"PERSONA_CREATE_DOCUMENT_GENERIC\", {\n slug: \"persona-create-document-generic\",\n name: \"Create Generic Document\",\n description: \"Tool to create a generic document in Persona. Use when you need to create a document record of a specific kind/type for an account or inquiry.\",\n input: PersonaCreateDocumentGenericInput,\n output: PersonaCreateDocumentGenericOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC9I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,wEAAwE,EACpF,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,SAASA,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AC,SAAS;AAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -43,7 +43,7 @@ declare const PersonaCreateDocumentGenericOutput: z.ZodObject<{
|
|
|
43
43
|
"processed-at-ts": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
"files-normalized": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
45
45
|
"extraction-responses": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
47
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
inquiry: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
49
|
template: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -51,15 +51,15 @@ declare const PersonaCreateDocumentGenericOutput: z.ZodObject<{
|
|
|
51
51
|
"document-files": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
52
52
|
"inquiry-template": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
53
53
|
"inquiry-template-version": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
57
57
|
id: z.ZodNullable<z.ZodString>;
|
|
58
58
|
type: z.ZodNullable<z.ZodString>;
|
|
59
59
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
60
60
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
|
-
}, z.core.$
|
|
62
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$loose>>>>;
|
|
62
|
+
}, z.core.$loose>;
|
|
63
63
|
declare const personaCreateDocumentGeneric: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
64
64
|
data: {
|
|
65
65
|
attributes: {
|
|
@@ -43,7 +43,7 @@ declare const PersonaCreateDocumentGenericOutput: z.ZodObject<{
|
|
|
43
43
|
"processed-at-ts": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
"files-normalized": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
45
45
|
"extraction-responses": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
47
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
inquiry: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
49
|
template: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -51,15 +51,15 @@ declare const PersonaCreateDocumentGenericOutput: z.ZodObject<{
|
|
|
51
51
|
"document-files": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
52
52
|
"inquiry-template": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
53
53
|
"inquiry-template-version": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
57
57
|
id: z.ZodNullable<z.ZodString>;
|
|
58
58
|
type: z.ZodNullable<z.ZodString>;
|
|
59
59
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
60
60
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
|
-
}, z.core.$
|
|
62
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$loose>>>>;
|
|
62
|
+
}, z.core.$loose>;
|
|
63
63
|
declare const personaCreateDocumentGeneric: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
64
64
|
data: {
|
|
65
65
|
attributes: {
|
|
@@ -37,7 +37,7 @@ const PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema = z.object({
|
|
|
37
37
|
"processed-at-ts": z.number().int().describe("Unix timestamp when the document was processed.").nullable().optional(),
|
|
38
38
|
"files-normalized": z.array(z.unknown()).describe("Normalized file objects.").nullable().optional(),
|
|
39
39
|
"extraction-responses": z.array(z.unknown()).describe("List of extraction responses from the document.").nullable().optional()
|
|
40
|
-
}).describe("Attributes of a document generic object.");
|
|
40
|
+
}).passthrough().describe("Attributes of a document generic object.");
|
|
41
41
|
const PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = z.object({
|
|
42
42
|
inquiry: z.record(z.string(), z.unknown()).describe("Related inquiry object.").nullable().optional(),
|
|
43
43
|
template: z.record(z.string(), z.unknown()).describe("Related document template.").nullable().optional(),
|
|
@@ -45,19 +45,19 @@ const PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = z.object({
|
|
|
45
45
|
"document-files": z.record(z.string(), z.unknown()).describe("Related document files.").nullable().optional(),
|
|
46
46
|
"inquiry-template": z.record(z.string(), z.unknown()).describe("Related inquiry template.").nullable().optional(),
|
|
47
47
|
"inquiry-template-version": z.record(z.string(), z.unknown()).describe("Related inquiry template version.").nullable().optional()
|
|
48
|
-
}).describe("Relationships of a document generic object.");
|
|
48
|
+
}).passthrough().describe("Relationships of a document generic object.");
|
|
49
49
|
const PersonaCreateDocumentGeneric_DocumentDataResponseSchema = z.object({
|
|
50
50
|
id: z.string().describe("Unique identifier of the document.").nullable(),
|
|
51
51
|
type: z.string().describe("Type of the resource (e.g., 'document/generic').").nullable(),
|
|
52
52
|
attributes: PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema.nullable(),
|
|
53
53
|
relationships: PersonaCreateDocumentGeneric_DocumentRelationshipsSchema.nullable().optional()
|
|
54
|
-
}).describe("Document generic object in the response.");
|
|
54
|
+
}).passthrough().describe("Document generic object in the response.");
|
|
55
55
|
const PersonaCreateDocumentGeneric_IncludedResourceSchema = z.object({
|
|
56
56
|
id: z.string().describe("Unique identifier of the related resource.").nullable(),
|
|
57
57
|
type: z.string().describe("Type of the related resource.").nullable(),
|
|
58
58
|
attributes: z.record(z.string(), z.unknown()).describe("Attributes of the related resource.").nullable().optional(),
|
|
59
59
|
relationships: z.record(z.string(), z.unknown()).describe("Relationships of the related resource.").nullable().optional()
|
|
60
|
-
}).describe("A related resource object that may be included in the response.");
|
|
60
|
+
}).passthrough().describe("A related resource object that may be included in the response.");
|
|
61
61
|
const personaCreateDocumentGeneric = action("PERSONA_CREATE_DOCUMENT_GENERIC", {
|
|
62
62
|
slug: "persona-create-document-generic",
|
|
63
63
|
name: "Create Generic Document",
|
|
@@ -66,7 +66,7 @@ const personaCreateDocumentGeneric = action("PERSONA_CREATE_DOCUMENT_GENERIC", {
|
|
|
66
66
|
output: z.object({
|
|
67
67
|
data: PersonaCreateDocumentGeneric_DocumentDataResponseSchema.nullable(),
|
|
68
68
|
included: z.array(PersonaCreateDocumentGeneric_IncludedResourceSchema).describe("Related resources that were requested via the 'include' parameter.").nullable().optional()
|
|
69
|
-
}).describe("Response after creating a generic document.")
|
|
69
|
+
}).passthrough().describe("Response after creating a generic document.")
|
|
70
70
|
});
|
|
71
71
|
//#endregion
|
|
72
72
|
export { personaCreateDocumentGeneric };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-document-generic.mjs","names":[],"sources":["../../src/actions/create-document-generic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateDocumentGenericInput = z.object({\n data: z.object({\n attributes: z.object({\n kind: z.string().describe(\"Type of document being created. This is a required field that identifies the document template or type.\"),\n files: z.array(z.string()).describe(\"List of file IDs to attach to the document.\").optional(),\n \"account-id\": z.string().describe(\"ID of the account this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n \"inquiry-id\": z.string().describe(\"ID of the inquiry this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n}).describe(\"Document attributes including kind, account-id, inquiry-id, and files.\"),\n}).describe(\"Document data containing attributes for the generic document.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to fully serialize in the 'included' key. See https://docs.withpersona.com/serialization#inclusion-of-related-resources\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Use the same key for retries.\").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(\"API version for Persona.\").optional(),\n}).describe(\"Request model for creating a generic document in Persona.\");\nconst PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema = z.object({\n kind: z.string().describe(\"Kind/type of the document as specified during creation.\").nullable().optional(),\n files: z.array(z.unknown()).describe(\"List of file objects attached to the document.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields extracted from the document.\").nullable().optional(),\n status: z.string().describe(\"Status of the document (e.g., pending, approved, failed).\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the document was created.\").nullable().optional(),\n \"processed-at\": z.string().describe(\"ISO 8601 timestamp when the document was processed.\").nullable().optional(),\n \"document-type\": z.string().describe(\"Type of the document detected.\").nullable().optional(),\n \"processed-at-ts\": z.number().int().describe(\"Unix timestamp when the document was processed.\").nullable().optional(),\n \"files-normalized\": z.array(z.unknown()).describe(\"Normalized file objects.\").nullable().optional(),\n \"extraction-responses\": z.array(z.unknown()).describe(\"List of extraction responses from the document.\").nullable().optional(),\n}).describe(\"Attributes of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = z.object({\n inquiry: z.record(z.string(), z.unknown()).describe(\"Related inquiry object.\").nullable().optional(),\n template: z.record(z.string(), z.unknown()).describe(\"Related document template.\").nullable().optional(),\n transaction: z.record(z.string(), z.unknown()).describe(\"Related transaction.\").nullable().optional(),\n \"document-files\": z.record(z.string(), z.unknown()).describe(\"Related document files.\").nullable().optional(),\n \"inquiry-template\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template.\").nullable().optional(),\n \"inquiry-template-version\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template version.\").nullable().optional(),\n}).describe(\"Relationships of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'document/generic').\").nullable(),\n attributes: PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema.nullable(),\n relationships: PersonaCreateDocumentGeneric_DocumentRelationshipsSchema.nullable().optional(),\n}).describe(\"Document generic object in the response.\");\nconst PersonaCreateDocumentGeneric_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the related resource.\").nullable(),\n type: z.string().describe(\"Type of the related resource.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the related resource.\").nullable().optional(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the related resource.\").nullable().optional(),\n}).describe(\"A related resource object that may be included in the response.\");\nexport const PersonaCreateDocumentGenericOutput = z.object({\n data: PersonaCreateDocumentGeneric_DocumentDataResponseSchema.nullable(),\n included: z.array(PersonaCreateDocumentGeneric_IncludedResourceSchema).describe(\"Related resources that were requested via the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response after creating a generic document.\");\n\nexport const personaCreateDocumentGeneric = action(\"PERSONA_CREATE_DOCUMENT_GENERIC\", {\n slug: \"persona-create-document-generic\",\n name: \"Create Generic Document\",\n description: \"Tool to create a generic document in Persona. Use when you need to create a document record of a specific kind/type for an account or inquiry.\",\n input: PersonaCreateDocumentGenericInput,\n output: PersonaCreateDocumentGenericOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,OAAO;EACrB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC9I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,wEAAwE,EACpF,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC5M,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACpH,mBAAmB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC5L,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gEAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,oBAAoB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,wBAAwB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"create-document-generic.mjs","names":[],"sources":["../../src/actions/create-document-generic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateDocumentGenericInput = z.object({\n data: z.object({\n attributes: z.object({\n kind: z.string().describe(\"Type of document being created. This is a required field that identifies the document template or type.\"),\n files: z.array(z.string()).describe(\"List of file IDs to attach to the document.\").optional(),\n \"account-id\": z.string().describe(\"ID of the account this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n \"inquiry-id\": z.string().describe(\"ID of the inquiry this document belongs to. Either account-id or inquiry-id should be provided.\").optional(),\n}).describe(\"Document attributes including kind, account-id, inquiry-id, and files.\"),\n}).describe(\"Document data containing attributes for the generic document.\"),\n include: z.string().describe(\"Comma-separated list of relationship paths to fully serialize in the 'included' key. See https://docs.withpersona.com/serialization#inclusion-of-related-resources\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Casing format for API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Use the same key for retries.\").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(\"API version for Persona.\").optional(),\n}).describe(\"Request model for creating a generic document in Persona.\");\nconst PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema = z.object({\n kind: z.string().describe(\"Kind/type of the document as specified during creation.\").nullable().optional(),\n files: z.array(z.unknown()).describe(\"List of file objects attached to the document.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Custom fields extracted from the document.\").nullable().optional(),\n status: z.string().describe(\"Status of the document (e.g., pending, approved, failed).\").nullable().optional(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the document was created.\").nullable().optional(),\n \"processed-at\": z.string().describe(\"ISO 8601 timestamp when the document was processed.\").nullable().optional(),\n \"document-type\": z.string().describe(\"Type of the document detected.\").nullable().optional(),\n \"processed-at-ts\": z.number().int().describe(\"Unix timestamp when the document was processed.\").nullable().optional(),\n \"files-normalized\": z.array(z.unknown()).describe(\"Normalized file objects.\").nullable().optional(),\n \"extraction-responses\": z.array(z.unknown()).describe(\"List of extraction responses from the document.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentRelationshipsSchema = z.object({\n inquiry: z.record(z.string(), z.unknown()).describe(\"Related inquiry object.\").nullable().optional(),\n template: z.record(z.string(), z.unknown()).describe(\"Related document template.\").nullable().optional(),\n transaction: z.record(z.string(), z.unknown()).describe(\"Related transaction.\").nullable().optional(),\n \"document-files\": z.record(z.string(), z.unknown()).describe(\"Related document files.\").nullable().optional(),\n \"inquiry-template\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template.\").nullable().optional(),\n \"inquiry-template-version\": z.record(z.string(), z.unknown()).describe(\"Related inquiry template version.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of a document generic object.\");\nconst PersonaCreateDocumentGeneric_DocumentDataResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'document/generic').\").nullable(),\n attributes: PersonaCreateDocumentGeneric_DocumentAttributesResponseSchema.nullable(),\n relationships: PersonaCreateDocumentGeneric_DocumentRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Document generic object in the response.\");\nconst PersonaCreateDocumentGeneric_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the related resource.\").nullable(),\n type: z.string().describe(\"Type of the related resource.\").nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Attributes of the related resource.\").nullable().optional(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Relationships of the related resource.\").nullable().optional(),\n}).passthrough().describe(\"A related resource object that may be included in the response.\");\nexport const PersonaCreateDocumentGenericOutput = z.object({\n data: PersonaCreateDocumentGeneric_DocumentDataResponseSchema.nullable(),\n included: z.array(PersonaCreateDocumentGeneric_IncludedResourceSchema).describe(\"Related resources that were requested via the 'include' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response after creating a generic document.\");\n\nexport const personaCreateDocumentGeneric = action(\"PERSONA_CREATE_DOCUMENT_GENERIC\", {\n slug: \"persona-create-document-generic\",\n name: \"Create Generic Document\",\n description: \"Tool to create a generic document in Persona. Use when you need to create a document record of a specific kind/type for an account or inquiry.\",\n input: PersonaCreateDocumentGenericInput,\n output: PersonaCreateDocumentGenericOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,OAAO;EACrB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC9I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,wEAAwE,EACpF,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC5M,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACpH,mBAAmB,EAAE,KAAK;EAAC;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC5L,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gEAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,MAAM,EAAE,Q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AC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAM3F,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,MAAM,wDAAwD,SAAS;EACvE,UAAU,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -22,15 +22,15 @@ const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttrib
|
|
|
22
22
|
"archived-at": zod.z.string().describe("Timestamp when the list item was archived, if applicable.").nullable().optional(),
|
|
23
23
|
"match-count": zod.z.number().int().describe("The number of matches for this list item.").nullable(),
|
|
24
24
|
"redacted-at": zod.z.string().describe("Timestamp when the list item was redacted, if applicable.").nullable().optional()
|
|
25
|
-
}).describe("Attributes of the created email address list item.");
|
|
26
|
-
const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = zod.z.object({ creator: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about the creator of the list item.").nullable().optional() }).describe("Relationships of the created email address list item.");
|
|
25
|
+
}).passthrough().describe("Attributes of the created email address list item.");
|
|
26
|
+
const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = zod.z.object({ creator: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about the creator of the list item.").nullable().optional() }).passthrough().describe("Relationships of the created email address list item.");
|
|
27
27
|
const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema = zod.z.object({
|
|
28
28
|
id: zod.z.string().describe("Unique identifier for this list item. Starts with 'liea_'.").nullable(),
|
|
29
29
|
type: zod.z.string().describe("The type of the resource.").nullable(),
|
|
30
30
|
attributes: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema.nullable(),
|
|
31
31
|
relationships: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema.nullable().optional()
|
|
32
|
-
}).describe("The created email address list item data.");
|
|
33
|
-
const PersonaCreateEmailAddressListItemOutput = zod.z.object({ data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable() }).describe("Response model for creating an email address list item.");
|
|
32
|
+
}).passthrough().describe("The created email address list item data.");
|
|
33
|
+
const PersonaCreateEmailAddressListItemOutput = zod.z.object({ data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating an email address list item.");
|
|
34
34
|
const personaCreateEmailAddressListItem = require_action.action("PERSONA_CREATE_EMAIL_ADDRESS_LIST_ITEM", {
|
|
35
35
|
slug: "persona-create-email-address-list-item",
|
|
36
36
|
name: "Create Email Address List Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-email-address-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-email-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateEmailAddressListItemInput = z.object({\n value: z.string().describe(\"The email address value to add to the list.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the email address to. List IDs typically start with 'lst_'.\"),\n match_type: z.string().default(\"email_address\").describe(\"The type of match for the list item. Should be 'email_address' for email address list items.\").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. Use the same key for retries of the same request.\").optional(),\n}).describe(\"Request model for creating an email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The email address value.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable(),\n \"match-type\": z.string().describe(\"The type of match for the list item.\").nullable(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"The number of matches for this list item.\").nullable(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).describe(\"Attributes of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = z.object({\n creator: z.record(z.string(), z.unknown()).describe(\"Information about the creator of the list item.\").nullable().optional(),\n}).describe(\"Relationships of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liea_'.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).describe(\"The created email address list item data.\");\nexport const PersonaCreateEmailAddressListItemOutput = z.object({\n data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating an email address list item.\");\n\nexport const personaCreateEmailAddressListItem = action(\"PERSONA_CREATE_EMAIL_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-email-address-list-item\",\n name: \"Create Email Address List Item\",\n description: \"Tool to create an email address list item in Persona. Use when you need to add an email address to a watchlist or blocklist.\",\n input: PersonaCreateEmailAddressListItemInput,\n output: PersonaCreateEmailAddressListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,I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AC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"create-email-address-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-email-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateEmailAddressListItemInput = z.object({\n value: z.string().describe(\"The email address value to add to the list.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the email address to. List IDs typically start with 'lst_'.\"),\n match_type: z.string().default(\"email_address\").describe(\"The type of match for the list item. Should be 'email_address' for email address list items.\").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. Use the same key for retries of the same request.\").optional(),\n}).describe(\"Request model for creating an email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The email address value.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable(),\n \"match-type\": z.string().describe(\"The type of match for the list item.\").nullable(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"The number of matches for this list item.\").nullable(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = z.object({\n creator: z.record(z.string(), z.unknown()).describe(\"Information about the creator of the list item.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liea_'.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"The created email address list item data.\");\nexport const PersonaCreateEmailAddressListItemOutput = z.object({\n data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating an email address list item.\");\n\nexport const personaCreateEmailAddressListItem = action(\"PERSONA_CREATE_EMAIL_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-email-address-list-item\",\n name: \"Create Email Address List Item\",\n description: \"Tool to create an email address list item in Persona. Use when you need to add an email address to a watchlist or blocklist.\",\n input: PersonaCreateEmailAddressListItemInput,\n output: PersonaCreateEmailAddressListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC1L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,eAAe,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAClK,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uFAAuFA,IAAAA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AC1G,eAAe,wFAAwF,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAM,+EAA+E,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,12 +26,12 @@ declare const PersonaCreateEmailAddressListItemOutput: z.ZodObject<{
|
|
|
26
26
|
"archived-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
"match-count": z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
creator: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const personaCreateEmailAddressListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
value: string;
|
|
37
37
|
list_id: string;
|
|
@@ -26,12 +26,12 @@ declare const PersonaCreateEmailAddressListItemOutput: z.ZodObject<{
|
|
|
26
26
|
"archived-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
"match-count": z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
creator: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const personaCreateEmailAddressListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
value: string;
|
|
37
37
|
list_id: string;
|
|
@@ -22,20 +22,20 @@ const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttrib
|
|
|
22
22
|
"archived-at": z.string().describe("Timestamp when the list item was archived, if applicable.").nullable().optional(),
|
|
23
23
|
"match-count": z.number().int().describe("The number of matches for this list item.").nullable(),
|
|
24
24
|
"redacted-at": z.string().describe("Timestamp when the list item was redacted, if applicable.").nullable().optional()
|
|
25
|
-
}).describe("Attributes of the created email address list item.");
|
|
26
|
-
const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = z.object({ creator: z.record(z.string(), z.unknown()).describe("Information about the creator of the list item.").nullable().optional() }).describe("Relationships of the created email address list item.");
|
|
25
|
+
}).passthrough().describe("Attributes of the created email address list item.");
|
|
26
|
+
const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = z.object({ creator: z.record(z.string(), z.unknown()).describe("Information about the creator of the list item.").nullable().optional() }).passthrough().describe("Relationships of the created email address list item.");
|
|
27
27
|
const PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema = z.object({
|
|
28
28
|
id: z.string().describe("Unique identifier for this list item. Starts with 'liea_'.").nullable(),
|
|
29
29
|
type: z.string().describe("The type of the resource.").nullable(),
|
|
30
30
|
attributes: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema.nullable(),
|
|
31
31
|
relationships: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema.nullable().optional()
|
|
32
|
-
}).describe("The created email address list item data.");
|
|
32
|
+
}).passthrough().describe("The created email address list item data.");
|
|
33
33
|
const personaCreateEmailAddressListItem = action("PERSONA_CREATE_EMAIL_ADDRESS_LIST_ITEM", {
|
|
34
34
|
slug: "persona-create-email-address-list-item",
|
|
35
35
|
name: "Create Email Address List Item",
|
|
36
36
|
description: "Tool to create an email address list item in Persona. Use when you need to add an email address to a watchlist or blocklist.",
|
|
37
37
|
input: PersonaCreateEmailAddressListItemInput,
|
|
38
|
-
output: z.object({ data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable() }).describe("Response model for creating an email address list item.")
|
|
38
|
+
output: z.object({ data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating an email address list item.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { personaCreateEmailAddressListItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-email-address-list-item.mjs","names":[],"sources":["../../src/actions/create-email-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateEmailAddressListItemInput = z.object({\n value: z.string().describe(\"The email address value to add to the list.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the email address to. List IDs typically start with 'lst_'.\"),\n match_type: z.string().default(\"email_address\").describe(\"The type of match for the list item. Should be 'email_address' for email address list items.\").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. Use the same key for retries of the same request.\").optional(),\n}).describe(\"Request model for creating an email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The email address value.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable(),\n \"match-type\": z.string().describe(\"The type of match for the list item.\").nullable(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"The number of matches for this list item.\").nullable(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).describe(\"Attributes of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = z.object({\n creator: z.record(z.string(), z.unknown()).describe(\"Information about the creator of the list item.\").nullable().optional(),\n}).describe(\"Relationships of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liea_'.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).describe(\"The created email address list item data.\");\nexport const PersonaCreateEmailAddressListItemOutput = z.object({\n data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating an email address list item.\");\n\nexport const personaCreateEmailAddressListItem = action(\"PERSONA_CREATE_EMAIL_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-email-address-list-item\",\n name: \"Create Email Address List Item\",\n description: \"Tool to create an email address list item in Persona. Use when you need to add an email address to a watchlist or blocklist.\",\n input: PersonaCreateEmailAddressListItemInput,\n output: PersonaCreateEmailAddressListItemOutput,\n});\n"],"mappings":";;;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-email-address-list-item.mjs","names":[],"sources":["../../src/actions/create-email-address-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateEmailAddressListItemInput = z.object({\n value: z.string().describe(\"The email address value to add to the list.\"),\n include: z.string().describe(\"A comma-separated list of relationship paths. Customizes which related resources will be fully serialized in the 'included' key in the response.\").optional(),\n list_id: z.string().describe(\"The ID of the list to add the email address to. List IDs typically start with 'lst_'.\"),\n match_type: z.string().default(\"email_address\").describe(\"The type of match for the list item. Should be 'email_address' for email address list items.\").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. Use the same key for retries of the same request.\").optional(),\n}).describe(\"Request model for creating an email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema = z.object({\n value: z.string().describe(\"The email address value.\").nullable(),\n status: z.string().describe(\"The status of the list item.\").nullable(),\n \"created-at\": z.string().describe(\"Timestamp when the list item was created.\").nullable(),\n \"match-type\": z.string().describe(\"The type of match for the list item.\").nullable(),\n \"updated-at\": z.string().describe(\"Timestamp when the list item was last updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"Timestamp when the list item was archived, if applicable.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"The number of matches for this list item.\").nullable(),\n \"redacted-at\": z.string().describe(\"Timestamp when the list item was redacted, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema = z.object({\n creator: z.record(z.string(), z.unknown()).describe(\"Information about the creator of the list item.\").nullable().optional(),\n}).passthrough().describe(\"Relationships of the created email address list item.\");\nconst PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'liea_'.\").nullable(),\n type: z.string().describe(\"The type of the resource.\").nullable(),\n attributes: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"The created email address list item data.\");\nexport const PersonaCreateEmailAddressListItemOutput = z.object({\n data: PersonaCreateEmailAddressListItem_CreateEmailAddressListItemResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating an email address list item.\");\n\nexport const personaCreateEmailAddressListItem = action(\"PERSONA_CREATE_EMAIL_ADDRESS_LIST_ITEM\", {\n slug: \"persona-create-email-address-list-item\",\n name: \"Create Email Address List Item\",\n description: \"Tool to create an email address list item in Persona. Use when you need to add an email address to a watchlist or blocklist.\",\n input: PersonaCreateEmailAddressListItemInput,\n output: PersonaCreateEmailAddressListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC1L,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,eAAe,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAClK,kBAAkB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uFAAuF,EAAE,OAAO;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC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,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -15,20 +15,20 @@ const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponse
|
|
|
15
15
|
"archived-at": zod.z.string().describe("ISO 8601 timestamp when the list item was archived, or null if not archived.").nullable().optional(),
|
|
16
16
|
"match-count": zod.z.number().int().describe("The number of times this government ID number has been matched.").nullable(),
|
|
17
17
|
"redacted-at": zod.z.string().describe("ISO 8601 timestamp when the list item was redacted, or null if not redacted.").nullable().optional()
|
|
18
|
-
}).describe("Attributes in the response for a government ID number list item.");
|
|
18
|
+
}).passthrough().describe("Attributes in the response for a government ID number list item.");
|
|
19
19
|
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("The ID of the creator.").nullable().optional(),
|
|
21
21
|
type: zod.z.string().describe("The type of the creator resource.").nullable().optional()
|
|
22
|
-
}).describe("Creator data in the relationship.");
|
|
23
|
-
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema = zod.z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema.nullable().optional() }).describe("Creator relationship data.");
|
|
24
|
-
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema = zod.z.object({ creator: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema.nullable().optional() }).describe("Relationships for the government ID number list item.");
|
|
22
|
+
}).passthrough().describe("Creator data in the relationship.");
|
|
23
|
+
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema = zod.z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema.nullable().optional() }).passthrough().describe("Creator relationship data.");
|
|
24
|
+
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema = zod.z.object({ creator: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema.nullable().optional() }).passthrough().describe("Relationships for the government ID number list item.");
|
|
25
25
|
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema = zod.z.object({
|
|
26
26
|
id: zod.z.string().describe("Unique identifier for this list item. Starts with 'ligin_'.").nullable(),
|
|
27
27
|
type: zod.z.string().describe("The type of the resource (e.g., 'list-item/government-id-number').").nullable(),
|
|
28
28
|
attributes: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseAttributesSchema.nullable(),
|
|
29
29
|
relationships: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema.nullable().optional()
|
|
30
|
-
}).describe("Data object in the response.");
|
|
31
|
-
const PersonaCreateGovernmentIdNumberListItemOutput = zod.z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema.nullable() }).describe("Response model for creating a government ID number list item.");
|
|
30
|
+
}).passthrough().describe("Data object in the response.");
|
|
31
|
+
const PersonaCreateGovernmentIdNumberListItemOutput = zod.z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a government ID number list item.");
|
|
32
32
|
const personaCreateGovernmentIdNumberListItem = require_action.action("PERSONA_CREATE_GOVERNMENT_ID_NUMBER_LIST_ITEM", {
|
|
33
33
|
slug: "persona-create-government-id-number-list-item",
|
|
34
34
|
name: "Create Government ID Number List Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-government-id-number-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-government-id-number-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateGovernmentIdNumberListItemInput = z.object({\n data: z.object({\n attributes: z.object({\n \"list-id\": z.string().describe(\"The ID of the list to add this government ID number to. Must be a valid list ID starting with 'lst_'.\"),\n \"id-class\": z.string().describe(\"The class or type of government ID (e.g., 'ssn' for Social Security Number, 'passport', 'drivers_license').\"),\n \"id-number\": z.string().describe(\"The government ID number to add to the list.\"),\n}).describe(\"The attributes for the government ID number list item.\"),\n}).describe(\"The data object containing the attributes for the list item.\"),\n}).describe(\"Request model for creating a government ID number list item.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseAttributesSchema = z.object({\n status: z.string().describe(\"The status of the list item (e.g., 'active', 'archived').\").nullable(),\n \"id-class\": z.string().describe(\"The class or type of government ID.\").nullable(),\n \"id-number\": z.string().describe(\"The government ID number.\").nullable(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the list item was created.\").nullable(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the list item was last updated, or null if never updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"ISO 8601 timestamp when the list item was archived, or null if not archived.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"The number of times this government ID number has been matched.\").nullable(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the list item was redacted, or null if not redacted.\").nullable().optional(),\n}).describe(\"Attributes in the response for a government ID number list item.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema = z.object({\n id: z.string().describe(\"The ID of the creator.\").nullable().optional(),\n type: z.string().describe(\"The type of the creator resource.\").nullable().optional(),\n}).describe(\"Creator data in the relationship.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema = z.object({\n data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema.nullable().optional(),\n}).describe(\"Creator relationship data.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema = z.object({\n creator: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema.nullable().optional(),\n}).describe(\"Relationships for the government ID number list item.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'ligin_'.\").nullable(),\n type: z.string().describe(\"The type of the resource (e.g., 'list-item/government-id-number').\").nullable(),\n attributes: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema.nullable().optional(),\n}).describe(\"Data object in the response.\");\nexport const PersonaCreateGovernmentIdNumberListItemOutput = z.object({\n data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a government ID number list item.\");\n\nexport const personaCreateGovernmentIdNumberListItem = action(\"PERSONA_CREATE_GOVERNMENT_ID_NUMBER_LIST_ITEM\", {\n slug: \"persona-create-government-id-number-list-item\",\n name: \"Create Government ID Number List Item\",\n description: \"Tool to create a new government ID number list item in Persona. Use when you need to add a government ID number (such as SSN, passport, or driver's license) to a watchlist or monitoring list.\",\n input: PersonaCreateGovernmentIdNumberListItemInput,\n output: PersonaCreateGovernmentIdNumberListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;CACrB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACtI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACpE,CAAC,CAAC,CAAC,SAAS,8DAA8D,EAC1E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6FAA6FA,IAAAA,EAAE,OAAO;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"create-government-id-number-list-item.cjs","names":["z","action"],"sources":["../../src/actions/create-government-id-number-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateGovernmentIdNumberListItemInput = z.object({\n data: z.object({\n attributes: z.object({\n \"list-id\": z.string().describe(\"The ID of the list to add this government ID number to. Must be a valid list ID starting with 'lst_'.\"),\n \"id-class\": z.string().describe(\"The class or type of government ID (e.g., 'ssn' for Social Security Number, 'passport', 'drivers_license').\"),\n \"id-number\": z.string().describe(\"The government ID number to add to the list.\"),\n}).describe(\"The attributes for the government ID number list item.\"),\n}).describe(\"The data object containing the attributes for the list item.\"),\n}).describe(\"Request model for creating a government ID number list item.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseAttributesSchema = z.object({\n status: z.string().describe(\"The status of the list item (e.g., 'active', 'archived').\").nullable(),\n \"id-class\": z.string().describe(\"The class or type of government ID.\").nullable(),\n \"id-number\": z.string().describe(\"The government ID number.\").nullable(),\n \"created-at\": z.string().describe(\"ISO 8601 timestamp when the list item was created.\").nullable(),\n \"updated-at\": z.string().describe(\"ISO 8601 timestamp when the list item was last updated, or null if never updated.\").nullable().optional(),\n \"archived-at\": z.string().describe(\"ISO 8601 timestamp when the list item was archived, or null if not archived.\").nullable().optional(),\n \"match-count\": z.number().int().describe(\"The number of times this government ID number has been matched.\").nullable(),\n \"redacted-at\": z.string().describe(\"ISO 8601 timestamp when the list item was redacted, or null if not redacted.\").nullable().optional(),\n}).passthrough().describe(\"Attributes in the response for a government ID number list item.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema = z.object({\n id: z.string().describe(\"The ID of the creator.\").nullable().optional(),\n type: z.string().describe(\"The type of the creator resource.\").nullable().optional(),\n}).passthrough().describe(\"Creator data in the relationship.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema = z.object({\n data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema.nullable().optional(),\n}).passthrough().describe(\"Creator relationship data.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema = z.object({\n creator: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema.nullable().optional(),\n}).passthrough().describe(\"Relationships for the government ID number list item.\");\nconst PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this list item. Starts with 'ligin_'.\").nullable(),\n type: z.string().describe(\"The type of the resource (e.g., 'list-item/government-id-number').\").nullable(),\n attributes: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseAttributesSchema.nullable(),\n relationships: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema.nullable().optional(),\n}).passthrough().describe(\"Data object in the response.\");\nexport const PersonaCreateGovernmentIdNumberListItemOutput = z.object({\n data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a government ID number list item.\");\n\nexport const personaCreateGovernmentIdNumberListItem = action(\"PERSONA_CREATE_GOVERNMENT_ID_NUMBER_LIST_ITEM\", {\n slug: \"persona-create-government-id-number-list-item\",\n name: \"Create Government ID Number List Item\",\n description: \"Tool to create a new government ID number list item in Persona. Use when you need to add a government ID number (such as SSN, passport, or driver's license) to a watchlist or monitoring list.\",\n input: PersonaCreateGovernmentIdNumberListItemInput,\n output: PersonaCreateGovernmentIdNumberListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,EACf,YAAYA,IAAAA,EAAE,OAAO;CACrB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACtI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACpE,CAAC,CAAC,CAAC,SAAS,8DAA8D,EAC1E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,6FAA6FA,IAAAA,EAAE,OAAO;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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AC,SAAS;CACzG,YAAY,2FAA2F,SAAS;CAChH,eAAe,sFAAsF,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,MAAM,qFAAqF,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,0CAA0CC,eAAAA,OAAO,iDAAiD;CAC7G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,17 +23,17 @@ declare const PersonaCreateGovernmentIdNumberListItemOutput: z.ZodObject<{
|
|
|
23
23
|
"archived-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
"match-count": z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const personaCreateGovernmentIdNumberListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
data: {
|
|
39
39
|
attributes: {
|
|
@@ -23,17 +23,17 @@ declare const PersonaCreateGovernmentIdNumberListItemOutput: z.ZodObject<{
|
|
|
23
23
|
"archived-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
"match-count": z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const personaCreateGovernmentIdNumberListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
data: {
|
|
39
39
|
attributes: {
|
|
@@ -15,25 +15,25 @@ const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponse
|
|
|
15
15
|
"archived-at": z.string().describe("ISO 8601 timestamp when the list item was archived, or null if not archived.").nullable().optional(),
|
|
16
16
|
"match-count": z.number().int().describe("The number of times this government ID number has been matched.").nullable(),
|
|
17
17
|
"redacted-at": z.string().describe("ISO 8601 timestamp when the list item was redacted, or null if not redacted.").nullable().optional()
|
|
18
|
-
}).describe("Attributes in the response for a government ID number list item.");
|
|
18
|
+
}).passthrough().describe("Attributes in the response for a government ID number list item.");
|
|
19
19
|
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema = z.object({
|
|
20
20
|
id: z.string().describe("The ID of the creator.").nullable().optional(),
|
|
21
21
|
type: z.string().describe("The type of the creator resource.").nullable().optional()
|
|
22
|
-
}).describe("Creator data in the relationship.");
|
|
23
|
-
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema = z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema.nullable().optional() }).describe("Creator relationship data.");
|
|
24
|
-
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema = z.object({ creator: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema.nullable().optional() }).describe("Relationships for the government ID number list item.");
|
|
22
|
+
}).passthrough().describe("Creator data in the relationship.");
|
|
23
|
+
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema = z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorDataSchema.nullable().optional() }).passthrough().describe("Creator relationship data.");
|
|
24
|
+
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema = z.object({ creator: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipCreatorSchema.nullable().optional() }).passthrough().describe("Relationships for the government ID number list item.");
|
|
25
25
|
const PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema = z.object({
|
|
26
26
|
id: z.string().describe("Unique identifier for this list item. Starts with 'ligin_'.").nullable(),
|
|
27
27
|
type: z.string().describe("The type of the resource (e.g., 'list-item/government-id-number').").nullable(),
|
|
28
28
|
attributes: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseAttributesSchema.nullable(),
|
|
29
29
|
relationships: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemRelationshipsSchema.nullable().optional()
|
|
30
|
-
}).describe("Data object in the response.");
|
|
30
|
+
}).passthrough().describe("Data object in the response.");
|
|
31
31
|
const personaCreateGovernmentIdNumberListItem = action("PERSONA_CREATE_GOVERNMENT_ID_NUMBER_LIST_ITEM", {
|
|
32
32
|
slug: "persona-create-government-id-number-list-item",
|
|
33
33
|
name: "Create Government ID Number List Item",
|
|
34
34
|
description: "Tool to create a new government ID number list item in Persona. Use when you need to add a government ID number (such as SSN, passport, or driver's license) to a watchlist or monitoring list.",
|
|
35
35
|
input: PersonaCreateGovernmentIdNumberListItemInput,
|
|
36
|
-
output: z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema.nullable() }).describe("Response model for creating a government ID number list item.")
|
|
36
|
+
output: z.object({ data: PersonaCreateGovernmentIdNumberListItem_GovernmentIdNumberListItemResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a government ID number list item.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { personaCreateGovernmentIdNumberListItem };
|