@gbg/go-core 0.2.0-alpha.0 → 0.2.0-alpha.1
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/README.md +89 -20
- package/dist/commonjs/funcs/addresses-retrieve.js +2 -2
- package/dist/commonjs/funcs/addresses-retrieve.js.map +1 -1
- package/dist/commonjs/funcs/addresses-search.js +2 -2
- package/dist/commonjs/funcs/addresses-search.js.map +1 -1
- package/dist/commonjs/funcs/devices-add.js +1 -1
- package/dist/commonjs/funcs/devices-add.js.map +1 -1
- package/dist/commonjs/funcs/devices-connect.d.ts +1 -1
- package/dist/commonjs/funcs/devices-connect.d.ts.map +1 -1
- package/dist/commonjs/funcs/devices-connect.js +5 -4
- package/dist/commonjs/funcs/devices-connect.js.map +1 -1
- package/dist/commonjs/funcs/devices-refresh.js +1 -1
- package/dist/commonjs/funcs/devices-refresh.js.map +1 -1
- package/dist/commonjs/funcs/devices-validate.js +1 -1
- package/dist/commonjs/funcs/devices-validate.js.map +1 -1
- package/dist/commonjs/funcs/instances-delete.js +2 -2
- package/dist/commonjs/funcs/instances-delete.js.map +1 -1
- package/dist/commonjs/funcs/instances-handoff-token.js +1 -1
- package/dist/commonjs/funcs/instances-handoff-token.js.map +1 -1
- package/dist/commonjs/funcs/interactions-fetch.js +2 -2
- package/dist/commonjs/funcs/interactions-fetch.js.map +1 -1
- package/dist/commonjs/funcs/interactions-submit.js +2 -2
- package/dist/commonjs/funcs/interactions-submit.js.map +1 -1
- package/dist/commonjs/funcs/interactions-upload-asset.js +2 -2
- package/dist/commonjs/funcs/interactions-upload-asset.js.map +1 -1
- package/dist/commonjs/funcs/journeys-get-schemas.js +2 -2
- package/dist/commonjs/funcs/journeys-get-schemas.js.map +1 -1
- package/dist/commonjs/funcs/journeys-get-state.js +2 -2
- package/dist/commonjs/funcs/journeys-get-state.js.map +1 -1
- package/dist/commonjs/funcs/journeys-start.js +2 -2
- package/dist/commonjs/funcs/journeys-start.js.map +1 -1
- package/dist/commonjs/funcs/journeys-terminate.js +2 -2
- package/dist/commonjs/funcs/journeys-terminate.js.map +1 -1
- package/dist/commonjs/funcs/tasks-get-schema.js +2 -2
- package/dist/commonjs/funcs/tasks-get-schema.js.map +1 -1
- package/dist/commonjs/funcs/test-scenarios-create.d.ts +21 -0
- package/dist/commonjs/funcs/test-scenarios-create.d.ts.map +1 -0
- package/dist/commonjs/funcs/{sandbox-create-scenario.js → test-scenarios-create.js} +9 -9
- package/dist/commonjs/funcs/test-scenarios-create.js.map +1 -0
- package/dist/{esm/funcs/sandbox-delete-scenario.d.ts → commonjs/funcs/test-scenarios-delete.d.ts} +4 -4
- package/dist/commonjs/funcs/test-scenarios-delete.d.ts.map +1 -0
- package/dist/commonjs/funcs/{sandbox-delete-scenario.js → test-scenarios-delete.js} +9 -9
- package/dist/commonjs/funcs/test-scenarios-delete.js.map +1 -0
- package/dist/commonjs/funcs/test-scenarios-get.d.ts +21 -0
- package/dist/commonjs/funcs/test-scenarios-get.d.ts.map +1 -0
- package/dist/commonjs/funcs/{sandbox-get-scenario.js → test-scenarios-get.js} +9 -9
- package/dist/commonjs/funcs/test-scenarios-get.js.map +1 -0
- package/dist/{esm/funcs/sandbox-put-scenario.d.ts → commonjs/funcs/test-scenarios-list.d.ts} +4 -4
- package/dist/commonjs/funcs/test-scenarios-list.d.ts.map +1 -0
- package/dist/commonjs/funcs/{sandbox-list-scenarios.js → test-scenarios-list.js} +9 -9
- package/dist/commonjs/funcs/test-scenarios-list.js.map +1 -0
- package/dist/commonjs/funcs/{sandbox-put-scenario.d.ts → test-scenarios-put.d.ts} +4 -4
- package/dist/commonjs/funcs/test-scenarios-put.d.ts.map +1 -0
- package/dist/commonjs/funcs/{sandbox-put-scenario.js → test-scenarios-put.js} +9 -9
- package/dist/commonjs/funcs/test-scenarios-put.js.map +1 -0
- package/dist/commonjs/funcs/tokens-generate.d.ts +2 -1
- package/dist/commonjs/funcs/tokens-generate.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokens-generate.js +5 -1
- package/dist/commonjs/funcs/tokens-generate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +6 -6
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/create-test-scenario-request.d.ts +29 -0
- package/dist/commonjs/models/create-test-scenario-request.d.ts.map +1 -0
- package/dist/commonjs/models/{create-sandbox-scenario-request.js → create-test-scenario-request.js} +11 -11
- package/dist/commonjs/models/create-test-scenario-request.js.map +1 -0
- package/dist/commonjs/models/delete-response.d.ts.map +1 -1
- package/dist/commonjs/models/delete-response.js +2 -3
- package/dist/commonjs/models/delete-response.js.map +1 -1
- package/dist/commonjs/models/device-connect-request.d.ts +29 -0
- package/dist/commonjs/models/device-connect-request.d.ts.map +1 -0
- package/dist/commonjs/models/device-connect-request.js +59 -0
- package/dist/commonjs/models/device-connect-request.js.map +1 -0
- package/dist/commonjs/models/device-connect-response.d.ts +2 -0
- package/dist/commonjs/models/device-connect-response.d.ts.map +1 -1
- package/dist/commonjs/models/device-connect-response.js +8 -7
- package/dist/commonjs/models/device-connect-response.js.map +1 -1
- package/dist/commonjs/models/device-refresh-response.d.ts.map +1 -1
- package/dist/commonjs/models/device-refresh-response.js +7 -8
- package/dist/commonjs/models/device-refresh-response.js.map +1 -1
- package/dist/commonjs/models/device-start-response.d.ts.map +1 -1
- package/dist/commonjs/models/device-start-response.js +3 -4
- package/dist/commonjs/models/device-start-response.js.map +1 -1
- package/dist/commonjs/models/device-validate-response.d.ts.map +1 -1
- package/dist/commonjs/models/device-validate-response.js +5 -6
- package/dist/commonjs/models/device-validate-response.js.map +1 -1
- 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/errors/o-auth-error-response.d.ts +32 -0
- package/dist/commonjs/models/errors/o-auth-error-response.d.ts.map +1 -0
- package/dist/commonjs/models/errors/o-auth-error-response.js +75 -0
- package/dist/commonjs/models/errors/o-auth-error-response.js.map +1 -0
- package/dist/commonjs/models/gbg-error.d.ts +4 -4
- package/dist/commonjs/models/gbg-error.d.ts.map +1 -1
- package/dist/commonjs/models/gbg-error.js +8 -9
- package/dist/commonjs/models/gbg-error.js.map +1 -1
- package/dist/commonjs/models/handoff-token-response.d.ts.map +1 -1
- package/dist/commonjs/models/handoff-token-response.js +2 -3
- package/dist/commonjs/models/handoff-token-response.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +8 -5
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +8 -5
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/interaction-fetch-response.d.ts +3 -16
- package/dist/commonjs/models/interaction-fetch-response.d.ts.map +1 -1
- package/dist/commonjs/models/interaction-fetch-response.js +15 -29
- package/dist/commonjs/models/interaction-fetch-response.js.map +1 -1
- package/dist/commonjs/models/journey-start-response.d.ts +8 -1
- package/dist/commonjs/models/journey-start-response.d.ts.map +1 -1
- package/dist/commonjs/models/journey-start-response.js +6 -6
- package/dist/commonjs/models/journey-start-response.js.map +1 -1
- package/dist/commonjs/models/operations/create-test-scenario.d.ts +18 -0
- package/dist/commonjs/models/operations/create-test-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{create-sandbox-scenario.js → create-test-scenario.js} +7 -7
- package/dist/commonjs/models/operations/create-test-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/delete-test-scenario.d.ts +20 -0
- package/dist/commonjs/models/operations/delete-test-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{delete-sandbox-scenario.js → delete-test-scenario.js} +6 -6
- package/dist/commonjs/models/operations/delete-test-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/device-connect.d.ts +0 -32
- package/dist/commonjs/models/operations/device-connect.d.ts.map +1 -1
- package/dist/commonjs/models/operations/device-connect.js +1 -20
- package/dist/commonjs/models/operations/device-connect.js.map +1 -1
- package/dist/commonjs/models/operations/fetch-interaction.d.ts +2 -1
- package/dist/commonjs/models/operations/fetch-interaction.d.ts.map +1 -1
- package/dist/commonjs/models/operations/fetch-interaction.js +5 -5
- package/dist/commonjs/models/operations/fetch-interaction.js.map +1 -1
- package/dist/commonjs/models/operations/get-journey-state.d.ts +4 -1
- package/dist/commonjs/models/operations/get-journey-state.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-journey-state.js +5 -5
- package/dist/commonjs/models/operations/get-journey-state.js.map +1 -1
- package/dist/{esm/models/operations/get-sandbox-scenario.d.ts → commonjs/models/operations/get-test-scenario.d.ts} +9 -9
- package/dist/commonjs/models/operations/get-test-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{get-sandbox-scenario.js → get-test-scenario.js} +9 -9
- package/dist/commonjs/models/operations/get-test-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +5 -5
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +5 -5
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list-test-scenarios.d.ts +34 -0
- package/dist/commonjs/models/operations/list-test-scenarios.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{list-sandbox-scenarios.js → list-test-scenarios.js} +9 -9
- package/dist/commonjs/models/operations/list-test-scenarios.js.map +1 -0
- package/dist/commonjs/models/operations/post-as-token-oauth2.d.ts.map +1 -1
- package/dist/commonjs/models/operations/post-as-token-oauth2.js +3 -4
- package/dist/commonjs/models/operations/post-as-token-oauth2.js.map +1 -1
- package/dist/commonjs/models/operations/put-test-scenario.d.ts +23 -0
- package/dist/commonjs/models/operations/put-test-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{put-sandbox-scenario.js → put-test-scenario.js} +7 -7
- package/dist/commonjs/models/operations/put-test-scenario.js.map +1 -0
- package/dist/commonjs/models/operations/start-journey.d.ts +160 -21
- package/dist/commonjs/models/operations/start-journey.d.ts.map +1 -1
- package/dist/commonjs/models/operations/start-journey.js +106 -12
- package/dist/commonjs/models/operations/start-journey.js.map +1 -1
- package/dist/commonjs/models/operations/submit-interaction.d.ts +99 -14
- package/dist/commonjs/models/operations/submit-interaction.d.ts.map +1 -1
- package/dist/commonjs/models/operations/submit-interaction.js +77 -7
- package/dist/commonjs/models/operations/submit-interaction.js.map +1 -1
- package/dist/commonjs/models/operations/upload-interaction-asset.d.ts.map +1 -1
- package/dist/commonjs/models/operations/upload-interaction-asset.js +2 -3
- package/dist/commonjs/models/operations/upload-interaction-asset.js.map +1 -1
- package/dist/commonjs/models/outstanding-group.d.ts +15 -0
- package/dist/commonjs/models/outstanding-group.d.ts.map +1 -0
- package/dist/commonjs/models/outstanding-group.js +52 -0
- package/dist/commonjs/models/outstanding-group.js.map +1 -0
- package/dist/commonjs/models/schema-fetch-response.d.ts.map +1 -1
- package/dist/commonjs/models/schema-fetch-response.js +4 -5
- package/dist/commonjs/models/schema-fetch-response.js.map +1 -1
- package/dist/commonjs/models/slim-document.d.ts.map +1 -1
- package/dist/commonjs/models/slim-document.js +27 -28
- package/dist/commonjs/models/slim-document.js.map +1 -1
- package/dist/commonjs/models/slim-extraction.d.ts.map +1 -1
- package/dist/commonjs/models/slim-extraction.js +29 -30
- package/dist/commonjs/models/slim-extraction.js.map +1 -1
- package/dist/commonjs/models/slim-identity.d.ts.map +1 -1
- package/dist/commonjs/models/slim-identity.js +57 -58
- package/dist/commonjs/models/slim-identity.js.map +1 -1
- package/dist/commonjs/models/slim-interaction-fetch-response.d.ts +4 -16
- package/dist/commonjs/models/slim-interaction-fetch-response.d.ts.map +1 -1
- package/dist/commonjs/models/slim-interaction-fetch-response.js +13 -28
- package/dist/commonjs/models/slim-interaction-fetch-response.js.map +1 -1
- package/dist/commonjs/models/slim-journey.d.ts.map +1 -1
- package/dist/commonjs/models/slim-journey.js +5 -6
- package/dist/commonjs/models/slim-journey.js.map +1 -1
- package/dist/commonjs/models/slim-module-step-error.d.ts +50 -0
- package/dist/commonjs/models/slim-module-step-error.d.ts.map +1 -0
- package/dist/commonjs/models/slim-module-step-error.js +79 -0
- package/dist/commonjs/models/slim-module-step-error.js.map +1 -0
- package/dist/commonjs/models/slim-result.d.ts +8 -5
- package/dist/commonjs/models/slim-result.d.ts.map +1 -1
- package/dist/commonjs/models/slim-result.js +6 -7
- package/dist/commonjs/models/slim-result.js.map +1 -1
- package/dist/commonjs/models/slim-state-fetch-response.d.ts +1 -0
- package/dist/commonjs/models/slim-state-fetch-response.d.ts.map +1 -1
- package/dist/commonjs/models/slim-state-fetch-response.js +5 -5
- package/dist/commonjs/models/slim-state-fetch-response.js.map +1 -1
- package/dist/commonjs/models/slim-step.d.ts +19 -1
- package/dist/commonjs/models/slim-step.d.ts.map +1 -1
- package/dist/commonjs/models/slim-step.js +15 -5
- package/dist/commonjs/models/slim-step.js.map +1 -1
- package/dist/commonjs/models/slim-validation.d.ts.map +1 -1
- package/dist/commonjs/models/slim-validation.js +30 -31
- package/dist/commonjs/models/slim-validation.js.map +1 -1
- package/dist/commonjs/models/slim-verified-data.d.ts.map +1 -1
- package/dist/commonjs/models/slim-verified-data.js +2 -3
- package/dist/commonjs/models/slim-verified-data.js.map +1 -1
- package/dist/commonjs/models/state-fetch-response.d.ts +8 -0
- package/dist/commonjs/models/state-fetch-response.d.ts.map +1 -1
- package/dist/commonjs/models/state-fetch-response.js +11 -6
- package/dist/commonjs/models/state-fetch-response.js.map +1 -1
- package/dist/commonjs/models/terminate-response.d.ts.map +1 -1
- package/dist/commonjs/models/terminate-response.js +1 -2
- package/dist/commonjs/models/terminate-response.js.map +1 -1
- package/dist/commonjs/models/test-scenario-summary.d.ts +29 -0
- package/dist/commonjs/models/test-scenario-summary.d.ts.map +1 -0
- package/dist/commonjs/models/{sandbox-scenario-summary.js → test-scenario-summary.js} +14 -15
- package/dist/commonjs/models/test-scenario-summary.js.map +1 -0
- package/dist/commonjs/models/test-scenario-written.d.ts +19 -0
- package/dist/commonjs/models/test-scenario-written.d.ts.map +1 -0
- package/dist/commonjs/models/{sandbox-scenario-written.js → test-scenario-written.js} +11 -12
- package/dist/commonjs/models/test-scenario-written.js.map +1 -0
- package/dist/{esm/models/sandbox-scenario.d.ts → commonjs/models/test-scenario.d.ts} +8 -8
- package/dist/commonjs/models/test-scenario.d.ts.map +1 -0
- package/dist/commonjs/models/{sandbox-scenario.js → test-scenario.js} +13 -14
- package/dist/commonjs/models/test-scenario.js.map +1 -0
- package/dist/commonjs/models/update-test-scenario-request.d.ts +24 -0
- package/dist/commonjs/models/update-test-scenario-request.d.ts.map +1 -0
- package/dist/commonjs/models/update-test-scenario-request.js +55 -0
- package/dist/commonjs/models/update-test-scenario-request.js.map +1 -0
- package/dist/commonjs/sdk/devices.d.ts +1 -1
- package/dist/commonjs/sdk/devices.d.ts.map +1 -1
- package/dist/commonjs/sdk/devices.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/test-scenarios.d.ts +41 -0
- package/dist/commonjs/sdk/test-scenarios.d.ts.map +1 -0
- package/dist/commonjs/sdk/test-scenarios.js +62 -0
- package/dist/commonjs/sdk/test-scenarios.js.map +1 -0
- package/dist/commonjs/types/discriminated-union.d.ts +25 -0
- package/dist/commonjs/types/discriminated-union.d.ts.map +1 -0
- package/dist/commonjs/types/discriminated-union.js +94 -0
- package/dist/commonjs/types/discriminated-union.js.map +1 -0
- package/dist/commonjs/types/index.d.ts +0 -2
- package/dist/commonjs/types/index.d.ts.map +1 -1
- package/dist/commonjs/types/index.js +0 -2
- package/dist/commonjs/types/index.js.map +1 -1
- package/dist/commonjs/types/smart-union.d.ts.map +1 -1
- package/dist/commonjs/types/smart-union.js +3 -7
- package/dist/commonjs/types/smart-union.js.map +1 -1
- package/dist/esm/funcs/addresses-retrieve.js +2 -2
- package/dist/esm/funcs/addresses-retrieve.js.map +1 -1
- package/dist/esm/funcs/addresses-search.js +2 -2
- package/dist/esm/funcs/addresses-search.js.map +1 -1
- package/dist/esm/funcs/devices-add.js +1 -1
- package/dist/esm/funcs/devices-add.js.map +1 -1
- package/dist/esm/funcs/devices-connect.d.ts +1 -1
- package/dist/esm/funcs/devices-connect.d.ts.map +1 -1
- package/dist/esm/funcs/devices-connect.js +5 -4
- package/dist/esm/funcs/devices-connect.js.map +1 -1
- package/dist/esm/funcs/devices-refresh.js +1 -1
- package/dist/esm/funcs/devices-refresh.js.map +1 -1
- package/dist/esm/funcs/devices-validate.js +1 -1
- package/dist/esm/funcs/devices-validate.js.map +1 -1
- package/dist/esm/funcs/instances-delete.js +2 -2
- package/dist/esm/funcs/instances-delete.js.map +1 -1
- package/dist/esm/funcs/instances-handoff-token.js +1 -1
- package/dist/esm/funcs/instances-handoff-token.js.map +1 -1
- package/dist/esm/funcs/interactions-fetch.js +2 -2
- package/dist/esm/funcs/interactions-fetch.js.map +1 -1
- package/dist/esm/funcs/interactions-submit.js +2 -2
- package/dist/esm/funcs/interactions-submit.js.map +1 -1
- package/dist/esm/funcs/interactions-upload-asset.js +2 -2
- package/dist/esm/funcs/interactions-upload-asset.js.map +1 -1
- package/dist/esm/funcs/journeys-get-schemas.js +2 -2
- package/dist/esm/funcs/journeys-get-schemas.js.map +1 -1
- package/dist/esm/funcs/journeys-get-state.js +2 -2
- package/dist/esm/funcs/journeys-get-state.js.map +1 -1
- package/dist/esm/funcs/journeys-start.js +2 -2
- package/dist/esm/funcs/journeys-start.js.map +1 -1
- package/dist/esm/funcs/journeys-terminate.js +2 -2
- package/dist/esm/funcs/journeys-terminate.js.map +1 -1
- package/dist/esm/funcs/tasks-get-schema.js +2 -2
- package/dist/esm/funcs/tasks-get-schema.js.map +1 -1
- package/dist/esm/funcs/test-scenarios-create.d.ts +21 -0
- package/dist/esm/funcs/test-scenarios-create.d.ts.map +1 -0
- package/dist/esm/funcs/{sandbox-create-scenario.js → test-scenarios-create.js} +8 -8
- package/dist/esm/funcs/test-scenarios-create.js.map +1 -0
- package/dist/{commonjs/funcs/sandbox-delete-scenario.d.ts → esm/funcs/test-scenarios-delete.d.ts} +4 -4
- package/dist/esm/funcs/test-scenarios-delete.d.ts.map +1 -0
- package/dist/esm/funcs/{sandbox-delete-scenario.js → test-scenarios-delete.js} +8 -8
- package/dist/esm/funcs/test-scenarios-delete.js.map +1 -0
- package/dist/esm/funcs/test-scenarios-get.d.ts +21 -0
- package/dist/esm/funcs/test-scenarios-get.d.ts.map +1 -0
- package/dist/esm/funcs/{sandbox-get-scenario.js → test-scenarios-get.js} +8 -8
- package/dist/esm/funcs/test-scenarios-get.js.map +1 -0
- package/dist/esm/funcs/{sandbox-list-scenarios.d.ts → test-scenarios-list.d.ts} +4 -4
- package/dist/esm/funcs/test-scenarios-list.d.ts.map +1 -0
- package/dist/esm/funcs/{sandbox-list-scenarios.js → test-scenarios-list.js} +8 -8
- package/dist/esm/funcs/test-scenarios-list.js.map +1 -0
- package/dist/{commonjs/funcs/sandbox-list-scenarios.d.ts → esm/funcs/test-scenarios-put.d.ts} +4 -4
- package/dist/esm/funcs/test-scenarios-put.d.ts.map +1 -0
- package/dist/esm/funcs/{sandbox-put-scenario.js → test-scenarios-put.js} +8 -8
- package/dist/esm/funcs/test-scenarios-put.js.map +1 -0
- package/dist/esm/funcs/tokens-generate.d.ts +2 -1
- package/dist/esm/funcs/tokens-generate.d.ts.map +1 -1
- package/dist/esm/funcs/tokens-generate.js +5 -1
- package/dist/esm/funcs/tokens-generate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +6 -6
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/create-test-scenario-request.d.ts +29 -0
- package/dist/esm/models/create-test-scenario-request.d.ts.map +1 -0
- package/dist/esm/models/create-test-scenario-request.js +18 -0
- package/dist/esm/models/create-test-scenario-request.js.map +1 -0
- package/dist/esm/models/delete-response.d.ts.map +1 -1
- package/dist/esm/models/delete-response.js +2 -3
- package/dist/esm/models/delete-response.js.map +1 -1
- package/dist/esm/models/device-connect-request.d.ts +29 -0
- package/dist/esm/models/device-connect-request.d.ts.map +1 -0
- package/dist/esm/models/device-connect-request.js +21 -0
- package/dist/esm/models/device-connect-request.js.map +1 -0
- package/dist/esm/models/device-connect-response.d.ts +2 -0
- package/dist/esm/models/device-connect-response.d.ts.map +1 -1
- package/dist/esm/models/device-connect-response.js +8 -7
- package/dist/esm/models/device-connect-response.js.map +1 -1
- package/dist/esm/models/device-refresh-response.d.ts.map +1 -1
- package/dist/esm/models/device-refresh-response.js +7 -8
- package/dist/esm/models/device-refresh-response.js.map +1 -1
- package/dist/esm/models/device-start-response.d.ts.map +1 -1
- package/dist/esm/models/device-start-response.js +3 -4
- package/dist/esm/models/device-start-response.js.map +1 -1
- package/dist/esm/models/device-validate-response.d.ts.map +1 -1
- package/dist/esm/models/device-validate-response.js +5 -6
- package/dist/esm/models/device-validate-response.js.map +1 -1
- 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/errors/o-auth-error-response.d.ts +32 -0
- package/dist/esm/models/errors/o-auth-error-response.d.ts.map +1 -0
- package/dist/esm/models/errors/o-auth-error-response.js +38 -0
- package/dist/esm/models/errors/o-auth-error-response.js.map +1 -0
- package/dist/esm/models/gbg-error.d.ts +4 -4
- package/dist/esm/models/gbg-error.d.ts.map +1 -1
- package/dist/esm/models/gbg-error.js +7 -8
- package/dist/esm/models/gbg-error.js.map +1 -1
- package/dist/esm/models/handoff-token-response.d.ts.map +1 -1
- package/dist/esm/models/handoff-token-response.js +2 -3
- package/dist/esm/models/handoff-token-response.js.map +1 -1
- package/dist/esm/models/index.d.ts +8 -5
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +8 -5
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/interaction-fetch-response.d.ts +3 -16
- package/dist/esm/models/interaction-fetch-response.d.ts.map +1 -1
- package/dist/esm/models/interaction-fetch-response.js +14 -27
- package/dist/esm/models/interaction-fetch-response.js.map +1 -1
- package/dist/esm/models/journey-start-response.d.ts +8 -1
- package/dist/esm/models/journey-start-response.d.ts.map +1 -1
- package/dist/esm/models/journey-start-response.js +6 -6
- package/dist/esm/models/journey-start-response.js.map +1 -1
- package/dist/esm/models/operations/create-test-scenario.d.ts +18 -0
- package/dist/esm/models/operations/create-test-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/create-test-scenario.js +14 -0
- package/dist/esm/models/operations/create-test-scenario.js.map +1 -0
- package/dist/esm/models/operations/delete-test-scenario.d.ts +20 -0
- package/dist/esm/models/operations/delete-test-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/delete-test-scenario.js +13 -0
- package/dist/esm/models/operations/delete-test-scenario.js.map +1 -0
- package/dist/esm/models/operations/device-connect.d.ts +0 -32
- package/dist/esm/models/operations/device-connect.d.ts.map +1 -1
- package/dist/esm/models/operations/device-connect.js +0 -17
- package/dist/esm/models/operations/device-connect.js.map +1 -1
- package/dist/esm/models/operations/fetch-interaction.d.ts +2 -1
- package/dist/esm/models/operations/fetch-interaction.d.ts.map +1 -1
- package/dist/esm/models/operations/fetch-interaction.js +5 -5
- package/dist/esm/models/operations/fetch-interaction.js.map +1 -1
- package/dist/esm/models/operations/get-journey-state.d.ts +4 -1
- package/dist/esm/models/operations/get-journey-state.d.ts.map +1 -1
- package/dist/esm/models/operations/get-journey-state.js +5 -5
- package/dist/esm/models/operations/get-journey-state.js.map +1 -1
- package/dist/{commonjs/models/operations/get-sandbox-scenario.d.ts → esm/models/operations/get-test-scenario.d.ts} +9 -9
- package/dist/esm/models/operations/get-test-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/get-test-scenario.js +23 -0
- package/dist/esm/models/operations/get-test-scenario.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +5 -5
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +5 -5
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list-test-scenarios.d.ts +34 -0
- package/dist/esm/models/operations/list-test-scenarios.d.ts.map +1 -0
- package/dist/esm/models/operations/list-test-scenarios.js +22 -0
- package/dist/esm/models/operations/list-test-scenarios.js.map +1 -0
- package/dist/esm/models/operations/post-as-token-oauth2.d.ts.map +1 -1
- package/dist/esm/models/operations/post-as-token-oauth2.js +3 -4
- package/dist/esm/models/operations/post-as-token-oauth2.js.map +1 -1
- package/dist/esm/models/operations/put-test-scenario.d.ts +23 -0
- package/dist/esm/models/operations/put-test-scenario.d.ts.map +1 -0
- package/dist/esm/models/operations/put-test-scenario.js +15 -0
- package/dist/esm/models/operations/put-test-scenario.js.map +1 -0
- package/dist/esm/models/operations/start-journey.d.ts +160 -21
- package/dist/esm/models/operations/start-journey.d.ts.map +1 -1
- package/dist/esm/models/operations/start-journey.js +97 -8
- package/dist/esm/models/operations/start-journey.js.map +1 -1
- package/dist/esm/models/operations/submit-interaction.d.ts +99 -14
- package/dist/esm/models/operations/submit-interaction.d.ts.map +1 -1
- package/dist/esm/models/operations/submit-interaction.js +72 -4
- package/dist/esm/models/operations/submit-interaction.js.map +1 -1
- package/dist/esm/models/operations/upload-interaction-asset.d.ts.map +1 -1
- package/dist/esm/models/operations/upload-interaction-asset.js +2 -3
- package/dist/esm/models/operations/upload-interaction-asset.js.map +1 -1
- package/dist/esm/models/outstanding-group.d.ts +15 -0
- package/dist/esm/models/outstanding-group.d.ts.map +1 -0
- package/dist/esm/models/outstanding-group.js +15 -0
- package/dist/esm/models/outstanding-group.js.map +1 -0
- package/dist/esm/models/schema-fetch-response.d.ts.map +1 -1
- package/dist/esm/models/schema-fetch-response.js +4 -5
- package/dist/esm/models/schema-fetch-response.js.map +1 -1
- package/dist/esm/models/slim-document.d.ts.map +1 -1
- package/dist/esm/models/slim-document.js +27 -28
- package/dist/esm/models/slim-document.js.map +1 -1
- package/dist/esm/models/slim-extraction.d.ts.map +1 -1
- package/dist/esm/models/slim-extraction.js +29 -30
- package/dist/esm/models/slim-extraction.js.map +1 -1
- package/dist/esm/models/slim-identity.d.ts.map +1 -1
- package/dist/esm/models/slim-identity.js +57 -58
- package/dist/esm/models/slim-identity.js.map +1 -1
- package/dist/esm/models/slim-interaction-fetch-response.d.ts +4 -16
- package/dist/esm/models/slim-interaction-fetch-response.d.ts.map +1 -1
- package/dist/esm/models/slim-interaction-fetch-response.js +12 -26
- package/dist/esm/models/slim-interaction-fetch-response.js.map +1 -1
- package/dist/esm/models/slim-journey.d.ts.map +1 -1
- package/dist/esm/models/slim-journey.js +5 -6
- package/dist/esm/models/slim-journey.js.map +1 -1
- package/dist/esm/models/slim-module-step-error.d.ts +50 -0
- package/dist/esm/models/slim-module-step-error.d.ts.map +1 -0
- package/dist/esm/models/slim-module-step-error.js +41 -0
- package/dist/esm/models/slim-module-step-error.js.map +1 -0
- package/dist/esm/models/slim-result.d.ts +8 -5
- package/dist/esm/models/slim-result.d.ts.map +1 -1
- package/dist/esm/models/slim-result.js +6 -7
- package/dist/esm/models/slim-result.js.map +1 -1
- package/dist/esm/models/slim-state-fetch-response.d.ts +1 -0
- package/dist/esm/models/slim-state-fetch-response.d.ts.map +1 -1
- package/dist/esm/models/slim-state-fetch-response.js +5 -5
- package/dist/esm/models/slim-state-fetch-response.js.map +1 -1
- package/dist/esm/models/slim-step.d.ts +19 -1
- package/dist/esm/models/slim-step.d.ts.map +1 -1
- package/dist/esm/models/slim-step.js +14 -4
- package/dist/esm/models/slim-step.js.map +1 -1
- package/dist/esm/models/slim-validation.d.ts.map +1 -1
- package/dist/esm/models/slim-validation.js +30 -31
- package/dist/esm/models/slim-validation.js.map +1 -1
- package/dist/esm/models/slim-verified-data.d.ts.map +1 -1
- package/dist/esm/models/slim-verified-data.js +2 -3
- package/dist/esm/models/slim-verified-data.js.map +1 -1
- package/dist/esm/models/state-fetch-response.d.ts +8 -0
- package/dist/esm/models/state-fetch-response.d.ts.map +1 -1
- package/dist/esm/models/state-fetch-response.js +10 -5
- package/dist/esm/models/state-fetch-response.js.map +1 -1
- package/dist/esm/models/terminate-response.d.ts.map +1 -1
- package/dist/esm/models/terminate-response.js +1 -2
- package/dist/esm/models/terminate-response.js.map +1 -1
- package/dist/esm/models/test-scenario-summary.d.ts +29 -0
- package/dist/esm/models/test-scenario-summary.d.ts.map +1 -0
- package/dist/esm/models/test-scenario-summary.js +25 -0
- package/dist/esm/models/test-scenario-summary.js.map +1 -0
- package/dist/esm/models/test-scenario-written.d.ts +19 -0
- package/dist/esm/models/test-scenario-written.d.ts.map +1 -0
- package/dist/esm/models/test-scenario-written.js +20 -0
- package/dist/esm/models/test-scenario-written.js.map +1 -0
- package/dist/{commonjs/models/sandbox-scenario.d.ts → esm/models/test-scenario.d.ts} +8 -8
- package/dist/esm/models/test-scenario.d.ts.map +1 -0
- package/dist/esm/models/test-scenario.js +25 -0
- package/dist/esm/models/test-scenario.js.map +1 -0
- package/dist/esm/models/update-test-scenario-request.d.ts +24 -0
- package/dist/esm/models/update-test-scenario-request.d.ts.map +1 -0
- package/dist/esm/models/update-test-scenario-request.js +17 -0
- package/dist/esm/models/update-test-scenario-request.js.map +1 -0
- package/dist/esm/sdk/devices.d.ts +1 -1
- package/dist/esm/sdk/devices.d.ts.map +1 -1
- package/dist/esm/sdk/devices.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/test-scenarios.d.ts +41 -0
- package/dist/esm/sdk/test-scenarios.d.ts.map +1 -0
- package/dist/esm/sdk/test-scenarios.js +58 -0
- package/dist/esm/sdk/test-scenarios.js.map +1 -0
- package/dist/esm/types/discriminated-union.d.ts +25 -0
- package/dist/esm/types/discriminated-union.d.ts.map +1 -0
- package/dist/esm/types/discriminated-union.js +57 -0
- package/dist/esm/types/discriminated-union.js.map +1 -0
- package/dist/esm/types/index.d.ts +0 -2
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +0 -2
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/smart-union.d.ts.map +1 -1
- package/dist/esm/types/smart-union.js +3 -7
- package/dist/esm/types/smart-union.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/addresses-retrieve.ts +2 -2
- package/src/funcs/addresses-search.ts +2 -2
- package/src/funcs/devices-add.ts +1 -1
- package/src/funcs/devices-connect.ts +8 -5
- package/src/funcs/devices-refresh.ts +1 -1
- package/src/funcs/devices-validate.ts +1 -1
- package/src/funcs/instances-delete.ts +3 -3
- package/src/funcs/instances-handoff-token.ts +3 -3
- package/src/funcs/interactions-fetch.ts +3 -3
- package/src/funcs/interactions-submit.ts +3 -3
- package/src/funcs/interactions-upload-asset.ts +2 -2
- package/src/funcs/journeys-get-schemas.ts +2 -2
- package/src/funcs/journeys-get-state.ts +2 -2
- package/src/funcs/journeys-start.ts +5 -2
- package/src/funcs/journeys-terminate.ts +3 -3
- package/src/funcs/tasks-get-schema.ts +2 -2
- package/src/funcs/{sandbox-create-scenario.ts → test-scenarios-create.ts} +13 -15
- package/src/funcs/{sandbox-delete-scenario.ts → test-scenarios-delete.ts} +11 -11
- package/src/funcs/{sandbox-get-scenario.ts → test-scenarios-get.ts} +15 -16
- package/src/funcs/{sandbox-list-scenarios.ts → test-scenarios-list.ts} +13 -15
- package/src/funcs/{sandbox-put-scenario.ts → test-scenarios-put.ts} +15 -16
- package/src/funcs/tokens-generate.ts +11 -2
- package/src/lib/config.ts +6 -6
- package/src/models/create-test-scenario-request.ts +63 -0
- package/src/models/delete-response.ts +2 -3
- package/src/models/device-connect-request.ts +60 -0
- package/src/models/device-connect-response.ts +10 -7
- package/src/models/device-refresh-response.ts +7 -8
- package/src/models/device-start-response.ts +3 -4
- package/src/models/device-validate-response.ts +5 -6
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/o-auth-error-response.ts +74 -0
- package/src/models/gbg-error.ts +12 -11
- package/src/models/handoff-token-response.ts +2 -3
- package/src/models/index.ts +8 -5
- package/src/models/interaction-fetch-response.ts +19 -63
- package/src/models/journey-start-response.ts +14 -7
- package/src/models/operations/create-test-scenario.ts +37 -0
- package/src/models/operations/{delete-sandbox-scenario.ts → delete-test-scenario.ts} +8 -10
- package/src/models/operations/device-connect.ts +0 -61
- package/src/models/operations/fetch-interaction.ts +8 -6
- package/src/models/operations/get-journey-state.ts +12 -7
- package/src/models/operations/{get-sandbox-scenario.ts → get-test-scenario.ts} +16 -16
- package/src/models/operations/index.ts +5 -5
- package/src/models/operations/list-test-scenarios.ts +59 -0
- package/src/models/operations/post-as-token-oauth2.ts +3 -4
- package/src/models/operations/{put-sandbox-scenario.ts → put-test-scenario.ts} +11 -11
- package/src/models/operations/start-journey.ts +268 -27
- package/src/models/operations/submit-interaction.ts +177 -16
- package/src/models/operations/upload-interaction-asset.ts +2 -3
- package/src/models/outstanding-group.ts +37 -0
- package/src/models/schema-fetch-response.ts +4 -5
- package/src/models/slim-document.ts +27 -28
- package/src/models/slim-extraction.ts +29 -30
- package/src/models/slim-identity.ts +57 -58
- package/src/models/slim-interaction-fetch-response.ts +18 -63
- package/src/models/slim-journey.ts +5 -6
- package/src/models/slim-module-step-error.ts +99 -0
- package/src/models/slim-result.ts +15 -10
- package/src/models/slim-state-fetch-response.ts +6 -5
- package/src/models/slim-step.ts +31 -5
- package/src/models/slim-validation.ts +30 -31
- package/src/models/slim-verified-data.ts +2 -3
- package/src/models/state-fetch-response.ts +17 -5
- package/src/models/terminate-response.ts +1 -2
- package/src/models/test-scenario-summary.ts +62 -0
- package/src/models/test-scenario-written.ts +47 -0
- package/src/models/test-scenario.ts +60 -0
- package/src/models/update-test-scenario-request.ts +57 -0
- package/src/sdk/devices.ts +1 -1
- package/src/sdk/sdk.ts +4 -4
- package/src/sdk/test-scenarios.ts +100 -0
- package/src/types/discriminated-union.ts +98 -0
- package/src/types/index.ts +0 -2
- package/src/types/smart-union.ts +4 -7
- package/dist/commonjs/funcs/sandbox-create-scenario.d.ts +0 -21
- package/dist/commonjs/funcs/sandbox-create-scenario.d.ts.map +0 -1
- package/dist/commonjs/funcs/sandbox-create-scenario.js.map +0 -1
- package/dist/commonjs/funcs/sandbox-delete-scenario.d.ts.map +0 -1
- package/dist/commonjs/funcs/sandbox-delete-scenario.js.map +0 -1
- package/dist/commonjs/funcs/sandbox-get-scenario.d.ts +0 -21
- package/dist/commonjs/funcs/sandbox-get-scenario.d.ts.map +0 -1
- package/dist/commonjs/funcs/sandbox-get-scenario.js.map +0 -1
- package/dist/commonjs/funcs/sandbox-list-scenarios.d.ts.map +0 -1
- package/dist/commonjs/funcs/sandbox-list-scenarios.js.map +0 -1
- package/dist/commonjs/funcs/sandbox-put-scenario.d.ts.map +0 -1
- package/dist/commonjs/funcs/sandbox-put-scenario.js.map +0 -1
- package/dist/commonjs/models/create-sandbox-scenario-request.d.ts +0 -29
- package/dist/commonjs/models/create-sandbox-scenario-request.d.ts.map +0 -1
- package/dist/commonjs/models/create-sandbox-scenario-request.js.map +0 -1
- package/dist/commonjs/models/operations/create-sandbox-scenario.d.ts +0 -18
- package/dist/commonjs/models/operations/create-sandbox-scenario.d.ts.map +0 -1
- package/dist/commonjs/models/operations/create-sandbox-scenario.js.map +0 -1
- package/dist/commonjs/models/operations/delete-sandbox-scenario.d.ts +0 -20
- package/dist/commonjs/models/operations/delete-sandbox-scenario.d.ts.map +0 -1
- package/dist/commonjs/models/operations/delete-sandbox-scenario.js.map +0 -1
- package/dist/commonjs/models/operations/get-sandbox-scenario.d.ts.map +0 -1
- package/dist/commonjs/models/operations/get-sandbox-scenario.js.map +0 -1
- package/dist/commonjs/models/operations/list-sandbox-scenarios.d.ts +0 -34
- package/dist/commonjs/models/operations/list-sandbox-scenarios.d.ts.map +0 -1
- package/dist/commonjs/models/operations/list-sandbox-scenarios.js.map +0 -1
- package/dist/commonjs/models/operations/put-sandbox-scenario.d.ts +0 -23
- package/dist/commonjs/models/operations/put-sandbox-scenario.d.ts.map +0 -1
- package/dist/commonjs/models/operations/put-sandbox-scenario.js.map +0 -1
- package/dist/commonjs/models/sandbox-scenario-summary.d.ts +0 -29
- package/dist/commonjs/models/sandbox-scenario-summary.d.ts.map +0 -1
- package/dist/commonjs/models/sandbox-scenario-summary.js.map +0 -1
- package/dist/commonjs/models/sandbox-scenario-written.d.ts +0 -19
- package/dist/commonjs/models/sandbox-scenario-written.d.ts.map +0 -1
- package/dist/commonjs/models/sandbox-scenario-written.js.map +0 -1
- package/dist/commonjs/models/sandbox-scenario.d.ts.map +0 -1
- package/dist/commonjs/models/sandbox-scenario.js.map +0 -1
- package/dist/commonjs/models/update-sandbox-scenario-request.d.ts +0 -24
- package/dist/commonjs/models/update-sandbox-scenario-request.d.ts.map +0 -1
- package/dist/commonjs/models/update-sandbox-scenario-request.js +0 -55
- package/dist/commonjs/models/update-sandbox-scenario-request.js.map +0 -1
- package/dist/commonjs/sdk/sandbox.d.ts +0 -41
- package/dist/commonjs/sdk/sandbox.d.ts.map +0 -1
- package/dist/commonjs/sdk/sandbox.js +0 -62
- package/dist/commonjs/sdk/sandbox.js.map +0 -1
- package/dist/commonjs/types/default-to-zero-value.d.ts +0 -12
- package/dist/commonjs/types/default-to-zero-value.d.ts.map +0 -1
- package/dist/commonjs/types/default-to-zero-value.js +0 -35
- package/dist/commonjs/types/default-to-zero-value.js.map +0 -1
- package/dist/commonjs/types/primitives.d.ts +0 -9
- package/dist/commonjs/types/primitives.d.ts.map +0 -1
- package/dist/commonjs/types/primitives.js +0 -151
- package/dist/commonjs/types/primitives.js.map +0 -1
- package/dist/esm/funcs/sandbox-create-scenario.d.ts +0 -21
- package/dist/esm/funcs/sandbox-create-scenario.d.ts.map +0 -1
- package/dist/esm/funcs/sandbox-create-scenario.js.map +0 -1
- package/dist/esm/funcs/sandbox-delete-scenario.d.ts.map +0 -1
- package/dist/esm/funcs/sandbox-delete-scenario.js.map +0 -1
- package/dist/esm/funcs/sandbox-get-scenario.d.ts +0 -21
- package/dist/esm/funcs/sandbox-get-scenario.d.ts.map +0 -1
- package/dist/esm/funcs/sandbox-get-scenario.js.map +0 -1
- package/dist/esm/funcs/sandbox-list-scenarios.d.ts.map +0 -1
- package/dist/esm/funcs/sandbox-list-scenarios.js.map +0 -1
- package/dist/esm/funcs/sandbox-put-scenario.d.ts.map +0 -1
- package/dist/esm/funcs/sandbox-put-scenario.js.map +0 -1
- package/dist/esm/models/create-sandbox-scenario-request.d.ts +0 -29
- package/dist/esm/models/create-sandbox-scenario-request.d.ts.map +0 -1
- package/dist/esm/models/create-sandbox-scenario-request.js +0 -18
- package/dist/esm/models/create-sandbox-scenario-request.js.map +0 -1
- package/dist/esm/models/operations/create-sandbox-scenario.d.ts +0 -18
- package/dist/esm/models/operations/create-sandbox-scenario.d.ts.map +0 -1
- package/dist/esm/models/operations/create-sandbox-scenario.js +0 -14
- package/dist/esm/models/operations/create-sandbox-scenario.js.map +0 -1
- package/dist/esm/models/operations/delete-sandbox-scenario.d.ts +0 -20
- package/dist/esm/models/operations/delete-sandbox-scenario.d.ts.map +0 -1
- package/dist/esm/models/operations/delete-sandbox-scenario.js +0 -13
- package/dist/esm/models/operations/delete-sandbox-scenario.js.map +0 -1
- package/dist/esm/models/operations/get-sandbox-scenario.d.ts.map +0 -1
- package/dist/esm/models/operations/get-sandbox-scenario.js +0 -23
- package/dist/esm/models/operations/get-sandbox-scenario.js.map +0 -1
- package/dist/esm/models/operations/list-sandbox-scenarios.d.ts +0 -34
- package/dist/esm/models/operations/list-sandbox-scenarios.d.ts.map +0 -1
- package/dist/esm/models/operations/list-sandbox-scenarios.js +0 -22
- package/dist/esm/models/operations/list-sandbox-scenarios.js.map +0 -1
- package/dist/esm/models/operations/put-sandbox-scenario.d.ts +0 -23
- package/dist/esm/models/operations/put-sandbox-scenario.d.ts.map +0 -1
- package/dist/esm/models/operations/put-sandbox-scenario.js +0 -15
- package/dist/esm/models/operations/put-sandbox-scenario.js.map +0 -1
- package/dist/esm/models/sandbox-scenario-summary.d.ts +0 -29
- package/dist/esm/models/sandbox-scenario-summary.d.ts.map +0 -1
- package/dist/esm/models/sandbox-scenario-summary.js +0 -26
- package/dist/esm/models/sandbox-scenario-summary.js.map +0 -1
- package/dist/esm/models/sandbox-scenario-written.d.ts +0 -19
- package/dist/esm/models/sandbox-scenario-written.d.ts.map +0 -1
- package/dist/esm/models/sandbox-scenario-written.js +0 -21
- package/dist/esm/models/sandbox-scenario-written.js.map +0 -1
- package/dist/esm/models/sandbox-scenario.d.ts.map +0 -1
- package/dist/esm/models/sandbox-scenario.js +0 -26
- package/dist/esm/models/sandbox-scenario.js.map +0 -1
- package/dist/esm/models/update-sandbox-scenario-request.d.ts +0 -24
- package/dist/esm/models/update-sandbox-scenario-request.d.ts.map +0 -1
- package/dist/esm/models/update-sandbox-scenario-request.js +0 -17
- package/dist/esm/models/update-sandbox-scenario-request.js.map +0 -1
- package/dist/esm/sdk/sandbox.d.ts +0 -41
- package/dist/esm/sdk/sandbox.d.ts.map +0 -1
- package/dist/esm/sdk/sandbox.js +0 -58
- package/dist/esm/sdk/sandbox.js.map +0 -1
- package/dist/esm/types/default-to-zero-value.d.ts +0 -12
- package/dist/esm/types/default-to-zero-value.d.ts.map +0 -1
- package/dist/esm/types/default-to-zero-value.js +0 -31
- package/dist/esm/types/default-to-zero-value.js.map +0 -1
- package/dist/esm/types/primitives.d.ts +0 -9
- package/dist/esm/types/primitives.d.ts.map +0 -1
- package/dist/esm/types/primitives.js +0 -109
- package/dist/esm/types/primitives.js.map +0 -1
- package/src/models/create-sandbox-scenario-request.ts +0 -65
- package/src/models/operations/create-sandbox-scenario.ts +0 -39
- package/src/models/operations/list-sandbox-scenarios.ts +0 -63
- package/src/models/sandbox-scenario-summary.ts +0 -63
- package/src/models/sandbox-scenario-written.ts +0 -48
- package/src/models/sandbox-scenario.ts +0 -61
- package/src/models/update-sandbox-scenario-request.ts +0 -59
- package/src/sdk/sandbox.ts +0 -100
- package/src/types/default-to-zero-value.ts +0 -33
- package/src/types/primitives.ts +0 -140
|
@@ -316,7 +316,7 @@ export type StartJourneyIdentityPhone = {
|
|
|
316
316
|
|
|
317
317
|
export type StartJourneyIdentityEmail = {
|
|
318
318
|
/**
|
|
319
|
-
* Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other'.
|
|
319
|
+
* Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other', 'unknown'. Four map to a domain element by exact match: 'personal' -> PersonalEmail, 'work' -> WorkEmail, 'other' -> OtherEmails, 'unknown' -> UnknownEmail (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', 'other' or 'unknown' to have the email surfaced. Legacy inputs normalize at the API boundary (e.g. 'email' -> 'personal').
|
|
320
320
|
*/
|
|
321
321
|
type: string;
|
|
322
322
|
/**
|
|
@@ -1396,7 +1396,7 @@ export type StartJourneyDocumentPhone = {
|
|
|
1396
1396
|
|
|
1397
1397
|
export type StartJourneyDocumentEmail = {
|
|
1398
1398
|
/**
|
|
1399
|
-
* Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other'.
|
|
1399
|
+
* Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other', 'unknown'. Four map to a domain element by exact match: 'personal' -> PersonalEmail, 'work' -> WorkEmail, 'other' -> OtherEmails, 'unknown' -> UnknownEmail (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', 'other' or 'unknown' to have the email surfaced. Legacy inputs normalize at the API boundary (e.g. 'email' -> 'personal').
|
|
1400
1400
|
*/
|
|
1401
1401
|
type: string;
|
|
1402
1402
|
/**
|
|
@@ -1590,6 +1590,10 @@ export type StartJourneyDocument = {
|
|
|
1590
1590
|
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1591
1591
|
*/
|
|
1592
1592
|
dateOfEvent?: string | undefined;
|
|
1593
|
+
/**
|
|
1594
|
+
* Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
|
|
1595
|
+
*/
|
|
1596
|
+
acquisitionDate?: string | undefined;
|
|
1593
1597
|
previousFirstName?: string | undefined;
|
|
1594
1598
|
previousMiddleName?: string | undefined;
|
|
1595
1599
|
previousSurname?: string | undefined;
|
|
@@ -1600,17 +1604,32 @@ export type StartJourneyDocument = {
|
|
|
1600
1604
|
nameLine4?: string | undefined;
|
|
1601
1605
|
};
|
|
1602
1606
|
|
|
1603
|
-
export const
|
|
1607
|
+
export const StartJourneyTypeOrphanedStoredFace = {
|
|
1608
|
+
OrphanedStoredFace: "orphanedStoredFace",
|
|
1609
|
+
} as const;
|
|
1610
|
+
export type StartJourneyTypeOrphanedStoredFace = ClosedEnum<
|
|
1611
|
+
typeof StartJourneyTypeOrphanedStoredFace
|
|
1612
|
+
>;
|
|
1613
|
+
|
|
1614
|
+
export type StartJourneyBiometricOrphanedStoredFace = {
|
|
1615
|
+
id?: string | undefined;
|
|
1616
|
+
type: StartJourneyTypeOrphanedStoredFace;
|
|
1617
|
+
templateReference: string;
|
|
1618
|
+
collectionReference?: string | undefined;
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
export const StartJourneyTypeStoredFace = {
|
|
1604
1622
|
StoredFace: "storedFace",
|
|
1605
1623
|
} as const;
|
|
1606
|
-
export type
|
|
1607
|
-
typeof
|
|
1624
|
+
export type StartJourneyTypeStoredFace = ClosedEnum<
|
|
1625
|
+
typeof StartJourneyTypeStoredFace
|
|
1608
1626
|
>;
|
|
1609
1627
|
|
|
1610
1628
|
export type StartJourneyBiometricStoredFace = {
|
|
1611
1629
|
id?: string | undefined;
|
|
1612
|
-
type:
|
|
1630
|
+
type: StartJourneyTypeStoredFace;
|
|
1613
1631
|
templateReference: string;
|
|
1632
|
+
collectionReference?: string | undefined;
|
|
1614
1633
|
};
|
|
1615
1634
|
|
|
1616
1635
|
export type StartJourneyBiometric5 = {
|
|
@@ -1650,6 +1669,7 @@ export type StartJourneyBiometricUnion =
|
|
|
1650
1669
|
| StartJourneyBiometric1
|
|
1651
1670
|
| StartJourneyBiometric2
|
|
1652
1671
|
| StartJourneyBiometricStoredFace
|
|
1672
|
+
| StartJourneyBiometricOrphanedStoredFace
|
|
1653
1673
|
| StartJourneyBiometric3
|
|
1654
1674
|
| StartJourneyBiometric4
|
|
1655
1675
|
| StartJourneyBiometric5;
|
|
@@ -1744,9 +1764,9 @@ export type StartJourneyAccount = {
|
|
|
1744
1764
|
*/
|
|
1745
1765
|
type: string;
|
|
1746
1766
|
/**
|
|
1747
|
-
* Account number
|
|
1767
|
+
* Account number in its domestic form. Optional on its own: an account must carry at least one account identifier — `accountNumber` or `iban` — and either alone is enough. Independent of `iban`; when both are supplied they are not cross-checked.
|
|
1748
1768
|
*/
|
|
1749
|
-
accountNumber
|
|
1769
|
+
accountNumber?: string | undefined;
|
|
1750
1770
|
/**
|
|
1751
1771
|
* UK sort code
|
|
1752
1772
|
*/
|
|
@@ -1756,7 +1776,7 @@ export type StartJourneyAccount = {
|
|
|
1756
1776
|
*/
|
|
1757
1777
|
routingNumber?: string | undefined;
|
|
1758
1778
|
/**
|
|
1759
|
-
* International Bank Account Number
|
|
1779
|
+
* International Bank Account Number, stored exactly as supplied — not format-checked (no ISO 13616 mod-97) at this boundary. Optional on its own: an account must carry at least one account identifier — `accountNumber` or `iban` — and either alone is enough.
|
|
1760
1780
|
*/
|
|
1761
1781
|
iban?: string | undefined;
|
|
1762
1782
|
/**
|
|
@@ -1803,7 +1823,52 @@ export type StartJourneyKba = {
|
|
|
1803
1823
|
answers: Array<StartJourneyAnswer>;
|
|
1804
1824
|
};
|
|
1805
1825
|
|
|
1806
|
-
export
|
|
1826
|
+
export const StartJourneyOffered = {
|
|
1827
|
+
AustraliaPassport: "australiaPassport",
|
|
1828
|
+
AustraliaDrivingLicense: "australiaDrivingLicense",
|
|
1829
|
+
AustraliaBirthCertificate: "australiaBirthCertificate",
|
|
1830
|
+
AustraliaCentrelink: "australiaCentrelink",
|
|
1831
|
+
AustraliaCitizenshipCertificate: "australiaCitizenshipCertificate",
|
|
1832
|
+
AustraliaVisa: "australiaVisa",
|
|
1833
|
+
AustraliaMedicare: "australiaMedicare",
|
|
1834
|
+
AustraliaImmicard: "australiaImmicard",
|
|
1835
|
+
AustraliaMarriageCertificate: "australiaMarriageCertificate",
|
|
1836
|
+
AustraliaChangeOfNameCertificate: "australiaChangeOfNameCertificate",
|
|
1837
|
+
AustraliaElectoralRoll: "australiaElectoralRoll",
|
|
1838
|
+
NewZealandPassport: "newZealandPassport",
|
|
1839
|
+
NewZealandDrivingLicense: "newZealandDrivingLicense",
|
|
1840
|
+
NewZealandBirthCertificate: "newZealandBirthCertificate",
|
|
1841
|
+
NewZealandCitizenshipCertificate: "newZealandCitizenshipCertificate",
|
|
1842
|
+
NoneOfThese: "noneOfThese",
|
|
1843
|
+
} as const;
|
|
1844
|
+
export type StartJourneyOffered = ClosedEnum<typeof StartJourneyOffered>;
|
|
1845
|
+
|
|
1846
|
+
export const StartJourneySelected = {
|
|
1847
|
+
AustraliaPassport: "australiaPassport",
|
|
1848
|
+
AustraliaDrivingLicense: "australiaDrivingLicense",
|
|
1849
|
+
AustraliaBirthCertificate: "australiaBirthCertificate",
|
|
1850
|
+
AustraliaCentrelink: "australiaCentrelink",
|
|
1851
|
+
AustraliaCitizenshipCertificate: "australiaCitizenshipCertificate",
|
|
1852
|
+
AustraliaVisa: "australiaVisa",
|
|
1853
|
+
AustraliaMedicare: "australiaMedicare",
|
|
1854
|
+
AustraliaImmicard: "australiaImmicard",
|
|
1855
|
+
AustraliaMarriageCertificate: "australiaMarriageCertificate",
|
|
1856
|
+
AustraliaChangeOfNameCertificate: "australiaChangeOfNameCertificate",
|
|
1857
|
+
AustraliaElectoralRoll: "australiaElectoralRoll",
|
|
1858
|
+
NewZealandPassport: "newZealandPassport",
|
|
1859
|
+
NewZealandDrivingLicense: "newZealandDrivingLicense",
|
|
1860
|
+
NewZealandBirthCertificate: "newZealandBirthCertificate",
|
|
1861
|
+
NewZealandCitizenshipCertificate: "newZealandCitizenshipCertificate",
|
|
1862
|
+
NoneOfThese: "noneOfThese",
|
|
1863
|
+
} as const;
|
|
1864
|
+
export type StartJourneySelected = ClosedEnum<typeof StartJourneySelected>;
|
|
1865
|
+
|
|
1866
|
+
export type StartJourneyDocumentTypeSelection = {
|
|
1867
|
+
offered?: Array<StartJourneyOffered> | undefined;
|
|
1868
|
+
selected?: StartJourneySelected | undefined;
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
export type StartJourneyContextSubject = {
|
|
1807
1872
|
identity?: StartJourneyIdentity | undefined;
|
|
1808
1873
|
entities?: Array<StartJourneyEntity> | undefined;
|
|
1809
1874
|
documents?: Array<StartJourneyDocument> | undefined;
|
|
@@ -1812,6 +1877,7 @@ export type StartJourneySubject = {
|
|
|
1812
1877
|
| StartJourneyBiometric1
|
|
1813
1878
|
| StartJourneyBiometric2
|
|
1814
1879
|
| StartJourneyBiometricStoredFace
|
|
1880
|
+
| StartJourneyBiometricOrphanedStoredFace
|
|
1815
1881
|
| StartJourneyBiometric3
|
|
1816
1882
|
| StartJourneyBiometric4
|
|
1817
1883
|
| StartJourneyBiometric5
|
|
@@ -1821,6 +1887,7 @@ export type StartJourneySubject = {
|
|
|
1821
1887
|
consent?: Array<StartJourneyConsent> | undefined;
|
|
1822
1888
|
accounts?: Array<StartJourneyAccount> | undefined;
|
|
1823
1889
|
kba?: StartJourneyKba | undefined;
|
|
1890
|
+
documentTypeSelection?: StartJourneyDocumentTypeSelection | undefined;
|
|
1824
1891
|
uid?: string | undefined;
|
|
1825
1892
|
};
|
|
1826
1893
|
|
|
@@ -1836,6 +1903,20 @@ export const ResumeMode = {
|
|
|
1836
1903
|
*/
|
|
1837
1904
|
export type ResumeMode = ClosedEnum<typeof ResumeMode>;
|
|
1838
1905
|
|
|
1906
|
+
/**
|
|
1907
|
+
* Reminders for an invite journey: the invite link is sent again every intervalMinutes, at most maxReminders times, until the journey finishes or the link expires (ttlMinutes), whichever comes first. Resolved as ONE unit, not per member: the first tier that sets it (journey start, then delivery, then organization) wins, and an interval from one tier is never combined with a count from another. Absent everywhere means off. A journey without an invite ignores it. Captain refuses an interval below its operator floor with a 400 naming the tier. Frozen at journey start: editing it later does not reach a running journey.
|
|
1908
|
+
*/
|
|
1909
|
+
export type Reminders = {
|
|
1910
|
+
/**
|
|
1911
|
+
* Minutes between one send of the invite link and the next reminder.
|
|
1912
|
+
*/
|
|
1913
|
+
intervalMinutes: number;
|
|
1914
|
+
/**
|
|
1915
|
+
* Reminders sent after the first invite, at most 5. 0 turns reminders off.
|
|
1916
|
+
*/
|
|
1917
|
+
maxReminders: number;
|
|
1918
|
+
};
|
|
1919
|
+
|
|
1839
1920
|
/**
|
|
1840
1921
|
* 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.
|
|
1841
1922
|
*/
|
|
@@ -1852,6 +1933,10 @@ export type LinkConfig = {
|
|
|
1852
1933
|
* 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.
|
|
1853
1934
|
*/
|
|
1854
1935
|
resumeExpiryMinutes?: number | undefined;
|
|
1936
|
+
/**
|
|
1937
|
+
* Reminders for an invite journey: the invite link is sent again every intervalMinutes, at most maxReminders times, until the journey finishes or the link expires (ttlMinutes), whichever comes first. Resolved as ONE unit, not per member: the first tier that sets it (journey start, then delivery, then organization) wins, and an interval from one tier is never combined with a count from another. Absent everywhere means off. A journey without an invite ignores it. Captain refuses an interval below its operator floor with a 400 naming the tier. Frozen at journey start: editing it later does not reach a running journey.
|
|
1938
|
+
*/
|
|
1939
|
+
reminders?: Reminders | undefined;
|
|
1855
1940
|
};
|
|
1856
1941
|
|
|
1857
1942
|
/**
|
|
@@ -1876,7 +1961,7 @@ export type Config = {
|
|
|
1876
1961
|
*/
|
|
1877
1962
|
inlineResult?: boolean | undefined;
|
|
1878
1963
|
/**
|
|
1879
|
-
* 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
|
|
1964
|
+
* 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 10 seconds (50 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.
|
|
1880
1965
|
*/
|
|
1881
1966
|
syncWaitSeconds?: number | undefined;
|
|
1882
1967
|
/**
|
|
@@ -1891,21 +1976,39 @@ export type Config = {
|
|
|
1891
1976
|
};
|
|
1892
1977
|
|
|
1893
1978
|
export type StartJourneyContext = {
|
|
1894
|
-
subject?:
|
|
1979
|
+
subject?: StartJourneyContextSubject | undefined;
|
|
1895
1980
|
config: Config;
|
|
1896
1981
|
[additionalProperties: string]: unknown;
|
|
1897
1982
|
};
|
|
1898
1983
|
|
|
1984
|
+
/**
|
|
1985
|
+
* Domain-element values this module override returns in result.subject.
|
|
1986
|
+
*/
|
|
1987
|
+
export type ModulesSubject = {};
|
|
1988
|
+
|
|
1899
1989
|
export type Modules = {
|
|
1900
1990
|
outcome: string;
|
|
1901
1991
|
advice?: { [k: string]: any } | undefined;
|
|
1992
|
+
/**
|
|
1993
|
+
* Domain-element values this module override returns in result.subject.
|
|
1994
|
+
*/
|
|
1995
|
+
subject?: ModulesSubject | undefined;
|
|
1902
1996
|
[additionalProperties: string]: unknown;
|
|
1903
1997
|
};
|
|
1904
1998
|
|
|
1999
|
+
/**
|
|
2000
|
+
* Fallback subject values applied when a module entry has no subject of its own.
|
|
2001
|
+
*/
|
|
2002
|
+
export type DefaultSubject = {};
|
|
2003
|
+
|
|
1905
2004
|
export type Scenario = {
|
|
1906
2005
|
modules: { [k: string]: Modules };
|
|
1907
2006
|
defaultOutcome?: string | undefined;
|
|
1908
2007
|
defaultAdvice?: { [k: string]: any } | undefined;
|
|
2008
|
+
/**
|
|
2009
|
+
* Fallback subject values applied when a module entry has no subject of its own.
|
|
2010
|
+
*/
|
|
2011
|
+
defaultSubject?: DefaultSubject | undefined;
|
|
1909
2012
|
description?: string | undefined;
|
|
1910
2013
|
[additionalProperties: string]: unknown;
|
|
1911
2014
|
};
|
|
@@ -4493,6 +4596,7 @@ export type StartJourneyDocument$Outbound = {
|
|
|
4493
4596
|
registrationYear?: string | undefined;
|
|
4494
4597
|
partyRole?: string | undefined;
|
|
4495
4598
|
dateOfEvent?: string | undefined;
|
|
4599
|
+
acquisitionDate?: string | undefined;
|
|
4496
4600
|
previousFirstName?: string | undefined;
|
|
4497
4601
|
previousMiddleName?: string | undefined;
|
|
4498
4602
|
previousSurname?: string | undefined;
|
|
@@ -4611,6 +4715,7 @@ export const StartJourneyDocument$outboundSchema: z.ZodMiniType<
|
|
|
4611
4715
|
registrationYear: z.optional(z.string()),
|
|
4612
4716
|
partyRole: z.optional(z.string()),
|
|
4613
4717
|
dateOfEvent: z.optional(z.string()),
|
|
4718
|
+
acquisitionDate: z.optional(z.string()),
|
|
4614
4719
|
previousFirstName: z.optional(z.string()),
|
|
4615
4720
|
previousMiddleName: z.optional(z.string()),
|
|
4616
4721
|
previousSurname: z.optional(z.string()),
|
|
@@ -4630,15 +4735,52 @@ export function startJourneyDocumentToJSON(
|
|
|
4630
4735
|
}
|
|
4631
4736
|
|
|
4632
4737
|
/** @internal */
|
|
4633
|
-
export const
|
|
4634
|
-
typeof
|
|
4635
|
-
> = z.enum(
|
|
4738
|
+
export const StartJourneyTypeOrphanedStoredFace$outboundSchema: z.ZodMiniEnum<
|
|
4739
|
+
typeof StartJourneyTypeOrphanedStoredFace
|
|
4740
|
+
> = z.enum(StartJourneyTypeOrphanedStoredFace);
|
|
4741
|
+
|
|
4742
|
+
/** @internal */
|
|
4743
|
+
export type StartJourneyBiometricOrphanedStoredFace$Outbound = {
|
|
4744
|
+
id?: string | undefined;
|
|
4745
|
+
type: string;
|
|
4746
|
+
templateReference: string;
|
|
4747
|
+
collectionReference?: string | undefined;
|
|
4748
|
+
};
|
|
4749
|
+
|
|
4750
|
+
/** @internal */
|
|
4751
|
+
export const StartJourneyBiometricOrphanedStoredFace$outboundSchema:
|
|
4752
|
+
z.ZodMiniType<
|
|
4753
|
+
StartJourneyBiometricOrphanedStoredFace$Outbound,
|
|
4754
|
+
StartJourneyBiometricOrphanedStoredFace
|
|
4755
|
+
> = z.object({
|
|
4756
|
+
id: z.optional(z.string()),
|
|
4757
|
+
type: StartJourneyTypeOrphanedStoredFace$outboundSchema,
|
|
4758
|
+
templateReference: z.string(),
|
|
4759
|
+
collectionReference: z.optional(z.string()),
|
|
4760
|
+
});
|
|
4761
|
+
|
|
4762
|
+
export function startJourneyBiometricOrphanedStoredFaceToJSON(
|
|
4763
|
+
startJourneyBiometricOrphanedStoredFace:
|
|
4764
|
+
StartJourneyBiometricOrphanedStoredFace,
|
|
4765
|
+
): string {
|
|
4766
|
+
return JSON.stringify(
|
|
4767
|
+
StartJourneyBiometricOrphanedStoredFace$outboundSchema.parse(
|
|
4768
|
+
startJourneyBiometricOrphanedStoredFace,
|
|
4769
|
+
),
|
|
4770
|
+
);
|
|
4771
|
+
}
|
|
4772
|
+
|
|
4773
|
+
/** @internal */
|
|
4774
|
+
export const StartJourneyTypeStoredFace$outboundSchema: z.ZodMiniEnum<
|
|
4775
|
+
typeof StartJourneyTypeStoredFace
|
|
4776
|
+
> = z.enum(StartJourneyTypeStoredFace);
|
|
4636
4777
|
|
|
4637
4778
|
/** @internal */
|
|
4638
4779
|
export type StartJourneyBiometricStoredFace$Outbound = {
|
|
4639
4780
|
id?: string | undefined;
|
|
4640
4781
|
type: string;
|
|
4641
4782
|
templateReference: string;
|
|
4783
|
+
collectionReference?: string | undefined;
|
|
4642
4784
|
};
|
|
4643
4785
|
|
|
4644
4786
|
/** @internal */
|
|
@@ -4647,8 +4789,9 @@ export const StartJourneyBiometricStoredFace$outboundSchema: z.ZodMiniType<
|
|
|
4647
4789
|
StartJourneyBiometricStoredFace
|
|
4648
4790
|
> = z.object({
|
|
4649
4791
|
id: z.optional(z.string()),
|
|
4650
|
-
type:
|
|
4792
|
+
type: StartJourneyTypeStoredFace$outboundSchema,
|
|
4651
4793
|
templateReference: z.string(),
|
|
4794
|
+
collectionReference: z.optional(z.string()),
|
|
4652
4795
|
});
|
|
4653
4796
|
|
|
4654
4797
|
export function startJourneyBiometricStoredFaceToJSON(
|
|
@@ -4797,6 +4940,7 @@ export type StartJourneyBiometricUnion$Outbound =
|
|
|
4797
4940
|
| StartJourneyBiometric1$Outbound
|
|
4798
4941
|
| StartJourneyBiometric2$Outbound
|
|
4799
4942
|
| StartJourneyBiometricStoredFace$Outbound
|
|
4943
|
+
| StartJourneyBiometricOrphanedStoredFace$Outbound
|
|
4800
4944
|
| StartJourneyBiometric3$Outbound
|
|
4801
4945
|
| StartJourneyBiometric4$Outbound
|
|
4802
4946
|
| StartJourneyBiometric5$Outbound;
|
|
@@ -4809,6 +4953,7 @@ export const StartJourneyBiometricUnion$outboundSchema: z.ZodMiniType<
|
|
|
4809
4953
|
z.lazy(() => StartJourneyBiometric1$outboundSchema),
|
|
4810
4954
|
z.lazy(() => StartJourneyBiometric2$outboundSchema),
|
|
4811
4955
|
z.lazy(() => StartJourneyBiometricStoredFace$outboundSchema),
|
|
4956
|
+
z.lazy(() => StartJourneyBiometricOrphanedStoredFace$outboundSchema),
|
|
4812
4957
|
z.lazy(() => StartJourneyBiometric3$outboundSchema),
|
|
4813
4958
|
z.lazy(() => StartJourneyBiometric4$outboundSchema),
|
|
4814
4959
|
z.lazy(() => StartJourneyBiometric5$outboundSchema),
|
|
@@ -5112,7 +5257,7 @@ export function startJourneyConsentToJSON(
|
|
|
5112
5257
|
/** @internal */
|
|
5113
5258
|
export type StartJourneyAccount$Outbound = {
|
|
5114
5259
|
type: string;
|
|
5115
|
-
accountNumber
|
|
5260
|
+
accountNumber?: string | undefined;
|
|
5116
5261
|
sortCode?: string | undefined;
|
|
5117
5262
|
routingNumber?: string | undefined;
|
|
5118
5263
|
iban?: string | undefined;
|
|
@@ -5129,7 +5274,7 @@ export const StartJourneyAccount$outboundSchema: z.ZodMiniType<
|
|
|
5129
5274
|
StartJourneyAccount
|
|
5130
5275
|
> = z.object({
|
|
5131
5276
|
type: z.string(),
|
|
5132
|
-
accountNumber: z.string(),
|
|
5277
|
+
accountNumber: z.optional(z.string()),
|
|
5133
5278
|
sortCode: z.optional(z.string()),
|
|
5134
5279
|
routingNumber: z.optional(z.string()),
|
|
5135
5280
|
iban: z.optional(z.string()),
|
|
@@ -5243,7 +5388,42 @@ export function startJourneyKbaToJSON(
|
|
|
5243
5388
|
}
|
|
5244
5389
|
|
|
5245
5390
|
/** @internal */
|
|
5246
|
-
export
|
|
5391
|
+
export const StartJourneyOffered$outboundSchema: z.ZodMiniEnum<
|
|
5392
|
+
typeof StartJourneyOffered
|
|
5393
|
+
> = z.enum(StartJourneyOffered);
|
|
5394
|
+
|
|
5395
|
+
/** @internal */
|
|
5396
|
+
export const StartJourneySelected$outboundSchema: z.ZodMiniEnum<
|
|
5397
|
+
typeof StartJourneySelected
|
|
5398
|
+
> = z.enum(StartJourneySelected);
|
|
5399
|
+
|
|
5400
|
+
/** @internal */
|
|
5401
|
+
export type StartJourneyDocumentTypeSelection$Outbound = {
|
|
5402
|
+
offered?: Array<string> | undefined;
|
|
5403
|
+
selected?: string | undefined;
|
|
5404
|
+
};
|
|
5405
|
+
|
|
5406
|
+
/** @internal */
|
|
5407
|
+
export const StartJourneyDocumentTypeSelection$outboundSchema: z.ZodMiniType<
|
|
5408
|
+
StartJourneyDocumentTypeSelection$Outbound,
|
|
5409
|
+
StartJourneyDocumentTypeSelection
|
|
5410
|
+
> = z.object({
|
|
5411
|
+
offered: z.optional(z.array(StartJourneyOffered$outboundSchema)),
|
|
5412
|
+
selected: z.optional(StartJourneySelected$outboundSchema),
|
|
5413
|
+
});
|
|
5414
|
+
|
|
5415
|
+
export function startJourneyDocumentTypeSelectionToJSON(
|
|
5416
|
+
startJourneyDocumentTypeSelection: StartJourneyDocumentTypeSelection,
|
|
5417
|
+
): string {
|
|
5418
|
+
return JSON.stringify(
|
|
5419
|
+
StartJourneyDocumentTypeSelection$outboundSchema.parse(
|
|
5420
|
+
startJourneyDocumentTypeSelection,
|
|
5421
|
+
),
|
|
5422
|
+
);
|
|
5423
|
+
}
|
|
5424
|
+
|
|
5425
|
+
/** @internal */
|
|
5426
|
+
export type StartJourneyContextSubject$Outbound = {
|
|
5247
5427
|
identity?: StartJourneyIdentity$Outbound | undefined;
|
|
5248
5428
|
entities?: Array<StartJourneyEntity$Outbound> | undefined;
|
|
5249
5429
|
documents?: Array<StartJourneyDocument$Outbound> | undefined;
|
|
@@ -5252,6 +5432,7 @@ export type StartJourneySubject$Outbound = {
|
|
|
5252
5432
|
| StartJourneyBiometric1$Outbound
|
|
5253
5433
|
| StartJourneyBiometric2$Outbound
|
|
5254
5434
|
| StartJourneyBiometricStoredFace$Outbound
|
|
5435
|
+
| StartJourneyBiometricOrphanedStoredFace$Outbound
|
|
5255
5436
|
| StartJourneyBiometric3$Outbound
|
|
5256
5437
|
| StartJourneyBiometric4$Outbound
|
|
5257
5438
|
| StartJourneyBiometric5$Outbound
|
|
@@ -5261,13 +5442,16 @@ export type StartJourneySubject$Outbound = {
|
|
|
5261
5442
|
consent?: Array<StartJourneyConsent$Outbound> | undefined;
|
|
5262
5443
|
accounts?: Array<StartJourneyAccount$Outbound> | undefined;
|
|
5263
5444
|
kba?: StartJourneyKba$Outbound | undefined;
|
|
5445
|
+
documentTypeSelection?:
|
|
5446
|
+
| StartJourneyDocumentTypeSelection$Outbound
|
|
5447
|
+
| undefined;
|
|
5264
5448
|
uid?: string | undefined;
|
|
5265
5449
|
};
|
|
5266
5450
|
|
|
5267
5451
|
/** @internal */
|
|
5268
|
-
export const
|
|
5269
|
-
|
|
5270
|
-
|
|
5452
|
+
export const StartJourneyContextSubject$outboundSchema: z.ZodMiniType<
|
|
5453
|
+
StartJourneyContextSubject$Outbound,
|
|
5454
|
+
StartJourneyContextSubject
|
|
5271
5455
|
> = z.object({
|
|
5272
5456
|
identity: z.optional(z.lazy(() => StartJourneyIdentity$outboundSchema)),
|
|
5273
5457
|
entities: z.optional(
|
|
@@ -5283,6 +5467,7 @@ export const StartJourneySubject$outboundSchema: z.ZodMiniType<
|
|
|
5283
5467
|
StartJourneyBiometric2$outboundSchema
|
|
5284
5468
|
),
|
|
5285
5469
|
z.lazy(() => StartJourneyBiometricStoredFace$outboundSchema),
|
|
5470
|
+
z.lazy(() => StartJourneyBiometricOrphanedStoredFace$outboundSchema),
|
|
5286
5471
|
z.lazy(() => StartJourneyBiometric3$outboundSchema),
|
|
5287
5472
|
z.lazy(() => StartJourneyBiometric4$outboundSchema),
|
|
5288
5473
|
z.lazy(() => StartJourneyBiometric5$outboundSchema),
|
|
@@ -5298,14 +5483,17 @@ export const StartJourneySubject$outboundSchema: z.ZodMiniType<
|
|
|
5298
5483
|
z.array(z.lazy(() => StartJourneyAccount$outboundSchema)),
|
|
5299
5484
|
),
|
|
5300
5485
|
kba: z.optional(z.lazy(() => StartJourneyKba$outboundSchema)),
|
|
5486
|
+
documentTypeSelection: z.optional(
|
|
5487
|
+
z.lazy(() => StartJourneyDocumentTypeSelection$outboundSchema),
|
|
5488
|
+
),
|
|
5301
5489
|
uid: z.optional(z.string()),
|
|
5302
5490
|
});
|
|
5303
5491
|
|
|
5304
|
-
export function
|
|
5305
|
-
|
|
5492
|
+
export function startJourneyContextSubjectToJSON(
|
|
5493
|
+
startJourneyContextSubject: StartJourneyContextSubject,
|
|
5306
5494
|
): string {
|
|
5307
5495
|
return JSON.stringify(
|
|
5308
|
-
|
|
5496
|
+
StartJourneyContextSubject$outboundSchema.parse(startJourneyContextSubject),
|
|
5309
5497
|
);
|
|
5310
5498
|
}
|
|
5311
5499
|
|
|
@@ -5313,11 +5501,31 @@ export function startJourneySubjectToJSON(
|
|
|
5313
5501
|
export const ResumeMode$outboundSchema: z.ZodMiniEnum<typeof ResumeMode> = z
|
|
5314
5502
|
.enum(ResumeMode);
|
|
5315
5503
|
|
|
5504
|
+
/** @internal */
|
|
5505
|
+
export type Reminders$Outbound = {
|
|
5506
|
+
intervalMinutes: number;
|
|
5507
|
+
maxReminders: number;
|
|
5508
|
+
};
|
|
5509
|
+
|
|
5510
|
+
/** @internal */
|
|
5511
|
+
export const Reminders$outboundSchema: z.ZodMiniType<
|
|
5512
|
+
Reminders$Outbound,
|
|
5513
|
+
Reminders
|
|
5514
|
+
> = z.object({
|
|
5515
|
+
intervalMinutes: z.int(),
|
|
5516
|
+
maxReminders: z.int(),
|
|
5517
|
+
});
|
|
5518
|
+
|
|
5519
|
+
export function remindersToJSON(reminders: Reminders): string {
|
|
5520
|
+
return JSON.stringify(Reminders$outboundSchema.parse(reminders));
|
|
5521
|
+
}
|
|
5522
|
+
|
|
5316
5523
|
/** @internal */
|
|
5317
5524
|
export type LinkConfig$Outbound = {
|
|
5318
5525
|
ttlMinutes?: number | undefined;
|
|
5319
5526
|
resumeMode?: string | undefined;
|
|
5320
5527
|
resumeExpiryMinutes?: number | undefined;
|
|
5528
|
+
reminders?: Reminders$Outbound | undefined;
|
|
5321
5529
|
};
|
|
5322
5530
|
|
|
5323
5531
|
/** @internal */
|
|
@@ -5328,6 +5536,7 @@ export const LinkConfig$outboundSchema: z.ZodMiniType<
|
|
|
5328
5536
|
ttlMinutes: z.optional(z.int()),
|
|
5329
5537
|
resumeMode: z.optional(ResumeMode$outboundSchema),
|
|
5330
5538
|
resumeExpiryMinutes: z.optional(z.int()),
|
|
5539
|
+
reminders: z.optional(z.lazy(() => Reminders$outboundSchema)),
|
|
5331
5540
|
});
|
|
5332
5541
|
|
|
5333
5542
|
export function linkConfigToJSON(linkConfig: LinkConfig): string {
|
|
@@ -5382,7 +5591,7 @@ export function configToJSON(config: Config): string {
|
|
|
5382
5591
|
|
|
5383
5592
|
/** @internal */
|
|
5384
5593
|
export type StartJourneyContext$Outbound = {
|
|
5385
|
-
subject?:
|
|
5594
|
+
subject?: StartJourneyContextSubject$Outbound | undefined;
|
|
5386
5595
|
config: Config$Outbound;
|
|
5387
5596
|
[additionalProperties: string]: unknown;
|
|
5388
5597
|
};
|
|
@@ -5393,7 +5602,9 @@ export const StartJourneyContext$outboundSchema: z.ZodMiniType<
|
|
|
5393
5602
|
StartJourneyContext
|
|
5394
5603
|
> = z.catchall(
|
|
5395
5604
|
z.object({
|
|
5396
|
-
subject: z.optional(
|
|
5605
|
+
subject: z.optional(
|
|
5606
|
+
z.lazy(() => StartJourneyContextSubject$outboundSchema),
|
|
5607
|
+
),
|
|
5397
5608
|
config: z.lazy(() => Config$outboundSchema),
|
|
5398
5609
|
}),
|
|
5399
5610
|
z.any(),
|
|
@@ -5407,10 +5618,24 @@ export function startJourneyContextToJSON(
|
|
|
5407
5618
|
);
|
|
5408
5619
|
}
|
|
5409
5620
|
|
|
5621
|
+
/** @internal */
|
|
5622
|
+
export type ModulesSubject$Outbound = {};
|
|
5623
|
+
|
|
5624
|
+
/** @internal */
|
|
5625
|
+
export const ModulesSubject$outboundSchema: z.ZodMiniType<
|
|
5626
|
+
ModulesSubject$Outbound,
|
|
5627
|
+
ModulesSubject
|
|
5628
|
+
> = z.object({});
|
|
5629
|
+
|
|
5630
|
+
export function modulesSubjectToJSON(modulesSubject: ModulesSubject): string {
|
|
5631
|
+
return JSON.stringify(ModulesSubject$outboundSchema.parse(modulesSubject));
|
|
5632
|
+
}
|
|
5633
|
+
|
|
5410
5634
|
/** @internal */
|
|
5411
5635
|
export type Modules$Outbound = {
|
|
5412
5636
|
outcome: string;
|
|
5413
5637
|
advice?: { [k: string]: any } | undefined;
|
|
5638
|
+
subject?: ModulesSubject$Outbound | undefined;
|
|
5414
5639
|
[additionalProperties: string]: unknown;
|
|
5415
5640
|
};
|
|
5416
5641
|
|
|
@@ -5420,6 +5645,7 @@ export const Modules$outboundSchema: z.ZodMiniType<Modules$Outbound, Modules> =
|
|
|
5420
5645
|
z.object({
|
|
5421
5646
|
outcome: z.string(),
|
|
5422
5647
|
advice: z.optional(z.record(z.string(), z.any())),
|
|
5648
|
+
subject: z.optional(z.lazy(() => ModulesSubject$outboundSchema)),
|
|
5423
5649
|
}),
|
|
5424
5650
|
z.any(),
|
|
5425
5651
|
);
|
|
@@ -5428,11 +5654,25 @@ export function modulesToJSON(modules: Modules): string {
|
|
|
5428
5654
|
return JSON.stringify(Modules$outboundSchema.parse(modules));
|
|
5429
5655
|
}
|
|
5430
5656
|
|
|
5657
|
+
/** @internal */
|
|
5658
|
+
export type DefaultSubject$Outbound = {};
|
|
5659
|
+
|
|
5660
|
+
/** @internal */
|
|
5661
|
+
export const DefaultSubject$outboundSchema: z.ZodMiniType<
|
|
5662
|
+
DefaultSubject$Outbound,
|
|
5663
|
+
DefaultSubject
|
|
5664
|
+
> = z.object({});
|
|
5665
|
+
|
|
5666
|
+
export function defaultSubjectToJSON(defaultSubject: DefaultSubject): string {
|
|
5667
|
+
return JSON.stringify(DefaultSubject$outboundSchema.parse(defaultSubject));
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5431
5670
|
/** @internal */
|
|
5432
5671
|
export type Scenario$Outbound = {
|
|
5433
5672
|
modules: { [k: string]: Modules$Outbound };
|
|
5434
5673
|
defaultOutcome?: string | undefined;
|
|
5435
5674
|
defaultAdvice?: { [k: string]: any } | undefined;
|
|
5675
|
+
defaultSubject?: DefaultSubject$Outbound | undefined;
|
|
5436
5676
|
description?: string | undefined;
|
|
5437
5677
|
[additionalProperties: string]: unknown;
|
|
5438
5678
|
};
|
|
@@ -5446,6 +5686,7 @@ export const Scenario$outboundSchema: z.ZodMiniType<
|
|
|
5446
5686
|
modules: z.record(z.string(), z.lazy(() => Modules$outboundSchema)),
|
|
5447
5687
|
defaultOutcome: z.optional(z.string()),
|
|
5448
5688
|
defaultAdvice: z.optional(z.record(z.string(), z.any())),
|
|
5689
|
+
defaultSubject: z.optional(z.lazy(() => DefaultSubject$outboundSchema)),
|
|
5449
5690
|
description: z.optional(z.string()),
|
|
5450
5691
|
}),
|
|
5451
5692
|
z.any(),
|