@gbg/go-core 0.1.3 → 0.2.0-alpha.0
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/FUNCTIONS.md +6 -4
- package/README.md +92 -61
- package/dist/commonjs/funcs/addresses-retrieve.d.ts +19 -0
- package/dist/commonjs/funcs/addresses-retrieve.d.ts.map +1 -0
- package/dist/commonjs/funcs/{tasks-list.js → addresses-retrieve.js} +21 -10
- package/dist/commonjs/funcs/addresses-retrieve.js.map +1 -0
- package/dist/{esm/funcs/tasks-list-schema.d.ts → commonjs/funcs/addresses-search.d.ts} +6 -6
- package/dist/commonjs/funcs/addresses-search.d.ts.map +1 -0
- package/dist/commonjs/funcs/{tasks-update.js → addresses-search.js} +21 -10
- package/dist/commonjs/funcs/addresses-search.js.map +1 -0
- package/dist/commonjs/funcs/devices-add.d.ts +5 -3
- package/dist/commonjs/funcs/devices-add.d.ts.map +1 -1
- package/dist/commonjs/funcs/devices-add.js +9 -4
- package/dist/commonjs/funcs/devices-add.js.map +1 -1
- package/dist/commonjs/funcs/devices-connect.d.ts +5 -3
- package/dist/commonjs/funcs/devices-connect.d.ts.map +1 -1
- package/dist/commonjs/funcs/devices-connect.js +11 -8
- package/dist/commonjs/funcs/devices-connect.js.map +1 -1
- package/dist/{esm/funcs/health-get.d.ts → commonjs/funcs/devices-refresh.d.ts} +6 -5
- package/dist/commonjs/funcs/devices-refresh.d.ts.map +1 -0
- package/dist/commonjs/funcs/{health-get.js → devices-refresh.js} +16 -17
- package/dist/commonjs/funcs/devices-refresh.js.map +1 -0
- package/dist/commonjs/funcs/{health-get.d.ts → devices-validate.d.ts} +6 -4
- package/dist/commonjs/funcs/devices-validate.d.ts.map +1 -0
- package/dist/commonjs/funcs/devices-validate.js +113 -0
- package/dist/commonjs/funcs/devices-validate.js.map +1 -0
- package/dist/commonjs/funcs/instances-delete.d.ts +5 -3
- package/dist/commonjs/funcs/instances-delete.d.ts.map +1 -1
- package/dist/commonjs/funcs/instances-delete.js +9 -4
- package/dist/commonjs/funcs/instances-delete.js.map +1 -1
- package/dist/commonjs/funcs/instances-handoff-token.d.ts +19 -0
- package/dist/commonjs/funcs/instances-handoff-token.d.ts.map +1 -0
- package/dist/commonjs/funcs/instances-handoff-token.js +130 -0
- package/dist/commonjs/funcs/instances-handoff-token.js.map +1 -0
- package/dist/commonjs/funcs/interactions-fetch.d.ts +4 -3
- package/dist/commonjs/funcs/interactions-fetch.d.ts.map +1 -1
- package/dist/commonjs/funcs/interactions-fetch.js +19 -7
- package/dist/commonjs/funcs/interactions-fetch.js.map +1 -1
- package/dist/commonjs/funcs/interactions-submit.d.ts +5 -3
- package/dist/commonjs/funcs/interactions-submit.d.ts.map +1 -1
- package/dist/commonjs/funcs/interactions-submit.js +15 -4
- package/dist/commonjs/funcs/interactions-submit.js.map +1 -1
- package/dist/commonjs/funcs/interactions-upload-asset.d.ts +18 -0
- package/dist/commonjs/funcs/interactions-upload-asset.d.ts.map +1 -0
- package/dist/commonjs/funcs/interactions-upload-asset.js +119 -0
- package/dist/commonjs/funcs/interactions-upload-asset.js.map +1 -0
- package/dist/commonjs/funcs/journeys-get-schemas.d.ts +46 -0
- package/dist/commonjs/funcs/journeys-get-schemas.d.ts.map +1 -0
- package/dist/commonjs/funcs/journeys-get-schemas.js +150 -0
- package/dist/commonjs/funcs/journeys-get-schemas.js.map +1 -0
- package/dist/commonjs/funcs/journeys-get-state.d.ts +4 -3
- package/dist/commonjs/funcs/journeys-get-state.d.ts.map +1 -1
- package/dist/commonjs/funcs/journeys-get-state.js +13 -7
- package/dist/commonjs/funcs/journeys-get-state.js.map +1 -1
- package/dist/commonjs/funcs/journeys-start.d.ts +5 -3
- package/dist/commonjs/funcs/journeys-start.d.ts.map +1 -1
- package/dist/commonjs/funcs/journeys-start.js +9 -4
- package/dist/commonjs/funcs/journeys-start.js.map +1 -1
- package/dist/commonjs/funcs/journeys-terminate.d.ts +21 -0
- package/dist/commonjs/funcs/journeys-terminate.d.ts.map +1 -0
- package/dist/commonjs/funcs/{tasks-list-schema.js → journeys-terminate.js} +14 -9
- package/dist/commonjs/funcs/journeys-terminate.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-create-scenario.d.ts +21 -0
- package/dist/commonjs/funcs/sandbox-create-scenario.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-create-scenario.js +129 -0
- package/dist/commonjs/funcs/sandbox-create-scenario.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-delete-scenario.d.ts +20 -0
- package/dist/commonjs/funcs/sandbox-delete-scenario.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-delete-scenario.js +131 -0
- package/dist/commonjs/funcs/sandbox-delete-scenario.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-scenario.d.ts +21 -0
- package/dist/commonjs/funcs/sandbox-get-scenario.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-scenario.js +136 -0
- package/dist/commonjs/funcs/sandbox-get-scenario.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-list-scenarios.d.ts +21 -0
- package/dist/commonjs/funcs/sandbox-list-scenarios.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-list-scenarios.js +132 -0
- package/dist/commonjs/funcs/sandbox-list-scenarios.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-put-scenario.d.ts +21 -0
- package/dist/commonjs/funcs/sandbox-put-scenario.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-put-scenario.js +133 -0
- package/dist/commonjs/funcs/sandbox-put-scenario.js.map +1 -0
- package/dist/commonjs/funcs/tasks-get-schema.d.ts +8 -3
- package/dist/commonjs/funcs/tasks-get-schema.d.ts.map +1 -1
- package/dist/commonjs/funcs/tasks-get-schema.js +10 -4
- package/dist/commonjs/funcs/tasks-get-schema.js.map +1 -1
- package/dist/commonjs/funcs/tokens-generate.js +1 -1
- package/dist/commonjs/funcs/tokens-generate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +5 -5
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +16 -7
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/create-sandbox-scenario-request.d.ts +29 -0
- package/dist/commonjs/models/create-sandbox-scenario-request.d.ts.map +1 -0
- package/dist/commonjs/models/create-sandbox-scenario-request.js +56 -0
- package/dist/commonjs/models/create-sandbox-scenario-request.js.map +1 -0
- package/dist/commonjs/models/delete-response.d.ts +19 -0
- package/dist/commonjs/models/delete-response.d.ts.map +1 -0
- package/dist/commonjs/models/delete-response.js +58 -0
- package/dist/commonjs/models/delete-response.js.map +1 -0
- package/dist/commonjs/models/device-connect-response.d.ts +23 -0
- package/dist/commonjs/models/device-connect-response.d.ts.map +1 -0
- package/dist/commonjs/models/device-connect-response.js +62 -0
- package/dist/commonjs/models/device-connect-response.js.map +1 -0
- package/dist/commonjs/models/device-refresh-response.d.ts +16 -0
- package/dist/commonjs/models/device-refresh-response.d.ts.map +1 -0
- package/dist/commonjs/models/device-refresh-response.js +57 -0
- package/dist/commonjs/models/device-refresh-response.js.map +1 -0
- package/dist/commonjs/models/device-start-response.d.ts +20 -0
- package/dist/commonjs/models/device-start-response.d.ts.map +1 -0
- package/dist/commonjs/models/device-start-response.js +59 -0
- package/dist/commonjs/models/device-start-response.js.map +1 -0
- package/dist/commonjs/models/device-validate-response.d.ts +14 -0
- package/dist/commonjs/models/device-validate-response.d.ts.map +1 -0
- package/dist/commonjs/models/device-validate-response.js +55 -0
- package/dist/commonjs/models/device-validate-response.js.map +1 -0
- package/dist/commonjs/models/errors/error-response.d.ts +19 -0
- package/dist/commonjs/models/errors/error-response.d.ts.map +1 -0
- package/dist/commonjs/models/errors/error-response.js +68 -0
- package/dist/commonjs/models/errors/error-response.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +1 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/gbg-error.d.ts +28 -0
- package/dist/commonjs/models/gbg-error.d.ts.map +1 -0
- package/dist/commonjs/models/gbg-error.js +69 -0
- package/dist/commonjs/models/gbg-error.js.map +1 -0
- package/dist/commonjs/models/handoff-token-response.d.ts +20 -0
- package/dist/commonjs/models/handoff-token-response.d.ts.map +1 -0
- package/dist/commonjs/models/handoff-token-response.js +60 -0
- package/dist/commonjs/models/handoff-token-response.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +30 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +30 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/interaction-fetch-response.d.ts +53 -0
- package/dist/commonjs/models/interaction-fetch-response.d.ts.map +1 -0
- package/dist/commonjs/models/interaction-fetch-response.js +92 -0
- package/dist/commonjs/models/interaction-fetch-response.js.map +1 -0
- package/dist/commonjs/models/interaction-submit-response.d.ts +17 -0
- package/dist/commonjs/models/interaction-submit-response.d.ts.map +1 -0
- package/dist/commonjs/models/interaction-submit-response.js +55 -0
- package/dist/commonjs/models/interaction-submit-response.js.map +1 -0
- package/dist/commonjs/models/journey-start-response.d.ts +27 -0
- package/dist/commonjs/models/journey-start-response.d.ts.map +1 -0
- package/dist/commonjs/models/journey-start-response.js +67 -0
- package/dist/commonjs/models/journey-start-response.js.map +1 -0
- package/dist/commonjs/models/loqate-retrieve-response.d.ts +12 -0
- package/dist/commonjs/models/loqate-retrieve-response.d.ts.map +1 -0
- package/dist/commonjs/models/loqate-retrieve-response.js +55 -0
- package/dist/commonjs/models/loqate-retrieve-response.js.map +1 -0
- package/dist/commonjs/models/loqate-search-response.d.ts +12 -0
- package/dist/commonjs/models/loqate-search-response.d.ts.map +1 -0
- package/dist/commonjs/models/loqate-search-response.js +55 -0
- package/dist/commonjs/models/loqate-search-response.js.map +1 -0
- package/dist/commonjs/models/operations/add-device.d.ts +8 -92
- package/dist/commonjs/models/operations/add-device.d.ts.map +1 -1
- package/dist/commonjs/models/operations/add-device.js +6 -76
- package/dist/commonjs/models/operations/add-device.js.map +1 -1
- package/dist/commonjs/models/operations/create-handoff-token.d.ts +22 -0
- package/dist/commonjs/models/operations/create-handoff-token.d.ts.map +1 -0
- package/dist/commonjs/models/operations/create-handoff-token.js +62 -0
- package/dist/commonjs/models/operations/create-handoff-token.js.map +1 -0
- package/dist/commonjs/models/operations/create-sandbox-scenario.d.ts +18 -0
- package/dist/commonjs/models/operations/create-sandbox-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/create-sandbox-scenario.js +51 -0
- package/dist/commonjs/models/operations/create-sandbox-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/delete-instance.d.ts +1 -14
- package/dist/commonjs/models/operations/delete-instance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/delete-instance.js +3 -13
- package/dist/commonjs/models/operations/delete-instance.js.map +1 -1
- package/dist/commonjs/models/operations/delete-sandbox-scenario.d.ts +20 -0
- package/dist/commonjs/models/operations/delete-sandbox-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/delete-sandbox-scenario.js +50 -0
- package/dist/commonjs/models/operations/delete-sandbox-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/device-connect.d.ts +0 -59
- package/dist/commonjs/models/operations/device-connect.d.ts.map +1 -1
- package/dist/commonjs/models/operations/device-connect.js +1 -50
- package/dist/commonjs/models/operations/device-connect.js.map +1 -1
- package/dist/commonjs/models/operations/device-validate.d.ts +12 -0
- package/dist/commonjs/models/operations/device-validate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/device-validate.js +54 -0
- package/dist/commonjs/models/operations/device-validate.js.map +1 -0
- package/dist/commonjs/models/operations/fetch-interaction.d.ts +34 -1621
- package/dist/commonjs/models/operations/fetch-interaction.d.ts.map +1 -1
- package/dist/commonjs/models/operations/fetch-interaction.js +22 -1334
- package/dist/commonjs/models/operations/fetch-interaction.js.map +1 -1
- package/dist/commonjs/models/operations/get-journey-schemas.d.ts +16 -0
- package/dist/commonjs/models/operations/get-journey-schemas.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-journey-schemas.js +51 -0
- package/dist/commonjs/models/operations/get-journey-schemas.js.map +1 -0
- package/dist/commonjs/models/operations/get-journey-state.d.ts +16 -1383
- package/dist/commonjs/models/operations/get-journey-state.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-journey-state.js +14 -1067
- package/dist/commonjs/models/operations/get-journey-state.js.map +1 -1
- package/dist/commonjs/models/operations/get-sandbox-scenario.d.ts +39 -0
- package/dist/commonjs/models/operations/get-sandbox-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-sandbox-scenario.js +60 -0
- package/dist/commonjs/models/operations/get-sandbox-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/get-task-schema.d.ts +1 -17
- package/dist/commonjs/models/operations/get-task-schema.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-task-schema.js +1 -19
- package/dist/commonjs/models/operations/get-task-schema.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +12 -4
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +12 -4
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list-sandbox-scenarios.d.ts +34 -0
- package/dist/commonjs/models/operations/list-sandbox-scenarios.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-sandbox-scenarios.js +59 -0
- package/dist/commonjs/models/operations/list-sandbox-scenarios.js.map +1 -0
- package/dist/commonjs/models/operations/post-as-token-oauth2.d.ts +2 -2
- package/dist/commonjs/models/operations/post-as-token-oauth2.d.ts.map +1 -1
- package/dist/commonjs/models/operations/post-as-token-oauth2.js +1 -1
- package/dist/commonjs/models/operations/post-as-token-oauth2.js.map +1 -1
- package/dist/commonjs/models/operations/put-sandbox-scenario.d.ts +23 -0
- package/dist/commonjs/models/operations/put-sandbox-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/put-sandbox-scenario.js +52 -0
- package/dist/commonjs/models/operations/put-sandbox-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/retrieve-address.d.ts +29 -0
- package/dist/commonjs/models/operations/retrieve-address.d.ts.map +1 -0
- package/dist/commonjs/models/operations/retrieve-address.js +65 -0
- package/dist/commonjs/models/operations/retrieve-address.js.map +1 -0
- package/dist/commonjs/models/operations/search-addresses.d.ts +33 -0
- package/dist/commonjs/models/operations/search-addresses.d.ts.map +1 -0
- package/dist/commonjs/models/operations/search-addresses.js +67 -0
- package/dist/commonjs/models/operations/search-addresses.js.map +1 -0
- package/dist/commonjs/models/operations/start-journey.d.ts +1071 -108
- package/dist/commonjs/models/operations/start-journey.d.ts.map +1 -1
- package/dist/commonjs/models/operations/start-journey.js +504 -62
- package/dist/commonjs/models/operations/start-journey.js.map +1 -1
- package/dist/commonjs/models/operations/submit-interaction.d.ts +989 -92
- package/dist/commonjs/models/operations/submit-interaction.d.ts.map +1 -1
- package/dist/commonjs/models/operations/submit-interaction.js +464 -50
- package/dist/commonjs/models/operations/submit-interaction.js.map +1 -1
- package/dist/commonjs/models/operations/terminate-journey.d.ts +19 -0
- package/dist/commonjs/models/operations/terminate-journey.d.ts.map +1 -0
- package/dist/commonjs/models/operations/terminate-journey.js +50 -0
- package/dist/commonjs/models/operations/terminate-journey.js.map +1 -0
- package/dist/commonjs/models/operations/upload-interaction-asset.d.ts +26 -0
- package/dist/commonjs/models/operations/upload-interaction-asset.d.ts.map +1 -0
- package/dist/commonjs/models/operations/upload-interaction-asset.js +67 -0
- package/dist/commonjs/models/operations/upload-interaction-asset.js.map +1 -0
- package/dist/commonjs/models/sandbox-scenario-summary.d.ts +29 -0
- package/dist/commonjs/models/sandbox-scenario-summary.d.ts.map +1 -0
- package/dist/commonjs/models/sandbox-scenario-summary.js +63 -0
- package/dist/commonjs/models/sandbox-scenario-summary.js.map +1 -0
- package/dist/commonjs/models/sandbox-scenario-written.d.ts +19 -0
- package/dist/commonjs/models/sandbox-scenario-written.d.ts.map +1 -0
- package/dist/commonjs/models/sandbox-scenario-written.js +58 -0
- package/dist/commonjs/models/sandbox-scenario-written.js.map +1 -0
- package/dist/commonjs/models/sandbox-scenario.d.ts +31 -0
- package/dist/commonjs/models/sandbox-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/sandbox-scenario.js +63 -0
- package/dist/commonjs/models/sandbox-scenario.js.map +1 -0
- package/dist/commonjs/models/schema-fetch-response.d.ts +22 -0
- package/dist/commonjs/models/schema-fetch-response.d.ts.map +1 -0
- package/dist/commonjs/models/schema-fetch-response.js +63 -0
- package/dist/commonjs/models/schema-fetch-response.js.map +1 -0
- package/dist/commonjs/models/slim-document.d.ts +57 -0
- package/dist/commonjs/models/slim-document.d.ts.map +1 -0
- package/dist/commonjs/models/slim-document.js +93 -0
- package/dist/commonjs/models/slim-document.js.map +1 -0
- package/dist/commonjs/models/slim-extraction.d.ts +74 -0
- package/dist/commonjs/models/slim-extraction.d.ts.map +1 -0
- package/dist/commonjs/models/slim-extraction.js +129 -0
- package/dist/commonjs/models/slim-extraction.js.map +1 -0
- package/dist/commonjs/models/slim-identity.d.ts +202 -0
- package/dist/commonjs/models/slim-identity.d.ts.map +1 -0
- package/dist/commonjs/models/slim-identity.js +143 -0
- package/dist/commonjs/models/slim-identity.js.map +1 -0
- package/dist/commonjs/models/slim-interaction-fetch-response.d.ts +58 -0
- package/dist/commonjs/models/slim-interaction-fetch-response.d.ts.map +1 -0
- package/dist/commonjs/models/slim-interaction-fetch-response.js +102 -0
- package/dist/commonjs/models/slim-interaction-fetch-response.js.map +1 -0
- package/dist/commonjs/models/slim-journey.d.ts +14 -0
- package/dist/commonjs/models/slim-journey.d.ts.map +1 -0
- package/dist/commonjs/models/slim-journey.js +56 -0
- package/dist/commonjs/models/slim-journey.js.map +1 -0
- package/dist/commonjs/models/slim-result.d.ts +46 -0
- package/dist/commonjs/models/slim-result.d.ts.map +1 -0
- package/dist/commonjs/models/slim-result.js +77 -0
- package/dist/commonjs/models/slim-result.js.map +1 -0
- package/dist/commonjs/models/slim-state-fetch-response.d.ts +26 -0
- package/dist/commonjs/models/slim-state-fetch-response.d.ts.map +1 -0
- package/dist/commonjs/models/slim-state-fetch-response.js +66 -0
- package/dist/commonjs/models/slim-state-fetch-response.js.map +1 -0
- package/dist/commonjs/models/slim-step.d.ts +22 -0
- package/dist/commonjs/models/slim-step.d.ts.map +1 -0
- package/dist/commonjs/models/slim-step.js +63 -0
- package/dist/commonjs/models/slim-step.js.map +1 -0
- package/dist/commonjs/models/slim-validation.d.ts +69 -0
- package/dist/commonjs/models/slim-validation.d.ts.map +1 -0
- package/dist/commonjs/models/slim-validation.js +122 -0
- package/dist/commonjs/models/slim-validation.js.map +1 -0
- package/dist/commonjs/models/slim-verified-data.d.ts +16 -0
- package/dist/commonjs/models/slim-verified-data.d.ts.map +1 -0
- package/dist/commonjs/models/slim-verified-data.js +54 -0
- package/dist/commonjs/models/slim-verified-data.js.map +1 -0
- package/dist/commonjs/models/state-fetch-response.d.ts +17 -0
- package/dist/commonjs/models/state-fetch-response.d.ts.map +1 -0
- package/dist/commonjs/models/state-fetch-response.js +54 -0
- package/dist/commonjs/models/state-fetch-response.js.map +1 -0
- package/dist/commonjs/models/terminate-response.d.ts +10 -0
- package/dist/commonjs/models/terminate-response.d.ts.map +1 -0
- package/dist/commonjs/models/{operations/health.js → terminate-response.js} +10 -10
- package/dist/commonjs/models/terminate-response.js.map +1 -0
- package/dist/commonjs/models/update-sandbox-scenario-request.d.ts +24 -0
- package/dist/commonjs/models/update-sandbox-scenario-request.d.ts.map +1 -0
- package/dist/commonjs/models/update-sandbox-scenario-request.js +55 -0
- package/dist/commonjs/models/update-sandbox-scenario-request.js.map +1 -0
- package/dist/commonjs/sdk/addresses.d.ts +20 -0
- package/dist/commonjs/sdk/addresses.d.ts.map +1 -0
- package/dist/commonjs/sdk/addresses.js +32 -0
- package/dist/commonjs/sdk/addresses.js.map +1 -0
- package/dist/commonjs/sdk/devices.d.ts +21 -6
- package/dist/commonjs/sdk/devices.d.ts.map +1 -1
- package/dist/commonjs/sdk/devices.js +26 -6
- package/dist/commonjs/sdk/devices.js.map +1 -1
- package/dist/commonjs/sdk/instances.d.ts +11 -3
- package/dist/commonjs/sdk/instances.d.ts.map +1 -1
- package/dist/commonjs/sdk/instances.js +12 -2
- package/dist/commonjs/sdk/instances.js.map +1 -1
- package/dist/commonjs/sdk/interactions.d.ts +14 -6
- package/dist/commonjs/sdk/interactions.d.ts.map +1 -1
- package/dist/commonjs/sdk/interactions.js +16 -6
- package/dist/commonjs/sdk/interactions.js.map +1 -1
- package/dist/commonjs/sdk/journeys.d.ts +45 -5
- package/dist/commonjs/sdk/journeys.d.ts.map +1 -1
- package/dist/commonjs/sdk/journeys.js +49 -4
- package/dist/commonjs/sdk/journeys.js.map +1 -1
- package/dist/commonjs/sdk/sandbox.d.ts +41 -0
- package/dist/commonjs/sdk/sandbox.d.ts.map +1 -0
- package/dist/commonjs/sdk/sandbox.js +62 -0
- package/dist/commonjs/sdk/sandbox.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +14 -11
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +17 -13
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/tasks.d.ts +6 -23
- package/dist/commonjs/sdk/tasks.d.ts.map +1 -1
- package/dist/commonjs/sdk/tasks.js +3 -31
- package/dist/commonjs/sdk/tasks.js.map +1 -1
- package/dist/commonjs/types/smart-union.d.ts.map +1 -1
- package/dist/commonjs/types/smart-union.js +14 -10
- package/dist/commonjs/types/smart-union.js.map +1 -1
- package/dist/esm/funcs/addresses-retrieve.d.ts +19 -0
- package/dist/esm/funcs/addresses-retrieve.d.ts.map +1 -0
- package/dist/esm/funcs/{tasks-update.js → addresses-retrieve.js} +20 -9
- package/dist/esm/funcs/addresses-retrieve.js.map +1 -0
- package/dist/{commonjs/funcs/tasks-list-schema.d.ts → esm/funcs/addresses-search.d.ts} +6 -6
- package/dist/esm/funcs/addresses-search.d.ts.map +1 -0
- package/dist/esm/funcs/{tasks-list.js → addresses-search.js} +20 -9
- package/dist/esm/funcs/addresses-search.js.map +1 -0
- package/dist/esm/funcs/devices-add.d.ts +5 -3
- package/dist/esm/funcs/devices-add.d.ts.map +1 -1
- package/dist/esm/funcs/devices-add.js +9 -4
- package/dist/esm/funcs/devices-add.js.map +1 -1
- package/dist/esm/funcs/devices-connect.d.ts +5 -3
- package/dist/esm/funcs/devices-connect.d.ts.map +1 -1
- package/dist/esm/funcs/devices-connect.js +11 -8
- package/dist/esm/funcs/devices-connect.js.map +1 -1
- package/dist/{commonjs/funcs/tasks-update.d.ts → esm/funcs/devices-refresh.d.ts} +6 -5
- package/dist/esm/funcs/devices-refresh.d.ts.map +1 -0
- package/dist/esm/funcs/{health-get.js → devices-refresh.js} +15 -16
- package/dist/esm/funcs/devices-refresh.js.map +1 -0
- package/dist/{commonjs/funcs/tasks-list.d.ts → esm/funcs/devices-validate.d.ts} +6 -4
- package/dist/esm/funcs/devices-validate.d.ts.map +1 -0
- package/dist/esm/funcs/devices-validate.js +77 -0
- package/dist/esm/funcs/devices-validate.js.map +1 -0
- package/dist/esm/funcs/instances-delete.d.ts +5 -3
- package/dist/esm/funcs/instances-delete.d.ts.map +1 -1
- package/dist/esm/funcs/instances-delete.js +9 -4
- package/dist/esm/funcs/instances-delete.js.map +1 -1
- package/dist/esm/funcs/instances-handoff-token.d.ts +19 -0
- package/dist/esm/funcs/instances-handoff-token.d.ts.map +1 -0
- package/dist/esm/funcs/instances-handoff-token.js +94 -0
- package/dist/esm/funcs/instances-handoff-token.js.map +1 -0
- package/dist/esm/funcs/interactions-fetch.d.ts +4 -3
- package/dist/esm/funcs/interactions-fetch.d.ts.map +1 -1
- package/dist/esm/funcs/interactions-fetch.js +20 -8
- package/dist/esm/funcs/interactions-fetch.js.map +1 -1
- package/dist/esm/funcs/interactions-submit.d.ts +5 -3
- package/dist/esm/funcs/interactions-submit.d.ts.map +1 -1
- package/dist/esm/funcs/interactions-submit.js +15 -4
- package/dist/esm/funcs/interactions-submit.js.map +1 -1
- package/dist/esm/funcs/interactions-upload-asset.d.ts +18 -0
- package/dist/esm/funcs/interactions-upload-asset.d.ts.map +1 -0
- package/dist/esm/funcs/interactions-upload-asset.js +83 -0
- package/dist/esm/funcs/interactions-upload-asset.js.map +1 -0
- package/dist/esm/funcs/journeys-get-schemas.d.ts +46 -0
- package/dist/esm/funcs/journeys-get-schemas.d.ts.map +1 -0
- package/dist/esm/funcs/journeys-get-schemas.js +114 -0
- package/dist/esm/funcs/journeys-get-schemas.js.map +1 -0
- package/dist/esm/funcs/journeys-get-state.d.ts +4 -3
- package/dist/esm/funcs/journeys-get-state.d.ts.map +1 -1
- package/dist/esm/funcs/journeys-get-state.js +14 -8
- package/dist/esm/funcs/journeys-get-state.js.map +1 -1
- package/dist/esm/funcs/journeys-start.d.ts +5 -3
- package/dist/esm/funcs/journeys-start.d.ts.map +1 -1
- package/dist/esm/funcs/journeys-start.js +9 -4
- package/dist/esm/funcs/journeys-start.js.map +1 -1
- package/dist/esm/funcs/journeys-terminate.d.ts +21 -0
- package/dist/esm/funcs/journeys-terminate.d.ts.map +1 -0
- package/dist/esm/funcs/{tasks-list-schema.js → journeys-terminate.js} +13 -8
- package/dist/esm/funcs/journeys-terminate.js.map +1 -0
- package/dist/esm/funcs/sandbox-create-scenario.d.ts +21 -0
- package/dist/esm/funcs/sandbox-create-scenario.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-create-scenario.js +93 -0
- package/dist/esm/funcs/sandbox-create-scenario.js.map +1 -0
- package/dist/esm/funcs/sandbox-delete-scenario.d.ts +20 -0
- package/dist/esm/funcs/sandbox-delete-scenario.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-delete-scenario.js +95 -0
- package/dist/esm/funcs/sandbox-delete-scenario.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-scenario.d.ts +21 -0
- package/dist/esm/funcs/sandbox-get-scenario.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-scenario.js +100 -0
- package/dist/esm/funcs/sandbox-get-scenario.js.map +1 -0
- package/dist/esm/funcs/sandbox-list-scenarios.d.ts +21 -0
- package/dist/esm/funcs/sandbox-list-scenarios.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-list-scenarios.js +96 -0
- package/dist/esm/funcs/sandbox-list-scenarios.js.map +1 -0
- package/dist/esm/funcs/sandbox-put-scenario.d.ts +21 -0
- package/dist/esm/funcs/sandbox-put-scenario.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-put-scenario.js +97 -0
- package/dist/esm/funcs/sandbox-put-scenario.js.map +1 -0
- package/dist/esm/funcs/tasks-get-schema.d.ts +8 -3
- package/dist/esm/funcs/tasks-get-schema.d.ts.map +1 -1
- package/dist/esm/funcs/tasks-get-schema.js +10 -4
- package/dist/esm/funcs/tasks-get-schema.js.map +1 -1
- package/dist/esm/funcs/tokens-generate.js +1 -1
- package/dist/esm/funcs/tokens-generate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +5 -5
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +16 -7
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/create-sandbox-scenario-request.d.ts +29 -0
- package/dist/esm/models/create-sandbox-scenario-request.d.ts.map +1 -0
- package/dist/esm/models/create-sandbox-scenario-request.js +18 -0
- package/dist/esm/models/create-sandbox-scenario-request.js.map +1 -0
- package/dist/esm/models/delete-response.d.ts +19 -0
- package/dist/esm/models/delete-response.d.ts.map +1 -0
- package/dist/esm/models/delete-response.js +21 -0
- package/dist/esm/models/delete-response.js.map +1 -0
- package/dist/esm/models/device-connect-response.d.ts +23 -0
- package/dist/esm/models/device-connect-response.d.ts.map +1 -0
- package/dist/esm/models/device-connect-response.js +25 -0
- package/dist/esm/models/device-connect-response.js.map +1 -0
- package/dist/esm/models/device-refresh-response.d.ts +16 -0
- package/dist/esm/models/device-refresh-response.d.ts.map +1 -0
- package/dist/esm/models/device-refresh-response.js +20 -0
- package/dist/esm/models/device-refresh-response.js.map +1 -0
- package/dist/esm/models/device-start-response.d.ts +20 -0
- package/dist/esm/models/device-start-response.d.ts.map +1 -0
- package/dist/esm/models/device-start-response.js +22 -0
- package/dist/esm/models/device-start-response.js.map +1 -0
- package/dist/esm/models/device-validate-response.d.ts +14 -0
- package/dist/esm/models/device-validate-response.d.ts.map +1 -0
- package/dist/esm/models/device-validate-response.js +18 -0
- package/dist/esm/models/device-validate-response.js.map +1 -0
- package/dist/esm/models/errors/error-response.d.ts +19 -0
- package/dist/esm/models/errors/error-response.d.ts.map +1 -0
- package/dist/esm/models/errors/error-response.js +31 -0
- package/dist/esm/models/errors/error-response.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +1 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/gbg-error.d.ts +28 -0
- package/dist/esm/models/gbg-error.d.ts.map +1 -0
- package/dist/esm/models/gbg-error.js +32 -0
- package/dist/esm/models/gbg-error.js.map +1 -0
- package/dist/esm/models/handoff-token-response.d.ts +20 -0
- package/dist/esm/models/handoff-token-response.d.ts.map +1 -0
- package/dist/esm/models/handoff-token-response.js +23 -0
- package/dist/esm/models/handoff-token-response.js.map +1 -0
- package/dist/esm/models/index.d.ts +30 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +30 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/interaction-fetch-response.d.ts +53 -0
- package/dist/esm/models/interaction-fetch-response.d.ts.map +1 -0
- package/dist/esm/models/interaction-fetch-response.js +52 -0
- package/dist/esm/models/interaction-fetch-response.js.map +1 -0
- package/dist/esm/models/interaction-submit-response.d.ts +17 -0
- package/dist/esm/models/interaction-submit-response.d.ts.map +1 -0
- package/dist/esm/models/interaction-submit-response.js +18 -0
- package/dist/esm/models/interaction-submit-response.js.map +1 -0
- package/dist/esm/models/journey-start-response.d.ts +27 -0
- package/dist/esm/models/journey-start-response.d.ts.map +1 -0
- package/dist/esm/models/journey-start-response.js +30 -0
- package/dist/esm/models/journey-start-response.js.map +1 -0
- package/dist/esm/models/loqate-retrieve-response.d.ts +12 -0
- package/dist/esm/models/loqate-retrieve-response.d.ts.map +1 -0
- package/dist/esm/models/loqate-retrieve-response.js +18 -0
- package/dist/esm/models/loqate-retrieve-response.js.map +1 -0
- package/dist/esm/models/loqate-search-response.d.ts +12 -0
- package/dist/esm/models/loqate-search-response.d.ts.map +1 -0
- package/dist/esm/models/loqate-search-response.js +18 -0
- package/dist/esm/models/loqate-search-response.js.map +1 -0
- package/dist/esm/models/operations/add-device.d.ts +8 -92
- package/dist/esm/models/operations/add-device.d.ts.map +1 -1
- package/dist/esm/models/operations/add-device.js +5 -72
- package/dist/esm/models/operations/add-device.js.map +1 -1
- package/dist/esm/models/operations/create-handoff-token.d.ts +22 -0
- package/dist/esm/models/operations/create-handoff-token.d.ts.map +1 -0
- package/dist/esm/models/operations/create-handoff-token.js +24 -0
- package/dist/esm/models/operations/create-handoff-token.js.map +1 -0
- package/dist/esm/models/operations/create-sandbox-scenario.d.ts +18 -0
- package/dist/esm/models/operations/create-sandbox-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/create-sandbox-scenario.js +14 -0
- package/dist/esm/models/operations/create-sandbox-scenario.js.map +1 -0
- package/dist/esm/models/operations/delete-instance.d.ts +1 -14
- package/dist/esm/models/operations/delete-instance.d.ts.map +1 -1
- package/dist/esm/models/operations/delete-instance.js +2 -11
- package/dist/esm/models/operations/delete-instance.js.map +1 -1
- package/dist/esm/models/operations/delete-sandbox-scenario.d.ts +20 -0
- package/dist/esm/models/operations/delete-sandbox-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/delete-sandbox-scenario.js +13 -0
- package/dist/esm/models/operations/delete-sandbox-scenario.js.map +1 -0
- package/dist/esm/models/operations/device-connect.d.ts +0 -59
- package/dist/esm/models/operations/device-connect.d.ts.map +1 -1
- package/dist/esm/models/operations/device-connect.js +0 -46
- package/dist/esm/models/operations/device-connect.js.map +1 -1
- package/dist/esm/models/operations/device-validate.d.ts +12 -0
- package/dist/esm/models/operations/device-validate.d.ts.map +1 -0
- package/dist/esm/models/operations/device-validate.js +17 -0
- package/dist/esm/models/operations/device-validate.js.map +1 -0
- package/dist/esm/models/operations/fetch-interaction.d.ts +34 -1621
- package/dist/esm/models/operations/fetch-interaction.d.ts.map +1 -1
- package/dist/esm/models/operations/fetch-interaction.js +20 -1245
- package/dist/esm/models/operations/fetch-interaction.js.map +1 -1
- package/dist/esm/models/operations/get-journey-schemas.d.ts +16 -0
- package/dist/esm/models/operations/get-journey-schemas.d.ts.map +1 -0
- package/dist/esm/models/operations/get-journey-schemas.js +14 -0
- package/dist/esm/models/operations/get-journey-schemas.js.map +1 -0
- package/dist/esm/models/operations/get-journey-state.d.ts +16 -1383
- package/dist/esm/models/operations/get-journey-state.d.ts.map +1 -1
- package/dist/esm/models/operations/get-journey-state.js +12 -996
- package/dist/esm/models/operations/get-journey-state.js.map +1 -1
- package/dist/esm/models/operations/get-sandbox-scenario.d.ts +39 -0
- package/dist/esm/models/operations/get-sandbox-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/get-sandbox-scenario.js +23 -0
- package/dist/esm/models/operations/get-sandbox-scenario.js.map +1 -0
- package/dist/esm/models/operations/get-task-schema.d.ts +1 -17
- package/dist/esm/models/operations/get-task-schema.d.ts.map +1 -1
- package/dist/esm/models/operations/get-task-schema.js +0 -17
- package/dist/esm/models/operations/get-task-schema.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +12 -4
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +12 -4
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list-sandbox-scenarios.d.ts +34 -0
- package/dist/esm/models/operations/list-sandbox-scenarios.d.ts.map +1 -0
- package/dist/esm/models/operations/list-sandbox-scenarios.js +22 -0
- package/dist/esm/models/operations/list-sandbox-scenarios.js.map +1 -0
- package/dist/esm/models/operations/post-as-token-oauth2.d.ts +2 -2
- package/dist/esm/models/operations/post-as-token-oauth2.d.ts.map +1 -1
- package/dist/esm/models/operations/post-as-token-oauth2.js +1 -1
- package/dist/esm/models/operations/post-as-token-oauth2.js.map +1 -1
- package/dist/esm/models/operations/put-sandbox-scenario.d.ts +23 -0
- package/dist/esm/models/operations/put-sandbox-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/put-sandbox-scenario.js +15 -0
- package/dist/esm/models/operations/put-sandbox-scenario.js.map +1 -0
- package/dist/esm/models/operations/retrieve-address.d.ts +29 -0
- package/dist/esm/models/operations/retrieve-address.d.ts.map +1 -0
- package/dist/esm/models/operations/retrieve-address.js +27 -0
- package/dist/esm/models/operations/retrieve-address.js.map +1 -0
- package/dist/esm/models/operations/search-addresses.d.ts +33 -0
- package/dist/esm/models/operations/search-addresses.d.ts.map +1 -0
- package/dist/esm/models/operations/search-addresses.js +29 -0
- package/dist/esm/models/operations/search-addresses.js.map +1 -0
- package/dist/esm/models/operations/start-journey.d.ts +1071 -108
- package/dist/esm/models/operations/start-journey.d.ts.map +1 -1
- package/dist/esm/models/operations/start-journey.js +473 -55
- package/dist/esm/models/operations/start-journey.js.map +1 -1
- package/dist/esm/models/operations/submit-interaction.d.ts +989 -92
- package/dist/esm/models/operations/submit-interaction.d.ts.map +1 -1
- package/dist/esm/models/operations/submit-interaction.js +436 -44
- package/dist/esm/models/operations/submit-interaction.js.map +1 -1
- package/dist/esm/models/operations/terminate-journey.d.ts +19 -0
- package/dist/esm/models/operations/terminate-journey.d.ts.map +1 -0
- package/dist/esm/models/operations/terminate-journey.js +13 -0
- package/dist/esm/models/operations/terminate-journey.js.map +1 -0
- package/dist/esm/models/operations/upload-interaction-asset.d.ts +26 -0
- package/dist/esm/models/operations/upload-interaction-asset.d.ts.map +1 -0
- package/dist/esm/models/operations/upload-interaction-asset.js +29 -0
- package/dist/esm/models/operations/upload-interaction-asset.js.map +1 -0
- package/dist/esm/models/sandbox-scenario-summary.d.ts +29 -0
- package/dist/esm/models/sandbox-scenario-summary.d.ts.map +1 -0
- package/dist/esm/models/sandbox-scenario-summary.js +26 -0
- package/dist/esm/models/sandbox-scenario-summary.js.map +1 -0
- package/dist/esm/models/sandbox-scenario-written.d.ts +19 -0
- package/dist/esm/models/sandbox-scenario-written.d.ts.map +1 -0
- package/dist/esm/models/sandbox-scenario-written.js +21 -0
- package/dist/esm/models/sandbox-scenario-written.js.map +1 -0
- package/dist/esm/models/sandbox-scenario.d.ts +31 -0
- package/dist/esm/models/sandbox-scenario.d.ts.map +1 -0
- package/dist/esm/models/sandbox-scenario.js +26 -0
- package/dist/esm/models/sandbox-scenario.js.map +1 -0
- package/dist/esm/models/schema-fetch-response.d.ts +22 -0
- package/dist/esm/models/schema-fetch-response.d.ts.map +1 -0
- package/dist/esm/models/schema-fetch-response.js +25 -0
- package/dist/esm/models/schema-fetch-response.js.map +1 -0
- package/dist/esm/models/slim-document.d.ts +57 -0
- package/dist/esm/models/slim-document.d.ts.map +1 -0
- package/dist/esm/models/slim-document.js +54 -0
- package/dist/esm/models/slim-document.js.map +1 -0
- package/dist/esm/models/slim-extraction.d.ts +74 -0
- package/dist/esm/models/slim-extraction.d.ts.map +1 -0
- package/dist/esm/models/slim-extraction.js +85 -0
- package/dist/esm/models/slim-extraction.js.map +1 -0
- package/dist/esm/models/slim-identity.d.ts +202 -0
- package/dist/esm/models/slim-identity.d.ts.map +1 -0
- package/dist/esm/models/slim-identity.js +101 -0
- package/dist/esm/models/slim-identity.js.map +1 -0
- package/dist/esm/models/slim-interaction-fetch-response.d.ts +58 -0
- package/dist/esm/models/slim-interaction-fetch-response.d.ts.map +1 -0
- package/dist/esm/models/slim-interaction-fetch-response.js +62 -0
- package/dist/esm/models/slim-interaction-fetch-response.js.map +1 -0
- package/dist/esm/models/slim-journey.d.ts +14 -0
- package/dist/esm/models/slim-journey.d.ts.map +1 -0
- package/dist/esm/models/slim-journey.js +19 -0
- package/dist/esm/models/slim-journey.js.map +1 -0
- package/dist/esm/models/slim-result.d.ts +46 -0
- package/dist/esm/models/slim-result.d.ts.map +1 -0
- package/dist/esm/models/slim-result.js +40 -0
- package/dist/esm/models/slim-result.js.map +1 -0
- package/dist/esm/models/slim-state-fetch-response.d.ts +26 -0
- package/dist/esm/models/slim-state-fetch-response.d.ts.map +1 -0
- package/dist/esm/models/slim-state-fetch-response.js +29 -0
- package/dist/esm/models/slim-state-fetch-response.js.map +1 -0
- package/dist/esm/models/slim-step.d.ts +22 -0
- package/dist/esm/models/slim-step.d.ts.map +1 -0
- package/dist/esm/models/slim-step.js +26 -0
- package/dist/esm/models/slim-step.js.map +1 -0
- package/dist/esm/models/slim-validation.d.ts +69 -0
- package/dist/esm/models/slim-validation.d.ts.map +1 -0
- package/dist/esm/models/slim-validation.js +79 -0
- package/dist/esm/models/slim-validation.js.map +1 -0
- package/dist/esm/models/slim-verified-data.d.ts +16 -0
- package/dist/esm/models/slim-verified-data.d.ts.map +1 -0
- package/dist/esm/models/slim-verified-data.js +17 -0
- package/dist/esm/models/slim-verified-data.js.map +1 -0
- package/dist/esm/models/state-fetch-response.d.ts +17 -0
- package/dist/esm/models/state-fetch-response.d.ts.map +1 -0
- package/dist/esm/models/state-fetch-response.js +17 -0
- package/dist/esm/models/state-fetch-response.js.map +1 -0
- package/dist/esm/models/terminate-response.d.ts +10 -0
- package/dist/esm/models/terminate-response.d.ts.map +1 -0
- package/dist/esm/models/terminate-response.js +14 -0
- package/dist/esm/models/terminate-response.js.map +1 -0
- package/dist/esm/models/update-sandbox-scenario-request.d.ts +24 -0
- package/dist/esm/models/update-sandbox-scenario-request.d.ts.map +1 -0
- package/dist/esm/models/update-sandbox-scenario-request.js +17 -0
- package/dist/esm/models/update-sandbox-scenario-request.js.map +1 -0
- package/dist/esm/sdk/addresses.d.ts +20 -0
- package/dist/esm/sdk/addresses.d.ts.map +1 -0
- package/dist/esm/sdk/addresses.js +28 -0
- package/dist/esm/sdk/addresses.js.map +1 -0
- package/dist/esm/sdk/devices.d.ts +21 -6
- package/dist/esm/sdk/devices.d.ts.map +1 -1
- package/dist/esm/sdk/devices.js +26 -6
- package/dist/esm/sdk/devices.js.map +1 -1
- package/dist/esm/sdk/instances.d.ts +11 -3
- package/dist/esm/sdk/instances.d.ts.map +1 -1
- package/dist/esm/sdk/instances.js +12 -2
- package/dist/esm/sdk/instances.js.map +1 -1
- package/dist/esm/sdk/interactions.d.ts +14 -6
- package/dist/esm/sdk/interactions.d.ts.map +1 -1
- package/dist/esm/sdk/interactions.js +16 -6
- package/dist/esm/sdk/interactions.js.map +1 -1
- package/dist/esm/sdk/journeys.d.ts +45 -5
- package/dist/esm/sdk/journeys.d.ts.map +1 -1
- package/dist/esm/sdk/journeys.js +49 -4
- package/dist/esm/sdk/journeys.js.map +1 -1
- package/dist/esm/sdk/sandbox.d.ts +41 -0
- package/dist/esm/sdk/sandbox.d.ts.map +1 -0
- package/dist/esm/sdk/sandbox.js +58 -0
- package/dist/esm/sdk/sandbox.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +14 -11
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +17 -13
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/tasks.d.ts +6 -23
- package/dist/esm/sdk/tasks.d.ts.map +1 -1
- package/dist/esm/sdk/tasks.js +3 -31
- package/dist/esm/sdk/tasks.js.map +1 -1
- package/dist/esm/types/smart-union.d.ts.map +1 -1
- package/dist/esm/types/smart-union.js +14 -10
- package/dist/esm/types/smart-union.js.map +1 -1
- package/examples/{tokensGenerate.example.ts → journeysStart.example.ts} +5 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{tasks-update.ts → addresses-retrieve.ts} +39 -18
- package/src/funcs/addresses-search.ts +196 -0
- package/src/funcs/devices-add.ts +21 -11
- package/src/funcs/devices-connect.ts +25 -21
- package/src/funcs/{health-get.ts → devices-refresh.ts} +26 -22
- package/src/funcs/{tasks-list.ts → devices-validate.ts} +26 -37
- package/src/funcs/instances-delete.ts +21 -10
- package/src/funcs/instances-handoff-token.ts +191 -0
- package/src/funcs/interactions-fetch.ts +30 -10
- package/src/funcs/interactions-submit.ts +28 -10
- package/src/funcs/interactions-upload-asset.ts +173 -0
- package/src/funcs/journeys-get-schemas.ts +207 -0
- package/src/funcs/journeys-get-state.ts +23 -10
- package/src/funcs/journeys-start.ts +21 -11
- package/src/funcs/{tasks-list-schema.ts → journeys-terminate.ts} +26 -15
- package/src/funcs/sandbox-create-scenario.ts +185 -0
- package/src/funcs/sandbox-delete-scenario.ts +187 -0
- package/src/funcs/sandbox-get-scenario.ts +193 -0
- package/src/funcs/sandbox-list-scenarios.ts +189 -0
- package/src/funcs/sandbox-put-scenario.ts +189 -0
- package/src/funcs/tasks-get-schema.ts +22 -10
- package/src/funcs/tokens-generate.ts +1 -1
- package/src/lib/config.ts +16 -7
- package/src/models/create-sandbox-scenario-request.ts +65 -0
- package/src/models/delete-response.ts +46 -0
- package/src/models/device-connect-response.ts +56 -0
- package/src/models/device-refresh-response.ts +43 -0
- package/src/models/device-start-response.ts +50 -0
- package/src/models/device-validate-response.ts +39 -0
- package/src/models/errors/error-response.ts +52 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/gbg-error.ts +55 -0
- package/src/models/handoff-token-response.ts +49 -0
- package/src/models/index.ts +30 -0
- package/src/models/interaction-fetch-response.ts +147 -0
- package/src/models/interaction-submit-response.ts +43 -0
- package/src/models/journey-start-response.ts +64 -0
- package/src/models/loqate-retrieve-response.ts +38 -0
- package/src/models/loqate-search-response.ts +38 -0
- package/src/models/operations/add-device.ts +17 -176
- package/src/models/operations/create-handoff-token.ts +63 -0
- package/src/models/operations/create-sandbox-scenario.ts +39 -0
- package/src/models/operations/delete-instance.ts +7 -38
- package/src/models/operations/delete-sandbox-scenario.ts +41 -0
- package/src/models/operations/device-connect.ts +0 -128
- package/src/models/operations/device-validate.ts +38 -0
- package/src/models/operations/fetch-interaction.ts +95 -3795
- package/src/models/operations/get-journey-schemas.ts +36 -0
- package/src/models/operations/get-journey-state.ts +57 -3183
- package/src/models/operations/get-sandbox-scenario.ts +65 -0
- package/src/models/operations/get-task-schema.ts +1 -44
- package/src/models/operations/index.ts +12 -4
- package/src/models/operations/list-sandbox-scenarios.ts +63 -0
- package/src/models/operations/post-as-token-oauth2.ts +5 -5
- package/src/models/operations/put-sandbox-scenario.ts +43 -0
- package/src/models/operations/retrieve-address.ts +73 -0
- package/src/models/operations/search-addresses.ts +79 -0
- package/src/models/operations/start-journey.ts +2624 -1052
- package/src/models/operations/submit-interaction.ts +2648 -1114
- package/src/models/operations/terminate-journey.ts +41 -0
- package/src/models/operations/upload-interaction-asset.ts +75 -0
- package/src/models/sandbox-scenario-summary.ts +63 -0
- package/src/models/sandbox-scenario-written.ts +48 -0
- package/src/models/sandbox-scenario.ts +61 -0
- package/src/models/schema-fetch-response.ts +58 -0
- package/src/models/slim-document.ts +135 -0
- package/src/models/slim-extraction.ts +236 -0
- package/src/models/slim-identity.ts +348 -0
- package/src/models/slim-interaction-fetch-response.ts +169 -0
- package/src/models/slim-journey.ts +37 -0
- package/src/models/slim-result.ts +87 -0
- package/src/models/slim-state-fetch-response.ts +59 -0
- package/src/models/slim-step.ts +54 -0
- package/src/models/slim-validation.ts +230 -0
- package/src/models/slim-verified-data.ts +38 -0
- package/src/models/state-fetch-response.ts +37 -0
- package/src/models/terminate-response.ts +31 -0
- package/src/models/update-sandbox-scenario-request.ts +59 -0
- package/src/sdk/addresses.ts +50 -0
- package/src/sdk/devices.ts +46 -11
- package/src/sdk/instances.ts +24 -3
- package/src/sdk/interactions.ts +30 -11
- package/src/sdk/journeys.ts +67 -5
- package/src/sdk/sandbox.ts +100 -0
- package/src/sdk/sdk.ts +25 -19
- package/src/sdk/tasks.ts +4 -60
- package/src/types/smart-union.ts +18 -10
- package/dist/commonjs/funcs/health-get.d.ts.map +0 -1
- package/dist/commonjs/funcs/health-get.js.map +0 -1
- package/dist/commonjs/funcs/tasks-list-schema.d.ts.map +0 -1
- package/dist/commonjs/funcs/tasks-list-schema.js.map +0 -1
- package/dist/commonjs/funcs/tasks-list.d.ts.map +0 -1
- package/dist/commonjs/funcs/tasks-list.js.map +0 -1
- package/dist/commonjs/funcs/tasks-update.d.ts.map +0 -1
- package/dist/commonjs/funcs/tasks-update.js.map +0 -1
- package/dist/commonjs/models/operations/get-tasks-schema.d.ts +0 -71
- package/dist/commonjs/models/operations/get-tasks-schema.d.ts.map +0 -1
- package/dist/commonjs/models/operations/get-tasks-schema.js +0 -108
- package/dist/commonjs/models/operations/get-tasks-schema.js.map +0 -1
- package/dist/commonjs/models/operations/get-tasks.d.ts +0 -62
- package/dist/commonjs/models/operations/get-tasks.d.ts.map +0 -1
- package/dist/commonjs/models/operations/get-tasks.js +0 -91
- package/dist/commonjs/models/operations/get-tasks.js.map +0 -1
- package/dist/commonjs/models/operations/health.d.ts +0 -14
- package/dist/commonjs/models/operations/health.d.ts.map +0 -1
- package/dist/commonjs/models/operations/health.js.map +0 -1
- package/dist/commonjs/models/operations/update-task.d.ts +0 -2105
- package/dist/commonjs/models/operations/update-task.d.ts.map +0 -1
- package/dist/commonjs/models/operations/update-task.js +0 -1115
- package/dist/commonjs/models/operations/update-task.js.map +0 -1
- package/dist/commonjs/sdk/health.d.ts +0 -12
- package/dist/commonjs/sdk/health.d.ts.map +0 -1
- package/dist/commonjs/sdk/health.js +0 -22
- package/dist/commonjs/sdk/health.js.map +0 -1
- package/dist/commonjs/types/discriminated-union.d.ts +0 -25
- package/dist/commonjs/types/discriminated-union.d.ts.map +0 -1
- package/dist/commonjs/types/discriminated-union.js +0 -98
- package/dist/commonjs/types/discriminated-union.js.map +0 -1
- package/dist/esm/funcs/health-get.d.ts.map +0 -1
- package/dist/esm/funcs/health-get.js.map +0 -1
- package/dist/esm/funcs/tasks-list-schema.d.ts.map +0 -1
- package/dist/esm/funcs/tasks-list-schema.js.map +0 -1
- package/dist/esm/funcs/tasks-list.d.ts +0 -17
- package/dist/esm/funcs/tasks-list.d.ts.map +0 -1
- package/dist/esm/funcs/tasks-list.js.map +0 -1
- package/dist/esm/funcs/tasks-update.d.ts +0 -17
- package/dist/esm/funcs/tasks-update.d.ts.map +0 -1
- package/dist/esm/funcs/tasks-update.js.map +0 -1
- package/dist/esm/models/operations/get-tasks-schema.d.ts +0 -71
- package/dist/esm/models/operations/get-tasks-schema.d.ts.map +0 -1
- package/dist/esm/models/operations/get-tasks-schema.js +0 -67
- package/dist/esm/models/operations/get-tasks-schema.js.map +0 -1
- package/dist/esm/models/operations/get-tasks.d.ts +0 -62
- package/dist/esm/models/operations/get-tasks.d.ts.map +0 -1
- package/dist/esm/models/operations/get-tasks.js +0 -51
- package/dist/esm/models/operations/get-tasks.js.map +0 -1
- package/dist/esm/models/operations/health.d.ts +0 -14
- package/dist/esm/models/operations/health.d.ts.map +0 -1
- package/dist/esm/models/operations/health.js +0 -14
- package/dist/esm/models/operations/health.js.map +0 -1
- package/dist/esm/models/operations/update-task.d.ts +0 -2105
- package/dist/esm/models/operations/update-task.d.ts.map +0 -1
- package/dist/esm/models/operations/update-task.js +0 -1007
- package/dist/esm/models/operations/update-task.js.map +0 -1
- package/dist/esm/sdk/health.d.ts +0 -12
- package/dist/esm/sdk/health.d.ts.map +0 -1
- package/dist/esm/sdk/health.js +0 -18
- package/dist/esm/sdk/health.js.map +0 -1
- package/dist/esm/types/discriminated-union.d.ts +0 -25
- package/dist/esm/types/discriminated-union.d.ts.map +0 -1
- package/dist/esm/types/discriminated-union.js +0 -61
- package/dist/esm/types/discriminated-union.js.map +0 -1
- package/src/models/operations/get-tasks-schema.ts +0 -173
- package/src/models/operations/get-tasks.ts +0 -144
- package/src/models/operations/health.ts +0 -38
- package/src/models/operations/update-task.ts +0 -3818
- package/src/sdk/health.ts +0 -25
- package/src/types/discriminated-union.ts +0 -101
|
@@ -4,25 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import * as discriminatedUnionTypes from "../../types/discriminated-union.js";
|
|
9
|
-
import { discriminatedUnion } from "../../types/discriminated-union.js";
|
|
10
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
11
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
-
import * as types from "../../types/primitives.js";
|
|
13
8
|
import { smartUnion } from "../../types/smart-union.js";
|
|
14
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
15
9
|
|
|
16
10
|
export type SubmitInteractionSecurity = {
|
|
17
|
-
|
|
11
|
+
customerAccess?: string | undefined;
|
|
12
|
+
interactionAccess?: string | undefined;
|
|
18
13
|
};
|
|
19
14
|
|
|
20
15
|
export type Participant = {
|
|
21
|
-
/**
|
|
22
|
-
* Optional domain element identifier
|
|
23
|
-
*/
|
|
24
16
|
domainElementId?: string | undefined;
|
|
25
|
-
|
|
17
|
+
instructions?: Array<string> | undefined;
|
|
18
|
+
[additionalProperties: string]: unknown;
|
|
26
19
|
};
|
|
27
20
|
|
|
28
21
|
export type SubmitInteractionIdentityAlias = {
|
|
@@ -46,11 +39,16 @@ export type SubmitInteractionIdentityAlias = {
|
|
|
46
39
|
* Any family names for the individual
|
|
47
40
|
*/
|
|
48
41
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The whole name as stated, unsplit into parts — used when the alias has no meaningful name parts
|
|
44
|
+
*/
|
|
45
|
+
fullName?: string | undefined;
|
|
49
46
|
};
|
|
50
47
|
|
|
51
48
|
export const SubmitInteractionIdentityRelationship = {
|
|
52
49
|
Mother: "mother",
|
|
53
50
|
Father: "father",
|
|
51
|
+
Spouse: "spouse",
|
|
54
52
|
MaternalGrandFather: "maternalGrandFather",
|
|
55
53
|
MaternalGrandMother: "maternalGrandMother",
|
|
56
54
|
PaternalGrandFather: "paternalGrandFather",
|
|
@@ -104,15 +102,15 @@ export type SubmitInteractionIdentityCurrentAddress = {
|
|
|
104
102
|
*/
|
|
105
103
|
addressString?: string | undefined;
|
|
106
104
|
/**
|
|
107
|
-
* The
|
|
105
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
108
106
|
*/
|
|
109
107
|
premise?: string | undefined;
|
|
110
108
|
/**
|
|
111
|
-
* The name of
|
|
109
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
112
110
|
*/
|
|
113
111
|
building?: string | undefined;
|
|
114
112
|
/**
|
|
115
|
-
* The
|
|
113
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
116
114
|
*/
|
|
117
115
|
subBuilding?: string | undefined;
|
|
118
116
|
/**
|
|
@@ -174,15 +172,15 @@ export type SubmitInteractionIdentityPreviousAddress = {
|
|
|
174
172
|
*/
|
|
175
173
|
addressString?: string | undefined;
|
|
176
174
|
/**
|
|
177
|
-
* The
|
|
175
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
178
176
|
*/
|
|
179
177
|
premise?: string | undefined;
|
|
180
178
|
/**
|
|
181
|
-
* The name of
|
|
179
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
182
180
|
*/
|
|
183
181
|
building?: string | undefined;
|
|
184
182
|
/**
|
|
185
|
-
* The
|
|
183
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
186
184
|
*/
|
|
187
185
|
subBuilding?: string | undefined;
|
|
188
186
|
/**
|
|
@@ -225,11 +223,11 @@ export type SubmitInteractionIdentityPreviousAddress = {
|
|
|
225
223
|
/**
|
|
226
224
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
227
225
|
*/
|
|
228
|
-
fromDate
|
|
226
|
+
fromDate?: string | undefined;
|
|
229
227
|
/**
|
|
230
228
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
231
229
|
*/
|
|
232
|
-
toDate
|
|
230
|
+
toDate?: string | undefined;
|
|
233
231
|
};
|
|
234
232
|
|
|
235
233
|
export type SubmitInteractionIdentityPlaceOfBirthLocation = {
|
|
@@ -252,15 +250,15 @@ export type SubmitInteractionIdentityPlaceOfBirth = {
|
|
|
252
250
|
*/
|
|
253
251
|
addressString?: string | undefined;
|
|
254
252
|
/**
|
|
255
|
-
* The
|
|
253
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
256
254
|
*/
|
|
257
255
|
premise?: string | undefined;
|
|
258
256
|
/**
|
|
259
|
-
* The name of
|
|
257
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
260
258
|
*/
|
|
261
259
|
building?: string | undefined;
|
|
262
260
|
/**
|
|
263
|
-
* The
|
|
261
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
264
262
|
*/
|
|
265
263
|
subBuilding?: string | undefined;
|
|
266
264
|
/**
|
|
@@ -330,7 +328,7 @@ export type SubmitInteractionIdentityPhone = {
|
|
|
330
328
|
|
|
331
329
|
export type SubmitInteractionIdentityEmail = {
|
|
332
330
|
/**
|
|
333
|
-
*
|
|
331
|
+
* Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other'. Three map to a domain element by exact match: 'personal' -> PersonalEmail, 'work' -> WorkEmail, 'other' -> OtherEmails (the domainElementId used to collect them). 'home' is the only canonical value with no domain element: a 'home' email is accepted and stored but cannot be retrieved through any v2 read (it matches no getter); use 'personal', 'work' or 'other' to have the email surfaced. Legacy inputs normalize at the API boundary (e.g. 'email' -> 'personal').
|
|
334
332
|
*/
|
|
335
333
|
type: string;
|
|
336
334
|
/**
|
|
@@ -371,6 +369,9 @@ export type SubmitInteractionIdentity = {
|
|
|
371
369
|
* Any family names for the individual
|
|
372
370
|
*/
|
|
373
371
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* Names the subject is otherwise or was previously known by — applicant-declared, unordered, duplicates permitted
|
|
374
|
+
*/
|
|
374
375
|
aliases?: Array<SubmitInteractionIdentityAlias> | undefined;
|
|
375
376
|
relatedPersons?: Array<SubmitInteractionIdentityRelatedPerson> | undefined;
|
|
376
377
|
/**
|
|
@@ -391,307 +392,236 @@ export type SubmitInteractionIdentity = {
|
|
|
391
392
|
* The subject's mother's maiden name, used for identity verification
|
|
392
393
|
*/
|
|
393
394
|
mothersMaidenName?: string | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
397
|
+
*/
|
|
398
|
+
nationality?: string | undefined;
|
|
394
399
|
};
|
|
395
400
|
|
|
396
|
-
export
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
administrativeArea?: string | undefined;
|
|
403
|
-
postalCode?: string | undefined;
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
export type SubmitInteractionDocumentDevice = {
|
|
407
|
-
type?: string | undefined;
|
|
408
|
-
model?: string | undefined;
|
|
409
|
-
hasContactlessReader?: boolean | undefined;
|
|
410
|
-
hasMagneticStripeReader?: boolean | undefined;
|
|
411
|
-
hasCamera?: boolean | undefined;
|
|
412
|
-
serialNumber?: string | undefined;
|
|
413
|
-
manufacturer?: string | undefined;
|
|
414
|
-
};
|
|
401
|
+
export const SubmitInteractionTypePrimary1 = {
|
|
402
|
+
Primary: "primary",
|
|
403
|
+
} as const;
|
|
404
|
+
export type SubmitInteractionTypePrimary1 = ClosedEnum<
|
|
405
|
+
typeof SubmitInteractionTypePrimary1
|
|
406
|
+
>;
|
|
415
407
|
|
|
416
|
-
export const
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
Dg5: "DG5",
|
|
424
|
-
Dg6: "DG6",
|
|
425
|
-
Dg7: "DG7",
|
|
426
|
-
Dg8: "DG8",
|
|
427
|
-
Dg9: "DG9",
|
|
428
|
-
Dg10: "DG10",
|
|
429
|
-
Dg11: "DG11",
|
|
430
|
-
Dg12: "DG12",
|
|
431
|
-
Dg13: "DG13",
|
|
432
|
-
Dg14: "DG14",
|
|
433
|
-
Dg15: "DG15",
|
|
408
|
+
export const SubmitInteractionStatus = {
|
|
409
|
+
Active: "active",
|
|
410
|
+
Suspended: "suspended",
|
|
411
|
+
Dormant: "dormant",
|
|
412
|
+
Dissolved: "dissolved",
|
|
413
|
+
StruckOff: "struckOff",
|
|
414
|
+
Unknown: "unknown",
|
|
434
415
|
} as const;
|
|
435
|
-
export type
|
|
416
|
+
export type SubmitInteractionStatus = ClosedEnum<
|
|
417
|
+
typeof SubmitInteractionStatus
|
|
418
|
+
>;
|
|
436
419
|
|
|
437
|
-
export type
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
420
|
+
export type SubmitInteractionAddressLocation = {
|
|
421
|
+
latitude?: string | undefined;
|
|
422
|
+
longitude?: string | undefined;
|
|
423
|
+
geoAccuracy?: string | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* A What3words designation associated with this location with '.' separator.
|
|
426
|
+
*/
|
|
427
|
+
what3words?: string | undefined;
|
|
441
428
|
};
|
|
442
429
|
|
|
443
|
-
export const
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
ExtendedAccessControl: "ExtendedAccessControl",
|
|
450
|
-
TerminalAuthentication: "TerminalAuthentication",
|
|
430
|
+
export const SubmitInteractionPurpose = {
|
|
431
|
+
Registered: "registered",
|
|
432
|
+
Mailing: "mailing",
|
|
433
|
+
Site: "site",
|
|
434
|
+
Agent: "agent",
|
|
435
|
+
Headquarters: "headquarters",
|
|
451
436
|
} as const;
|
|
452
|
-
export type
|
|
453
|
-
typeof
|
|
437
|
+
export type SubmitInteractionPurpose = ClosedEnum<
|
|
438
|
+
typeof SubmitInteractionPurpose
|
|
454
439
|
>;
|
|
455
440
|
|
|
456
|
-
export
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
441
|
+
export type SubmitInteractionAddressPrimary = {
|
|
442
|
+
/**
|
|
443
|
+
* Unformatted line based address
|
|
444
|
+
*/
|
|
445
|
+
lines?: Array<string> | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* The address as a single line
|
|
448
|
+
*/
|
|
449
|
+
addressString?: string | undefined;
|
|
450
|
+
/**
|
|
451
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
452
|
+
*/
|
|
453
|
+
premise?: string | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
456
|
+
*/
|
|
457
|
+
building?: string | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
460
|
+
*/
|
|
461
|
+
subBuilding?: string | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
464
|
+
*/
|
|
465
|
+
thoroughfare?: string | undefined;
|
|
466
|
+
/**
|
|
467
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
468
|
+
*/
|
|
469
|
+
dependentThoroughfare?: string | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
472
|
+
*/
|
|
473
|
+
locality?: string | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
476
|
+
*/
|
|
477
|
+
dependentLocality?: string | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
480
|
+
*/
|
|
481
|
+
doubleDependentLocality?: string | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
|
|
484
|
+
*/
|
|
485
|
+
postalCode?: string | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
488
|
+
*/
|
|
489
|
+
postBox?: string | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
492
|
+
*/
|
|
493
|
+
country?: string | undefined;
|
|
494
|
+
superAdministrativeArea?: string | undefined;
|
|
495
|
+
administrativeArea?: string | undefined;
|
|
496
|
+
subAdministrativeArea?: string | undefined;
|
|
497
|
+
organization?: string | undefined;
|
|
498
|
+
location?: SubmitInteractionAddressLocation | undefined;
|
|
499
|
+
purpose?: SubmitInteractionPurpose | undefined;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
export const SubmitInteractionTaxIdentifierType = {
|
|
503
|
+
Tin: "TIN",
|
|
504
|
+
Ein: "EIN",
|
|
460
505
|
} as const;
|
|
461
|
-
export type
|
|
462
|
-
typeof
|
|
506
|
+
export type SubmitInteractionTaxIdentifierType = ClosedEnum<
|
|
507
|
+
typeof SubmitInteractionTaxIdentifierType
|
|
463
508
|
>;
|
|
464
509
|
|
|
465
|
-
export type
|
|
466
|
-
type:
|
|
467
|
-
|
|
468
|
-
|
|
510
|
+
export type SubmitInteractionTaxIdentifier = {
|
|
511
|
+
type: SubmitInteractionTaxIdentifierType;
|
|
512
|
+
value: string;
|
|
513
|
+
/**
|
|
514
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
515
|
+
*/
|
|
516
|
+
country?: string | undefined;
|
|
469
517
|
};
|
|
470
518
|
|
|
471
|
-
export
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
519
|
+
export const SubmitInteractionSystem = {
|
|
520
|
+
Naics2017: "naics2017",
|
|
521
|
+
Naics2022: "naics2022",
|
|
522
|
+
Sic: "sic",
|
|
523
|
+
Mcc: "mcc",
|
|
524
|
+
} as const;
|
|
525
|
+
export type SubmitInteractionSystem = ClosedEnum<
|
|
526
|
+
typeof SubmitInteractionSystem
|
|
527
|
+
>;
|
|
476
528
|
|
|
477
|
-
export type
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
documentQualityScore: number;
|
|
529
|
+
export type SubmitInteractionIndustryClassification = {
|
|
530
|
+
system: SubmitInteractionSystem;
|
|
531
|
+
code: string;
|
|
532
|
+
description?: string | undefined;
|
|
482
533
|
};
|
|
483
534
|
|
|
484
|
-
export
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
countryCode?: string | undefined;
|
|
493
|
-
countryName?: string | undefined;
|
|
494
|
-
stateCode?: string | undefined;
|
|
495
|
-
stateName?: string | undefined;
|
|
496
|
-
sides?: Array<SubmitInteractionSide> | undefined;
|
|
497
|
-
};
|
|
535
|
+
export const SubmitInteractionRegistrationType = {
|
|
536
|
+
Domestic: "domestic",
|
|
537
|
+
Foreign: "foreign",
|
|
538
|
+
Unknown: "unknown",
|
|
539
|
+
} as const;
|
|
540
|
+
export type SubmitInteractionRegistrationType = ClosedEnum<
|
|
541
|
+
typeof SubmitInteractionRegistrationType
|
|
542
|
+
>;
|
|
498
543
|
|
|
499
|
-
export type
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
544
|
+
export type SubmitInteractionRegisteredAddressLocation = {
|
|
545
|
+
latitude?: string | undefined;
|
|
546
|
+
longitude?: string | undefined;
|
|
547
|
+
geoAccuracy?: string | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* A What3words designation associated with this location with '.' separator.
|
|
550
|
+
*/
|
|
551
|
+
what3words?: string | undefined;
|
|
504
552
|
};
|
|
505
553
|
|
|
506
|
-
export type
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
554
|
+
export type SubmitInteractionRegisteredAddress = {
|
|
555
|
+
/**
|
|
556
|
+
* Unformatted line based address
|
|
557
|
+
*/
|
|
558
|
+
lines?: Array<string> | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* The address as a single line
|
|
561
|
+
*/
|
|
562
|
+
addressString?: string | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
565
|
+
*/
|
|
566
|
+
premise?: string | undefined;
|
|
567
|
+
/**
|
|
568
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
569
|
+
*/
|
|
570
|
+
building?: string | undefined;
|
|
571
|
+
/**
|
|
572
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
573
|
+
*/
|
|
574
|
+
subBuilding?: string | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
577
|
+
*/
|
|
578
|
+
thoroughfare?: string | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
581
|
+
*/
|
|
582
|
+
dependentThoroughfare?: string | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
585
|
+
*/
|
|
586
|
+
locality?: string | undefined;
|
|
587
|
+
/**
|
|
588
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
589
|
+
*/
|
|
590
|
+
dependentLocality?: string | undefined;
|
|
591
|
+
/**
|
|
592
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
593
|
+
*/
|
|
594
|
+
doubleDependentLocality?: string | undefined;
|
|
595
|
+
/**
|
|
596
|
+
* This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
|
|
597
|
+
*/
|
|
598
|
+
postalCode?: string | undefined;
|
|
599
|
+
/**
|
|
600
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
601
|
+
*/
|
|
602
|
+
postBox?: string | undefined;
|
|
603
|
+
/**
|
|
604
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
605
|
+
*/
|
|
606
|
+
country?: string | undefined;
|
|
607
|
+
superAdministrativeArea?: string | undefined;
|
|
608
|
+
administrativeArea?: string | undefined;
|
|
609
|
+
subAdministrativeArea?: string | undefined;
|
|
610
|
+
organization?: string | undefined;
|
|
611
|
+
location?: SubmitInteractionRegisteredAddressLocation | undefined;
|
|
511
612
|
};
|
|
512
613
|
|
|
513
|
-
export type
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
614
|
+
export type SubmitInteractionAgentAddressLocation = {
|
|
615
|
+
latitude?: string | undefined;
|
|
616
|
+
longitude?: string | undefined;
|
|
617
|
+
geoAccuracy?: string | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* A What3words designation associated with this location with '.' separator.
|
|
620
|
+
*/
|
|
621
|
+
what3words?: string | undefined;
|
|
521
622
|
};
|
|
522
623
|
|
|
523
|
-
export type
|
|
524
|
-
x: number;
|
|
525
|
-
y: number;
|
|
526
|
-
width: number;
|
|
527
|
-
height: number;
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
export type SubmitInteractionDetailRegionOfInterest = {
|
|
531
|
-
boundingBox?: SubmitInteractionDetailBoundingBox | undefined;
|
|
532
|
-
side: string;
|
|
533
|
-
spectrum?: string | undefined;
|
|
534
|
-
imageId?: string | undefined;
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
export type SubmitInteractionDetail = {
|
|
538
|
-
label: string;
|
|
539
|
-
value: string;
|
|
540
|
-
source: string;
|
|
541
|
-
isNonLatin: boolean;
|
|
542
|
-
regionOfInterest?: SubmitInteractionDetailRegionOfInterest | undefined;
|
|
543
|
-
};
|
|
544
|
-
|
|
545
|
-
export type SubmitInteractionExtractedField = {
|
|
546
|
-
label: string;
|
|
547
|
-
details: Array<SubmitInteractionDetail>;
|
|
548
|
-
};
|
|
549
|
-
|
|
550
|
-
export type SubmitInteractionExtractedImage = {
|
|
551
|
-
label: string;
|
|
552
|
-
side: string;
|
|
553
|
-
imageID: string;
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
export type SubmitInteractionExtraction = {
|
|
557
|
-
aggregatedFields?: Array<SubmitInteractionAggregatedField> | undefined;
|
|
558
|
-
extractedFields?: Array<SubmitInteractionExtractedField> | undefined;
|
|
559
|
-
extractedImages?: Array<SubmitInteractionExtractedImage> | undefined;
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
export type SubmitInteractionValidationCheckBoundingBox = {
|
|
563
|
-
x: number;
|
|
564
|
-
y: number;
|
|
565
|
-
width: number;
|
|
566
|
-
height: number;
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
export type SubmitInteractionValidationCheckRegionOfInterest = {
|
|
570
|
-
boundingBox?: SubmitInteractionValidationCheckBoundingBox | undefined;
|
|
571
|
-
side: string;
|
|
572
|
-
spectrum?: string | undefined;
|
|
573
|
-
imageId?: string | undefined;
|
|
574
|
-
};
|
|
575
|
-
|
|
576
|
-
export type SubmitInteractionValidationCheck = {
|
|
577
|
-
name: string;
|
|
578
|
-
title: string;
|
|
579
|
-
info: string;
|
|
580
|
-
validationResult: string;
|
|
581
|
-
resultInfo: string;
|
|
582
|
-
weight: string;
|
|
583
|
-
regionOfInterests?:
|
|
584
|
-
| Array<SubmitInteractionValidationCheckRegionOfInterest>
|
|
585
|
-
| undefined;
|
|
586
|
-
type: string;
|
|
587
|
-
};
|
|
588
|
-
|
|
589
|
-
export type SubmitInteractionAggregatedValidationCheckBoundingBox = {
|
|
590
|
-
x: number;
|
|
591
|
-
y: number;
|
|
592
|
-
width: number;
|
|
593
|
-
height: number;
|
|
594
|
-
};
|
|
595
|
-
|
|
596
|
-
export type SubmitInteractionAggregatedValidationCheckRegionOfInterest = {
|
|
597
|
-
boundingBox?:
|
|
598
|
-
| SubmitInteractionAggregatedValidationCheckBoundingBox
|
|
599
|
-
| undefined;
|
|
600
|
-
side: string;
|
|
601
|
-
spectrum?: string | undefined;
|
|
602
|
-
imageId?: string | undefined;
|
|
603
|
-
};
|
|
604
|
-
|
|
605
|
-
export type SubmitInteractionAggregatedValidationCheck = {
|
|
606
|
-
name: string;
|
|
607
|
-
title: string;
|
|
608
|
-
info: string;
|
|
609
|
-
validationResult: string;
|
|
610
|
-
resultInfo: string;
|
|
611
|
-
weight: string;
|
|
612
|
-
regionOfInterests?:
|
|
613
|
-
| Array<SubmitInteractionAggregatedValidationCheckRegionOfInterest>
|
|
614
|
-
| undefined;
|
|
615
|
-
type: string;
|
|
616
|
-
};
|
|
617
|
-
|
|
618
|
-
export type SubmitInteractionValidation = {
|
|
619
|
-
validationChecks?: Array<SubmitInteractionValidationCheck> | undefined;
|
|
620
|
-
aggregatedValidationChecks?:
|
|
621
|
-
| Array<SubmitInteractionAggregatedValidationCheck>
|
|
622
|
-
| undefined;
|
|
623
|
-
};
|
|
624
|
-
|
|
625
|
-
export type SubmitInteractionDocumentAlias = {
|
|
626
|
-
/**
|
|
627
|
-
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
628
|
-
*/
|
|
629
|
-
title?: string | undefined;
|
|
630
|
-
/**
|
|
631
|
-
* A person's name used by their collegues and friends to address them
|
|
632
|
-
*/
|
|
633
|
-
firstName?: string | undefined;
|
|
634
|
-
/**
|
|
635
|
-
* Any other registered names used by the individual, not aliases
|
|
636
|
-
*/
|
|
637
|
-
middleNames?: Array<string> | undefined;
|
|
638
|
-
/**
|
|
639
|
-
* Any family names for the individual
|
|
640
|
-
*/
|
|
641
|
-
lastNames?: Array<string> | undefined;
|
|
642
|
-
/**
|
|
643
|
-
* Any family names for the individual
|
|
644
|
-
*/
|
|
645
|
-
lastNamesAtBirth?: Array<string> | undefined;
|
|
646
|
-
};
|
|
647
|
-
|
|
648
|
-
export const SubmitInteractionDocumentRelationship = {
|
|
649
|
-
Mother: "mother",
|
|
650
|
-
Father: "father",
|
|
651
|
-
MaternalGrandFather: "maternalGrandFather",
|
|
652
|
-
MaternalGrandMother: "maternalGrandMother",
|
|
653
|
-
PaternalGrandFather: "paternalGrandFather",
|
|
654
|
-
PaternalGrandMother: "paternalGrandMother",
|
|
655
|
-
} as const;
|
|
656
|
-
export type SubmitInteractionDocumentRelationship = ClosedEnum<
|
|
657
|
-
typeof SubmitInteractionDocumentRelationship
|
|
658
|
-
>;
|
|
659
|
-
|
|
660
|
-
export type SubmitInteractionDocumentRelatedPerson = {
|
|
661
|
-
/**
|
|
662
|
-
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
663
|
-
*/
|
|
664
|
-
title?: string | undefined;
|
|
665
|
-
/**
|
|
666
|
-
* A person's name used by their collegues and friends to address them
|
|
667
|
-
*/
|
|
668
|
-
firstName?: string | undefined;
|
|
669
|
-
/**
|
|
670
|
-
* Any other registered names used by the individual, not aliases
|
|
671
|
-
*/
|
|
672
|
-
middleNames?: Array<string> | undefined;
|
|
673
|
-
/**
|
|
674
|
-
* Any family names for the individual
|
|
675
|
-
*/
|
|
676
|
-
lastNames?: Array<string> | undefined;
|
|
677
|
-
/**
|
|
678
|
-
* Any family names for the individual
|
|
679
|
-
*/
|
|
680
|
-
lastNamesAtBirth?: Array<string> | undefined;
|
|
681
|
-
relationship: SubmitInteractionDocumentRelationship;
|
|
682
|
-
};
|
|
683
|
-
|
|
684
|
-
export type SubmitInteractionDocumentCurrentAddressLocation = {
|
|
685
|
-
latitude?: string | undefined;
|
|
686
|
-
longitude?: string | undefined;
|
|
687
|
-
geoAccuracy?: string | undefined;
|
|
688
|
-
/**
|
|
689
|
-
* A What3words designation associated with this location with '.' separator.
|
|
690
|
-
*/
|
|
691
|
-
what3words?: string | undefined;
|
|
692
|
-
};
|
|
693
|
-
|
|
694
|
-
export type SubmitInteractionDocumentCurrentAddress = {
|
|
624
|
+
export type SubmitInteractionAgentAddress = {
|
|
695
625
|
/**
|
|
696
626
|
* Unformatted line based address
|
|
697
627
|
*/
|
|
@@ -701,15 +631,15 @@ export type SubmitInteractionDocumentCurrentAddress = {
|
|
|
701
631
|
*/
|
|
702
632
|
addressString?: string | undefined;
|
|
703
633
|
/**
|
|
704
|
-
* The
|
|
634
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
705
635
|
*/
|
|
706
636
|
premise?: string | undefined;
|
|
707
637
|
/**
|
|
708
|
-
* The name of
|
|
638
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
709
639
|
*/
|
|
710
640
|
building?: string | undefined;
|
|
711
641
|
/**
|
|
712
|
-
* The
|
|
642
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
713
643
|
*/
|
|
714
644
|
subBuilding?: string | undefined;
|
|
715
645
|
/**
|
|
@@ -748,10 +678,40 @@ export type SubmitInteractionDocumentCurrentAddress = {
|
|
|
748
678
|
administrativeArea?: string | undefined;
|
|
749
679
|
subAdministrativeArea?: string | undefined;
|
|
750
680
|
organization?: string | undefined;
|
|
751
|
-
location?:
|
|
681
|
+
location?: SubmitInteractionAgentAddressLocation | undefined;
|
|
752
682
|
};
|
|
753
683
|
|
|
754
|
-
export type
|
|
684
|
+
export type SubmitInteractionRegistration = {
|
|
685
|
+
jurisdiction?: string | undefined;
|
|
686
|
+
registrationType?: SubmitInteractionRegistrationType | undefined;
|
|
687
|
+
fileNumber?: string | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
690
|
+
*/
|
|
691
|
+
issueDate?: string | undefined;
|
|
692
|
+
registeredAddress?: SubmitInteractionRegisteredAddress | undefined;
|
|
693
|
+
agentName?: string | undefined;
|
|
694
|
+
agentAddress?: SubmitInteractionAgentAddress | undefined;
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
export const SubmitInteractionTypePrimary2 = {
|
|
698
|
+
Primary: "primary",
|
|
699
|
+
} as const;
|
|
700
|
+
export type SubmitInteractionTypePrimary2 = ClosedEnum<
|
|
701
|
+
typeof SubmitInteractionTypePrimary2
|
|
702
|
+
>;
|
|
703
|
+
|
|
704
|
+
export const SubmitInteractionRole = {
|
|
705
|
+
UltimateBeneficialOwner: "ultimateBeneficialOwner",
|
|
706
|
+
Director: "director",
|
|
707
|
+
Officer: "officer",
|
|
708
|
+
Secretary: "secretary",
|
|
709
|
+
Shareholder: "shareholder",
|
|
710
|
+
Partner: "partner",
|
|
711
|
+
} as const;
|
|
712
|
+
export type SubmitInteractionRole = ClosedEnum<typeof SubmitInteractionRole>;
|
|
713
|
+
|
|
714
|
+
export type SubmitInteractionCurrentAddressLocationPrimary = {
|
|
755
715
|
latitude?: string | undefined;
|
|
756
716
|
longitude?: string | undefined;
|
|
757
717
|
geoAccuracy?: string | undefined;
|
|
@@ -761,7 +721,7 @@ export type SubmitInteractionDocumentPreviousAddressLocation = {
|
|
|
761
721
|
what3words?: string | undefined;
|
|
762
722
|
};
|
|
763
723
|
|
|
764
|
-
export type
|
|
724
|
+
export type SubmitInteractionCurrentAddressPrimary = {
|
|
765
725
|
/**
|
|
766
726
|
* Unformatted line based address
|
|
767
727
|
*/
|
|
@@ -771,15 +731,15 @@ export type SubmitInteractionDocumentPreviousAddress = {
|
|
|
771
731
|
*/
|
|
772
732
|
addressString?: string | undefined;
|
|
773
733
|
/**
|
|
774
|
-
* The
|
|
734
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
775
735
|
*/
|
|
776
736
|
premise?: string | undefined;
|
|
777
737
|
/**
|
|
778
|
-
* The name of
|
|
738
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
779
739
|
*/
|
|
780
740
|
building?: string | undefined;
|
|
781
741
|
/**
|
|
782
|
-
* The
|
|
742
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
783
743
|
*/
|
|
784
744
|
subBuilding?: string | undefined;
|
|
785
745
|
/**
|
|
@@ -818,621 +778,1737 @@ export type SubmitInteractionDocumentPreviousAddress = {
|
|
|
818
778
|
administrativeArea?: string | undefined;
|
|
819
779
|
subAdministrativeArea?: string | undefined;
|
|
820
780
|
organization?: string | undefined;
|
|
821
|
-
location?:
|
|
822
|
-
/**
|
|
823
|
-
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
824
|
-
*/
|
|
825
|
-
fromDate: string;
|
|
826
|
-
/**
|
|
827
|
-
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
828
|
-
*/
|
|
829
|
-
toDate: string;
|
|
781
|
+
location?: SubmitInteractionCurrentAddressLocationPrimary | undefined;
|
|
830
782
|
};
|
|
831
783
|
|
|
832
|
-
export type
|
|
833
|
-
latitude?: string | undefined;
|
|
834
|
-
longitude?: string | undefined;
|
|
835
|
-
geoAccuracy?: string | undefined;
|
|
784
|
+
export type SubmitInteractionPerson = {
|
|
836
785
|
/**
|
|
837
|
-
*
|
|
786
|
+
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
838
787
|
*/
|
|
839
|
-
|
|
840
|
-
};
|
|
841
|
-
|
|
842
|
-
export type SubmitInteractionDocumentPlaceOfBirth = {
|
|
788
|
+
title?: string | undefined;
|
|
843
789
|
/**
|
|
844
|
-
*
|
|
790
|
+
* A person's name used by their collegues and friends to address them
|
|
845
791
|
*/
|
|
846
|
-
|
|
792
|
+
firstName?: string | undefined;
|
|
847
793
|
/**
|
|
848
|
-
*
|
|
794
|
+
* Any other registered names used by the individual, not aliases
|
|
849
795
|
*/
|
|
850
|
-
|
|
796
|
+
middleNames?: Array<string> | undefined;
|
|
851
797
|
/**
|
|
852
|
-
*
|
|
798
|
+
* Any family names for the individual
|
|
853
799
|
*/
|
|
854
|
-
|
|
800
|
+
lastNames?: Array<string> | undefined;
|
|
855
801
|
/**
|
|
856
|
-
*
|
|
802
|
+
* Any family names for the individual
|
|
857
803
|
*/
|
|
858
|
-
|
|
804
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
805
|
+
id?: string | undefined;
|
|
806
|
+
type?: SubmitInteractionTypePrimary2 | undefined;
|
|
807
|
+
role?: SubmitInteractionRole | undefined;
|
|
808
|
+
position?: string | undefined;
|
|
809
|
+
ownershipPercentage?: number | undefined;
|
|
859
810
|
/**
|
|
860
|
-
*
|
|
811
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
861
812
|
*/
|
|
862
|
-
|
|
813
|
+
nationality?: string | undefined;
|
|
814
|
+
dateOfBirth?: string | undefined;
|
|
863
815
|
/**
|
|
864
|
-
*
|
|
816
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
865
817
|
*/
|
|
866
|
-
|
|
818
|
+
startDate?: string | undefined;
|
|
867
819
|
/**
|
|
868
|
-
*
|
|
820
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
869
821
|
*/
|
|
870
|
-
|
|
822
|
+
endDate?: string | undefined;
|
|
823
|
+
currentAddress?: SubmitInteractionCurrentAddressPrimary | undefined;
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
export type SubmitInteractionPhonePrimary = {
|
|
871
827
|
/**
|
|
872
|
-
*
|
|
828
|
+
* The type of phone number, such as landline, mobile, fax, unknown etc
|
|
873
829
|
*/
|
|
874
|
-
|
|
830
|
+
type: string;
|
|
875
831
|
/**
|
|
876
|
-
*
|
|
832
|
+
* Phone number, ideally in international format with +(Country Code)
|
|
877
833
|
*/
|
|
878
|
-
|
|
834
|
+
number: string;
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
export type SubmitInteractionEntity = {
|
|
838
|
+
id?: string | undefined;
|
|
839
|
+
type?: SubmitInteractionTypePrimary1 | undefined;
|
|
840
|
+
name?: string | undefined;
|
|
841
|
+
aliases?: Array<string> | undefined;
|
|
842
|
+
businessType?: string | undefined;
|
|
843
|
+
status?: SubmitInteractionStatus | undefined;
|
|
844
|
+
description?: string | undefined;
|
|
845
|
+
addresses?: Array<SubmitInteractionAddressPrimary> | undefined;
|
|
846
|
+
taxIdentifiers?: Array<SubmitInteractionTaxIdentifier> | undefined;
|
|
847
|
+
companyNumber?: string | undefined;
|
|
848
|
+
industryClassifications?:
|
|
849
|
+
| Array<SubmitInteractionIndustryClassification>
|
|
850
|
+
| undefined;
|
|
851
|
+
registrations?: Array<SubmitInteractionRegistration> | undefined;
|
|
852
|
+
corporateStructure?: string | undefined;
|
|
853
|
+
persons?: Array<SubmitInteractionPerson> | undefined;
|
|
879
854
|
/**
|
|
880
|
-
*
|
|
855
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
881
856
|
*/
|
|
882
|
-
|
|
857
|
+
incorporationDate?: string | undefined;
|
|
883
858
|
/**
|
|
884
|
-
*
|
|
859
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
885
860
|
*/
|
|
861
|
+
dissolutionDate?: string | undefined;
|
|
862
|
+
phones?: Array<SubmitInteractionPhonePrimary> | undefined;
|
|
863
|
+
websites?: Array<string> | undefined;
|
|
864
|
+
headcount?: number | undefined;
|
|
865
|
+
isNonProfit?: boolean | undefined;
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
export type SubmitInteractionDocumentAddress = {
|
|
869
|
+
addressString?: string | undefined;
|
|
870
|
+
extractedAddressString?: string | undefined;
|
|
871
|
+
addressLine1?: string | undefined;
|
|
872
|
+
addressLine2?: string | undefined;
|
|
873
|
+
locality?: string | undefined;
|
|
874
|
+
administrativeArea?: string | undefined;
|
|
886
875
|
postalCode?: string | undefined;
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
export type SubmitInteractionDocumentDevice = {
|
|
879
|
+
type?: string | undefined;
|
|
880
|
+
model?: string | undefined;
|
|
881
|
+
hasContactlessReader?: boolean | undefined;
|
|
882
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
883
|
+
hasCamera?: boolean | undefined;
|
|
884
|
+
serialNumber?: string | undefined;
|
|
885
|
+
manufacturer?: string | undefined;
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
export type SubmitInteractionSide1Device = {
|
|
889
|
+
type?: string | undefined;
|
|
890
|
+
model?: string | undefined;
|
|
891
|
+
hasContactlessReader?: boolean | undefined;
|
|
892
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
893
|
+
hasCamera?: boolean | undefined;
|
|
894
|
+
serialNumber?: string | undefined;
|
|
895
|
+
manufacturer?: string | undefined;
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
export type SubmitInteractionSide2Device = {
|
|
899
|
+
type?: string | undefined;
|
|
900
|
+
model?: string | undefined;
|
|
901
|
+
hasContactlessReader?: boolean | undefined;
|
|
902
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
903
|
+
hasCamera?: boolean | undefined;
|
|
904
|
+
serialNumber?: string | undefined;
|
|
905
|
+
manufacturer?: string | undefined;
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
export const SubmitInteractionName = {
|
|
909
|
+
Com: "COM",
|
|
910
|
+
Sod: "SOD",
|
|
911
|
+
Dg1: "DG1",
|
|
912
|
+
Dg2: "DG2",
|
|
913
|
+
Dg3: "DG3",
|
|
914
|
+
Dg4: "DG4",
|
|
915
|
+
Dg5: "DG5",
|
|
916
|
+
Dg6: "DG6",
|
|
917
|
+
Dg7: "DG7",
|
|
918
|
+
Dg8: "DG8",
|
|
919
|
+
Dg9: "DG9",
|
|
920
|
+
Dg10: "DG10",
|
|
921
|
+
Dg11: "DG11",
|
|
922
|
+
Dg12: "DG12",
|
|
923
|
+
Dg13: "DG13",
|
|
924
|
+
Dg14: "DG14",
|
|
925
|
+
Dg15: "DG15",
|
|
926
|
+
} as const;
|
|
927
|
+
export type SubmitInteractionName = ClosedEnum<typeof SubmitInteractionName>;
|
|
928
|
+
|
|
929
|
+
export type SubmitInteractionLd = {
|
|
930
|
+
name: SubmitInteractionName;
|
|
931
|
+
data: string;
|
|
932
|
+
[additionalProperties: string]: unknown;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
export const SubmitInteractionAuthType = {
|
|
936
|
+
ActiveAuthentication: "ActiveAuthentication",
|
|
937
|
+
BasicAccessControl: "BasicAccessControl",
|
|
938
|
+
ChipAuthentication: "ChipAuthentication",
|
|
939
|
+
PassiveAuthentication: "PassiveAuthentication",
|
|
940
|
+
SupplementalAccessControl: "SupplementalAccessControl",
|
|
941
|
+
ExtendedAccessControl: "ExtendedAccessControl",
|
|
942
|
+
TerminalAuthentication: "TerminalAuthentication",
|
|
943
|
+
} as const;
|
|
944
|
+
export type SubmitInteractionAuthType = ClosedEnum<
|
|
945
|
+
typeof SubmitInteractionAuthType
|
|
946
|
+
>;
|
|
947
|
+
|
|
948
|
+
export const SubmitInteractionResult = {
|
|
949
|
+
Success: "Success",
|
|
950
|
+
Failure: "Failure",
|
|
951
|
+
Skipped: "Skipped",
|
|
952
|
+
} as const;
|
|
953
|
+
export type SubmitInteractionResult = ClosedEnum<
|
|
954
|
+
typeof SubmitInteractionResult
|
|
955
|
+
>;
|
|
956
|
+
|
|
957
|
+
export type SubmitInteractionChipAuth = {
|
|
958
|
+
type: SubmitInteractionAuthType;
|
|
959
|
+
result: SubmitInteractionResult;
|
|
960
|
+
[additionalProperties: string]: unknown;
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
export type SubmitInteractionChip = {
|
|
964
|
+
lds: Array<SubmitInteractionLd>;
|
|
965
|
+
auth: Array<SubmitInteractionChipAuth>;
|
|
966
|
+
[additionalProperties: string]: unknown;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
export type SubmitInteractionSide = {
|
|
970
|
+
side: string;
|
|
971
|
+
id: string;
|
|
972
|
+
documentQuality: string;
|
|
973
|
+
documentQualityScore: number;
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
export type SubmitInteractionClassification = {
|
|
977
|
+
ids?: Array<string> | undefined;
|
|
978
|
+
category?: string | undefined;
|
|
979
|
+
type?: string | undefined;
|
|
980
|
+
subtype?: string | undefined;
|
|
981
|
+
isDoubleSided?: boolean | undefined;
|
|
982
|
+
hasNFC?: boolean | undefined;
|
|
983
|
+
year?: string | undefined;
|
|
984
|
+
countryCode?: string | undefined;
|
|
985
|
+
countryName?: string | undefined;
|
|
986
|
+
stateCode?: string | undefined;
|
|
987
|
+
stateName?: string | undefined;
|
|
988
|
+
sides?: Array<SubmitInteractionSide> | undefined;
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
export type SubmitInteractionAggregatedFieldBoundingBox = {
|
|
992
|
+
x: number;
|
|
993
|
+
y: number;
|
|
994
|
+
width: number;
|
|
995
|
+
height: number;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
export type SubmitInteractionAggregatedFieldRegionOfInterest = {
|
|
999
|
+
boundingBox?: SubmitInteractionAggregatedFieldBoundingBox | undefined;
|
|
1000
|
+
side: string;
|
|
1001
|
+
spectrum?: string | undefined;
|
|
1002
|
+
imageId?: string | undefined;
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
export type SubmitInteractionAggregatedField = {
|
|
1006
|
+
label: string;
|
|
1007
|
+
value: string;
|
|
1008
|
+
source: string;
|
|
1009
|
+
isNonLatin: boolean;
|
|
1010
|
+
regionOfInterest?:
|
|
1011
|
+
| SubmitInteractionAggregatedFieldRegionOfInterest
|
|
1012
|
+
| undefined;
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
export type SubmitInteractionDetailBoundingBox = {
|
|
1016
|
+
x: number;
|
|
1017
|
+
y: number;
|
|
1018
|
+
width: number;
|
|
1019
|
+
height: number;
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
export type SubmitInteractionDetailRegionOfInterest = {
|
|
1023
|
+
boundingBox?: SubmitInteractionDetailBoundingBox | undefined;
|
|
1024
|
+
side: string;
|
|
1025
|
+
spectrum?: string | undefined;
|
|
1026
|
+
imageId?: string | undefined;
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
export type SubmitInteractionDetail = {
|
|
1030
|
+
label: string;
|
|
1031
|
+
value: string;
|
|
1032
|
+
source: string;
|
|
1033
|
+
isNonLatin: boolean;
|
|
1034
|
+
regionOfInterest?: SubmitInteractionDetailRegionOfInterest | undefined;
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
export type SubmitInteractionExtractedField = {
|
|
1038
|
+
label: string;
|
|
1039
|
+
details: Array<SubmitInteractionDetail>;
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
export type SubmitInteractionExtractedImage = {
|
|
1043
|
+
label: string;
|
|
1044
|
+
side: string;
|
|
1045
|
+
imageID: string;
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
export type SubmitInteractionExtraction = {
|
|
1049
|
+
aggregatedFields?: Array<SubmitInteractionAggregatedField> | undefined;
|
|
1050
|
+
extractedFields?: Array<SubmitInteractionExtractedField> | undefined;
|
|
1051
|
+
extractedImages?: Array<SubmitInteractionExtractedImage> | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
export type SubmitInteractionValidationCheckBoundingBox = {
|
|
1055
|
+
x: number;
|
|
1056
|
+
y: number;
|
|
1057
|
+
width: number;
|
|
1058
|
+
height: number;
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
export type SubmitInteractionValidationCheckRegionOfInterest = {
|
|
1062
|
+
boundingBox?: SubmitInteractionValidationCheckBoundingBox | undefined;
|
|
1063
|
+
side: string;
|
|
1064
|
+
spectrum?: string | undefined;
|
|
1065
|
+
imageId?: string | undefined;
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
export type SubmitInteractionValidationCheck = {
|
|
1069
|
+
name: string;
|
|
1070
|
+
title: string;
|
|
1071
|
+
info: string;
|
|
1072
|
+
validationResult: string;
|
|
1073
|
+
resultInfo: string;
|
|
1074
|
+
weight: string;
|
|
1075
|
+
regionOfInterests?:
|
|
1076
|
+
| Array<SubmitInteractionValidationCheckRegionOfInterest>
|
|
1077
|
+
| undefined;
|
|
1078
|
+
type: string;
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
export type SubmitInteractionAggregatedValidationCheckBoundingBox = {
|
|
1082
|
+
x: number;
|
|
1083
|
+
y: number;
|
|
1084
|
+
width: number;
|
|
1085
|
+
height: number;
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
export type SubmitInteractionAggregatedValidationCheckRegionOfInterest = {
|
|
1089
|
+
boundingBox?:
|
|
1090
|
+
| SubmitInteractionAggregatedValidationCheckBoundingBox
|
|
1091
|
+
| undefined;
|
|
1092
|
+
side: string;
|
|
1093
|
+
spectrum?: string | undefined;
|
|
1094
|
+
imageId?: string | undefined;
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
export type SubmitInteractionAggregatedValidationCheck = {
|
|
1098
|
+
name: string;
|
|
1099
|
+
title: string;
|
|
1100
|
+
info: string;
|
|
1101
|
+
validationResult: string;
|
|
1102
|
+
resultInfo: string;
|
|
1103
|
+
weight: string;
|
|
1104
|
+
regionOfInterests?:
|
|
1105
|
+
| Array<SubmitInteractionAggregatedValidationCheckRegionOfInterest>
|
|
1106
|
+
| undefined;
|
|
1107
|
+
type: string;
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
export type SubmitInteractionValidation = {
|
|
1111
|
+
validationChecks?: Array<SubmitInteractionValidationCheck> | undefined;
|
|
1112
|
+
aggregatedValidationChecks?:
|
|
1113
|
+
| Array<SubmitInteractionAggregatedValidationCheck>
|
|
1114
|
+
| undefined;
|
|
1115
|
+
};
|
|
1116
|
+
|
|
1117
|
+
export type SubmitInteractionDocumentAlias = {
|
|
1118
|
+
/**
|
|
1119
|
+
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
1120
|
+
*/
|
|
1121
|
+
title?: string | undefined;
|
|
1122
|
+
/**
|
|
1123
|
+
* A person's name used by their collegues and friends to address them
|
|
1124
|
+
*/
|
|
1125
|
+
firstName?: string | undefined;
|
|
1126
|
+
/**
|
|
1127
|
+
* Any other registered names used by the individual, not aliases
|
|
1128
|
+
*/
|
|
1129
|
+
middleNames?: Array<string> | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* Any family names for the individual
|
|
1132
|
+
*/
|
|
1133
|
+
lastNames?: Array<string> | undefined;
|
|
1134
|
+
/**
|
|
1135
|
+
* Any family names for the individual
|
|
1136
|
+
*/
|
|
1137
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
1138
|
+
/**
|
|
1139
|
+
* The whole name as stated, unsplit into parts — used when the alias has no meaningful name parts
|
|
1140
|
+
*/
|
|
1141
|
+
fullName?: string | undefined;
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
export const SubmitInteractionDocumentRelationship = {
|
|
1145
|
+
Mother: "mother",
|
|
1146
|
+
Father: "father",
|
|
1147
|
+
Spouse: "spouse",
|
|
1148
|
+
MaternalGrandFather: "maternalGrandFather",
|
|
1149
|
+
MaternalGrandMother: "maternalGrandMother",
|
|
1150
|
+
PaternalGrandFather: "paternalGrandFather",
|
|
1151
|
+
PaternalGrandMother: "paternalGrandMother",
|
|
1152
|
+
} as const;
|
|
1153
|
+
export type SubmitInteractionDocumentRelationship = ClosedEnum<
|
|
1154
|
+
typeof SubmitInteractionDocumentRelationship
|
|
1155
|
+
>;
|
|
1156
|
+
|
|
1157
|
+
export type SubmitInteractionDocumentRelatedPerson = {
|
|
1158
|
+
/**
|
|
1159
|
+
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
1160
|
+
*/
|
|
1161
|
+
title?: string | undefined;
|
|
1162
|
+
/**
|
|
1163
|
+
* A person's name used by their collegues and friends to address them
|
|
1164
|
+
*/
|
|
1165
|
+
firstName?: string | undefined;
|
|
1166
|
+
/**
|
|
1167
|
+
* Any other registered names used by the individual, not aliases
|
|
1168
|
+
*/
|
|
1169
|
+
middleNames?: Array<string> | undefined;
|
|
1170
|
+
/**
|
|
1171
|
+
* Any family names for the individual
|
|
1172
|
+
*/
|
|
1173
|
+
lastNames?: Array<string> | undefined;
|
|
1174
|
+
/**
|
|
1175
|
+
* Any family names for the individual
|
|
1176
|
+
*/
|
|
1177
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
1178
|
+
relationship: SubmitInteractionDocumentRelationship;
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
export type SubmitInteractionDocumentCurrentAddressLocation = {
|
|
1182
|
+
latitude?: string | undefined;
|
|
1183
|
+
longitude?: string | undefined;
|
|
1184
|
+
geoAccuracy?: string | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* A What3words designation associated with this location with '.' separator.
|
|
1187
|
+
*/
|
|
1188
|
+
what3words?: string | undefined;
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
export type SubmitInteractionDocumentCurrentAddress = {
|
|
1192
|
+
/**
|
|
1193
|
+
* Unformatted line based address
|
|
1194
|
+
*/
|
|
1195
|
+
lines?: Array<string> | undefined;
|
|
1196
|
+
/**
|
|
1197
|
+
* The address as a single line
|
|
1198
|
+
*/
|
|
1199
|
+
addressString?: string | undefined;
|
|
1200
|
+
/**
|
|
1201
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
1202
|
+
*/
|
|
1203
|
+
premise?: string | undefined;
|
|
1204
|
+
/**
|
|
1205
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
1206
|
+
*/
|
|
1207
|
+
building?: string | undefined;
|
|
1208
|
+
/**
|
|
1209
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
1210
|
+
*/
|
|
1211
|
+
subBuilding?: string | undefined;
|
|
1212
|
+
/**
|
|
1213
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
1214
|
+
*/
|
|
1215
|
+
thoroughfare?: string | undefined;
|
|
1216
|
+
/**
|
|
1217
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
1218
|
+
*/
|
|
1219
|
+
dependentThoroughfare?: string | undefined;
|
|
1220
|
+
/**
|
|
1221
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
1222
|
+
*/
|
|
1223
|
+
locality?: string | undefined;
|
|
1224
|
+
/**
|
|
1225
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
1226
|
+
*/
|
|
1227
|
+
dependentLocality?: string | undefined;
|
|
1228
|
+
/**
|
|
1229
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
1230
|
+
*/
|
|
1231
|
+
doubleDependentLocality?: string | undefined;
|
|
1232
|
+
/**
|
|
1233
|
+
* This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
|
|
1234
|
+
*/
|
|
1235
|
+
postalCode?: string | undefined;
|
|
1236
|
+
/**
|
|
1237
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
1238
|
+
*/
|
|
1239
|
+
postBox?: string | undefined;
|
|
1240
|
+
/**
|
|
1241
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1242
|
+
*/
|
|
1243
|
+
country?: string | undefined;
|
|
1244
|
+
superAdministrativeArea?: string | undefined;
|
|
1245
|
+
administrativeArea?: string | undefined;
|
|
1246
|
+
subAdministrativeArea?: string | undefined;
|
|
1247
|
+
organization?: string | undefined;
|
|
1248
|
+
location?: SubmitInteractionDocumentCurrentAddressLocation | undefined;
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
export type SubmitInteractionDocumentPreviousAddressLocation = {
|
|
1252
|
+
latitude?: string | undefined;
|
|
1253
|
+
longitude?: string | undefined;
|
|
1254
|
+
geoAccuracy?: string | undefined;
|
|
1255
|
+
/**
|
|
1256
|
+
* A What3words designation associated with this location with '.' separator.
|
|
1257
|
+
*/
|
|
1258
|
+
what3words?: string | undefined;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
export type SubmitInteractionDocumentPreviousAddress = {
|
|
1262
|
+
/**
|
|
1263
|
+
* Unformatted line based address
|
|
1264
|
+
*/
|
|
1265
|
+
lines?: Array<string> | undefined;
|
|
1266
|
+
/**
|
|
1267
|
+
* The address as a single line
|
|
1268
|
+
*/
|
|
1269
|
+
addressString?: string | undefined;
|
|
1270
|
+
/**
|
|
1271
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
1272
|
+
*/
|
|
1273
|
+
premise?: string | undefined;
|
|
1274
|
+
/**
|
|
1275
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
1276
|
+
*/
|
|
1277
|
+
building?: string | undefined;
|
|
1278
|
+
/**
|
|
1279
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
1280
|
+
*/
|
|
1281
|
+
subBuilding?: string | undefined;
|
|
1282
|
+
/**
|
|
1283
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
1284
|
+
*/
|
|
1285
|
+
thoroughfare?: string | undefined;
|
|
1286
|
+
/**
|
|
1287
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
1288
|
+
*/
|
|
1289
|
+
dependentThoroughfare?: string | undefined;
|
|
1290
|
+
/**
|
|
1291
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
1292
|
+
*/
|
|
1293
|
+
locality?: string | undefined;
|
|
1294
|
+
/**
|
|
1295
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
1296
|
+
*/
|
|
1297
|
+
dependentLocality?: string | undefined;
|
|
1298
|
+
/**
|
|
1299
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
1300
|
+
*/
|
|
1301
|
+
doubleDependentLocality?: string | undefined;
|
|
1302
|
+
/**
|
|
1303
|
+
* This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
|
|
1304
|
+
*/
|
|
1305
|
+
postalCode?: string | undefined;
|
|
1306
|
+
/**
|
|
1307
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
1308
|
+
*/
|
|
1309
|
+
postBox?: string | undefined;
|
|
1310
|
+
/**
|
|
1311
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1312
|
+
*/
|
|
1313
|
+
country?: string | undefined;
|
|
1314
|
+
superAdministrativeArea?: string | undefined;
|
|
1315
|
+
administrativeArea?: string | undefined;
|
|
1316
|
+
subAdministrativeArea?: string | undefined;
|
|
1317
|
+
organization?: string | undefined;
|
|
1318
|
+
location?: SubmitInteractionDocumentPreviousAddressLocation | undefined;
|
|
1319
|
+
/**
|
|
1320
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1321
|
+
*/
|
|
1322
|
+
fromDate?: string | undefined;
|
|
1323
|
+
/**
|
|
1324
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1325
|
+
*/
|
|
1326
|
+
toDate?: string | undefined;
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1329
|
+
export type SubmitInteractionDocumentPlaceOfBirthLocation = {
|
|
1330
|
+
latitude?: string | undefined;
|
|
1331
|
+
longitude?: string | undefined;
|
|
1332
|
+
geoAccuracy?: string | undefined;
|
|
1333
|
+
/**
|
|
1334
|
+
* A What3words designation associated with this location with '.' separator.
|
|
1335
|
+
*/
|
|
1336
|
+
what3words?: string | undefined;
|
|
1337
|
+
};
|
|
1338
|
+
|
|
1339
|
+
export type SubmitInteractionDocumentPlaceOfBirth = {
|
|
1340
|
+
/**
|
|
1341
|
+
* Unformatted line based address
|
|
1342
|
+
*/
|
|
1343
|
+
lines?: Array<string> | undefined;
|
|
1344
|
+
/**
|
|
1345
|
+
* The address as a single line
|
|
1346
|
+
*/
|
|
1347
|
+
addressString?: string | undefined;
|
|
1348
|
+
/**
|
|
1349
|
+
* The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
|
|
1350
|
+
*/
|
|
1351
|
+
premise?: string | undefined;
|
|
1352
|
+
/**
|
|
1353
|
+
* The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
|
|
1354
|
+
*/
|
|
1355
|
+
building?: string | undefined;
|
|
1356
|
+
/**
|
|
1357
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
1358
|
+
*/
|
|
1359
|
+
subBuilding?: string | undefined;
|
|
1360
|
+
/**
|
|
1361
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
1362
|
+
*/
|
|
1363
|
+
thoroughfare?: string | undefined;
|
|
1364
|
+
/**
|
|
1365
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
1366
|
+
*/
|
|
1367
|
+
dependentThoroughfare?: string | undefined;
|
|
1368
|
+
/**
|
|
1369
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
1370
|
+
*/
|
|
1371
|
+
locality?: string | undefined;
|
|
1372
|
+
/**
|
|
1373
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
1374
|
+
*/
|
|
1375
|
+
dependentLocality?: string | undefined;
|
|
1376
|
+
/**
|
|
1377
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
1378
|
+
*/
|
|
1379
|
+
doubleDependentLocality?: string | undefined;
|
|
1380
|
+
/**
|
|
1381
|
+
* This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
|
|
1382
|
+
*/
|
|
1383
|
+
postalCode?: string | undefined;
|
|
1384
|
+
/**
|
|
1385
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
1386
|
+
*/
|
|
1387
|
+
postBox?: string | undefined;
|
|
1388
|
+
/**
|
|
1389
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1390
|
+
*/
|
|
1391
|
+
country?: string | undefined;
|
|
1392
|
+
superAdministrativeArea?: string | undefined;
|
|
1393
|
+
administrativeArea?: string | undefined;
|
|
1394
|
+
subAdministrativeArea?: string | undefined;
|
|
1395
|
+
organization?: string | undefined;
|
|
1396
|
+
location?: SubmitInteractionDocumentPlaceOfBirthLocation | undefined;
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1399
|
+
export type SubmitInteractionDocumentIdNumber = {
|
|
1400
|
+
/**
|
|
1401
|
+
* The type of phone number, such as landline, mobile, fax, unknown etc
|
|
1402
|
+
*/
|
|
1403
|
+
type: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* ID number eg, National Insurance Number in UK, Social Securtiy Number in US
|
|
1406
|
+
*/
|
|
1407
|
+
idNumber: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1410
|
+
*/
|
|
1411
|
+
country?: string | undefined;
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
export type SubmitInteractionDocumentPhone = {
|
|
1415
|
+
/**
|
|
1416
|
+
* The type of phone number, such as landline, mobile, fax, unknown etc
|
|
1417
|
+
*/
|
|
1418
|
+
type: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* Phone number, ideally in international format with +(Country Code)
|
|
1421
|
+
*/
|
|
1422
|
+
number: string;
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1425
|
+
export type SubmitInteractionDocumentEmail = {
|
|
1426
|
+
/**
|
|
1427
|
+
* Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other'. Three map to a domain element by exact match: 'personal' -> PersonalEmail, 'work' -> WorkEmail, 'other' -> OtherEmails (the domainElementId used to collect them). 'home' is the only canonical value with no domain element: a 'home' email is accepted and stored but cannot be retrieved through any v2 read (it matches no getter); use 'personal', 'work' or 'other' to have the email surfaced. Legacy inputs normalize at the API boundary (e.g. 'email' -> 'personal').
|
|
1428
|
+
*/
|
|
1429
|
+
type: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* Email address
|
|
1432
|
+
*/
|
|
1433
|
+
email: string;
|
|
1434
|
+
};
|
|
1435
|
+
|
|
1436
|
+
export type SubmitInteractionDocumentSocial = {
|
|
1437
|
+
/**
|
|
1438
|
+
* An agreed standardised name for the social media platform this identity relates to such as Facebook, Twitter, unknown etc
|
|
1439
|
+
*/
|
|
1440
|
+
type: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* the identity used on this platform
|
|
1443
|
+
*/
|
|
1444
|
+
identity: string;
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1447
|
+
export type SubmitInteractionDocumentSubject = {
|
|
1448
|
+
/**
|
|
1449
|
+
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
1450
|
+
*/
|
|
1451
|
+
title?: string | undefined;
|
|
1452
|
+
/**
|
|
1453
|
+
* A person's name used by their collegues and friends to address them
|
|
1454
|
+
*/
|
|
1455
|
+
firstName?: string | undefined;
|
|
1456
|
+
/**
|
|
1457
|
+
* Any other registered names used by the individual, not aliases
|
|
1458
|
+
*/
|
|
1459
|
+
middleNames?: Array<string> | undefined;
|
|
1460
|
+
/**
|
|
1461
|
+
* Any family names for the individual
|
|
1462
|
+
*/
|
|
1463
|
+
lastNames?: Array<string> | undefined;
|
|
1464
|
+
/**
|
|
1465
|
+
* Any family names for the individual
|
|
1466
|
+
*/
|
|
1467
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
1468
|
+
/**
|
|
1469
|
+
* Names the subject is otherwise or was previously known by — applicant-declared, unordered, duplicates permitted
|
|
1470
|
+
*/
|
|
1471
|
+
aliases?: Array<SubmitInteractionDocumentAlias> | undefined;
|
|
1472
|
+
relatedPersons?: Array<SubmitInteractionDocumentRelatedPerson> | undefined;
|
|
1473
|
+
/**
|
|
1474
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1475
|
+
*/
|
|
1476
|
+
dateOfBirth?: string | undefined;
|
|
1477
|
+
gender?: string | undefined;
|
|
1478
|
+
currentAddress?: SubmitInteractionDocumentCurrentAddress | undefined;
|
|
1479
|
+
previousAddresses?:
|
|
1480
|
+
| Array<SubmitInteractionDocumentPreviousAddress>
|
|
1481
|
+
| undefined;
|
|
1482
|
+
placeOfBirth?: SubmitInteractionDocumentPlaceOfBirth | undefined;
|
|
1483
|
+
idNumbers?: Array<SubmitInteractionDocumentIdNumber> | undefined;
|
|
1484
|
+
phones?: Array<SubmitInteractionDocumentPhone> | undefined;
|
|
1485
|
+
emails?: Array<SubmitInteractionDocumentEmail> | undefined;
|
|
1486
|
+
socials?: Array<SubmitInteractionDocumentSocial> | undefined;
|
|
1487
|
+
/**
|
|
1488
|
+
* The subject's mother's maiden name, used for identity verification
|
|
1489
|
+
*/
|
|
1490
|
+
mothersMaidenName?: string | undefined;
|
|
1491
|
+
/**
|
|
1492
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1493
|
+
*/
|
|
1494
|
+
nationality?: string | undefined;
|
|
1495
|
+
};
|
|
1496
|
+
|
|
1497
|
+
export type SubmitInteractionDocument = {
|
|
1498
|
+
oneDBarcode?: string | undefined;
|
|
1499
|
+
address?: SubmitInteractionDocumentAddress | undefined;
|
|
1500
|
+
applicationDate?: string | undefined;
|
|
1501
|
+
applicationNumber?: string | undefined;
|
|
1502
|
+
dateOfBirth?: string | undefined;
|
|
1503
|
+
placeOfBirth?: string | undefined;
|
|
1504
|
+
placeOfBirthNative?: string | undefined;
|
|
1505
|
+
bloodType?: string | undefined;
|
|
1506
|
+
controlNumber?: string | undefined;
|
|
1507
|
+
countryCode?: string | undefined;
|
|
1508
|
+
countryName?: string | undefined;
|
|
1509
|
+
documentClassCode?: string | undefined;
|
|
1510
|
+
documentClassName?: string | undefined;
|
|
1511
|
+
documentNumber?: string | undefined;
|
|
1512
|
+
documentSignerCertificate?: string | undefined;
|
|
1513
|
+
employer?: string | undefined;
|
|
1514
|
+
employerAddress?: string | undefined;
|
|
1515
|
+
entries?: string | undefined;
|
|
1516
|
+
expirationDate?: string | undefined;
|
|
1517
|
+
eyeColor?: string | undefined;
|
|
1518
|
+
fathersName?: string | undefined;
|
|
1519
|
+
fathersNameNative?: string | undefined;
|
|
1520
|
+
fathersSurname?: string | undefined;
|
|
1521
|
+
firstName?: string | undefined;
|
|
1522
|
+
fullName?: string | undefined;
|
|
1523
|
+
fullNameNative?: string | undefined;
|
|
1524
|
+
givenName?: string | undefined;
|
|
1525
|
+
givenNameNative?: string | undefined;
|
|
1526
|
+
hairColor?: string | undefined;
|
|
1527
|
+
height?: string | undefined;
|
|
1528
|
+
/**
|
|
1529
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1530
|
+
*/
|
|
1531
|
+
issueDate?: string | undefined;
|
|
1532
|
+
issuingAuthority?: string | undefined;
|
|
1533
|
+
issuingAuthorityNative?: string | undefined;
|
|
1534
|
+
issuingStateCode?: string | undefined;
|
|
1535
|
+
issuingStateName?: string | undefined;
|
|
1536
|
+
licenseClass?: string | undefined;
|
|
1537
|
+
licenseEndorsements?: string | undefined;
|
|
1538
|
+
licenseRestrictions?: string | undefined;
|
|
1539
|
+
mrz?: string | undefined;
|
|
1540
|
+
mrz1?: string | undefined;
|
|
1541
|
+
mrz2?: string | undefined;
|
|
1542
|
+
mrz3?: string | undefined;
|
|
1543
|
+
middleName?: string | undefined;
|
|
1544
|
+
mothersName?: string | undefined;
|
|
1545
|
+
mothersNameNative?: string | undefined;
|
|
1546
|
+
mothersSurname?: string | undefined;
|
|
1547
|
+
nameSuffix?: string | undefined;
|
|
1548
|
+
nationalityCode?: string | undefined;
|
|
1549
|
+
nationalityName?: string | undefined;
|
|
1550
|
+
nationalityNameNative?: string | undefined;
|
|
1551
|
+
occupation?: string | undefined;
|
|
1552
|
+
organDonor?: boolean | undefined;
|
|
1553
|
+
passportNumber?: string | undefined;
|
|
1554
|
+
permitNumber?: string | undefined;
|
|
1555
|
+
personalNumber?: string | undefined;
|
|
1556
|
+
photo?: string | undefined;
|
|
1557
|
+
photoCompressed?: string | undefined;
|
|
1558
|
+
photoEncoding?: string | undefined;
|
|
1559
|
+
sex?: string | undefined;
|
|
1560
|
+
sexNative?: string | undefined;
|
|
1561
|
+
signature?: string | undefined;
|
|
1562
|
+
signatureCompressed?: string | undefined;
|
|
1563
|
+
signatureEncoding?: string | undefined;
|
|
1564
|
+
socialSecurityNumber?: string | undefined;
|
|
1565
|
+
startDate?: string | undefined;
|
|
1566
|
+
surname?: string | undefined;
|
|
1567
|
+
surnameNative?: string | undefined;
|
|
1568
|
+
visaClass?: string | undefined;
|
|
1569
|
+
visaNumber?: string | undefined;
|
|
1570
|
+
weight?: string | undefined;
|
|
1571
|
+
cardNumber?: string | undefined;
|
|
887
1572
|
/**
|
|
888
|
-
*
|
|
1573
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
889
1574
|
*/
|
|
890
|
-
|
|
1575
|
+
issuerCountryCode?: string | undefined;
|
|
1576
|
+
id?: string | undefined;
|
|
1577
|
+
type: string;
|
|
1578
|
+
category?: string | undefined;
|
|
1579
|
+
subtype?: string | undefined;
|
|
1580
|
+
format?: string | undefined;
|
|
1581
|
+
device?: SubmitInteractionDocumentDevice | undefined;
|
|
1582
|
+
side1Image?: string | undefined;
|
|
1583
|
+
side2Image?: string | undefined;
|
|
1584
|
+
side1Device?: SubmitInteractionSide1Device | undefined;
|
|
1585
|
+
side2Device?: SubmitInteractionSide2Device | undefined;
|
|
1586
|
+
chip?: SubmitInteractionChip | undefined;
|
|
1587
|
+
classification?: SubmitInteractionClassification | undefined;
|
|
1588
|
+
extraction?: SubmitInteractionExtraction | undefined;
|
|
1589
|
+
validation?: SubmitInteractionValidation | undefined;
|
|
1590
|
+
subType?: string | undefined;
|
|
1591
|
+
number?: string | undefined;
|
|
1592
|
+
/**
|
|
1593
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1594
|
+
*/
|
|
1595
|
+
expiryDate?: string | undefined;
|
|
1596
|
+
cardType?: string | undefined;
|
|
1597
|
+
/**
|
|
1598
|
+
* Year and month in ISO 8601 format: YYYY-MM
|
|
1599
|
+
*/
|
|
1600
|
+
expiryMonth?: string | undefined;
|
|
1601
|
+
cardColour?: string | undefined;
|
|
1602
|
+
cardStatus?: string | undefined;
|
|
1603
|
+
subject?: SubmitInteractionDocumentSubject | undefined;
|
|
891
1604
|
/**
|
|
892
1605
|
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
893
1606
|
*/
|
|
894
1607
|
country?: string | undefined;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
subAdministrativeArea?: string | undefined;
|
|
898
|
-
organization?: string | undefined;
|
|
899
|
-
location?: SubmitInteractionDocumentPlaceOfBirthLocation | undefined;
|
|
900
|
-
};
|
|
901
|
-
|
|
902
|
-
export type SubmitInteractionDocumentIdNumber = {
|
|
1608
|
+
certificateFormat?: string | undefined;
|
|
1609
|
+
registrationNumber?: string | undefined;
|
|
903
1610
|
/**
|
|
904
|
-
*
|
|
1611
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
905
1612
|
*/
|
|
906
|
-
|
|
1613
|
+
registrationDate?: string | undefined;
|
|
907
1614
|
/**
|
|
908
|
-
*
|
|
1615
|
+
* Four-digit calendar year in ISO 8601 format: YYYY
|
|
909
1616
|
*/
|
|
910
|
-
|
|
1617
|
+
registrationYear?: string | undefined;
|
|
1618
|
+
partyRole?: string | undefined;
|
|
911
1619
|
/**
|
|
912
|
-
*
|
|
1620
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
913
1621
|
*/
|
|
914
|
-
|
|
1622
|
+
dateOfEvent?: string | undefined;
|
|
1623
|
+
previousFirstName?: string | undefined;
|
|
1624
|
+
previousMiddleName?: string | undefined;
|
|
1625
|
+
previousSurname?: string | undefined;
|
|
1626
|
+
individualReferenceNumber?: string | undefined;
|
|
1627
|
+
nameLine1?: string | undefined;
|
|
1628
|
+
nameLine2?: string | undefined;
|
|
1629
|
+
nameLine3?: string | undefined;
|
|
1630
|
+
nameLine4?: string | undefined;
|
|
915
1631
|
};
|
|
916
1632
|
|
|
917
|
-
export
|
|
1633
|
+
export const SubmitInteractionBiometricType = {
|
|
1634
|
+
StoredFace: "storedFace",
|
|
1635
|
+
} as const;
|
|
1636
|
+
export type SubmitInteractionBiometricType = ClosedEnum<
|
|
1637
|
+
typeof SubmitInteractionBiometricType
|
|
1638
|
+
>;
|
|
1639
|
+
|
|
1640
|
+
export type SubmitInteractionBiometricStoredFace = {
|
|
1641
|
+
id?: string | undefined;
|
|
1642
|
+
type: SubmitInteractionBiometricType;
|
|
1643
|
+
templateReference: string;
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
export type SubmitInteractionBiometric5 = {
|
|
1647
|
+
id?: string | undefined;
|
|
1648
|
+
type?: string | undefined;
|
|
1649
|
+
anchorImage: string;
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
export type SubmitInteractionBiometric4 = {
|
|
1653
|
+
id?: string | undefined;
|
|
1654
|
+
type?: string | undefined;
|
|
1655
|
+
selfieImage: string;
|
|
1656
|
+
selfieImageEncryption?: boolean | undefined;
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
export type SubmitInteractionBiometric3 = {
|
|
1660
|
+
id?: string | undefined;
|
|
1661
|
+
type?: string | undefined;
|
|
1662
|
+
faceImage: string;
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
export type SubmitInteractionBiometric2 = {
|
|
1666
|
+
id?: string | undefined;
|
|
1667
|
+
type?: string | undefined;
|
|
1668
|
+
selfieImage: string;
|
|
1669
|
+
anchorImage: string;
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
export type SubmitInteractionBiometric1 = {
|
|
1673
|
+
id?: string | undefined;
|
|
1674
|
+
type?: string | undefined;
|
|
1675
|
+
face1Image: string;
|
|
1676
|
+
face2Image: string;
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
export type SubmitInteractionBiometricUnion =
|
|
1680
|
+
| SubmitInteractionBiometric1
|
|
1681
|
+
| SubmitInteractionBiometric2
|
|
1682
|
+
| SubmitInteractionBiometricStoredFace
|
|
1683
|
+
| SubmitInteractionBiometric3
|
|
1684
|
+
| SubmitInteractionBiometric4
|
|
1685
|
+
| SubmitInteractionBiometric5;
|
|
1686
|
+
|
|
1687
|
+
export type SubmitInteractionUser = {
|
|
1688
|
+
id: string;
|
|
1689
|
+
email?: string | undefined;
|
|
1690
|
+
domain?: string | undefined;
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
export type SubmitInteractionClient = {
|
|
1694
|
+
id: string;
|
|
1695
|
+
ip: string;
|
|
1696
|
+
address: string;
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
export type SubmitInteractionModel = {
|
|
1700
|
+
identifier: string;
|
|
1701
|
+
name: string;
|
|
1702
|
+
};
|
|
1703
|
+
|
|
1704
|
+
export type SubmitInteractionSessionDevice = {
|
|
1705
|
+
id: string;
|
|
1706
|
+
manufacturer: string;
|
|
1707
|
+
model: SubmitInteractionModel;
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
export type SubmitInteractionTrace = {
|
|
1711
|
+
id: string;
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
export type SubmitInteractionSpan = {
|
|
1715
|
+
id: string;
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
export type SubmitInteractionTransaction = {
|
|
1719
|
+
id: string;
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
export type SubmitInteractionSessionAuth = {
|
|
1723
|
+
id: string;
|
|
1724
|
+
scope?: string | undefined;
|
|
1725
|
+
codeVerifier?: string | undefined;
|
|
1726
|
+
code?: string | undefined;
|
|
1727
|
+
state?: string | undefined;
|
|
1728
|
+
redirectUri?: string | undefined;
|
|
1729
|
+
responseType?: string | undefined;
|
|
1730
|
+
clientId?: string | undefined;
|
|
1731
|
+
clientSecret?: string | undefined;
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
export type SubmitInteractionSession = {
|
|
1735
|
+
id?: string | undefined;
|
|
1736
|
+
type?: string | undefined;
|
|
1737
|
+
provider?: string | undefined;
|
|
1738
|
+
user?: SubmitInteractionUser | undefined;
|
|
1739
|
+
client?: SubmitInteractionClient | undefined;
|
|
1740
|
+
device?: SubmitInteractionSessionDevice | undefined;
|
|
1741
|
+
trace?: SubmitInteractionTrace | undefined;
|
|
1742
|
+
span?: SubmitInteractionSpan | undefined;
|
|
1743
|
+
transaction?: SubmitInteractionTransaction | undefined;
|
|
1744
|
+
auth?: Array<SubmitInteractionSessionAuth> | undefined;
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
export const SubmitInteractionConsentType = {
|
|
1748
|
+
Rollup: "rollup",
|
|
1749
|
+
Explicit: "explicit",
|
|
1750
|
+
Implicit: "implicit",
|
|
1751
|
+
} as const;
|
|
1752
|
+
export type SubmitInteractionConsentType = ClosedEnum<
|
|
1753
|
+
typeof SubmitInteractionConsentType
|
|
1754
|
+
>;
|
|
1755
|
+
|
|
1756
|
+
export type SubmitInteractionConsent = {
|
|
1757
|
+
type?: SubmitInteractionConsentType | undefined;
|
|
1758
|
+
id?: string | undefined;
|
|
1759
|
+
version?: string | undefined;
|
|
1760
|
+
url: string;
|
|
1761
|
+
effectiveDate?: string | undefined;
|
|
1762
|
+
expiryDate?: string | undefined;
|
|
1763
|
+
terms?: string | undefined;
|
|
1764
|
+
purpose?: string | undefined;
|
|
1765
|
+
legalBasis?: string | undefined;
|
|
1766
|
+
jurisdiction?: string | undefined;
|
|
1767
|
+
subject?: string | undefined;
|
|
1768
|
+
signatory?: string | undefined;
|
|
1769
|
+
};
|
|
1770
|
+
|
|
1771
|
+
export type SubmitInteractionAccount = {
|
|
918
1772
|
/**
|
|
919
|
-
* The type of
|
|
1773
|
+
* The type of account (canonical camelCase, e.g. "bankAccount"). Legacy value "Bank Account" is still read but new writes emit the canonical form.
|
|
920
1774
|
*/
|
|
921
1775
|
type: string;
|
|
922
1776
|
/**
|
|
923
|
-
*
|
|
1777
|
+
* Account number
|
|
924
1778
|
*/
|
|
925
|
-
|
|
1779
|
+
accountNumber: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* UK sort code
|
|
1782
|
+
*/
|
|
1783
|
+
sortCode?: string | undefined;
|
|
1784
|
+
/**
|
|
1785
|
+
* US ABA routing number
|
|
1786
|
+
*/
|
|
1787
|
+
routingNumber?: string | undefined;
|
|
1788
|
+
/**
|
|
1789
|
+
* International Bank Account Number
|
|
1790
|
+
*/
|
|
1791
|
+
iban?: string | undefined;
|
|
1792
|
+
/**
|
|
1793
|
+
* BIC/SWIFT code
|
|
1794
|
+
*/
|
|
1795
|
+
bic?: string | undefined;
|
|
1796
|
+
/**
|
|
1797
|
+
* Name on the account
|
|
1798
|
+
*/
|
|
1799
|
+
accountHolderName?: string | undefined;
|
|
1800
|
+
/**
|
|
1801
|
+
* Name of the financial institution
|
|
1802
|
+
*/
|
|
1803
|
+
bankName?: string | undefined;
|
|
1804
|
+
/**
|
|
1805
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1806
|
+
*/
|
|
1807
|
+
country?: string | undefined;
|
|
1808
|
+
/**
|
|
1809
|
+
* Account classification, e.g. current, savings
|
|
1810
|
+
*/
|
|
1811
|
+
accountType?: string | undefined;
|
|
1812
|
+
};
|
|
1813
|
+
|
|
1814
|
+
export type SubmitInteractionChoice = {
|
|
1815
|
+
label: string;
|
|
1816
|
+
text: string;
|
|
1817
|
+
};
|
|
1818
|
+
|
|
1819
|
+
export type SubmitInteractionQuestion = {
|
|
1820
|
+
id: number;
|
|
1821
|
+
questionText: string;
|
|
1822
|
+
helpText?: string | undefined;
|
|
1823
|
+
choices: Array<SubmitInteractionChoice>;
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1826
|
+
export type SubmitInteractionAnswer = {
|
|
1827
|
+
id: number;
|
|
1828
|
+
choices: Array<string>;
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
export type SubmitInteractionKba = {
|
|
1832
|
+
questions: Array<SubmitInteractionQuestion>;
|
|
1833
|
+
answers: Array<SubmitInteractionAnswer>;
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
export type SubmitInteractionSubject = {
|
|
1837
|
+
identity?: SubmitInteractionIdentity | undefined;
|
|
1838
|
+
entities?: Array<SubmitInteractionEntity> | undefined;
|
|
1839
|
+
documents?: Array<SubmitInteractionDocument> | undefined;
|
|
1840
|
+
biometrics?:
|
|
1841
|
+
| Array<
|
|
1842
|
+
| SubmitInteractionBiometric1
|
|
1843
|
+
| SubmitInteractionBiometric2
|
|
1844
|
+
| SubmitInteractionBiometricStoredFace
|
|
1845
|
+
| SubmitInteractionBiometric3
|
|
1846
|
+
| SubmitInteractionBiometric4
|
|
1847
|
+
| SubmitInteractionBiometric5
|
|
1848
|
+
>
|
|
1849
|
+
| undefined;
|
|
1850
|
+
sessions?: Array<SubmitInteractionSession> | undefined;
|
|
1851
|
+
consent?: Array<SubmitInteractionConsent> | undefined;
|
|
1852
|
+
accounts?: Array<SubmitInteractionAccount> | undefined;
|
|
1853
|
+
kba?: SubmitInteractionKba | undefined;
|
|
1854
|
+
uid?: string | undefined;
|
|
926
1855
|
};
|
|
927
1856
|
|
|
928
|
-
|
|
1857
|
+
/**
|
|
1858
|
+
* Reviewer-supplied manual-review input: a required decision ordinal plus optional notes. Identity fields are Captain-populated and rejected here.
|
|
1859
|
+
*/
|
|
1860
|
+
export type ManualReview = {
|
|
929
1861
|
/**
|
|
930
|
-
*
|
|
1862
|
+
* Ordinal decision outcome (0-9) submitted by the reviewer
|
|
931
1863
|
*/
|
|
932
|
-
|
|
1864
|
+
decision: number;
|
|
933
1865
|
/**
|
|
934
|
-
*
|
|
1866
|
+
* Free-text justification or notes provided by the reviewer
|
|
935
1867
|
*/
|
|
936
|
-
|
|
1868
|
+
notes?: string | undefined;
|
|
937
1869
|
};
|
|
938
1870
|
|
|
939
|
-
|
|
1871
|
+
/**
|
|
1872
|
+
* Caller-facing reviewer entry for a submit request.
|
|
1873
|
+
*/
|
|
1874
|
+
export type Reviewer = {
|
|
940
1875
|
/**
|
|
941
|
-
*
|
|
1876
|
+
* Reviewer-supplied manual-review input: a required decision ordinal plus optional notes. Identity fields are Captain-populated and rejected here.
|
|
942
1877
|
*/
|
|
943
|
-
|
|
1878
|
+
manualReview?: ManualReview | undefined;
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
export type SubmitInteractionContext = {
|
|
1882
|
+
subject: SubmitInteractionSubject;
|
|
944
1883
|
/**
|
|
945
|
-
*
|
|
1884
|
+
* Reviewer decisions for this submit. Single reviewer at v1 (max 1).
|
|
946
1885
|
*/
|
|
947
|
-
|
|
1886
|
+
reviewers?: Array<Reviewer> | undefined;
|
|
948
1887
|
};
|
|
949
1888
|
|
|
950
|
-
export type
|
|
1889
|
+
export type SubmitInteractionRequest = {
|
|
951
1890
|
/**
|
|
952
|
-
*
|
|
1891
|
+
* Journey Instance Id, a unique identifier for a started journey instance.
|
|
953
1892
|
*/
|
|
1893
|
+
instanceId: string;
|
|
1894
|
+
interactionId: string;
|
|
1895
|
+
participants?: Array<Participant> | undefined;
|
|
1896
|
+
context?: SubmitInteractionContext | undefined;
|
|
1897
|
+
[additionalProperties: string]: unknown;
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
/** @internal */
|
|
1901
|
+
export type SubmitInteractionSecurity$Outbound = {
|
|
1902
|
+
CustomerAccess?: string | undefined;
|
|
1903
|
+
InteractionAccess?: string | undefined;
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
/** @internal */
|
|
1907
|
+
export const SubmitInteractionSecurity$outboundSchema: z.ZodMiniType<
|
|
1908
|
+
SubmitInteractionSecurity$Outbound,
|
|
1909
|
+
SubmitInteractionSecurity
|
|
1910
|
+
> = z.pipe(
|
|
1911
|
+
z.object({
|
|
1912
|
+
customerAccess: z.optional(z.string()),
|
|
1913
|
+
interactionAccess: z.optional(z.string()),
|
|
1914
|
+
}),
|
|
1915
|
+
z.transform((v) => {
|
|
1916
|
+
return remap$(v, {
|
|
1917
|
+
customerAccess: "CustomerAccess",
|
|
1918
|
+
interactionAccess: "InteractionAccess",
|
|
1919
|
+
});
|
|
1920
|
+
}),
|
|
1921
|
+
);
|
|
1922
|
+
|
|
1923
|
+
export function submitInteractionSecurityToJSON(
|
|
1924
|
+
submitInteractionSecurity: SubmitInteractionSecurity,
|
|
1925
|
+
): string {
|
|
1926
|
+
return JSON.stringify(
|
|
1927
|
+
SubmitInteractionSecurity$outboundSchema.parse(submitInteractionSecurity),
|
|
1928
|
+
);
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
/** @internal */
|
|
1932
|
+
export type Participant$Outbound = {
|
|
1933
|
+
domainElementId?: string | undefined;
|
|
1934
|
+
instructions?: Array<string> | undefined;
|
|
1935
|
+
[additionalProperties: string]: unknown;
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
/** @internal */
|
|
1939
|
+
export const Participant$outboundSchema: z.ZodMiniType<
|
|
1940
|
+
Participant$Outbound,
|
|
1941
|
+
Participant
|
|
1942
|
+
> = z.catchall(
|
|
1943
|
+
z.object({
|
|
1944
|
+
domainElementId: z.optional(z.string()),
|
|
1945
|
+
instructions: z.optional(z.array(z.string())),
|
|
1946
|
+
}),
|
|
1947
|
+
z.any(),
|
|
1948
|
+
);
|
|
1949
|
+
|
|
1950
|
+
export function participantToJSON(participant: Participant): string {
|
|
1951
|
+
return JSON.stringify(Participant$outboundSchema.parse(participant));
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
/** @internal */
|
|
1955
|
+
export type SubmitInteractionIdentityAlias$Outbound = {
|
|
954
1956
|
title?: string | undefined;
|
|
955
|
-
/**
|
|
956
|
-
* A person's name used by their collegues and friends to address them
|
|
957
|
-
*/
|
|
958
1957
|
firstName?: string | undefined;
|
|
959
|
-
/**
|
|
960
|
-
* Any other registered names used by the individual, not aliases
|
|
961
|
-
*/
|
|
962
1958
|
middleNames?: Array<string> | undefined;
|
|
963
|
-
/**
|
|
964
|
-
* Any family names for the individual
|
|
965
|
-
*/
|
|
966
1959
|
lastNames?: Array<string> | undefined;
|
|
967
|
-
/**
|
|
968
|
-
* Any family names for the individual
|
|
969
|
-
*/
|
|
970
1960
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
971
|
-
|
|
972
|
-
relatedPersons?: Array<SubmitInteractionDocumentRelatedPerson> | undefined;
|
|
973
|
-
/**
|
|
974
|
-
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
975
|
-
*/
|
|
976
|
-
dateOfBirth?: string | undefined;
|
|
977
|
-
gender?: string | undefined;
|
|
978
|
-
currentAddress?: SubmitInteractionDocumentCurrentAddress | undefined;
|
|
979
|
-
previousAddresses?:
|
|
980
|
-
| Array<SubmitInteractionDocumentPreviousAddress>
|
|
981
|
-
| undefined;
|
|
982
|
-
placeOfBirth?: SubmitInteractionDocumentPlaceOfBirth | undefined;
|
|
983
|
-
idNumbers?: Array<SubmitInteractionDocumentIdNumber> | undefined;
|
|
984
|
-
phones?: Array<SubmitInteractionDocumentPhone> | undefined;
|
|
985
|
-
emails?: Array<SubmitInteractionDocumentEmail> | undefined;
|
|
986
|
-
socials?: Array<SubmitInteractionDocumentSocial> | undefined;
|
|
987
|
-
/**
|
|
988
|
-
* The subject's mother's maiden name, used for identity verification
|
|
989
|
-
*/
|
|
990
|
-
mothersMaidenName?: string | undefined;
|
|
1961
|
+
fullName?: string | undefined;
|
|
991
1962
|
};
|
|
992
1963
|
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1964
|
+
/** @internal */
|
|
1965
|
+
export const SubmitInteractionIdentityAlias$outboundSchema: z.ZodMiniType<
|
|
1966
|
+
SubmitInteractionIdentityAlias$Outbound,
|
|
1967
|
+
SubmitInteractionIdentityAlias
|
|
1968
|
+
> = z.object({
|
|
1969
|
+
title: z.optional(z.string()),
|
|
1970
|
+
firstName: z.optional(z.string()),
|
|
1971
|
+
middleNames: z.optional(z.array(z.string())),
|
|
1972
|
+
lastNames: z.optional(z.array(z.string())),
|
|
1973
|
+
lastNamesAtBirth: z.optional(z.array(z.string())),
|
|
1974
|
+
fullName: z.optional(z.string()),
|
|
1975
|
+
});
|
|
1976
|
+
|
|
1977
|
+
export function submitInteractionIdentityAliasToJSON(
|
|
1978
|
+
submitInteractionIdentityAlias: SubmitInteractionIdentityAlias,
|
|
1979
|
+
): string {
|
|
1980
|
+
return JSON.stringify(
|
|
1981
|
+
SubmitInteractionIdentityAlias$outboundSchema.parse(
|
|
1982
|
+
submitInteractionIdentityAlias,
|
|
1983
|
+
),
|
|
1984
|
+
);
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/** @internal */
|
|
1988
|
+
export const SubmitInteractionIdentityRelationship$outboundSchema:
|
|
1989
|
+
z.ZodMiniEnum<typeof SubmitInteractionIdentityRelationship> = z.enum(
|
|
1990
|
+
SubmitInteractionIdentityRelationship,
|
|
1991
|
+
);
|
|
1992
|
+
|
|
1993
|
+
/** @internal */
|
|
1994
|
+
export type SubmitInteractionIdentityRelatedPerson$Outbound = {
|
|
1995
|
+
title?: string | undefined;
|
|
1017
1996
|
firstName?: string | undefined;
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
hairColor?: string | undefined;
|
|
1023
|
-
height?: string | undefined;
|
|
1024
|
-
/**
|
|
1025
|
-
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1026
|
-
*/
|
|
1027
|
-
issueDate?: string | undefined;
|
|
1028
|
-
issuingAuthority?: string | undefined;
|
|
1029
|
-
issuingAuthorityNative?: string | undefined;
|
|
1030
|
-
issuingStateCode?: string | undefined;
|
|
1031
|
-
issuingStateName?: string | undefined;
|
|
1032
|
-
licenseClass?: string | undefined;
|
|
1033
|
-
licenseEndorsements?: string | undefined;
|
|
1034
|
-
licenseRestrictions?: string | undefined;
|
|
1035
|
-
mrz?: string | undefined;
|
|
1036
|
-
mrz1?: string | undefined;
|
|
1037
|
-
mrz2?: string | undefined;
|
|
1038
|
-
mrz3?: string | undefined;
|
|
1039
|
-
middleName?: string | undefined;
|
|
1040
|
-
mothersName?: string | undefined;
|
|
1041
|
-
mothersNameNative?: string | undefined;
|
|
1042
|
-
mothersSurname?: string | undefined;
|
|
1043
|
-
nameSuffix?: string | undefined;
|
|
1044
|
-
nationalityCode?: string | undefined;
|
|
1045
|
-
nationalityName?: string | undefined;
|
|
1046
|
-
nationalityNameNative?: string | undefined;
|
|
1047
|
-
occupation?: string | undefined;
|
|
1048
|
-
organDonor?: boolean | undefined;
|
|
1049
|
-
passportNumber?: string | undefined;
|
|
1050
|
-
permitNumber?: string | undefined;
|
|
1051
|
-
personalNumber?: string | undefined;
|
|
1052
|
-
photo?: string | undefined;
|
|
1053
|
-
photoCompressed?: string | undefined;
|
|
1054
|
-
photoEncoding?: string | undefined;
|
|
1055
|
-
sex?: string | undefined;
|
|
1056
|
-
sexNative?: string | undefined;
|
|
1057
|
-
signature?: string | undefined;
|
|
1058
|
-
signatureCompressed?: string | undefined;
|
|
1059
|
-
signatureEncoding?: string | undefined;
|
|
1060
|
-
socialSecurityNumber?: string | undefined;
|
|
1061
|
-
startDate?: string | undefined;
|
|
1062
|
-
surname?: string | undefined;
|
|
1063
|
-
surnameNative?: string | undefined;
|
|
1064
|
-
visaClass?: string | undefined;
|
|
1065
|
-
visaNumber?: string | undefined;
|
|
1066
|
-
weight?: string | undefined;
|
|
1067
|
-
cardNumber?: string | undefined;
|
|
1068
|
-
/**
|
|
1069
|
-
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1070
|
-
*/
|
|
1071
|
-
issuerCountryCode?: string | undefined;
|
|
1072
|
-
id?: string | undefined;
|
|
1073
|
-
type?: string | undefined;
|
|
1074
|
-
category?: string | undefined;
|
|
1075
|
-
subtype?: string | undefined;
|
|
1076
|
-
format?: string | undefined;
|
|
1077
|
-
device?: SubmitInteractionDocumentDevice | undefined;
|
|
1078
|
-
side1Image?: string | undefined;
|
|
1079
|
-
side2Image?: string | undefined;
|
|
1080
|
-
chip?: SubmitInteractionChip | undefined;
|
|
1081
|
-
classification?: SubmitInteractionClassification | undefined;
|
|
1082
|
-
extraction?: SubmitInteractionExtraction | undefined;
|
|
1083
|
-
validation?: SubmitInteractionValidation | undefined;
|
|
1084
|
-
subType?: string | undefined;
|
|
1085
|
-
number?: string | undefined;
|
|
1086
|
-
/**
|
|
1087
|
-
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1088
|
-
*/
|
|
1089
|
-
expiryDate?: string | undefined;
|
|
1090
|
-
subject?: SubmitInteractionDocumentSubject | undefined;
|
|
1091
|
-
/**
|
|
1092
|
-
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1093
|
-
*/
|
|
1094
|
-
country?: string | undefined;
|
|
1997
|
+
middleNames?: Array<string> | undefined;
|
|
1998
|
+
lastNames?: Array<string> | undefined;
|
|
1999
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
2000
|
+
relationship: string;
|
|
1095
2001
|
};
|
|
1096
2002
|
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
2003
|
+
/** @internal */
|
|
2004
|
+
export const SubmitInteractionIdentityRelatedPerson$outboundSchema:
|
|
2005
|
+
z.ZodMiniType<
|
|
2006
|
+
SubmitInteractionIdentityRelatedPerson$Outbound,
|
|
2007
|
+
SubmitInteractionIdentityRelatedPerson
|
|
2008
|
+
> = z.object({
|
|
2009
|
+
title: z.optional(z.string()),
|
|
2010
|
+
firstName: z.optional(z.string()),
|
|
2011
|
+
middleNames: z.optional(z.array(z.string())),
|
|
2012
|
+
lastNames: z.optional(z.array(z.string())),
|
|
2013
|
+
lastNamesAtBirth: z.optional(z.array(z.string())),
|
|
2014
|
+
relationship: SubmitInteractionIdentityRelationship$outboundSchema,
|
|
2015
|
+
});
|
|
2016
|
+
|
|
2017
|
+
export function submitInteractionIdentityRelatedPersonToJSON(
|
|
2018
|
+
submitInteractionIdentityRelatedPerson:
|
|
2019
|
+
SubmitInteractionIdentityRelatedPerson,
|
|
2020
|
+
): string {
|
|
2021
|
+
return JSON.stringify(
|
|
2022
|
+
SubmitInteractionIdentityRelatedPerson$outboundSchema.parse(
|
|
2023
|
+
submitInteractionIdentityRelatedPerson,
|
|
2024
|
+
),
|
|
2025
|
+
);
|
|
2026
|
+
}
|
|
1103
2027
|
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
2028
|
+
/** @internal */
|
|
2029
|
+
export type SubmitInteractionIdentityCurrentAddressLocation$Outbound = {
|
|
2030
|
+
latitude?: string | undefined;
|
|
2031
|
+
longitude?: string | undefined;
|
|
2032
|
+
geoAccuracy?: string | undefined;
|
|
2033
|
+
what3words?: string | undefined;
|
|
1108
2034
|
};
|
|
1109
2035
|
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
2036
|
+
/** @internal */
|
|
2037
|
+
export const SubmitInteractionIdentityCurrentAddressLocation$outboundSchema:
|
|
2038
|
+
z.ZodMiniType<
|
|
2039
|
+
SubmitInteractionIdentityCurrentAddressLocation$Outbound,
|
|
2040
|
+
SubmitInteractionIdentityCurrentAddressLocation
|
|
2041
|
+
> = z.object({
|
|
2042
|
+
latitude: z.optional(z.string()),
|
|
2043
|
+
longitude: z.optional(z.string()),
|
|
2044
|
+
geoAccuracy: z.optional(z.string()),
|
|
2045
|
+
what3words: z.optional(z.string()),
|
|
2046
|
+
});
|
|
1116
2047
|
|
|
1117
|
-
export
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
2048
|
+
export function submitInteractionIdentityCurrentAddressLocationToJSON(
|
|
2049
|
+
submitInteractionIdentityCurrentAddressLocation:
|
|
2050
|
+
SubmitInteractionIdentityCurrentAddressLocation,
|
|
2051
|
+
): string {
|
|
2052
|
+
return JSON.stringify(
|
|
2053
|
+
SubmitInteractionIdentityCurrentAddressLocation$outboundSchema.parse(
|
|
2054
|
+
submitInteractionIdentityCurrentAddressLocation,
|
|
2055
|
+
),
|
|
2056
|
+
);
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
/** @internal */
|
|
2060
|
+
export type SubmitInteractionIdentityCurrentAddress$Outbound = {
|
|
2061
|
+
lines?: Array<string> | undefined;
|
|
2062
|
+
addressString?: string | undefined;
|
|
2063
|
+
premise?: string | undefined;
|
|
2064
|
+
building?: string | undefined;
|
|
2065
|
+
subBuilding?: string | undefined;
|
|
2066
|
+
thoroughfare?: string | undefined;
|
|
2067
|
+
dependentThoroughfare?: string | undefined;
|
|
2068
|
+
locality?: string | undefined;
|
|
2069
|
+
dependentLocality?: string | undefined;
|
|
2070
|
+
doubleDependentLocality?: string | undefined;
|
|
2071
|
+
postalCode?: string | undefined;
|
|
2072
|
+
postBox?: string | undefined;
|
|
2073
|
+
country?: string | undefined;
|
|
2074
|
+
superAdministrativeArea?: string | undefined;
|
|
2075
|
+
administrativeArea?: string | undefined;
|
|
2076
|
+
subAdministrativeArea?: string | undefined;
|
|
2077
|
+
organization?: string | undefined;
|
|
2078
|
+
location?:
|
|
2079
|
+
| SubmitInteractionIdentityCurrentAddressLocation$Outbound
|
|
2080
|
+
| undefined;
|
|
1122
2081
|
};
|
|
1123
2082
|
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
2083
|
+
/** @internal */
|
|
2084
|
+
export const SubmitInteractionIdentityCurrentAddress$outboundSchema:
|
|
2085
|
+
z.ZodMiniType<
|
|
2086
|
+
SubmitInteractionIdentityCurrentAddress$Outbound,
|
|
2087
|
+
SubmitInteractionIdentityCurrentAddress
|
|
2088
|
+
> = z.object({
|
|
2089
|
+
lines: z.optional(z.array(z.string())),
|
|
2090
|
+
addressString: z.optional(z.string()),
|
|
2091
|
+
premise: z.optional(z.string()),
|
|
2092
|
+
building: z.optional(z.string()),
|
|
2093
|
+
subBuilding: z.optional(z.string()),
|
|
2094
|
+
thoroughfare: z.optional(z.string()),
|
|
2095
|
+
dependentThoroughfare: z.optional(z.string()),
|
|
2096
|
+
locality: z.optional(z.string()),
|
|
2097
|
+
dependentLocality: z.optional(z.string()),
|
|
2098
|
+
doubleDependentLocality: z.optional(z.string()),
|
|
2099
|
+
postalCode: z.optional(z.string()),
|
|
2100
|
+
postBox: z.optional(z.string()),
|
|
2101
|
+
country: z.optional(z.string()),
|
|
2102
|
+
superAdministrativeArea: z.optional(z.string()),
|
|
2103
|
+
administrativeArea: z.optional(z.string()),
|
|
2104
|
+
subAdministrativeArea: z.optional(z.string()),
|
|
2105
|
+
organization: z.optional(z.string()),
|
|
2106
|
+
location: z.optional(
|
|
2107
|
+
z.lazy(() =>
|
|
2108
|
+
SubmitInteractionIdentityCurrentAddressLocation$outboundSchema
|
|
2109
|
+
),
|
|
2110
|
+
),
|
|
2111
|
+
});
|
|
1129
2112
|
|
|
1130
|
-
export
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
2113
|
+
export function submitInteractionIdentityCurrentAddressToJSON(
|
|
2114
|
+
submitInteractionIdentityCurrentAddress:
|
|
2115
|
+
SubmitInteractionIdentityCurrentAddress,
|
|
2116
|
+
): string {
|
|
2117
|
+
return JSON.stringify(
|
|
2118
|
+
SubmitInteractionIdentityCurrentAddress$outboundSchema.parse(
|
|
2119
|
+
submitInteractionIdentityCurrentAddress,
|
|
2120
|
+
),
|
|
2121
|
+
);
|
|
2122
|
+
}
|
|
1135
2123
|
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
2124
|
+
/** @internal */
|
|
2125
|
+
export type SubmitInteractionIdentityPreviousAddressLocation$Outbound = {
|
|
2126
|
+
latitude?: string | undefined;
|
|
2127
|
+
longitude?: string | undefined;
|
|
2128
|
+
geoAccuracy?: string | undefined;
|
|
2129
|
+
what3words?: string | undefined;
|
|
1140
2130
|
};
|
|
1141
2131
|
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
2132
|
+
/** @internal */
|
|
2133
|
+
export const SubmitInteractionIdentityPreviousAddressLocation$outboundSchema:
|
|
2134
|
+
z.ZodMiniType<
|
|
2135
|
+
SubmitInteractionIdentityPreviousAddressLocation$Outbound,
|
|
2136
|
+
SubmitInteractionIdentityPreviousAddressLocation
|
|
2137
|
+
> = z.object({
|
|
2138
|
+
latitude: z.optional(z.string()),
|
|
2139
|
+
longitude: z.optional(z.string()),
|
|
2140
|
+
geoAccuracy: z.optional(z.string()),
|
|
2141
|
+
what3words: z.optional(z.string()),
|
|
2142
|
+
});
|
|
1146
2143
|
|
|
1147
|
-
export
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
2144
|
+
export function submitInteractionIdentityPreviousAddressLocationToJSON(
|
|
2145
|
+
submitInteractionIdentityPreviousAddressLocation:
|
|
2146
|
+
SubmitInteractionIdentityPreviousAddressLocation,
|
|
2147
|
+
): string {
|
|
2148
|
+
return JSON.stringify(
|
|
2149
|
+
SubmitInteractionIdentityPreviousAddressLocation$outboundSchema.parse(
|
|
2150
|
+
submitInteractionIdentityPreviousAddressLocation,
|
|
2151
|
+
),
|
|
2152
|
+
);
|
|
2153
|
+
}
|
|
1152
2154
|
|
|
1153
|
-
|
|
1154
|
-
|
|
2155
|
+
/** @internal */
|
|
2156
|
+
export type SubmitInteractionIdentityPreviousAddress$Outbound = {
|
|
2157
|
+
lines?: Array<string> | undefined;
|
|
2158
|
+
addressString?: string | undefined;
|
|
2159
|
+
premise?: string | undefined;
|
|
2160
|
+
building?: string | undefined;
|
|
2161
|
+
subBuilding?: string | undefined;
|
|
2162
|
+
thoroughfare?: string | undefined;
|
|
2163
|
+
dependentThoroughfare?: string | undefined;
|
|
2164
|
+
locality?: string | undefined;
|
|
2165
|
+
dependentLocality?: string | undefined;
|
|
2166
|
+
doubleDependentLocality?: string | undefined;
|
|
2167
|
+
postalCode?: string | undefined;
|
|
2168
|
+
postBox?: string | undefined;
|
|
2169
|
+
country?: string | undefined;
|
|
2170
|
+
superAdministrativeArea?: string | undefined;
|
|
2171
|
+
administrativeArea?: string | undefined;
|
|
2172
|
+
subAdministrativeArea?: string | undefined;
|
|
2173
|
+
organization?: string | undefined;
|
|
2174
|
+
location?:
|
|
2175
|
+
| SubmitInteractionIdentityPreviousAddressLocation$Outbound
|
|
2176
|
+
| undefined;
|
|
2177
|
+
fromDate?: string | undefined;
|
|
2178
|
+
toDate?: string | undefined;
|
|
1155
2179
|
};
|
|
1156
2180
|
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
2181
|
+
/** @internal */
|
|
2182
|
+
export const SubmitInteractionIdentityPreviousAddress$outboundSchema:
|
|
2183
|
+
z.ZodMiniType<
|
|
2184
|
+
SubmitInteractionIdentityPreviousAddress$Outbound,
|
|
2185
|
+
SubmitInteractionIdentityPreviousAddress
|
|
2186
|
+
> = z.object({
|
|
2187
|
+
lines: z.optional(z.array(z.string())),
|
|
2188
|
+
addressString: z.optional(z.string()),
|
|
2189
|
+
premise: z.optional(z.string()),
|
|
2190
|
+
building: z.optional(z.string()),
|
|
2191
|
+
subBuilding: z.optional(z.string()),
|
|
2192
|
+
thoroughfare: z.optional(z.string()),
|
|
2193
|
+
dependentThoroughfare: z.optional(z.string()),
|
|
2194
|
+
locality: z.optional(z.string()),
|
|
2195
|
+
dependentLocality: z.optional(z.string()),
|
|
2196
|
+
doubleDependentLocality: z.optional(z.string()),
|
|
2197
|
+
postalCode: z.optional(z.string()),
|
|
2198
|
+
postBox: z.optional(z.string()),
|
|
2199
|
+
country: z.optional(z.string()),
|
|
2200
|
+
superAdministrativeArea: z.optional(z.string()),
|
|
2201
|
+
administrativeArea: z.optional(z.string()),
|
|
2202
|
+
subAdministrativeArea: z.optional(z.string()),
|
|
2203
|
+
organization: z.optional(z.string()),
|
|
2204
|
+
location: z.optional(
|
|
2205
|
+
z.lazy(() =>
|
|
2206
|
+
SubmitInteractionIdentityPreviousAddressLocation$outboundSchema
|
|
2207
|
+
),
|
|
2208
|
+
),
|
|
2209
|
+
fromDate: z.optional(z.string()),
|
|
2210
|
+
toDate: z.optional(z.string()),
|
|
2211
|
+
});
|
|
1160
2212
|
|
|
1161
|
-
export
|
|
1162
|
-
|
|
1163
|
-
|
|
2213
|
+
export function submitInteractionIdentityPreviousAddressToJSON(
|
|
2214
|
+
submitInteractionIdentityPreviousAddress:
|
|
2215
|
+
SubmitInteractionIdentityPreviousAddress,
|
|
2216
|
+
): string {
|
|
2217
|
+
return JSON.stringify(
|
|
2218
|
+
SubmitInteractionIdentityPreviousAddress$outboundSchema.parse(
|
|
2219
|
+
submitInteractionIdentityPreviousAddress,
|
|
2220
|
+
),
|
|
2221
|
+
);
|
|
2222
|
+
}
|
|
1164
2223
|
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
redirectUri?: string | undefined;
|
|
1172
|
-
responseType?: string | undefined;
|
|
1173
|
-
clientId?: string | undefined;
|
|
1174
|
-
clientSecret?: string | undefined;
|
|
2224
|
+
/** @internal */
|
|
2225
|
+
export type SubmitInteractionIdentityPlaceOfBirthLocation$Outbound = {
|
|
2226
|
+
latitude?: string | undefined;
|
|
2227
|
+
longitude?: string | undefined;
|
|
2228
|
+
geoAccuracy?: string | undefined;
|
|
2229
|
+
what3words?: string | undefined;
|
|
1175
2230
|
};
|
|
1176
2231
|
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
2232
|
+
/** @internal */
|
|
2233
|
+
export const SubmitInteractionIdentityPlaceOfBirthLocation$outboundSchema:
|
|
2234
|
+
z.ZodMiniType<
|
|
2235
|
+
SubmitInteractionIdentityPlaceOfBirthLocation$Outbound,
|
|
2236
|
+
SubmitInteractionIdentityPlaceOfBirthLocation
|
|
2237
|
+
> = z.object({
|
|
2238
|
+
latitude: z.optional(z.string()),
|
|
2239
|
+
longitude: z.optional(z.string()),
|
|
2240
|
+
geoAccuracy: z.optional(z.string()),
|
|
2241
|
+
what3words: z.optional(z.string()),
|
|
2242
|
+
});
|
|
1186
2243
|
|
|
1187
|
-
export
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
2244
|
+
export function submitInteractionIdentityPlaceOfBirthLocationToJSON(
|
|
2245
|
+
submitInteractionIdentityPlaceOfBirthLocation:
|
|
2246
|
+
SubmitInteractionIdentityPlaceOfBirthLocation,
|
|
2247
|
+
): string {
|
|
2248
|
+
return JSON.stringify(
|
|
2249
|
+
SubmitInteractionIdentityPlaceOfBirthLocation$outboundSchema.parse(
|
|
2250
|
+
submitInteractionIdentityPlaceOfBirthLocation,
|
|
2251
|
+
),
|
|
2252
|
+
);
|
|
2253
|
+
}
|
|
1195
2254
|
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
2255
|
+
/** @internal */
|
|
2256
|
+
export type SubmitInteractionIdentityPlaceOfBirth$Outbound = {
|
|
2257
|
+
lines?: Array<string> | undefined;
|
|
2258
|
+
addressString?: string | undefined;
|
|
2259
|
+
premise?: string | undefined;
|
|
2260
|
+
building?: string | undefined;
|
|
2261
|
+
subBuilding?: string | undefined;
|
|
2262
|
+
thoroughfare?: string | undefined;
|
|
2263
|
+
dependentThoroughfare?: string | undefined;
|
|
2264
|
+
locality?: string | undefined;
|
|
2265
|
+
dependentLocality?: string | undefined;
|
|
2266
|
+
doubleDependentLocality?: string | undefined;
|
|
2267
|
+
postalCode?: string | undefined;
|
|
2268
|
+
postBox?: string | undefined;
|
|
2269
|
+
country?: string | undefined;
|
|
2270
|
+
superAdministrativeArea?: string | undefined;
|
|
2271
|
+
administrativeArea?: string | undefined;
|
|
2272
|
+
subAdministrativeArea?: string | undefined;
|
|
2273
|
+
organization?: string | undefined;
|
|
2274
|
+
location?: SubmitInteractionIdentityPlaceOfBirthLocation$Outbound | undefined;
|
|
1209
2275
|
};
|
|
1210
2276
|
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
2277
|
+
/** @internal */
|
|
2278
|
+
export const SubmitInteractionIdentityPlaceOfBirth$outboundSchema:
|
|
2279
|
+
z.ZodMiniType<
|
|
2280
|
+
SubmitInteractionIdentityPlaceOfBirth$Outbound,
|
|
2281
|
+
SubmitInteractionIdentityPlaceOfBirth
|
|
2282
|
+
> = z.object({
|
|
2283
|
+
lines: z.optional(z.array(z.string())),
|
|
2284
|
+
addressString: z.optional(z.string()),
|
|
2285
|
+
premise: z.optional(z.string()),
|
|
2286
|
+
building: z.optional(z.string()),
|
|
2287
|
+
subBuilding: z.optional(z.string()),
|
|
2288
|
+
thoroughfare: z.optional(z.string()),
|
|
2289
|
+
dependentThoroughfare: z.optional(z.string()),
|
|
2290
|
+
locality: z.optional(z.string()),
|
|
2291
|
+
dependentLocality: z.optional(z.string()),
|
|
2292
|
+
doubleDependentLocality: z.optional(z.string()),
|
|
2293
|
+
postalCode: z.optional(z.string()),
|
|
2294
|
+
postBox: z.optional(z.string()),
|
|
2295
|
+
country: z.optional(z.string()),
|
|
2296
|
+
superAdministrativeArea: z.optional(z.string()),
|
|
2297
|
+
administrativeArea: z.optional(z.string()),
|
|
2298
|
+
subAdministrativeArea: z.optional(z.string()),
|
|
2299
|
+
organization: z.optional(z.string()),
|
|
2300
|
+
location: z.optional(
|
|
2301
|
+
z.lazy(() =>
|
|
2302
|
+
SubmitInteractionIdentityPlaceOfBirthLocation$outboundSchema
|
|
2303
|
+
),
|
|
2304
|
+
),
|
|
2305
|
+
});
|
|
2306
|
+
|
|
2307
|
+
export function submitInteractionIdentityPlaceOfBirthToJSON(
|
|
2308
|
+
submitInteractionIdentityPlaceOfBirth: SubmitInteractionIdentityPlaceOfBirth,
|
|
2309
|
+
): string {
|
|
2310
|
+
return JSON.stringify(
|
|
2311
|
+
SubmitInteractionIdentityPlaceOfBirth$outboundSchema.parse(
|
|
2312
|
+
submitInteractionIdentityPlaceOfBirth,
|
|
2313
|
+
),
|
|
2314
|
+
);
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
/** @internal */
|
|
2318
|
+
export type SubmitInteractionIdentityIdNumber$Outbound = {
|
|
1215
2319
|
type: string;
|
|
1216
|
-
|
|
1217
|
-
* Account number
|
|
1218
|
-
*/
|
|
1219
|
-
accountNumber: string;
|
|
1220
|
-
/**
|
|
1221
|
-
* UK sort code
|
|
1222
|
-
*/
|
|
1223
|
-
sortCode?: string | undefined;
|
|
1224
|
-
/**
|
|
1225
|
-
* US ABA routing number
|
|
1226
|
-
*/
|
|
1227
|
-
routingNumber?: string | undefined;
|
|
1228
|
-
/**
|
|
1229
|
-
* International Bank Account Number
|
|
1230
|
-
*/
|
|
1231
|
-
iban?: string | undefined;
|
|
1232
|
-
/**
|
|
1233
|
-
* BIC/SWIFT code
|
|
1234
|
-
*/
|
|
1235
|
-
bic?: string | undefined;
|
|
1236
|
-
/**
|
|
1237
|
-
* Name on the account
|
|
1238
|
-
*/
|
|
1239
|
-
accountHolderName?: string | undefined;
|
|
1240
|
-
/**
|
|
1241
|
-
* Name of the financial institution
|
|
1242
|
-
*/
|
|
1243
|
-
bankName?: string | undefined;
|
|
1244
|
-
/**
|
|
1245
|
-
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1246
|
-
*/
|
|
2320
|
+
idNumber: string;
|
|
1247
2321
|
country?: string | undefined;
|
|
1248
|
-
/**
|
|
1249
|
-
* Account classification, e.g. current, savings
|
|
1250
|
-
*/
|
|
1251
|
-
accountType?: string | undefined;
|
|
1252
|
-
};
|
|
1253
|
-
|
|
1254
|
-
export type SubmitInteractionSubject = {
|
|
1255
|
-
identity?: SubmitInteractionIdentity | undefined;
|
|
1256
|
-
documents?: Array<SubmitInteractionDocument> | undefined;
|
|
1257
|
-
biometrics?:
|
|
1258
|
-
| Array<
|
|
1259
|
-
| SubmitInteractionBiometric1
|
|
1260
|
-
| SubmitInteractionBiometric2
|
|
1261
|
-
| SubmitInteractionBiometric3
|
|
1262
|
-
| SubmitInteractionBiometric4
|
|
1263
|
-
>
|
|
1264
|
-
| undefined;
|
|
1265
|
-
sessions?: Array<SubmitInteractionSession> | undefined;
|
|
1266
|
-
consent?: Array<SubmitInteractionConsent> | undefined;
|
|
1267
|
-
accounts?: Array<SubmitInteractionAccount> | undefined;
|
|
1268
|
-
uid?: string | undefined;
|
|
1269
2322
|
};
|
|
1270
2323
|
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
2324
|
+
/** @internal */
|
|
2325
|
+
export const SubmitInteractionIdentityIdNumber$outboundSchema: z.ZodMiniType<
|
|
2326
|
+
SubmitInteractionIdentityIdNumber$Outbound,
|
|
2327
|
+
SubmitInteractionIdentityIdNumber
|
|
2328
|
+
> = z.object({
|
|
2329
|
+
type: z.string(),
|
|
2330
|
+
idNumber: z.string(),
|
|
2331
|
+
country: z.optional(z.string()),
|
|
2332
|
+
});
|
|
1274
2333
|
|
|
1275
|
-
export
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
/**
|
|
1285
|
-
* List of participant identifiers involved in the interaction
|
|
1286
|
-
*/
|
|
1287
|
-
participants?: Array<Participant> | undefined;
|
|
1288
|
-
context?: SubmitInteractionContext | undefined;
|
|
1289
|
-
};
|
|
2334
|
+
export function submitInteractionIdentityIdNumberToJSON(
|
|
2335
|
+
submitInteractionIdentityIdNumber: SubmitInteractionIdentityIdNumber,
|
|
2336
|
+
): string {
|
|
2337
|
+
return JSON.stringify(
|
|
2338
|
+
SubmitInteractionIdentityIdNumber$outboundSchema.parse(
|
|
2339
|
+
submitInteractionIdentityIdNumber,
|
|
2340
|
+
),
|
|
2341
|
+
);
|
|
2342
|
+
}
|
|
1290
2343
|
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
*/
|
|
1296
|
-
code: number;
|
|
1297
|
-
/**
|
|
1298
|
-
* Error message detailing the issue
|
|
1299
|
-
*/
|
|
1300
|
-
message: string;
|
|
2344
|
+
/** @internal */
|
|
2345
|
+
export type SubmitInteractionIdentityPhone$Outbound = {
|
|
2346
|
+
type: string;
|
|
2347
|
+
number: string;
|
|
1301
2348
|
};
|
|
1302
2349
|
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
2350
|
+
/** @internal */
|
|
2351
|
+
export const SubmitInteractionIdentityPhone$outboundSchema: z.ZodMiniType<
|
|
2352
|
+
SubmitInteractionIdentityPhone$Outbound,
|
|
2353
|
+
SubmitInteractionIdentityPhone
|
|
2354
|
+
> = z.object({
|
|
2355
|
+
type: z.string(),
|
|
2356
|
+
number: z.string(),
|
|
2357
|
+
});
|
|
1306
2358
|
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
2359
|
+
export function submitInteractionIdentityPhoneToJSON(
|
|
2360
|
+
submitInteractionIdentityPhone: SubmitInteractionIdentityPhone,
|
|
2361
|
+
): string {
|
|
2362
|
+
return JSON.stringify(
|
|
2363
|
+
SubmitInteractionIdentityPhone$outboundSchema.parse(
|
|
2364
|
+
submitInteractionIdentityPhone,
|
|
2365
|
+
),
|
|
2366
|
+
);
|
|
2367
|
+
}
|
|
1314
2368
|
|
|
1315
2369
|
/** @internal */
|
|
1316
|
-
export type
|
|
1317
|
-
|
|
2370
|
+
export type SubmitInteractionIdentityEmail$Outbound = {
|
|
2371
|
+
type: string;
|
|
2372
|
+
email: string;
|
|
1318
2373
|
};
|
|
1319
2374
|
|
|
1320
2375
|
/** @internal */
|
|
1321
|
-
export const
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
> = z.
|
|
1325
|
-
z.
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
z.transform((v) => {
|
|
1329
|
-
return remap$(v, {
|
|
1330
|
-
interactionAccess: "InteractionAccess",
|
|
1331
|
-
});
|
|
1332
|
-
}),
|
|
1333
|
-
);
|
|
2376
|
+
export const SubmitInteractionIdentityEmail$outboundSchema: z.ZodMiniType<
|
|
2377
|
+
SubmitInteractionIdentityEmail$Outbound,
|
|
2378
|
+
SubmitInteractionIdentityEmail
|
|
2379
|
+
> = z.object({
|
|
2380
|
+
type: z.string(),
|
|
2381
|
+
email: z.string(),
|
|
2382
|
+
});
|
|
1334
2383
|
|
|
1335
|
-
export function
|
|
1336
|
-
|
|
2384
|
+
export function submitInteractionIdentityEmailToJSON(
|
|
2385
|
+
submitInteractionIdentityEmail: SubmitInteractionIdentityEmail,
|
|
1337
2386
|
): string {
|
|
1338
2387
|
return JSON.stringify(
|
|
1339
|
-
|
|
2388
|
+
SubmitInteractionIdentityEmail$outboundSchema.parse(
|
|
2389
|
+
submitInteractionIdentityEmail,
|
|
2390
|
+
),
|
|
1340
2391
|
);
|
|
1341
2392
|
}
|
|
1342
2393
|
|
|
1343
2394
|
/** @internal */
|
|
1344
|
-
export type
|
|
1345
|
-
|
|
1346
|
-
|
|
2395
|
+
export type SubmitInteractionIdentitySocial$Outbound = {
|
|
2396
|
+
type: string;
|
|
2397
|
+
identity: string;
|
|
1347
2398
|
};
|
|
1348
2399
|
|
|
1349
2400
|
/** @internal */
|
|
1350
|
-
export const
|
|
1351
|
-
|
|
1352
|
-
|
|
2401
|
+
export const SubmitInteractionIdentitySocial$outboundSchema: z.ZodMiniType<
|
|
2402
|
+
SubmitInteractionIdentitySocial$Outbound,
|
|
2403
|
+
SubmitInteractionIdentitySocial
|
|
1353
2404
|
> = z.object({
|
|
1354
|
-
|
|
1355
|
-
|
|
2405
|
+
type: z.string(),
|
|
2406
|
+
identity: z.string(),
|
|
1356
2407
|
});
|
|
1357
2408
|
|
|
1358
|
-
export function
|
|
1359
|
-
|
|
2409
|
+
export function submitInteractionIdentitySocialToJSON(
|
|
2410
|
+
submitInteractionIdentitySocial: SubmitInteractionIdentitySocial,
|
|
2411
|
+
): string {
|
|
2412
|
+
return JSON.stringify(
|
|
2413
|
+
SubmitInteractionIdentitySocial$outboundSchema.parse(
|
|
2414
|
+
submitInteractionIdentitySocial,
|
|
2415
|
+
),
|
|
2416
|
+
);
|
|
1360
2417
|
}
|
|
1361
2418
|
|
|
1362
2419
|
/** @internal */
|
|
1363
|
-
export type
|
|
2420
|
+
export type SubmitInteractionIdentity$Outbound = {
|
|
1364
2421
|
title?: string | undefined;
|
|
1365
2422
|
firstName?: string | undefined;
|
|
1366
2423
|
middleNames?: Array<string> | undefined;
|
|
1367
2424
|
lastNames?: Array<string> | undefined;
|
|
1368
2425
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
2426
|
+
aliases?: Array<SubmitInteractionIdentityAlias$Outbound> | undefined;
|
|
2427
|
+
relatedPersons?:
|
|
2428
|
+
| Array<SubmitInteractionIdentityRelatedPerson$Outbound>
|
|
2429
|
+
| undefined;
|
|
2430
|
+
dateOfBirth?: string | undefined;
|
|
2431
|
+
gender?: string | undefined;
|
|
2432
|
+
currentAddress?: SubmitInteractionIdentityCurrentAddress$Outbound | undefined;
|
|
2433
|
+
previousAddresses?:
|
|
2434
|
+
| Array<SubmitInteractionIdentityPreviousAddress$Outbound>
|
|
2435
|
+
| undefined;
|
|
2436
|
+
placeOfBirth?: SubmitInteractionIdentityPlaceOfBirth$Outbound | undefined;
|
|
2437
|
+
idNumbers?: Array<SubmitInteractionIdentityIdNumber$Outbound> | undefined;
|
|
2438
|
+
phones?: Array<SubmitInteractionIdentityPhone$Outbound> | undefined;
|
|
2439
|
+
emails?: Array<SubmitInteractionIdentityEmail$Outbound> | undefined;
|
|
2440
|
+
socials?: Array<SubmitInteractionIdentitySocial$Outbound> | undefined;
|
|
2441
|
+
mothersMaidenName?: string | undefined;
|
|
2442
|
+
nationality?: string | undefined;
|
|
1369
2443
|
};
|
|
1370
2444
|
|
|
1371
2445
|
/** @internal */
|
|
1372
|
-
export const
|
|
1373
|
-
|
|
1374
|
-
|
|
2446
|
+
export const SubmitInteractionIdentity$outboundSchema: z.ZodMiniType<
|
|
2447
|
+
SubmitInteractionIdentity$Outbound,
|
|
2448
|
+
SubmitInteractionIdentity
|
|
1375
2449
|
> = z.object({
|
|
1376
2450
|
title: z.optional(z.string()),
|
|
1377
2451
|
firstName: z.optional(z.string()),
|
|
1378
2452
|
middleNames: z.optional(z.array(z.string())),
|
|
1379
2453
|
lastNames: z.optional(z.array(z.string())),
|
|
1380
2454
|
lastNamesAtBirth: z.optional(z.array(z.string())),
|
|
2455
|
+
aliases: z.optional(
|
|
2456
|
+
z.array(z.lazy(() => SubmitInteractionIdentityAlias$outboundSchema)),
|
|
2457
|
+
),
|
|
2458
|
+
relatedPersons: z.optional(
|
|
2459
|
+
z.array(
|
|
2460
|
+
z.lazy(() => SubmitInteractionIdentityRelatedPerson$outboundSchema),
|
|
2461
|
+
),
|
|
2462
|
+
),
|
|
2463
|
+
dateOfBirth: z.optional(z.string()),
|
|
2464
|
+
gender: z.optional(z.string()),
|
|
2465
|
+
currentAddress: z.optional(
|
|
2466
|
+
z.lazy(() => SubmitInteractionIdentityCurrentAddress$outboundSchema),
|
|
2467
|
+
),
|
|
2468
|
+
previousAddresses: z.optional(
|
|
2469
|
+
z.array(
|
|
2470
|
+
z.lazy(() => SubmitInteractionIdentityPreviousAddress$outboundSchema),
|
|
2471
|
+
),
|
|
2472
|
+
),
|
|
2473
|
+
placeOfBirth: z.optional(
|
|
2474
|
+
z.lazy(() => SubmitInteractionIdentityPlaceOfBirth$outboundSchema),
|
|
2475
|
+
),
|
|
2476
|
+
idNumbers: z.optional(
|
|
2477
|
+
z.array(z.lazy(() => SubmitInteractionIdentityIdNumber$outboundSchema)),
|
|
2478
|
+
),
|
|
2479
|
+
phones: z.optional(
|
|
2480
|
+
z.array(z.lazy(() => SubmitInteractionIdentityPhone$outboundSchema)),
|
|
2481
|
+
),
|
|
2482
|
+
emails: z.optional(
|
|
2483
|
+
z.array(z.lazy(() => SubmitInteractionIdentityEmail$outboundSchema)),
|
|
2484
|
+
),
|
|
2485
|
+
socials: z.optional(
|
|
2486
|
+
z.array(z.lazy(() => SubmitInteractionIdentitySocial$outboundSchema)),
|
|
2487
|
+
),
|
|
2488
|
+
mothersMaidenName: z.optional(z.string()),
|
|
2489
|
+
nationality: z.optional(z.string()),
|
|
1381
2490
|
});
|
|
1382
2491
|
|
|
1383
|
-
export function
|
|
1384
|
-
|
|
2492
|
+
export function submitInteractionIdentityToJSON(
|
|
2493
|
+
submitInteractionIdentity: SubmitInteractionIdentity,
|
|
1385
2494
|
): string {
|
|
1386
2495
|
return JSON.stringify(
|
|
1387
|
-
|
|
1388
|
-
submitInteractionIdentityAlias,
|
|
1389
|
-
),
|
|
2496
|
+
SubmitInteractionIdentity$outboundSchema.parse(submitInteractionIdentity),
|
|
1390
2497
|
);
|
|
1391
2498
|
}
|
|
1392
2499
|
|
|
1393
2500
|
/** @internal */
|
|
1394
|
-
export const
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
);
|
|
1398
|
-
|
|
1399
|
-
/** @internal */
|
|
1400
|
-
export type SubmitInteractionIdentityRelatedPerson$Outbound = {
|
|
1401
|
-
title?: string | undefined;
|
|
1402
|
-
firstName?: string | undefined;
|
|
1403
|
-
middleNames?: Array<string> | undefined;
|
|
1404
|
-
lastNames?: Array<string> | undefined;
|
|
1405
|
-
lastNamesAtBirth?: Array<string> | undefined;
|
|
1406
|
-
relationship: string;
|
|
1407
|
-
};
|
|
2501
|
+
export const SubmitInteractionTypePrimary1$outboundSchema: z.ZodMiniEnum<
|
|
2502
|
+
typeof SubmitInteractionTypePrimary1
|
|
2503
|
+
> = z.enum(SubmitInteractionTypePrimary1);
|
|
1408
2504
|
|
|
1409
2505
|
/** @internal */
|
|
1410
|
-
export const
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
SubmitInteractionIdentityRelatedPerson
|
|
1414
|
-
> = z.object({
|
|
1415
|
-
title: z.optional(z.string()),
|
|
1416
|
-
firstName: z.optional(z.string()),
|
|
1417
|
-
middleNames: z.optional(z.array(z.string())),
|
|
1418
|
-
lastNames: z.optional(z.array(z.string())),
|
|
1419
|
-
lastNamesAtBirth: z.optional(z.array(z.string())),
|
|
1420
|
-
relationship: SubmitInteractionIdentityRelationship$outboundSchema,
|
|
1421
|
-
});
|
|
1422
|
-
|
|
1423
|
-
export function submitInteractionIdentityRelatedPersonToJSON(
|
|
1424
|
-
submitInteractionIdentityRelatedPerson:
|
|
1425
|
-
SubmitInteractionIdentityRelatedPerson,
|
|
1426
|
-
): string {
|
|
1427
|
-
return JSON.stringify(
|
|
1428
|
-
SubmitInteractionIdentityRelatedPerson$outboundSchema.parse(
|
|
1429
|
-
submitInteractionIdentityRelatedPerson,
|
|
1430
|
-
),
|
|
1431
|
-
);
|
|
1432
|
-
}
|
|
2506
|
+
export const SubmitInteractionStatus$outboundSchema: z.ZodMiniEnum<
|
|
2507
|
+
typeof SubmitInteractionStatus
|
|
2508
|
+
> = z.enum(SubmitInteractionStatus);
|
|
1433
2509
|
|
|
1434
2510
|
/** @internal */
|
|
1435
|
-
export type
|
|
2511
|
+
export type SubmitInteractionAddressLocation$Outbound = {
|
|
1436
2512
|
latitude?: string | undefined;
|
|
1437
2513
|
longitude?: string | undefined;
|
|
1438
2514
|
geoAccuracy?: string | undefined;
|
|
@@ -1440,30 +2516,33 @@ export type SubmitInteractionIdentityCurrentAddressLocation$Outbound = {
|
|
|
1440
2516
|
};
|
|
1441
2517
|
|
|
1442
2518
|
/** @internal */
|
|
1443
|
-
export const
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
});
|
|
2519
|
+
export const SubmitInteractionAddressLocation$outboundSchema: z.ZodMiniType<
|
|
2520
|
+
SubmitInteractionAddressLocation$Outbound,
|
|
2521
|
+
SubmitInteractionAddressLocation
|
|
2522
|
+
> = z.object({
|
|
2523
|
+
latitude: z.optional(z.string()),
|
|
2524
|
+
longitude: z.optional(z.string()),
|
|
2525
|
+
geoAccuracy: z.optional(z.string()),
|
|
2526
|
+
what3words: z.optional(z.string()),
|
|
2527
|
+
});
|
|
1453
2528
|
|
|
1454
|
-
export function
|
|
1455
|
-
|
|
1456
|
-
SubmitInteractionIdentityCurrentAddressLocation,
|
|
2529
|
+
export function submitInteractionAddressLocationToJSON(
|
|
2530
|
+
submitInteractionAddressLocation: SubmitInteractionAddressLocation,
|
|
1457
2531
|
): string {
|
|
1458
2532
|
return JSON.stringify(
|
|
1459
|
-
|
|
1460
|
-
|
|
2533
|
+
SubmitInteractionAddressLocation$outboundSchema.parse(
|
|
2534
|
+
submitInteractionAddressLocation,
|
|
1461
2535
|
),
|
|
1462
2536
|
);
|
|
1463
2537
|
}
|
|
1464
2538
|
|
|
1465
2539
|
/** @internal */
|
|
1466
|
-
export
|
|
2540
|
+
export const SubmitInteractionPurpose$outboundSchema: z.ZodMiniEnum<
|
|
2541
|
+
typeof SubmitInteractionPurpose
|
|
2542
|
+
> = z.enum(SubmitInteractionPurpose);
|
|
2543
|
+
|
|
2544
|
+
/** @internal */
|
|
2545
|
+
export type SubmitInteractionAddressPrimary$Outbound = {
|
|
1467
2546
|
lines?: Array<string> | undefined;
|
|
1468
2547
|
addressString?: string | undefined;
|
|
1469
2548
|
premise?: string | undefined;
|
|
@@ -1481,54 +2560,211 @@ export type SubmitInteractionIdentityCurrentAddress$Outbound = {
|
|
|
1481
2560
|
administrativeArea?: string | undefined;
|
|
1482
2561
|
subAdministrativeArea?: string | undefined;
|
|
1483
2562
|
organization?: string | undefined;
|
|
1484
|
-
location?:
|
|
1485
|
-
|
|
1486
|
-
| undefined;
|
|
2563
|
+
location?: SubmitInteractionAddressLocation$Outbound | undefined;
|
|
2564
|
+
purpose?: string | undefined;
|
|
1487
2565
|
};
|
|
1488
2566
|
|
|
1489
2567
|
/** @internal */
|
|
1490
|
-
export const
|
|
2568
|
+
export const SubmitInteractionAddressPrimary$outboundSchema: z.ZodMiniType<
|
|
2569
|
+
SubmitInteractionAddressPrimary$Outbound,
|
|
2570
|
+
SubmitInteractionAddressPrimary
|
|
2571
|
+
> = z.object({
|
|
2572
|
+
lines: z.optional(z.array(z.string())),
|
|
2573
|
+
addressString: z.optional(z.string()),
|
|
2574
|
+
premise: z.optional(z.string()),
|
|
2575
|
+
building: z.optional(z.string()),
|
|
2576
|
+
subBuilding: z.optional(z.string()),
|
|
2577
|
+
thoroughfare: z.optional(z.string()),
|
|
2578
|
+
dependentThoroughfare: z.optional(z.string()),
|
|
2579
|
+
locality: z.optional(z.string()),
|
|
2580
|
+
dependentLocality: z.optional(z.string()),
|
|
2581
|
+
doubleDependentLocality: z.optional(z.string()),
|
|
2582
|
+
postalCode: z.optional(z.string()),
|
|
2583
|
+
postBox: z.optional(z.string()),
|
|
2584
|
+
country: z.optional(z.string()),
|
|
2585
|
+
superAdministrativeArea: z.optional(z.string()),
|
|
2586
|
+
administrativeArea: z.optional(z.string()),
|
|
2587
|
+
subAdministrativeArea: z.optional(z.string()),
|
|
2588
|
+
organization: z.optional(z.string()),
|
|
2589
|
+
location: z.optional(
|
|
2590
|
+
z.lazy(() => SubmitInteractionAddressLocation$outboundSchema),
|
|
2591
|
+
),
|
|
2592
|
+
purpose: z.optional(SubmitInteractionPurpose$outboundSchema),
|
|
2593
|
+
});
|
|
2594
|
+
|
|
2595
|
+
export function submitInteractionAddressPrimaryToJSON(
|
|
2596
|
+
submitInteractionAddressPrimary: SubmitInteractionAddressPrimary,
|
|
2597
|
+
): string {
|
|
2598
|
+
return JSON.stringify(
|
|
2599
|
+
SubmitInteractionAddressPrimary$outboundSchema.parse(
|
|
2600
|
+
submitInteractionAddressPrimary,
|
|
2601
|
+
),
|
|
2602
|
+
);
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
/** @internal */
|
|
2606
|
+
export const SubmitInteractionTaxIdentifierType$outboundSchema: z.ZodMiniEnum<
|
|
2607
|
+
typeof SubmitInteractionTaxIdentifierType
|
|
2608
|
+
> = z.enum(SubmitInteractionTaxIdentifierType);
|
|
2609
|
+
|
|
2610
|
+
/** @internal */
|
|
2611
|
+
export type SubmitInteractionTaxIdentifier$Outbound = {
|
|
2612
|
+
type: string;
|
|
2613
|
+
value: string;
|
|
2614
|
+
country?: string | undefined;
|
|
2615
|
+
};
|
|
2616
|
+
|
|
2617
|
+
/** @internal */
|
|
2618
|
+
export const SubmitInteractionTaxIdentifier$outboundSchema: z.ZodMiniType<
|
|
2619
|
+
SubmitInteractionTaxIdentifier$Outbound,
|
|
2620
|
+
SubmitInteractionTaxIdentifier
|
|
2621
|
+
> = z.object({
|
|
2622
|
+
type: SubmitInteractionTaxIdentifierType$outboundSchema,
|
|
2623
|
+
value: z.string(),
|
|
2624
|
+
country: z.optional(z.string()),
|
|
2625
|
+
});
|
|
2626
|
+
|
|
2627
|
+
export function submitInteractionTaxIdentifierToJSON(
|
|
2628
|
+
submitInteractionTaxIdentifier: SubmitInteractionTaxIdentifier,
|
|
2629
|
+
): string {
|
|
2630
|
+
return JSON.stringify(
|
|
2631
|
+
SubmitInteractionTaxIdentifier$outboundSchema.parse(
|
|
2632
|
+
submitInteractionTaxIdentifier,
|
|
2633
|
+
),
|
|
2634
|
+
);
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
/** @internal */
|
|
2638
|
+
export const SubmitInteractionSystem$outboundSchema: z.ZodMiniEnum<
|
|
2639
|
+
typeof SubmitInteractionSystem
|
|
2640
|
+
> = z.enum(SubmitInteractionSystem);
|
|
2641
|
+
|
|
2642
|
+
/** @internal */
|
|
2643
|
+
export type SubmitInteractionIndustryClassification$Outbound = {
|
|
2644
|
+
system: string;
|
|
2645
|
+
code: string;
|
|
2646
|
+
description?: string | undefined;
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
/** @internal */
|
|
2650
|
+
export const SubmitInteractionIndustryClassification$outboundSchema:
|
|
1491
2651
|
z.ZodMiniType<
|
|
1492
|
-
|
|
1493
|
-
|
|
2652
|
+
SubmitInteractionIndustryClassification$Outbound,
|
|
2653
|
+
SubmitInteractionIndustryClassification
|
|
1494
2654
|
> = z.object({
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
country: z.optional(z.string()),
|
|
1508
|
-
superAdministrativeArea: z.optional(z.string()),
|
|
1509
|
-
administrativeArea: z.optional(z.string()),
|
|
1510
|
-
subAdministrativeArea: z.optional(z.string()),
|
|
1511
|
-
organization: z.optional(z.string()),
|
|
1512
|
-
location: z.optional(
|
|
1513
|
-
z.lazy(() =>
|
|
1514
|
-
SubmitInteractionIdentityCurrentAddressLocation$outboundSchema
|
|
1515
|
-
),
|
|
2655
|
+
system: SubmitInteractionSystem$outboundSchema,
|
|
2656
|
+
code: z.string(),
|
|
2657
|
+
description: z.optional(z.string()),
|
|
2658
|
+
});
|
|
2659
|
+
|
|
2660
|
+
export function submitInteractionIndustryClassificationToJSON(
|
|
2661
|
+
submitInteractionIndustryClassification:
|
|
2662
|
+
SubmitInteractionIndustryClassification,
|
|
2663
|
+
): string {
|
|
2664
|
+
return JSON.stringify(
|
|
2665
|
+
SubmitInteractionIndustryClassification$outboundSchema.parse(
|
|
2666
|
+
submitInteractionIndustryClassification,
|
|
1516
2667
|
),
|
|
2668
|
+
);
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
/** @internal */
|
|
2672
|
+
export const SubmitInteractionRegistrationType$outboundSchema: z.ZodMiniEnum<
|
|
2673
|
+
typeof SubmitInteractionRegistrationType
|
|
2674
|
+
> = z.enum(SubmitInteractionRegistrationType);
|
|
2675
|
+
|
|
2676
|
+
/** @internal */
|
|
2677
|
+
export type SubmitInteractionRegisteredAddressLocation$Outbound = {
|
|
2678
|
+
latitude?: string | undefined;
|
|
2679
|
+
longitude?: string | undefined;
|
|
2680
|
+
geoAccuracy?: string | undefined;
|
|
2681
|
+
what3words?: string | undefined;
|
|
2682
|
+
};
|
|
2683
|
+
|
|
2684
|
+
/** @internal */
|
|
2685
|
+
export const SubmitInteractionRegisteredAddressLocation$outboundSchema:
|
|
2686
|
+
z.ZodMiniType<
|
|
2687
|
+
SubmitInteractionRegisteredAddressLocation$Outbound,
|
|
2688
|
+
SubmitInteractionRegisteredAddressLocation
|
|
2689
|
+
> = z.object({
|
|
2690
|
+
latitude: z.optional(z.string()),
|
|
2691
|
+
longitude: z.optional(z.string()),
|
|
2692
|
+
geoAccuracy: z.optional(z.string()),
|
|
2693
|
+
what3words: z.optional(z.string()),
|
|
1517
2694
|
});
|
|
1518
2695
|
|
|
1519
|
-
export function
|
|
1520
|
-
|
|
1521
|
-
|
|
2696
|
+
export function submitInteractionRegisteredAddressLocationToJSON(
|
|
2697
|
+
submitInteractionRegisteredAddressLocation:
|
|
2698
|
+
SubmitInteractionRegisteredAddressLocation,
|
|
2699
|
+
): string {
|
|
2700
|
+
return JSON.stringify(
|
|
2701
|
+
SubmitInteractionRegisteredAddressLocation$outboundSchema.parse(
|
|
2702
|
+
submitInteractionRegisteredAddressLocation,
|
|
2703
|
+
),
|
|
2704
|
+
);
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
/** @internal */
|
|
2708
|
+
export type SubmitInteractionRegisteredAddress$Outbound = {
|
|
2709
|
+
lines?: Array<string> | undefined;
|
|
2710
|
+
addressString?: string | undefined;
|
|
2711
|
+
premise?: string | undefined;
|
|
2712
|
+
building?: string | undefined;
|
|
2713
|
+
subBuilding?: string | undefined;
|
|
2714
|
+
thoroughfare?: string | undefined;
|
|
2715
|
+
dependentThoroughfare?: string | undefined;
|
|
2716
|
+
locality?: string | undefined;
|
|
2717
|
+
dependentLocality?: string | undefined;
|
|
2718
|
+
doubleDependentLocality?: string | undefined;
|
|
2719
|
+
postalCode?: string | undefined;
|
|
2720
|
+
postBox?: string | undefined;
|
|
2721
|
+
country?: string | undefined;
|
|
2722
|
+
superAdministrativeArea?: string | undefined;
|
|
2723
|
+
administrativeArea?: string | undefined;
|
|
2724
|
+
subAdministrativeArea?: string | undefined;
|
|
2725
|
+
organization?: string | undefined;
|
|
2726
|
+
location?: SubmitInteractionRegisteredAddressLocation$Outbound | undefined;
|
|
2727
|
+
};
|
|
2728
|
+
|
|
2729
|
+
/** @internal */
|
|
2730
|
+
export const SubmitInteractionRegisteredAddress$outboundSchema: z.ZodMiniType<
|
|
2731
|
+
SubmitInteractionRegisteredAddress$Outbound,
|
|
2732
|
+
SubmitInteractionRegisteredAddress
|
|
2733
|
+
> = z.object({
|
|
2734
|
+
lines: z.optional(z.array(z.string())),
|
|
2735
|
+
addressString: z.optional(z.string()),
|
|
2736
|
+
premise: z.optional(z.string()),
|
|
2737
|
+
building: z.optional(z.string()),
|
|
2738
|
+
subBuilding: z.optional(z.string()),
|
|
2739
|
+
thoroughfare: z.optional(z.string()),
|
|
2740
|
+
dependentThoroughfare: z.optional(z.string()),
|
|
2741
|
+
locality: z.optional(z.string()),
|
|
2742
|
+
dependentLocality: z.optional(z.string()),
|
|
2743
|
+
doubleDependentLocality: z.optional(z.string()),
|
|
2744
|
+
postalCode: z.optional(z.string()),
|
|
2745
|
+
postBox: z.optional(z.string()),
|
|
2746
|
+
country: z.optional(z.string()),
|
|
2747
|
+
superAdministrativeArea: z.optional(z.string()),
|
|
2748
|
+
administrativeArea: z.optional(z.string()),
|
|
2749
|
+
subAdministrativeArea: z.optional(z.string()),
|
|
2750
|
+
organization: z.optional(z.string()),
|
|
2751
|
+
location: z.optional(
|
|
2752
|
+
z.lazy(() => SubmitInteractionRegisteredAddressLocation$outboundSchema),
|
|
2753
|
+
),
|
|
2754
|
+
});
|
|
2755
|
+
|
|
2756
|
+
export function submitInteractionRegisteredAddressToJSON(
|
|
2757
|
+
submitInteractionRegisteredAddress: SubmitInteractionRegisteredAddress,
|
|
1522
2758
|
): string {
|
|
1523
2759
|
return JSON.stringify(
|
|
1524
|
-
|
|
1525
|
-
|
|
2760
|
+
SubmitInteractionRegisteredAddress$outboundSchema.parse(
|
|
2761
|
+
submitInteractionRegisteredAddress,
|
|
1526
2762
|
),
|
|
1527
2763
|
);
|
|
1528
2764
|
}
|
|
1529
2765
|
|
|
1530
2766
|
/** @internal */
|
|
1531
|
-
export type
|
|
2767
|
+
export type SubmitInteractionAgentAddressLocation$Outbound = {
|
|
1532
2768
|
latitude?: string | undefined;
|
|
1533
2769
|
longitude?: string | undefined;
|
|
1534
2770
|
geoAccuracy?: string | undefined;
|
|
@@ -1536,10 +2772,10 @@ export type SubmitInteractionIdentityPreviousAddressLocation$Outbound = {
|
|
|
1536
2772
|
};
|
|
1537
2773
|
|
|
1538
2774
|
/** @internal */
|
|
1539
|
-
export const
|
|
2775
|
+
export const SubmitInteractionAgentAddressLocation$outboundSchema:
|
|
1540
2776
|
z.ZodMiniType<
|
|
1541
|
-
|
|
1542
|
-
|
|
2777
|
+
SubmitInteractionAgentAddressLocation$Outbound,
|
|
2778
|
+
SubmitInteractionAgentAddressLocation
|
|
1543
2779
|
> = z.object({
|
|
1544
2780
|
latitude: z.optional(z.string()),
|
|
1545
2781
|
longitude: z.optional(z.string()),
|
|
@@ -1547,19 +2783,18 @@ export const SubmitInteractionIdentityPreviousAddressLocation$outboundSchema:
|
|
|
1547
2783
|
what3words: z.optional(z.string()),
|
|
1548
2784
|
});
|
|
1549
2785
|
|
|
1550
|
-
export function
|
|
1551
|
-
|
|
1552
|
-
SubmitInteractionIdentityPreviousAddressLocation,
|
|
2786
|
+
export function submitInteractionAgentAddressLocationToJSON(
|
|
2787
|
+
submitInteractionAgentAddressLocation: SubmitInteractionAgentAddressLocation,
|
|
1553
2788
|
): string {
|
|
1554
2789
|
return JSON.stringify(
|
|
1555
|
-
|
|
1556
|
-
|
|
2790
|
+
SubmitInteractionAgentAddressLocation$outboundSchema.parse(
|
|
2791
|
+
submitInteractionAgentAddressLocation,
|
|
1557
2792
|
),
|
|
1558
2793
|
);
|
|
1559
2794
|
}
|
|
1560
2795
|
|
|
1561
2796
|
/** @internal */
|
|
1562
|
-
export type
|
|
2797
|
+
export type SubmitInteractionAgentAddress$Outbound = {
|
|
1563
2798
|
lines?: Array<string> | undefined;
|
|
1564
2799
|
addressString?: string | undefined;
|
|
1565
2800
|
premise?: string | undefined;
|
|
@@ -1577,58 +2812,99 @@ export type SubmitInteractionIdentityPreviousAddress$Outbound = {
|
|
|
1577
2812
|
administrativeArea?: string | undefined;
|
|
1578
2813
|
subAdministrativeArea?: string | undefined;
|
|
1579
2814
|
organization?: string | undefined;
|
|
1580
|
-
location?:
|
|
1581
|
-
| SubmitInteractionIdentityPreviousAddressLocation$Outbound
|
|
1582
|
-
| undefined;
|
|
1583
|
-
fromDate: string;
|
|
1584
|
-
toDate: string;
|
|
2815
|
+
location?: SubmitInteractionAgentAddressLocation$Outbound | undefined;
|
|
1585
2816
|
};
|
|
1586
2817
|
|
|
1587
2818
|
/** @internal */
|
|
1588
|
-
export const
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
2819
|
+
export const SubmitInteractionAgentAddress$outboundSchema: z.ZodMiniType<
|
|
2820
|
+
SubmitInteractionAgentAddress$Outbound,
|
|
2821
|
+
SubmitInteractionAgentAddress
|
|
2822
|
+
> = z.object({
|
|
2823
|
+
lines: z.optional(z.array(z.string())),
|
|
2824
|
+
addressString: z.optional(z.string()),
|
|
2825
|
+
premise: z.optional(z.string()),
|
|
2826
|
+
building: z.optional(z.string()),
|
|
2827
|
+
subBuilding: z.optional(z.string()),
|
|
2828
|
+
thoroughfare: z.optional(z.string()),
|
|
2829
|
+
dependentThoroughfare: z.optional(z.string()),
|
|
2830
|
+
locality: z.optional(z.string()),
|
|
2831
|
+
dependentLocality: z.optional(z.string()),
|
|
2832
|
+
doubleDependentLocality: z.optional(z.string()),
|
|
2833
|
+
postalCode: z.optional(z.string()),
|
|
2834
|
+
postBox: z.optional(z.string()),
|
|
2835
|
+
country: z.optional(z.string()),
|
|
2836
|
+
superAdministrativeArea: z.optional(z.string()),
|
|
2837
|
+
administrativeArea: z.optional(z.string()),
|
|
2838
|
+
subAdministrativeArea: z.optional(z.string()),
|
|
2839
|
+
organization: z.optional(z.string()),
|
|
2840
|
+
location: z.optional(
|
|
2841
|
+
z.lazy(() => SubmitInteractionAgentAddressLocation$outboundSchema),
|
|
2842
|
+
),
|
|
2843
|
+
});
|
|
2844
|
+
|
|
2845
|
+
export function submitInteractionAgentAddressToJSON(
|
|
2846
|
+
submitInteractionAgentAddress: SubmitInteractionAgentAddress,
|
|
2847
|
+
): string {
|
|
2848
|
+
return JSON.stringify(
|
|
2849
|
+
SubmitInteractionAgentAddress$outboundSchema.parse(
|
|
2850
|
+
submitInteractionAgentAddress,
|
|
1614
2851
|
),
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
});
|
|
2852
|
+
);
|
|
2853
|
+
}
|
|
1618
2854
|
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
2855
|
+
/** @internal */
|
|
2856
|
+
export type SubmitInteractionRegistration$Outbound = {
|
|
2857
|
+
jurisdiction?: string | undefined;
|
|
2858
|
+
registrationType?: string | undefined;
|
|
2859
|
+
fileNumber?: string | undefined;
|
|
2860
|
+
issueDate?: string | undefined;
|
|
2861
|
+
registeredAddress?: SubmitInteractionRegisteredAddress$Outbound | undefined;
|
|
2862
|
+
agentName?: string | undefined;
|
|
2863
|
+
agentAddress?: SubmitInteractionAgentAddress$Outbound | undefined;
|
|
2864
|
+
};
|
|
2865
|
+
|
|
2866
|
+
/** @internal */
|
|
2867
|
+
export const SubmitInteractionRegistration$outboundSchema: z.ZodMiniType<
|
|
2868
|
+
SubmitInteractionRegistration$Outbound,
|
|
2869
|
+
SubmitInteractionRegistration
|
|
2870
|
+
> = z.object({
|
|
2871
|
+
jurisdiction: z.optional(z.string()),
|
|
2872
|
+
registrationType: z.optional(
|
|
2873
|
+
SubmitInteractionRegistrationType$outboundSchema,
|
|
2874
|
+
),
|
|
2875
|
+
fileNumber: z.optional(z.string()),
|
|
2876
|
+
issueDate: z.optional(z.string()),
|
|
2877
|
+
registeredAddress: z.optional(
|
|
2878
|
+
z.lazy(() => SubmitInteractionRegisteredAddress$outboundSchema),
|
|
2879
|
+
),
|
|
2880
|
+
agentName: z.optional(z.string()),
|
|
2881
|
+
agentAddress: z.optional(
|
|
2882
|
+
z.lazy(() => SubmitInteractionAgentAddress$outboundSchema),
|
|
2883
|
+
),
|
|
2884
|
+
});
|
|
2885
|
+
|
|
2886
|
+
export function submitInteractionRegistrationToJSON(
|
|
2887
|
+
submitInteractionRegistration: SubmitInteractionRegistration,
|
|
1622
2888
|
): string {
|
|
1623
2889
|
return JSON.stringify(
|
|
1624
|
-
|
|
1625
|
-
|
|
2890
|
+
SubmitInteractionRegistration$outboundSchema.parse(
|
|
2891
|
+
submitInteractionRegistration,
|
|
1626
2892
|
),
|
|
1627
2893
|
);
|
|
1628
2894
|
}
|
|
1629
2895
|
|
|
1630
2896
|
/** @internal */
|
|
1631
|
-
export
|
|
2897
|
+
export const SubmitInteractionTypePrimary2$outboundSchema: z.ZodMiniEnum<
|
|
2898
|
+
typeof SubmitInteractionTypePrimary2
|
|
2899
|
+
> = z.enum(SubmitInteractionTypePrimary2);
|
|
2900
|
+
|
|
2901
|
+
/** @internal */
|
|
2902
|
+
export const SubmitInteractionRole$outboundSchema: z.ZodMiniEnum<
|
|
2903
|
+
typeof SubmitInteractionRole
|
|
2904
|
+
> = z.enum(SubmitInteractionRole);
|
|
2905
|
+
|
|
2906
|
+
/** @internal */
|
|
2907
|
+
export type SubmitInteractionCurrentAddressLocationPrimary$Outbound = {
|
|
1632
2908
|
latitude?: string | undefined;
|
|
1633
2909
|
longitude?: string | undefined;
|
|
1634
2910
|
geoAccuracy?: string | undefined;
|
|
@@ -1636,10 +2912,10 @@ export type SubmitInteractionIdentityPlaceOfBirthLocation$Outbound = {
|
|
|
1636
2912
|
};
|
|
1637
2913
|
|
|
1638
2914
|
/** @internal */
|
|
1639
|
-
export const
|
|
2915
|
+
export const SubmitInteractionCurrentAddressLocationPrimary$outboundSchema:
|
|
1640
2916
|
z.ZodMiniType<
|
|
1641
|
-
|
|
1642
|
-
|
|
2917
|
+
SubmitInteractionCurrentAddressLocationPrimary$Outbound,
|
|
2918
|
+
SubmitInteractionCurrentAddressLocationPrimary
|
|
1643
2919
|
> = z.object({
|
|
1644
2920
|
latitude: z.optional(z.string()),
|
|
1645
2921
|
longitude: z.optional(z.string()),
|
|
@@ -1647,19 +2923,19 @@ export const SubmitInteractionIdentityPlaceOfBirthLocation$outboundSchema:
|
|
|
1647
2923
|
what3words: z.optional(z.string()),
|
|
1648
2924
|
});
|
|
1649
2925
|
|
|
1650
|
-
export function
|
|
1651
|
-
|
|
1652
|
-
|
|
2926
|
+
export function submitInteractionCurrentAddressLocationPrimaryToJSON(
|
|
2927
|
+
submitInteractionCurrentAddressLocationPrimary:
|
|
2928
|
+
SubmitInteractionCurrentAddressLocationPrimary,
|
|
1653
2929
|
): string {
|
|
1654
2930
|
return JSON.stringify(
|
|
1655
|
-
|
|
1656
|
-
|
|
2931
|
+
SubmitInteractionCurrentAddressLocationPrimary$outboundSchema.parse(
|
|
2932
|
+
submitInteractionCurrentAddressLocationPrimary,
|
|
1657
2933
|
),
|
|
1658
2934
|
);
|
|
1659
2935
|
}
|
|
1660
2936
|
|
|
1661
2937
|
/** @internal */
|
|
1662
|
-
export type
|
|
2938
|
+
export type SubmitInteractionCurrentAddressPrimary$Outbound = {
|
|
1663
2939
|
lines?: Array<string> | undefined;
|
|
1664
2940
|
addressString?: string | undefined;
|
|
1665
2941
|
premise?: string | undefined;
|
|
@@ -1677,14 +2953,16 @@ export type SubmitInteractionIdentityPlaceOfBirth$Outbound = {
|
|
|
1677
2953
|
administrativeArea?: string | undefined;
|
|
1678
2954
|
subAdministrativeArea?: string | undefined;
|
|
1679
2955
|
organization?: string | undefined;
|
|
1680
|
-
location?:
|
|
2956
|
+
location?:
|
|
2957
|
+
| SubmitInteractionCurrentAddressLocationPrimary$Outbound
|
|
2958
|
+
| undefined;
|
|
1681
2959
|
};
|
|
1682
2960
|
|
|
1683
2961
|
/** @internal */
|
|
1684
|
-
export const
|
|
2962
|
+
export const SubmitInteractionCurrentAddressPrimary$outboundSchema:
|
|
1685
2963
|
z.ZodMiniType<
|
|
1686
|
-
|
|
1687
|
-
|
|
2964
|
+
SubmitInteractionCurrentAddressPrimary$Outbound,
|
|
2965
|
+
SubmitInteractionCurrentAddressPrimary
|
|
1688
2966
|
> = z.object({
|
|
1689
2967
|
lines: z.optional(z.array(z.string())),
|
|
1690
2968
|
addressString: z.optional(z.string()),
|
|
@@ -1705,204 +2983,175 @@ export const SubmitInteractionIdentityPlaceOfBirth$outboundSchema:
|
|
|
1705
2983
|
organization: z.optional(z.string()),
|
|
1706
2984
|
location: z.optional(
|
|
1707
2985
|
z.lazy(() =>
|
|
1708
|
-
|
|
2986
|
+
SubmitInteractionCurrentAddressLocationPrimary$outboundSchema
|
|
1709
2987
|
),
|
|
1710
2988
|
),
|
|
1711
2989
|
});
|
|
1712
2990
|
|
|
1713
|
-
export function
|
|
1714
|
-
|
|
2991
|
+
export function submitInteractionCurrentAddressPrimaryToJSON(
|
|
2992
|
+
submitInteractionCurrentAddressPrimary:
|
|
2993
|
+
SubmitInteractionCurrentAddressPrimary,
|
|
1715
2994
|
): string {
|
|
1716
2995
|
return JSON.stringify(
|
|
1717
|
-
|
|
1718
|
-
|
|
2996
|
+
SubmitInteractionCurrentAddressPrimary$outboundSchema.parse(
|
|
2997
|
+
submitInteractionCurrentAddressPrimary,
|
|
1719
2998
|
),
|
|
1720
2999
|
);
|
|
1721
3000
|
}
|
|
1722
3001
|
|
|
1723
3002
|
/** @internal */
|
|
1724
|
-
export type
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
3003
|
+
export type SubmitInteractionPerson$Outbound = {
|
|
3004
|
+
title?: string | undefined;
|
|
3005
|
+
firstName?: string | undefined;
|
|
3006
|
+
middleNames?: Array<string> | undefined;
|
|
3007
|
+
lastNames?: Array<string> | undefined;
|
|
3008
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
3009
|
+
id?: string | undefined;
|
|
3010
|
+
type?: string | undefined;
|
|
3011
|
+
role?: string | undefined;
|
|
3012
|
+
position?: string | undefined;
|
|
3013
|
+
ownershipPercentage?: number | undefined;
|
|
3014
|
+
nationality?: string | undefined;
|
|
3015
|
+
dateOfBirth?: string | undefined;
|
|
3016
|
+
startDate?: string | undefined;
|
|
3017
|
+
endDate?: string | undefined;
|
|
3018
|
+
currentAddress?: SubmitInteractionCurrentAddressPrimary$Outbound | undefined;
|
|
1728
3019
|
};
|
|
1729
3020
|
|
|
1730
3021
|
/** @internal */
|
|
1731
|
-
export const
|
|
1732
|
-
|
|
1733
|
-
|
|
3022
|
+
export const SubmitInteractionPerson$outboundSchema: z.ZodMiniType<
|
|
3023
|
+
SubmitInteractionPerson$Outbound,
|
|
3024
|
+
SubmitInteractionPerson
|
|
1734
3025
|
> = z.object({
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
3026
|
+
title: z.optional(z.string()),
|
|
3027
|
+
firstName: z.optional(z.string()),
|
|
3028
|
+
middleNames: z.optional(z.array(z.string())),
|
|
3029
|
+
lastNames: z.optional(z.array(z.string())),
|
|
3030
|
+
lastNamesAtBirth: z.optional(z.array(z.string())),
|
|
3031
|
+
id: z.optional(z.string()),
|
|
3032
|
+
type: z.optional(SubmitInteractionTypePrimary2$outboundSchema),
|
|
3033
|
+
role: z.optional(SubmitInteractionRole$outboundSchema),
|
|
3034
|
+
position: z.optional(z.string()),
|
|
3035
|
+
ownershipPercentage: z.optional(z.number()),
|
|
3036
|
+
nationality: z.optional(z.string()),
|
|
3037
|
+
dateOfBirth: z.optional(z.string()),
|
|
3038
|
+
startDate: z.optional(z.string()),
|
|
3039
|
+
endDate: z.optional(z.string()),
|
|
3040
|
+
currentAddress: z.optional(
|
|
3041
|
+
z.lazy(() => SubmitInteractionCurrentAddressPrimary$outboundSchema),
|
|
3042
|
+
),
|
|
1738
3043
|
});
|
|
1739
3044
|
|
|
1740
|
-
export function
|
|
1741
|
-
|
|
3045
|
+
export function submitInteractionPersonToJSON(
|
|
3046
|
+
submitInteractionPerson: SubmitInteractionPerson,
|
|
1742
3047
|
): string {
|
|
1743
3048
|
return JSON.stringify(
|
|
1744
|
-
|
|
1745
|
-
submitInteractionIdentityIdNumber,
|
|
1746
|
-
),
|
|
3049
|
+
SubmitInteractionPerson$outboundSchema.parse(submitInteractionPerson),
|
|
1747
3050
|
);
|
|
1748
3051
|
}
|
|
1749
3052
|
|
|
1750
3053
|
/** @internal */
|
|
1751
|
-
export type
|
|
3054
|
+
export type SubmitInteractionPhonePrimary$Outbound = {
|
|
1752
3055
|
type: string;
|
|
1753
3056
|
number: string;
|
|
1754
3057
|
};
|
|
1755
3058
|
|
|
1756
3059
|
/** @internal */
|
|
1757
|
-
export const
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
> = z.object({
|
|
1761
|
-
type: z.string(),
|
|
1762
|
-
number: z.string(),
|
|
1763
|
-
});
|
|
1764
|
-
|
|
1765
|
-
export function submitInteractionIdentityPhoneToJSON(
|
|
1766
|
-
submitInteractionIdentityPhone: SubmitInteractionIdentityPhone,
|
|
1767
|
-
): string {
|
|
1768
|
-
return JSON.stringify(
|
|
1769
|
-
SubmitInteractionIdentityPhone$outboundSchema.parse(
|
|
1770
|
-
submitInteractionIdentityPhone,
|
|
1771
|
-
),
|
|
1772
|
-
);
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
/** @internal */
|
|
1776
|
-
export type SubmitInteractionIdentityEmail$Outbound = {
|
|
1777
|
-
type: string;
|
|
1778
|
-
email: string;
|
|
1779
|
-
};
|
|
1780
|
-
|
|
1781
|
-
/** @internal */
|
|
1782
|
-
export const SubmitInteractionIdentityEmail$outboundSchema: z.ZodMiniType<
|
|
1783
|
-
SubmitInteractionIdentityEmail$Outbound,
|
|
1784
|
-
SubmitInteractionIdentityEmail
|
|
1785
|
-
> = z.object({
|
|
1786
|
-
type: z.string(),
|
|
1787
|
-
email: z.string(),
|
|
1788
|
-
});
|
|
1789
|
-
|
|
1790
|
-
export function submitInteractionIdentityEmailToJSON(
|
|
1791
|
-
submitInteractionIdentityEmail: SubmitInteractionIdentityEmail,
|
|
1792
|
-
): string {
|
|
1793
|
-
return JSON.stringify(
|
|
1794
|
-
SubmitInteractionIdentityEmail$outboundSchema.parse(
|
|
1795
|
-
submitInteractionIdentityEmail,
|
|
1796
|
-
),
|
|
1797
|
-
);
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
/** @internal */
|
|
1801
|
-
export type SubmitInteractionIdentitySocial$Outbound = {
|
|
1802
|
-
type: string;
|
|
1803
|
-
identity: string;
|
|
1804
|
-
};
|
|
1805
|
-
|
|
1806
|
-
/** @internal */
|
|
1807
|
-
export const SubmitInteractionIdentitySocial$outboundSchema: z.ZodMiniType<
|
|
1808
|
-
SubmitInteractionIdentitySocial$Outbound,
|
|
1809
|
-
SubmitInteractionIdentitySocial
|
|
1810
|
-
> = z.object({
|
|
1811
|
-
type: z.string(),
|
|
1812
|
-
identity: z.string(),
|
|
1813
|
-
});
|
|
1814
|
-
|
|
1815
|
-
export function submitInteractionIdentitySocialToJSON(
|
|
1816
|
-
submitInteractionIdentitySocial: SubmitInteractionIdentitySocial,
|
|
1817
|
-
): string {
|
|
1818
|
-
return JSON.stringify(
|
|
1819
|
-
SubmitInteractionIdentitySocial$outboundSchema.parse(
|
|
1820
|
-
submitInteractionIdentitySocial,
|
|
1821
|
-
),
|
|
1822
|
-
);
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
/** @internal */
|
|
1826
|
-
export type SubmitInteractionIdentity$Outbound = {
|
|
1827
|
-
title?: string | undefined;
|
|
1828
|
-
firstName?: string | undefined;
|
|
1829
|
-
middleNames?: Array<string> | undefined;
|
|
1830
|
-
lastNames?: Array<string> | undefined;
|
|
1831
|
-
lastNamesAtBirth?: Array<string> | undefined;
|
|
1832
|
-
aliases?: Array<SubmitInteractionIdentityAlias$Outbound> | undefined;
|
|
1833
|
-
relatedPersons?:
|
|
1834
|
-
| Array<SubmitInteractionIdentityRelatedPerson$Outbound>
|
|
1835
|
-
| undefined;
|
|
1836
|
-
dateOfBirth?: string | undefined;
|
|
1837
|
-
gender?: string | undefined;
|
|
1838
|
-
currentAddress?: SubmitInteractionIdentityCurrentAddress$Outbound | undefined;
|
|
1839
|
-
previousAddresses?:
|
|
1840
|
-
| Array<SubmitInteractionIdentityPreviousAddress$Outbound>
|
|
1841
|
-
| undefined;
|
|
1842
|
-
placeOfBirth?: SubmitInteractionIdentityPlaceOfBirth$Outbound | undefined;
|
|
1843
|
-
idNumbers?: Array<SubmitInteractionIdentityIdNumber$Outbound> | undefined;
|
|
1844
|
-
phones?: Array<SubmitInteractionIdentityPhone$Outbound> | undefined;
|
|
1845
|
-
emails?: Array<SubmitInteractionIdentityEmail$Outbound> | undefined;
|
|
1846
|
-
socials?: Array<SubmitInteractionIdentitySocial$Outbound> | undefined;
|
|
1847
|
-
mothersMaidenName?: string | undefined;
|
|
1848
|
-
};
|
|
1849
|
-
|
|
1850
|
-
/** @internal */
|
|
1851
|
-
export const SubmitInteractionIdentity$outboundSchema: z.ZodMiniType<
|
|
1852
|
-
SubmitInteractionIdentity$Outbound,
|
|
1853
|
-
SubmitInteractionIdentity
|
|
3060
|
+
export const SubmitInteractionPhonePrimary$outboundSchema: z.ZodMiniType<
|
|
3061
|
+
SubmitInteractionPhonePrimary$Outbound,
|
|
3062
|
+
SubmitInteractionPhonePrimary
|
|
1854
3063
|
> = z.object({
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
z.lazy(() => SubmitInteractionIdentityRelatedPerson$outboundSchema),
|
|
3064
|
+
type: z.string(),
|
|
3065
|
+
number: z.string(),
|
|
3066
|
+
});
|
|
3067
|
+
|
|
3068
|
+
export function submitInteractionPhonePrimaryToJSON(
|
|
3069
|
+
submitInteractionPhonePrimary: SubmitInteractionPhonePrimary,
|
|
3070
|
+
): string {
|
|
3071
|
+
return JSON.stringify(
|
|
3072
|
+
SubmitInteractionPhonePrimary$outboundSchema.parse(
|
|
3073
|
+
submitInteractionPhonePrimary,
|
|
1866
3074
|
),
|
|
3075
|
+
);
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
/** @internal */
|
|
3079
|
+
export type SubmitInteractionEntity$Outbound = {
|
|
3080
|
+
id?: string | undefined;
|
|
3081
|
+
type?: string | undefined;
|
|
3082
|
+
name?: string | undefined;
|
|
3083
|
+
aliases?: Array<string> | undefined;
|
|
3084
|
+
businessType?: string | undefined;
|
|
3085
|
+
status?: string | undefined;
|
|
3086
|
+
description?: string | undefined;
|
|
3087
|
+
addresses?: Array<SubmitInteractionAddressPrimary$Outbound> | undefined;
|
|
3088
|
+
taxIdentifiers?: Array<SubmitInteractionTaxIdentifier$Outbound> | undefined;
|
|
3089
|
+
companyNumber?: string | undefined;
|
|
3090
|
+
industryClassifications?:
|
|
3091
|
+
| Array<SubmitInteractionIndustryClassification$Outbound>
|
|
3092
|
+
| undefined;
|
|
3093
|
+
registrations?: Array<SubmitInteractionRegistration$Outbound> | undefined;
|
|
3094
|
+
corporateStructure?: string | undefined;
|
|
3095
|
+
persons?: Array<SubmitInteractionPerson$Outbound> | undefined;
|
|
3096
|
+
incorporationDate?: string | undefined;
|
|
3097
|
+
dissolutionDate?: string | undefined;
|
|
3098
|
+
phones?: Array<SubmitInteractionPhonePrimary$Outbound> | undefined;
|
|
3099
|
+
websites?: Array<string> | undefined;
|
|
3100
|
+
headcount?: number | undefined;
|
|
3101
|
+
isNonProfit?: boolean | undefined;
|
|
3102
|
+
};
|
|
3103
|
+
|
|
3104
|
+
/** @internal */
|
|
3105
|
+
export const SubmitInteractionEntity$outboundSchema: z.ZodMiniType<
|
|
3106
|
+
SubmitInteractionEntity$Outbound,
|
|
3107
|
+
SubmitInteractionEntity
|
|
3108
|
+
> = z.object({
|
|
3109
|
+
id: z.optional(z.string()),
|
|
3110
|
+
type: z.optional(SubmitInteractionTypePrimary1$outboundSchema),
|
|
3111
|
+
name: z.optional(z.string()),
|
|
3112
|
+
aliases: z.optional(z.array(z.string())),
|
|
3113
|
+
businessType: z.optional(z.string()),
|
|
3114
|
+
status: z.optional(SubmitInteractionStatus$outboundSchema),
|
|
3115
|
+
description: z.optional(z.string()),
|
|
3116
|
+
addresses: z.optional(
|
|
3117
|
+
z.array(z.lazy(() => SubmitInteractionAddressPrimary$outboundSchema)),
|
|
1867
3118
|
),
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
currentAddress: z.optional(
|
|
1871
|
-
z.lazy(() => SubmitInteractionIdentityCurrentAddress$outboundSchema),
|
|
3119
|
+
taxIdentifiers: z.optional(
|
|
3120
|
+
z.array(z.lazy(() => SubmitInteractionTaxIdentifier$outboundSchema)),
|
|
1872
3121
|
),
|
|
1873
|
-
|
|
3122
|
+
companyNumber: z.optional(z.string()),
|
|
3123
|
+
industryClassifications: z.optional(
|
|
1874
3124
|
z.array(
|
|
1875
|
-
z.lazy(() =>
|
|
3125
|
+
z.lazy(() => SubmitInteractionIndustryClassification$outboundSchema),
|
|
1876
3126
|
),
|
|
1877
3127
|
),
|
|
1878
|
-
|
|
1879
|
-
z.lazy(() =>
|
|
3128
|
+
registrations: z.optional(
|
|
3129
|
+
z.array(z.lazy(() => SubmitInteractionRegistration$outboundSchema)),
|
|
1880
3130
|
),
|
|
1881
|
-
|
|
1882
|
-
|
|
3131
|
+
corporateStructure: z.optional(z.string()),
|
|
3132
|
+
persons: z.optional(
|
|
3133
|
+
z.array(z.lazy(() => SubmitInteractionPerson$outboundSchema)),
|
|
1883
3134
|
),
|
|
3135
|
+
incorporationDate: z.optional(z.string()),
|
|
3136
|
+
dissolutionDate: z.optional(z.string()),
|
|
1884
3137
|
phones: z.optional(
|
|
1885
|
-
z.array(z.lazy(() =>
|
|
1886
|
-
),
|
|
1887
|
-
emails: z.optional(
|
|
1888
|
-
z.array(z.lazy(() => SubmitInteractionIdentityEmail$outboundSchema)),
|
|
1889
|
-
),
|
|
1890
|
-
socials: z.optional(
|
|
1891
|
-
z.array(z.lazy(() => SubmitInteractionIdentitySocial$outboundSchema)),
|
|
3138
|
+
z.array(z.lazy(() => SubmitInteractionPhonePrimary$outboundSchema)),
|
|
1892
3139
|
),
|
|
1893
|
-
|
|
3140
|
+
websites: z.optional(z.array(z.string())),
|
|
3141
|
+
headcount: z.optional(z.int()),
|
|
3142
|
+
isNonProfit: z.optional(z.boolean()),
|
|
1894
3143
|
});
|
|
1895
3144
|
|
|
1896
|
-
export function
|
|
1897
|
-
|
|
3145
|
+
export function submitInteractionEntityToJSON(
|
|
3146
|
+
submitInteractionEntity: SubmitInteractionEntity,
|
|
1898
3147
|
): string {
|
|
1899
3148
|
return JSON.stringify(
|
|
1900
|
-
|
|
3149
|
+
SubmitInteractionEntity$outboundSchema.parse(submitInteractionEntity),
|
|
1901
3150
|
);
|
|
1902
3151
|
}
|
|
1903
3152
|
|
|
1904
3153
|
/** @internal */
|
|
1905
|
-
export type
|
|
3154
|
+
export type SubmitInteractionDocumentAddress$Outbound = {
|
|
1906
3155
|
addressString?: string | undefined;
|
|
1907
3156
|
extractedAddressString?: string | undefined;
|
|
1908
3157
|
addressLine1?: string | undefined;
|
|
@@ -1913,9 +3162,9 @@ export type SubmitInteractionAddress$Outbound = {
|
|
|
1913
3162
|
};
|
|
1914
3163
|
|
|
1915
3164
|
/** @internal */
|
|
1916
|
-
export const
|
|
1917
|
-
|
|
1918
|
-
|
|
3165
|
+
export const SubmitInteractionDocumentAddress$outboundSchema: z.ZodMiniType<
|
|
3166
|
+
SubmitInteractionDocumentAddress$Outbound,
|
|
3167
|
+
SubmitInteractionDocumentAddress
|
|
1919
3168
|
> = z.object({
|
|
1920
3169
|
addressString: z.optional(z.string()),
|
|
1921
3170
|
extractedAddressString: z.optional(z.string()),
|
|
@@ -1926,11 +3175,13 @@ export const SubmitInteractionAddress$outboundSchema: z.ZodMiniType<
|
|
|
1926
3175
|
postalCode: z.optional(z.string()),
|
|
1927
3176
|
});
|
|
1928
3177
|
|
|
1929
|
-
export function
|
|
1930
|
-
|
|
3178
|
+
export function submitInteractionDocumentAddressToJSON(
|
|
3179
|
+
submitInteractionDocumentAddress: SubmitInteractionDocumentAddress,
|
|
1931
3180
|
): string {
|
|
1932
3181
|
return JSON.stringify(
|
|
1933
|
-
|
|
3182
|
+
SubmitInteractionDocumentAddress$outboundSchema.parse(
|
|
3183
|
+
submitInteractionDocumentAddress,
|
|
3184
|
+
),
|
|
1934
3185
|
);
|
|
1935
3186
|
}
|
|
1936
3187
|
|
|
@@ -1969,6 +3220,76 @@ export function submitInteractionDocumentDeviceToJSON(
|
|
|
1969
3220
|
);
|
|
1970
3221
|
}
|
|
1971
3222
|
|
|
3223
|
+
/** @internal */
|
|
3224
|
+
export type SubmitInteractionSide1Device$Outbound = {
|
|
3225
|
+
type?: string | undefined;
|
|
3226
|
+
model?: string | undefined;
|
|
3227
|
+
hasContactlessReader?: boolean | undefined;
|
|
3228
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
3229
|
+
hasCamera?: boolean | undefined;
|
|
3230
|
+
serialNumber?: string | undefined;
|
|
3231
|
+
manufacturer?: string | undefined;
|
|
3232
|
+
};
|
|
3233
|
+
|
|
3234
|
+
/** @internal */
|
|
3235
|
+
export const SubmitInteractionSide1Device$outboundSchema: z.ZodMiniType<
|
|
3236
|
+
SubmitInteractionSide1Device$Outbound,
|
|
3237
|
+
SubmitInteractionSide1Device
|
|
3238
|
+
> = z.object({
|
|
3239
|
+
type: z.optional(z.string()),
|
|
3240
|
+
model: z.optional(z.string()),
|
|
3241
|
+
hasContactlessReader: z.optional(z.boolean()),
|
|
3242
|
+
hasMagneticStripeReader: z.optional(z.boolean()),
|
|
3243
|
+
hasCamera: z.optional(z.boolean()),
|
|
3244
|
+
serialNumber: z.optional(z.string()),
|
|
3245
|
+
manufacturer: z.optional(z.string()),
|
|
3246
|
+
});
|
|
3247
|
+
|
|
3248
|
+
export function submitInteractionSide1DeviceToJSON(
|
|
3249
|
+
submitInteractionSide1Device: SubmitInteractionSide1Device,
|
|
3250
|
+
): string {
|
|
3251
|
+
return JSON.stringify(
|
|
3252
|
+
SubmitInteractionSide1Device$outboundSchema.parse(
|
|
3253
|
+
submitInteractionSide1Device,
|
|
3254
|
+
),
|
|
3255
|
+
);
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
/** @internal */
|
|
3259
|
+
export type SubmitInteractionSide2Device$Outbound = {
|
|
3260
|
+
type?: string | undefined;
|
|
3261
|
+
model?: string | undefined;
|
|
3262
|
+
hasContactlessReader?: boolean | undefined;
|
|
3263
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
3264
|
+
hasCamera?: boolean | undefined;
|
|
3265
|
+
serialNumber?: string | undefined;
|
|
3266
|
+
manufacturer?: string | undefined;
|
|
3267
|
+
};
|
|
3268
|
+
|
|
3269
|
+
/** @internal */
|
|
3270
|
+
export const SubmitInteractionSide2Device$outboundSchema: z.ZodMiniType<
|
|
3271
|
+
SubmitInteractionSide2Device$Outbound,
|
|
3272
|
+
SubmitInteractionSide2Device
|
|
3273
|
+
> = z.object({
|
|
3274
|
+
type: z.optional(z.string()),
|
|
3275
|
+
model: z.optional(z.string()),
|
|
3276
|
+
hasContactlessReader: z.optional(z.boolean()),
|
|
3277
|
+
hasMagneticStripeReader: z.optional(z.boolean()),
|
|
3278
|
+
hasCamera: z.optional(z.boolean()),
|
|
3279
|
+
serialNumber: z.optional(z.string()),
|
|
3280
|
+
manufacturer: z.optional(z.string()),
|
|
3281
|
+
});
|
|
3282
|
+
|
|
3283
|
+
export function submitInteractionSide2DeviceToJSON(
|
|
3284
|
+
submitInteractionSide2Device: SubmitInteractionSide2Device,
|
|
3285
|
+
): string {
|
|
3286
|
+
return JSON.stringify(
|
|
3287
|
+
SubmitInteractionSide2Device$outboundSchema.parse(
|
|
3288
|
+
submitInteractionSide2Device,
|
|
3289
|
+
),
|
|
3290
|
+
);
|
|
3291
|
+
}
|
|
3292
|
+
|
|
1972
3293
|
/** @internal */
|
|
1973
3294
|
export const SubmitInteractionName$outboundSchema: z.ZodMiniEnum<
|
|
1974
3295
|
typeof SubmitInteractionName
|
|
@@ -2688,6 +4009,7 @@ export type SubmitInteractionDocumentAlias$Outbound = {
|
|
|
2688
4009
|
middleNames?: Array<string> | undefined;
|
|
2689
4010
|
lastNames?: Array<string> | undefined;
|
|
2690
4011
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
4012
|
+
fullName?: string | undefined;
|
|
2691
4013
|
};
|
|
2692
4014
|
|
|
2693
4015
|
/** @internal */
|
|
@@ -2700,6 +4022,7 @@ export const SubmitInteractionDocumentAlias$outboundSchema: z.ZodMiniType<
|
|
|
2700
4022
|
middleNames: z.optional(z.array(z.string())),
|
|
2701
4023
|
lastNames: z.optional(z.array(z.string())),
|
|
2702
4024
|
lastNamesAtBirth: z.optional(z.array(z.string())),
|
|
4025
|
+
fullName: z.optional(z.string()),
|
|
2703
4026
|
});
|
|
2704
4027
|
|
|
2705
4028
|
export function submitInteractionDocumentAliasToJSON(
|
|
@@ -2902,8 +4225,8 @@ export type SubmitInteractionDocumentPreviousAddress$Outbound = {
|
|
|
2902
4225
|
location?:
|
|
2903
4226
|
| SubmitInteractionDocumentPreviousAddressLocation$Outbound
|
|
2904
4227
|
| undefined;
|
|
2905
|
-
fromDate
|
|
2906
|
-
toDate
|
|
4228
|
+
fromDate?: string | undefined;
|
|
4229
|
+
toDate?: string | undefined;
|
|
2907
4230
|
};
|
|
2908
4231
|
|
|
2909
4232
|
/** @internal */
|
|
@@ -2934,8 +4257,8 @@ export const SubmitInteractionDocumentPreviousAddress$outboundSchema:
|
|
|
2934
4257
|
SubmitInteractionDocumentPreviousAddressLocation$outboundSchema
|
|
2935
4258
|
),
|
|
2936
4259
|
),
|
|
2937
|
-
fromDate: z.string(),
|
|
2938
|
-
toDate: z.string(),
|
|
4260
|
+
fromDate: z.optional(z.string()),
|
|
4261
|
+
toDate: z.optional(z.string()),
|
|
2939
4262
|
});
|
|
2940
4263
|
|
|
2941
4264
|
export function submitInteractionDocumentPreviousAddressToJSON(
|
|
@@ -3167,6 +4490,7 @@ export type SubmitInteractionDocumentSubject$Outbound = {
|
|
|
3167
4490
|
emails?: Array<SubmitInteractionDocumentEmail$Outbound> | undefined;
|
|
3168
4491
|
socials?: Array<SubmitInteractionDocumentSocial$Outbound> | undefined;
|
|
3169
4492
|
mothersMaidenName?: string | undefined;
|
|
4493
|
+
nationality?: string | undefined;
|
|
3170
4494
|
};
|
|
3171
4495
|
|
|
3172
4496
|
/** @internal */
|
|
@@ -3213,6 +4537,7 @@ export const SubmitInteractionDocumentSubject$outboundSchema: z.ZodMiniType<
|
|
|
3213
4537
|
z.array(z.lazy(() => SubmitInteractionDocumentSocial$outboundSchema)),
|
|
3214
4538
|
),
|
|
3215
4539
|
mothersMaidenName: z.optional(z.string()),
|
|
4540
|
+
nationality: z.optional(z.string()),
|
|
3216
4541
|
});
|
|
3217
4542
|
|
|
3218
4543
|
export function submitInteractionDocumentSubjectToJSON(
|
|
@@ -3228,7 +4553,7 @@ export function submitInteractionDocumentSubjectToJSON(
|
|
|
3228
4553
|
/** @internal */
|
|
3229
4554
|
export type SubmitInteractionDocument$Outbound = {
|
|
3230
4555
|
oneDBarcode?: string | undefined;
|
|
3231
|
-
address?:
|
|
4556
|
+
address?: SubmitInteractionDocumentAddress$Outbound | undefined;
|
|
3232
4557
|
applicationDate?: string | undefined;
|
|
3233
4558
|
applicationNumber?: string | undefined;
|
|
3234
4559
|
dateOfBirth?: string | undefined;
|
|
@@ -3300,13 +4625,15 @@ export type SubmitInteractionDocument$Outbound = {
|
|
|
3300
4625
|
cardNumber?: string | undefined;
|
|
3301
4626
|
issuerCountryCode?: string | undefined;
|
|
3302
4627
|
id?: string | undefined;
|
|
3303
|
-
type
|
|
4628
|
+
type: string;
|
|
3304
4629
|
category?: string | undefined;
|
|
3305
4630
|
subtype?: string | undefined;
|
|
3306
4631
|
format?: string | undefined;
|
|
3307
4632
|
device?: SubmitInteractionDocumentDevice$Outbound | undefined;
|
|
3308
4633
|
side1Image?: string | undefined;
|
|
3309
4634
|
side2Image?: string | undefined;
|
|
4635
|
+
side1Device?: SubmitInteractionSide1Device$Outbound | undefined;
|
|
4636
|
+
side2Device?: SubmitInteractionSide2Device$Outbound | undefined;
|
|
3310
4637
|
chip?: SubmitInteractionChip$Outbound | undefined;
|
|
3311
4638
|
classification?: SubmitInteractionClassification$Outbound | undefined;
|
|
3312
4639
|
extraction?: SubmitInteractionExtraction$Outbound | undefined;
|
|
@@ -3314,8 +4641,26 @@ export type SubmitInteractionDocument$Outbound = {
|
|
|
3314
4641
|
subType?: string | undefined;
|
|
3315
4642
|
number?: string | undefined;
|
|
3316
4643
|
expiryDate?: string | undefined;
|
|
4644
|
+
cardType?: string | undefined;
|
|
4645
|
+
expiryMonth?: string | undefined;
|
|
4646
|
+
cardColour?: string | undefined;
|
|
4647
|
+
cardStatus?: string | undefined;
|
|
3317
4648
|
subject?: SubmitInteractionDocumentSubject$Outbound | undefined;
|
|
3318
4649
|
country?: string | undefined;
|
|
4650
|
+
certificateFormat?: string | undefined;
|
|
4651
|
+
registrationNumber?: string | undefined;
|
|
4652
|
+
registrationDate?: string | undefined;
|
|
4653
|
+
registrationYear?: string | undefined;
|
|
4654
|
+
partyRole?: string | undefined;
|
|
4655
|
+
dateOfEvent?: string | undefined;
|
|
4656
|
+
previousFirstName?: string | undefined;
|
|
4657
|
+
previousMiddleName?: string | undefined;
|
|
4658
|
+
previousSurname?: string | undefined;
|
|
4659
|
+
individualReferenceNumber?: string | undefined;
|
|
4660
|
+
nameLine1?: string | undefined;
|
|
4661
|
+
nameLine2?: string | undefined;
|
|
4662
|
+
nameLine3?: string | undefined;
|
|
4663
|
+
nameLine4?: string | undefined;
|
|
3319
4664
|
};
|
|
3320
4665
|
|
|
3321
4666
|
/** @internal */
|
|
@@ -3324,7 +4669,9 @@ export const SubmitInteractionDocument$outboundSchema: z.ZodMiniType<
|
|
|
3324
4669
|
SubmitInteractionDocument
|
|
3325
4670
|
> = z.object({
|
|
3326
4671
|
oneDBarcode: z.optional(z.string()),
|
|
3327
|
-
address: z.optional(
|
|
4672
|
+
address: z.optional(
|
|
4673
|
+
z.lazy(() => SubmitInteractionDocumentAddress$outboundSchema),
|
|
4674
|
+
),
|
|
3328
4675
|
applicationDate: z.optional(z.string()),
|
|
3329
4676
|
applicationNumber: z.optional(z.string()),
|
|
3330
4677
|
dateOfBirth: z.optional(z.string()),
|
|
@@ -3396,7 +4743,7 @@ export const SubmitInteractionDocument$outboundSchema: z.ZodMiniType<
|
|
|
3396
4743
|
cardNumber: z.optional(z.string()),
|
|
3397
4744
|
issuerCountryCode: z.optional(z.string()),
|
|
3398
4745
|
id: z.optional(z.string()),
|
|
3399
|
-
type: z.
|
|
4746
|
+
type: z.string(),
|
|
3400
4747
|
category: z.optional(z.string()),
|
|
3401
4748
|
subtype: z.optional(z.string()),
|
|
3402
4749
|
format: z.optional(z.string()),
|
|
@@ -3405,6 +4752,12 @@ export const SubmitInteractionDocument$outboundSchema: z.ZodMiniType<
|
|
|
3405
4752
|
),
|
|
3406
4753
|
side1Image: z.optional(z.string()),
|
|
3407
4754
|
side2Image: z.optional(z.string()),
|
|
4755
|
+
side1Device: z.optional(
|
|
4756
|
+
z.lazy(() => SubmitInteractionSide1Device$outboundSchema),
|
|
4757
|
+
),
|
|
4758
|
+
side2Device: z.optional(
|
|
4759
|
+
z.lazy(() => SubmitInteractionSide2Device$outboundSchema),
|
|
4760
|
+
),
|
|
3408
4761
|
chip: z.optional(z.lazy(() => SubmitInteractionChip$outboundSchema)),
|
|
3409
4762
|
classification: z.optional(
|
|
3410
4763
|
z.lazy(() => SubmitInteractionClassification$outboundSchema),
|
|
@@ -3418,10 +4771,28 @@ export const SubmitInteractionDocument$outboundSchema: z.ZodMiniType<
|
|
|
3418
4771
|
subType: z.optional(z.string()),
|
|
3419
4772
|
number: z.optional(z.string()),
|
|
3420
4773
|
expiryDate: z.optional(z.string()),
|
|
4774
|
+
cardType: z.optional(z.string()),
|
|
4775
|
+
expiryMonth: z.optional(z.string()),
|
|
4776
|
+
cardColour: z.optional(z.string()),
|
|
4777
|
+
cardStatus: z.optional(z.string()),
|
|
3421
4778
|
subject: z.optional(
|
|
3422
4779
|
z.lazy(() => SubmitInteractionDocumentSubject$outboundSchema),
|
|
3423
4780
|
),
|
|
3424
4781
|
country: z.optional(z.string()),
|
|
4782
|
+
certificateFormat: z.optional(z.string()),
|
|
4783
|
+
registrationNumber: z.optional(z.string()),
|
|
4784
|
+
registrationDate: z.optional(z.string()),
|
|
4785
|
+
registrationYear: z.optional(z.string()),
|
|
4786
|
+
partyRole: z.optional(z.string()),
|
|
4787
|
+
dateOfEvent: z.optional(z.string()),
|
|
4788
|
+
previousFirstName: z.optional(z.string()),
|
|
4789
|
+
previousMiddleName: z.optional(z.string()),
|
|
4790
|
+
previousSurname: z.optional(z.string()),
|
|
4791
|
+
individualReferenceNumber: z.optional(z.string()),
|
|
4792
|
+
nameLine1: z.optional(z.string()),
|
|
4793
|
+
nameLine2: z.optional(z.string()),
|
|
4794
|
+
nameLine3: z.optional(z.string()),
|
|
4795
|
+
nameLine4: z.optional(z.string()),
|
|
3425
4796
|
});
|
|
3426
4797
|
|
|
3427
4798
|
export function submitInteractionDocumentToJSON(
|
|
@@ -3432,6 +4803,65 @@ export function submitInteractionDocumentToJSON(
|
|
|
3432
4803
|
);
|
|
3433
4804
|
}
|
|
3434
4805
|
|
|
4806
|
+
/** @internal */
|
|
4807
|
+
export const SubmitInteractionBiometricType$outboundSchema: z.ZodMiniEnum<
|
|
4808
|
+
typeof SubmitInteractionBiometricType
|
|
4809
|
+
> = z.enum(SubmitInteractionBiometricType);
|
|
4810
|
+
|
|
4811
|
+
/** @internal */
|
|
4812
|
+
export type SubmitInteractionBiometricStoredFace$Outbound = {
|
|
4813
|
+
id?: string | undefined;
|
|
4814
|
+
type: string;
|
|
4815
|
+
templateReference: string;
|
|
4816
|
+
};
|
|
4817
|
+
|
|
4818
|
+
/** @internal */
|
|
4819
|
+
export const SubmitInteractionBiometricStoredFace$outboundSchema: z.ZodMiniType<
|
|
4820
|
+
SubmitInteractionBiometricStoredFace$Outbound,
|
|
4821
|
+
SubmitInteractionBiometricStoredFace
|
|
4822
|
+
> = z.object({
|
|
4823
|
+
id: z.optional(z.string()),
|
|
4824
|
+
type: SubmitInteractionBiometricType$outboundSchema,
|
|
4825
|
+
templateReference: z.string(),
|
|
4826
|
+
});
|
|
4827
|
+
|
|
4828
|
+
export function submitInteractionBiometricStoredFaceToJSON(
|
|
4829
|
+
submitInteractionBiometricStoredFace: SubmitInteractionBiometricStoredFace,
|
|
4830
|
+
): string {
|
|
4831
|
+
return JSON.stringify(
|
|
4832
|
+
SubmitInteractionBiometricStoredFace$outboundSchema.parse(
|
|
4833
|
+
submitInteractionBiometricStoredFace,
|
|
4834
|
+
),
|
|
4835
|
+
);
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
/** @internal */
|
|
4839
|
+
export type SubmitInteractionBiometric5$Outbound = {
|
|
4840
|
+
id?: string | undefined;
|
|
4841
|
+
type?: string | undefined;
|
|
4842
|
+
anchorImage: string;
|
|
4843
|
+
};
|
|
4844
|
+
|
|
4845
|
+
/** @internal */
|
|
4846
|
+
export const SubmitInteractionBiometric5$outboundSchema: z.ZodMiniType<
|
|
4847
|
+
SubmitInteractionBiometric5$Outbound,
|
|
4848
|
+
SubmitInteractionBiometric5
|
|
4849
|
+
> = z.object({
|
|
4850
|
+
id: z.optional(z.string()),
|
|
4851
|
+
type: z.optional(z.string()),
|
|
4852
|
+
anchorImage: z.string(),
|
|
4853
|
+
});
|
|
4854
|
+
|
|
4855
|
+
export function submitInteractionBiometric5ToJSON(
|
|
4856
|
+
submitInteractionBiometric5: SubmitInteractionBiometric5,
|
|
4857
|
+
): string {
|
|
4858
|
+
return JSON.stringify(
|
|
4859
|
+
SubmitInteractionBiometric5$outboundSchema.parse(
|
|
4860
|
+
submitInteractionBiometric5,
|
|
4861
|
+
),
|
|
4862
|
+
);
|
|
4863
|
+
}
|
|
4864
|
+
|
|
3435
4865
|
/** @internal */
|
|
3436
4866
|
export type SubmitInteractionBiometric4$Outbound = {
|
|
3437
4867
|
id?: string | undefined;
|
|
@@ -3550,8 +4980,10 @@ export function submitInteractionBiometric1ToJSON(
|
|
|
3550
4980
|
export type SubmitInteractionBiometricUnion$Outbound =
|
|
3551
4981
|
| SubmitInteractionBiometric1$Outbound
|
|
3552
4982
|
| SubmitInteractionBiometric2$Outbound
|
|
4983
|
+
| SubmitInteractionBiometricStoredFace$Outbound
|
|
3553
4984
|
| SubmitInteractionBiometric3$Outbound
|
|
3554
|
-
| SubmitInteractionBiometric4$Outbound
|
|
4985
|
+
| SubmitInteractionBiometric4$Outbound
|
|
4986
|
+
| SubmitInteractionBiometric5$Outbound;
|
|
3555
4987
|
|
|
3556
4988
|
/** @internal */
|
|
3557
4989
|
export const SubmitInteractionBiometricUnion$outboundSchema: z.ZodMiniType<
|
|
@@ -3560,8 +4992,10 @@ export const SubmitInteractionBiometricUnion$outboundSchema: z.ZodMiniType<
|
|
|
3560
4992
|
> = smartUnion([
|
|
3561
4993
|
z.lazy(() => SubmitInteractionBiometric1$outboundSchema),
|
|
3562
4994
|
z.lazy(() => SubmitInteractionBiometric2$outboundSchema),
|
|
4995
|
+
z.lazy(() => SubmitInteractionBiometricStoredFace$outboundSchema),
|
|
3563
4996
|
z.lazy(() => SubmitInteractionBiometric3$outboundSchema),
|
|
3564
4997
|
z.lazy(() => SubmitInteractionBiometric4$outboundSchema),
|
|
4998
|
+
z.lazy(() => SubmitInteractionBiometric5$outboundSchema),
|
|
3565
4999
|
]);
|
|
3566
5000
|
|
|
3567
5001
|
export function submitInteractionBiometricUnionToJSON(
|
|
@@ -3577,8 +5011,8 @@ export function submitInteractionBiometricUnionToJSON(
|
|
|
3577
5011
|
/** @internal */
|
|
3578
5012
|
export type SubmitInteractionUser$Outbound = {
|
|
3579
5013
|
id: string;
|
|
3580
|
-
email
|
|
3581
|
-
domain
|
|
5014
|
+
email?: string | undefined;
|
|
5015
|
+
domain?: string | undefined;
|
|
3582
5016
|
};
|
|
3583
5017
|
|
|
3584
5018
|
/** @internal */
|
|
@@ -3587,8 +5021,8 @@ export const SubmitInteractionUser$outboundSchema: z.ZodMiniType<
|
|
|
3587
5021
|
SubmitInteractionUser
|
|
3588
5022
|
> = z.object({
|
|
3589
5023
|
id: z.string(),
|
|
3590
|
-
email: z.string(),
|
|
3591
|
-
domain: z.string(),
|
|
5024
|
+
email: z.optional(z.string()),
|
|
5025
|
+
domain: z.optional(z.string()),
|
|
3592
5026
|
});
|
|
3593
5027
|
|
|
3594
5028
|
export function submitInteractionUserToJSON(
|
|
@@ -3780,6 +5214,9 @@ export function submitInteractionSessionAuthToJSON(
|
|
|
3780
5214
|
|
|
3781
5215
|
/** @internal */
|
|
3782
5216
|
export type SubmitInteractionSession$Outbound = {
|
|
5217
|
+
id?: string | undefined;
|
|
5218
|
+
type?: string | undefined;
|
|
5219
|
+
provider?: string | undefined;
|
|
3783
5220
|
user?: SubmitInteractionUser$Outbound | undefined;
|
|
3784
5221
|
client?: SubmitInteractionClient$Outbound | undefined;
|
|
3785
5222
|
device?: SubmitInteractionSessionDevice$Outbound | undefined;
|
|
@@ -3794,6 +5231,9 @@ export const SubmitInteractionSession$outboundSchema: z.ZodMiniType<
|
|
|
3794
5231
|
SubmitInteractionSession$Outbound,
|
|
3795
5232
|
SubmitInteractionSession
|
|
3796
5233
|
> = z.object({
|
|
5234
|
+
id: z.optional(z.string()),
|
|
5235
|
+
type: z.optional(z.string()),
|
|
5236
|
+
provider: z.optional(z.string()),
|
|
3797
5237
|
user: z.optional(z.lazy(() => SubmitInteractionUser$outboundSchema)),
|
|
3798
5238
|
client: z.optional(z.lazy(() => SubmitInteractionClient$outboundSchema)),
|
|
3799
5239
|
device: z.optional(
|
|
@@ -3904,21 +5344,121 @@ export function submitInteractionAccountToJSON(
|
|
|
3904
5344
|
);
|
|
3905
5345
|
}
|
|
3906
5346
|
|
|
5347
|
+
/** @internal */
|
|
5348
|
+
export type SubmitInteractionChoice$Outbound = {
|
|
5349
|
+
label: string;
|
|
5350
|
+
text: string;
|
|
5351
|
+
};
|
|
5352
|
+
|
|
5353
|
+
/** @internal */
|
|
5354
|
+
export const SubmitInteractionChoice$outboundSchema: z.ZodMiniType<
|
|
5355
|
+
SubmitInteractionChoice$Outbound,
|
|
5356
|
+
SubmitInteractionChoice
|
|
5357
|
+
> = z.object({
|
|
5358
|
+
label: z.string(),
|
|
5359
|
+
text: z.string(),
|
|
5360
|
+
});
|
|
5361
|
+
|
|
5362
|
+
export function submitInteractionChoiceToJSON(
|
|
5363
|
+
submitInteractionChoice: SubmitInteractionChoice,
|
|
5364
|
+
): string {
|
|
5365
|
+
return JSON.stringify(
|
|
5366
|
+
SubmitInteractionChoice$outboundSchema.parse(submitInteractionChoice),
|
|
5367
|
+
);
|
|
5368
|
+
}
|
|
5369
|
+
|
|
5370
|
+
/** @internal */
|
|
5371
|
+
export type SubmitInteractionQuestion$Outbound = {
|
|
5372
|
+
id: number;
|
|
5373
|
+
questionText: string;
|
|
5374
|
+
helpText?: string | undefined;
|
|
5375
|
+
choices: Array<SubmitInteractionChoice$Outbound>;
|
|
5376
|
+
};
|
|
5377
|
+
|
|
5378
|
+
/** @internal */
|
|
5379
|
+
export const SubmitInteractionQuestion$outboundSchema: z.ZodMiniType<
|
|
5380
|
+
SubmitInteractionQuestion$Outbound,
|
|
5381
|
+
SubmitInteractionQuestion
|
|
5382
|
+
> = z.object({
|
|
5383
|
+
id: z.int(),
|
|
5384
|
+
questionText: z.string(),
|
|
5385
|
+
helpText: z.optional(z.string()),
|
|
5386
|
+
choices: z.array(z.lazy(() => SubmitInteractionChoice$outboundSchema)),
|
|
5387
|
+
});
|
|
5388
|
+
|
|
5389
|
+
export function submitInteractionQuestionToJSON(
|
|
5390
|
+
submitInteractionQuestion: SubmitInteractionQuestion,
|
|
5391
|
+
): string {
|
|
5392
|
+
return JSON.stringify(
|
|
5393
|
+
SubmitInteractionQuestion$outboundSchema.parse(submitInteractionQuestion),
|
|
5394
|
+
);
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5397
|
+
/** @internal */
|
|
5398
|
+
export type SubmitInteractionAnswer$Outbound = {
|
|
5399
|
+
id: number;
|
|
5400
|
+
choices: Array<string>;
|
|
5401
|
+
};
|
|
5402
|
+
|
|
5403
|
+
/** @internal */
|
|
5404
|
+
export const SubmitInteractionAnswer$outboundSchema: z.ZodMiniType<
|
|
5405
|
+
SubmitInteractionAnswer$Outbound,
|
|
5406
|
+
SubmitInteractionAnswer
|
|
5407
|
+
> = z.object({
|
|
5408
|
+
id: z.int(),
|
|
5409
|
+
choices: z.array(z.string()),
|
|
5410
|
+
});
|
|
5411
|
+
|
|
5412
|
+
export function submitInteractionAnswerToJSON(
|
|
5413
|
+
submitInteractionAnswer: SubmitInteractionAnswer,
|
|
5414
|
+
): string {
|
|
5415
|
+
return JSON.stringify(
|
|
5416
|
+
SubmitInteractionAnswer$outboundSchema.parse(submitInteractionAnswer),
|
|
5417
|
+
);
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
/** @internal */
|
|
5421
|
+
export type SubmitInteractionKba$Outbound = {
|
|
5422
|
+
questions: Array<SubmitInteractionQuestion$Outbound>;
|
|
5423
|
+
answers: Array<SubmitInteractionAnswer$Outbound>;
|
|
5424
|
+
};
|
|
5425
|
+
|
|
5426
|
+
/** @internal */
|
|
5427
|
+
export const SubmitInteractionKba$outboundSchema: z.ZodMiniType<
|
|
5428
|
+
SubmitInteractionKba$Outbound,
|
|
5429
|
+
SubmitInteractionKba
|
|
5430
|
+
> = z.object({
|
|
5431
|
+
questions: z.array(z.lazy(() => SubmitInteractionQuestion$outboundSchema)),
|
|
5432
|
+
answers: z.array(z.lazy(() => SubmitInteractionAnswer$outboundSchema)),
|
|
5433
|
+
});
|
|
5434
|
+
|
|
5435
|
+
export function submitInteractionKbaToJSON(
|
|
5436
|
+
submitInteractionKba: SubmitInteractionKba,
|
|
5437
|
+
): string {
|
|
5438
|
+
return JSON.stringify(
|
|
5439
|
+
SubmitInteractionKba$outboundSchema.parse(submitInteractionKba),
|
|
5440
|
+
);
|
|
5441
|
+
}
|
|
5442
|
+
|
|
3907
5443
|
/** @internal */
|
|
3908
5444
|
export type SubmitInteractionSubject$Outbound = {
|
|
3909
5445
|
identity?: SubmitInteractionIdentity$Outbound | undefined;
|
|
5446
|
+
entities?: Array<SubmitInteractionEntity$Outbound> | undefined;
|
|
3910
5447
|
documents?: Array<SubmitInteractionDocument$Outbound> | undefined;
|
|
3911
5448
|
biometrics?:
|
|
3912
5449
|
| Array<
|
|
3913
5450
|
| SubmitInteractionBiometric1$Outbound
|
|
3914
5451
|
| SubmitInteractionBiometric2$Outbound
|
|
5452
|
+
| SubmitInteractionBiometricStoredFace$Outbound
|
|
3915
5453
|
| SubmitInteractionBiometric3$Outbound
|
|
3916
5454
|
| SubmitInteractionBiometric4$Outbound
|
|
5455
|
+
| SubmitInteractionBiometric5$Outbound
|
|
3917
5456
|
>
|
|
3918
5457
|
| undefined;
|
|
3919
5458
|
sessions?: Array<SubmitInteractionSession$Outbound> | undefined;
|
|
3920
5459
|
consent?: Array<SubmitInteractionConsent$Outbound> | undefined;
|
|
3921
5460
|
accounts?: Array<SubmitInteractionAccount$Outbound> | undefined;
|
|
5461
|
+
kba?: SubmitInteractionKba$Outbound | undefined;
|
|
3922
5462
|
uid?: string | undefined;
|
|
3923
5463
|
};
|
|
3924
5464
|
|
|
@@ -3928,6 +5468,9 @@ export const SubmitInteractionSubject$outboundSchema: z.ZodMiniType<
|
|
|
3928
5468
|
SubmitInteractionSubject
|
|
3929
5469
|
> = z.object({
|
|
3930
5470
|
identity: z.optional(z.lazy(() => SubmitInteractionIdentity$outboundSchema)),
|
|
5471
|
+
entities: z.optional(
|
|
5472
|
+
z.array(z.lazy(() => SubmitInteractionEntity$outboundSchema)),
|
|
5473
|
+
),
|
|
3931
5474
|
documents: z.optional(
|
|
3932
5475
|
z.array(z.lazy(() => SubmitInteractionDocument$outboundSchema)),
|
|
3933
5476
|
),
|
|
@@ -3937,8 +5480,10 @@ export const SubmitInteractionSubject$outboundSchema: z.ZodMiniType<
|
|
|
3937
5480
|
z.lazy(() =>
|
|
3938
5481
|
SubmitInteractionBiometric2$outboundSchema
|
|
3939
5482
|
),
|
|
5483
|
+
z.lazy(() => SubmitInteractionBiometricStoredFace$outboundSchema),
|
|
3940
5484
|
z.lazy(() => SubmitInteractionBiometric3$outboundSchema),
|
|
3941
5485
|
z.lazy(() => SubmitInteractionBiometric4$outboundSchema),
|
|
5486
|
+
z.lazy(() => SubmitInteractionBiometric5$outboundSchema),
|
|
3942
5487
|
])),
|
|
3943
5488
|
),
|
|
3944
5489
|
sessions: z.optional(
|
|
@@ -3950,6 +5495,7 @@ export const SubmitInteractionSubject$outboundSchema: z.ZodMiniType<
|
|
|
3950
5495
|
accounts: z.optional(
|
|
3951
5496
|
z.array(z.lazy(() => SubmitInteractionAccount$outboundSchema)),
|
|
3952
5497
|
),
|
|
5498
|
+
kba: z.optional(z.lazy(() => SubmitInteractionKba$outboundSchema)),
|
|
3953
5499
|
uid: z.optional(z.string()),
|
|
3954
5500
|
});
|
|
3955
5501
|
|
|
@@ -3961,9 +5507,46 @@ export function submitInteractionSubjectToJSON(
|
|
|
3961
5507
|
);
|
|
3962
5508
|
}
|
|
3963
5509
|
|
|
5510
|
+
/** @internal */
|
|
5511
|
+
export type ManualReview$Outbound = {
|
|
5512
|
+
decision: number;
|
|
5513
|
+
notes?: string | undefined;
|
|
5514
|
+
};
|
|
5515
|
+
|
|
5516
|
+
/** @internal */
|
|
5517
|
+
export const ManualReview$outboundSchema: z.ZodMiniType<
|
|
5518
|
+
ManualReview$Outbound,
|
|
5519
|
+
ManualReview
|
|
5520
|
+
> = z.object({
|
|
5521
|
+
decision: z.int(),
|
|
5522
|
+
notes: z.optional(z.string()),
|
|
5523
|
+
});
|
|
5524
|
+
|
|
5525
|
+
export function manualReviewToJSON(manualReview: ManualReview): string {
|
|
5526
|
+
return JSON.stringify(ManualReview$outboundSchema.parse(manualReview));
|
|
5527
|
+
}
|
|
5528
|
+
|
|
5529
|
+
/** @internal */
|
|
5530
|
+
export type Reviewer$Outbound = {
|
|
5531
|
+
manualReview?: ManualReview$Outbound | undefined;
|
|
5532
|
+
};
|
|
5533
|
+
|
|
5534
|
+
/** @internal */
|
|
5535
|
+
export const Reviewer$outboundSchema: z.ZodMiniType<
|
|
5536
|
+
Reviewer$Outbound,
|
|
5537
|
+
Reviewer
|
|
5538
|
+
> = z.object({
|
|
5539
|
+
manualReview: z.optional(z.lazy(() => ManualReview$outboundSchema)),
|
|
5540
|
+
});
|
|
5541
|
+
|
|
5542
|
+
export function reviewerToJSON(reviewer: Reviewer): string {
|
|
5543
|
+
return JSON.stringify(Reviewer$outboundSchema.parse(reviewer));
|
|
5544
|
+
}
|
|
5545
|
+
|
|
3964
5546
|
/** @internal */
|
|
3965
5547
|
export type SubmitInteractionContext$Outbound = {
|
|
3966
5548
|
subject: SubmitInteractionSubject$Outbound;
|
|
5549
|
+
reviewers?: Array<Reviewer$Outbound> | undefined;
|
|
3967
5550
|
};
|
|
3968
5551
|
|
|
3969
5552
|
/** @internal */
|
|
@@ -3972,6 +5555,7 @@ export const SubmitInteractionContext$outboundSchema: z.ZodMiniType<
|
|
|
3972
5555
|
SubmitInteractionContext
|
|
3973
5556
|
> = z.object({
|
|
3974
5557
|
subject: z.lazy(() => SubmitInteractionSubject$outboundSchema),
|
|
5558
|
+
reviewers: z.optional(z.array(z.lazy(() => Reviewer$outboundSchema))),
|
|
3975
5559
|
});
|
|
3976
5560
|
|
|
3977
5561
|
export function submitInteractionContextToJSON(
|
|
@@ -3988,18 +5572,22 @@ export type SubmitInteractionRequest$Outbound = {
|
|
|
3988
5572
|
interactionId: string;
|
|
3989
5573
|
participants?: Array<Participant$Outbound> | undefined;
|
|
3990
5574
|
context?: SubmitInteractionContext$Outbound | undefined;
|
|
5575
|
+
[additionalProperties: string]: unknown;
|
|
3991
5576
|
};
|
|
3992
5577
|
|
|
3993
5578
|
/** @internal */
|
|
3994
5579
|
export const SubmitInteractionRequest$outboundSchema: z.ZodMiniType<
|
|
3995
5580
|
SubmitInteractionRequest$Outbound,
|
|
3996
5581
|
SubmitInteractionRequest
|
|
3997
|
-
> = z.
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
5582
|
+
> = z.catchall(
|
|
5583
|
+
z.object({
|
|
5584
|
+
instanceId: z.string(),
|
|
5585
|
+
interactionId: z.string(),
|
|
5586
|
+
participants: z.optional(z.array(z.lazy(() => Participant$outboundSchema))),
|
|
5587
|
+
context: z.optional(z.lazy(() => SubmitInteractionContext$outboundSchema)),
|
|
5588
|
+
}),
|
|
5589
|
+
z.any(),
|
|
5590
|
+
);
|
|
4003
5591
|
|
|
4004
5592
|
export function submitInteractionRequestToJSON(
|
|
4005
5593
|
submitInteractionRequest: SubmitInteractionRequest,
|
|
@@ -4008,57 +5596,3 @@ export function submitInteractionRequestToJSON(
|
|
|
4008
5596
|
SubmitInteractionRequest$outboundSchema.parse(submitInteractionRequest),
|
|
4009
5597
|
);
|
|
4010
5598
|
}
|
|
4011
|
-
|
|
4012
|
-
/** @internal */
|
|
4013
|
-
export const SubmitInteractionError$inboundSchema: z.ZodMiniType<
|
|
4014
|
-
SubmitInteractionError,
|
|
4015
|
-
unknown
|
|
4016
|
-
> = z.object({
|
|
4017
|
-
status: types.literal("error"),
|
|
4018
|
-
code: types.number(),
|
|
4019
|
-
message: types.string(),
|
|
4020
|
-
});
|
|
4021
|
-
|
|
4022
|
-
export function submitInteractionErrorFromJSON(
|
|
4023
|
-
jsonString: string,
|
|
4024
|
-
): SafeParseResult<SubmitInteractionError, SDKValidationError> {
|
|
4025
|
-
return safeParse(
|
|
4026
|
-
jsonString,
|
|
4027
|
-
(x) => SubmitInteractionError$inboundSchema.parse(JSON.parse(x)),
|
|
4028
|
-
`Failed to parse 'SubmitInteractionError' from JSON`,
|
|
4029
|
-
);
|
|
4030
|
-
}
|
|
4031
|
-
|
|
4032
|
-
/** @internal */
|
|
4033
|
-
export const Success$inboundSchema: z.ZodMiniType<Success, unknown> = z.object({
|
|
4034
|
-
status: types.literal("success"),
|
|
4035
|
-
});
|
|
4036
|
-
|
|
4037
|
-
export function successFromJSON(
|
|
4038
|
-
jsonString: string,
|
|
4039
|
-
): SafeParseResult<Success, SDKValidationError> {
|
|
4040
|
-
return safeParse(
|
|
4041
|
-
jsonString,
|
|
4042
|
-
(x) => Success$inboundSchema.parse(JSON.parse(x)),
|
|
4043
|
-
`Failed to parse 'Success' from JSON`,
|
|
4044
|
-
);
|
|
4045
|
-
}
|
|
4046
|
-
|
|
4047
|
-
/** @internal */
|
|
4048
|
-
export const SubmitInteractionResponse$inboundSchema: z.ZodMiniType<
|
|
4049
|
-
SubmitInteractionResponse,
|
|
4050
|
-
unknown
|
|
4051
|
-
> = discriminatedUnion("status", {
|
|
4052
|
-
success: z.lazy(() => Success$inboundSchema),
|
|
4053
|
-
error: z.lazy(() => SubmitInteractionError$inboundSchema),
|
|
4054
|
-
});
|
|
4055
|
-
|
|
4056
|
-
export function submitInteractionResponseFromJSON(
|
|
4057
|
-
jsonString: string,
|
|
4058
|
-
): SafeParseResult<SubmitInteractionResponse, SDKValidationError> {
|
|
4059
|
-
return safeParse(
|
|
4060
|
-
jsonString,
|
|
4061
|
-
(x) => SubmitInteractionResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4062
|
-
`Failed to parse 'SubmitInteractionResponse' from JSON`,
|
|
4063
|
-
);
|
|
4064
|
-
}
|