@gbg/go-core 0.0.1-alpha.16
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/.devcontainer/devcontainer.json +45 -0
- package/FUNCTIONS.md +91 -0
- package/README.md +557 -0
- package/RUNTIMES.md +48 -0
- package/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/dist/commonjs/core.d.ts +10 -0
- package/dist/commonjs/core.d.ts.map +1 -0
- package/dist/commonjs/core.js +17 -0
- package/dist/commonjs/core.js.map +1 -0
- package/dist/commonjs/funcs/devices-add.d.ts +17 -0
- package/dist/commonjs/funcs/devices-add.d.ts.map +1 -0
- package/dist/commonjs/funcs/devices-add.js +117 -0
- package/dist/commonjs/funcs/devices-add.js.map +1 -0
- package/dist/commonjs/funcs/devices-connect.d.ts +17 -0
- package/dist/commonjs/funcs/devices-connect.d.ts.map +1 -0
- package/dist/commonjs/funcs/devices-connect.js +121 -0
- package/dist/commonjs/funcs/devices-connect.js.map +1 -0
- package/dist/commonjs/funcs/health-get.d.ts +17 -0
- package/dist/commonjs/funcs/health-get.d.ts.map +1 -0
- package/dist/commonjs/funcs/health-get.js +104 -0
- package/dist/commonjs/funcs/health-get.js.map +1 -0
- package/dist/commonjs/funcs/instances-delete.d.ts +17 -0
- package/dist/commonjs/funcs/instances-delete.d.ts.map +1 -0
- package/dist/commonjs/funcs/instances-delete.js +117 -0
- package/dist/commonjs/funcs/instances-delete.js.map +1 -0
- package/dist/commonjs/funcs/interactions-fetch.d.ts +17 -0
- package/dist/commonjs/funcs/interactions-fetch.d.ts.map +1 -0
- package/dist/commonjs/funcs/interactions-fetch.js +121 -0
- package/dist/commonjs/funcs/interactions-fetch.js.map +1 -0
- package/dist/commonjs/funcs/interactions-submit.d.ts +17 -0
- package/dist/commonjs/funcs/interactions-submit.d.ts.map +1 -0
- package/dist/commonjs/funcs/interactions-submit.js +121 -0
- package/dist/commonjs/funcs/interactions-submit.js.map +1 -0
- package/dist/commonjs/funcs/journeys-get-state.d.ts +17 -0
- package/dist/commonjs/funcs/journeys-get-state.d.ts.map +1 -0
- package/dist/commonjs/funcs/journeys-get-state.js +117 -0
- package/dist/commonjs/funcs/journeys-get-state.js.map +1 -0
- package/dist/commonjs/funcs/journeys-start.d.ts +17 -0
- package/dist/commonjs/funcs/journeys-start.d.ts.map +1 -0
- package/dist/commonjs/funcs/journeys-start.js +117 -0
- package/dist/commonjs/funcs/journeys-start.js.map +1 -0
- package/dist/commonjs/funcs/tasks-get-schema.d.ts +17 -0
- package/dist/commonjs/funcs/tasks-get-schema.d.ts.map +1 -0
- package/dist/commonjs/funcs/tasks-get-schema.js +117 -0
- package/dist/commonjs/funcs/tasks-get-schema.js.map +1 -0
- package/dist/commonjs/funcs/tasks-list-schema.d.ts +17 -0
- package/dist/commonjs/funcs/tasks-list-schema.d.ts.map +1 -0
- package/dist/commonjs/funcs/tasks-list-schema.js +117 -0
- package/dist/commonjs/funcs/tasks-list-schema.js.map +1 -0
- package/dist/commonjs/funcs/tasks-list.d.ts +17 -0
- package/dist/commonjs/funcs/tasks-list.d.ts.map +1 -0
- package/dist/commonjs/funcs/tasks-list.js +121 -0
- package/dist/commonjs/funcs/tasks-list.js.map +1 -0
- package/dist/commonjs/funcs/tasks-update.d.ts +17 -0
- package/dist/commonjs/funcs/tasks-update.d.ts.map +1 -0
- package/dist/commonjs/funcs/tasks-update.js +121 -0
- package/dist/commonjs/funcs/tasks-update.js.map +1 -0
- package/dist/commonjs/funcs/tokens-generate.d.ts +17 -0
- package/dist/commonjs/funcs/tokens-generate.d.ts.map +1 -0
- package/dist/commonjs/funcs/tokens-generate.js +119 -0
- package/dist/commonjs/funcs/tokens-generate.js.map +1 -0
- package/dist/commonjs/hooks/hooks.d.ts +25 -0
- package/dist/commonjs/hooks/hooks.d.ts.map +1 -0
- package/dist/commonjs/hooks/hooks.js +86 -0
- package/dist/commonjs/hooks/hooks.js.map +1 -0
- package/dist/commonjs/hooks/index.d.ts +3 -0
- package/dist/commonjs/hooks/index.d.ts.map +1 -0
- package/dist/commonjs/hooks/index.js +22 -0
- package/dist/commonjs/hooks/index.js.map +1 -0
- package/dist/commonjs/hooks/registration.d.ts +3 -0
- package/dist/commonjs/hooks/registration.d.ts.map +1 -0
- package/dist/commonjs/hooks/registration.js +15 -0
- package/dist/commonjs/hooks/registration.js.map +1 -0
- package/dist/commonjs/hooks/types.d.ts +76 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -0
- package/dist/commonjs/hooks/types.js +6 -0
- package/dist/commonjs/hooks/types.js.map +1 -0
- package/dist/commonjs/index.d.ts +6 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +48 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lib/base64.d.ts +10 -0
- package/dist/commonjs/lib/base64.d.ts.map +1 -0
- package/dist/commonjs/lib/base64.js +73 -0
- package/dist/commonjs/lib/base64.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +38 -0
- package/dist/commonjs/lib/config.d.ts.map +1 -0
- package/dist/commonjs/lib/config.js +37 -0
- package/dist/commonjs/lib/config.js.map +1 -0
- package/dist/commonjs/lib/dlv.d.ts +14 -0
- package/dist/commonjs/lib/dlv.d.ts.map +1 -0
- package/dist/commonjs/lib/dlv.js +49 -0
- package/dist/commonjs/lib/dlv.js.map +1 -0
- package/dist/commonjs/lib/encodings.d.ts +53 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -0
- package/dist/commonjs/lib/encodings.js +384 -0
- package/dist/commonjs/lib/encodings.js.map +1 -0
- package/dist/commonjs/lib/env.d.ts +15 -0
- package/dist/commonjs/lib/env.d.ts.map +1 -0
- package/dist/commonjs/lib/env.js +82 -0
- package/dist/commonjs/lib/env.js.map +1 -0
- package/dist/commonjs/lib/files.d.ts +13 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -0
- package/dist/commonjs/lib/files.js +77 -0
- package/dist/commonjs/lib/files.js.map +1 -0
- package/dist/commonjs/lib/http.d.ts +67 -0
- package/dist/commonjs/lib/http.d.ts.map +1 -0
- package/dist/commonjs/lib/http.js +217 -0
- package/dist/commonjs/lib/http.js.map +1 -0
- package/dist/commonjs/lib/is-plain-object.d.ts +2 -0
- package/dist/commonjs/lib/is-plain-object.d.ts.map +1 -0
- package/dist/commonjs/lib/is-plain-object.js +41 -0
- package/dist/commonjs/lib/is-plain-object.js.map +1 -0
- package/dist/commonjs/lib/logger.d.ts +6 -0
- package/dist/commonjs/lib/logger.d.ts.map +1 -0
- package/dist/commonjs/lib/logger.js +6 -0
- package/dist/commonjs/lib/logger.js.map +1 -0
- package/dist/commonjs/lib/matchers.d.ts +59 -0
- package/dist/commonjs/lib/matchers.d.ts.map +1 -0
- package/dist/commonjs/lib/matchers.js +222 -0
- package/dist/commonjs/lib/matchers.js.map +1 -0
- package/dist/commonjs/lib/primitives.d.ts +26 -0
- package/dist/commonjs/lib/primitives.d.ts.map +1 -0
- package/dist/commonjs/lib/primitives.js +111 -0
- package/dist/commonjs/lib/primitives.js.map +1 -0
- package/dist/commonjs/lib/retries.d.ts +38 -0
- package/dist/commonjs/lib/retries.d.ts.map +1 -0
- package/dist/commonjs/lib/retries.js +153 -0
- package/dist/commonjs/lib/retries.js.map +1 -0
- package/dist/commonjs/lib/schemas.d.ts +21 -0
- package/dist/commonjs/lib/schemas.d.ts.map +1 -0
- package/dist/commonjs/lib/schemas.js +95 -0
- package/dist/commonjs/lib/schemas.js.map +1 -0
- package/dist/commonjs/lib/sdks.d.ts +63 -0
- package/dist/commonjs/lib/sdks.d.ts.map +1 -0
- package/dist/commonjs/lib/sdks.js +273 -0
- package/dist/commonjs/lib/sdks.js.map +1 -0
- package/dist/commonjs/lib/security.d.ts +83 -0
- package/dist/commonjs/lib/security.d.ts.map +1 -0
- package/dist/commonjs/lib/security.js +144 -0
- package/dist/commonjs/lib/security.js.map +1 -0
- package/dist/commonjs/lib/url.d.ts +5 -0
- package/dist/commonjs/lib/url.d.ts.map +1 -0
- package/dist/commonjs/lib/url.js +25 -0
- package/dist/commonjs/lib/url.js.map +1 -0
- package/dist/commonjs/models/errors/go-default-error.d.ts +10 -0
- package/dist/commonjs/models/errors/go-default-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/go-default-error.js +34 -0
- package/dist/commonjs/models/errors/go-default-error.js.map +1 -0
- package/dist/commonjs/models/errors/go-error.d.ts +19 -0
- package/dist/commonjs/models/errors/go-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/go-error.js +20 -0
- package/dist/commonjs/models/errors/go-error.js.map +1 -0
- package/dist/commonjs/models/errors/http-client-errors.d.ts +44 -0
- package/dist/commonjs/models/errors/http-client-errors.d.ts.map +1 -0
- package/dist/commonjs/models/errors/http-client-errors.js +78 -0
- package/dist/commonjs/models/errors/http-client-errors.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +6 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -0
- package/dist/commonjs/models/errors/index.js +25 -0
- package/dist/commonjs/models/errors/index.js.map +1 -0
- package/dist/commonjs/models/errors/response-validation-error.d.ts +26 -0
- package/dist/commonjs/models/errors/response-validation-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/response-validation-error.js +66 -0
- package/dist/commonjs/models/errors/response-validation-error.js.map +1 -0
- package/dist/commonjs/models/errors/sdk-validation-error.d.ts +21 -0
- package/dist/commonjs/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/sdk-validation-error.js +82 -0
- package/dist/commonjs/models/errors/sdk-validation-error.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +21 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/operations/add-device.d.ts +114 -0
- package/dist/commonjs/models/operations/add-device.d.ts.map +1 -0
- package/dist/commonjs/models/operations/add-device.js +129 -0
- package/dist/commonjs/models/operations/add-device.js.map +1 -0
- package/dist/commonjs/models/operations/delete-instance.d.ts +30 -0
- package/dist/commonjs/models/operations/delete-instance.d.ts.map +1 -0
- package/dist/commonjs/models/operations/delete-instance.js +59 -0
- package/dist/commonjs/models/operations/delete-instance.js.map +1 -0
- package/dist/commonjs/models/operations/device-connect.d.ts +103 -0
- package/dist/commonjs/models/operations/device-connect.d.ts.map +1 -0
- package/dist/commonjs/models/operations/device-connect.js +122 -0
- package/dist/commonjs/models/operations/device-connect.js.map +1 -0
- package/dist/commonjs/models/operations/fetch-interaction.d.ts +1562 -0
- package/dist/commonjs/models/operations/fetch-interaction.d.ts.map +1 -0
- package/dist/commonjs/models/operations/fetch-interaction.js +1345 -0
- package/dist/commonjs/models/operations/fetch-interaction.js.map +1 -0
- package/dist/commonjs/models/operations/get-journey-state.d.ts +1363 -0
- package/dist/commonjs/models/operations/get-journey-state.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-journey-state.js +1105 -0
- package/dist/commonjs/models/operations/get-journey-state.js.map +1 -0
- package/dist/commonjs/models/operations/get-task-schema.d.ts +31 -0
- package/dist/commonjs/models/operations/get-task-schema.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-task-schema.js +67 -0
- package/dist/commonjs/models/operations/get-task-schema.js.map +1 -0
- package/dist/commonjs/models/operations/get-tasks-schema.d.ts +71 -0
- package/dist/commonjs/models/operations/get-tasks-schema.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-tasks-schema.js +108 -0
- package/dist/commonjs/models/operations/get-tasks-schema.js.map +1 -0
- package/dist/commonjs/models/operations/get-tasks.d.ts +62 -0
- package/dist/commonjs/models/operations/get-tasks.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-tasks.js +91 -0
- package/dist/commonjs/models/operations/get-tasks.js.map +1 -0
- package/dist/commonjs/models/operations/health.d.ts +14 -0
- package/dist/commonjs/models/operations/health.d.ts.map +1 -0
- package/dist/commonjs/models/operations/health.js +51 -0
- package/dist/commonjs/models/operations/health.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +14 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -0
- package/dist/commonjs/models/operations/index.js +33 -0
- package/dist/commonjs/models/operations/index.js.map +1 -0
- package/dist/commonjs/models/operations/post-auth-realms-go-protocol-openid-connect-token.d.ts +71 -0
- package/dist/commonjs/models/operations/post-auth-realms-go-protocol-openid-connect-token.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-auth-realms-go-protocol-openid-connect-token.js +90 -0
- package/dist/commonjs/models/operations/post-auth-realms-go-protocol-openid-connect-token.js.map +1 -0
- package/dist/commonjs/models/operations/start-journey.d.ts +2038 -0
- package/dist/commonjs/models/operations/start-journey.d.ts.map +1 -0
- package/dist/commonjs/models/operations/start-journey.js +1092 -0
- package/dist/commonjs/models/operations/start-journey.js.map +1 -0
- package/dist/commonjs/models/operations/submit-interaction.d.ts +2061 -0
- package/dist/commonjs/models/operations/submit-interaction.d.ts.map +1 -0
- package/dist/commonjs/models/operations/submit-interaction.js +1118 -0
- package/dist/commonjs/models/operations/submit-interaction.js.map +1 -0
- package/dist/commonjs/models/operations/update-task.d.ts +2045 -0
- package/dist/commonjs/models/operations/update-task.d.ts.map +1 -0
- package/dist/commonjs/models/operations/update-task.js +1097 -0
- package/dist/commonjs/models/operations/update-task.js.map +1 -0
- package/dist/commonjs/models/security.d.ts +12 -0
- package/dist/commonjs/models/security.d.ts.map +1 -0
- package/dist/commonjs/models/security.js +54 -0
- package/dist/commonjs/models/security.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/sdk/devices.d.ts +19 -0
- package/dist/commonjs/sdk/devices.d.ts.map +1 -0
- package/dist/commonjs/sdk/devices.js +32 -0
- package/dist/commonjs/sdk/devices.js.map +1 -0
- package/dist/commonjs/sdk/health.d.ts +12 -0
- package/dist/commonjs/sdk/health.d.ts.map +1 -0
- package/dist/commonjs/sdk/health.js +22 -0
- package/dist/commonjs/sdk/health.js.map +1 -0
- package/dist/commonjs/sdk/index.d.ts +2 -0
- package/dist/commonjs/sdk/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/index.js +21 -0
- package/dist/commonjs/sdk/index.js.map +1 -0
- package/dist/commonjs/sdk/instances.d.ts +12 -0
- package/dist/commonjs/sdk/instances.d.ts.map +1 -0
- package/dist/commonjs/sdk/instances.js +22 -0
- package/dist/commonjs/sdk/instances.js.map +1 -0
- package/dist/commonjs/sdk/interactions.d.ts +19 -0
- package/dist/commonjs/sdk/interactions.d.ts.map +1 -0
- package/dist/commonjs/sdk/interactions.js +32 -0
- package/dist/commonjs/sdk/interactions.js.map +1 -0
- package/dist/commonjs/sdk/journeys.d.ts +19 -0
- package/dist/commonjs/sdk/journeys.d.ts.map +1 -0
- package/dist/commonjs/sdk/journeys.js +32 -0
- package/dist/commonjs/sdk/journeys.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +25 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -0
- package/dist/commonjs/sdk/sdk.js +39 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -0
- package/dist/commonjs/sdk/tasks.d.ts +33 -0
- package/dist/commonjs/sdk/tasks.d.ts.map +1 -0
- package/dist/commonjs/sdk/tasks.js +52 -0
- package/dist/commonjs/sdk/tasks.js.map +1 -0
- package/dist/commonjs/sdk/tokens.d.ts +12 -0
- package/dist/commonjs/sdk/tokens.d.ts.map +1 -0
- package/dist/commonjs/sdk/tokens.js +22 -0
- package/dist/commonjs/sdk/tokens.js.map +1 -0
- package/dist/commonjs/types/async.d.ts +23 -0
- package/dist/commonjs/types/async.d.ts.map +1 -0
- package/dist/commonjs/types/async.js +44 -0
- package/dist/commonjs/types/async.js.map +1 -0
- package/dist/commonjs/types/blobs.d.ts +4 -0
- package/dist/commonjs/types/blobs.d.ts.map +1 -0
- package/dist/commonjs/types/blobs.js +62 -0
- package/dist/commonjs/types/blobs.js.map +1 -0
- package/dist/commonjs/types/const-date-time.d.ts +3 -0
- package/dist/commonjs/types/const-date-time.d.ts.map +1 -0
- package/dist/commonjs/types/const-date-time.js +46 -0
- package/dist/commonjs/types/const-date-time.js.map +1 -0
- package/dist/commonjs/types/default-to-zero-value.d.ts +12 -0
- package/dist/commonjs/types/default-to-zero-value.d.ts.map +1 -0
- package/dist/commonjs/types/default-to-zero-value.js +35 -0
- package/dist/commonjs/types/default-to-zero-value.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 +98 -0
- package/dist/commonjs/types/discriminated-union.js.map +1 -0
- package/dist/commonjs/types/enums.d.ts +9 -0
- package/dist/commonjs/types/enums.d.ts.map +1 -0
- package/dist/commonjs/types/enums.js +66 -0
- package/dist/commonjs/types/enums.js.map +1 -0
- package/dist/commonjs/types/fp.d.ts +31 -0
- package/dist/commonjs/types/fp.d.ts.map +1 -0
- package/dist/commonjs/types/fp.js +37 -0
- package/dist/commonjs/types/fp.js.map +1 -0
- package/dist/commonjs/types/index.d.ts +10 -0
- package/dist/commonjs/types/index.d.ts.map +1 -0
- package/dist/commonjs/types/index.js +31 -0
- package/dist/commonjs/types/index.js.map +1 -0
- package/dist/commonjs/types/operations.d.ts +27 -0
- package/dist/commonjs/types/operations.d.ts.map +1 -0
- package/dist/commonjs/types/operations.js +83 -0
- package/dist/commonjs/types/operations.js.map +1 -0
- package/dist/commonjs/types/primitives.d.ts +11 -0
- package/dist/commonjs/types/primitives.d.ts.map +1 -0
- package/dist/commonjs/types/primitives.js +176 -0
- package/dist/commonjs/types/primitives.js.map +1 -0
- package/dist/commonjs/types/rfcdate.d.ts +21 -0
- package/dist/commonjs/types/rfcdate.d.ts.map +1 -0
- package/dist/commonjs/types/rfcdate.js +46 -0
- package/dist/commonjs/types/rfcdate.js.map +1 -0
- package/dist/commonjs/types/smart-union.d.ts +7 -0
- package/dist/commonjs/types/smart-union.d.ts.map +1 -0
- package/dist/commonjs/types/smart-union.js +154 -0
- package/dist/commonjs/types/smart-union.js.map +1 -0
- package/dist/commonjs/types/streams.d.ts +2 -0
- package/dist/commonjs/types/streams.d.ts.map +1 -0
- package/dist/commonjs/types/streams.js +18 -0
- package/dist/commonjs/types/streams.js.map +1 -0
- package/dist/commonjs/types/unrecognized.d.ts +16 -0
- package/dist/commonjs/types/unrecognized.d.ts.map +1 -0
- package/dist/commonjs/types/unrecognized.js +34 -0
- package/dist/commonjs/types/unrecognized.js.map +1 -0
- package/dist/esm/core.d.ts +10 -0
- package/dist/esm/core.d.ts.map +1 -0
- package/dist/esm/core.js +13 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/funcs/devices-add.d.ts +17 -0
- package/dist/esm/funcs/devices-add.d.ts.map +1 -0
- package/dist/esm/funcs/devices-add.js +81 -0
- package/dist/esm/funcs/devices-add.js.map +1 -0
- package/dist/esm/funcs/devices-connect.d.ts +17 -0
- package/dist/esm/funcs/devices-connect.d.ts.map +1 -0
- package/dist/esm/funcs/devices-connect.js +85 -0
- package/dist/esm/funcs/devices-connect.js.map +1 -0
- package/dist/esm/funcs/health-get.d.ts +17 -0
- package/dist/esm/funcs/health-get.d.ts.map +1 -0
- package/dist/esm/funcs/health-get.js +68 -0
- package/dist/esm/funcs/health-get.js.map +1 -0
- package/dist/esm/funcs/instances-delete.d.ts +17 -0
- package/dist/esm/funcs/instances-delete.d.ts.map +1 -0
- package/dist/esm/funcs/instances-delete.js +81 -0
- package/dist/esm/funcs/instances-delete.js.map +1 -0
- package/dist/esm/funcs/interactions-fetch.d.ts +17 -0
- package/dist/esm/funcs/interactions-fetch.d.ts.map +1 -0
- package/dist/esm/funcs/interactions-fetch.js +85 -0
- package/dist/esm/funcs/interactions-fetch.js.map +1 -0
- package/dist/esm/funcs/interactions-submit.d.ts +17 -0
- package/dist/esm/funcs/interactions-submit.d.ts.map +1 -0
- package/dist/esm/funcs/interactions-submit.js +85 -0
- package/dist/esm/funcs/interactions-submit.js.map +1 -0
- package/dist/esm/funcs/journeys-get-state.d.ts +17 -0
- package/dist/esm/funcs/journeys-get-state.d.ts.map +1 -0
- package/dist/esm/funcs/journeys-get-state.js +81 -0
- package/dist/esm/funcs/journeys-get-state.js.map +1 -0
- package/dist/esm/funcs/journeys-start.d.ts +17 -0
- package/dist/esm/funcs/journeys-start.d.ts.map +1 -0
- package/dist/esm/funcs/journeys-start.js +81 -0
- package/dist/esm/funcs/journeys-start.js.map +1 -0
- package/dist/esm/funcs/tasks-get-schema.d.ts +17 -0
- package/dist/esm/funcs/tasks-get-schema.d.ts.map +1 -0
- package/dist/esm/funcs/tasks-get-schema.js +81 -0
- package/dist/esm/funcs/tasks-get-schema.js.map +1 -0
- package/dist/esm/funcs/tasks-list-schema.d.ts +17 -0
- package/dist/esm/funcs/tasks-list-schema.d.ts.map +1 -0
- package/dist/esm/funcs/tasks-list-schema.js +81 -0
- package/dist/esm/funcs/tasks-list-schema.js.map +1 -0
- package/dist/esm/funcs/tasks-list.d.ts +17 -0
- package/dist/esm/funcs/tasks-list.d.ts.map +1 -0
- package/dist/esm/funcs/tasks-list.js +85 -0
- package/dist/esm/funcs/tasks-list.js.map +1 -0
- package/dist/esm/funcs/tasks-update.d.ts +17 -0
- package/dist/esm/funcs/tasks-update.d.ts.map +1 -0
- package/dist/esm/funcs/tasks-update.js +85 -0
- package/dist/esm/funcs/tasks-update.js.map +1 -0
- package/dist/esm/funcs/tokens-generate.d.ts +17 -0
- package/dist/esm/funcs/tokens-generate.d.ts.map +1 -0
- package/dist/esm/funcs/tokens-generate.js +83 -0
- package/dist/esm/funcs/tokens-generate.js.map +1 -0
- package/dist/esm/hooks/hooks.d.ts +25 -0
- package/dist/esm/hooks/hooks.d.ts.map +1 -0
- package/dist/esm/hooks/hooks.js +82 -0
- package/dist/esm/hooks/hooks.js.map +1 -0
- package/dist/esm/hooks/index.d.ts +3 -0
- package/dist/esm/hooks/index.d.ts.map +1 -0
- package/dist/esm/hooks/index.js +6 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/registration.d.ts +3 -0
- package/dist/esm/hooks/registration.d.ts.map +1 -0
- package/dist/esm/hooks/registration.js +12 -0
- package/dist/esm/hooks/registration.js.map +1 -0
- package/dist/esm/hooks/types.d.ts +76 -0
- package/dist/esm/hooks/types.d.ts.map +1 -0
- package/dist/esm/hooks/types.js +5 -0
- package/dist/esm/hooks/types.js.map +1 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lib/base64.d.ts +10 -0
- package/dist/esm/lib/base64.d.ts.map +1 -0
- package/dist/esm/lib/base64.js +31 -0
- package/dist/esm/lib/base64.js.map +1 -0
- package/dist/esm/lib/config.d.ts +38 -0
- package/dist/esm/lib/config.d.ts.map +1 -0
- package/dist/esm/lib/config.js +33 -0
- package/dist/esm/lib/config.js.map +1 -0
- package/dist/esm/lib/dlv.d.ts +14 -0
- package/dist/esm/lib/dlv.d.ts.map +1 -0
- package/dist/esm/lib/dlv.js +46 -0
- package/dist/esm/lib/dlv.js.map +1 -0
- package/dist/esm/lib/encodings.d.ts +53 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -0
- package/dist/esm/lib/encodings.js +370 -0
- package/dist/esm/lib/encodings.js.map +1 -0
- package/dist/esm/lib/env.d.ts +15 -0
- package/dist/esm/lib/env.d.ts.map +1 -0
- package/dist/esm/lib/env.js +44 -0
- package/dist/esm/lib/env.js.map +1 -0
- package/dist/esm/lib/files.d.ts +13 -0
- package/dist/esm/lib/files.d.ts.map +1 -0
- package/dist/esm/lib/files.js +73 -0
- package/dist/esm/lib/files.js.map +1 -0
- package/dist/esm/lib/http.d.ts +67 -0
- package/dist/esm/lib/http.d.ts.map +1 -0
- package/dist/esm/lib/http.js +207 -0
- package/dist/esm/lib/http.js.map +1 -0
- package/dist/esm/lib/is-plain-object.d.ts +2 -0
- package/dist/esm/lib/is-plain-object.d.ts.map +1 -0
- package/dist/esm/lib/is-plain-object.js +38 -0
- package/dist/esm/lib/is-plain-object.js.map +1 -0
- package/dist/esm/lib/logger.d.ts +6 -0
- package/dist/esm/lib/logger.d.ts.map +1 -0
- package/dist/esm/lib/logger.js +5 -0
- package/dist/esm/lib/logger.js.map +1 -0
- package/dist/esm/lib/matchers.d.ts +59 -0
- package/dist/esm/lib/matchers.d.ts.map +1 -0
- package/dist/esm/lib/matchers.js +203 -0
- package/dist/esm/lib/matchers.js.map +1 -0
- package/dist/esm/lib/primitives.d.ts +26 -0
- package/dist/esm/lib/primitives.d.ts.map +1 -0
- package/dist/esm/lib/primitives.js +103 -0
- package/dist/esm/lib/primitives.js.map +1 -0
- package/dist/esm/lib/retries.d.ts +38 -0
- package/dist/esm/lib/retries.d.ts.map +1 -0
- package/dist/esm/lib/retries.js +147 -0
- package/dist/esm/lib/retries.js.map +1 -0
- package/dist/esm/lib/schemas.d.ts +21 -0
- package/dist/esm/lib/schemas.d.ts.map +1 -0
- package/dist/esm/lib/schemas.js +57 -0
- package/dist/esm/lib/schemas.js.map +1 -0
- package/dist/esm/lib/sdks.d.ts +63 -0
- package/dist/esm/lib/sdks.d.ts.map +1 -0
- package/dist/esm/lib/sdks.js +269 -0
- package/dist/esm/lib/sdks.js.map +1 -0
- package/dist/esm/lib/security.d.ts +83 -0
- package/dist/esm/lib/security.d.ts.map +1 -0
- package/dist/esm/lib/security.js +137 -0
- package/dist/esm/lib/security.js.map +1 -0
- package/dist/esm/lib/url.d.ts +5 -0
- package/dist/esm/lib/url.d.ts.map +1 -0
- package/dist/esm/lib/url.js +22 -0
- package/dist/esm/lib/url.js.map +1 -0
- package/dist/esm/models/errors/go-default-error.d.ts +10 -0
- package/dist/esm/models/errors/go-default-error.d.ts.map +1 -0
- package/dist/esm/models/errors/go-default-error.js +30 -0
- package/dist/esm/models/errors/go-default-error.js.map +1 -0
- package/dist/esm/models/errors/go-error.d.ts +19 -0
- package/dist/esm/models/errors/go-error.d.ts.map +1 -0
- package/dist/esm/models/errors/go-error.js +16 -0
- package/dist/esm/models/errors/go-error.js.map +1 -0
- package/dist/esm/models/errors/http-client-errors.d.ts +44 -0
- package/dist/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/dist/esm/models/errors/http-client-errors.js +69 -0
- package/dist/esm/models/errors/http-client-errors.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +6 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -0
- package/dist/esm/models/errors/index.js +9 -0
- package/dist/esm/models/errors/index.js.map +1 -0
- package/dist/esm/models/errors/response-validation-error.d.ts +26 -0
- package/dist/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/dist/esm/models/errors/response-validation-error.js +29 -0
- package/dist/esm/models/errors/response-validation-error.js.map +1 -0
- package/dist/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/dist/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/dist/esm/models/errors/sdk-validation-error.js +44 -0
- package/dist/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/operations/add-device.d.ts +114 -0
- package/dist/esm/models/operations/add-device.d.ts.map +1 -0
- package/dist/esm/models/operations/add-device.js +89 -0
- package/dist/esm/models/operations/add-device.js.map +1 -0
- package/dist/esm/models/operations/delete-instance.d.ts +30 -0
- package/dist/esm/models/operations/delete-instance.d.ts.map +1 -0
- package/dist/esm/models/operations/delete-instance.js +21 -0
- package/dist/esm/models/operations/delete-instance.js.map +1 -0
- package/dist/esm/models/operations/device-connect.d.ts +103 -0
- package/dist/esm/models/operations/device-connect.d.ts.map +1 -0
- package/dist/esm/models/operations/device-connect.js +80 -0
- package/dist/esm/models/operations/device-connect.js.map +1 -0
- package/dist/esm/models/operations/fetch-interaction.d.ts +1562 -0
- package/dist/esm/models/operations/fetch-interaction.d.ts.map +1 -0
- package/dist/esm/models/operations/fetch-interaction.js +1221 -0
- package/dist/esm/models/operations/fetch-interaction.js.map +1 -0
- package/dist/esm/models/operations/get-journey-state.d.ts +1363 -0
- package/dist/esm/models/operations/get-journey-state.d.ts.map +1 -0
- package/dist/esm/models/operations/get-journey-state.js +998 -0
- package/dist/esm/models/operations/get-journey-state.js.map +1 -0
- package/dist/esm/models/operations/get-task-schema.d.ts +31 -0
- package/dist/esm/models/operations/get-task-schema.d.ts.map +1 -0
- package/dist/esm/models/operations/get-task-schema.js +29 -0
- package/dist/esm/models/operations/get-task-schema.js.map +1 -0
- package/dist/esm/models/operations/get-tasks-schema.d.ts +71 -0
- package/dist/esm/models/operations/get-tasks-schema.d.ts.map +1 -0
- package/dist/esm/models/operations/get-tasks-schema.js +67 -0
- package/dist/esm/models/operations/get-tasks-schema.js.map +1 -0
- package/dist/esm/models/operations/get-tasks.d.ts +62 -0
- package/dist/esm/models/operations/get-tasks.d.ts.map +1 -0
- package/dist/esm/models/operations/get-tasks.js +51 -0
- package/dist/esm/models/operations/get-tasks.js.map +1 -0
- package/dist/esm/models/operations/health.d.ts +14 -0
- package/dist/esm/models/operations/health.d.ts.map +1 -0
- package/dist/esm/models/operations/health.js +14 -0
- package/dist/esm/models/operations/health.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +14 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -0
- package/dist/esm/models/operations/index.js +17 -0
- package/dist/esm/models/operations/index.js.map +1 -0
- package/dist/esm/models/operations/post-auth-realms-go-protocol-openid-connect-token.d.ts +71 -0
- package/dist/esm/models/operations/post-auth-realms-go-protocol-openid-connect-token.d.ts.map +1 -0
- package/dist/esm/models/operations/post-auth-realms-go-protocol-openid-connect-token.js +52 -0
- package/dist/esm/models/operations/post-auth-realms-go-protocol-openid-connect-token.js.map +1 -0
- package/dist/esm/models/operations/start-journey.d.ts +2038 -0
- package/dist/esm/models/operations/start-journey.d.ts.map +1 -0
- package/dist/esm/models/operations/start-journey.js +984 -0
- package/dist/esm/models/operations/start-journey.js.map +1 -0
- package/dist/esm/models/operations/submit-interaction.d.ts +2061 -0
- package/dist/esm/models/operations/submit-interaction.d.ts.map +1 -0
- package/dist/esm/models/operations/submit-interaction.js +1008 -0
- package/dist/esm/models/operations/submit-interaction.js.map +1 -0
- package/dist/esm/models/operations/update-task.d.ts +2045 -0
- package/dist/esm/models/operations/update-task.d.ts.map +1 -0
- package/dist/esm/models/operations/update-task.js +990 -0
- package/dist/esm/models/operations/update-task.js.map +1 -0
- package/dist/esm/models/security.d.ts +12 -0
- package/dist/esm/models/security.d.ts.map +1 -0
- package/dist/esm/models/security.js +17 -0
- package/dist/esm/models/security.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sdk/devices.d.ts +19 -0
- package/dist/esm/sdk/devices.d.ts.map +1 -0
- package/dist/esm/sdk/devices.js +28 -0
- package/dist/esm/sdk/devices.js.map +1 -0
- package/dist/esm/sdk/health.d.ts +12 -0
- package/dist/esm/sdk/health.d.ts.map +1 -0
- package/dist/esm/sdk/health.js +18 -0
- package/dist/esm/sdk/health.js.map +1 -0
- package/dist/esm/sdk/index.d.ts +2 -0
- package/dist/esm/sdk/index.d.ts.map +1 -0
- package/dist/esm/sdk/index.js +5 -0
- package/dist/esm/sdk/index.js.map +1 -0
- package/dist/esm/sdk/instances.d.ts +12 -0
- package/dist/esm/sdk/instances.d.ts.map +1 -0
- package/dist/esm/sdk/instances.js +18 -0
- package/dist/esm/sdk/instances.js.map +1 -0
- package/dist/esm/sdk/interactions.d.ts +19 -0
- package/dist/esm/sdk/interactions.d.ts.map +1 -0
- package/dist/esm/sdk/interactions.js +28 -0
- package/dist/esm/sdk/interactions.js.map +1 -0
- package/dist/esm/sdk/journeys.d.ts +19 -0
- package/dist/esm/sdk/journeys.d.ts.map +1 -0
- package/dist/esm/sdk/journeys.js +28 -0
- package/dist/esm/sdk/journeys.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +25 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -0
- package/dist/esm/sdk/sdk.js +35 -0
- package/dist/esm/sdk/sdk.js.map +1 -0
- package/dist/esm/sdk/tasks.d.ts +33 -0
- package/dist/esm/sdk/tasks.d.ts.map +1 -0
- package/dist/esm/sdk/tasks.js +48 -0
- package/dist/esm/sdk/tasks.js.map +1 -0
- package/dist/esm/sdk/tokens.d.ts +12 -0
- package/dist/esm/sdk/tokens.d.ts.map +1 -0
- package/dist/esm/sdk/tokens.js +18 -0
- package/dist/esm/sdk/tokens.js.map +1 -0
- package/dist/esm/types/async.d.ts +23 -0
- package/dist/esm/types/async.d.ts.map +1 -0
- package/dist/esm/types/async.js +40 -0
- package/dist/esm/types/async.js.map +1 -0
- package/dist/esm/types/blobs.d.ts +4 -0
- package/dist/esm/types/blobs.d.ts.map +1 -0
- package/dist/esm/types/blobs.js +25 -0
- package/dist/esm/types/blobs.js.map +1 -0
- package/dist/esm/types/const-date-time.d.ts +3 -0
- package/dist/esm/types/const-date-time.d.ts.map +1 -0
- package/dist/esm/types/const-date-time.js +10 -0
- package/dist/esm/types/const-date-time.js.map +1 -0
- package/dist/esm/types/default-to-zero-value.d.ts +12 -0
- package/dist/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/dist/esm/types/default-to-zero-value.js +31 -0
- package/dist/esm/types/default-to-zero-value.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 +61 -0
- package/dist/esm/types/discriminated-union.js.map +1 -0
- package/dist/esm/types/enums.d.ts +9 -0
- package/dist/esm/types/enums.d.ts.map +1 -0
- package/dist/esm/types/enums.js +27 -0
- package/dist/esm/types/enums.js.map +1 -0
- package/dist/esm/types/fp.d.ts +31 -0
- package/dist/esm/types/fp.d.ts.map +1 -0
- package/dist/esm/types/fp.js +31 -0
- package/dist/esm/types/fp.js.map +1 -0
- package/dist/esm/types/index.d.ts +10 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/index.js +10 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/types/operations.d.ts +27 -0
- package/dist/esm/types/operations.d.ts.map +1 -0
- package/dist/esm/types/operations.js +77 -0
- package/dist/esm/types/operations.js.map +1 -0
- package/dist/esm/types/primitives.d.ts +11 -0
- package/dist/esm/types/primitives.d.ts.map +1 -0
- package/dist/esm/types/primitives.js +132 -0
- package/dist/esm/types/primitives.js.map +1 -0
- package/dist/esm/types/rfcdate.d.ts +21 -0
- package/dist/esm/types/rfcdate.d.ts.map +1 -0
- package/dist/esm/types/rfcdate.js +42 -0
- package/dist/esm/types/rfcdate.js.map +1 -0
- package/dist/esm/types/smart-union.d.ts +7 -0
- package/dist/esm/types/smart-union.d.ts.map +1 -0
- package/dist/esm/types/smart-union.js +118 -0
- package/dist/esm/types/smart-union.js.map +1 -0
- package/dist/esm/types/streams.d.ts +2 -0
- package/dist/esm/types/streams.d.ts.map +1 -0
- package/dist/esm/types/streams.js +15 -0
- package/dist/esm/types/streams.js.map +1 -0
- package/dist/esm/types/unrecognized.d.ts +16 -0
- package/dist/esm/types/unrecognized.d.ts.map +1 -0
- package/dist/esm/types/unrecognized.js +31 -0
- package/dist/esm/types/unrecognized.js.map +1 -0
- package/examples/package-lock.json +611 -0
- package/examples/package.json +18 -0
- package/examples/tokensGenerate.example.ts +30 -0
- package/jsr.json +27 -0
- package/package.json +126 -0
- package/src/core.ts +13 -0
- package/src/funcs/devices-add.ts +165 -0
- package/src/funcs/devices-connect.ts +177 -0
- package/src/funcs/health-get.ts +142 -0
- package/src/funcs/instances-delete.ts +167 -0
- package/src/funcs/interactions-fetch.ts +176 -0
- package/src/funcs/interactions-submit.ts +176 -0
- package/src/funcs/journeys-get-state.ts +167 -0
- package/src/funcs/journeys-start.ts +165 -0
- package/src/funcs/tasks-get-schema.ts +167 -0
- package/src/funcs/tasks-list-schema.ts +167 -0
- package/src/funcs/tasks-list.ts +173 -0
- package/src/funcs/tasks-update.ts +173 -0
- package/src/funcs/tokens-generate.ts +179 -0
- package/src/hooks/hooks.ts +132 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +107 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +67 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +501 -0
- package/src/lib/env.ts +57 -0
- package/src/lib/files.ts +82 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +352 -0
- package/src/lib/primitives.ts +150 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +406 -0
- package/src/lib/security.ts +264 -0
- package/src/lib/url.ts +33 -0
- package/src/models/errors/go-default-error.ts +40 -0
- package/src/models/errors/go-error.ts +35 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +9 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/index.ts +5 -0
- package/src/models/operations/add-device.ts +215 -0
- package/src/models/operations/delete-instance.ts +69 -0
- package/src/models/operations/device-connect.ts +227 -0
- package/src/models/operations/fetch-interaction.ts +3683 -0
- package/src/models/operations/get-journey-state.ts +3152 -0
- package/src/models/operations/get-task-schema.ts +76 -0
- package/src/models/operations/get-tasks-schema.ts +173 -0
- package/src/models/operations/get-tasks.ts +144 -0
- package/src/models/operations/health.ts +38 -0
- package/src/models/operations/index.ts +17 -0
- package/src/models/operations/post-auth-realms-go-protocol-openid-connect-token.ts +148 -0
- package/src/models/operations/start-journey.ts +3785 -0
- package/src/models/operations/submit-interaction.ts +3977 -0
- package/src/models/operations/update-task.ts +3733 -0
- package/src/models/security.ts +34 -0
- package/src/sdk/devices.ts +47 -0
- package/src/sdk/health.ts +25 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/instances.ts +27 -0
- package/src/sdk/interactions.ts +49 -0
- package/src/sdk/journeys.ts +45 -0
- package/src/sdk/sdk.ts +49 -0
- package/src/sdk/tasks.ts +85 -0
- package/src/sdk/tokens.ts +29 -0
- package/src/types/async.ts +68 -0
- package/src/types/blobs.ts +33 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/discriminated-union.ts +101 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +168 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +154 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
- package/tsconfig.json +40 -0
|
@@ -0,0 +1,1345 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FetchInteractionIdentityPlaceOfBirth$inboundSchema = exports.FetchInteractionIdentityPlaceOfBirthLocation$inboundSchema = exports.FetchInteractionIdentityPreviousAddress$inboundSchema = exports.FetchInteractionIdentityPreviousAddressLocation$inboundSchema = exports.FetchInteractionIdentityCurrentAddress$inboundSchema = exports.FetchInteractionIdentityCurrentAddressLocation$inboundSchema = exports.FetchInteractionIdentityRelatedPerson$inboundSchema = exports.FetchInteractionIdentityRelationship$inboundSchema = exports.FetchInteractionIdentityAlias$inboundSchema = exports.Interaction$inboundSchema = exports.ConsumeUnion$inboundSchema = exports.Consume1$inboundSchema = exports.ConsumeSpec1$inboundSchema = exports.Consume2$inboundSchema = exports.ConsumeInput$inboundSchema = exports.ConsumeInputSpec$inboundSchema = exports.ConsumeSpec2$inboundSchema = exports.CollectUnion$inboundSchema = exports.Collect1$inboundSchema = exports.CollectSpec1$inboundSchema = exports.Collect2$inboundSchema = exports.CollectInput$inboundSchema = exports.CollectInputSpec$inboundSchema = exports.CollectSpec2$inboundSchema = exports.Resource$inboundSchema = exports.Data$inboundSchema = exports.Page$inboundSchema = exports.Card$inboundSchema = exports.ResourceType$inboundSchema = exports.Journey$inboundSchema = exports.JourneyStatus$inboundSchema = exports.FetchInteractionError$inboundSchema = exports.FetchInteractionStatusError$inboundSchema = exports.FetchInteractionRequest$outboundSchema = exports.FetchInteractionSecurity$outboundSchema = exports.FetchInteractionConsentType = exports.FetchInteractionDocumentRelationship = exports.FetchInteractionResult = exports.FetchInteractionAuthType = exports.FetchInteractionName = exports.FetchInteractionIdentityRelationship = exports.ConsumeSpec1 = exports.ConsumeInputSpec = exports.ConsumeSpec2 = exports.CollectSpec1 = exports.CollectInputSpec = exports.CollectSpec2 = exports.ResourceType = exports.JourneyStatus = exports.FetchInteractionStatusError = void 0;
|
|
40
|
+
exports.FetchInteractionBiometric1$inboundSchema = exports.FetchInteractionBiometric2$inboundSchema = exports.FetchInteractionBiometric3$inboundSchema = exports.FetchInteractionBiometric4$inboundSchema = exports.FetchInteractionDocument$inboundSchema = exports.FetchInteractionDocumentSubject$inboundSchema = exports.FetchInteractionDocumentSocial$inboundSchema = exports.FetchInteractionDocumentEmail$inboundSchema = exports.FetchInteractionDocumentPhone$inboundSchema = exports.FetchInteractionDocumentIdNumber$inboundSchema = exports.FetchInteractionDocumentPlaceOfBirth$inboundSchema = exports.FetchInteractionDocumentPlaceOfBirthLocation$inboundSchema = exports.FetchInteractionDocumentPreviousAddress$inboundSchema = exports.FetchInteractionDocumentPreviousAddressLocation$inboundSchema = exports.FetchInteractionDocumentCurrentAddress$inboundSchema = exports.FetchInteractionDocumentCurrentAddressLocation$inboundSchema = exports.FetchInteractionDocumentRelatedPerson$inboundSchema = exports.FetchInteractionDocumentRelationship$inboundSchema = exports.FetchInteractionDocumentAlias$inboundSchema = exports.FetchInteractionValidation$inboundSchema = exports.FetchInteractionAggregatedValidationCheck$inboundSchema = exports.FetchInteractionAggregatedValidationCheckRegionOfInterest$inboundSchema = exports.FetchInteractionAggregatedValidationCheckBoundingBox$inboundSchema = exports.FetchInteractionValidationCheck$inboundSchema = exports.FetchInteractionValidationCheckRegionOfInterest$inboundSchema = exports.FetchInteractionValidationCheckBoundingBox$inboundSchema = exports.FetchInteractionExtraction$inboundSchema = exports.FetchInteractionExtractedImage$inboundSchema = exports.FetchInteractionExtractedField$inboundSchema = exports.FetchInteractionDetail$inboundSchema = exports.FetchInteractionDetailRegionOfInterest$inboundSchema = exports.FetchInteractionDetailBoundingBox$inboundSchema = exports.FetchInteractionAggregatedField$inboundSchema = exports.FetchInteractionAggregatedFieldRegionOfInterest$inboundSchema = exports.FetchInteractionAggregatedFieldBoundingBox$inboundSchema = exports.FetchInteractionClassification$inboundSchema = exports.FetchInteractionSide$inboundSchema = exports.FetchInteractionChip$inboundSchema = exports.FetchInteractionChipAuth$inboundSchema = exports.FetchInteractionResult$inboundSchema = exports.FetchInteractionAuthType$inboundSchema = exports.FetchInteractionLd$inboundSchema = exports.FetchInteractionName$inboundSchema = exports.FetchInteractionDocumentDevice$inboundSchema = exports.FetchInteractionAddress$inboundSchema = exports.FetchInteractionIdentity$inboundSchema = exports.FetchInteractionIdentitySocial$inboundSchema = exports.FetchInteractionIdentityEmail$inboundSchema = exports.FetchInteractionIdentityPhone$inboundSchema = exports.FetchInteractionIdentityIdNumber$inboundSchema = void 0;
|
|
41
|
+
exports.FetchInteractionResponse$inboundSchema = exports.ResponseBody$inboundSchema = exports.FetchInteractionContext$inboundSchema = exports.FetchInteractionSubject$inboundSchema = exports.FetchInteractionConsent$inboundSchema = exports.FetchInteractionConsentType$inboundSchema = exports.FetchInteractionSession$inboundSchema = exports.FetchInteractionSessionAuth$inboundSchema = exports.FetchInteractionTransaction$inboundSchema = exports.FetchInteractionSpan$inboundSchema = exports.FetchInteractionTrace$inboundSchema = exports.FetchInteractionSessionDevice$inboundSchema = exports.FetchInteractionModel$inboundSchema = exports.FetchInteractionClient$inboundSchema = exports.FetchInteractionUser$inboundSchema = exports.FetchInteractionBiometricUnion$inboundSchema = void 0;
|
|
42
|
+
exports.fetchInteractionSecurityToJSON = fetchInteractionSecurityToJSON;
|
|
43
|
+
exports.fetchInteractionRequestToJSON = fetchInteractionRequestToJSON;
|
|
44
|
+
exports.fetchInteractionErrorFromJSON = fetchInteractionErrorFromJSON;
|
|
45
|
+
exports.journeyFromJSON = journeyFromJSON;
|
|
46
|
+
exports.cardFromJSON = cardFromJSON;
|
|
47
|
+
exports.pageFromJSON = pageFromJSON;
|
|
48
|
+
exports.dataFromJSON = dataFromJSON;
|
|
49
|
+
exports.resourceFromJSON = resourceFromJSON;
|
|
50
|
+
exports.collectInputFromJSON = collectInputFromJSON;
|
|
51
|
+
exports.collect2FromJSON = collect2FromJSON;
|
|
52
|
+
exports.collect1FromJSON = collect1FromJSON;
|
|
53
|
+
exports.collectUnionFromJSON = collectUnionFromJSON;
|
|
54
|
+
exports.consumeInputFromJSON = consumeInputFromJSON;
|
|
55
|
+
exports.consume2FromJSON = consume2FromJSON;
|
|
56
|
+
exports.consume1FromJSON = consume1FromJSON;
|
|
57
|
+
exports.consumeUnionFromJSON = consumeUnionFromJSON;
|
|
58
|
+
exports.interactionFromJSON = interactionFromJSON;
|
|
59
|
+
exports.fetchInteractionIdentityAliasFromJSON = fetchInteractionIdentityAliasFromJSON;
|
|
60
|
+
exports.fetchInteractionIdentityRelatedPersonFromJSON = fetchInteractionIdentityRelatedPersonFromJSON;
|
|
61
|
+
exports.fetchInteractionIdentityCurrentAddressLocationFromJSON = fetchInteractionIdentityCurrentAddressLocationFromJSON;
|
|
62
|
+
exports.fetchInteractionIdentityCurrentAddressFromJSON = fetchInteractionIdentityCurrentAddressFromJSON;
|
|
63
|
+
exports.fetchInteractionIdentityPreviousAddressLocationFromJSON = fetchInteractionIdentityPreviousAddressLocationFromJSON;
|
|
64
|
+
exports.fetchInteractionIdentityPreviousAddressFromJSON = fetchInteractionIdentityPreviousAddressFromJSON;
|
|
65
|
+
exports.fetchInteractionIdentityPlaceOfBirthLocationFromJSON = fetchInteractionIdentityPlaceOfBirthLocationFromJSON;
|
|
66
|
+
exports.fetchInteractionIdentityPlaceOfBirthFromJSON = fetchInteractionIdentityPlaceOfBirthFromJSON;
|
|
67
|
+
exports.fetchInteractionIdentityIdNumberFromJSON = fetchInteractionIdentityIdNumberFromJSON;
|
|
68
|
+
exports.fetchInteractionIdentityPhoneFromJSON = fetchInteractionIdentityPhoneFromJSON;
|
|
69
|
+
exports.fetchInteractionIdentityEmailFromJSON = fetchInteractionIdentityEmailFromJSON;
|
|
70
|
+
exports.fetchInteractionIdentitySocialFromJSON = fetchInteractionIdentitySocialFromJSON;
|
|
71
|
+
exports.fetchInteractionIdentityFromJSON = fetchInteractionIdentityFromJSON;
|
|
72
|
+
exports.fetchInteractionAddressFromJSON = fetchInteractionAddressFromJSON;
|
|
73
|
+
exports.fetchInteractionDocumentDeviceFromJSON = fetchInteractionDocumentDeviceFromJSON;
|
|
74
|
+
exports.fetchInteractionLdFromJSON = fetchInteractionLdFromJSON;
|
|
75
|
+
exports.fetchInteractionChipAuthFromJSON = fetchInteractionChipAuthFromJSON;
|
|
76
|
+
exports.fetchInteractionChipFromJSON = fetchInteractionChipFromJSON;
|
|
77
|
+
exports.fetchInteractionSideFromJSON = fetchInteractionSideFromJSON;
|
|
78
|
+
exports.fetchInteractionClassificationFromJSON = fetchInteractionClassificationFromJSON;
|
|
79
|
+
exports.fetchInteractionAggregatedFieldBoundingBoxFromJSON = fetchInteractionAggregatedFieldBoundingBoxFromJSON;
|
|
80
|
+
exports.fetchInteractionAggregatedFieldRegionOfInterestFromJSON = fetchInteractionAggregatedFieldRegionOfInterestFromJSON;
|
|
81
|
+
exports.fetchInteractionAggregatedFieldFromJSON = fetchInteractionAggregatedFieldFromJSON;
|
|
82
|
+
exports.fetchInteractionDetailBoundingBoxFromJSON = fetchInteractionDetailBoundingBoxFromJSON;
|
|
83
|
+
exports.fetchInteractionDetailRegionOfInterestFromJSON = fetchInteractionDetailRegionOfInterestFromJSON;
|
|
84
|
+
exports.fetchInteractionDetailFromJSON = fetchInteractionDetailFromJSON;
|
|
85
|
+
exports.fetchInteractionExtractedFieldFromJSON = fetchInteractionExtractedFieldFromJSON;
|
|
86
|
+
exports.fetchInteractionExtractedImageFromJSON = fetchInteractionExtractedImageFromJSON;
|
|
87
|
+
exports.fetchInteractionExtractionFromJSON = fetchInteractionExtractionFromJSON;
|
|
88
|
+
exports.fetchInteractionValidationCheckBoundingBoxFromJSON = fetchInteractionValidationCheckBoundingBoxFromJSON;
|
|
89
|
+
exports.fetchInteractionValidationCheckRegionOfInterestFromJSON = fetchInteractionValidationCheckRegionOfInterestFromJSON;
|
|
90
|
+
exports.fetchInteractionValidationCheckFromJSON = fetchInteractionValidationCheckFromJSON;
|
|
91
|
+
exports.fetchInteractionAggregatedValidationCheckBoundingBoxFromJSON = fetchInteractionAggregatedValidationCheckBoundingBoxFromJSON;
|
|
92
|
+
exports.fetchInteractionAggregatedValidationCheckRegionOfInterestFromJSON = fetchInteractionAggregatedValidationCheckRegionOfInterestFromJSON;
|
|
93
|
+
exports.fetchInteractionAggregatedValidationCheckFromJSON = fetchInteractionAggregatedValidationCheckFromJSON;
|
|
94
|
+
exports.fetchInteractionValidationFromJSON = fetchInteractionValidationFromJSON;
|
|
95
|
+
exports.fetchInteractionDocumentAliasFromJSON = fetchInteractionDocumentAliasFromJSON;
|
|
96
|
+
exports.fetchInteractionDocumentRelatedPersonFromJSON = fetchInteractionDocumentRelatedPersonFromJSON;
|
|
97
|
+
exports.fetchInteractionDocumentCurrentAddressLocationFromJSON = fetchInteractionDocumentCurrentAddressLocationFromJSON;
|
|
98
|
+
exports.fetchInteractionDocumentCurrentAddressFromJSON = fetchInteractionDocumentCurrentAddressFromJSON;
|
|
99
|
+
exports.fetchInteractionDocumentPreviousAddressLocationFromJSON = fetchInteractionDocumentPreviousAddressLocationFromJSON;
|
|
100
|
+
exports.fetchInteractionDocumentPreviousAddressFromJSON = fetchInteractionDocumentPreviousAddressFromJSON;
|
|
101
|
+
exports.fetchInteractionDocumentPlaceOfBirthLocationFromJSON = fetchInteractionDocumentPlaceOfBirthLocationFromJSON;
|
|
102
|
+
exports.fetchInteractionDocumentPlaceOfBirthFromJSON = fetchInteractionDocumentPlaceOfBirthFromJSON;
|
|
103
|
+
exports.fetchInteractionDocumentIdNumberFromJSON = fetchInteractionDocumentIdNumberFromJSON;
|
|
104
|
+
exports.fetchInteractionDocumentPhoneFromJSON = fetchInteractionDocumentPhoneFromJSON;
|
|
105
|
+
exports.fetchInteractionDocumentEmailFromJSON = fetchInteractionDocumentEmailFromJSON;
|
|
106
|
+
exports.fetchInteractionDocumentSocialFromJSON = fetchInteractionDocumentSocialFromJSON;
|
|
107
|
+
exports.fetchInteractionDocumentSubjectFromJSON = fetchInteractionDocumentSubjectFromJSON;
|
|
108
|
+
exports.fetchInteractionDocumentFromJSON = fetchInteractionDocumentFromJSON;
|
|
109
|
+
exports.fetchInteractionBiometric4FromJSON = fetchInteractionBiometric4FromJSON;
|
|
110
|
+
exports.fetchInteractionBiometric3FromJSON = fetchInteractionBiometric3FromJSON;
|
|
111
|
+
exports.fetchInteractionBiometric2FromJSON = fetchInteractionBiometric2FromJSON;
|
|
112
|
+
exports.fetchInteractionBiometric1FromJSON = fetchInteractionBiometric1FromJSON;
|
|
113
|
+
exports.fetchInteractionBiometricUnionFromJSON = fetchInteractionBiometricUnionFromJSON;
|
|
114
|
+
exports.fetchInteractionUserFromJSON = fetchInteractionUserFromJSON;
|
|
115
|
+
exports.fetchInteractionClientFromJSON = fetchInteractionClientFromJSON;
|
|
116
|
+
exports.fetchInteractionModelFromJSON = fetchInteractionModelFromJSON;
|
|
117
|
+
exports.fetchInteractionSessionDeviceFromJSON = fetchInteractionSessionDeviceFromJSON;
|
|
118
|
+
exports.fetchInteractionTraceFromJSON = fetchInteractionTraceFromJSON;
|
|
119
|
+
exports.fetchInteractionSpanFromJSON = fetchInteractionSpanFromJSON;
|
|
120
|
+
exports.fetchInteractionTransactionFromJSON = fetchInteractionTransactionFromJSON;
|
|
121
|
+
exports.fetchInteractionSessionAuthFromJSON = fetchInteractionSessionAuthFromJSON;
|
|
122
|
+
exports.fetchInteractionSessionFromJSON = fetchInteractionSessionFromJSON;
|
|
123
|
+
exports.fetchInteractionConsentFromJSON = fetchInteractionConsentFromJSON;
|
|
124
|
+
exports.fetchInteractionSubjectFromJSON = fetchInteractionSubjectFromJSON;
|
|
125
|
+
exports.fetchInteractionContextFromJSON = fetchInteractionContextFromJSON;
|
|
126
|
+
exports.responseBodyFromJSON = responseBodyFromJSON;
|
|
127
|
+
exports.fetchInteractionResponseFromJSON = fetchInteractionResponseFromJSON;
|
|
128
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
129
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
130
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
131
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
132
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
133
|
+
const smart_union_js_1 = require("../../types/smart-union.js");
|
|
134
|
+
exports.FetchInteractionStatusError = {
|
|
135
|
+
Error: "error",
|
|
136
|
+
};
|
|
137
|
+
exports.JourneyStatus = {
|
|
138
|
+
Completed: "Completed",
|
|
139
|
+
InProgress: "InProgress",
|
|
140
|
+
Failed: "Failed",
|
|
141
|
+
Paused: "Paused",
|
|
142
|
+
};
|
|
143
|
+
exports.ResourceType = {
|
|
144
|
+
Brand: "brand",
|
|
145
|
+
Delivery: "delivery",
|
|
146
|
+
Flow: "flow",
|
|
147
|
+
Form: "form",
|
|
148
|
+
I18n: "i18n",
|
|
149
|
+
Journey: "journey",
|
|
150
|
+
License: "license",
|
|
151
|
+
Model: "model",
|
|
152
|
+
Organization: "organization",
|
|
153
|
+
Template: "template",
|
|
154
|
+
Interaction: "interaction",
|
|
155
|
+
};
|
|
156
|
+
exports.CollectSpec2 = {
|
|
157
|
+
Required: "required",
|
|
158
|
+
Optional: "optional",
|
|
159
|
+
Conditional: "conditional",
|
|
160
|
+
};
|
|
161
|
+
exports.CollectInputSpec = {
|
|
162
|
+
Required: "required",
|
|
163
|
+
Optional: "optional",
|
|
164
|
+
Conditional: "conditional",
|
|
165
|
+
};
|
|
166
|
+
exports.CollectSpec1 = {
|
|
167
|
+
Required: "required",
|
|
168
|
+
Optional: "optional",
|
|
169
|
+
Conditional: "conditional",
|
|
170
|
+
};
|
|
171
|
+
exports.ConsumeSpec2 = {
|
|
172
|
+
Required: "required",
|
|
173
|
+
Optional: "optional",
|
|
174
|
+
Conditional: "conditional",
|
|
175
|
+
};
|
|
176
|
+
exports.ConsumeInputSpec = {
|
|
177
|
+
Required: "required",
|
|
178
|
+
Optional: "optional",
|
|
179
|
+
Conditional: "conditional",
|
|
180
|
+
};
|
|
181
|
+
exports.ConsumeSpec1 = {
|
|
182
|
+
Required: "required",
|
|
183
|
+
Optional: "optional",
|
|
184
|
+
Conditional: "conditional",
|
|
185
|
+
};
|
|
186
|
+
exports.FetchInteractionIdentityRelationship = {
|
|
187
|
+
Mother: "mother",
|
|
188
|
+
Father: "father",
|
|
189
|
+
MaternalGrandFather: "maternalGrandFather",
|
|
190
|
+
MaternalGrandMother: "maternalGrandMother",
|
|
191
|
+
PaternalGrandFather: "paternalGrandFather",
|
|
192
|
+
PaternalGrandMother: "paternalGrandMother",
|
|
193
|
+
};
|
|
194
|
+
exports.FetchInteractionName = {
|
|
195
|
+
Com: "COM",
|
|
196
|
+
Sod: "SOD",
|
|
197
|
+
Dg1: "DG1",
|
|
198
|
+
Dg2: "DG2",
|
|
199
|
+
Dg3: "DG3",
|
|
200
|
+
Dg4: "DG4",
|
|
201
|
+
Dg5: "DG5",
|
|
202
|
+
Dg6: "DG6",
|
|
203
|
+
Dg7: "DG7",
|
|
204
|
+
Dg8: "DG8",
|
|
205
|
+
Dg9: "DG9",
|
|
206
|
+
Dg10: "DG10",
|
|
207
|
+
Dg11: "DG11",
|
|
208
|
+
Dg12: "DG12",
|
|
209
|
+
Dg13: "DG13",
|
|
210
|
+
Dg14: "DG14",
|
|
211
|
+
Dg15: "DG15",
|
|
212
|
+
};
|
|
213
|
+
exports.FetchInteractionAuthType = {
|
|
214
|
+
ActiveAuthentication: "ActiveAuthentication",
|
|
215
|
+
BasicAccessControl: "BasicAccessControl",
|
|
216
|
+
ChipAuthentication: "ChipAuthentication",
|
|
217
|
+
PassiveAuthentication: "PassiveAuthentication",
|
|
218
|
+
SupplementalAccessControl: "SupplementalAccessControl",
|
|
219
|
+
ExtendedAccessControl: "ExtendedAccessControl",
|
|
220
|
+
TerminalAuthentication: "TerminalAuthentication",
|
|
221
|
+
};
|
|
222
|
+
exports.FetchInteractionResult = {
|
|
223
|
+
Success: "Success",
|
|
224
|
+
Failure: "Failure",
|
|
225
|
+
Skipped: "Skipped",
|
|
226
|
+
};
|
|
227
|
+
exports.FetchInteractionDocumentRelationship = {
|
|
228
|
+
Mother: "mother",
|
|
229
|
+
Father: "father",
|
|
230
|
+
MaternalGrandFather: "maternalGrandFather",
|
|
231
|
+
MaternalGrandMother: "maternalGrandMother",
|
|
232
|
+
PaternalGrandFather: "paternalGrandFather",
|
|
233
|
+
PaternalGrandMother: "paternalGrandMother",
|
|
234
|
+
};
|
|
235
|
+
exports.FetchInteractionConsentType = {
|
|
236
|
+
Rollup: "rollup",
|
|
237
|
+
Explicit: "explicit",
|
|
238
|
+
Implicit: "implicit",
|
|
239
|
+
};
|
|
240
|
+
/** @internal */
|
|
241
|
+
exports.FetchInteractionSecurity$outboundSchema = z.pipe(z.object({
|
|
242
|
+
interactionAccess: z.string(),
|
|
243
|
+
}), z.transform((v) => {
|
|
244
|
+
return (0, primitives_js_1.remap)(v, {
|
|
245
|
+
interactionAccess: "InteractionAccess",
|
|
246
|
+
});
|
|
247
|
+
}));
|
|
248
|
+
function fetchInteractionSecurityToJSON(fetchInteractionSecurity) {
|
|
249
|
+
return JSON.stringify(exports.FetchInteractionSecurity$outboundSchema.parse(fetchInteractionSecurity));
|
|
250
|
+
}
|
|
251
|
+
/** @internal */
|
|
252
|
+
exports.FetchInteractionRequest$outboundSchema = z.object({
|
|
253
|
+
instanceId: z.string(),
|
|
254
|
+
});
|
|
255
|
+
function fetchInteractionRequestToJSON(fetchInteractionRequest) {
|
|
256
|
+
return JSON.stringify(exports.FetchInteractionRequest$outboundSchema.parse(fetchInteractionRequest));
|
|
257
|
+
}
|
|
258
|
+
/** @internal */
|
|
259
|
+
exports.FetchInteractionStatusError$inboundSchema = z.enum(exports.FetchInteractionStatusError);
|
|
260
|
+
/** @internal */
|
|
261
|
+
exports.FetchInteractionError$inboundSchema = z.object({
|
|
262
|
+
status: exports.FetchInteractionStatusError$inboundSchema,
|
|
263
|
+
code: types.number(),
|
|
264
|
+
message: types.string(),
|
|
265
|
+
});
|
|
266
|
+
function fetchInteractionErrorFromJSON(jsonString) {
|
|
267
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionError' from JSON`);
|
|
268
|
+
}
|
|
269
|
+
/** @internal */
|
|
270
|
+
exports.JourneyStatus$inboundSchema = openEnums.inboundSchema(exports.JourneyStatus);
|
|
271
|
+
/** @internal */
|
|
272
|
+
exports.Journey$inboundSchema = z.object({
|
|
273
|
+
status: exports.JourneyStatus$inboundSchema,
|
|
274
|
+
});
|
|
275
|
+
function journeyFromJSON(jsonString) {
|
|
276
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Journey$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Journey' from JSON`);
|
|
277
|
+
}
|
|
278
|
+
/** @internal */
|
|
279
|
+
exports.ResourceType$inboundSchema = openEnums.inboundSchema(exports.ResourceType);
|
|
280
|
+
/** @internal */
|
|
281
|
+
exports.Card$inboundSchema = z.object({
|
|
282
|
+
id: types.string(),
|
|
283
|
+
version: types.optional(types.string()),
|
|
284
|
+
config: types.optional(z.any()),
|
|
285
|
+
});
|
|
286
|
+
function cardFromJSON(jsonString) {
|
|
287
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Card$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Card' from JSON`);
|
|
288
|
+
}
|
|
289
|
+
/** @internal */
|
|
290
|
+
exports.Page$inboundSchema = z.object({
|
|
291
|
+
id: types.string(),
|
|
292
|
+
label: types.optional(types.string()),
|
|
293
|
+
cards: z.array(z.lazy(() => exports.Card$inboundSchema)),
|
|
294
|
+
});
|
|
295
|
+
function pageFromJSON(jsonString) {
|
|
296
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Page$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Page' from JSON`);
|
|
297
|
+
}
|
|
298
|
+
/** @internal */
|
|
299
|
+
exports.Data$inboundSchema = z.object({
|
|
300
|
+
pages: z.array(z.lazy(() => exports.Page$inboundSchema)),
|
|
301
|
+
});
|
|
302
|
+
function dataFromJSON(jsonString) {
|
|
303
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Data$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Data' from JSON`);
|
|
304
|
+
}
|
|
305
|
+
/** @internal */
|
|
306
|
+
exports.Resource$inboundSchema = z
|
|
307
|
+
.object({
|
|
308
|
+
id: types.string(),
|
|
309
|
+
name: types.string(),
|
|
310
|
+
hash: types.optional(types.string()),
|
|
311
|
+
version: types.optional(types.string()),
|
|
312
|
+
type: types.optional(exports.ResourceType$inboundSchema),
|
|
313
|
+
data: types.optional(z.lazy(() => exports.Data$inboundSchema)),
|
|
314
|
+
});
|
|
315
|
+
function resourceFromJSON(jsonString) {
|
|
316
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Resource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Resource' from JSON`);
|
|
317
|
+
}
|
|
318
|
+
/** @internal */
|
|
319
|
+
exports.CollectSpec2$inboundSchema = openEnums.inboundSchema(exports.CollectSpec2);
|
|
320
|
+
/** @internal */
|
|
321
|
+
exports.CollectInputSpec$inboundSchema = openEnums.inboundSchema(exports.CollectInputSpec);
|
|
322
|
+
/** @internal */
|
|
323
|
+
exports.CollectInput$inboundSchema = z.object({
|
|
324
|
+
ref: types.string(),
|
|
325
|
+
spec: exports.CollectInputSpec$inboundSchema,
|
|
326
|
+
recommended: types.optional(types.boolean()),
|
|
327
|
+
});
|
|
328
|
+
function collectInputFromJSON(jsonString) {
|
|
329
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectInput' from JSON`);
|
|
330
|
+
}
|
|
331
|
+
/** @internal */
|
|
332
|
+
exports.Collect2$inboundSchema = z
|
|
333
|
+
.object({
|
|
334
|
+
ref: types.string(),
|
|
335
|
+
spec: exports.CollectSpec2$inboundSchema,
|
|
336
|
+
recommended: types.optional(types.boolean()),
|
|
337
|
+
combinator: types.string(),
|
|
338
|
+
inputs: z.array(z.lazy(() => exports.CollectInput$inboundSchema)),
|
|
339
|
+
});
|
|
340
|
+
function collect2FromJSON(jsonString) {
|
|
341
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Collect2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Collect2' from JSON`);
|
|
342
|
+
}
|
|
343
|
+
/** @internal */
|
|
344
|
+
exports.CollectSpec1$inboundSchema = openEnums.inboundSchema(exports.CollectSpec1);
|
|
345
|
+
/** @internal */
|
|
346
|
+
exports.Collect1$inboundSchema = z
|
|
347
|
+
.object({
|
|
348
|
+
ref: types.string(),
|
|
349
|
+
spec: exports.CollectSpec1$inboundSchema,
|
|
350
|
+
recommended: types.optional(types.boolean()),
|
|
351
|
+
});
|
|
352
|
+
function collect1FromJSON(jsonString) {
|
|
353
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Collect1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Collect1' from JSON`);
|
|
354
|
+
}
|
|
355
|
+
/** @internal */
|
|
356
|
+
exports.CollectUnion$inboundSchema = (0, smart_union_js_1.smartUnion)([
|
|
357
|
+
z.lazy(() => exports.Collect2$inboundSchema),
|
|
358
|
+
z.lazy(() => exports.Collect1$inboundSchema),
|
|
359
|
+
]);
|
|
360
|
+
function collectUnionFromJSON(jsonString) {
|
|
361
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectUnion' from JSON`);
|
|
362
|
+
}
|
|
363
|
+
/** @internal */
|
|
364
|
+
exports.ConsumeSpec2$inboundSchema = openEnums.inboundSchema(exports.ConsumeSpec2);
|
|
365
|
+
/** @internal */
|
|
366
|
+
exports.ConsumeInputSpec$inboundSchema = openEnums.inboundSchema(exports.ConsumeInputSpec);
|
|
367
|
+
/** @internal */
|
|
368
|
+
exports.ConsumeInput$inboundSchema = z.object({
|
|
369
|
+
ref: types.string(),
|
|
370
|
+
spec: exports.ConsumeInputSpec$inboundSchema,
|
|
371
|
+
recommended: types.optional(types.boolean()),
|
|
372
|
+
});
|
|
373
|
+
function consumeInputFromJSON(jsonString) {
|
|
374
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumeInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConsumeInput' from JSON`);
|
|
375
|
+
}
|
|
376
|
+
/** @internal */
|
|
377
|
+
exports.Consume2$inboundSchema = z
|
|
378
|
+
.object({
|
|
379
|
+
ref: types.string(),
|
|
380
|
+
spec: exports.ConsumeSpec2$inboundSchema,
|
|
381
|
+
recommended: types.optional(types.boolean()),
|
|
382
|
+
combinator: types.string(),
|
|
383
|
+
inputs: z.array(z.lazy(() => exports.ConsumeInput$inboundSchema)),
|
|
384
|
+
});
|
|
385
|
+
function consume2FromJSON(jsonString) {
|
|
386
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Consume2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Consume2' from JSON`);
|
|
387
|
+
}
|
|
388
|
+
/** @internal */
|
|
389
|
+
exports.ConsumeSpec1$inboundSchema = openEnums.inboundSchema(exports.ConsumeSpec1);
|
|
390
|
+
/** @internal */
|
|
391
|
+
exports.Consume1$inboundSchema = z
|
|
392
|
+
.object({
|
|
393
|
+
ref: types.string(),
|
|
394
|
+
spec: exports.ConsumeSpec1$inboundSchema,
|
|
395
|
+
recommended: types.optional(types.boolean()),
|
|
396
|
+
});
|
|
397
|
+
function consume1FromJSON(jsonString) {
|
|
398
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Consume1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Consume1' from JSON`);
|
|
399
|
+
}
|
|
400
|
+
/** @internal */
|
|
401
|
+
exports.ConsumeUnion$inboundSchema = (0, smart_union_js_1.smartUnion)([
|
|
402
|
+
z.lazy(() => exports.Consume2$inboundSchema),
|
|
403
|
+
z.lazy(() => exports.Consume1$inboundSchema),
|
|
404
|
+
]);
|
|
405
|
+
function consumeUnionFromJSON(jsonString) {
|
|
406
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConsumeUnion' from JSON`);
|
|
407
|
+
}
|
|
408
|
+
/** @internal */
|
|
409
|
+
exports.Interaction$inboundSchema = z
|
|
410
|
+
.object({
|
|
411
|
+
resource: types.optional(z.lazy(() => exports.Resource$inboundSchema)),
|
|
412
|
+
collects: z.array((0, smart_union_js_1.smartUnion)([
|
|
413
|
+
z.lazy(() => exports.Collect2$inboundSchema),
|
|
414
|
+
z.lazy(() => exports.Collect1$inboundSchema),
|
|
415
|
+
])),
|
|
416
|
+
consumes: z.array((0, smart_union_js_1.smartUnion)([
|
|
417
|
+
z.lazy(() => exports.Consume2$inboundSchema),
|
|
418
|
+
z.lazy(() => exports.Consume1$inboundSchema),
|
|
419
|
+
])),
|
|
420
|
+
grId: types.string(),
|
|
421
|
+
});
|
|
422
|
+
function interactionFromJSON(jsonString) {
|
|
423
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Interaction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Interaction' from JSON`);
|
|
424
|
+
}
|
|
425
|
+
/** @internal */
|
|
426
|
+
exports.FetchInteractionIdentityAlias$inboundSchema = z.object({
|
|
427
|
+
title: types.optional(types.string()),
|
|
428
|
+
firstName: types.optional(types.string()),
|
|
429
|
+
middleNames: types.optional(z.array(types.string())),
|
|
430
|
+
lastNames: types.optional(z.array(types.string())),
|
|
431
|
+
lastNamesAtBirth: types.optional(z.array(types.string())),
|
|
432
|
+
});
|
|
433
|
+
function fetchInteractionIdentityAliasFromJSON(jsonString) {
|
|
434
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityAlias$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityAlias' from JSON`);
|
|
435
|
+
}
|
|
436
|
+
/** @internal */
|
|
437
|
+
exports.FetchInteractionIdentityRelationship$inboundSchema = openEnums.inboundSchema(exports.FetchInteractionIdentityRelationship);
|
|
438
|
+
/** @internal */
|
|
439
|
+
exports.FetchInteractionIdentityRelatedPerson$inboundSchema = z.object({
|
|
440
|
+
title: types.optional(types.string()),
|
|
441
|
+
firstName: types.optional(types.string()),
|
|
442
|
+
middleNames: types.optional(z.array(types.string())),
|
|
443
|
+
lastNames: types.optional(z.array(types.string())),
|
|
444
|
+
lastNamesAtBirth: types.optional(z.array(types.string())),
|
|
445
|
+
relationship: exports.FetchInteractionIdentityRelationship$inboundSchema,
|
|
446
|
+
});
|
|
447
|
+
function fetchInteractionIdentityRelatedPersonFromJSON(jsonString) {
|
|
448
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityRelatedPerson$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityRelatedPerson' from JSON`);
|
|
449
|
+
}
|
|
450
|
+
/** @internal */
|
|
451
|
+
exports.FetchInteractionIdentityCurrentAddressLocation$inboundSchema = z
|
|
452
|
+
.object({
|
|
453
|
+
latitude: types.optional(types.string()),
|
|
454
|
+
longitude: types.optional(types.string()),
|
|
455
|
+
geoAccuracy: types.optional(types.string()),
|
|
456
|
+
what3words: types.optional(types.string()),
|
|
457
|
+
});
|
|
458
|
+
function fetchInteractionIdentityCurrentAddressLocationFromJSON(jsonString) {
|
|
459
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityCurrentAddressLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityCurrentAddressLocation' from JSON`);
|
|
460
|
+
}
|
|
461
|
+
/** @internal */
|
|
462
|
+
exports.FetchInteractionIdentityCurrentAddress$inboundSchema = z.object({
|
|
463
|
+
lines: types.optional(z.array(types.string())),
|
|
464
|
+
addressString: types.optional(types.string()),
|
|
465
|
+
premise: types.optional(types.string()),
|
|
466
|
+
building: types.optional(types.string()),
|
|
467
|
+
subBuilding: types.optional(types.string()),
|
|
468
|
+
thoroughfare: types.optional(types.string()),
|
|
469
|
+
dependentThoroughfare: types.optional(types.string()),
|
|
470
|
+
locality: types.optional(types.string()),
|
|
471
|
+
dependentLocality: types.optional(types.string()),
|
|
472
|
+
doubleDependentLocality: types.optional(types.string()),
|
|
473
|
+
postalCode: types.optional(types.string()),
|
|
474
|
+
postBox: types.optional(types.string()),
|
|
475
|
+
country: types.optional(types.string()),
|
|
476
|
+
superAdministrativeArea: types.optional(types.string()),
|
|
477
|
+
administrativeArea: types.optional(types.string()),
|
|
478
|
+
subAdministrativeArea: types.optional(types.string()),
|
|
479
|
+
organization: types.optional(types.string()),
|
|
480
|
+
location: types.optional(z.lazy(() => exports.FetchInteractionIdentityCurrentAddressLocation$inboundSchema)),
|
|
481
|
+
});
|
|
482
|
+
function fetchInteractionIdentityCurrentAddressFromJSON(jsonString) {
|
|
483
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityCurrentAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityCurrentAddress' from JSON`);
|
|
484
|
+
}
|
|
485
|
+
/** @internal */
|
|
486
|
+
exports.FetchInteractionIdentityPreviousAddressLocation$inboundSchema = z
|
|
487
|
+
.object({
|
|
488
|
+
latitude: types.optional(types.string()),
|
|
489
|
+
longitude: types.optional(types.string()),
|
|
490
|
+
geoAccuracy: types.optional(types.string()),
|
|
491
|
+
what3words: types.optional(types.string()),
|
|
492
|
+
});
|
|
493
|
+
function fetchInteractionIdentityPreviousAddressLocationFromJSON(jsonString) {
|
|
494
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityPreviousAddressLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityPreviousAddressLocation' from JSON`);
|
|
495
|
+
}
|
|
496
|
+
/** @internal */
|
|
497
|
+
exports.FetchInteractionIdentityPreviousAddress$inboundSchema = z.object({
|
|
498
|
+
lines: types.optional(z.array(types.string())),
|
|
499
|
+
addressString: types.optional(types.string()),
|
|
500
|
+
premise: types.optional(types.string()),
|
|
501
|
+
building: types.optional(types.string()),
|
|
502
|
+
subBuilding: types.optional(types.string()),
|
|
503
|
+
thoroughfare: types.optional(types.string()),
|
|
504
|
+
dependentThoroughfare: types.optional(types.string()),
|
|
505
|
+
locality: types.optional(types.string()),
|
|
506
|
+
dependentLocality: types.optional(types.string()),
|
|
507
|
+
doubleDependentLocality: types.optional(types.string()),
|
|
508
|
+
postalCode: types.optional(types.string()),
|
|
509
|
+
postBox: types.optional(types.string()),
|
|
510
|
+
country: types.optional(types.string()),
|
|
511
|
+
superAdministrativeArea: types.optional(types.string()),
|
|
512
|
+
administrativeArea: types.optional(types.string()),
|
|
513
|
+
subAdministrativeArea: types.optional(types.string()),
|
|
514
|
+
organization: types.optional(types.string()),
|
|
515
|
+
location: types.optional(z.lazy(() => exports.FetchInteractionIdentityPreviousAddressLocation$inboundSchema)),
|
|
516
|
+
fromDate: types.string(),
|
|
517
|
+
toDate: types.string(),
|
|
518
|
+
});
|
|
519
|
+
function fetchInteractionIdentityPreviousAddressFromJSON(jsonString) {
|
|
520
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityPreviousAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityPreviousAddress' from JSON`);
|
|
521
|
+
}
|
|
522
|
+
/** @internal */
|
|
523
|
+
exports.FetchInteractionIdentityPlaceOfBirthLocation$inboundSchema = z
|
|
524
|
+
.object({
|
|
525
|
+
latitude: types.optional(types.string()),
|
|
526
|
+
longitude: types.optional(types.string()),
|
|
527
|
+
geoAccuracy: types.optional(types.string()),
|
|
528
|
+
what3words: types.optional(types.string()),
|
|
529
|
+
});
|
|
530
|
+
function fetchInteractionIdentityPlaceOfBirthLocationFromJSON(jsonString) {
|
|
531
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityPlaceOfBirthLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityPlaceOfBirthLocation' from JSON`);
|
|
532
|
+
}
|
|
533
|
+
/** @internal */
|
|
534
|
+
exports.FetchInteractionIdentityPlaceOfBirth$inboundSchema = z.object({
|
|
535
|
+
lines: types.optional(z.array(types.string())),
|
|
536
|
+
addressString: types.optional(types.string()),
|
|
537
|
+
premise: types.optional(types.string()),
|
|
538
|
+
building: types.optional(types.string()),
|
|
539
|
+
subBuilding: types.optional(types.string()),
|
|
540
|
+
thoroughfare: types.optional(types.string()),
|
|
541
|
+
dependentThoroughfare: types.optional(types.string()),
|
|
542
|
+
locality: types.optional(types.string()),
|
|
543
|
+
dependentLocality: types.optional(types.string()),
|
|
544
|
+
doubleDependentLocality: types.optional(types.string()),
|
|
545
|
+
postalCode: types.optional(types.string()),
|
|
546
|
+
postBox: types.optional(types.string()),
|
|
547
|
+
country: types.optional(types.string()),
|
|
548
|
+
superAdministrativeArea: types.optional(types.string()),
|
|
549
|
+
administrativeArea: types.optional(types.string()),
|
|
550
|
+
subAdministrativeArea: types.optional(types.string()),
|
|
551
|
+
organization: types.optional(types.string()),
|
|
552
|
+
location: types.optional(z.lazy(() => exports.FetchInteractionIdentityPlaceOfBirthLocation$inboundSchema)),
|
|
553
|
+
});
|
|
554
|
+
function fetchInteractionIdentityPlaceOfBirthFromJSON(jsonString) {
|
|
555
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityPlaceOfBirth$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityPlaceOfBirth' from JSON`);
|
|
556
|
+
}
|
|
557
|
+
/** @internal */
|
|
558
|
+
exports.FetchInteractionIdentityIdNumber$inboundSchema = z.object({
|
|
559
|
+
type: types.string(),
|
|
560
|
+
idNumber: types.string(),
|
|
561
|
+
country: types.optional(types.string()),
|
|
562
|
+
});
|
|
563
|
+
function fetchInteractionIdentityIdNumberFromJSON(jsonString) {
|
|
564
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityIdNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityIdNumber' from JSON`);
|
|
565
|
+
}
|
|
566
|
+
/** @internal */
|
|
567
|
+
exports.FetchInteractionIdentityPhone$inboundSchema = z.object({
|
|
568
|
+
type: types.string(),
|
|
569
|
+
number: types.string(),
|
|
570
|
+
});
|
|
571
|
+
function fetchInteractionIdentityPhoneFromJSON(jsonString) {
|
|
572
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityPhone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityPhone' from JSON`);
|
|
573
|
+
}
|
|
574
|
+
/** @internal */
|
|
575
|
+
exports.FetchInteractionIdentityEmail$inboundSchema = z.object({
|
|
576
|
+
type: types.string(),
|
|
577
|
+
email: types.string(),
|
|
578
|
+
});
|
|
579
|
+
function fetchInteractionIdentityEmailFromJSON(jsonString) {
|
|
580
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentityEmail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentityEmail' from JSON`);
|
|
581
|
+
}
|
|
582
|
+
/** @internal */
|
|
583
|
+
exports.FetchInteractionIdentitySocial$inboundSchema = z.object({
|
|
584
|
+
type: types.string(),
|
|
585
|
+
identity: types.string(),
|
|
586
|
+
});
|
|
587
|
+
function fetchInteractionIdentitySocialFromJSON(jsonString) {
|
|
588
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentitySocial$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentitySocial' from JSON`);
|
|
589
|
+
}
|
|
590
|
+
/** @internal */
|
|
591
|
+
exports.FetchInteractionIdentity$inboundSchema = z.object({
|
|
592
|
+
title: types.optional(types.string()),
|
|
593
|
+
firstName: types.optional(types.string()),
|
|
594
|
+
middleNames: types.optional(z.array(types.string())),
|
|
595
|
+
lastNames: types.optional(z.array(types.string())),
|
|
596
|
+
lastNamesAtBirth: types.optional(z.array(types.string())),
|
|
597
|
+
aliases: types.optional(z.array(z.lazy(() => exports.FetchInteractionIdentityAlias$inboundSchema))),
|
|
598
|
+
relatedPersons: types.optional(z.array(z.lazy(() => exports.FetchInteractionIdentityRelatedPerson$inboundSchema))),
|
|
599
|
+
dateOfBirth: types.optional(types.string()),
|
|
600
|
+
gender: types.optional(types.string()),
|
|
601
|
+
currentAddress: types.optional(z.lazy(() => exports.FetchInteractionIdentityCurrentAddress$inboundSchema)),
|
|
602
|
+
previousAddresses: types.optional(z.array(z.lazy(() => exports.FetchInteractionIdentityPreviousAddress$inboundSchema))),
|
|
603
|
+
placeOfBirth: types.optional(z.lazy(() => exports.FetchInteractionIdentityPlaceOfBirth$inboundSchema)),
|
|
604
|
+
idNumbers: types.optional(z.array(z.lazy(() => exports.FetchInteractionIdentityIdNumber$inboundSchema))),
|
|
605
|
+
phones: types.optional(z.array(z.lazy(() => exports.FetchInteractionIdentityPhone$inboundSchema))),
|
|
606
|
+
emails: types.optional(z.array(z.lazy(() => exports.FetchInteractionIdentityEmail$inboundSchema))),
|
|
607
|
+
socials: types.optional(z.array(z.lazy(() => exports.FetchInteractionIdentitySocial$inboundSchema))),
|
|
608
|
+
mothersMaidenName: types.optional(types.string()),
|
|
609
|
+
});
|
|
610
|
+
function fetchInteractionIdentityFromJSON(jsonString) {
|
|
611
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionIdentity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionIdentity' from JSON`);
|
|
612
|
+
}
|
|
613
|
+
/** @internal */
|
|
614
|
+
exports.FetchInteractionAddress$inboundSchema = z.object({
|
|
615
|
+
addressString: types.optional(types.string()),
|
|
616
|
+
extractedAddressString: types.optional(types.string()),
|
|
617
|
+
addressLine1: types.optional(types.string()),
|
|
618
|
+
addressLine2: types.optional(types.string()),
|
|
619
|
+
locality: types.optional(types.string()),
|
|
620
|
+
administrativeArea: types.optional(types.string()),
|
|
621
|
+
postalCode: types.optional(types.string()),
|
|
622
|
+
});
|
|
623
|
+
function fetchInteractionAddressFromJSON(jsonString) {
|
|
624
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionAddress' from JSON`);
|
|
625
|
+
}
|
|
626
|
+
/** @internal */
|
|
627
|
+
exports.FetchInteractionDocumentDevice$inboundSchema = z.object({
|
|
628
|
+
type: types.optional(types.string()),
|
|
629
|
+
model: types.optional(types.string()),
|
|
630
|
+
hasContactlessReader: types.optional(types.boolean()),
|
|
631
|
+
hasMagneticStripeReader: types.optional(types.boolean()),
|
|
632
|
+
hasCamera: types.optional(types.boolean()),
|
|
633
|
+
serialNumber: types.optional(types.string()),
|
|
634
|
+
manufacturer: types.optional(types.string()),
|
|
635
|
+
});
|
|
636
|
+
function fetchInteractionDocumentDeviceFromJSON(jsonString) {
|
|
637
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentDevice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentDevice' from JSON`);
|
|
638
|
+
}
|
|
639
|
+
/** @internal */
|
|
640
|
+
exports.FetchInteractionName$inboundSchema = openEnums.inboundSchema(exports.FetchInteractionName);
|
|
641
|
+
/** @internal */
|
|
642
|
+
exports.FetchInteractionLd$inboundSchema = z.catchall(z.object({
|
|
643
|
+
name: exports.FetchInteractionName$inboundSchema,
|
|
644
|
+
data: types.string(),
|
|
645
|
+
}), z.any());
|
|
646
|
+
function fetchInteractionLdFromJSON(jsonString) {
|
|
647
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionLd$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionLd' from JSON`);
|
|
648
|
+
}
|
|
649
|
+
/** @internal */
|
|
650
|
+
exports.FetchInteractionAuthType$inboundSchema = openEnums.inboundSchema(exports.FetchInteractionAuthType);
|
|
651
|
+
/** @internal */
|
|
652
|
+
exports.FetchInteractionResult$inboundSchema = openEnums.inboundSchema(exports.FetchInteractionResult);
|
|
653
|
+
/** @internal */
|
|
654
|
+
exports.FetchInteractionChipAuth$inboundSchema = z.catchall(z.object({
|
|
655
|
+
type: exports.FetchInteractionAuthType$inboundSchema,
|
|
656
|
+
result: exports.FetchInteractionResult$inboundSchema,
|
|
657
|
+
}), z.any());
|
|
658
|
+
function fetchInteractionChipAuthFromJSON(jsonString) {
|
|
659
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionChipAuth$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionChipAuth' from JSON`);
|
|
660
|
+
}
|
|
661
|
+
/** @internal */
|
|
662
|
+
exports.FetchInteractionChip$inboundSchema = z.catchall(z.object({
|
|
663
|
+
lds: z.array(z.lazy(() => exports.FetchInteractionLd$inboundSchema)),
|
|
664
|
+
auth: z.array(z.lazy(() => exports.FetchInteractionChipAuth$inboundSchema)),
|
|
665
|
+
}), z.any());
|
|
666
|
+
function fetchInteractionChipFromJSON(jsonString) {
|
|
667
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionChip$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionChip' from JSON`);
|
|
668
|
+
}
|
|
669
|
+
/** @internal */
|
|
670
|
+
exports.FetchInteractionSide$inboundSchema = z.object({
|
|
671
|
+
side: types.string(),
|
|
672
|
+
id: types.string(),
|
|
673
|
+
documentQuality: types.string(),
|
|
674
|
+
documentQualityScore: types.number(),
|
|
675
|
+
});
|
|
676
|
+
function fetchInteractionSideFromJSON(jsonString) {
|
|
677
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionSide$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionSide' from JSON`);
|
|
678
|
+
}
|
|
679
|
+
/** @internal */
|
|
680
|
+
exports.FetchInteractionClassification$inboundSchema = z.object({
|
|
681
|
+
ids: types.optional(z.array(types.string())),
|
|
682
|
+
category: types.optional(types.string()),
|
|
683
|
+
type: types.optional(types.string()),
|
|
684
|
+
subtype: types.optional(types.string()),
|
|
685
|
+
isDoubleSided: types.optional(types.boolean()),
|
|
686
|
+
hasNFC: types.optional(types.boolean()),
|
|
687
|
+
year: types.optional(types.string()),
|
|
688
|
+
countryCode: types.optional(types.string()),
|
|
689
|
+
countryName: types.optional(types.string()),
|
|
690
|
+
stateCode: types.optional(types.string()),
|
|
691
|
+
stateName: types.optional(types.string()),
|
|
692
|
+
sides: types.optional(z.array(z.lazy(() => exports.FetchInteractionSide$inboundSchema))),
|
|
693
|
+
});
|
|
694
|
+
function fetchInteractionClassificationFromJSON(jsonString) {
|
|
695
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionClassification$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionClassification' from JSON`);
|
|
696
|
+
}
|
|
697
|
+
/** @internal */
|
|
698
|
+
exports.FetchInteractionAggregatedFieldBoundingBox$inboundSchema = z.object({
|
|
699
|
+
x: types.number(),
|
|
700
|
+
y: types.number(),
|
|
701
|
+
width: types.number(),
|
|
702
|
+
height: types.number(),
|
|
703
|
+
});
|
|
704
|
+
function fetchInteractionAggregatedFieldBoundingBoxFromJSON(jsonString) {
|
|
705
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionAggregatedFieldBoundingBox$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionAggregatedFieldBoundingBox' from JSON`);
|
|
706
|
+
}
|
|
707
|
+
/** @internal */
|
|
708
|
+
exports.FetchInteractionAggregatedFieldRegionOfInterest$inboundSchema = z
|
|
709
|
+
.object({
|
|
710
|
+
boundingBox: types.optional(z.lazy(() => exports.FetchInteractionAggregatedFieldBoundingBox$inboundSchema)),
|
|
711
|
+
side: types.string(),
|
|
712
|
+
spectrum: types.optional(types.string()),
|
|
713
|
+
imageId: types.optional(types.string()),
|
|
714
|
+
});
|
|
715
|
+
function fetchInteractionAggregatedFieldRegionOfInterestFromJSON(jsonString) {
|
|
716
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionAggregatedFieldRegionOfInterest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionAggregatedFieldRegionOfInterest' from JSON`);
|
|
717
|
+
}
|
|
718
|
+
/** @internal */
|
|
719
|
+
exports.FetchInteractionAggregatedField$inboundSchema = z.object({
|
|
720
|
+
label: types.string(),
|
|
721
|
+
value: types.string(),
|
|
722
|
+
source: types.string(),
|
|
723
|
+
isNonLatin: types.boolean(),
|
|
724
|
+
regionOfInterest: types.optional(z.lazy(() => exports.FetchInteractionAggregatedFieldRegionOfInterest$inboundSchema)),
|
|
725
|
+
});
|
|
726
|
+
function fetchInteractionAggregatedFieldFromJSON(jsonString) {
|
|
727
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionAggregatedField$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionAggregatedField' from JSON`);
|
|
728
|
+
}
|
|
729
|
+
/** @internal */
|
|
730
|
+
exports.FetchInteractionDetailBoundingBox$inboundSchema = z.object({
|
|
731
|
+
x: types.number(),
|
|
732
|
+
y: types.number(),
|
|
733
|
+
width: types.number(),
|
|
734
|
+
height: types.number(),
|
|
735
|
+
});
|
|
736
|
+
function fetchInteractionDetailBoundingBoxFromJSON(jsonString) {
|
|
737
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDetailBoundingBox$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDetailBoundingBox' from JSON`);
|
|
738
|
+
}
|
|
739
|
+
/** @internal */
|
|
740
|
+
exports.FetchInteractionDetailRegionOfInterest$inboundSchema = z.object({
|
|
741
|
+
boundingBox: types.optional(z.lazy(() => exports.FetchInteractionDetailBoundingBox$inboundSchema)),
|
|
742
|
+
side: types.string(),
|
|
743
|
+
spectrum: types.optional(types.string()),
|
|
744
|
+
imageId: types.optional(types.string()),
|
|
745
|
+
});
|
|
746
|
+
function fetchInteractionDetailRegionOfInterestFromJSON(jsonString) {
|
|
747
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDetailRegionOfInterest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDetailRegionOfInterest' from JSON`);
|
|
748
|
+
}
|
|
749
|
+
/** @internal */
|
|
750
|
+
exports.FetchInteractionDetail$inboundSchema = z.object({
|
|
751
|
+
label: types.string(),
|
|
752
|
+
value: types.string(),
|
|
753
|
+
source: types.string(),
|
|
754
|
+
isNonLatin: types.boolean(),
|
|
755
|
+
regionOfInterest: types.optional(z.lazy(() => exports.FetchInteractionDetailRegionOfInterest$inboundSchema)),
|
|
756
|
+
});
|
|
757
|
+
function fetchInteractionDetailFromJSON(jsonString) {
|
|
758
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDetail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDetail' from JSON`);
|
|
759
|
+
}
|
|
760
|
+
/** @internal */
|
|
761
|
+
exports.FetchInteractionExtractedField$inboundSchema = z.object({
|
|
762
|
+
label: types.string(),
|
|
763
|
+
details: z.array(z.lazy(() => exports.FetchInteractionDetail$inboundSchema)),
|
|
764
|
+
});
|
|
765
|
+
function fetchInteractionExtractedFieldFromJSON(jsonString) {
|
|
766
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionExtractedField$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionExtractedField' from JSON`);
|
|
767
|
+
}
|
|
768
|
+
/** @internal */
|
|
769
|
+
exports.FetchInteractionExtractedImage$inboundSchema = z.object({
|
|
770
|
+
label: types.string(),
|
|
771
|
+
side: types.string(),
|
|
772
|
+
imageID: types.string(),
|
|
773
|
+
});
|
|
774
|
+
function fetchInteractionExtractedImageFromJSON(jsonString) {
|
|
775
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionExtractedImage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionExtractedImage' from JSON`);
|
|
776
|
+
}
|
|
777
|
+
/** @internal */
|
|
778
|
+
exports.FetchInteractionExtraction$inboundSchema = z.object({
|
|
779
|
+
aggregatedFields: types.optional(z.array(z.lazy(() => exports.FetchInteractionAggregatedField$inboundSchema))),
|
|
780
|
+
extractedFields: types.optional(z.array(z.lazy(() => exports.FetchInteractionExtractedField$inboundSchema))),
|
|
781
|
+
extractedImages: types.optional(z.array(z.lazy(() => exports.FetchInteractionExtractedImage$inboundSchema))),
|
|
782
|
+
});
|
|
783
|
+
function fetchInteractionExtractionFromJSON(jsonString) {
|
|
784
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionExtraction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionExtraction' from JSON`);
|
|
785
|
+
}
|
|
786
|
+
/** @internal */
|
|
787
|
+
exports.FetchInteractionValidationCheckBoundingBox$inboundSchema = z.object({
|
|
788
|
+
x: types.number(),
|
|
789
|
+
y: types.number(),
|
|
790
|
+
width: types.number(),
|
|
791
|
+
height: types.number(),
|
|
792
|
+
});
|
|
793
|
+
function fetchInteractionValidationCheckBoundingBoxFromJSON(jsonString) {
|
|
794
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionValidationCheckBoundingBox$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionValidationCheckBoundingBox' from JSON`);
|
|
795
|
+
}
|
|
796
|
+
/** @internal */
|
|
797
|
+
exports.FetchInteractionValidationCheckRegionOfInterest$inboundSchema = z
|
|
798
|
+
.object({
|
|
799
|
+
boundingBox: types.optional(z.lazy(() => exports.FetchInteractionValidationCheckBoundingBox$inboundSchema)),
|
|
800
|
+
side: types.string(),
|
|
801
|
+
spectrum: types.optional(types.string()),
|
|
802
|
+
imageId: types.optional(types.string()),
|
|
803
|
+
});
|
|
804
|
+
function fetchInteractionValidationCheckRegionOfInterestFromJSON(jsonString) {
|
|
805
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionValidationCheckRegionOfInterest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionValidationCheckRegionOfInterest' from JSON`);
|
|
806
|
+
}
|
|
807
|
+
/** @internal */
|
|
808
|
+
exports.FetchInteractionValidationCheck$inboundSchema = z.object({
|
|
809
|
+
name: types.string(),
|
|
810
|
+
title: types.string(),
|
|
811
|
+
info: types.string(),
|
|
812
|
+
validationResult: types.string(),
|
|
813
|
+
resultInfo: types.string(),
|
|
814
|
+
weight: types.string(),
|
|
815
|
+
regionOfInterests: types.optional(z.array(z.lazy(() => exports.FetchInteractionValidationCheckRegionOfInterest$inboundSchema))),
|
|
816
|
+
type: types.string(),
|
|
817
|
+
});
|
|
818
|
+
function fetchInteractionValidationCheckFromJSON(jsonString) {
|
|
819
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionValidationCheck$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionValidationCheck' from JSON`);
|
|
820
|
+
}
|
|
821
|
+
/** @internal */
|
|
822
|
+
exports.FetchInteractionAggregatedValidationCheckBoundingBox$inboundSchema = z.object({
|
|
823
|
+
x: types.number(),
|
|
824
|
+
y: types.number(),
|
|
825
|
+
width: types.number(),
|
|
826
|
+
height: types.number(),
|
|
827
|
+
});
|
|
828
|
+
function fetchInteractionAggregatedValidationCheckBoundingBoxFromJSON(jsonString) {
|
|
829
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionAggregatedValidationCheckBoundingBox$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionAggregatedValidationCheckBoundingBox' from JSON`);
|
|
830
|
+
}
|
|
831
|
+
/** @internal */
|
|
832
|
+
exports.FetchInteractionAggregatedValidationCheckRegionOfInterest$inboundSchema = z.object({
|
|
833
|
+
boundingBox: types.optional(z.lazy(() => exports.FetchInteractionAggregatedValidationCheckBoundingBox$inboundSchema)),
|
|
834
|
+
side: types.string(),
|
|
835
|
+
spectrum: types.optional(types.string()),
|
|
836
|
+
imageId: types.optional(types.string()),
|
|
837
|
+
});
|
|
838
|
+
function fetchInteractionAggregatedValidationCheckRegionOfInterestFromJSON(jsonString) {
|
|
839
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionAggregatedValidationCheckRegionOfInterest$inboundSchema
|
|
840
|
+
.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionAggregatedValidationCheckRegionOfInterest' from JSON`);
|
|
841
|
+
}
|
|
842
|
+
/** @internal */
|
|
843
|
+
exports.FetchInteractionAggregatedValidationCheck$inboundSchema = z.object({
|
|
844
|
+
name: types.string(),
|
|
845
|
+
title: types.string(),
|
|
846
|
+
info: types.string(),
|
|
847
|
+
validationResult: types.string(),
|
|
848
|
+
resultInfo: types.string(),
|
|
849
|
+
weight: types.string(),
|
|
850
|
+
regionOfInterests: types.optional(z.array(z.lazy(() => exports.FetchInteractionAggregatedValidationCheckRegionOfInterest$inboundSchema))),
|
|
851
|
+
type: types.string(),
|
|
852
|
+
});
|
|
853
|
+
function fetchInteractionAggregatedValidationCheckFromJSON(jsonString) {
|
|
854
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionAggregatedValidationCheck$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionAggregatedValidationCheck' from JSON`);
|
|
855
|
+
}
|
|
856
|
+
/** @internal */
|
|
857
|
+
exports.FetchInteractionValidation$inboundSchema = z.object({
|
|
858
|
+
validationChecks: types.optional(z.array(z.lazy(() => exports.FetchInteractionValidationCheck$inboundSchema))),
|
|
859
|
+
aggregatedValidationChecks: types.optional(z.array(z.lazy(() => exports.FetchInteractionAggregatedValidationCheck$inboundSchema))),
|
|
860
|
+
});
|
|
861
|
+
function fetchInteractionValidationFromJSON(jsonString) {
|
|
862
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionValidation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionValidation' from JSON`);
|
|
863
|
+
}
|
|
864
|
+
/** @internal */
|
|
865
|
+
exports.FetchInteractionDocumentAlias$inboundSchema = z.object({
|
|
866
|
+
title: types.optional(types.string()),
|
|
867
|
+
firstName: types.optional(types.string()),
|
|
868
|
+
middleNames: types.optional(z.array(types.string())),
|
|
869
|
+
lastNames: types.optional(z.array(types.string())),
|
|
870
|
+
lastNamesAtBirth: types.optional(z.array(types.string())),
|
|
871
|
+
});
|
|
872
|
+
function fetchInteractionDocumentAliasFromJSON(jsonString) {
|
|
873
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentAlias$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentAlias' from JSON`);
|
|
874
|
+
}
|
|
875
|
+
/** @internal */
|
|
876
|
+
exports.FetchInteractionDocumentRelationship$inboundSchema = openEnums.inboundSchema(exports.FetchInteractionDocumentRelationship);
|
|
877
|
+
/** @internal */
|
|
878
|
+
exports.FetchInteractionDocumentRelatedPerson$inboundSchema = z.object({
|
|
879
|
+
title: types.optional(types.string()),
|
|
880
|
+
firstName: types.optional(types.string()),
|
|
881
|
+
middleNames: types.optional(z.array(types.string())),
|
|
882
|
+
lastNames: types.optional(z.array(types.string())),
|
|
883
|
+
lastNamesAtBirth: types.optional(z.array(types.string())),
|
|
884
|
+
relationship: exports.FetchInteractionDocumentRelationship$inboundSchema,
|
|
885
|
+
});
|
|
886
|
+
function fetchInteractionDocumentRelatedPersonFromJSON(jsonString) {
|
|
887
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentRelatedPerson$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentRelatedPerson' from JSON`);
|
|
888
|
+
}
|
|
889
|
+
/** @internal */
|
|
890
|
+
exports.FetchInteractionDocumentCurrentAddressLocation$inboundSchema = z
|
|
891
|
+
.object({
|
|
892
|
+
latitude: types.optional(types.string()),
|
|
893
|
+
longitude: types.optional(types.string()),
|
|
894
|
+
geoAccuracy: types.optional(types.string()),
|
|
895
|
+
what3words: types.optional(types.string()),
|
|
896
|
+
});
|
|
897
|
+
function fetchInteractionDocumentCurrentAddressLocationFromJSON(jsonString) {
|
|
898
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentCurrentAddressLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentCurrentAddressLocation' from JSON`);
|
|
899
|
+
}
|
|
900
|
+
/** @internal */
|
|
901
|
+
exports.FetchInteractionDocumentCurrentAddress$inboundSchema = z.object({
|
|
902
|
+
lines: types.optional(z.array(types.string())),
|
|
903
|
+
addressString: types.optional(types.string()),
|
|
904
|
+
premise: types.optional(types.string()),
|
|
905
|
+
building: types.optional(types.string()),
|
|
906
|
+
subBuilding: types.optional(types.string()),
|
|
907
|
+
thoroughfare: types.optional(types.string()),
|
|
908
|
+
dependentThoroughfare: types.optional(types.string()),
|
|
909
|
+
locality: types.optional(types.string()),
|
|
910
|
+
dependentLocality: types.optional(types.string()),
|
|
911
|
+
doubleDependentLocality: types.optional(types.string()),
|
|
912
|
+
postalCode: types.optional(types.string()),
|
|
913
|
+
postBox: types.optional(types.string()),
|
|
914
|
+
country: types.optional(types.string()),
|
|
915
|
+
superAdministrativeArea: types.optional(types.string()),
|
|
916
|
+
administrativeArea: types.optional(types.string()),
|
|
917
|
+
subAdministrativeArea: types.optional(types.string()),
|
|
918
|
+
organization: types.optional(types.string()),
|
|
919
|
+
location: types.optional(z.lazy(() => exports.FetchInteractionDocumentCurrentAddressLocation$inboundSchema)),
|
|
920
|
+
});
|
|
921
|
+
function fetchInteractionDocumentCurrentAddressFromJSON(jsonString) {
|
|
922
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentCurrentAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentCurrentAddress' from JSON`);
|
|
923
|
+
}
|
|
924
|
+
/** @internal */
|
|
925
|
+
exports.FetchInteractionDocumentPreviousAddressLocation$inboundSchema = z
|
|
926
|
+
.object({
|
|
927
|
+
latitude: types.optional(types.string()),
|
|
928
|
+
longitude: types.optional(types.string()),
|
|
929
|
+
geoAccuracy: types.optional(types.string()),
|
|
930
|
+
what3words: types.optional(types.string()),
|
|
931
|
+
});
|
|
932
|
+
function fetchInteractionDocumentPreviousAddressLocationFromJSON(jsonString) {
|
|
933
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentPreviousAddressLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentPreviousAddressLocation' from JSON`);
|
|
934
|
+
}
|
|
935
|
+
/** @internal */
|
|
936
|
+
exports.FetchInteractionDocumentPreviousAddress$inboundSchema = z.object({
|
|
937
|
+
lines: types.optional(z.array(types.string())),
|
|
938
|
+
addressString: types.optional(types.string()),
|
|
939
|
+
premise: types.optional(types.string()),
|
|
940
|
+
building: types.optional(types.string()),
|
|
941
|
+
subBuilding: types.optional(types.string()),
|
|
942
|
+
thoroughfare: types.optional(types.string()),
|
|
943
|
+
dependentThoroughfare: types.optional(types.string()),
|
|
944
|
+
locality: types.optional(types.string()),
|
|
945
|
+
dependentLocality: types.optional(types.string()),
|
|
946
|
+
doubleDependentLocality: types.optional(types.string()),
|
|
947
|
+
postalCode: types.optional(types.string()),
|
|
948
|
+
postBox: types.optional(types.string()),
|
|
949
|
+
country: types.optional(types.string()),
|
|
950
|
+
superAdministrativeArea: types.optional(types.string()),
|
|
951
|
+
administrativeArea: types.optional(types.string()),
|
|
952
|
+
subAdministrativeArea: types.optional(types.string()),
|
|
953
|
+
organization: types.optional(types.string()),
|
|
954
|
+
location: types.optional(z.lazy(() => exports.FetchInteractionDocumentPreviousAddressLocation$inboundSchema)),
|
|
955
|
+
fromDate: types.string(),
|
|
956
|
+
toDate: types.string(),
|
|
957
|
+
});
|
|
958
|
+
function fetchInteractionDocumentPreviousAddressFromJSON(jsonString) {
|
|
959
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentPreviousAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentPreviousAddress' from JSON`);
|
|
960
|
+
}
|
|
961
|
+
/** @internal */
|
|
962
|
+
exports.FetchInteractionDocumentPlaceOfBirthLocation$inboundSchema = z
|
|
963
|
+
.object({
|
|
964
|
+
latitude: types.optional(types.string()),
|
|
965
|
+
longitude: types.optional(types.string()),
|
|
966
|
+
geoAccuracy: types.optional(types.string()),
|
|
967
|
+
what3words: types.optional(types.string()),
|
|
968
|
+
});
|
|
969
|
+
function fetchInteractionDocumentPlaceOfBirthLocationFromJSON(jsonString) {
|
|
970
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentPlaceOfBirthLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentPlaceOfBirthLocation' from JSON`);
|
|
971
|
+
}
|
|
972
|
+
/** @internal */
|
|
973
|
+
exports.FetchInteractionDocumentPlaceOfBirth$inboundSchema = z.object({
|
|
974
|
+
lines: types.optional(z.array(types.string())),
|
|
975
|
+
addressString: types.optional(types.string()),
|
|
976
|
+
premise: types.optional(types.string()),
|
|
977
|
+
building: types.optional(types.string()),
|
|
978
|
+
subBuilding: types.optional(types.string()),
|
|
979
|
+
thoroughfare: types.optional(types.string()),
|
|
980
|
+
dependentThoroughfare: types.optional(types.string()),
|
|
981
|
+
locality: types.optional(types.string()),
|
|
982
|
+
dependentLocality: types.optional(types.string()),
|
|
983
|
+
doubleDependentLocality: types.optional(types.string()),
|
|
984
|
+
postalCode: types.optional(types.string()),
|
|
985
|
+
postBox: types.optional(types.string()),
|
|
986
|
+
country: types.optional(types.string()),
|
|
987
|
+
superAdministrativeArea: types.optional(types.string()),
|
|
988
|
+
administrativeArea: types.optional(types.string()),
|
|
989
|
+
subAdministrativeArea: types.optional(types.string()),
|
|
990
|
+
organization: types.optional(types.string()),
|
|
991
|
+
location: types.optional(z.lazy(() => exports.FetchInteractionDocumentPlaceOfBirthLocation$inboundSchema)),
|
|
992
|
+
});
|
|
993
|
+
function fetchInteractionDocumentPlaceOfBirthFromJSON(jsonString) {
|
|
994
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentPlaceOfBirth$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentPlaceOfBirth' from JSON`);
|
|
995
|
+
}
|
|
996
|
+
/** @internal */
|
|
997
|
+
exports.FetchInteractionDocumentIdNumber$inboundSchema = z.object({
|
|
998
|
+
type: types.string(),
|
|
999
|
+
idNumber: types.string(),
|
|
1000
|
+
country: types.optional(types.string()),
|
|
1001
|
+
});
|
|
1002
|
+
function fetchInteractionDocumentIdNumberFromJSON(jsonString) {
|
|
1003
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentIdNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentIdNumber' from JSON`);
|
|
1004
|
+
}
|
|
1005
|
+
/** @internal */
|
|
1006
|
+
exports.FetchInteractionDocumentPhone$inboundSchema = z.object({
|
|
1007
|
+
type: types.string(),
|
|
1008
|
+
number: types.string(),
|
|
1009
|
+
});
|
|
1010
|
+
function fetchInteractionDocumentPhoneFromJSON(jsonString) {
|
|
1011
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentPhone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentPhone' from JSON`);
|
|
1012
|
+
}
|
|
1013
|
+
/** @internal */
|
|
1014
|
+
exports.FetchInteractionDocumentEmail$inboundSchema = z.object({
|
|
1015
|
+
type: types.string(),
|
|
1016
|
+
email: types.string(),
|
|
1017
|
+
});
|
|
1018
|
+
function fetchInteractionDocumentEmailFromJSON(jsonString) {
|
|
1019
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentEmail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentEmail' from JSON`);
|
|
1020
|
+
}
|
|
1021
|
+
/** @internal */
|
|
1022
|
+
exports.FetchInteractionDocumentSocial$inboundSchema = z.object({
|
|
1023
|
+
type: types.string(),
|
|
1024
|
+
identity: types.string(),
|
|
1025
|
+
});
|
|
1026
|
+
function fetchInteractionDocumentSocialFromJSON(jsonString) {
|
|
1027
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentSocial$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentSocial' from JSON`);
|
|
1028
|
+
}
|
|
1029
|
+
/** @internal */
|
|
1030
|
+
exports.FetchInteractionDocumentSubject$inboundSchema = z.object({
|
|
1031
|
+
title: types.optional(types.string()),
|
|
1032
|
+
firstName: types.optional(types.string()),
|
|
1033
|
+
middleNames: types.optional(z.array(types.string())),
|
|
1034
|
+
lastNames: types.optional(z.array(types.string())),
|
|
1035
|
+
lastNamesAtBirth: types.optional(z.array(types.string())),
|
|
1036
|
+
aliases: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocumentAlias$inboundSchema))),
|
|
1037
|
+
relatedPersons: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocumentRelatedPerson$inboundSchema))),
|
|
1038
|
+
dateOfBirth: types.optional(types.string()),
|
|
1039
|
+
gender: types.optional(types.string()),
|
|
1040
|
+
currentAddress: types.optional(z.lazy(() => exports.FetchInteractionDocumentCurrentAddress$inboundSchema)),
|
|
1041
|
+
previousAddresses: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocumentPreviousAddress$inboundSchema))),
|
|
1042
|
+
placeOfBirth: types.optional(z.lazy(() => exports.FetchInteractionDocumentPlaceOfBirth$inboundSchema)),
|
|
1043
|
+
idNumbers: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocumentIdNumber$inboundSchema))),
|
|
1044
|
+
phones: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocumentPhone$inboundSchema))),
|
|
1045
|
+
emails: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocumentEmail$inboundSchema))),
|
|
1046
|
+
socials: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocumentSocial$inboundSchema))),
|
|
1047
|
+
mothersMaidenName: types.optional(types.string()),
|
|
1048
|
+
});
|
|
1049
|
+
function fetchInteractionDocumentSubjectFromJSON(jsonString) {
|
|
1050
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocumentSubject$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocumentSubject' from JSON`);
|
|
1051
|
+
}
|
|
1052
|
+
/** @internal */
|
|
1053
|
+
exports.FetchInteractionDocument$inboundSchema = z.object({
|
|
1054
|
+
oneDBarcode: types.optional(types.string()),
|
|
1055
|
+
address: types.optional(z.lazy(() => exports.FetchInteractionAddress$inboundSchema)),
|
|
1056
|
+
applicationDate: types.optional(types.string()),
|
|
1057
|
+
applicationNumber: types.optional(types.string()),
|
|
1058
|
+
dateOfBirth: types.optional(types.string()),
|
|
1059
|
+
placeOfBirth: types.optional(types.string()),
|
|
1060
|
+
placeOfBirthNative: types.optional(types.string()),
|
|
1061
|
+
bloodType: types.optional(types.string()),
|
|
1062
|
+
controlNumber: types.optional(types.string()),
|
|
1063
|
+
countryCode: types.optional(types.string()),
|
|
1064
|
+
countryName: types.optional(types.string()),
|
|
1065
|
+
documentClassCode: types.optional(types.string()),
|
|
1066
|
+
documentClassName: types.optional(types.string()),
|
|
1067
|
+
documentNumber: types.optional(types.string()),
|
|
1068
|
+
documentSignerCertificate: types.optional(types.string()),
|
|
1069
|
+
employer: types.optional(types.string()),
|
|
1070
|
+
employerAddress: types.optional(types.string()),
|
|
1071
|
+
entries: types.optional(types.string()),
|
|
1072
|
+
expirationDate: types.optional(types.string()),
|
|
1073
|
+
eyeColor: types.optional(types.string()),
|
|
1074
|
+
fathersName: types.optional(types.string()),
|
|
1075
|
+
fathersNameNative: types.optional(types.string()),
|
|
1076
|
+
fathersSurname: types.optional(types.string()),
|
|
1077
|
+
firstName: types.optional(types.string()),
|
|
1078
|
+
fullName: types.optional(types.string()),
|
|
1079
|
+
fullNameNative: types.optional(types.string()),
|
|
1080
|
+
givenName: types.optional(types.string()),
|
|
1081
|
+
givenNameNative: types.optional(types.string()),
|
|
1082
|
+
hairColor: types.optional(types.string()),
|
|
1083
|
+
height: types.optional(types.string()),
|
|
1084
|
+
issueDate: types.optional(types.string()),
|
|
1085
|
+
issuingAuthority: types.optional(types.string()),
|
|
1086
|
+
issuingAuthorityNative: types.optional(types.string()),
|
|
1087
|
+
issuingStateCode: types.optional(types.string()),
|
|
1088
|
+
issuingStateName: types.optional(types.string()),
|
|
1089
|
+
licenseClass: types.optional(types.string()),
|
|
1090
|
+
licenseEndorsements: types.optional(types.string()),
|
|
1091
|
+
licenseRestrictions: types.optional(types.string()),
|
|
1092
|
+
mrz: types.optional(types.string()),
|
|
1093
|
+
mrz1: types.optional(types.string()),
|
|
1094
|
+
mrz2: types.optional(types.string()),
|
|
1095
|
+
mrz3: types.optional(types.string()),
|
|
1096
|
+
middleName: types.optional(types.string()),
|
|
1097
|
+
mothersName: types.optional(types.string()),
|
|
1098
|
+
mothersNameNative: types.optional(types.string()),
|
|
1099
|
+
mothersSurname: types.optional(types.string()),
|
|
1100
|
+
nameSuffix: types.optional(types.string()),
|
|
1101
|
+
nationalityCode: types.optional(types.string()),
|
|
1102
|
+
nationalityName: types.optional(types.string()),
|
|
1103
|
+
nationalityNameNative: types.optional(types.string()),
|
|
1104
|
+
occupation: types.optional(types.string()),
|
|
1105
|
+
organDonor: types.optional(types.boolean()),
|
|
1106
|
+
passportNumber: types.optional(types.string()),
|
|
1107
|
+
permitNumber: types.optional(types.string()),
|
|
1108
|
+
personalNumber: types.optional(types.string()),
|
|
1109
|
+
photo: types.optional(types.string()),
|
|
1110
|
+
photoCompressed: types.optional(types.string()),
|
|
1111
|
+
photoEncoding: types.optional(types.string()),
|
|
1112
|
+
sex: types.optional(types.string()),
|
|
1113
|
+
sexNative: types.optional(types.string()),
|
|
1114
|
+
signature: types.optional(types.string()),
|
|
1115
|
+
signatureCompressed: types.optional(types.string()),
|
|
1116
|
+
signatureEncoding: types.optional(types.string()),
|
|
1117
|
+
socialSecurityNumber: types.optional(types.string()),
|
|
1118
|
+
startDate: types.optional(types.string()),
|
|
1119
|
+
surname: types.optional(types.string()),
|
|
1120
|
+
surnameNative: types.optional(types.string()),
|
|
1121
|
+
visaClass: types.optional(types.string()),
|
|
1122
|
+
visaNumber: types.optional(types.string()),
|
|
1123
|
+
weight: types.optional(types.string()),
|
|
1124
|
+
cardNumber: types.optional(types.string()),
|
|
1125
|
+
issuerCountryCode: types.optional(types.string()),
|
|
1126
|
+
id: types.optional(types.string()),
|
|
1127
|
+
type: types.optional(types.string()),
|
|
1128
|
+
category: types.optional(types.string()),
|
|
1129
|
+
subtype: types.optional(types.string()),
|
|
1130
|
+
format: types.optional(types.string()),
|
|
1131
|
+
device: types.optional(z.lazy(() => exports.FetchInteractionDocumentDevice$inboundSchema)),
|
|
1132
|
+
side1Image: types.optional(types.string()),
|
|
1133
|
+
side2Image: types.optional(types.string()),
|
|
1134
|
+
chip: types.optional(z.lazy(() => exports.FetchInteractionChip$inboundSchema)),
|
|
1135
|
+
classification: types.optional(z.lazy(() => exports.FetchInteractionClassification$inboundSchema)),
|
|
1136
|
+
extraction: types.optional(z.lazy(() => exports.FetchInteractionExtraction$inboundSchema)),
|
|
1137
|
+
validation: types.optional(z.lazy(() => exports.FetchInteractionValidation$inboundSchema)),
|
|
1138
|
+
subType: types.optional(types.string()),
|
|
1139
|
+
number: types.optional(types.string()),
|
|
1140
|
+
expiryDate: types.optional(types.string()),
|
|
1141
|
+
subject: types.optional(z.lazy(() => exports.FetchInteractionDocumentSubject$inboundSchema)),
|
|
1142
|
+
country: types.optional(types.string()),
|
|
1143
|
+
});
|
|
1144
|
+
function fetchInteractionDocumentFromJSON(jsonString) {
|
|
1145
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionDocument$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionDocument' from JSON`);
|
|
1146
|
+
}
|
|
1147
|
+
/** @internal */
|
|
1148
|
+
exports.FetchInteractionBiometric4$inboundSchema = z.object({
|
|
1149
|
+
id: types.optional(types.string()),
|
|
1150
|
+
type: types.optional(types.string()),
|
|
1151
|
+
selfieImage: types.string(),
|
|
1152
|
+
anchorImage: types.string(),
|
|
1153
|
+
});
|
|
1154
|
+
function fetchInteractionBiometric4FromJSON(jsonString) {
|
|
1155
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionBiometric4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionBiometric4' from JSON`);
|
|
1156
|
+
}
|
|
1157
|
+
/** @internal */
|
|
1158
|
+
exports.FetchInteractionBiometric3$inboundSchema = z.object({
|
|
1159
|
+
id: types.optional(types.string()),
|
|
1160
|
+
type: types.optional(types.string()),
|
|
1161
|
+
selfieImage: types.string(),
|
|
1162
|
+
selfieImageEncryption: types.optional(types.boolean()),
|
|
1163
|
+
});
|
|
1164
|
+
function fetchInteractionBiometric3FromJSON(jsonString) {
|
|
1165
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionBiometric3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionBiometric3' from JSON`);
|
|
1166
|
+
}
|
|
1167
|
+
/** @internal */
|
|
1168
|
+
exports.FetchInteractionBiometric2$inboundSchema = z.object({
|
|
1169
|
+
id: types.optional(types.string()),
|
|
1170
|
+
type: types.optional(types.string()),
|
|
1171
|
+
face1Image: types.string(),
|
|
1172
|
+
face2Image: types.string(),
|
|
1173
|
+
});
|
|
1174
|
+
function fetchInteractionBiometric2FromJSON(jsonString) {
|
|
1175
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionBiometric2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionBiometric2' from JSON`);
|
|
1176
|
+
}
|
|
1177
|
+
/** @internal */
|
|
1178
|
+
exports.FetchInteractionBiometric1$inboundSchema = z.object({
|
|
1179
|
+
id: types.optional(types.string()),
|
|
1180
|
+
type: types.optional(types.string()),
|
|
1181
|
+
faceImage: types.string(),
|
|
1182
|
+
});
|
|
1183
|
+
function fetchInteractionBiometric1FromJSON(jsonString) {
|
|
1184
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionBiometric1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionBiometric1' from JSON`);
|
|
1185
|
+
}
|
|
1186
|
+
/** @internal */
|
|
1187
|
+
exports.FetchInteractionBiometricUnion$inboundSchema = (0, smart_union_js_1.smartUnion)([
|
|
1188
|
+
z.lazy(() => exports.FetchInteractionBiometric2$inboundSchema),
|
|
1189
|
+
z.lazy(() => exports.FetchInteractionBiometric4$inboundSchema),
|
|
1190
|
+
z.lazy(() => exports.FetchInteractionBiometric1$inboundSchema),
|
|
1191
|
+
z.lazy(() => exports.FetchInteractionBiometric3$inboundSchema),
|
|
1192
|
+
]);
|
|
1193
|
+
function fetchInteractionBiometricUnionFromJSON(jsonString) {
|
|
1194
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionBiometricUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionBiometricUnion' from JSON`);
|
|
1195
|
+
}
|
|
1196
|
+
/** @internal */
|
|
1197
|
+
exports.FetchInteractionUser$inboundSchema = z.object({
|
|
1198
|
+
id: types.string(),
|
|
1199
|
+
email: types.string(),
|
|
1200
|
+
domain: types.string(),
|
|
1201
|
+
});
|
|
1202
|
+
function fetchInteractionUserFromJSON(jsonString) {
|
|
1203
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionUser$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionUser' from JSON`);
|
|
1204
|
+
}
|
|
1205
|
+
/** @internal */
|
|
1206
|
+
exports.FetchInteractionClient$inboundSchema = z.object({
|
|
1207
|
+
id: types.string(),
|
|
1208
|
+
ip: types.string(),
|
|
1209
|
+
address: types.string(),
|
|
1210
|
+
});
|
|
1211
|
+
function fetchInteractionClientFromJSON(jsonString) {
|
|
1212
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionClient$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionClient' from JSON`);
|
|
1213
|
+
}
|
|
1214
|
+
/** @internal */
|
|
1215
|
+
exports.FetchInteractionModel$inboundSchema = z.object({
|
|
1216
|
+
identifier: types.string(),
|
|
1217
|
+
name: types.string(),
|
|
1218
|
+
});
|
|
1219
|
+
function fetchInteractionModelFromJSON(jsonString) {
|
|
1220
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionModel' from JSON`);
|
|
1221
|
+
}
|
|
1222
|
+
/** @internal */
|
|
1223
|
+
exports.FetchInteractionSessionDevice$inboundSchema = z.object({
|
|
1224
|
+
id: types.string(),
|
|
1225
|
+
manufacturer: types.string(),
|
|
1226
|
+
model: z.lazy(() => exports.FetchInteractionModel$inboundSchema),
|
|
1227
|
+
});
|
|
1228
|
+
function fetchInteractionSessionDeviceFromJSON(jsonString) {
|
|
1229
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionSessionDevice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionSessionDevice' from JSON`);
|
|
1230
|
+
}
|
|
1231
|
+
/** @internal */
|
|
1232
|
+
exports.FetchInteractionTrace$inboundSchema = z.object({
|
|
1233
|
+
id: types.string(),
|
|
1234
|
+
});
|
|
1235
|
+
function fetchInteractionTraceFromJSON(jsonString) {
|
|
1236
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionTrace$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionTrace' from JSON`);
|
|
1237
|
+
}
|
|
1238
|
+
/** @internal */
|
|
1239
|
+
exports.FetchInteractionSpan$inboundSchema = z.object({
|
|
1240
|
+
id: types.string(),
|
|
1241
|
+
});
|
|
1242
|
+
function fetchInteractionSpanFromJSON(jsonString) {
|
|
1243
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionSpan$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionSpan' from JSON`);
|
|
1244
|
+
}
|
|
1245
|
+
/** @internal */
|
|
1246
|
+
exports.FetchInteractionTransaction$inboundSchema = z.object({
|
|
1247
|
+
id: types.string(),
|
|
1248
|
+
});
|
|
1249
|
+
function fetchInteractionTransactionFromJSON(jsonString) {
|
|
1250
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionTransaction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionTransaction' from JSON`);
|
|
1251
|
+
}
|
|
1252
|
+
/** @internal */
|
|
1253
|
+
exports.FetchInteractionSessionAuth$inboundSchema = z.object({
|
|
1254
|
+
id: types.string(),
|
|
1255
|
+
scope: types.optional(types.string()),
|
|
1256
|
+
codeVerifier: types.optional(types.string()),
|
|
1257
|
+
code: types.optional(types.string()),
|
|
1258
|
+
state: types.optional(types.string()),
|
|
1259
|
+
redirectUri: types.optional(types.string()),
|
|
1260
|
+
responseType: types.optional(types.string()),
|
|
1261
|
+
clientId: types.optional(types.string()),
|
|
1262
|
+
clientSecret: types.optional(types.string()),
|
|
1263
|
+
});
|
|
1264
|
+
function fetchInteractionSessionAuthFromJSON(jsonString) {
|
|
1265
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionSessionAuth$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionSessionAuth' from JSON`);
|
|
1266
|
+
}
|
|
1267
|
+
/** @internal */
|
|
1268
|
+
exports.FetchInteractionSession$inboundSchema = z.object({
|
|
1269
|
+
user: types.optional(z.lazy(() => exports.FetchInteractionUser$inboundSchema)),
|
|
1270
|
+
client: types.optional(z.lazy(() => exports.FetchInteractionClient$inboundSchema)),
|
|
1271
|
+
device: types.optional(z.lazy(() => exports.FetchInteractionSessionDevice$inboundSchema)),
|
|
1272
|
+
trace: types.optional(z.lazy(() => exports.FetchInteractionTrace$inboundSchema)),
|
|
1273
|
+
span: types.optional(z.lazy(() => exports.FetchInteractionSpan$inboundSchema)),
|
|
1274
|
+
transaction: types.optional(z.lazy(() => exports.FetchInteractionTransaction$inboundSchema)),
|
|
1275
|
+
auth: types.optional(z.array(z.lazy(() => exports.FetchInteractionSessionAuth$inboundSchema))),
|
|
1276
|
+
});
|
|
1277
|
+
function fetchInteractionSessionFromJSON(jsonString) {
|
|
1278
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionSession$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionSession' from JSON`);
|
|
1279
|
+
}
|
|
1280
|
+
/** @internal */
|
|
1281
|
+
exports.FetchInteractionConsentType$inboundSchema = openEnums.inboundSchema(exports.FetchInteractionConsentType);
|
|
1282
|
+
/** @internal */
|
|
1283
|
+
exports.FetchInteractionConsent$inboundSchema = z.object({
|
|
1284
|
+
type: types.optional(exports.FetchInteractionConsentType$inboundSchema),
|
|
1285
|
+
id: types.optional(types.string()),
|
|
1286
|
+
version: types.optional(types.string()),
|
|
1287
|
+
url: types.string(),
|
|
1288
|
+
effectiveDate: types.optional(types.string()),
|
|
1289
|
+
expiryDate: types.optional(types.string()),
|
|
1290
|
+
terms: types.optional(types.string()),
|
|
1291
|
+
purpose: types.optional(types.string()),
|
|
1292
|
+
legalBasis: types.optional(types.string()),
|
|
1293
|
+
jurisdiction: types.optional(types.string()),
|
|
1294
|
+
subject: types.optional(types.string()),
|
|
1295
|
+
signatory: types.optional(types.string()),
|
|
1296
|
+
});
|
|
1297
|
+
function fetchInteractionConsentFromJSON(jsonString) {
|
|
1298
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionConsent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionConsent' from JSON`);
|
|
1299
|
+
}
|
|
1300
|
+
/** @internal */
|
|
1301
|
+
exports.FetchInteractionSubject$inboundSchema = z.object({
|
|
1302
|
+
identity: types.optional(z.lazy(() => exports.FetchInteractionIdentity$inboundSchema)),
|
|
1303
|
+
documents: types.optional(z.array(z.lazy(() => exports.FetchInteractionDocument$inboundSchema))),
|
|
1304
|
+
biometrics: types.optional(z.array((0, smart_union_js_1.smartUnion)([
|
|
1305
|
+
z.lazy(() => exports.FetchInteractionBiometric2$inboundSchema),
|
|
1306
|
+
z.lazy(() => exports.FetchInteractionBiometric4$inboundSchema),
|
|
1307
|
+
z.lazy(() => exports.FetchInteractionBiometric1$inboundSchema),
|
|
1308
|
+
z.lazy(() => exports.FetchInteractionBiometric3$inboundSchema),
|
|
1309
|
+
]))),
|
|
1310
|
+
sessions: types.optional(z.array(z.lazy(() => exports.FetchInteractionSession$inboundSchema))),
|
|
1311
|
+
consent: types.optional(z.array(z.lazy(() => exports.FetchInteractionConsent$inboundSchema))),
|
|
1312
|
+
uid: types.optional(types.string()),
|
|
1313
|
+
});
|
|
1314
|
+
function fetchInteractionSubjectFromJSON(jsonString) {
|
|
1315
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionSubject$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionSubject' from JSON`);
|
|
1316
|
+
}
|
|
1317
|
+
/** @internal */
|
|
1318
|
+
exports.FetchInteractionContext$inboundSchema = z.object({
|
|
1319
|
+
subject: types.optional(z.lazy(() => exports.FetchInteractionSubject$inboundSchema)),
|
|
1320
|
+
});
|
|
1321
|
+
function fetchInteractionContextFromJSON(jsonString) {
|
|
1322
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionContext$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionContext' from JSON`);
|
|
1323
|
+
}
|
|
1324
|
+
/** @internal */
|
|
1325
|
+
exports.ResponseBody$inboundSchema = z.object({
|
|
1326
|
+
instanceId: types.string(),
|
|
1327
|
+
interactionId: types.string(),
|
|
1328
|
+
journey: z.lazy(() => exports.Journey$inboundSchema),
|
|
1329
|
+
interaction: z.lazy(() => exports.Interaction$inboundSchema),
|
|
1330
|
+
context: z.lazy(() => exports.FetchInteractionContext$inboundSchema),
|
|
1331
|
+
instructions: types.optional(z.array(types.string())),
|
|
1332
|
+
outstanding: types.optional(z.array(types.string())),
|
|
1333
|
+
});
|
|
1334
|
+
function responseBodyFromJSON(jsonString) {
|
|
1335
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseBody' from JSON`);
|
|
1336
|
+
}
|
|
1337
|
+
/** @internal */
|
|
1338
|
+
exports.FetchInteractionResponse$inboundSchema = (0, smart_union_js_1.smartUnion)([
|
|
1339
|
+
z.lazy(() => exports.ResponseBody$inboundSchema),
|
|
1340
|
+
z.lazy(() => exports.FetchInteractionError$inboundSchema),
|
|
1341
|
+
]);
|
|
1342
|
+
function fetchInteractionResponseFromJSON(jsonString) {
|
|
1343
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FetchInteractionResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchInteractionResponse' from JSON`);
|
|
1344
|
+
}
|
|
1345
|
+
//# sourceMappingURL=fetch-interaction.js.map
|