@gbg/go-core 0.1.2 → 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
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
-
/**
|
|
6
|
-
* The method by which the End User will consume the journey.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Delivery: {
|
|
9
|
-
readonly Page: "page";
|
|
10
|
-
readonly Api: "api";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* The method by which the End User will consume the journey.
|
|
14
|
-
*/
|
|
15
|
-
export type Delivery = ClosedEnum<typeof Delivery>;
|
|
16
|
-
export type Config = {
|
|
17
|
-
/**
|
|
18
|
-
* The method by which the End User will consume the journey.
|
|
19
|
-
*/
|
|
20
|
-
delivery: Delivery;
|
|
21
|
-
};
|
|
22
3
|
export type StartJourneyIdentityAlias = {
|
|
23
4
|
/**
|
|
24
5
|
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
@@ -40,10 +21,15 @@ export type StartJourneyIdentityAlias = {
|
|
|
40
21
|
* Any family names for the individual
|
|
41
22
|
*/
|
|
42
23
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The whole name as stated, unsplit into parts — used when the alias has no meaningful name parts
|
|
26
|
+
*/
|
|
27
|
+
fullName?: string | undefined;
|
|
43
28
|
};
|
|
44
29
|
export declare const StartJourneyIdentityRelationship: {
|
|
45
30
|
readonly Mother: "mother";
|
|
46
31
|
readonly Father: "father";
|
|
32
|
+
readonly Spouse: "spouse";
|
|
47
33
|
readonly MaternalGrandFather: "maternalGrandFather";
|
|
48
34
|
readonly MaternalGrandMother: "maternalGrandMother";
|
|
49
35
|
readonly PaternalGrandFather: "paternalGrandFather";
|
|
@@ -92,15 +78,15 @@ export type StartJourneyIdentityCurrentAddress = {
|
|
|
92
78
|
*/
|
|
93
79
|
addressString?: string | undefined;
|
|
94
80
|
/**
|
|
95
|
-
* The
|
|
81
|
+
* 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.
|
|
96
82
|
*/
|
|
97
83
|
premise?: string | undefined;
|
|
98
84
|
/**
|
|
99
|
-
* The name of
|
|
85
|
+
* 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.
|
|
100
86
|
*/
|
|
101
87
|
building?: string | undefined;
|
|
102
88
|
/**
|
|
103
|
-
* The
|
|
89
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
104
90
|
*/
|
|
105
91
|
subBuilding?: string | undefined;
|
|
106
92
|
/**
|
|
@@ -160,15 +146,15 @@ export type StartJourneyIdentityPreviousAddress = {
|
|
|
160
146
|
*/
|
|
161
147
|
addressString?: string | undefined;
|
|
162
148
|
/**
|
|
163
|
-
* The
|
|
149
|
+
* 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.
|
|
164
150
|
*/
|
|
165
151
|
premise?: string | undefined;
|
|
166
152
|
/**
|
|
167
|
-
* The name of
|
|
153
|
+
* 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.
|
|
168
154
|
*/
|
|
169
155
|
building?: string | undefined;
|
|
170
156
|
/**
|
|
171
|
-
* The
|
|
157
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
172
158
|
*/
|
|
173
159
|
subBuilding?: string | undefined;
|
|
174
160
|
/**
|
|
@@ -211,11 +197,11 @@ export type StartJourneyIdentityPreviousAddress = {
|
|
|
211
197
|
/**
|
|
212
198
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
213
199
|
*/
|
|
214
|
-
fromDate
|
|
200
|
+
fromDate?: string | undefined;
|
|
215
201
|
/**
|
|
216
202
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
217
203
|
*/
|
|
218
|
-
toDate
|
|
204
|
+
toDate?: string | undefined;
|
|
219
205
|
};
|
|
220
206
|
export type StartJourneyIdentityPlaceOfBirthLocation = {
|
|
221
207
|
latitude?: string | undefined;
|
|
@@ -236,15 +222,15 @@ export type StartJourneyIdentityPlaceOfBirth = {
|
|
|
236
222
|
*/
|
|
237
223
|
addressString?: string | undefined;
|
|
238
224
|
/**
|
|
239
|
-
* The
|
|
225
|
+
* 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.
|
|
240
226
|
*/
|
|
241
227
|
premise?: string | undefined;
|
|
242
228
|
/**
|
|
243
|
-
* The name of
|
|
229
|
+
* 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.
|
|
244
230
|
*/
|
|
245
231
|
building?: string | undefined;
|
|
246
232
|
/**
|
|
247
|
-
* The
|
|
233
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
248
234
|
*/
|
|
249
235
|
subBuilding?: string | undefined;
|
|
250
236
|
/**
|
|
@@ -311,7 +297,7 @@ export type StartJourneyIdentityPhone = {
|
|
|
311
297
|
};
|
|
312
298
|
export type StartJourneyIdentityEmail = {
|
|
313
299
|
/**
|
|
314
|
-
*
|
|
300
|
+
* 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').
|
|
315
301
|
*/
|
|
316
302
|
type: string;
|
|
317
303
|
/**
|
|
@@ -350,6 +336,9 @@ export type StartJourneyIdentity = {
|
|
|
350
336
|
* Any family names for the individual
|
|
351
337
|
*/
|
|
352
338
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* Names the subject is otherwise or was previously known by — applicant-declared, unordered, duplicates permitted
|
|
341
|
+
*/
|
|
353
342
|
aliases?: Array<StartJourneyIdentityAlias> | undefined;
|
|
354
343
|
relatedPersons?: Array<StartJourneyIdentityRelatedPerson> | undefined;
|
|
355
344
|
/**
|
|
@@ -368,8 +357,441 @@ export type StartJourneyIdentity = {
|
|
|
368
357
|
* The subject's mother's maiden name, used for identity verification
|
|
369
358
|
*/
|
|
370
359
|
mothersMaidenName?: string | undefined;
|
|
360
|
+
/**
|
|
361
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
362
|
+
*/
|
|
363
|
+
nationality?: string | undefined;
|
|
364
|
+
};
|
|
365
|
+
export declare const StartJourneyTypePrimary1: {
|
|
366
|
+
readonly Primary: "primary";
|
|
367
|
+
};
|
|
368
|
+
export type StartJourneyTypePrimary1 = ClosedEnum<typeof StartJourneyTypePrimary1>;
|
|
369
|
+
export declare const StartJourneyStatus: {
|
|
370
|
+
readonly Active: "active";
|
|
371
|
+
readonly Suspended: "suspended";
|
|
372
|
+
readonly Dormant: "dormant";
|
|
373
|
+
readonly Dissolved: "dissolved";
|
|
374
|
+
readonly StruckOff: "struckOff";
|
|
375
|
+
readonly Unknown: "unknown";
|
|
376
|
+
};
|
|
377
|
+
export type StartJourneyStatus = ClosedEnum<typeof StartJourneyStatus>;
|
|
378
|
+
export type StartJourneyAddressLocation = {
|
|
379
|
+
latitude?: string | undefined;
|
|
380
|
+
longitude?: string | undefined;
|
|
381
|
+
geoAccuracy?: string | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* A What3words designation associated with this location with '.' separator.
|
|
384
|
+
*/
|
|
385
|
+
what3words?: string | undefined;
|
|
386
|
+
};
|
|
387
|
+
export declare const StartJourneyPurpose: {
|
|
388
|
+
readonly Registered: "registered";
|
|
389
|
+
readonly Mailing: "mailing";
|
|
390
|
+
readonly Site: "site";
|
|
391
|
+
readonly Agent: "agent";
|
|
392
|
+
readonly Headquarters: "headquarters";
|
|
393
|
+
};
|
|
394
|
+
export type StartJourneyPurpose = ClosedEnum<typeof StartJourneyPurpose>;
|
|
395
|
+
export type StartJourneyAddressPrimary = {
|
|
396
|
+
/**
|
|
397
|
+
* Unformatted line based address
|
|
398
|
+
*/
|
|
399
|
+
lines?: Array<string> | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* The address as a single line
|
|
402
|
+
*/
|
|
403
|
+
addressString?: string | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* 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.
|
|
406
|
+
*/
|
|
407
|
+
premise?: string | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* 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.
|
|
410
|
+
*/
|
|
411
|
+
building?: string | undefined;
|
|
412
|
+
/**
|
|
413
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
414
|
+
*/
|
|
415
|
+
subBuilding?: string | undefined;
|
|
416
|
+
/**
|
|
417
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
418
|
+
*/
|
|
419
|
+
thoroughfare?: string | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
422
|
+
*/
|
|
423
|
+
dependentThoroughfare?: string | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
426
|
+
*/
|
|
427
|
+
locality?: string | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
430
|
+
*/
|
|
431
|
+
dependentLocality?: string | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
434
|
+
*/
|
|
435
|
+
doubleDependentLocality?: string | undefined;
|
|
436
|
+
/**
|
|
437
|
+
* 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
|
|
438
|
+
*/
|
|
439
|
+
postalCode?: string | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
442
|
+
*/
|
|
443
|
+
postBox?: string | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
446
|
+
*/
|
|
447
|
+
country?: string | undefined;
|
|
448
|
+
superAdministrativeArea?: string | undefined;
|
|
449
|
+
administrativeArea?: string | undefined;
|
|
450
|
+
subAdministrativeArea?: string | undefined;
|
|
451
|
+
organization?: string | undefined;
|
|
452
|
+
location?: StartJourneyAddressLocation | undefined;
|
|
453
|
+
purpose?: StartJourneyPurpose | undefined;
|
|
454
|
+
};
|
|
455
|
+
export declare const StartJourneyTaxIdentifierType: {
|
|
456
|
+
readonly Tin: "TIN";
|
|
457
|
+
readonly Ein: "EIN";
|
|
458
|
+
};
|
|
459
|
+
export type StartJourneyTaxIdentifierType = ClosedEnum<typeof StartJourneyTaxIdentifierType>;
|
|
460
|
+
export type StartJourneyTaxIdentifier = {
|
|
461
|
+
type: StartJourneyTaxIdentifierType;
|
|
462
|
+
value: string;
|
|
463
|
+
/**
|
|
464
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
465
|
+
*/
|
|
466
|
+
country?: string | undefined;
|
|
467
|
+
};
|
|
468
|
+
export declare const StartJourneySystem: {
|
|
469
|
+
readonly Naics2017: "naics2017";
|
|
470
|
+
readonly Naics2022: "naics2022";
|
|
471
|
+
readonly Sic: "sic";
|
|
472
|
+
readonly Mcc: "mcc";
|
|
473
|
+
};
|
|
474
|
+
export type StartJourneySystem = ClosedEnum<typeof StartJourneySystem>;
|
|
475
|
+
export type StartJourneyIndustryClassification = {
|
|
476
|
+
system: StartJourneySystem;
|
|
477
|
+
code: string;
|
|
478
|
+
description?: string | undefined;
|
|
479
|
+
};
|
|
480
|
+
export declare const StartJourneyRegistrationType: {
|
|
481
|
+
readonly Domestic: "domestic";
|
|
482
|
+
readonly Foreign: "foreign";
|
|
483
|
+
readonly Unknown: "unknown";
|
|
484
|
+
};
|
|
485
|
+
export type StartJourneyRegistrationType = ClosedEnum<typeof StartJourneyRegistrationType>;
|
|
486
|
+
export type StartJourneyRegisteredAddressLocation = {
|
|
487
|
+
latitude?: string | undefined;
|
|
488
|
+
longitude?: string | undefined;
|
|
489
|
+
geoAccuracy?: string | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* A What3words designation associated with this location with '.' separator.
|
|
492
|
+
*/
|
|
493
|
+
what3words?: string | undefined;
|
|
494
|
+
};
|
|
495
|
+
export type StartJourneyRegisteredAddress = {
|
|
496
|
+
/**
|
|
497
|
+
* Unformatted line based address
|
|
498
|
+
*/
|
|
499
|
+
lines?: Array<string> | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* The address as a single line
|
|
502
|
+
*/
|
|
503
|
+
addressString?: string | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* 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.
|
|
506
|
+
*/
|
|
507
|
+
premise?: string | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* 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.
|
|
510
|
+
*/
|
|
511
|
+
building?: string | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
514
|
+
*/
|
|
515
|
+
subBuilding?: string | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
518
|
+
*/
|
|
519
|
+
thoroughfare?: string | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
522
|
+
*/
|
|
523
|
+
dependentThoroughfare?: string | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
526
|
+
*/
|
|
527
|
+
locality?: string | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
530
|
+
*/
|
|
531
|
+
dependentLocality?: string | undefined;
|
|
532
|
+
/**
|
|
533
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
534
|
+
*/
|
|
535
|
+
doubleDependentLocality?: string | undefined;
|
|
536
|
+
/**
|
|
537
|
+
* 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
|
|
538
|
+
*/
|
|
539
|
+
postalCode?: string | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
542
|
+
*/
|
|
543
|
+
postBox?: string | undefined;
|
|
544
|
+
/**
|
|
545
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
546
|
+
*/
|
|
547
|
+
country?: string | undefined;
|
|
548
|
+
superAdministrativeArea?: string | undefined;
|
|
549
|
+
administrativeArea?: string | undefined;
|
|
550
|
+
subAdministrativeArea?: string | undefined;
|
|
551
|
+
organization?: string | undefined;
|
|
552
|
+
location?: StartJourneyRegisteredAddressLocation | undefined;
|
|
553
|
+
};
|
|
554
|
+
export type StartJourneyAgentAddressLocation = {
|
|
555
|
+
latitude?: string | undefined;
|
|
556
|
+
longitude?: string | undefined;
|
|
557
|
+
geoAccuracy?: string | undefined;
|
|
558
|
+
/**
|
|
559
|
+
* A What3words designation associated with this location with '.' separator.
|
|
560
|
+
*/
|
|
561
|
+
what3words?: string | undefined;
|
|
562
|
+
};
|
|
563
|
+
export type StartJourneyAgentAddress = {
|
|
564
|
+
/**
|
|
565
|
+
* Unformatted line based address
|
|
566
|
+
*/
|
|
567
|
+
lines?: Array<string> | undefined;
|
|
568
|
+
/**
|
|
569
|
+
* The address as a single line
|
|
570
|
+
*/
|
|
571
|
+
addressString?: string | undefined;
|
|
572
|
+
/**
|
|
573
|
+
* 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.
|
|
574
|
+
*/
|
|
575
|
+
premise?: string | undefined;
|
|
576
|
+
/**
|
|
577
|
+
* 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.
|
|
578
|
+
*/
|
|
579
|
+
building?: string | undefined;
|
|
580
|
+
/**
|
|
581
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
582
|
+
*/
|
|
583
|
+
subBuilding?: string | undefined;
|
|
584
|
+
/**
|
|
585
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
586
|
+
*/
|
|
587
|
+
thoroughfare?: string | undefined;
|
|
588
|
+
/**
|
|
589
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
590
|
+
*/
|
|
591
|
+
dependentThoroughfare?: string | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
594
|
+
*/
|
|
595
|
+
locality?: string | undefined;
|
|
596
|
+
/**
|
|
597
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
598
|
+
*/
|
|
599
|
+
dependentLocality?: string | undefined;
|
|
600
|
+
/**
|
|
601
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
602
|
+
*/
|
|
603
|
+
doubleDependentLocality?: string | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* 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
|
|
606
|
+
*/
|
|
607
|
+
postalCode?: string | undefined;
|
|
608
|
+
/**
|
|
609
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
610
|
+
*/
|
|
611
|
+
postBox?: string | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
614
|
+
*/
|
|
615
|
+
country?: string | undefined;
|
|
616
|
+
superAdministrativeArea?: string | undefined;
|
|
617
|
+
administrativeArea?: string | undefined;
|
|
618
|
+
subAdministrativeArea?: string | undefined;
|
|
619
|
+
organization?: string | undefined;
|
|
620
|
+
location?: StartJourneyAgentAddressLocation | undefined;
|
|
621
|
+
};
|
|
622
|
+
export type StartJourneyRegistration = {
|
|
623
|
+
jurisdiction?: string | undefined;
|
|
624
|
+
registrationType?: StartJourneyRegistrationType | undefined;
|
|
625
|
+
fileNumber?: string | undefined;
|
|
626
|
+
/**
|
|
627
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
628
|
+
*/
|
|
629
|
+
issueDate?: string | undefined;
|
|
630
|
+
registeredAddress?: StartJourneyRegisteredAddress | undefined;
|
|
631
|
+
agentName?: string | undefined;
|
|
632
|
+
agentAddress?: StartJourneyAgentAddress | undefined;
|
|
633
|
+
};
|
|
634
|
+
export declare const StartJourneyTypePrimary2: {
|
|
635
|
+
readonly Primary: "primary";
|
|
636
|
+
};
|
|
637
|
+
export type StartJourneyTypePrimary2 = ClosedEnum<typeof StartJourneyTypePrimary2>;
|
|
638
|
+
export declare const StartJourneyRole: {
|
|
639
|
+
readonly UltimateBeneficialOwner: "ultimateBeneficialOwner";
|
|
640
|
+
readonly Director: "director";
|
|
641
|
+
readonly Officer: "officer";
|
|
642
|
+
readonly Secretary: "secretary";
|
|
643
|
+
readonly Shareholder: "shareholder";
|
|
644
|
+
readonly Partner: "partner";
|
|
645
|
+
};
|
|
646
|
+
export type StartJourneyRole = ClosedEnum<typeof StartJourneyRole>;
|
|
647
|
+
export type StartJourneyCurrentAddressLocationPrimary = {
|
|
648
|
+
latitude?: string | undefined;
|
|
649
|
+
longitude?: string | undefined;
|
|
650
|
+
geoAccuracy?: string | undefined;
|
|
651
|
+
/**
|
|
652
|
+
* A What3words designation associated with this location with '.' separator.
|
|
653
|
+
*/
|
|
654
|
+
what3words?: string | undefined;
|
|
655
|
+
};
|
|
656
|
+
export type StartJourneyCurrentAddressPrimary = {
|
|
657
|
+
/**
|
|
658
|
+
* Unformatted line based address
|
|
659
|
+
*/
|
|
660
|
+
lines?: Array<string> | undefined;
|
|
661
|
+
/**
|
|
662
|
+
* The address as a single line
|
|
663
|
+
*/
|
|
664
|
+
addressString?: string | undefined;
|
|
665
|
+
/**
|
|
666
|
+
* 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.
|
|
667
|
+
*/
|
|
668
|
+
premise?: string | undefined;
|
|
669
|
+
/**
|
|
670
|
+
* 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.
|
|
671
|
+
*/
|
|
672
|
+
building?: string | undefined;
|
|
673
|
+
/**
|
|
674
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
675
|
+
*/
|
|
676
|
+
subBuilding?: string | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* This field holds the most common street or block data element within a country. For instance, USA Street
|
|
679
|
+
*/
|
|
680
|
+
thoroughfare?: string | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* The name of a dependent street or block, such as a street within a complex.
|
|
683
|
+
*/
|
|
684
|
+
dependentThoroughfare?: string | undefined;
|
|
685
|
+
/**
|
|
686
|
+
* This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
|
|
687
|
+
*/
|
|
688
|
+
locality?: string | undefined;
|
|
689
|
+
/**
|
|
690
|
+
* This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
|
|
691
|
+
*/
|
|
692
|
+
dependentLocality?: string | undefined;
|
|
693
|
+
/**
|
|
694
|
+
* This is an even smaller area within a dependent locality, often used in very detailed addresses.
|
|
695
|
+
*/
|
|
696
|
+
doubleDependentLocality?: string | undefined;
|
|
697
|
+
/**
|
|
698
|
+
* 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
|
|
699
|
+
*/
|
|
700
|
+
postalCode?: string | undefined;
|
|
701
|
+
/**
|
|
702
|
+
* This field contains the post box number associated with a particular delivery point, should one exist.
|
|
703
|
+
*/
|
|
704
|
+
postBox?: string | undefined;
|
|
705
|
+
/**
|
|
706
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
707
|
+
*/
|
|
708
|
+
country?: string | undefined;
|
|
709
|
+
superAdministrativeArea?: string | undefined;
|
|
710
|
+
administrativeArea?: string | undefined;
|
|
711
|
+
subAdministrativeArea?: string | undefined;
|
|
712
|
+
organization?: string | undefined;
|
|
713
|
+
location?: StartJourneyCurrentAddressLocationPrimary | undefined;
|
|
714
|
+
};
|
|
715
|
+
export type StartJourneyPerson = {
|
|
716
|
+
/**
|
|
717
|
+
* Title of an individual such as Mr, Mrs, Dr, Sir
|
|
718
|
+
*/
|
|
719
|
+
title?: string | undefined;
|
|
720
|
+
/**
|
|
721
|
+
* A person's name used by their collegues and friends to address them
|
|
722
|
+
*/
|
|
723
|
+
firstName?: string | undefined;
|
|
724
|
+
/**
|
|
725
|
+
* Any other registered names used by the individual, not aliases
|
|
726
|
+
*/
|
|
727
|
+
middleNames?: Array<string> | undefined;
|
|
728
|
+
/**
|
|
729
|
+
* Any family names for the individual
|
|
730
|
+
*/
|
|
731
|
+
lastNames?: Array<string> | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* Any family names for the individual
|
|
734
|
+
*/
|
|
735
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
736
|
+
id?: string | undefined;
|
|
737
|
+
type?: StartJourneyTypePrimary2 | undefined;
|
|
738
|
+
role?: StartJourneyRole | undefined;
|
|
739
|
+
position?: string | undefined;
|
|
740
|
+
ownershipPercentage?: number | undefined;
|
|
741
|
+
/**
|
|
742
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
743
|
+
*/
|
|
744
|
+
nationality?: string | undefined;
|
|
745
|
+
dateOfBirth?: string | undefined;
|
|
746
|
+
/**
|
|
747
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
748
|
+
*/
|
|
749
|
+
startDate?: string | undefined;
|
|
750
|
+
/**
|
|
751
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
752
|
+
*/
|
|
753
|
+
endDate?: string | undefined;
|
|
754
|
+
currentAddress?: StartJourneyCurrentAddressPrimary | undefined;
|
|
755
|
+
};
|
|
756
|
+
export type StartJourneyPhonePrimary = {
|
|
757
|
+
/**
|
|
758
|
+
* The type of phone number, such as landline, mobile, fax, unknown etc
|
|
759
|
+
*/
|
|
760
|
+
type: string;
|
|
761
|
+
/**
|
|
762
|
+
* Phone number, ideally in international format with +(Country Code)
|
|
763
|
+
*/
|
|
764
|
+
number: string;
|
|
371
765
|
};
|
|
372
|
-
export type
|
|
766
|
+
export type StartJourneyEntity = {
|
|
767
|
+
id?: string | undefined;
|
|
768
|
+
type?: StartJourneyTypePrimary1 | undefined;
|
|
769
|
+
name?: string | undefined;
|
|
770
|
+
aliases?: Array<string> | undefined;
|
|
771
|
+
businessType?: string | undefined;
|
|
772
|
+
status?: StartJourneyStatus | undefined;
|
|
773
|
+
description?: string | undefined;
|
|
774
|
+
addresses?: Array<StartJourneyAddressPrimary> | undefined;
|
|
775
|
+
taxIdentifiers?: Array<StartJourneyTaxIdentifier> | undefined;
|
|
776
|
+
companyNumber?: string | undefined;
|
|
777
|
+
industryClassifications?: Array<StartJourneyIndustryClassification> | undefined;
|
|
778
|
+
registrations?: Array<StartJourneyRegistration> | undefined;
|
|
779
|
+
corporateStructure?: string | undefined;
|
|
780
|
+
persons?: Array<StartJourneyPerson> | undefined;
|
|
781
|
+
/**
|
|
782
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
783
|
+
*/
|
|
784
|
+
incorporationDate?: string | undefined;
|
|
785
|
+
/**
|
|
786
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
787
|
+
*/
|
|
788
|
+
dissolutionDate?: string | undefined;
|
|
789
|
+
phones?: Array<StartJourneyPhonePrimary> | undefined;
|
|
790
|
+
websites?: Array<string> | undefined;
|
|
791
|
+
headcount?: number | undefined;
|
|
792
|
+
isNonProfit?: boolean | undefined;
|
|
793
|
+
};
|
|
794
|
+
export type StartJourneyDocumentAddress = {
|
|
373
795
|
addressString?: string | undefined;
|
|
374
796
|
extractedAddressString?: string | undefined;
|
|
375
797
|
addressLine1?: string | undefined;
|
|
@@ -387,6 +809,24 @@ export type StartJourneyDocumentDevice = {
|
|
|
387
809
|
serialNumber?: string | undefined;
|
|
388
810
|
manufacturer?: string | undefined;
|
|
389
811
|
};
|
|
812
|
+
export type StartJourneySide1Device = {
|
|
813
|
+
type?: string | undefined;
|
|
814
|
+
model?: string | undefined;
|
|
815
|
+
hasContactlessReader?: boolean | undefined;
|
|
816
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
817
|
+
hasCamera?: boolean | undefined;
|
|
818
|
+
serialNumber?: string | undefined;
|
|
819
|
+
manufacturer?: string | undefined;
|
|
820
|
+
};
|
|
821
|
+
export type StartJourneySide2Device = {
|
|
822
|
+
type?: string | undefined;
|
|
823
|
+
model?: string | undefined;
|
|
824
|
+
hasContactlessReader?: boolean | undefined;
|
|
825
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
826
|
+
hasCamera?: boolean | undefined;
|
|
827
|
+
serialNumber?: string | undefined;
|
|
828
|
+
manufacturer?: string | undefined;
|
|
829
|
+
};
|
|
390
830
|
export declare const StartJourneyName: {
|
|
391
831
|
readonly Com: "COM";
|
|
392
832
|
readonly Sod: "SOD";
|
|
@@ -579,10 +1019,15 @@ export type StartJourneyDocumentAlias = {
|
|
|
579
1019
|
* Any family names for the individual
|
|
580
1020
|
*/
|
|
581
1021
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
1022
|
+
/**
|
|
1023
|
+
* The whole name as stated, unsplit into parts — used when the alias has no meaningful name parts
|
|
1024
|
+
*/
|
|
1025
|
+
fullName?: string | undefined;
|
|
582
1026
|
};
|
|
583
1027
|
export declare const StartJourneyDocumentRelationship: {
|
|
584
1028
|
readonly Mother: "mother";
|
|
585
1029
|
readonly Father: "father";
|
|
1030
|
+
readonly Spouse: "spouse";
|
|
586
1031
|
readonly MaternalGrandFather: "maternalGrandFather";
|
|
587
1032
|
readonly MaternalGrandMother: "maternalGrandMother";
|
|
588
1033
|
readonly PaternalGrandFather: "paternalGrandFather";
|
|
@@ -631,15 +1076,15 @@ export type StartJourneyDocumentCurrentAddress = {
|
|
|
631
1076
|
*/
|
|
632
1077
|
addressString?: string | undefined;
|
|
633
1078
|
/**
|
|
634
|
-
* The
|
|
1079
|
+
* 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.
|
|
635
1080
|
*/
|
|
636
1081
|
premise?: string | undefined;
|
|
637
1082
|
/**
|
|
638
|
-
* The name of
|
|
1083
|
+
* 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.
|
|
639
1084
|
*/
|
|
640
1085
|
building?: string | undefined;
|
|
641
1086
|
/**
|
|
642
|
-
* The
|
|
1087
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
643
1088
|
*/
|
|
644
1089
|
subBuilding?: string | undefined;
|
|
645
1090
|
/**
|
|
@@ -699,15 +1144,15 @@ export type StartJourneyDocumentPreviousAddress = {
|
|
|
699
1144
|
*/
|
|
700
1145
|
addressString?: string | undefined;
|
|
701
1146
|
/**
|
|
702
|
-
* The
|
|
1147
|
+
* 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.
|
|
703
1148
|
*/
|
|
704
1149
|
premise?: string | undefined;
|
|
705
1150
|
/**
|
|
706
|
-
* The name of
|
|
1151
|
+
* 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.
|
|
707
1152
|
*/
|
|
708
1153
|
building?: string | undefined;
|
|
709
1154
|
/**
|
|
710
|
-
* The
|
|
1155
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
711
1156
|
*/
|
|
712
1157
|
subBuilding?: string | undefined;
|
|
713
1158
|
/**
|
|
@@ -750,11 +1195,11 @@ export type StartJourneyDocumentPreviousAddress = {
|
|
|
750
1195
|
/**
|
|
751
1196
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
752
1197
|
*/
|
|
753
|
-
fromDate
|
|
1198
|
+
fromDate?: string | undefined;
|
|
754
1199
|
/**
|
|
755
1200
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
756
1201
|
*/
|
|
757
|
-
toDate
|
|
1202
|
+
toDate?: string | undefined;
|
|
758
1203
|
};
|
|
759
1204
|
export type StartJourneyDocumentPlaceOfBirthLocation = {
|
|
760
1205
|
latitude?: string | undefined;
|
|
@@ -775,15 +1220,15 @@ export type StartJourneyDocumentPlaceOfBirth = {
|
|
|
775
1220
|
*/
|
|
776
1221
|
addressString?: string | undefined;
|
|
777
1222
|
/**
|
|
778
|
-
* The
|
|
1223
|
+
* 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.
|
|
779
1224
|
*/
|
|
780
1225
|
premise?: string | undefined;
|
|
781
1226
|
/**
|
|
782
|
-
* The name of
|
|
1227
|
+
* 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.
|
|
783
1228
|
*/
|
|
784
1229
|
building?: string | undefined;
|
|
785
1230
|
/**
|
|
786
|
-
* The
|
|
1231
|
+
* The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
|
|
787
1232
|
*/
|
|
788
1233
|
subBuilding?: string | undefined;
|
|
789
1234
|
/**
|
|
@@ -850,7 +1295,7 @@ export type StartJourneyDocumentPhone = {
|
|
|
850
1295
|
};
|
|
851
1296
|
export type StartJourneyDocumentEmail = {
|
|
852
1297
|
/**
|
|
853
|
-
*
|
|
1298
|
+
* 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').
|
|
854
1299
|
*/
|
|
855
1300
|
type: string;
|
|
856
1301
|
/**
|
|
@@ -889,6 +1334,9 @@ export type StartJourneyDocumentSubject = {
|
|
|
889
1334
|
* Any family names for the individual
|
|
890
1335
|
*/
|
|
891
1336
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
1337
|
+
/**
|
|
1338
|
+
* Names the subject is otherwise or was previously known by — applicant-declared, unordered, duplicates permitted
|
|
1339
|
+
*/
|
|
892
1340
|
aliases?: Array<StartJourneyDocumentAlias> | undefined;
|
|
893
1341
|
relatedPersons?: Array<StartJourneyDocumentRelatedPerson> | undefined;
|
|
894
1342
|
/**
|
|
@@ -907,10 +1355,14 @@ export type StartJourneyDocumentSubject = {
|
|
|
907
1355
|
* The subject's mother's maiden name, used for identity verification
|
|
908
1356
|
*/
|
|
909
1357
|
mothersMaidenName?: string | undefined;
|
|
1358
|
+
/**
|
|
1359
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1360
|
+
*/
|
|
1361
|
+
nationality?: string | undefined;
|
|
910
1362
|
};
|
|
911
1363
|
export type StartJourneyDocument = {
|
|
912
1364
|
oneDBarcode?: string | undefined;
|
|
913
|
-
address?:
|
|
1365
|
+
address?: StartJourneyDocumentAddress | undefined;
|
|
914
1366
|
applicationDate?: string | undefined;
|
|
915
1367
|
applicationNumber?: string | undefined;
|
|
916
1368
|
dateOfBirth?: string | undefined;
|
|
@@ -988,13 +1440,15 @@ export type StartJourneyDocument = {
|
|
|
988
1440
|
*/
|
|
989
1441
|
issuerCountryCode?: string | undefined;
|
|
990
1442
|
id?: string | undefined;
|
|
991
|
-
type
|
|
1443
|
+
type: string;
|
|
992
1444
|
category?: string | undefined;
|
|
993
1445
|
subtype?: string | undefined;
|
|
994
1446
|
format?: string | undefined;
|
|
995
1447
|
device?: StartJourneyDocumentDevice | undefined;
|
|
996
1448
|
side1Image?: string | undefined;
|
|
997
1449
|
side2Image?: string | undefined;
|
|
1450
|
+
side1Device?: StartJourneySide1Device | undefined;
|
|
1451
|
+
side2Device?: StartJourneySide2Device | undefined;
|
|
998
1452
|
chip?: StartJourneyChip | undefined;
|
|
999
1453
|
classification?: StartJourneyClassification | undefined;
|
|
1000
1454
|
extraction?: StartJourneyExtraction | undefined;
|
|
@@ -1005,11 +1459,55 @@ export type StartJourneyDocument = {
|
|
|
1005
1459
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1006
1460
|
*/
|
|
1007
1461
|
expiryDate?: string | undefined;
|
|
1462
|
+
cardType?: string | undefined;
|
|
1463
|
+
/**
|
|
1464
|
+
* Year and month in ISO 8601 format: YYYY-MM
|
|
1465
|
+
*/
|
|
1466
|
+
expiryMonth?: string | undefined;
|
|
1467
|
+
cardColour?: string | undefined;
|
|
1468
|
+
cardStatus?: string | undefined;
|
|
1008
1469
|
subject?: StartJourneyDocumentSubject | undefined;
|
|
1009
1470
|
/**
|
|
1010
1471
|
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1011
1472
|
*/
|
|
1012
1473
|
country?: string | undefined;
|
|
1474
|
+
certificateFormat?: string | undefined;
|
|
1475
|
+
registrationNumber?: string | undefined;
|
|
1476
|
+
/**
|
|
1477
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1478
|
+
*/
|
|
1479
|
+
registrationDate?: string | undefined;
|
|
1480
|
+
/**
|
|
1481
|
+
* Four-digit calendar year in ISO 8601 format: YYYY
|
|
1482
|
+
*/
|
|
1483
|
+
registrationYear?: string | undefined;
|
|
1484
|
+
partyRole?: string | undefined;
|
|
1485
|
+
/**
|
|
1486
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1487
|
+
*/
|
|
1488
|
+
dateOfEvent?: string | undefined;
|
|
1489
|
+
previousFirstName?: string | undefined;
|
|
1490
|
+
previousMiddleName?: string | undefined;
|
|
1491
|
+
previousSurname?: string | undefined;
|
|
1492
|
+
individualReferenceNumber?: string | undefined;
|
|
1493
|
+
nameLine1?: string | undefined;
|
|
1494
|
+
nameLine2?: string | undefined;
|
|
1495
|
+
nameLine3?: string | undefined;
|
|
1496
|
+
nameLine4?: string | undefined;
|
|
1497
|
+
};
|
|
1498
|
+
export declare const StartJourneyBiometricType: {
|
|
1499
|
+
readonly StoredFace: "storedFace";
|
|
1500
|
+
};
|
|
1501
|
+
export type StartJourneyBiometricType = ClosedEnum<typeof StartJourneyBiometricType>;
|
|
1502
|
+
export type StartJourneyBiometricStoredFace = {
|
|
1503
|
+
id?: string | undefined;
|
|
1504
|
+
type: StartJourneyBiometricType;
|
|
1505
|
+
templateReference: string;
|
|
1506
|
+
};
|
|
1507
|
+
export type StartJourneyBiometric5 = {
|
|
1508
|
+
id?: string | undefined;
|
|
1509
|
+
type?: string | undefined;
|
|
1510
|
+
anchorImage: string;
|
|
1013
1511
|
};
|
|
1014
1512
|
export type StartJourneyBiometric4 = {
|
|
1015
1513
|
id?: string | undefined;
|
|
@@ -1034,11 +1532,11 @@ export type StartJourneyBiometric1 = {
|
|
|
1034
1532
|
face1Image: string;
|
|
1035
1533
|
face2Image: string;
|
|
1036
1534
|
};
|
|
1037
|
-
export type StartJourneyBiometricUnion = StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometric3 | StartJourneyBiometric4;
|
|
1535
|
+
export type StartJourneyBiometricUnion = StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometricStoredFace | StartJourneyBiometric3 | StartJourneyBiometric4 | StartJourneyBiometric5;
|
|
1038
1536
|
export type StartJourneyUser = {
|
|
1039
1537
|
id: string;
|
|
1040
|
-
email
|
|
1041
|
-
domain
|
|
1538
|
+
email?: string | undefined;
|
|
1539
|
+
domain?: string | undefined;
|
|
1042
1540
|
};
|
|
1043
1541
|
export type StartJourneyClient = {
|
|
1044
1542
|
id: string;
|
|
@@ -1075,6 +1573,9 @@ export type StartJourneySessionAuth = {
|
|
|
1075
1573
|
clientSecret?: string | undefined;
|
|
1076
1574
|
};
|
|
1077
1575
|
export type StartJourneySession = {
|
|
1576
|
+
id?: string | undefined;
|
|
1577
|
+
type?: string | undefined;
|
|
1578
|
+
provider?: string | undefined;
|
|
1078
1579
|
user?: StartJourneyUser | undefined;
|
|
1079
1580
|
client?: StartJourneyClient | undefined;
|
|
1080
1581
|
device?: StartJourneySessionDevice | undefined;
|
|
@@ -1105,7 +1606,7 @@ export type StartJourneyConsent = {
|
|
|
1105
1606
|
};
|
|
1106
1607
|
export type StartJourneyAccount = {
|
|
1107
1608
|
/**
|
|
1108
|
-
* The type of account, e.g. Bank Account
|
|
1609
|
+
* The type of account (canonical camelCase, e.g. "bankAccount"). Legacy value "Bank Account" is still read but new writes emit the canonical form.
|
|
1109
1610
|
*/
|
|
1110
1611
|
type: string;
|
|
1111
1612
|
/**
|
|
@@ -1145,59 +1646,125 @@ export type StartJourneyAccount = {
|
|
|
1145
1646
|
*/
|
|
1146
1647
|
accountType?: string | undefined;
|
|
1147
1648
|
};
|
|
1649
|
+
export type StartJourneyChoice = {
|
|
1650
|
+
label: string;
|
|
1651
|
+
text: string;
|
|
1652
|
+
};
|
|
1653
|
+
export type StartJourneyQuestion = {
|
|
1654
|
+
id: number;
|
|
1655
|
+
questionText: string;
|
|
1656
|
+
helpText?: string | undefined;
|
|
1657
|
+
choices: Array<StartJourneyChoice>;
|
|
1658
|
+
};
|
|
1659
|
+
export type StartJourneyAnswer = {
|
|
1660
|
+
id: number;
|
|
1661
|
+
choices: Array<string>;
|
|
1662
|
+
};
|
|
1663
|
+
export type StartJourneyKba = {
|
|
1664
|
+
questions: Array<StartJourneyQuestion>;
|
|
1665
|
+
answers: Array<StartJourneyAnswer>;
|
|
1666
|
+
};
|
|
1148
1667
|
export type StartJourneySubject = {
|
|
1149
1668
|
identity?: StartJourneyIdentity | undefined;
|
|
1669
|
+
entities?: Array<StartJourneyEntity> | undefined;
|
|
1150
1670
|
documents?: Array<StartJourneyDocument> | undefined;
|
|
1151
|
-
biometrics?: Array<StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometric3 | StartJourneyBiometric4> | undefined;
|
|
1671
|
+
biometrics?: Array<StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometricStoredFace | StartJourneyBiometric3 | StartJourneyBiometric4 | StartJourneyBiometric5> | undefined;
|
|
1152
1672
|
sessions?: Array<StartJourneySession> | undefined;
|
|
1153
1673
|
consent?: Array<StartJourneyConsent> | undefined;
|
|
1154
1674
|
accounts?: Array<StartJourneyAccount> | undefined;
|
|
1675
|
+
kba?: StartJourneyKba | undefined;
|
|
1155
1676
|
uid?: string | undefined;
|
|
1156
1677
|
};
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1678
|
+
/**
|
|
1679
|
+
* How resume behaves for this delivery: off (no credential minted — pre-resume behavior) or resume (the applicant may return until an absolute deadline). There is no park setting and no park behavior; what park expressed is the window resume already grants. resume uses resumeExpiryMinutes and off uses no lifetime member at all — supplying one under off is rejected. An operator bound can only cap this DOWN, never raise it.
|
|
1680
|
+
*/
|
|
1681
|
+
export declare const ResumeMode: {
|
|
1682
|
+
readonly Off: "off";
|
|
1683
|
+
readonly Resume: "resume";
|
|
1160
1684
|
};
|
|
1161
|
-
|
|
1685
|
+
/**
|
|
1686
|
+
* How resume behaves for this delivery: off (no credential minted — pre-resume behavior) or resume (the applicant may return until an absolute deadline). There is no park setting and no park behavior; what park expressed is the window resume already grants. resume uses resumeExpiryMinutes and off uses no lifetime member at all — supplying one under off is rejected. An operator bound can only cap this DOWN, never raise it.
|
|
1687
|
+
*/
|
|
1688
|
+
export type ResumeMode = ClosedEnum<typeof ResumeMode>;
|
|
1689
|
+
/**
|
|
1690
|
+
* Per-journey link lifetime and resume behavior. Every member is optional, and each is resolved independently across the per-journey, delivery, organization and system-default tiers, then clamped down to the operator bounds. All three members reach runtime behavior: ttlMinutes bounds how long the link stays startable, and the resolved resumeMode and resumeExpiryMinutes are frozen onto the delivery-token and connect-secret records, read at connect, and enforced when a resume credential is minted and exchanged. None of the resolved values is echoed on any response — the journey-start log line is where the resolved mode, its tier and any clamp are reported. An absent ttlMinutes falls back to the delivery resource's linkConfig, then to the organization's value, then to the deprecated flat deliveryUrlTtlMinutes, then to the system default.
|
|
1691
|
+
*/
|
|
1692
|
+
export type LinkConfig = {
|
|
1162
1693
|
/**
|
|
1163
|
-
*
|
|
1694
|
+
* Lifetime of the delivery link in minutes: the deadline for STARTING a journey, governing the connect secret and therefore how long an unopened link stays usable. It no longer bounds how long an applicant may come BACK — that is resumeExpiryMinutes, which is anchored at first connect and may outlast this. Replaces the deprecated flat deliveryUrlTtlMinutes. Bounded by the operator ceiling at runtime, not here: a value above the ceiling is clamped down to it. A shorter lifetime is always honored exactly as supplied — there is no lower bound, and nothing lengthens a link beyond what was requested.
|
|
1164
1695
|
*/
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1696
|
+
ttlMinutes?: number | undefined;
|
|
1697
|
+
/**
|
|
1698
|
+
* How resume behaves for this delivery: off (no credential minted — pre-resume behavior) or resume (the applicant may return until an absolute deadline). There is no park setting and no park behavior; what park expressed is the window resume already grants. resume uses resumeExpiryMinutes and off uses no lifetime member at all — supplying one under off is rejected. An operator bound can only cap this DOWN, never raise it.
|
|
1699
|
+
*/
|
|
1700
|
+
resumeMode?: ResumeMode | undefined;
|
|
1701
|
+
/**
|
|
1702
|
+
* Resume-credential lifetime in minutes, ABSOLUTE from the applicant first connecting — not from link issue, and not sliding from last use. Nothing renews it: returning many times neither extends nor shortens it. Valid only when resumeMode is resume; supplying it alongside off is rejected. Clamped downward only. It may fall AFTER the link expires, which is deliberate — the link bounds starting, this bounds coming back. Because nothing renews it, a small value is a total journey budget rather than an idle timeout, and will cut off an applicant who never stopped working.
|
|
1703
|
+
*/
|
|
1704
|
+
resumeExpiryMinutes?: number | undefined;
|
|
1170
1705
|
};
|
|
1171
1706
|
/**
|
|
1172
|
-
*
|
|
1707
|
+
* Selects which revision of this organisation configuration overlay this execution runs against. It participates in the delivery cache key, so naming a version guarantees the start is served a graph built from that exact overlay instead of a cached one. Omitting it is a no-op: the latest overlay applies and the request behaves as it did before this member existed.
|
|
1173
1708
|
*/
|
|
1174
|
-
export type
|
|
1709
|
+
export type Overlay = {
|
|
1710
|
+
/**
|
|
1711
|
+
* The overlay revision to apply for this execution. Supply the version returned when the overlay was saved to have the change take effect on this start rather than after the delivery cache expires. Omit it to run the latest overlay, which is the behavior when this member is absent.
|
|
1712
|
+
*/
|
|
1713
|
+
version: string;
|
|
1714
|
+
};
|
|
1715
|
+
export type Config = {
|
|
1716
|
+
delivery: string;
|
|
1717
|
+
branding?: any | undefined;
|
|
1718
|
+
/**
|
|
1719
|
+
* Marks this start as operator-completed (assisted) rather than customer-completed, so the two populations can be told apart in downstream telemetry. Accepted and logged but not yet enforced: supplying it does not change validation, routing, execution or the response, and omitting it leaves the request byte-identical to an ordinary start. It is an attribution signal only, and whether anything ever reads it to change behavior is a separate decision that has not been taken.
|
|
1720
|
+
*/
|
|
1721
|
+
assisted?: boolean | undefined;
|
|
1722
|
+
/**
|
|
1723
|
+
* Opt-in synchronous execution: when true, the start call waits for the journey and returns its outcome inline (completed, failed, awaiting-input or pending) instead of returning immediately with just an instanceId. Requires delivery "api" and a durable engine; otherwise the request is rejected with 400 before any journey is created. false is accepted and means the same as omitting it. Same name as Captain V1, but the response shape differs: the journey state is nested under "state".
|
|
1724
|
+
*/
|
|
1725
|
+
inlineResult?: boolean | undefined;
|
|
1726
|
+
/**
|
|
1727
|
+
* How many seconds the caller is willing to wait; requires inlineResult: true. Optional: absent means wait up to the platform ceiling, which is the load balancer's idle timeout minus 5 seconds (55 today). Send a smaller value if your own HTTP client gives up sooner. A value above the ceiling is clamped, not rejected, and the clamp is logged; waitedSeconds in the response says how long the call waited.
|
|
1728
|
+
*/
|
|
1729
|
+
syncWaitSeconds?: number | undefined;
|
|
1730
|
+
/**
|
|
1731
|
+
* Per-journey link lifetime and resume behavior. Every member is optional, and each is resolved independently across the per-journey, delivery, organization and system-default tiers, then clamped down to the operator bounds. All three members reach runtime behavior: ttlMinutes bounds how long the link stays startable, and the resolved resumeMode and resumeExpiryMinutes are frozen onto the delivery-token and connect-secret records, read at connect, and enforced when a resume credential is minted and exchanged. None of the resolved values is echoed on any response — the journey-start log line is where the resolved mode, its tier and any clamp are reported. An absent ttlMinutes falls back to the delivery resource's linkConfig, then to the organization's value, then to the deprecated flat deliveryUrlTtlMinutes, then to the system default.
|
|
1732
|
+
*/
|
|
1733
|
+
linkConfig?: LinkConfig | undefined;
|
|
1175
1734
|
/**
|
|
1176
|
-
*
|
|
1735
|
+
* Selects which revision of this organisation configuration overlay this execution runs against. It participates in the delivery cache key, so naming a version guarantees the start is served a graph built from that exact overlay instead of a cached one. Omitting it is a no-op: the latest overlay applies and the request behaves as it did before this member existed.
|
|
1177
1736
|
*/
|
|
1178
|
-
|
|
1737
|
+
overlay?: Overlay | undefined;
|
|
1179
1738
|
[additionalProperties: string]: unknown;
|
|
1180
1739
|
};
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
export type StartJourneyResponseBody1 = {
|
|
1185
|
-
/**
|
|
1186
|
-
* Journey Instance Id, a unique identifier for a started journey instance.
|
|
1187
|
-
*/
|
|
1188
|
-
instanceId: string;
|
|
1740
|
+
export type StartJourneyContext = {
|
|
1741
|
+
subject?: StartJourneySubject | undefined;
|
|
1742
|
+
config: Config;
|
|
1189
1743
|
[additionalProperties: string]: unknown;
|
|
1190
1744
|
};
|
|
1191
|
-
export type
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1745
|
+
export type Modules = {
|
|
1746
|
+
outcome: string;
|
|
1747
|
+
advice?: {
|
|
1748
|
+
[k: string]: any;
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
[additionalProperties: string]: unknown;
|
|
1751
|
+
};
|
|
1752
|
+
export type Scenario = {
|
|
1753
|
+
modules: {
|
|
1754
|
+
[k: string]: Modules;
|
|
1755
|
+
};
|
|
1756
|
+
defaultOutcome?: string | undefined;
|
|
1757
|
+
defaultAdvice?: {
|
|
1758
|
+
[k: string]: any;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
description?: string | undefined;
|
|
1761
|
+
[additionalProperties: string]: unknown;
|
|
1762
|
+
};
|
|
1763
|
+
export type StartJourneyRequest = {
|
|
1764
|
+
resourceId: string;
|
|
1765
|
+
context: StartJourneyContext;
|
|
1766
|
+
scenario?: Scenario | undefined;
|
|
1197
1767
|
};
|
|
1198
|
-
/** @internal */
|
|
1199
|
-
export declare const Config$outboundSchema: z.ZodMiniType<Config$Outbound, Config>;
|
|
1200
|
-
export declare function configToJSON(config: Config): string;
|
|
1201
1768
|
/** @internal */
|
|
1202
1769
|
export type StartJourneyIdentityAlias$Outbound = {
|
|
1203
1770
|
title?: string | undefined;
|
|
@@ -1205,6 +1772,7 @@ export type StartJourneyIdentityAlias$Outbound = {
|
|
|
1205
1772
|
middleNames?: Array<string> | undefined;
|
|
1206
1773
|
lastNames?: Array<string> | undefined;
|
|
1207
1774
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
1775
|
+
fullName?: string | undefined;
|
|
1208
1776
|
};
|
|
1209
1777
|
/** @internal */
|
|
1210
1778
|
export declare const StartJourneyIdentityAlias$outboundSchema: z.ZodMiniType<StartJourneyIdentityAlias$Outbound, StartJourneyIdentityAlias>;
|
|
@@ -1287,8 +1855,8 @@ export type StartJourneyIdentityPreviousAddress$Outbound = {
|
|
|
1287
1855
|
subAdministrativeArea?: string | undefined;
|
|
1288
1856
|
organization?: string | undefined;
|
|
1289
1857
|
location?: StartJourneyIdentityPreviousAddressLocation$Outbound | undefined;
|
|
1290
|
-
fromDate
|
|
1291
|
-
toDate
|
|
1858
|
+
fromDate?: string | undefined;
|
|
1859
|
+
toDate?: string | undefined;
|
|
1292
1860
|
};
|
|
1293
1861
|
/** @internal */
|
|
1294
1862
|
export declare const StartJourneyIdentityPreviousAddress$outboundSchema: z.ZodMiniType<StartJourneyIdentityPreviousAddress$Outbound, StartJourneyIdentityPreviousAddress>;
|
|
@@ -1379,12 +1947,252 @@ export type StartJourneyIdentity$Outbound = {
|
|
|
1379
1947
|
emails?: Array<StartJourneyIdentityEmail$Outbound> | undefined;
|
|
1380
1948
|
socials?: Array<StartJourneyIdentitySocial$Outbound> | undefined;
|
|
1381
1949
|
mothersMaidenName?: string | undefined;
|
|
1950
|
+
nationality?: string | undefined;
|
|
1382
1951
|
};
|
|
1383
1952
|
/** @internal */
|
|
1384
1953
|
export declare const StartJourneyIdentity$outboundSchema: z.ZodMiniType<StartJourneyIdentity$Outbound, StartJourneyIdentity>;
|
|
1385
1954
|
export declare function startJourneyIdentityToJSON(startJourneyIdentity: StartJourneyIdentity): string;
|
|
1386
1955
|
/** @internal */
|
|
1387
|
-
export
|
|
1956
|
+
export declare const StartJourneyTypePrimary1$outboundSchema: z.ZodMiniEnum<typeof StartJourneyTypePrimary1>;
|
|
1957
|
+
/** @internal */
|
|
1958
|
+
export declare const StartJourneyStatus$outboundSchema: z.ZodMiniEnum<typeof StartJourneyStatus>;
|
|
1959
|
+
/** @internal */
|
|
1960
|
+
export type StartJourneyAddressLocation$Outbound = {
|
|
1961
|
+
latitude?: string | undefined;
|
|
1962
|
+
longitude?: string | undefined;
|
|
1963
|
+
geoAccuracy?: string | undefined;
|
|
1964
|
+
what3words?: string | undefined;
|
|
1965
|
+
};
|
|
1966
|
+
/** @internal */
|
|
1967
|
+
export declare const StartJourneyAddressLocation$outboundSchema: z.ZodMiniType<StartJourneyAddressLocation$Outbound, StartJourneyAddressLocation>;
|
|
1968
|
+
export declare function startJourneyAddressLocationToJSON(startJourneyAddressLocation: StartJourneyAddressLocation): string;
|
|
1969
|
+
/** @internal */
|
|
1970
|
+
export declare const StartJourneyPurpose$outboundSchema: z.ZodMiniEnum<typeof StartJourneyPurpose>;
|
|
1971
|
+
/** @internal */
|
|
1972
|
+
export type StartJourneyAddressPrimary$Outbound = {
|
|
1973
|
+
lines?: Array<string> | undefined;
|
|
1974
|
+
addressString?: string | undefined;
|
|
1975
|
+
premise?: string | undefined;
|
|
1976
|
+
building?: string | undefined;
|
|
1977
|
+
subBuilding?: string | undefined;
|
|
1978
|
+
thoroughfare?: string | undefined;
|
|
1979
|
+
dependentThoroughfare?: string | undefined;
|
|
1980
|
+
locality?: string | undefined;
|
|
1981
|
+
dependentLocality?: string | undefined;
|
|
1982
|
+
doubleDependentLocality?: string | undefined;
|
|
1983
|
+
postalCode?: string | undefined;
|
|
1984
|
+
postBox?: string | undefined;
|
|
1985
|
+
country?: string | undefined;
|
|
1986
|
+
superAdministrativeArea?: string | undefined;
|
|
1987
|
+
administrativeArea?: string | undefined;
|
|
1988
|
+
subAdministrativeArea?: string | undefined;
|
|
1989
|
+
organization?: string | undefined;
|
|
1990
|
+
location?: StartJourneyAddressLocation$Outbound | undefined;
|
|
1991
|
+
purpose?: string | undefined;
|
|
1992
|
+
};
|
|
1993
|
+
/** @internal */
|
|
1994
|
+
export declare const StartJourneyAddressPrimary$outboundSchema: z.ZodMiniType<StartJourneyAddressPrimary$Outbound, StartJourneyAddressPrimary>;
|
|
1995
|
+
export declare function startJourneyAddressPrimaryToJSON(startJourneyAddressPrimary: StartJourneyAddressPrimary): string;
|
|
1996
|
+
/** @internal */
|
|
1997
|
+
export declare const StartJourneyTaxIdentifierType$outboundSchema: z.ZodMiniEnum<typeof StartJourneyTaxIdentifierType>;
|
|
1998
|
+
/** @internal */
|
|
1999
|
+
export type StartJourneyTaxIdentifier$Outbound = {
|
|
2000
|
+
type: string;
|
|
2001
|
+
value: string;
|
|
2002
|
+
country?: string | undefined;
|
|
2003
|
+
};
|
|
2004
|
+
/** @internal */
|
|
2005
|
+
export declare const StartJourneyTaxIdentifier$outboundSchema: z.ZodMiniType<StartJourneyTaxIdentifier$Outbound, StartJourneyTaxIdentifier>;
|
|
2006
|
+
export declare function startJourneyTaxIdentifierToJSON(startJourneyTaxIdentifier: StartJourneyTaxIdentifier): string;
|
|
2007
|
+
/** @internal */
|
|
2008
|
+
export declare const StartJourneySystem$outboundSchema: z.ZodMiniEnum<typeof StartJourneySystem>;
|
|
2009
|
+
/** @internal */
|
|
2010
|
+
export type StartJourneyIndustryClassification$Outbound = {
|
|
2011
|
+
system: string;
|
|
2012
|
+
code: string;
|
|
2013
|
+
description?: string | undefined;
|
|
2014
|
+
};
|
|
2015
|
+
/** @internal */
|
|
2016
|
+
export declare const StartJourneyIndustryClassification$outboundSchema: z.ZodMiniType<StartJourneyIndustryClassification$Outbound, StartJourneyIndustryClassification>;
|
|
2017
|
+
export declare function startJourneyIndustryClassificationToJSON(startJourneyIndustryClassification: StartJourneyIndustryClassification): string;
|
|
2018
|
+
/** @internal */
|
|
2019
|
+
export declare const StartJourneyRegistrationType$outboundSchema: z.ZodMiniEnum<typeof StartJourneyRegistrationType>;
|
|
2020
|
+
/** @internal */
|
|
2021
|
+
export type StartJourneyRegisteredAddressLocation$Outbound = {
|
|
2022
|
+
latitude?: string | undefined;
|
|
2023
|
+
longitude?: string | undefined;
|
|
2024
|
+
geoAccuracy?: string | undefined;
|
|
2025
|
+
what3words?: string | undefined;
|
|
2026
|
+
};
|
|
2027
|
+
/** @internal */
|
|
2028
|
+
export declare const StartJourneyRegisteredAddressLocation$outboundSchema: z.ZodMiniType<StartJourneyRegisteredAddressLocation$Outbound, StartJourneyRegisteredAddressLocation>;
|
|
2029
|
+
export declare function startJourneyRegisteredAddressLocationToJSON(startJourneyRegisteredAddressLocation: StartJourneyRegisteredAddressLocation): string;
|
|
2030
|
+
/** @internal */
|
|
2031
|
+
export type StartJourneyRegisteredAddress$Outbound = {
|
|
2032
|
+
lines?: Array<string> | undefined;
|
|
2033
|
+
addressString?: string | undefined;
|
|
2034
|
+
premise?: string | undefined;
|
|
2035
|
+
building?: string | undefined;
|
|
2036
|
+
subBuilding?: string | undefined;
|
|
2037
|
+
thoroughfare?: string | undefined;
|
|
2038
|
+
dependentThoroughfare?: string | undefined;
|
|
2039
|
+
locality?: string | undefined;
|
|
2040
|
+
dependentLocality?: string | undefined;
|
|
2041
|
+
doubleDependentLocality?: string | undefined;
|
|
2042
|
+
postalCode?: string | undefined;
|
|
2043
|
+
postBox?: string | undefined;
|
|
2044
|
+
country?: string | undefined;
|
|
2045
|
+
superAdministrativeArea?: string | undefined;
|
|
2046
|
+
administrativeArea?: string | undefined;
|
|
2047
|
+
subAdministrativeArea?: string | undefined;
|
|
2048
|
+
organization?: string | undefined;
|
|
2049
|
+
location?: StartJourneyRegisteredAddressLocation$Outbound | undefined;
|
|
2050
|
+
};
|
|
2051
|
+
/** @internal */
|
|
2052
|
+
export declare const StartJourneyRegisteredAddress$outboundSchema: z.ZodMiniType<StartJourneyRegisteredAddress$Outbound, StartJourneyRegisteredAddress>;
|
|
2053
|
+
export declare function startJourneyRegisteredAddressToJSON(startJourneyRegisteredAddress: StartJourneyRegisteredAddress): string;
|
|
2054
|
+
/** @internal */
|
|
2055
|
+
export type StartJourneyAgentAddressLocation$Outbound = {
|
|
2056
|
+
latitude?: string | undefined;
|
|
2057
|
+
longitude?: string | undefined;
|
|
2058
|
+
geoAccuracy?: string | undefined;
|
|
2059
|
+
what3words?: string | undefined;
|
|
2060
|
+
};
|
|
2061
|
+
/** @internal */
|
|
2062
|
+
export declare const StartJourneyAgentAddressLocation$outboundSchema: z.ZodMiniType<StartJourneyAgentAddressLocation$Outbound, StartJourneyAgentAddressLocation>;
|
|
2063
|
+
export declare function startJourneyAgentAddressLocationToJSON(startJourneyAgentAddressLocation: StartJourneyAgentAddressLocation): string;
|
|
2064
|
+
/** @internal */
|
|
2065
|
+
export type StartJourneyAgentAddress$Outbound = {
|
|
2066
|
+
lines?: Array<string> | undefined;
|
|
2067
|
+
addressString?: string | undefined;
|
|
2068
|
+
premise?: string | undefined;
|
|
2069
|
+
building?: string | undefined;
|
|
2070
|
+
subBuilding?: string | undefined;
|
|
2071
|
+
thoroughfare?: string | undefined;
|
|
2072
|
+
dependentThoroughfare?: string | undefined;
|
|
2073
|
+
locality?: string | undefined;
|
|
2074
|
+
dependentLocality?: string | undefined;
|
|
2075
|
+
doubleDependentLocality?: string | undefined;
|
|
2076
|
+
postalCode?: string | undefined;
|
|
2077
|
+
postBox?: string | undefined;
|
|
2078
|
+
country?: string | undefined;
|
|
2079
|
+
superAdministrativeArea?: string | undefined;
|
|
2080
|
+
administrativeArea?: string | undefined;
|
|
2081
|
+
subAdministrativeArea?: string | undefined;
|
|
2082
|
+
organization?: string | undefined;
|
|
2083
|
+
location?: StartJourneyAgentAddressLocation$Outbound | undefined;
|
|
2084
|
+
};
|
|
2085
|
+
/** @internal */
|
|
2086
|
+
export declare const StartJourneyAgentAddress$outboundSchema: z.ZodMiniType<StartJourneyAgentAddress$Outbound, StartJourneyAgentAddress>;
|
|
2087
|
+
export declare function startJourneyAgentAddressToJSON(startJourneyAgentAddress: StartJourneyAgentAddress): string;
|
|
2088
|
+
/** @internal */
|
|
2089
|
+
export type StartJourneyRegistration$Outbound = {
|
|
2090
|
+
jurisdiction?: string | undefined;
|
|
2091
|
+
registrationType?: string | undefined;
|
|
2092
|
+
fileNumber?: string | undefined;
|
|
2093
|
+
issueDate?: string | undefined;
|
|
2094
|
+
registeredAddress?: StartJourneyRegisteredAddress$Outbound | undefined;
|
|
2095
|
+
agentName?: string | undefined;
|
|
2096
|
+
agentAddress?: StartJourneyAgentAddress$Outbound | undefined;
|
|
2097
|
+
};
|
|
2098
|
+
/** @internal */
|
|
2099
|
+
export declare const StartJourneyRegistration$outboundSchema: z.ZodMiniType<StartJourneyRegistration$Outbound, StartJourneyRegistration>;
|
|
2100
|
+
export declare function startJourneyRegistrationToJSON(startJourneyRegistration: StartJourneyRegistration): string;
|
|
2101
|
+
/** @internal */
|
|
2102
|
+
export declare const StartJourneyTypePrimary2$outboundSchema: z.ZodMiniEnum<typeof StartJourneyTypePrimary2>;
|
|
2103
|
+
/** @internal */
|
|
2104
|
+
export declare const StartJourneyRole$outboundSchema: z.ZodMiniEnum<typeof StartJourneyRole>;
|
|
2105
|
+
/** @internal */
|
|
2106
|
+
export type StartJourneyCurrentAddressLocationPrimary$Outbound = {
|
|
2107
|
+
latitude?: string | undefined;
|
|
2108
|
+
longitude?: string | undefined;
|
|
2109
|
+
geoAccuracy?: string | undefined;
|
|
2110
|
+
what3words?: string | undefined;
|
|
2111
|
+
};
|
|
2112
|
+
/** @internal */
|
|
2113
|
+
export declare const StartJourneyCurrentAddressLocationPrimary$outboundSchema: z.ZodMiniType<StartJourneyCurrentAddressLocationPrimary$Outbound, StartJourneyCurrentAddressLocationPrimary>;
|
|
2114
|
+
export declare function startJourneyCurrentAddressLocationPrimaryToJSON(startJourneyCurrentAddressLocationPrimary: StartJourneyCurrentAddressLocationPrimary): string;
|
|
2115
|
+
/** @internal */
|
|
2116
|
+
export type StartJourneyCurrentAddressPrimary$Outbound = {
|
|
2117
|
+
lines?: Array<string> | undefined;
|
|
2118
|
+
addressString?: string | undefined;
|
|
2119
|
+
premise?: string | undefined;
|
|
2120
|
+
building?: string | undefined;
|
|
2121
|
+
subBuilding?: string | undefined;
|
|
2122
|
+
thoroughfare?: string | undefined;
|
|
2123
|
+
dependentThoroughfare?: string | undefined;
|
|
2124
|
+
locality?: string | undefined;
|
|
2125
|
+
dependentLocality?: string | undefined;
|
|
2126
|
+
doubleDependentLocality?: string | undefined;
|
|
2127
|
+
postalCode?: string | undefined;
|
|
2128
|
+
postBox?: string | undefined;
|
|
2129
|
+
country?: string | undefined;
|
|
2130
|
+
superAdministrativeArea?: string | undefined;
|
|
2131
|
+
administrativeArea?: string | undefined;
|
|
2132
|
+
subAdministrativeArea?: string | undefined;
|
|
2133
|
+
organization?: string | undefined;
|
|
2134
|
+
location?: StartJourneyCurrentAddressLocationPrimary$Outbound | undefined;
|
|
2135
|
+
};
|
|
2136
|
+
/** @internal */
|
|
2137
|
+
export declare const StartJourneyCurrentAddressPrimary$outboundSchema: z.ZodMiniType<StartJourneyCurrentAddressPrimary$Outbound, StartJourneyCurrentAddressPrimary>;
|
|
2138
|
+
export declare function startJourneyCurrentAddressPrimaryToJSON(startJourneyCurrentAddressPrimary: StartJourneyCurrentAddressPrimary): string;
|
|
2139
|
+
/** @internal */
|
|
2140
|
+
export type StartJourneyPerson$Outbound = {
|
|
2141
|
+
title?: string | undefined;
|
|
2142
|
+
firstName?: string | undefined;
|
|
2143
|
+
middleNames?: Array<string> | undefined;
|
|
2144
|
+
lastNames?: Array<string> | undefined;
|
|
2145
|
+
lastNamesAtBirth?: Array<string> | undefined;
|
|
2146
|
+
id?: string | undefined;
|
|
2147
|
+
type?: string | undefined;
|
|
2148
|
+
role?: string | undefined;
|
|
2149
|
+
position?: string | undefined;
|
|
2150
|
+
ownershipPercentage?: number | undefined;
|
|
2151
|
+
nationality?: string | undefined;
|
|
2152
|
+
dateOfBirth?: string | undefined;
|
|
2153
|
+
startDate?: string | undefined;
|
|
2154
|
+
endDate?: string | undefined;
|
|
2155
|
+
currentAddress?: StartJourneyCurrentAddressPrimary$Outbound | undefined;
|
|
2156
|
+
};
|
|
2157
|
+
/** @internal */
|
|
2158
|
+
export declare const StartJourneyPerson$outboundSchema: z.ZodMiniType<StartJourneyPerson$Outbound, StartJourneyPerson>;
|
|
2159
|
+
export declare function startJourneyPersonToJSON(startJourneyPerson: StartJourneyPerson): string;
|
|
2160
|
+
/** @internal */
|
|
2161
|
+
export type StartJourneyPhonePrimary$Outbound = {
|
|
2162
|
+
type: string;
|
|
2163
|
+
number: string;
|
|
2164
|
+
};
|
|
2165
|
+
/** @internal */
|
|
2166
|
+
export declare const StartJourneyPhonePrimary$outboundSchema: z.ZodMiniType<StartJourneyPhonePrimary$Outbound, StartJourneyPhonePrimary>;
|
|
2167
|
+
export declare function startJourneyPhonePrimaryToJSON(startJourneyPhonePrimary: StartJourneyPhonePrimary): string;
|
|
2168
|
+
/** @internal */
|
|
2169
|
+
export type StartJourneyEntity$Outbound = {
|
|
2170
|
+
id?: string | undefined;
|
|
2171
|
+
type?: string | undefined;
|
|
2172
|
+
name?: string | undefined;
|
|
2173
|
+
aliases?: Array<string> | undefined;
|
|
2174
|
+
businessType?: string | undefined;
|
|
2175
|
+
status?: string | undefined;
|
|
2176
|
+
description?: string | undefined;
|
|
2177
|
+
addresses?: Array<StartJourneyAddressPrimary$Outbound> | undefined;
|
|
2178
|
+
taxIdentifiers?: Array<StartJourneyTaxIdentifier$Outbound> | undefined;
|
|
2179
|
+
companyNumber?: string | undefined;
|
|
2180
|
+
industryClassifications?: Array<StartJourneyIndustryClassification$Outbound> | undefined;
|
|
2181
|
+
registrations?: Array<StartJourneyRegistration$Outbound> | undefined;
|
|
2182
|
+
corporateStructure?: string | undefined;
|
|
2183
|
+
persons?: Array<StartJourneyPerson$Outbound> | undefined;
|
|
2184
|
+
incorporationDate?: string | undefined;
|
|
2185
|
+
dissolutionDate?: string | undefined;
|
|
2186
|
+
phones?: Array<StartJourneyPhonePrimary$Outbound> | undefined;
|
|
2187
|
+
websites?: Array<string> | undefined;
|
|
2188
|
+
headcount?: number | undefined;
|
|
2189
|
+
isNonProfit?: boolean | undefined;
|
|
2190
|
+
};
|
|
2191
|
+
/** @internal */
|
|
2192
|
+
export declare const StartJourneyEntity$outboundSchema: z.ZodMiniType<StartJourneyEntity$Outbound, StartJourneyEntity>;
|
|
2193
|
+
export declare function startJourneyEntityToJSON(startJourneyEntity: StartJourneyEntity): string;
|
|
2194
|
+
/** @internal */
|
|
2195
|
+
export type StartJourneyDocumentAddress$Outbound = {
|
|
1388
2196
|
addressString?: string | undefined;
|
|
1389
2197
|
extractedAddressString?: string | undefined;
|
|
1390
2198
|
addressLine1?: string | undefined;
|
|
@@ -1394,8 +2202,8 @@ export type StartJourneyAddress$Outbound = {
|
|
|
1394
2202
|
postalCode?: string | undefined;
|
|
1395
2203
|
};
|
|
1396
2204
|
/** @internal */
|
|
1397
|
-
export declare const
|
|
1398
|
-
export declare function
|
|
2205
|
+
export declare const StartJourneyDocumentAddress$outboundSchema: z.ZodMiniType<StartJourneyDocumentAddress$Outbound, StartJourneyDocumentAddress>;
|
|
2206
|
+
export declare function startJourneyDocumentAddressToJSON(startJourneyDocumentAddress: StartJourneyDocumentAddress): string;
|
|
1399
2207
|
/** @internal */
|
|
1400
2208
|
export type StartJourneyDocumentDevice$Outbound = {
|
|
1401
2209
|
type?: string | undefined;
|
|
@@ -1410,6 +2218,32 @@ export type StartJourneyDocumentDevice$Outbound = {
|
|
|
1410
2218
|
export declare const StartJourneyDocumentDevice$outboundSchema: z.ZodMiniType<StartJourneyDocumentDevice$Outbound, StartJourneyDocumentDevice>;
|
|
1411
2219
|
export declare function startJourneyDocumentDeviceToJSON(startJourneyDocumentDevice: StartJourneyDocumentDevice): string;
|
|
1412
2220
|
/** @internal */
|
|
2221
|
+
export type StartJourneySide1Device$Outbound = {
|
|
2222
|
+
type?: string | undefined;
|
|
2223
|
+
model?: string | undefined;
|
|
2224
|
+
hasContactlessReader?: boolean | undefined;
|
|
2225
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
2226
|
+
hasCamera?: boolean | undefined;
|
|
2227
|
+
serialNumber?: string | undefined;
|
|
2228
|
+
manufacturer?: string | undefined;
|
|
2229
|
+
};
|
|
2230
|
+
/** @internal */
|
|
2231
|
+
export declare const StartJourneySide1Device$outboundSchema: z.ZodMiniType<StartJourneySide1Device$Outbound, StartJourneySide1Device>;
|
|
2232
|
+
export declare function startJourneySide1DeviceToJSON(startJourneySide1Device: StartJourneySide1Device): string;
|
|
2233
|
+
/** @internal */
|
|
2234
|
+
export type StartJourneySide2Device$Outbound = {
|
|
2235
|
+
type?: string | undefined;
|
|
2236
|
+
model?: string | undefined;
|
|
2237
|
+
hasContactlessReader?: boolean | undefined;
|
|
2238
|
+
hasMagneticStripeReader?: boolean | undefined;
|
|
2239
|
+
hasCamera?: boolean | undefined;
|
|
2240
|
+
serialNumber?: string | undefined;
|
|
2241
|
+
manufacturer?: string | undefined;
|
|
2242
|
+
};
|
|
2243
|
+
/** @internal */
|
|
2244
|
+
export declare const StartJourneySide2Device$outboundSchema: z.ZodMiniType<StartJourneySide2Device$Outbound, StartJourneySide2Device>;
|
|
2245
|
+
export declare function startJourneySide2DeviceToJSON(startJourneySide2Device: StartJourneySide2Device): string;
|
|
2246
|
+
/** @internal */
|
|
1413
2247
|
export declare const StartJourneyName$outboundSchema: z.ZodMiniEnum<typeof StartJourneyName>;
|
|
1414
2248
|
/** @internal */
|
|
1415
2249
|
export type StartJourneyLd$Outbound = {
|
|
@@ -1641,6 +2475,7 @@ export type StartJourneyDocumentAlias$Outbound = {
|
|
|
1641
2475
|
middleNames?: Array<string> | undefined;
|
|
1642
2476
|
lastNames?: Array<string> | undefined;
|
|
1643
2477
|
lastNamesAtBirth?: Array<string> | undefined;
|
|
2478
|
+
fullName?: string | undefined;
|
|
1644
2479
|
};
|
|
1645
2480
|
/** @internal */
|
|
1646
2481
|
export declare const StartJourneyDocumentAlias$outboundSchema: z.ZodMiniType<StartJourneyDocumentAlias$Outbound, StartJourneyDocumentAlias>;
|
|
@@ -1723,8 +2558,8 @@ export type StartJourneyDocumentPreviousAddress$Outbound = {
|
|
|
1723
2558
|
subAdministrativeArea?: string | undefined;
|
|
1724
2559
|
organization?: string | undefined;
|
|
1725
2560
|
location?: StartJourneyDocumentPreviousAddressLocation$Outbound | undefined;
|
|
1726
|
-
fromDate
|
|
1727
|
-
toDate
|
|
2561
|
+
fromDate?: string | undefined;
|
|
2562
|
+
toDate?: string | undefined;
|
|
1728
2563
|
};
|
|
1729
2564
|
/** @internal */
|
|
1730
2565
|
export declare const StartJourneyDocumentPreviousAddress$outboundSchema: z.ZodMiniType<StartJourneyDocumentPreviousAddress$Outbound, StartJourneyDocumentPreviousAddress>;
|
|
@@ -1815,6 +2650,7 @@ export type StartJourneyDocumentSubject$Outbound = {
|
|
|
1815
2650
|
emails?: Array<StartJourneyDocumentEmail$Outbound> | undefined;
|
|
1816
2651
|
socials?: Array<StartJourneyDocumentSocial$Outbound> | undefined;
|
|
1817
2652
|
mothersMaidenName?: string | undefined;
|
|
2653
|
+
nationality?: string | undefined;
|
|
1818
2654
|
};
|
|
1819
2655
|
/** @internal */
|
|
1820
2656
|
export declare const StartJourneyDocumentSubject$outboundSchema: z.ZodMiniType<StartJourneyDocumentSubject$Outbound, StartJourneyDocumentSubject>;
|
|
@@ -1822,7 +2658,7 @@ export declare function startJourneyDocumentSubjectToJSON(startJourneyDocumentSu
|
|
|
1822
2658
|
/** @internal */
|
|
1823
2659
|
export type StartJourneyDocument$Outbound = {
|
|
1824
2660
|
oneDBarcode?: string | undefined;
|
|
1825
|
-
address?:
|
|
2661
|
+
address?: StartJourneyDocumentAddress$Outbound | undefined;
|
|
1826
2662
|
applicationDate?: string | undefined;
|
|
1827
2663
|
applicationNumber?: string | undefined;
|
|
1828
2664
|
dateOfBirth?: string | undefined;
|
|
@@ -1894,13 +2730,15 @@ export type StartJourneyDocument$Outbound = {
|
|
|
1894
2730
|
cardNumber?: string | undefined;
|
|
1895
2731
|
issuerCountryCode?: string | undefined;
|
|
1896
2732
|
id?: string | undefined;
|
|
1897
|
-
type
|
|
2733
|
+
type: string;
|
|
1898
2734
|
category?: string | undefined;
|
|
1899
2735
|
subtype?: string | undefined;
|
|
1900
2736
|
format?: string | undefined;
|
|
1901
2737
|
device?: StartJourneyDocumentDevice$Outbound | undefined;
|
|
1902
2738
|
side1Image?: string | undefined;
|
|
1903
2739
|
side2Image?: string | undefined;
|
|
2740
|
+
side1Device?: StartJourneySide1Device$Outbound | undefined;
|
|
2741
|
+
side2Device?: StartJourneySide2Device$Outbound | undefined;
|
|
1904
2742
|
chip?: StartJourneyChip$Outbound | undefined;
|
|
1905
2743
|
classification?: StartJourneyClassification$Outbound | undefined;
|
|
1906
2744
|
extraction?: StartJourneyExtraction$Outbound | undefined;
|
|
@@ -1908,13 +2746,51 @@ export type StartJourneyDocument$Outbound = {
|
|
|
1908
2746
|
subType?: string | undefined;
|
|
1909
2747
|
number?: string | undefined;
|
|
1910
2748
|
expiryDate?: string | undefined;
|
|
2749
|
+
cardType?: string | undefined;
|
|
2750
|
+
expiryMonth?: string | undefined;
|
|
2751
|
+
cardColour?: string | undefined;
|
|
2752
|
+
cardStatus?: string | undefined;
|
|
1911
2753
|
subject?: StartJourneyDocumentSubject$Outbound | undefined;
|
|
1912
2754
|
country?: string | undefined;
|
|
2755
|
+
certificateFormat?: string | undefined;
|
|
2756
|
+
registrationNumber?: string | undefined;
|
|
2757
|
+
registrationDate?: string | undefined;
|
|
2758
|
+
registrationYear?: string | undefined;
|
|
2759
|
+
partyRole?: string | undefined;
|
|
2760
|
+
dateOfEvent?: string | undefined;
|
|
2761
|
+
previousFirstName?: string | undefined;
|
|
2762
|
+
previousMiddleName?: string | undefined;
|
|
2763
|
+
previousSurname?: string | undefined;
|
|
2764
|
+
individualReferenceNumber?: string | undefined;
|
|
2765
|
+
nameLine1?: string | undefined;
|
|
2766
|
+
nameLine2?: string | undefined;
|
|
2767
|
+
nameLine3?: string | undefined;
|
|
2768
|
+
nameLine4?: string | undefined;
|
|
1913
2769
|
};
|
|
1914
2770
|
/** @internal */
|
|
1915
2771
|
export declare const StartJourneyDocument$outboundSchema: z.ZodMiniType<StartJourneyDocument$Outbound, StartJourneyDocument>;
|
|
1916
2772
|
export declare function startJourneyDocumentToJSON(startJourneyDocument: StartJourneyDocument): string;
|
|
1917
2773
|
/** @internal */
|
|
2774
|
+
export declare const StartJourneyBiometricType$outboundSchema: z.ZodMiniEnum<typeof StartJourneyBiometricType>;
|
|
2775
|
+
/** @internal */
|
|
2776
|
+
export type StartJourneyBiometricStoredFace$Outbound = {
|
|
2777
|
+
id?: string | undefined;
|
|
2778
|
+
type: string;
|
|
2779
|
+
templateReference: string;
|
|
2780
|
+
};
|
|
2781
|
+
/** @internal */
|
|
2782
|
+
export declare const StartJourneyBiometricStoredFace$outboundSchema: z.ZodMiniType<StartJourneyBiometricStoredFace$Outbound, StartJourneyBiometricStoredFace>;
|
|
2783
|
+
export declare function startJourneyBiometricStoredFaceToJSON(startJourneyBiometricStoredFace: StartJourneyBiometricStoredFace): string;
|
|
2784
|
+
/** @internal */
|
|
2785
|
+
export type StartJourneyBiometric5$Outbound = {
|
|
2786
|
+
id?: string | undefined;
|
|
2787
|
+
type?: string | undefined;
|
|
2788
|
+
anchorImage: string;
|
|
2789
|
+
};
|
|
2790
|
+
/** @internal */
|
|
2791
|
+
export declare const StartJourneyBiometric5$outboundSchema: z.ZodMiniType<StartJourneyBiometric5$Outbound, StartJourneyBiometric5>;
|
|
2792
|
+
export declare function startJourneyBiometric5ToJSON(startJourneyBiometric5: StartJourneyBiometric5): string;
|
|
2793
|
+
/** @internal */
|
|
1918
2794
|
export type StartJourneyBiometric4$Outbound = {
|
|
1919
2795
|
id?: string | undefined;
|
|
1920
2796
|
type?: string | undefined;
|
|
@@ -1954,15 +2830,15 @@ export type StartJourneyBiometric1$Outbound = {
|
|
|
1954
2830
|
export declare const StartJourneyBiometric1$outboundSchema: z.ZodMiniType<StartJourneyBiometric1$Outbound, StartJourneyBiometric1>;
|
|
1955
2831
|
export declare function startJourneyBiometric1ToJSON(startJourneyBiometric1: StartJourneyBiometric1): string;
|
|
1956
2832
|
/** @internal */
|
|
1957
|
-
export type StartJourneyBiometricUnion$Outbound = StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound;
|
|
2833
|
+
export type StartJourneyBiometricUnion$Outbound = StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometricStoredFace$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound | StartJourneyBiometric5$Outbound;
|
|
1958
2834
|
/** @internal */
|
|
1959
2835
|
export declare const StartJourneyBiometricUnion$outboundSchema: z.ZodMiniType<StartJourneyBiometricUnion$Outbound, StartJourneyBiometricUnion>;
|
|
1960
2836
|
export declare function startJourneyBiometricUnionToJSON(startJourneyBiometricUnion: StartJourneyBiometricUnion): string;
|
|
1961
2837
|
/** @internal */
|
|
1962
2838
|
export type StartJourneyUser$Outbound = {
|
|
1963
2839
|
id: string;
|
|
1964
|
-
email
|
|
1965
|
-
domain
|
|
2840
|
+
email?: string | undefined;
|
|
2841
|
+
domain?: string | undefined;
|
|
1966
2842
|
};
|
|
1967
2843
|
/** @internal */
|
|
1968
2844
|
export declare const StartJourneyUser$outboundSchema: z.ZodMiniType<StartJourneyUser$Outbound, StartJourneyUser>;
|
|
@@ -2031,6 +2907,9 @@ export declare const StartJourneySessionAuth$outboundSchema: z.ZodMiniType<Start
|
|
|
2031
2907
|
export declare function startJourneySessionAuthToJSON(startJourneySessionAuth: StartJourneySessionAuth): string;
|
|
2032
2908
|
/** @internal */
|
|
2033
2909
|
export type StartJourneySession$Outbound = {
|
|
2910
|
+
id?: string | undefined;
|
|
2911
|
+
type?: string | undefined;
|
|
2912
|
+
provider?: string | undefined;
|
|
2034
2913
|
user?: StartJourneyUser$Outbound | undefined;
|
|
2035
2914
|
client?: StartJourneyClient$Outbound | undefined;
|
|
2036
2915
|
device?: StartJourneySessionDevice$Outbound | undefined;
|
|
@@ -2079,44 +2958,128 @@ export type StartJourneyAccount$Outbound = {
|
|
|
2079
2958
|
export declare const StartJourneyAccount$outboundSchema: z.ZodMiniType<StartJourneyAccount$Outbound, StartJourneyAccount>;
|
|
2080
2959
|
export declare function startJourneyAccountToJSON(startJourneyAccount: StartJourneyAccount): string;
|
|
2081
2960
|
/** @internal */
|
|
2961
|
+
export type StartJourneyChoice$Outbound = {
|
|
2962
|
+
label: string;
|
|
2963
|
+
text: string;
|
|
2964
|
+
};
|
|
2965
|
+
/** @internal */
|
|
2966
|
+
export declare const StartJourneyChoice$outboundSchema: z.ZodMiniType<StartJourneyChoice$Outbound, StartJourneyChoice>;
|
|
2967
|
+
export declare function startJourneyChoiceToJSON(startJourneyChoice: StartJourneyChoice): string;
|
|
2968
|
+
/** @internal */
|
|
2969
|
+
export type StartJourneyQuestion$Outbound = {
|
|
2970
|
+
id: number;
|
|
2971
|
+
questionText: string;
|
|
2972
|
+
helpText?: string | undefined;
|
|
2973
|
+
choices: Array<StartJourneyChoice$Outbound>;
|
|
2974
|
+
};
|
|
2975
|
+
/** @internal */
|
|
2976
|
+
export declare const StartJourneyQuestion$outboundSchema: z.ZodMiniType<StartJourneyQuestion$Outbound, StartJourneyQuestion>;
|
|
2977
|
+
export declare function startJourneyQuestionToJSON(startJourneyQuestion: StartJourneyQuestion): string;
|
|
2978
|
+
/** @internal */
|
|
2979
|
+
export type StartJourneyAnswer$Outbound = {
|
|
2980
|
+
id: number;
|
|
2981
|
+
choices: Array<string>;
|
|
2982
|
+
};
|
|
2983
|
+
/** @internal */
|
|
2984
|
+
export declare const StartJourneyAnswer$outboundSchema: z.ZodMiniType<StartJourneyAnswer$Outbound, StartJourneyAnswer>;
|
|
2985
|
+
export declare function startJourneyAnswerToJSON(startJourneyAnswer: StartJourneyAnswer): string;
|
|
2986
|
+
/** @internal */
|
|
2987
|
+
export type StartJourneyKba$Outbound = {
|
|
2988
|
+
questions: Array<StartJourneyQuestion$Outbound>;
|
|
2989
|
+
answers: Array<StartJourneyAnswer$Outbound>;
|
|
2990
|
+
};
|
|
2991
|
+
/** @internal */
|
|
2992
|
+
export declare const StartJourneyKba$outboundSchema: z.ZodMiniType<StartJourneyKba$Outbound, StartJourneyKba>;
|
|
2993
|
+
export declare function startJourneyKbaToJSON(startJourneyKba: StartJourneyKba): string;
|
|
2994
|
+
/** @internal */
|
|
2082
2995
|
export type StartJourneySubject$Outbound = {
|
|
2083
2996
|
identity?: StartJourneyIdentity$Outbound | undefined;
|
|
2997
|
+
entities?: Array<StartJourneyEntity$Outbound> | undefined;
|
|
2084
2998
|
documents?: Array<StartJourneyDocument$Outbound> | undefined;
|
|
2085
|
-
biometrics?: Array<StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound> | undefined;
|
|
2999
|
+
biometrics?: Array<StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometricStoredFace$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound | StartJourneyBiometric5$Outbound> | undefined;
|
|
2086
3000
|
sessions?: Array<StartJourneySession$Outbound> | undefined;
|
|
2087
3001
|
consent?: Array<StartJourneyConsent$Outbound> | undefined;
|
|
2088
3002
|
accounts?: Array<StartJourneyAccount$Outbound> | undefined;
|
|
3003
|
+
kba?: StartJourneyKba$Outbound | undefined;
|
|
2089
3004
|
uid?: string | undefined;
|
|
2090
3005
|
};
|
|
2091
3006
|
/** @internal */
|
|
2092
3007
|
export declare const StartJourneySubject$outboundSchema: z.ZodMiniType<StartJourneySubject$Outbound, StartJourneySubject>;
|
|
2093
3008
|
export declare function startJourneySubjectToJSON(startJourneySubject: StartJourneySubject): string;
|
|
2094
3009
|
/** @internal */
|
|
3010
|
+
export declare const ResumeMode$outboundSchema: z.ZodMiniEnum<typeof ResumeMode>;
|
|
3011
|
+
/** @internal */
|
|
3012
|
+
export type LinkConfig$Outbound = {
|
|
3013
|
+
ttlMinutes?: number | undefined;
|
|
3014
|
+
resumeMode?: string | undefined;
|
|
3015
|
+
resumeExpiryMinutes?: number | undefined;
|
|
3016
|
+
};
|
|
3017
|
+
/** @internal */
|
|
3018
|
+
export declare const LinkConfig$outboundSchema: z.ZodMiniType<LinkConfig$Outbound, LinkConfig>;
|
|
3019
|
+
export declare function linkConfigToJSON(linkConfig: LinkConfig): string;
|
|
3020
|
+
/** @internal */
|
|
3021
|
+
export type Overlay$Outbound = {
|
|
3022
|
+
version: string;
|
|
3023
|
+
};
|
|
3024
|
+
/** @internal */
|
|
3025
|
+
export declare const Overlay$outboundSchema: z.ZodMiniType<Overlay$Outbound, Overlay>;
|
|
3026
|
+
export declare function overlayToJSON(overlay: Overlay): string;
|
|
3027
|
+
/** @internal */
|
|
3028
|
+
export type Config$Outbound = {
|
|
3029
|
+
delivery: string;
|
|
3030
|
+
branding?: any | undefined;
|
|
3031
|
+
assisted?: boolean | undefined;
|
|
3032
|
+
inlineResult?: boolean | undefined;
|
|
3033
|
+
syncWaitSeconds?: number | undefined;
|
|
3034
|
+
linkConfig?: LinkConfig$Outbound | undefined;
|
|
3035
|
+
overlay?: Overlay$Outbound | undefined;
|
|
3036
|
+
[additionalProperties: string]: unknown;
|
|
3037
|
+
};
|
|
3038
|
+
/** @internal */
|
|
3039
|
+
export declare const Config$outboundSchema: z.ZodMiniType<Config$Outbound, Config>;
|
|
3040
|
+
export declare function configToJSON(config: Config): string;
|
|
3041
|
+
/** @internal */
|
|
2095
3042
|
export type StartJourneyContext$Outbound = {
|
|
3043
|
+
subject?: StartJourneySubject$Outbound | undefined;
|
|
2096
3044
|
config: Config$Outbound;
|
|
2097
|
-
|
|
3045
|
+
[additionalProperties: string]: unknown;
|
|
2098
3046
|
};
|
|
2099
3047
|
/** @internal */
|
|
2100
3048
|
export declare const StartJourneyContext$outboundSchema: z.ZodMiniType<StartJourneyContext$Outbound, StartJourneyContext>;
|
|
2101
3049
|
export declare function startJourneyContextToJSON(startJourneyContext: StartJourneyContext): string;
|
|
2102
3050
|
/** @internal */
|
|
2103
|
-
export type
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
data?: {
|
|
3051
|
+
export type Modules$Outbound = {
|
|
3052
|
+
outcome: string;
|
|
3053
|
+
advice?: {
|
|
2107
3054
|
[k: string]: any;
|
|
2108
3055
|
} | undefined;
|
|
3056
|
+
[additionalProperties: string]: unknown;
|
|
2109
3057
|
};
|
|
2110
3058
|
/** @internal */
|
|
2111
|
-
export declare const
|
|
2112
|
-
export declare function
|
|
3059
|
+
export declare const Modules$outboundSchema: z.ZodMiniType<Modules$Outbound, Modules>;
|
|
3060
|
+
export declare function modulesToJSON(modules: Modules): string;
|
|
3061
|
+
/** @internal */
|
|
3062
|
+
export type Scenario$Outbound = {
|
|
3063
|
+
modules: {
|
|
3064
|
+
[k: string]: Modules$Outbound;
|
|
3065
|
+
};
|
|
3066
|
+
defaultOutcome?: string | undefined;
|
|
3067
|
+
defaultAdvice?: {
|
|
3068
|
+
[k: string]: any;
|
|
3069
|
+
} | undefined;
|
|
3070
|
+
description?: string | undefined;
|
|
3071
|
+
[additionalProperties: string]: unknown;
|
|
3072
|
+
};
|
|
2113
3073
|
/** @internal */
|
|
2114
|
-
export declare const
|
|
2115
|
-
export declare function
|
|
3074
|
+
export declare const Scenario$outboundSchema: z.ZodMiniType<Scenario$Outbound, Scenario>;
|
|
3075
|
+
export declare function scenarioToJSON(scenario: Scenario): string;
|
|
2116
3076
|
/** @internal */
|
|
2117
|
-
export
|
|
2118
|
-
|
|
3077
|
+
export type StartJourneyRequest$Outbound = {
|
|
3078
|
+
resourceId: string;
|
|
3079
|
+
context: StartJourneyContext$Outbound;
|
|
3080
|
+
scenario?: Scenario$Outbound | undefined;
|
|
3081
|
+
};
|
|
2119
3082
|
/** @internal */
|
|
2120
|
-
export declare const
|
|
2121
|
-
export declare function
|
|
3083
|
+
export declare const StartJourneyRequest$outboundSchema: z.ZodMiniType<StartJourneyRequest$Outbound, StartJourneyRequest>;
|
|
3084
|
+
export declare function startJourneyRequestToJSON(startJourneyRequest: StartJourneyRequest): string;
|
|
2122
3085
|
//# sourceMappingURL=start-journey.d.ts.map
|