@keystrokehq/persona 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-account.cjs +4 -4
- package/dist/actions/add-tag-to-account.cjs.map +1 -1
- package/dist/actions/add-tag-to-account.d.cts +48 -3
- package/dist/actions/add-tag-to-account.d.cts.map +1 -1
- package/dist/actions/add-tag-to-account.d.mts +48 -3
- package/dist/actions/add-tag-to-account.d.mts.map +1 -1
- package/dist/actions/add-tag-to-account.mjs +4 -4
- package/dist/actions/add-tag-to-account.mjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs +4 -4
- package/dist/actions/archive-a-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts +31 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts +31 -3
- package/dist/actions/archive-a-browser-fingerprint-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs +4 -4
- package/dist/actions/archive-a-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.cjs +6 -6
- package/dist/actions/archive-a-country-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.cts +49 -3
- package/dist/actions/archive-a-country-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-country-list-item.d.mts +49 -3
- package/dist/actions/archive-a-country-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-country-list-item.mjs +6 -6
- package/dist/actions/archive-a-country-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.cts +41 -3
- package/dist/actions/archive-a-geolocation-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.d.mts +41 -3
- package/dist/actions/archive-a-geolocation-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.d.cts +31 -3
- package/dist/actions/archive-a-government-id-number-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.d.mts +31 -3
- package/dist/actions/archive-a-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.cjs.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.cts +30 -3
- package/dist/actions/archive-a-name-list-item.d.cts.map +1 -1
- package/dist/actions/archive-a-name-list-item.d.mts +30 -3
- package/dist/actions/archive-a-name-list-item.d.mts.map +1 -1
- package/dist/actions/archive-a-name-list-item.mjs.map +1 -1
- package/dist/actions/archive-a-webhook.cjs.map +1 -1
- package/dist/actions/archive-a-webhook.d.cts +49 -3
- package/dist/actions/archive-a-webhook.d.cts.map +1 -1
- package/dist/actions/archive-a-webhook.d.mts +49 -3
- package/dist/actions/archive-a-webhook.d.mts.map +1 -1
- package/dist/actions/archive-a-webhook.mjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.cjs.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.cts +50 -3
- package/dist/actions/archive-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/archive-email-address-list-item.d.mts +50 -3
- package/dist/actions/archive-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/archive-email-address-list-item.mjs.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 +34 -3
- package/dist/actions/archive-ip-address-list-item.d.cts.map +1 -1
- package/dist/actions/archive-ip-address-list-item.d.mts +34 -3
- package/dist/actions/archive-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/archive-ip-address-list-item.mjs +4 -4
- package/dist/actions/archive-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.cjs +6 -6
- package/dist/actions/archive-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.cts +31 -3
- package/dist/actions/archive-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/archive-phone-number-list-item.d.mts +31 -3
- package/dist/actions/archive-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/archive-phone-number-list-item.mjs +6 -6
- package/dist/actions/archive-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/archive-string-list-item.cjs.map +1 -1
- package/dist/actions/archive-string-list-item.d.cts +49 -3
- package/dist/actions/archive-string-list-item.d.cts.map +1 -1
- package/dist/actions/archive-string-list-item.d.mts +49 -3
- package/dist/actions/archive-string-list-item.d.mts.map +1 -1
- package/dist/actions/archive-string-list-item.mjs.map +1 -1
- package/dist/actions/clone-webhook.cjs +3 -3
- package/dist/actions/clone-webhook.cjs.map +1 -1
- package/dist/actions/clone-webhook.d.cts +43 -3
- package/dist/actions/clone-webhook.d.cts.map +1 -1
- package/dist/actions/clone-webhook.d.mts +43 -3
- package/dist/actions/clone-webhook.d.mts.map +1 -1
- package/dist/actions/clone-webhook.mjs +3 -3
- package/dist/actions/clone-webhook.mjs.map +1 -1
- package/dist/actions/consolidate-into-account.cjs.map +1 -1
- package/dist/actions/consolidate-into-account.d.cts +28 -3
- package/dist/actions/consolidate-into-account.d.cts.map +1 -1
- package/dist/actions/consolidate-into-account.d.mts +28 -3
- package/dist/actions/consolidate-into-account.d.mts.map +1 -1
- package/dist/actions/consolidate-into-account.mjs.map +1 -1
- package/dist/actions/create-an-account.cjs +4 -4
- package/dist/actions/create-an-account.cjs.map +1 -1
- package/dist/actions/create-an-account.d.cts +121 -3
- package/dist/actions/create-an-account.d.cts.map +1 -1
- package/dist/actions/create-an-account.d.mts +121 -3
- package/dist/actions/create-an-account.d.mts.map +1 -1
- package/dist/actions/create-an-account.mjs +4 -4
- package/dist/actions/create-an-account.mjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.cjs +4 -4
- package/dist/actions/create-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.d.cts +41 -3
- package/dist/actions/create-an-ip-address-list-item.d.cts.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.d.mts +41 -3
- package/dist/actions/create-an-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/create-an-ip-address-list-item.mjs +4 -4
- package/dist/actions/create-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/create-country-list-item.cjs +2 -2
- package/dist/actions/create-country-list-item.cjs.map +1 -1
- package/dist/actions/create-country-list-item.d.cts +62 -3
- package/dist/actions/create-country-list-item.d.cts.map +1 -1
- package/dist/actions/create-country-list-item.d.mts +62 -3
- package/dist/actions/create-country-list-item.d.mts.map +1 -1
- package/dist/actions/create-country-list-item.mjs +2 -2
- package/dist/actions/create-country-list-item.mjs.map +1 -1
- package/dist/actions/create-document-generic.cjs +4 -4
- package/dist/actions/create-document-generic.cjs.map +1 -1
- package/dist/actions/create-document-generic.d.cts +73 -3
- package/dist/actions/create-document-generic.d.cts.map +1 -1
- package/dist/actions/create-document-generic.d.mts +73 -3
- package/dist/actions/create-document-generic.d.mts.map +1 -1
- package/dist/actions/create-document-generic.mjs +4 -4
- package/dist/actions/create-document-generic.mjs.map +1 -1
- package/dist/actions/create-email-address-list-item.cjs +7 -7
- package/dist/actions/create-email-address-list-item.cjs.map +1 -1
- package/dist/actions/create-email-address-list-item.d.cts +39 -3
- package/dist/actions/create-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/create-email-address-list-item.d.mts +39 -3
- package/dist/actions/create-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/create-email-address-list-item.mjs +7 -7
- package/dist/actions/create-email-address-list-item.mjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.cjs +7 -7
- package/dist/actions/create-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/create-government-id-number-list-item.d.cts +42 -3
- package/dist/actions/create-government-id-number-list-item.d.cts.map +1 -1
- package/dist/actions/create-government-id-number-list-item.d.mts +42 -3
- package/dist/actions/create-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/create-government-id-number-list-item.mjs +7 -7
- package/dist/actions/create-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/create-name-list-item.cjs +7 -7
- package/dist/actions/create-name-list-item.cjs.map +1 -1
- package/dist/actions/create-name-list-item.d.cts +47 -3
- package/dist/actions/create-name-list-item.d.cts.map +1 -1
- package/dist/actions/create-name-list-item.d.mts +47 -3
- package/dist/actions/create-name-list-item.d.mts.map +1 -1
- package/dist/actions/create-name-list-item.mjs +7 -7
- package/dist/actions/create-name-list-item.mjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.cjs +4 -4
- package/dist/actions/create-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.cts +46 -3
- package/dist/actions/create-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/create-phone-number-list-item.d.mts +46 -3
- package/dist/actions/create-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/create-phone-number-list-item.mjs +4 -4
- package/dist/actions/create-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/create-string-list-item.cjs +4 -4
- package/dist/actions/create-string-list-item.cjs.map +1 -1
- package/dist/actions/create-string-list-item.d.cts +39 -3
- package/dist/actions/create-string-list-item.d.cts.map +1 -1
- package/dist/actions/create-string-list-item.d.mts +39 -3
- package/dist/actions/create-string-list-item.d.mts.map +1 -1
- package/dist/actions/create-string-list-item.mjs +4 -4
- package/dist/actions/create-string-list-item.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +3 -3
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +72 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +72 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +3 -3
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/disable-webhook.cjs.map +1 -1
- package/dist/actions/disable-webhook.d.cts +49 -3
- package/dist/actions/disable-webhook.d.cts.map +1 -1
- package/dist/actions/disable-webhook.d.mts +49 -3
- package/dist/actions/disable-webhook.d.mts.map +1 -1
- package/dist/actions/disable-webhook.mjs.map +1 -1
- package/dist/actions/enable-webhook.cjs +2 -2
- package/dist/actions/enable-webhook.cjs.map +1 -1
- package/dist/actions/enable-webhook.d.cts +47 -3
- package/dist/actions/enable-webhook.d.cts.map +1 -1
- package/dist/actions/enable-webhook.d.mts +47 -3
- package/dist/actions/enable-webhook.d.mts.map +1 -1
- package/dist/actions/enable-webhook.mjs +2 -2
- package/dist/actions/enable-webhook.mjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.cjs +4 -4
- package/dist/actions/expire-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.cts +54 -3
- package/dist/actions/expire-inquiry-sessions.d.cts.map +1 -1
- package/dist/actions/expire-inquiry-sessions.d.mts +54 -3
- package/dist/actions/expire-inquiry-sessions.d.mts.map +1 -1
- package/dist/actions/expire-inquiry-sessions.mjs +4 -4
- package/dist/actions/expire-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/import-email-address-lists.cjs +7 -7
- package/dist/actions/import-email-address-lists.cjs.map +1 -1
- package/dist/actions/import-email-address-lists.d.cts +30 -3
- package/dist/actions/import-email-address-lists.d.cts.map +1 -1
- package/dist/actions/import-email-address-lists.d.mts +30 -3
- package/dist/actions/import-email-address-lists.d.mts.map +1 -1
- package/dist/actions/import-email-address-lists.mjs +7 -7
- package/dist/actions/import-email-address-lists.mjs.map +1 -1
- package/dist/actions/import-ip-address-lists.cjs +7 -7
- package/dist/actions/import-ip-address-lists.cjs.map +1 -1
- package/dist/actions/import-ip-address-lists.d.cts +46 -3
- package/dist/actions/import-ip-address-lists.d.cts.map +1 -1
- package/dist/actions/import-ip-address-lists.d.mts +46 -3
- package/dist/actions/import-ip-address-lists.d.mts.map +1 -1
- package/dist/actions/import-ip-address-lists.mjs +7 -7
- package/dist/actions/import-ip-address-lists.mjs.map +1 -1
- package/dist/actions/import-name-lists.cjs.map +1 -1
- package/dist/actions/import-name-lists.d.cts +36 -3
- package/dist/actions/import-name-lists.d.cts.map +1 -1
- package/dist/actions/import-name-lists.d.mts +36 -3
- package/dist/actions/import-name-lists.d.mts.map +1 -1
- package/dist/actions/import-name-lists.mjs.map +1 -1
- package/dist/actions/import-phone-number-lists.cjs +7 -7
- package/dist/actions/import-phone-number-lists.cjs.map +1 -1
- package/dist/actions/import-phone-number-lists.d.cts +46 -3
- package/dist/actions/import-phone-number-lists.d.cts.map +1 -1
- package/dist/actions/import-phone-number-lists.d.mts +46 -3
- package/dist/actions/import-phone-number-lists.d.mts.map +1 -1
- package/dist/actions/import-phone-number-lists.mjs +7 -7
- package/dist/actions/import-phone-number-lists.mjs.map +1 -1
- package/dist/actions/list-all-accounts.cjs +2 -2
- package/dist/actions/list-all-accounts.cjs.map +1 -1
- package/dist/actions/list-all-accounts.d.cts +60 -3
- package/dist/actions/list-all-accounts.d.cts.map +1 -1
- package/dist/actions/list-all-accounts.d.mts +60 -3
- package/dist/actions/list-all-accounts.d.mts.map +1 -1
- package/dist/actions/list-all-accounts.mjs +2 -2
- package/dist/actions/list-all-accounts.mjs.map +1 -1
- package/dist/actions/list-all-api-logs.cjs +2 -2
- package/dist/actions/list-all-api-logs.cjs.map +1 -1
- package/dist/actions/list-all-api-logs.d.cts +54 -3
- package/dist/actions/list-all-api-logs.d.cts.map +1 -1
- package/dist/actions/list-all-api-logs.d.mts +54 -3
- package/dist/actions/list-all-api-logs.d.mts.map +1 -1
- package/dist/actions/list-all-api-logs.mjs +2 -2
- package/dist/actions/list-all-api-logs.mjs.map +1 -1
- package/dist/actions/list-all-cases.cjs +4 -4
- package/dist/actions/list-all-cases.cjs.map +1 -1
- package/dist/actions/list-all-cases.d.cts +66 -3
- package/dist/actions/list-all-cases.d.cts.map +1 -1
- package/dist/actions/list-all-cases.d.mts +66 -3
- package/dist/actions/list-all-cases.d.mts.map +1 -1
- package/dist/actions/list-all-cases.mjs +4 -4
- package/dist/actions/list-all-cases.mjs.map +1 -1
- package/dist/actions/list-all-devices.cjs +2 -2
- package/dist/actions/list-all-devices.cjs.map +1 -1
- package/dist/actions/list-all-devices.d.cts +46 -3
- package/dist/actions/list-all-devices.d.cts.map +1 -1
- package/dist/actions/list-all-devices.d.mts +46 -3
- package/dist/actions/list-all-devices.d.mts.map +1 -1
- package/dist/actions/list-all-devices.mjs +2 -2
- package/dist/actions/list-all-devices.mjs.map +1 -1
- package/dist/actions/list-all-events.cjs.map +1 -1
- package/dist/actions/list-all-events.d.cts +50 -3
- package/dist/actions/list-all-events.d.cts.map +1 -1
- package/dist/actions/list-all-events.d.mts +50 -3
- package/dist/actions/list-all-events.d.mts.map +1 -1
- package/dist/actions/list-all-events.mjs.map +1 -1
- package/dist/actions/list-all-importers.cjs.map +1 -1
- package/dist/actions/list-all-importers.d.cts +50 -3
- package/dist/actions/list-all-importers.d.cts.map +1 -1
- package/dist/actions/list-all-importers.d.mts +50 -3
- package/dist/actions/list-all-importers.d.mts.map +1 -1
- package/dist/actions/list-all-importers.mjs.map +1 -1
- package/dist/actions/list-all-inquiries.cjs +2 -2
- package/dist/actions/list-all-inquiries.cjs.map +1 -1
- package/dist/actions/list-all-inquiries.d.cts +63 -3
- package/dist/actions/list-all-inquiries.d.cts.map +1 -1
- package/dist/actions/list-all-inquiries.d.mts +63 -3
- package/dist/actions/list-all-inquiries.d.mts.map +1 -1
- package/dist/actions/list-all-inquiries.mjs +2 -2
- package/dist/actions/list-all-inquiries.mjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.cjs +4 -4
- package/dist/actions/list-all-inquiry-sessions.cjs.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.cts +56 -3
- package/dist/actions/list-all-inquiry-sessions.d.cts.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.d.mts +56 -3
- package/dist/actions/list-all-inquiry-sessions.d.mts.map +1 -1
- package/dist/actions/list-all-inquiry-sessions.mjs +4 -4
- package/dist/actions/list-all-inquiry-sessions.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +45 -3
- package/dist/actions/list-all-lists.d.cts.map +1 -1
- package/dist/actions/list-all-lists.d.mts +45 -3
- package/dist/actions/list-all-lists.d.mts.map +1 -1
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-all-rate-limits.cjs.map +1 -1
- package/dist/actions/list-all-rate-limits.d.cts +36 -3
- package/dist/actions/list-all-rate-limits.d.cts.map +1 -1
- package/dist/actions/list-all-rate-limits.d.mts +36 -3
- package/dist/actions/list-all-rate-limits.d.mts.map +1 -1
- package/dist/actions/list-all-rate-limits.mjs.map +1 -1
- package/dist/actions/list-all-reports.cjs +2 -2
- package/dist/actions/list-all-reports.cjs.map +1 -1
- package/dist/actions/list-all-reports.d.cts +65 -3
- package/dist/actions/list-all-reports.d.cts.map +1 -1
- package/dist/actions/list-all-reports.d.mts +65 -3
- package/dist/actions/list-all-reports.d.mts.map +1 -1
- package/dist/actions/list-all-reports.mjs +2 -2
- package/dist/actions/list-all-reports.mjs.map +1 -1
- package/dist/actions/list-all-transactions.cjs +2 -2
- package/dist/actions/list-all-transactions.cjs.map +1 -1
- package/dist/actions/list-all-transactions.d.cts +55 -3
- package/dist/actions/list-all-transactions.d.cts.map +1 -1
- package/dist/actions/list-all-transactions.d.mts +55 -3
- package/dist/actions/list-all-transactions.d.mts.map +1 -1
- package/dist/actions/list-all-transactions.mjs +2 -2
- package/dist/actions/list-all-transactions.mjs.map +1 -1
- package/dist/actions/list-all-webhooks.cjs +2 -2
- package/dist/actions/list-all-webhooks.cjs.map +1 -1
- package/dist/actions/list-all-webhooks.d.cts +57 -3
- package/dist/actions/list-all-webhooks.d.cts.map +1 -1
- package/dist/actions/list-all-webhooks.d.mts +57 -3
- package/dist/actions/list-all-webhooks.d.mts.map +1 -1
- package/dist/actions/list-all-webhooks.mjs +2 -2
- package/dist/actions/list-all-webhooks.mjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.cjs +2 -2
- package/dist/actions/list-all-workflow-runs.cjs.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.cts +65 -3
- package/dist/actions/list-all-workflow-runs.d.cts.map +1 -1
- package/dist/actions/list-all-workflow-runs.d.mts +65 -3
- package/dist/actions/list-all-workflow-runs.d.mts.map +1 -1
- package/dist/actions/list-all-workflow-runs.mjs +2 -2
- package/dist/actions/list-all-workflow-runs.mjs.map +1 -1
- package/dist/actions/redact-an-account.cjs +4 -4
- package/dist/actions/redact-an-account.cjs.map +1 -1
- package/dist/actions/redact-an-account.d.cts +55 -3
- package/dist/actions/redact-an-account.d.cts.map +1 -1
- package/dist/actions/redact-an-account.d.mts +55 -3
- package/dist/actions/redact-an-account.d.mts.map +1 -1
- package/dist/actions/redact-an-account.mjs +4 -4
- package/dist/actions/redact-an-account.mjs.map +1 -1
- package/dist/actions/remove-account-tag.cjs +4 -4
- package/dist/actions/remove-account-tag.cjs.map +1 -1
- package/dist/actions/remove-account-tag.d.cts +46 -3
- package/dist/actions/remove-account-tag.d.cts.map +1 -1
- package/dist/actions/remove-account-tag.d.mts +46 -3
- package/dist/actions/remove-account-tag.d.mts.map +1 -1
- package/dist/actions/remove-account-tag.mjs +4 -4
- package/dist/actions/remove-account-tag.mjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.cjs +2 -2
- package/dist/actions/retrieve-a-country-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.cts +49 -3
- package/dist/actions/retrieve-a-country-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.d.mts +49 -3
- package/dist/actions/retrieve-a-country-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-country-list-item.mjs +2 -2
- package/dist/actions/retrieve-a-country-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts +54 -3
- package/dist/actions/retrieve-a-geolocation-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts +54 -3
- package/dist/actions/retrieve-a-geolocation-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-geolocation-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.cts +50 -3
- package/dist/actions/retrieve-a-name-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.d.mts +50 -3
- package/dist/actions/retrieve-a-name-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-name-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.cjs +2 -2
- package/dist/actions/retrieve-a-string-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.cts +49 -3
- package/dist/actions/retrieve-a-string-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.d.mts +49 -3
- package/dist/actions/retrieve-a-string-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-a-string-list-item.mjs +2 -2
- package/dist/actions/retrieve-a-string-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.cjs +3 -3
- package/dist/actions/retrieve-a-webhook.cjs.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.cts +54 -3
- package/dist/actions/retrieve-a-webhook.d.cts.map +1 -1
- package/dist/actions/retrieve-a-webhook.d.mts +54 -3
- package/dist/actions/retrieve-a-webhook.d.mts.map +1 -1
- package/dist/actions/retrieve-a-webhook.mjs +3 -3
- package/dist/actions/retrieve-a-webhook.mjs.map +1 -1
- package/dist/actions/retrieve-an-account.cjs +4 -4
- package/dist/actions/retrieve-an-account.cjs.map +1 -1
- package/dist/actions/retrieve-an-account.d.cts +55 -3
- package/dist/actions/retrieve-an-account.d.cts.map +1 -1
- package/dist/actions/retrieve-an-account.d.mts +55 -3
- package/dist/actions/retrieve-an-account.d.mts.map +1 -1
- package/dist/actions/retrieve-an-account.mjs +4 -4
- package/dist/actions/retrieve-an-account.mjs.map +1 -1
- package/dist/actions/retrieve-an-event.cjs +4 -4
- package/dist/actions/retrieve-an-event.cjs.map +1 -1
- package/dist/actions/retrieve-an-event.d.cts +46 -3
- package/dist/actions/retrieve-an-event.d.cts.map +1 -1
- package/dist/actions/retrieve-an-event.d.mts +46 -3
- package/dist/actions/retrieve-an-event.d.mts.map +1 -1
- package/dist/actions/retrieve-an-event.mjs +4 -4
- package/dist/actions/retrieve-an-event.mjs.map +1 -1
- package/dist/actions/retrieve-an-importer.cjs.map +1 -1
- package/dist/actions/retrieve-an-importer.d.cts +44 -3
- package/dist/actions/retrieve-an-importer.d.cts.map +1 -1
- package/dist/actions/retrieve-an-importer.d.mts +44 -3
- package/dist/actions/retrieve-an-importer.d.mts.map +1 -1
- package/dist/actions/retrieve-an-importer.mjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.d.cts +49 -3
- package/dist/actions/retrieve-an-ip-address-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.d.mts +49 -3
- package/dist/actions/retrieve-an-ip-address-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-an-ip-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-api-log.cjs +4 -4
- package/dist/actions/retrieve-api-log.cjs.map +1 -1
- package/dist/actions/retrieve-api-log.d.cts +54 -3
- package/dist/actions/retrieve-api-log.d.cts.map +1 -1
- package/dist/actions/retrieve-api-log.d.mts +54 -3
- package/dist/actions/retrieve-api-log.d.mts.map +1 -1
- package/dist/actions/retrieve-api-log.mjs +4 -4
- package/dist/actions/retrieve-api-log.mjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs +4 -4
- package/dist/actions/retrieve-browser-fingerprint-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts +47 -3
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts +47 -3
- package/dist/actions/retrieve-browser-fingerprint-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs +4 -4
- package/dist/actions/retrieve-browser-fingerprint-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-document-generic.cjs +4 -4
- package/dist/actions/retrieve-document-generic.cjs.map +1 -1
- package/dist/actions/retrieve-document-generic.d.cts +61 -3
- package/dist/actions/retrieve-document-generic.d.cts.map +1 -1
- package/dist/actions/retrieve-document-generic.d.mts +61 -3
- package/dist/actions/retrieve-document-generic.d.mts.map +1 -1
- package/dist/actions/retrieve-document-generic.mjs +4 -4
- package/dist/actions/retrieve-document-generic.mjs.map +1 -1
- package/dist/actions/retrieve-document.cjs +5 -5
- package/dist/actions/retrieve-document.cjs.map +1 -1
- package/dist/actions/retrieve-document.d.cts +81 -3
- package/dist/actions/retrieve-document.d.cts.map +1 -1
- package/dist/actions/retrieve-document.d.mts +81 -3
- package/dist/actions/retrieve-document.d.mts.map +1 -1
- package/dist/actions/retrieve-document.mjs +5 -5
- package/dist/actions/retrieve-document.mjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.cts +50 -3
- package/dist/actions/retrieve-email-address-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.d.mts +50 -3
- package/dist/actions/retrieve-email-address-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-email-address-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.d.cts +50 -3
- package/dist/actions/retrieve-government-id-number-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.d.mts +50 -3
- package/dist/actions/retrieve-government-id-number-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-government-id-number-list-item.mjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.cjs +4 -4
- package/dist/actions/retrieve-phone-number-list-item.cjs.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.cts +52 -3
- package/dist/actions/retrieve-phone-number-list-item.d.cts.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.d.mts +52 -3
- package/dist/actions/retrieve-phone-number-list-item.d.mts.map +1 -1
- package/dist/actions/retrieve-phone-number-list-item.mjs +4 -4
- package/dist/actions/retrieve-phone-number-list-item.mjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.cjs +2 -2
- package/dist/actions/rotate-webhook-secret.cjs.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.cts +53 -3
- package/dist/actions/rotate-webhook-secret.d.cts.map +1 -1
- package/dist/actions/rotate-webhook-secret.d.mts +53 -3
- package/dist/actions/rotate-webhook-secret.d.mts.map +1 -1
- package/dist/actions/rotate-webhook-secret.mjs +2 -2
- package/dist/actions/rotate-webhook-secret.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +71 -3
- package/dist/actions/search-accounts.d.cts.map +1 -1
- package/dist/actions/search-accounts.d.mts +71 -3
- package/dist/actions/search-accounts.d.mts.map +1 -1
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-cases.cjs +2 -2
- package/dist/actions/search-cases.cjs.map +1 -1
- package/dist/actions/search-cases.d.cts +69 -3
- package/dist/actions/search-cases.d.cts.map +1 -1
- package/dist/actions/search-cases.d.mts +69 -3
- package/dist/actions/search-cases.d.mts.map +1 -1
- package/dist/actions/search-cases.mjs +2 -2
- package/dist/actions/search-cases.mjs.map +1 -1
- package/dist/actions/set-tags.cjs +4 -4
- package/dist/actions/set-tags.cjs.map +1 -1
- package/dist/actions/set-tags.d.cts +52 -3
- package/dist/actions/set-tags.d.cts.map +1 -1
- package/dist/actions/set-tags.d.mts +52 -3
- package/dist/actions/set-tags.d.mts.map +1 -1
- package/dist/actions/set-tags.mjs +4 -4
- package/dist/actions/set-tags.mjs.map +1 -1
- package/dist/actions/update-a-webhook.cjs +2 -2
- package/dist/actions/update-a-webhook.cjs.map +1 -1
- package/dist/actions/update-a-webhook.d.cts +69 -3
- package/dist/actions/update-a-webhook.d.cts.map +1 -1
- package/dist/actions/update-a-webhook.d.mts +69 -3
- package/dist/actions/update-a-webhook.d.mts.map +1 -1
- package/dist/actions/update-a-webhook.mjs +2 -2
- package/dist/actions/update-a-webhook.mjs.map +1 -1
- package/dist/actions/update-an-account.cjs +4 -4
- package/dist/actions/update-an-account.cjs.map +1 -1
- package/dist/actions/update-an-account.d.cts +113 -3
- package/dist/actions/update-an-account.d.cts.map +1 -1
- package/dist/actions/update-an-account.d.mts +113 -3
- package/dist/actions/update-an-account.d.mts.map +1 -1
- package/dist/actions/update-an-account.mjs +4 -4
- package/dist/actions/update-an-account.mjs.map +1 -1
- package/dist/actions/update-document-generic.cjs +5 -5
- package/dist/actions/update-document-generic.cjs.map +1 -1
- package/dist/actions/update-document-generic.d.cts +87 -3
- package/dist/actions/update-document-generic.d.cts.map +1 -1
- package/dist/actions/update-document-generic.d.mts +87 -3
- package/dist/actions/update-document-generic.d.mts.map +1 -1
- package/dist/actions/update-document-generic.mjs +5 -5
- package/dist/actions/update-document-generic.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -13,7 +13,7 @@ const PersonaCloneWebhookInput = z.object({
|
|
|
13
13
|
idempotency_key: z.string().describe("Ensures the request is idempotent. Use to safely retry requests.").optional()
|
|
14
14
|
}).describe("Request model for cloning a Persona webhook.");
|
|
15
15
|
const PersonaCloneWebhook_SecretObjectSchema = z.object({
|
|
16
|
-
value: z.string().describe("Secret key value."),
|
|
16
|
+
value: z.string().describe("Secret key value.").nullable(),
|
|
17
17
|
"expires-at": z.string().describe("ISO 8601 timestamp when the secret expires.").nullable().optional()
|
|
18
18
|
}).describe("Secret object containing the secret value and expiration.");
|
|
19
19
|
const PersonaCloneWebhook_WebhookAttributesSchema = z.object({
|
|
@@ -32,8 +32,8 @@ const PersonaCloneWebhook_WebhookAttributesSchema = z.object({
|
|
|
32
32
|
file_access_token_expires_in: z.number().int().describe("Duration in seconds for file access token expiration.").nullable().optional()
|
|
33
33
|
}).describe("Attributes of a Persona webhook object.");
|
|
34
34
|
const PersonaCloneWebhook_WebhookDataSchema = z.object({
|
|
35
|
-
id: z.string().describe("Unique identifier for the webhook."),
|
|
36
|
-
type: z.string().describe("Resource type, typically 'webhook'."),
|
|
35
|
+
id: z.string().describe("Unique identifier for the webhook.").nullable(),
|
|
36
|
+
type: z.string().describe("Resource type, typically 'webhook'.").nullable(),
|
|
37
37
|
attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional()
|
|
38
38
|
}).describe("Webhook data object returned by Persona API.");
|
|
39
39
|
const personaCloneWebhook = action("PERSONA_CLONE_WEBHOOK", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clone-webhook.mjs","names":[],"sources":["../../src/actions/clone-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCloneWebhookInput
|
|
1
|
+
{"version":3,"file":"clone-webhook.mjs","names":[],"sources":["../../src/actions/clone-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCloneWebhookInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n webhook_id: z.string().describe(\"The ID of the webhook to clone. Must start with \\\"wbh_\\\".\"),\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 to safely retry requests.\").optional(),\n}).describe(\"Request model for cloning a Persona webhook.\");\nconst PersonaCloneWebhook_SecretObjectSchema = z.object({\n value: z.string().describe(\"Secret key value.\").nullable(),\n \"expires-at\": z.string().describe(\"ISO 8601 timestamp when the secret expires.\").nullable().optional(),\n}).describe(\"Secret object containing the secret value and expiration.\");\nconst PersonaCloneWebhook_WebhookAttributesSchema = z.object({\n url: z.string().describe(\"Target URL where webhook events are sent.\").nullable().optional(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n secret: z.string().describe(\"Secret key used to sign webhook requests.\").nullable().optional(),\n status: z.string().describe(\"Current status of the webhook (e.g., active, inactive).\").nullable().optional(),\n secrets: z.union([z.array(z.string()), z.array(PersonaCloneWebhook_SecretObjectSchema)]).nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the webhook was created.\").nullable().optional(),\n api_version: z.string().describe(\"API version used for this webhook.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the webhook.\").nullable().optional(),\n enabled_events: z.array(z.string()).describe(\"List of event types that trigger this webhook.\").nullable().optional(),\n payload_filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for webhook payload.\").nullable().optional(),\n api_key_inflection: z.string().describe(\"Casing format for API keys in the webhook payload.\").nullable().optional(),\n api_attributes_blocklist: z.array(z.string()).describe(\"List of attributes to exclude from the webhook payload.\").nullable().optional(),\n file_access_token_expires_in: z.number().int().describe(\"Duration in seconds for file access token expiration.\").nullable().optional(),\n}).describe(\"Attributes of a Persona webhook object.\");\nconst PersonaCloneWebhook_WebhookDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'webhook'.\").nullable(),\n attributes: PersonaCloneWebhook_WebhookAttributesSchema.nullable().optional(),\n}).describe(\"Webhook data object returned by Persona API.\");\nexport const PersonaCloneWebhookOutput = z.object({\n data: PersonaCloneWebhook_WebhookDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources included in the response when requested via 'include' parameter.\").nullable().optional(),\n}).describe(\"Response model for the cloned webhook.\");\n\nexport const personaCloneWebhook = action(\"PERSONA_CLONE_WEBHOOK\", {\n slug: \"persona-clone-webhook\",\n name: \"Clone Webhook\",\n description: \"Tool to clone an existing Persona webhook. Use when you need to duplicate a webhook configuration with all its settings.\",\n input: PersonaCloneWebhookInput,\n output: PersonaCloneWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC3F,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAA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AS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,sCAAsC,SAAS;EACrD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidate-into-account.cjs","names":["z","action"],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput
|
|
1
|
+
{"version":3,"file":"consolidate-into-account.cjs","names":["z","action"],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"Destination Account ID to consolidate source accounts into.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response. Valid values: 'camel', 'kebab', 'snake'.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate consolidations.\").optional(),\n source_account_ids: z.array(z.string()).describe(\"A list of source Account IDs that will be consolidated into the destination account. All data from these accounts will be merged into the destination account.\"),\n}).describe(\"Request model for consolidating multiple source accounts into a destination account.\");\nconst PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the consolidated destination account.\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Account attributes after consolidation.\").nullable().optional(),\n}).describe(\"Response data for the consolidation operation.\");\nexport const PersonaConsolidateIntoAccountOutput = z.object({\n data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response model for account consolidation.\");\n\nexport const personaConsolidateIntoAccount = action(\"PERSONA_CONSOLIDATE_INTO_ACCOUNT\", {\n slug: \"persona-consolidate-into-account\",\n name: \"Consolidate Accounts\",\n description: \"Tool to consolidate multiple source accounts into a single destination account. Use when merging duplicate accounts or combining account data from multiple sources into one primary account.\",\n input: PersonaConsolidateIntoAccountInput,\n output: PersonaConsolidateIntoAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC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idateIntoAccountInput: z.ZodObject<{
|
|
5
|
+
fields: z.ZodOptional<z.ZodString>;
|
|
6
|
+
include: z.ZodOptional<z.ZodString>;
|
|
7
|
+
account_id: z.ZodString;
|
|
8
|
+
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
camel: "camel";
|
|
10
|
+
kebab: "kebab";
|
|
11
|
+
snake: "snake";
|
|
12
|
+
}>>;
|
|
13
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
14
|
+
source_account_ids: z.ZodArray<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const PersonaConsolidateIntoAccountOutput: z.ZodObject<{
|
|
17
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
}, z.core.$strip>>>;
|
|
22
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const personaConsolidateIntoAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
account_id: string;
|
|
26
|
+
source_account_ids: string[];
|
|
27
|
+
fields?: string | undefined;
|
|
28
|
+
include?: string | undefined;
|
|
29
|
+
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
30
|
+
idempotency_key?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { personaConsolidateIntoAccount };
|
|
9
34
|
//# sourceMappingURL=consolidate-into-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidate-into-account.d.cts","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"consolidate-into-account.d.cts","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/consolidate-into-account.d.ts
|
|
4
|
-
declare const PersonaConsolidateIntoAccountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersonaConsolidateIntoAccountInput: z.ZodObject<{
|
|
5
|
+
fields: z.ZodOptional<z.ZodString>;
|
|
6
|
+
include: z.ZodOptional<z.ZodString>;
|
|
7
|
+
account_id: z.ZodString;
|
|
8
|
+
key_inflection: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
camel: "camel";
|
|
10
|
+
kebab: "kebab";
|
|
11
|
+
snake: "snake";
|
|
12
|
+
}>>;
|
|
13
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
14
|
+
source_account_ids: z.ZodArray<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const PersonaConsolidateIntoAccountOutput: z.ZodObject<{
|
|
17
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
}, z.core.$strip>>>;
|
|
22
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const personaConsolidateIntoAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
account_id: string;
|
|
26
|
+
source_account_ids: string[];
|
|
27
|
+
fields?: string | undefined;
|
|
28
|
+
include?: string | undefined;
|
|
29
|
+
key_inflection?: "camel" | "kebab" | "snake" | undefined;
|
|
30
|
+
idempotency_key?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { personaConsolidateIntoAccount };
|
|
9
34
|
//# sourceMappingURL=consolidate-into-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidate-into-account.d.mts","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"consolidate-into-account.d.mts","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidate-into-account.mjs","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput
|
|
1
|
+
{"version":3,"file":"consolidate-into-account.mjs","names":[],"sources":["../../src/actions/consolidate-into-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaConsolidateIntoAccountInput = z.object({\n fields: z.string().describe(\"Comma-separated list of attributes to include in the response. Customizes which attributes will be serialized.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response. Customizes which related resources will be fully serialized in the 'included' key.\").optional(),\n account_id: z.string().describe(\"Destination Account ID to consolidate source accounts into.\"),\n key_inflection: z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response. Valid values: 'camel', 'kebab', 'snake'.\").optional(),\n idempotency_key: z.string().describe(\"Ensures the request is idempotent. Provide a unique key to prevent duplicate consolidations.\").optional(),\n source_account_ids: z.array(z.string()).describe(\"A list of source Account IDs that will be consolidated into the destination account. All data from these accounts will be merged into the destination account.\"),\n}).describe(\"Request model for consolidating multiple source accounts into a destination account.\");\nconst PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the consolidated destination account.\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Account attributes after consolidation.\").nullable().optional(),\n}).describe(\"Response data for the consolidation operation.\");\nexport const PersonaConsolidateIntoAccountOutput = z.object({\n data: PersonaConsolidateIntoAccount_ConsolidateIntoAccountResponseDataSchema.nullable().optional(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Related resources that were included in the response based on the 'include' parameter.\").nullable().optional(),\n}).describe(\"Response model for account consolidation.\");\n\nexport const personaConsolidateIntoAccount = action(\"PERSONA_CONSOLIDATE_INTO_ACCOUNT\", {\n slug: \"persona-consolidate-into-account\",\n name: \"Consolidate Accounts\",\n description: \"Tool to consolidate multiple source accounts into a single destination account. Use when merging duplicate accounts or combining account data from multiple sources into one primary account.\",\n input: PersonaConsolidateIntoAccountInput,\n output: PersonaConsolidateIntoAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CACrM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,gBAAgB,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1J,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC9I,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gKAAgK;AACnN,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,yEAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAM5D,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,MAAM,uEAAuE,SAAS,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -73,14 +73,14 @@ const PersonaCreateAnAccount_ResponseAccountAttributesSchema = zod.z.object({
|
|
|
73
73
|
const PersonaCreateAnAccount_RelationshipDataSchema = zod.z.object({ data: zod.z.object({}).describe("Relationship data.").nullable().optional() }).describe("Relationship data structure.");
|
|
74
74
|
const PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = zod.z.object({ "account-type": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
|
|
75
75
|
const PersonaCreateAnAccount_ResponseAccountDataSchema = zod.z.object({
|
|
76
|
-
id: zod.z.string().describe("Unique identifier for the account."),
|
|
77
|
-
type: zod.z.string().describe("Resource type, typically 'account'."),
|
|
76
|
+
id: zod.z.string().describe("Unique identifier for the account.").nullable(),
|
|
77
|
+
type: zod.z.string().describe("Resource type, typically 'account'.").nullable(),
|
|
78
78
|
attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
|
|
79
79
|
relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
|
|
80
80
|
}).describe("Account data returned in the response.");
|
|
81
81
|
const PersonaCreateAnAccount_IncludedResourceSchema = zod.z.object({
|
|
82
|
-
id: zod.z.string().describe("Unique identifier for the included resource."),
|
|
83
|
-
type: zod.z.string().describe("Resource type."),
|
|
82
|
+
id: zod.z.string().describe("Unique identifier for the included resource.").nullable(),
|
|
83
|
+
type: zod.z.string().describe("Resource type.").nullable(),
|
|
84
84
|
attributes: zod.z.object({}).describe("Attributes of the included resource.").nullable().optional()
|
|
85
85
|
}).describe("Included resources in the response.");
|
|
86
86
|
const PersonaCreateAnAccountOutput = zod.z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-an-account.cjs","names":["z","action"],"sources":["../../src/actions/create-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnAccountInput: z.ZodTypeAny = z.object({\n data: z.object({\n type: z.string().default(\"account\").describe(\"The resource type for JSON:API. Must be 'account'.\").optional(),\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account.\").optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected.\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").optional(),\n \"selfie-photo\": z.object({}).describe(\"Selfie photo data for the account.\").optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").optional(),\n \"account-type-id\": z.string().describe(\"ID of the account type to use for this account.\").optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").optional(),\n}).describe(\"Attributes for the account.\"),\n}).describe(\"The account data to create.\"),\n meta: z.object({\n \"upsert-by\": z.string().describe(\"The field name to use for upserting the account. This field must be unique across all accounts for the given account type.\").optional(),\n}).describe(\"Meta information for account creation.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for creating an account in Persona.\");\nconst PersonaCreateAnAccount_ResponseAccountAttributesSchema: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").nullable().optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").nullable().optional(),\n \"identification-numbers\": z.object({}).describe(\"Identification numbers for the account.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").nullable().optional(),\n}).describe(\"Attributes returned in the account response.\");\nconst PersonaCreateAnAccount_RelationshipDataSchema: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaCreateAnAccount_ResponseAccountRelationshipsSchema: z.ZodTypeAny = z.object({\n \"account-type\": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaCreateAnAccount_ResponseAccountDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the account.\"),\n type: z.string().describe(\"Resource type, typically 'account'.\"),\n attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaCreateAnAccount_IncludedResourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\"),\n type: z.string().describe(\"Resource type.\"),\n attributes: z.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaCreateAnAccountOutput: z.ZodTypeAny = z.object({\n data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after creating an account in Persona.\");\n\nexport const personaCreateAnAccount = action(\"PERSONA_CREATE_AN_ACCOUNT\", {\n slug: \"persona-create-an-account\",\n name: \"Create an Account\",\n description: \"Tool to create an account in Persona. Use when you need to create a new account with personal information such as name, email, phone, address, and custom fields.\",\n input: PersonaCreateAnAccountInput,\n output: PersonaCreateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5G,YAAYA,IAAAA,EAAE,OAAO;GACrB,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,C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,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,YAAY,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAM,iDAAiD,SAAS;CAChE,UAAUA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-an-account.cjs","names":["z","action"],"sources":["../../src/actions/create-an-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PersonaCreateAnAccountInput = z.object({\n data: z.object({\n type: z.string().default(\"account\").describe(\"The resource type for JSON:API. Must be 'account'.\").optional(),\n attributes: z.object({\n tags: z.array(z.string()).describe(\"Tags to associate with the account.\").optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected.\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").optional(),\n \"selfie-photo\": z.object({}).describe(\"Selfie photo data for the account.\").optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").optional(),\n \"account-type-id\": z.string().describe(\"ID of the account type to use for this account.\").optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").optional(),\n}).describe(\"Attributes for the account.\"),\n}).describe(\"The account data to create.\"),\n meta: z.object({\n \"upsert-by\": z.string().describe(\"The field name to use for upserting the account. This field must be unique across all accounts for the given account type.\").optional(),\n}).describe(\"Meta information for account creation.\").optional(),\n include: z.string().describe(\"A comma-separated list of relationship paths to include in the response.\").optional(),\n sparse_fields: z.object({}).describe(\"Comma-separated list(s) of attributes to include in the response, keyed by resource type.\").optional(),\n \"Key-Inflection\": z.enum([\"camel\", \"kebab\", \"snake\"]).describe(\"Determines casing for the API response.\").optional(),\n \"Idempotency-Key\": z.string().describe(\"Ensures the request is idempotent. Sent as header.\").optional(),\n \"Persona-Version\": z.enum([\"2025-12-08\", \"2025-10-27\", \"2023-01-05\", \"2022-09-01\", \"2021-08-18\", \"2021-07-05\", \"2021-02-21\", \"2020-05-18\"]).describe(\"Server API version.\").optional(),\n}).describe(\"Request model for creating an account in Persona.\");\nconst PersonaCreateAnAccount_ResponseAccountAttributesSchema = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the account.\").nullable().optional(),\n fields: z.object({}).describe(\"Custom fields for the account. This is not key inflected. Each field has a 'type' and 'value' property.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format.\").nullable().optional(),\n \"name-last\": z.string().describe(\"Last name of the account holder.\").nullable().optional(),\n \"created-at\": z.string().describe(\"Timestamp when the account was created.\").nullable().optional(),\n \"name-first\": z.string().describe(\"First name of the account holder.\").nullable().optional(),\n \"updated-at\": z.string().describe(\"Timestamp when the account was last updated.\").nullable().optional(),\n \"name-middle\": z.string().describe(\"Middle name of the account holder.\").nullable().optional(),\n \"redacted-at\": z.string().describe(\"Timestamp when the account was redacted, if applicable.\").nullable().optional(),\n \"address-city\": z.string().describe(\"City for the account address.\").nullable().optional(),\n \"country-code\": z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number for the account.\").nullable().optional(),\n \"reference-id\": z.string().describe(\"External reference ID for the account.\").nullable().optional(),\n \"email-address\": z.string().describe(\"Email address for the account.\").nullable().optional(),\n \"account-status\": z.string().describe(\"Status of the account.\").nullable().optional(),\n \"address-street-1\": z.string().describe(\"First line of the account address.\").nullable().optional(),\n \"address-street-2\": z.string().describe(\"Second line of the account address.\").nullable().optional(),\n \"account-type-name\": z.string().describe(\"Name of the account type.\").nullable().optional(),\n \"address-postal-code\": z.string().describe(\"Postal code for the account address.\").nullable().optional(),\n \"address-subdivision\": z.string().describe(\"State or subdivision for the account address.\").nullable().optional(),\n \"identification-numbers\": z.object({}).describe(\"Identification numbers for the account.\").nullable().optional(),\n \"social-security-number\": z.string().describe(\"Social security number for the account.\").nullable().optional(),\n}).describe(\"Attributes returned in the account response.\");\nconst PersonaCreateAnAccount_RelationshipDataSchema = z.object({\n data: z.object({}).describe(\"Relationship data.\").nullable().optional(),\n}).describe(\"Relationship data structure.\");\nconst PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({\n \"account-type\": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional(),\n}).describe(\"Relationships in the account response.\");\nconst PersonaCreateAnAccount_ResponseAccountDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account.\").nullable(),\n type: z.string().describe(\"Resource type, typically 'account'.\").nullable(),\n attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),\n relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional(),\n}).describe(\"Account data returned in the response.\");\nconst PersonaCreateAnAccount_IncludedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the included resource.\").nullable(),\n type: z.string().describe(\"Resource type.\").nullable(),\n attributes: z.object({}).describe(\"Attributes of the included resource.\").nullable().optional(),\n}).describe(\"Included resources in the response.\");\nexport const PersonaCreateAnAccountOutput = z.object({\n data: PersonaCreateAnAccount_ResponseAccountDataSchema.nullable(),\n included: z.array(PersonaCreateAnAccount_IncludedResourceSchema).describe(\"Related resources included in the response.\").nullable().optional(),\n}).describe(\"Response model returned after creating an account in Persona.\");\n\nexport const personaCreateAnAccount = action(\"PERSONA_CREATE_AN_ACCOUNT\", {\n slug: \"persona-create-an-account\",\n name: \"Create an Account\",\n description: \"Tool to create an account in Persona. Use when you need to create a new account with personal information such as name, email, phone, address, and custom fields.\",\n input: PersonaCreateAnAccountInput,\n output: PersonaCreateAnAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5G,YAAYA,IAAAA,EAAE,OAAO;GACrB,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GACnF,QAAQA,IAAAA,EAA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AO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAY,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,iDAAiD,SAAS;CAChE,UAAUA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,127 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-an-account.d.ts
|
|
4
|
-
declare const PersonaCreateAnAccountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersonaCreateAnAccountInput: z.ZodObject<{
|
|
5
|
+
data: z.ZodObject<{
|
|
6
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
attributes: z.ZodObject<{
|
|
8
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
10
|
+
birthdate: z.ZodOptional<z.ZodString>;
|
|
11
|
+
"name-last": z.ZodOptional<z.ZodString>;
|
|
12
|
+
"name-first": z.ZodOptional<z.ZodString>;
|
|
13
|
+
"name-middle": z.ZodOptional<z.ZodString>;
|
|
14
|
+
"address-city": z.ZodOptional<z.ZodString>;
|
|
15
|
+
"country-code": z.ZodOptional<z.ZodString>;
|
|
16
|
+
"phone-number": z.ZodOptional<z.ZodString>;
|
|
17
|
+
"reference-id": z.ZodOptional<z.ZodString>;
|
|
18
|
+
"selfie-photo": z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
19
|
+
"email-address": z.ZodOptional<z.ZodString>;
|
|
20
|
+
"account-status": z.ZodOptional<z.ZodString>;
|
|
21
|
+
"account-type-id": z.ZodOptional<z.ZodString>;
|
|
22
|
+
"address-street-1": z.ZodOptional<z.ZodString>;
|
|
23
|
+
"address-street-2": z.ZodOptional<z.ZodString>;
|
|
24
|
+
"address-postal-code": z.ZodOptional<z.ZodString>;
|
|
25
|
+
"address-subdivision": z.ZodOptional<z.ZodString>;
|
|
26
|
+
"social-security-number": z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
"upsert-by": z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
include: z.ZodOptional<z.ZodString>;
|
|
33
|
+
sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
34
|
+
"Key-Inflection": z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
camel: "camel";
|
|
36
|
+
kebab: "kebab";
|
|
37
|
+
snake: "snake";
|
|
38
|
+
}>>;
|
|
39
|
+
"Idempotency-Key": z.ZodOptional<z.ZodString>;
|
|
40
|
+
"Persona-Version": z.ZodOptional<z.ZodEnum<{
|
|
41
|
+
"2025-12-08": "2025-12-08";
|
|
42
|
+
"2025-10-27": "2025-10-27";
|
|
43
|
+
"2023-01-05": "2023-01-05";
|
|
44
|
+
"2022-09-01": "2022-09-01";
|
|
45
|
+
"2021-08-18": "2021-08-18";
|
|
46
|
+
"2021-07-05": "2021-07-05";
|
|
47
|
+
"2021-02-21": "2021-02-21";
|
|
48
|
+
"2020-05-18": "2020-05-18";
|
|
49
|
+
}>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
declare const PersonaCreateAnAccountOutput: z.ZodObject<{
|
|
52
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
53
|
+
id: z.ZodNullable<z.ZodString>;
|
|
54
|
+
type: z.ZodNullable<z.ZodString>;
|
|
55
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
57
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
58
|
+
birthdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
"name-last": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
"name-first": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
"name-middle": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
"address-city": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
"phone-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
"email-address": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
+
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
"address-street-1": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
"address-street-2": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
"address-postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
"address-subdivision": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
"identification-numbers": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
77
|
+
"social-security-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
80
|
+
"account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
81
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
82
|
+
}, z.core.$strip>>>;
|
|
83
|
+
}, z.core.$strip>>>;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
86
|
+
id: z.ZodNullable<z.ZodString>;
|
|
87
|
+
type: z.ZodNullable<z.ZodString>;
|
|
88
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
89
|
+
}, z.core.$strip>>>>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
92
|
+
data: {
|
|
93
|
+
attributes: {
|
|
94
|
+
tags?: string[] | undefined;
|
|
95
|
+
fields?: Record<string, never> | undefined;
|
|
96
|
+
birthdate?: string | undefined;
|
|
97
|
+
"name-last"?: string | undefined;
|
|
98
|
+
"name-first"?: string | undefined;
|
|
99
|
+
"name-middle"?: string | undefined;
|
|
100
|
+
"address-city"?: string | undefined;
|
|
101
|
+
"country-code"?: string | undefined;
|
|
102
|
+
"phone-number"?: string | undefined;
|
|
103
|
+
"reference-id"?: string | undefined;
|
|
104
|
+
"selfie-photo"?: Record<string, never> | undefined;
|
|
105
|
+
"email-address"?: string | undefined;
|
|
106
|
+
"account-status"?: string | undefined;
|
|
107
|
+
"account-type-id"?: string | undefined;
|
|
108
|
+
"address-street-1"?: string | undefined;
|
|
109
|
+
"address-street-2"?: string | undefined;
|
|
110
|
+
"address-postal-code"?: string | undefined;
|
|
111
|
+
"address-subdivision"?: string | undefined;
|
|
112
|
+
"social-security-number"?: string | undefined;
|
|
113
|
+
};
|
|
114
|
+
type?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
meta?: {
|
|
117
|
+
"upsert-by"?: string | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
include?: string | undefined;
|
|
120
|
+
sparse_fields?: Record<string, never> | undefined;
|
|
121
|
+
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
122
|
+
"Idempotency-Key"?: string | undefined;
|
|
123
|
+
"Persona-Version"?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
|
|
124
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
125
|
//#endregion
|
|
8
126
|
export { personaCreateAnAccount };
|
|
9
127
|
//# sourceMappingURL=create-an-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-an-account.d.cts","names":[],"sources":["../../src/actions/create-an-account.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-an-account.d.cts","names":[],"sources":["../../src/actions/create-an-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2E3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,127 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-an-account.d.ts
|
|
4
|
-
declare const PersonaCreateAnAccountInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PersonaCreateAnAccountInput: z.ZodObject<{
|
|
5
|
+
data: z.ZodObject<{
|
|
6
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
attributes: z.ZodObject<{
|
|
8
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
10
|
+
birthdate: z.ZodOptional<z.ZodString>;
|
|
11
|
+
"name-last": z.ZodOptional<z.ZodString>;
|
|
12
|
+
"name-first": z.ZodOptional<z.ZodString>;
|
|
13
|
+
"name-middle": z.ZodOptional<z.ZodString>;
|
|
14
|
+
"address-city": z.ZodOptional<z.ZodString>;
|
|
15
|
+
"country-code": z.ZodOptional<z.ZodString>;
|
|
16
|
+
"phone-number": z.ZodOptional<z.ZodString>;
|
|
17
|
+
"reference-id": z.ZodOptional<z.ZodString>;
|
|
18
|
+
"selfie-photo": z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
19
|
+
"email-address": z.ZodOptional<z.ZodString>;
|
|
20
|
+
"account-status": z.ZodOptional<z.ZodString>;
|
|
21
|
+
"account-type-id": z.ZodOptional<z.ZodString>;
|
|
22
|
+
"address-street-1": z.ZodOptional<z.ZodString>;
|
|
23
|
+
"address-street-2": z.ZodOptional<z.ZodString>;
|
|
24
|
+
"address-postal-code": z.ZodOptional<z.ZodString>;
|
|
25
|
+
"address-subdivision": z.ZodOptional<z.ZodString>;
|
|
26
|
+
"social-security-number": z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
"upsert-by": z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
include: z.ZodOptional<z.ZodString>;
|
|
33
|
+
sparse_fields: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
34
|
+
"Key-Inflection": z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
camel: "camel";
|
|
36
|
+
kebab: "kebab";
|
|
37
|
+
snake: "snake";
|
|
38
|
+
}>>;
|
|
39
|
+
"Idempotency-Key": z.ZodOptional<z.ZodString>;
|
|
40
|
+
"Persona-Version": z.ZodOptional<z.ZodEnum<{
|
|
41
|
+
"2025-12-08": "2025-12-08";
|
|
42
|
+
"2025-10-27": "2025-10-27";
|
|
43
|
+
"2023-01-05": "2023-01-05";
|
|
44
|
+
"2022-09-01": "2022-09-01";
|
|
45
|
+
"2021-08-18": "2021-08-18";
|
|
46
|
+
"2021-07-05": "2021-07-05";
|
|
47
|
+
"2021-02-21": "2021-02-21";
|
|
48
|
+
"2020-05-18": "2020-05-18";
|
|
49
|
+
}>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
declare const PersonaCreateAnAccountOutput: z.ZodObject<{
|
|
52
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
53
|
+
id: z.ZodNullable<z.ZodString>;
|
|
54
|
+
type: z.ZodNullable<z.ZodString>;
|
|
55
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
57
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
58
|
+
birthdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
"name-last": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
"created-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
"name-first": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
"updated-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
"name-middle": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
"redacted-at": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
"address-city": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
"phone-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
"reference-id": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
"email-address": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
+
"account-status": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
"address-street-1": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
"address-street-2": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
"account-type-name": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
"address-postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
"address-subdivision": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
"identification-numbers": z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
77
|
+
"social-security-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
80
|
+
"account-type": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
81
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
82
|
+
}, z.core.$strip>>>;
|
|
83
|
+
}, z.core.$strip>>>;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
86
|
+
id: z.ZodNullable<z.ZodString>;
|
|
87
|
+
type: z.ZodNullable<z.ZodString>;
|
|
88
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
89
|
+
}, z.core.$strip>>>>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
declare const personaCreateAnAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
92
|
+
data: {
|
|
93
|
+
attributes: {
|
|
94
|
+
tags?: string[] | undefined;
|
|
95
|
+
fields?: Record<string, never> | undefined;
|
|
96
|
+
birthdate?: string | undefined;
|
|
97
|
+
"name-last"?: string | undefined;
|
|
98
|
+
"name-first"?: string | undefined;
|
|
99
|
+
"name-middle"?: string | undefined;
|
|
100
|
+
"address-city"?: string | undefined;
|
|
101
|
+
"country-code"?: string | undefined;
|
|
102
|
+
"phone-number"?: string | undefined;
|
|
103
|
+
"reference-id"?: string | undefined;
|
|
104
|
+
"selfie-photo"?: Record<string, never> | undefined;
|
|
105
|
+
"email-address"?: string | undefined;
|
|
106
|
+
"account-status"?: string | undefined;
|
|
107
|
+
"account-type-id"?: string | undefined;
|
|
108
|
+
"address-street-1"?: string | undefined;
|
|
109
|
+
"address-street-2"?: string | undefined;
|
|
110
|
+
"address-postal-code"?: string | undefined;
|
|
111
|
+
"address-subdivision"?: string | undefined;
|
|
112
|
+
"social-security-number"?: string | undefined;
|
|
113
|
+
};
|
|
114
|
+
type?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
meta?: {
|
|
117
|
+
"upsert-by"?: string | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
include?: string | undefined;
|
|
120
|
+
sparse_fields?: Record<string, never> | undefined;
|
|
121
|
+
"Key-Inflection"?: "camel" | "kebab" | "snake" | undefined;
|
|
122
|
+
"Idempotency-Key"?: string | undefined;
|
|
123
|
+
"Persona-Version"?: "2025-12-08" | "2025-10-27" | "2023-01-05" | "2022-09-01" | "2021-08-18" | "2021-07-05" | "2021-02-21" | "2020-05-18" | undefined;
|
|
124
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
125
|
//#endregion
|
|
8
126
|
export { personaCreateAnAccount };
|
|
9
127
|
//# sourceMappingURL=create-an-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-an-account.d.mts","names":[],"sources":["../../src/actions/create-an-account.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-an-account.d.mts","names":[],"sources":["../../src/actions/create-an-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2E3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -73,14 +73,14 @@ const PersonaCreateAnAccount_ResponseAccountAttributesSchema = z.object({
|
|
|
73
73
|
const PersonaCreateAnAccount_RelationshipDataSchema = z.object({ data: z.object({}).describe("Relationship data.").nullable().optional() }).describe("Relationship data structure.");
|
|
74
74
|
const PersonaCreateAnAccount_ResponseAccountRelationshipsSchema = z.object({ "account-type": PersonaCreateAnAccount_RelationshipDataSchema.nullable().optional() }).describe("Relationships in the account response.");
|
|
75
75
|
const PersonaCreateAnAccount_ResponseAccountDataSchema = z.object({
|
|
76
|
-
id: z.string().describe("Unique identifier for the account."),
|
|
77
|
-
type: z.string().describe("Resource type, typically 'account'."),
|
|
76
|
+
id: z.string().describe("Unique identifier for the account.").nullable(),
|
|
77
|
+
type: z.string().describe("Resource type, typically 'account'.").nullable(),
|
|
78
78
|
attributes: PersonaCreateAnAccount_ResponseAccountAttributesSchema.nullable().optional(),
|
|
79
79
|
relationships: PersonaCreateAnAccount_ResponseAccountRelationshipsSchema.nullable().optional()
|
|
80
80
|
}).describe("Account data returned in the response.");
|
|
81
81
|
const PersonaCreateAnAccount_IncludedResourceSchema = z.object({
|
|
82
|
-
id: z.string().describe("Unique identifier for the included resource."),
|
|
83
|
-
type: z.string().describe("Resource type."),
|
|
82
|
+
id: z.string().describe("Unique identifier for the included resource.").nullable(),
|
|
83
|
+
type: z.string().describe("Resource type.").nullable(),
|
|
84
84
|
attributes: z.object({}).describe("Attributes of the included resource.").nullable().optional()
|
|
85
85
|
}).describe("Included resources in the response.");
|
|
86
86
|
const personaCreateAnAccount = action("PERSONA_CREATE_AN_ACCOUNT", {
|