@continuous-labs/sdk 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +87 -0
- package/LICENSE +21 -0
- package/README.md +493 -0
- package/RUNTIMES.md +48 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/funcs/simulations-create-simulation.d.ts +18 -0
- package/esm/funcs/simulations-create-simulation.d.ts.map +1 -0
- package/esm/funcs/simulations-create-simulation.js +86 -0
- package/esm/funcs/simulations-create-simulation.js.map +1 -0
- package/esm/funcs/simulations-delete-simulation.d.ts +18 -0
- package/esm/funcs/simulations-delete-simulation.d.ts.map +1 -0
- package/esm/funcs/simulations-delete-simulation.js +93 -0
- package/esm/funcs/simulations-delete-simulation.js.map +1 -0
- package/esm/funcs/simulations-fork-simulation.d.ts +19 -0
- package/esm/funcs/simulations-fork-simulation.d.ts.map +1 -0
- package/esm/funcs/simulations-fork-simulation.js +93 -0
- package/esm/funcs/simulations-fork-simulation.js.map +1 -0
- package/esm/funcs/simulations-get-simulation.d.ts +19 -0
- package/esm/funcs/simulations-get-simulation.d.ts.map +1 -0
- package/esm/funcs/simulations-get-simulation.js +94 -0
- package/esm/funcs/simulations-get-simulation.js.map +1 -0
- package/esm/funcs/simulations-list-simulation-steps.d.ts +19 -0
- package/esm/funcs/simulations-list-simulation-steps.d.ts.map +1 -0
- package/esm/funcs/simulations-list-simulation-steps.js +99 -0
- package/esm/funcs/simulations-list-simulation-steps.js.map +1 -0
- package/esm/funcs/simulations-list-simulations.d.ts +19 -0
- package/esm/funcs/simulations-list-simulations.d.ts.map +1 -0
- package/esm/funcs/simulations-list-simulations.js +95 -0
- package/esm/funcs/simulations-list-simulations.js.map +1 -0
- package/esm/funcs/simulations-mint-simulation-token.d.ts +19 -0
- package/esm/funcs/simulations-mint-simulation-token.d.ts.map +1 -0
- package/esm/funcs/simulations-mint-simulation-token.js +93 -0
- package/esm/funcs/simulations-mint-simulation-token.js.map +1 -0
- package/esm/funcs/simulations-start-simulation.d.ts +19 -0
- package/esm/funcs/simulations-start-simulation.d.ts.map +1 -0
- package/esm/funcs/simulations-start-simulation.js +94 -0
- package/esm/funcs/simulations-start-simulation.js.map +1 -0
- package/esm/funcs/simulations-stop-simulation.d.ts +19 -0
- package/esm/funcs/simulations-stop-simulation.d.ts.map +1 -0
- package/esm/funcs/simulations-stop-simulation.js +94 -0
- package/esm/funcs/simulations-stop-simulation.js.map +1 -0
- package/esm/funcs/simulators-build-simulator.d.ts +19 -0
- package/esm/funcs/simulators-build-simulator.d.ts.map +1 -0
- package/esm/funcs/simulators-build-simulator.js +109 -0
- package/esm/funcs/simulators-build-simulator.js.map +1 -0
- package/esm/funcs/simulators-cancel-simulator-build.d.ts +19 -0
- package/esm/funcs/simulators-cancel-simulator-build.d.ts.map +1 -0
- package/esm/funcs/simulators-cancel-simulator-build.js +94 -0
- package/esm/funcs/simulators-cancel-simulator-build.js.map +1 -0
- package/esm/funcs/simulators-delete-simulator.d.ts +18 -0
- package/esm/funcs/simulators-delete-simulator.d.ts.map +1 -0
- package/esm/funcs/simulators-delete-simulator.js +93 -0
- package/esm/funcs/simulators-delete-simulator.js.map +1 -0
- package/esm/funcs/simulators-get-simulator.d.ts +19 -0
- package/esm/funcs/simulators-get-simulator.d.ts.map +1 -0
- package/esm/funcs/simulators-get-simulator.js +94 -0
- package/esm/funcs/simulators-get-simulator.js.map +1 -0
- package/esm/funcs/simulators-list-simulators.d.ts +19 -0
- package/esm/funcs/simulators-list-simulators.d.ts.map +1 -0
- package/esm/funcs/simulators-list-simulators.js +95 -0
- package/esm/funcs/simulators-list-simulators.js.map +1 -0
- package/esm/funcs/worlds-build-world.d.ts +18 -0
- package/esm/funcs/worlds-build-world.d.ts.map +1 -0
- package/esm/funcs/worlds-build-world.js +86 -0
- package/esm/funcs/worlds-build-world.js.map +1 -0
- package/esm/funcs/worlds-cancel-world-build.d.ts +19 -0
- package/esm/funcs/worlds-cancel-world-build.d.ts.map +1 -0
- package/esm/funcs/worlds-cancel-world-build.js +94 -0
- package/esm/funcs/worlds-cancel-world-build.js.map +1 -0
- package/esm/funcs/worlds-delete-world.d.ts +18 -0
- package/esm/funcs/worlds-delete-world.d.ts.map +1 -0
- package/esm/funcs/worlds-delete-world.js +93 -0
- package/esm/funcs/worlds-delete-world.js.map +1 -0
- package/esm/funcs/worlds-get-world.d.ts +19 -0
- package/esm/funcs/worlds-get-world.d.ts.map +1 -0
- package/esm/funcs/worlds-get-world.js +94 -0
- package/esm/funcs/worlds-get-world.js.map +1 -0
- package/esm/funcs/worlds-list-worlds.d.ts +19 -0
- package/esm/funcs/worlds-list-worlds.d.ts.map +1 -0
- package/esm/funcs/worlds-list-worlds.js +93 -0
- package/esm/funcs/worlds-list-worlds.js.map +1 -0
- package/esm/funcs/worlds-start-world.d.ts +19 -0
- package/esm/funcs/worlds-start-world.d.ts.map +1 -0
- package/esm/funcs/worlds-start-world.js +94 -0
- package/esm/funcs/worlds-start-world.js.map +1 -0
- package/esm/funcs/worlds-stop-world.d.ts +19 -0
- package/esm/funcs/worlds-stop-world.d.ts.map +1 -0
- package/esm/funcs/worlds-stop-world.js +94 -0
- package/esm/funcs/worlds-stop-world.js.map +1 -0
- package/esm/hooks/hooks.d.ts +25 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +82 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/index.d.ts +3 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +6 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/registration.d.ts +3 -0
- package/esm/hooks/registration.d.ts.map +1 -0
- package/esm/hooks/registration.js +12 -0
- package/esm/hooks/registration.js.map +1 -0
- package/esm/hooks/types.d.ts +77 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +31 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +38 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +34 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/encodings.d.ts +55 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +407 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/env.d.ts +15 -0
- package/esm/lib/env.d.ts.map +1 -0
- package/esm/lib/env.js +44 -0
- package/esm/lib/env.js.map +1 -0
- package/esm/lib/files.d.ts +26 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +91 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +209 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +59 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +202 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +27 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +120 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +157 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +21 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +57 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +63 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +294 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +84 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +147 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +24 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/models/build-simulator-request.d.ts +67 -0
- package/esm/models/build-simulator-request.d.ts.map +1 -0
- package/esm/models/build-simulator-request.js +41 -0
- package/esm/models/build-simulator-request.js.map +1 -0
- package/esm/models/build-world-request.d.ts +20 -0
- package/esm/models/build-world-request.d.ts.map +1 -0
- package/esm/models/build-world-request.js +13 -0
- package/esm/models/build-world-request.js.map +1 -0
- package/esm/models/create-simulation-request.d.ts +20 -0
- package/esm/models/create-simulation-request.d.ts.map +1 -0
- package/esm/models/create-simulation-request.js +18 -0
- package/esm/models/create-simulation-request.js.map +1 -0
- package/esm/models/created-simulation.d.ts +60 -0
- package/esm/models/created-simulation.d.ts.map +1 -0
- package/esm/models/created-simulation.js +41 -0
- package/esm/models/created-simulation.js.map +1 -0
- package/esm/models/errors/continuous-default-error.d.ts +10 -0
- package/esm/models/errors/continuous-default-error.d.ts.map +1 -0
- package/esm/models/errors/continuous-default-error.js +30 -0
- package/esm/models/errors/continuous-default-error.js.map +1 -0
- package/esm/models/errors/continuous-error.d.ts +19 -0
- package/esm/models/errors/continuous-error.d.ts.map +1 -0
- package/esm/models/errors/continuous-error.js +26 -0
- package/esm/models/errors/continuous-error.js.map +1 -0
- package/esm/models/errors/continuous-simulation-default-error.d.ts +10 -0
- package/esm/models/errors/continuous-simulation-default-error.d.ts.map +1 -0
- package/esm/models/errors/continuous-simulation-default-error.js +30 -0
- package/esm/models/errors/continuous-simulation-default-error.js.map +1 -0
- package/esm/models/errors/continuous-simulation-error.d.ts +19 -0
- package/esm/models/errors/continuous-simulation-error.d.ts.map +1 -0
- package/esm/models/errors/continuous-simulation-error.js +26 -0
- package/esm/models/errors/continuous-simulation-error.js.map +1 -0
- package/esm/models/errors/error.d.ts +32 -0
- package/esm/models/errors/error.d.ts.map +1 -0
- package/esm/models/errors/error.js +43 -0
- package/esm/models/errors/error.js.map +1 -0
- package/esm/models/errors/http-client-errors.d.ts +44 -0
- package/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/esm/models/errors/http-client-errors.js +56 -0
- package/esm/models/errors/http-client-errors.js.map +1 -0
- package/esm/models/errors/index.d.ts +7 -0
- package/esm/models/errors/index.d.ts.map +1 -0
- package/esm/models/errors/index.js +10 -0
- package/esm/models/errors/index.js.map +1 -0
- package/esm/models/errors/response-validation-error.d.ts +26 -0
- package/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/esm/models/errors/response-validation-error.js +37 -0
- package/esm/models/errors/response-validation-error.js.map +1 -0
- package/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/esm/models/errors/sdk-validation-error.js +52 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/esm/models/fork-simulation-request.d.ts +20 -0
- package/esm/models/fork-simulation-request.d.ts.map +1 -0
- package/esm/models/fork-simulation-request.js +18 -0
- package/esm/models/fork-simulation-request.js.map +1 -0
- package/esm/models/index.d.ts +19 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +22 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/list-simulation-steps-response.d.ts +18 -0
- package/esm/models/list-simulation-steps-response.d.ts.map +1 -0
- package/esm/models/list-simulation-steps-response.js +21 -0
- package/esm/models/list-simulation-steps-response.js.map +1 -0
- package/esm/models/list-simulations-response.d.ts +18 -0
- package/esm/models/list-simulations-response.d.ts.map +1 -0
- package/esm/models/list-simulations-response.js +21 -0
- package/esm/models/list-simulations-response.js.map +1 -0
- package/esm/models/list-simulators-response.d.ts +18 -0
- package/esm/models/list-simulators-response.d.ts.map +1 -0
- package/esm/models/list-simulators-response.js +21 -0
- package/esm/models/list-simulators-response.js.map +1 -0
- package/esm/models/list-worlds-response.d.ts +18 -0
- package/esm/models/list-worlds-response.d.ts.map +1 -0
- package/esm/models/list-worlds-response.js +21 -0
- package/esm/models/list-worlds-response.js.map +1 -0
- package/esm/models/mint-simulation-token-request.d.ts +15 -0
- package/esm/models/mint-simulation-token-request.d.ts.map +1 -0
- package/esm/models/mint-simulation-token-request.js +17 -0
- package/esm/models/mint-simulation-token-request.js.map +1 -0
- package/esm/models/operations/build-simulator.d.ts +30 -0
- package/esm/models/operations/build-simulator.d.ts.map +1 -0
- package/esm/models/operations/build-simulator.js +28 -0
- package/esm/models/operations/build-simulator.js.map +1 -0
- package/esm/models/operations/cancel-simulator-build.d.ts +15 -0
- package/esm/models/operations/cancel-simulator-build.d.ts.map +1 -0
- package/esm/models/operations/cancel-simulator-build.js +12 -0
- package/esm/models/operations/cancel-simulator-build.js.map +1 -0
- package/esm/models/operations/cancel-world-build.d.ts +15 -0
- package/esm/models/operations/cancel-world-build.d.ts.map +1 -0
- package/esm/models/operations/cancel-world-build.js +12 -0
- package/esm/models/operations/cancel-world-build.js.map +1 -0
- package/esm/models/operations/delete-simulation.d.ts +15 -0
- package/esm/models/operations/delete-simulation.d.ts.map +1 -0
- package/esm/models/operations/delete-simulation.js +12 -0
- package/esm/models/operations/delete-simulation.js.map +1 -0
- package/esm/models/operations/delete-simulator.d.ts +15 -0
- package/esm/models/operations/delete-simulator.d.ts.map +1 -0
- package/esm/models/operations/delete-simulator.js +12 -0
- package/esm/models/operations/delete-simulator.js.map +1 -0
- package/esm/models/operations/delete-world.d.ts +15 -0
- package/esm/models/operations/delete-world.d.ts.map +1 -0
- package/esm/models/operations/delete-world.js +12 -0
- package/esm/models/operations/delete-world.js.map +1 -0
- package/esm/models/operations/fork-simulation.d.ts +18 -0
- package/esm/models/operations/fork-simulation.d.ts.map +1 -0
- package/esm/models/operations/fork-simulation.js +14 -0
- package/esm/models/operations/fork-simulation.js.map +1 -0
- package/esm/models/operations/get-simulation.d.ts +15 -0
- package/esm/models/operations/get-simulation.d.ts.map +1 -0
- package/esm/models/operations/get-simulation.js +12 -0
- package/esm/models/operations/get-simulation.js.map +1 -0
- package/esm/models/operations/get-simulator.d.ts +15 -0
- package/esm/models/operations/get-simulator.d.ts.map +1 -0
- package/esm/models/operations/get-simulator.js +12 -0
- package/esm/models/operations/get-simulator.js.map +1 -0
- package/esm/models/operations/get-world.d.ts +15 -0
- package/esm/models/operations/get-world.d.ts.map +1 -0
- package/esm/models/operations/get-world.js +12 -0
- package/esm/models/operations/get-world.js.map +1 -0
- package/esm/models/operations/index.d.ts +20 -0
- package/esm/models/operations/index.d.ts.map +1 -0
- package/esm/models/operations/index.js +23 -0
- package/esm/models/operations/index.js.map +1 -0
- package/esm/models/operations/list-simulation-steps.d.ts +25 -0
- package/esm/models/operations/list-simulation-steps.d.ts.map +1 -0
- package/esm/models/operations/list-simulation-steps.js +14 -0
- package/esm/models/operations/list-simulation-steps.js.map +1 -0
- package/esm/models/operations/list-simulations.d.ts +45 -0
- package/esm/models/operations/list-simulations.d.ts.map +1 -0
- package/esm/models/operations/list-simulations.js +30 -0
- package/esm/models/operations/list-simulations.js.map +1 -0
- package/esm/models/operations/list-simulators.d.ts +46 -0
- package/esm/models/operations/list-simulators.d.ts.map +1 -0
- package/esm/models/operations/list-simulators.js +26 -0
- package/esm/models/operations/list-simulators.js.map +1 -0
- package/esm/models/operations/list-worlds.d.ts +20 -0
- package/esm/models/operations/list-worlds.d.ts.map +1 -0
- package/esm/models/operations/list-worlds.js +13 -0
- package/esm/models/operations/list-worlds.js.map +1 -0
- package/esm/models/operations/mint-simulation-token.d.ts +18 -0
- package/esm/models/operations/mint-simulation-token.d.ts.map +1 -0
- package/esm/models/operations/mint-simulation-token.js +14 -0
- package/esm/models/operations/mint-simulation-token.js.map +1 -0
- package/esm/models/operations/start-simulation.d.ts +15 -0
- package/esm/models/operations/start-simulation.d.ts.map +1 -0
- package/esm/models/operations/start-simulation.js +12 -0
- package/esm/models/operations/start-simulation.js.map +1 -0
- package/esm/models/operations/start-world.d.ts +15 -0
- package/esm/models/operations/start-world.d.ts.map +1 -0
- package/esm/models/operations/start-world.js +12 -0
- package/esm/models/operations/start-world.js.map +1 -0
- package/esm/models/operations/stop-simulation.d.ts +15 -0
- package/esm/models/operations/stop-simulation.d.ts.map +1 -0
- package/esm/models/operations/stop-simulation.js +12 -0
- package/esm/models/operations/stop-simulation.js.map +1 -0
- package/esm/models/operations/stop-world.d.ts +15 -0
- package/esm/models/operations/stop-world.d.ts.map +1 -0
- package/esm/models/operations/stop-world.js +12 -0
- package/esm/models/operations/stop-world.js.map +1 -0
- package/esm/models/resource-error.d.ts +17 -0
- package/esm/models/resource-error.d.ts.map +1 -0
- package/esm/models/resource-error.js +15 -0
- package/esm/models/resource-error.js.map +1 -0
- package/esm/models/security.d.ts +12 -0
- package/esm/models/security.d.ts.map +1 -0
- package/esm/models/security.js +12 -0
- package/esm/models/security.js.map +1 -0
- package/esm/models/simulation-token.d.ts +17 -0
- package/esm/models/simulation-token.d.ts.map +1 -0
- package/esm/models/simulation-token.js +20 -0
- package/esm/models/simulation-token.js.map +1 -0
- package/esm/models/simulation.d.ts +52 -0
- package/esm/models/simulation.d.ts.map +1 -0
- package/esm/models/simulation.js +39 -0
- package/esm/models/simulation.js.map +1 -0
- package/esm/models/simulator.d.ts +64 -0
- package/esm/models/simulator.d.ts.map +1 -0
- package/esm/models/simulator.js +50 -0
- package/esm/models/simulator.js.map +1 -0
- package/esm/models/step.d.ts +17 -0
- package/esm/models/step.d.ts.map +1 -0
- package/esm/models/step.js +15 -0
- package/esm/models/step.js.map +1 -0
- package/esm/models/world-simulation.d.ts +17 -0
- package/esm/models/world-simulation.d.ts.map +1 -0
- package/esm/models/world-simulation.js +20 -0
- package/esm/models/world-simulation.js.map +1 -0
- package/esm/models/world.d.ts +54 -0
- package/esm/models/world.d.ts.map +1 -0
- package/esm/models/world.js +41 -0
- package/esm/models/world.js.map +1 -0
- package/esm/sdk/index.d.ts +2 -0
- package/esm/sdk/index.d.ts.map +1 -0
- package/esm/sdk/index.js +5 -0
- package/esm/sdk/index.js.map +1 -0
- package/esm/sdk/sdk.d.ts +13 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +22 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/sdk/simulations.d.ts +69 -0
- package/esm/sdk/simulations.d.ts.map +1 -0
- package/esm/sdk/simulations.js +98 -0
- package/esm/sdk/simulations.js.map +1 -0
- package/esm/sdk/simulators.d.ts +41 -0
- package/esm/sdk/simulators.d.ts.map +1 -0
- package/esm/sdk/simulators.js +58 -0
- package/esm/sdk/simulators.js.map +1 -0
- package/esm/sdk/worlds.d.ts +55 -0
- package/esm/sdk/worlds.d.ts.map +1 -0
- package/esm/sdk/worlds.js +78 -0
- package/esm/sdk/worlds.js.map +1 -0
- package/esm/types/async.d.ts +23 -0
- package/esm/types/async.d.ts.map +1 -0
- package/esm/types/async.js +28 -0
- package/esm/types/async.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/const-date-time.d.ts +3 -0
- package/esm/types/const-date-time.d.ts.map +1 -0
- package/esm/types/const-date-time.js +10 -0
- package/esm/types/const-date-time.js.map +1 -0
- package/esm/types/default-to-zero-value.d.ts +12 -0
- package/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/esm/types/default-to-zero-value.js +31 -0
- package/esm/types/default-to-zero-value.js.map +1 -0
- package/esm/types/enums.d.ts +9 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +27 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/index.d.ts +10 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +10 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/operations.d.ts +27 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +77 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/primitives.d.ts +9 -0
- package/esm/types/primitives.d.ts.map +1 -0
- package/esm/types/primitives.js +109 -0
- package/esm/types/primitives.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +43 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/smart-union.d.ts +7 -0
- package/esm/types/smart-union.d.ts.map +1 -0
- package/esm/types/smart-union.js +117 -0
- package/esm/types/smart-union.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/esm/types/unrecognized.d.ts +16 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +31 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/node_modules/@types/node/assert.d.ts +1062 -0
- package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
- package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
- package/examples/node_modules/@types/node/cluster.d.ts +577 -0
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/examples/node_modules/@types/node/console.d.ts +452 -0
- package/examples/node_modules/@types/node/constants.d.ts +21 -0
- package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
- package/examples/node_modules/@types/node/dgram.d.ts +597 -0
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/examples/node_modules/@types/node/dns.d.ts +871 -0
- package/examples/node_modules/@types/node/domain.d.ts +170 -0
- package/examples/node_modules/@types/node/events.d.ts +977 -0
- package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/examples/node_modules/@types/node/fs.d.ts +4375 -0
- package/examples/node_modules/@types/node/globals.d.ts +172 -0
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/examples/node_modules/@types/node/http.d.ts +2049 -0
- package/examples/node_modules/@types/node/http2.d.ts +2712 -0
- package/examples/node_modules/@types/node/https.d.ts +578 -0
- package/examples/node_modules/@types/node/index.d.ts +93 -0
- package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/examples/node_modules/@types/node/module.d.ts +539 -0
- package/examples/node_modules/@types/node/net.d.ts +1031 -0
- package/examples/node_modules/@types/node/os.d.ts +506 -0
- package/examples/node_modules/@types/node/path.d.ts +200 -0
- package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/examples/node_modules/@types/node/process.d.ts +1961 -0
- package/examples/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/node_modules/@types/node/querystring.d.ts +152 -0
- package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/examples/node_modules/@types/node/readline.d.ts +589 -0
- package/examples/node_modules/@types/node/repl.d.ts +430 -0
- package/examples/node_modules/@types/node/sea.d.ts +153 -0
- package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
- package/examples/node_modules/@types/node/stream.d.ts +1698 -0
- package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/node_modules/@types/node/test.d.ts +1787 -0
- package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/examples/node_modules/@types/node/timers.d.ts +286 -0
- package/examples/node_modules/@types/node/tls.d.ts +1259 -0
- package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/examples/node_modules/@types/node/tty.d.ts +208 -0
- package/examples/node_modules/@types/node/url.d.ts +964 -0
- package/examples/node_modules/@types/node/util.d.ts +2331 -0
- package/examples/node_modules/@types/node/v8.d.ts +809 -0
- package/examples/node_modules/@types/node/vm.d.ts +1001 -0
- package/examples/node_modules/@types/node/wasi.d.ts +181 -0
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/examples/node_modules/@types/node/zlib.d.ts +598 -0
- package/examples/node_modules/dotenv/config.d.ts +1 -0
- package/examples/node_modules/dotenv/config.js +9 -0
- package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
- package/examples/node_modules/dotenv/lib/main.js +386 -0
- package/examples/node_modules/esbuild/install.js +300 -0
- package/examples/node_modules/esbuild/lib/main.d.ts +720 -0
- package/examples/node_modules/esbuild/lib/main.js +2536 -0
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cli.mjs +55 -0
- package/examples/node_modules/tsx/dist/client-D_mPDF5S.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +1 -0
- package/examples/node_modules/tsx/dist/index-DCefr8NP.mjs +14 -0
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
- package/examples/node_modules/tsx/dist/loader.mjs +1 -0
- package/examples/node_modules/tsx/dist/node-features-JeyyvQz6.mjs +1 -0
- package/examples/node_modules/tsx/dist/package-BL7Whz21.mjs +1 -0
- package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
- package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-DHgpdRjs.mjs +10 -0
- package/examples/node_modules/tsx/dist/register-SoqaU4rg.mjs +2 -0
- package/examples/node_modules/tsx/dist/repl.mjs +3 -0
- package/examples/node_modules/tsx/dist/require-Cuv-0BLU.mjs +1 -0
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
- package/examples/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +1 -0
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
- package/examples/node_modules/undici-types/agent.d.ts +31 -0
- package/examples/node_modules/undici-types/api.d.ts +43 -0
- package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/examples/node_modules/undici-types/cache.d.ts +36 -0
- package/examples/node_modules/undici-types/client.d.ts +108 -0
- package/examples/node_modules/undici-types/connector.d.ts +34 -0
- package/examples/node_modules/undici-types/content-type.d.ts +21 -0
- package/examples/node_modules/undici-types/cookies.d.ts +28 -0
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/examples/node_modules/undici-types/errors.d.ts +149 -0
- package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
- package/examples/node_modules/undici-types/fetch.d.ts +209 -0
- package/examples/node_modules/undici-types/file.d.ts +39 -0
- package/examples/node_modules/undici-types/filereader.d.ts +54 -0
- package/examples/node_modules/undici-types/formdata.d.ts +108 -0
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
- package/examples/node_modules/undici-types/handlers.d.ts +15 -0
- package/examples/node_modules/undici-types/header.d.ts +4 -0
- package/examples/node_modules/undici-types/index.d.ts +71 -0
- package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
- package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
- package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/examples/node_modules/undici-types/patch.d.ts +33 -0
- package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/examples/node_modules/undici-types/pool.d.ts +39 -0
- package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/examples/node_modules/undici-types/readable.d.ts +65 -0
- package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/examples/node_modules/undici-types/util.d.ts +18 -0
- package/examples/node_modules/undici-types/webidl.d.ts +228 -0
- package/examples/node_modules/undici-types/websocket.d.ts +150 -0
- package/examples/simulationsListSimulations.example.ts +26 -0
- package/jsr.json +27 -0
- package/package.json +67 -0
- package/src/core.ts +13 -0
- package/src/funcs/simulations-create-simulation.ts +179 -0
- package/src/funcs/simulations-delete-simulation.ts +183 -0
- package/src/funcs/simulations-fork-simulation.ts +186 -0
- package/src/funcs/simulations-get-simulation.ts +183 -0
- package/src/funcs/simulations-list-simulation-steps.ts +190 -0
- package/src/funcs/simulations-list-simulations.ts +189 -0
- package/src/funcs/simulations-mint-simulation-token.ts +187 -0
- package/src/funcs/simulations-start-simulation.ts +183 -0
- package/src/funcs/simulations-stop-simulation.ts +183 -0
- package/src/funcs/simulators-build-simulator.ts +219 -0
- package/src/funcs/simulators-cancel-simulator-build.ts +184 -0
- package/src/funcs/simulators-delete-simulator.ts +182 -0
- package/src/funcs/simulators-get-simulator.ts +183 -0
- package/src/funcs/simulators-list-simulators.ts +189 -0
- package/src/funcs/worlds-build-world.ts +179 -0
- package/src/funcs/worlds-cancel-world-build.ts +184 -0
- package/src/funcs/worlds-delete-world.ts +182 -0
- package/src/funcs/worlds-get-world.ts +183 -0
- package/src/funcs/worlds-list-worlds.ts +184 -0
- package/src/funcs/worlds-start-world.ts +183 -0
- package/src/funcs/worlds-stop-world.ts +183 -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 +108 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +67 -0
- package/src/lib/encodings.ts +564 -0
- package/src/lib/env.ts +61 -0
- package/src/lib/files.ts +104 -0
- package/src/lib/http.ts +325 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +353 -0
- package/src/lib/primitives.ts +166 -0
- package/src/lib/retries.ts +226 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +442 -0
- package/src/lib/security.ts +280 -0
- package/src/lib/url.ts +35 -0
- package/src/models/build-simulator-request.ts +107 -0
- package/src/models/build-world-request.ts +39 -0
- package/src/models/create-simulation-request.ts +47 -0
- package/src/models/created-simulation.ts +106 -0
- package/src/models/errors/continuous-default-error.ts +40 -0
- package/src/models/errors/continuous-error.ts +35 -0
- package/src/models/errors/error.ts +65 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +10 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/fork-simulation-request.ts +47 -0
- package/src/models/index.ts +22 -0
- package/src/models/list-simulation-steps-response.ts +48 -0
- package/src/models/list-simulations-response.ts +48 -0
- package/src/models/list-simulators-response.ts +48 -0
- package/src/models/list-worlds-response.ts +48 -0
- package/src/models/mint-simulation-token-request.ts +41 -0
- package/src/models/operations/build-simulator.ts +68 -0
- package/src/models/operations/cancel-simulator-build.ts +35 -0
- package/src/models/operations/cancel-world-build.ts +33 -0
- package/src/models/operations/delete-simulation.ts +33 -0
- package/src/models/operations/delete-simulator.ts +33 -0
- package/src/models/operations/delete-world.ts +33 -0
- package/src/models/operations/fork-simulation.ts +37 -0
- package/src/models/operations/get-simulation.ts +33 -0
- package/src/models/operations/get-simulator.ts +33 -0
- package/src/models/operations/get-world.ts +31 -0
- package/src/models/operations/index.ts +23 -0
- package/src/models/operations/list-simulation-steps.ts +45 -0
- package/src/models/operations/list-simulations.ts +78 -0
- package/src/models/operations/list-simulators.ts +71 -0
- package/src/models/operations/list-worlds.ts +39 -0
- package/src/models/operations/mint-simulation-token.ts +37 -0
- package/src/models/operations/start-simulation.ts +33 -0
- package/src/models/operations/start-world.ts +33 -0
- package/src/models/operations/stop-simulation.ts +33 -0
- package/src/models/operations/stop-world.ts +33 -0
- package/src/models/resource-error.ts +39 -0
- package/src/models/security.ts +26 -0
- package/src/models/simulation-token.ts +47 -0
- package/src/models/simulation.ts +93 -0
- package/src/models/simulator.ts +110 -0
- package/src/models/step.ts +36 -0
- package/src/models/world-simulation.ts +47 -0
- package/src/models/world.ts +96 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/sdk.ts +25 -0
- package/src/sdk/simulations.ts +172 -0
- package/src/sdk/simulators.ts +100 -0
- package/src/sdk/worlds.ts +136 -0
- package/src/types/async.ts +69 -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/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 +140 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-list-simulation-steps.js","sourceRoot":"","sources":["../../src/funcs/simulations-list-simulation-steps.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,8BAA8B,CAC5C,MAAsB,EACtB,OAA8C,EAC9C,OAAwB,EAcxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAsB,EACtB,OAA8C,EAC9C,OAAwB,EAiBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO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AAC;AAAA,CACjE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContinuousCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ContinuousError } from "../models/errors/continuous-error.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
+
import * as errors from "../models/errors/index.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as models from "../models/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { APIPromise } from "../types/async.js";
|
|
11
|
+
import { Result } from "../types/fp.js";
|
|
12
|
+
/**
|
|
13
|
+
* List Simulations
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Returns all Simulations that the API key can access. Results can be filtered by status or Simulator.
|
|
17
|
+
*/
|
|
18
|
+
export declare function simulationsListSimulations(client: ContinuousCore, request?: operations.ListSimulationsRequest | undefined, options?: RequestOptions): APIPromise<Result<models.ListSimulationsResponse, errors.ErrorT | ContinuousError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
|
+
//# sourceMappingURL=simulations-list-simulations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-list-simulations.d.ts","sourceRoot":"","sources":["../../src/funcs/simulations-list-simulations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,cAAc,EACtB,OAAO,CAAC,EAAE,UAAU,CAAC,sBAAsB,GAAG,SAAS,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,uBAAuB,EAC5B,MAAM,CAAC,MAAM,GACb,eAAe,GACf,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { encodeFormQuery } from "../lib/encodings.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as errors from "../models/errors/index.js";
|
|
13
|
+
import * as models from "../models/index.js";
|
|
14
|
+
import * as operations from "../models/operations/index.js";
|
|
15
|
+
import { APIPromise } from "../types/async.js";
|
|
16
|
+
/**
|
|
17
|
+
* List Simulations
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Returns all Simulations that the API key can access. Results can be filtered by status or Simulator.
|
|
21
|
+
*/
|
|
22
|
+
export function simulationsListSimulations(client, request, options) {
|
|
23
|
+
return new APIPromise($do(client, request, options));
|
|
24
|
+
}
|
|
25
|
+
async function $do(client, request, options) {
|
|
26
|
+
const parsed = safeParse(request, (value) => z.parse(z.optional(operations.ListSimulationsRequest$outboundSchema), value), "Input validation failed");
|
|
27
|
+
if (!parsed.ok) {
|
|
28
|
+
return [parsed, { status: "invalid" }];
|
|
29
|
+
}
|
|
30
|
+
const payload = parsed.value;
|
|
31
|
+
const body = null;
|
|
32
|
+
const path = pathToFunc("/v1/simulations")();
|
|
33
|
+
const query = encodeFormQuery({
|
|
34
|
+
"cursor": payload?.cursor,
|
|
35
|
+
"limit": payload?.limit,
|
|
36
|
+
"simulator_id": payload?.simulator_id,
|
|
37
|
+
"status": payload?.status,
|
|
38
|
+
}, { explode: false });
|
|
39
|
+
const headers = new Headers(compactMap({
|
|
40
|
+
Accept: "application/json",
|
|
41
|
+
}));
|
|
42
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
43
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45
|
+
const context = {
|
|
46
|
+
options: client._options,
|
|
47
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48
|
+
operationID: "list-simulations",
|
|
49
|
+
oAuth2Scopes: null,
|
|
50
|
+
resolvedSecurity: requestSecurity,
|
|
51
|
+
securitySource: client._options.apiKeyAuth,
|
|
52
|
+
retryConfig: options?.retries
|
|
53
|
+
|| client._options.retryConfig
|
|
54
|
+
|| { strategy: "none" },
|
|
55
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
56
|
+
};
|
|
57
|
+
const requestRes = client._createRequest(context, {
|
|
58
|
+
security: requestSecurity,
|
|
59
|
+
method: "GET",
|
|
60
|
+
baseURL: options?.serverURL,
|
|
61
|
+
path: path,
|
|
62
|
+
headers: headers,
|
|
63
|
+
query: query,
|
|
64
|
+
body: body,
|
|
65
|
+
userAgent: client._options.userAgent,
|
|
66
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
67
|
+
}, options);
|
|
68
|
+
if (!requestRes.ok) {
|
|
69
|
+
return [requestRes, { status: "invalid" }];
|
|
70
|
+
}
|
|
71
|
+
const req = requestRes.value;
|
|
72
|
+
const doResult = await client._do(req, {
|
|
73
|
+
context,
|
|
74
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75
|
+
retryConfig: context.retryConfig,
|
|
76
|
+
retryCodes: context.retryCodes,
|
|
77
|
+
});
|
|
78
|
+
if (!doResult.ok) {
|
|
79
|
+
return [doResult, { status: "request-error", request: req }];
|
|
80
|
+
}
|
|
81
|
+
const response = doResult.value;
|
|
82
|
+
const responseFields = {
|
|
83
|
+
HttpMeta: { Response: response, Request: req },
|
|
84
|
+
};
|
|
85
|
+
const [result] = await M.match(M.json(200, models.ListSimulationsResponse$inboundSchema), M.jsonErr([400, 401, 403, 404, 422], errors.ErrorT$inboundSchema, {
|
|
86
|
+
ctype: "application/problem+json",
|
|
87
|
+
}), M.jsonErr([500, 503], errors.ErrorT$inboundSchema, {
|
|
88
|
+
ctype: "application/problem+json",
|
|
89
|
+
}), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
90
|
+
if (!result.ok) {
|
|
91
|
+
return [result, { status: "complete", request: req, response }];
|
|
92
|
+
}
|
|
93
|
+
return [result, { status: "complete", request: req, response }];
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=simulations-list-simulations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-list-simulations.js","sourceRoot":"","sources":["../../src/funcs/simulations-list-simulations.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CACxC,MAAsB,EACtB,OAAuD,EACvD,OAAwB,EAcxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAsB,EACtB,OAAuD,EACvD,OAAwB,EAiBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,CAAC,CAAC,KAAK,CACL,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,qCAAqC,CAAC,EAC5D,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,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Q,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAY5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,qCAAqC,CAAC,EACzD,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,oBAAoB,EAAE;QAChE,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,oBAAoB,EAAE;QACjD,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContinuousCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ContinuousError } from "../models/errors/continuous-error.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
+
import * as errors from "../models/errors/index.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as models from "../models/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { APIPromise } from "../types/async.js";
|
|
11
|
+
import { Result } from "../types/fp.js";
|
|
12
|
+
/**
|
|
13
|
+
* Mint Simulation Token
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Mints an expiring data-plane token. Send it in X-Continuous-Simulation-Token. Other unexpired tokens remain valid.
|
|
17
|
+
*/
|
|
18
|
+
export declare function simulationsMintSimulationToken(client: ContinuousCore, request: operations.MintSimulationTokenRequest, options?: RequestOptions): APIPromise<Result<models.SimulationToken, errors.ErrorT | ContinuousError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
|
+
//# sourceMappingURL=simulations-mint-simulation-token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-mint-simulation-token.d.ts","sourceRoot":"","sources":["../../src/funcs/simulations-mint-simulation-token.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,eAAe,EACpB,MAAM,CAAC,MAAM,GACb,eAAe,GACf,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as errors from "../models/errors/index.js";
|
|
13
|
+
import * as models from "../models/index.js";
|
|
14
|
+
import * as operations from "../models/operations/index.js";
|
|
15
|
+
import { APIPromise } from "../types/async.js";
|
|
16
|
+
/**
|
|
17
|
+
* Mint Simulation Token
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Mints an expiring data-plane token. Send it in X-Continuous-Simulation-Token. Other unexpired tokens remain valid.
|
|
21
|
+
*/
|
|
22
|
+
export function simulationsMintSimulationToken(client, request, options) {
|
|
23
|
+
return new APIPromise($do(client, request, options));
|
|
24
|
+
}
|
|
25
|
+
async function $do(client, request, options) {
|
|
26
|
+
const parsed = safeParse(request, (value) => z.parse(operations.MintSimulationTokenRequest$outboundSchema, value), "Input validation failed");
|
|
27
|
+
if (!parsed.ok) {
|
|
28
|
+
return [parsed, { status: "invalid" }];
|
|
29
|
+
}
|
|
30
|
+
const payload = parsed.value;
|
|
31
|
+
const body = encodeJSON("body", payload.body, { explode: true });
|
|
32
|
+
const pathParams = {
|
|
33
|
+
id: encodeSimple("id", payload.id, {
|
|
34
|
+
explode: false,
|
|
35
|
+
charEncoding: "percent",
|
|
36
|
+
}),
|
|
37
|
+
};
|
|
38
|
+
const path = pathToFunc("/v1/simulations/{id}/tokens")(pathParams);
|
|
39
|
+
const headers = new Headers(compactMap({
|
|
40
|
+
"Content-Type": "application/json",
|
|
41
|
+
Accept: "application/json",
|
|
42
|
+
}));
|
|
43
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
44
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46
|
+
const context = {
|
|
47
|
+
options: client._options,
|
|
48
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49
|
+
operationID: "mint-simulation-token",
|
|
50
|
+
oAuth2Scopes: null,
|
|
51
|
+
resolvedSecurity: requestSecurity,
|
|
52
|
+
securitySource: client._options.apiKeyAuth,
|
|
53
|
+
retryConfig: options?.retries
|
|
54
|
+
|| client._options.retryConfig
|
|
55
|
+
|| { strategy: "none" },
|
|
56
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
57
|
+
};
|
|
58
|
+
const requestRes = client._createRequest(context, {
|
|
59
|
+
security: requestSecurity,
|
|
60
|
+
method: "POST",
|
|
61
|
+
baseURL: options?.serverURL,
|
|
62
|
+
path: path,
|
|
63
|
+
headers: headers,
|
|
64
|
+
body: body,
|
|
65
|
+
userAgent: client._options.userAgent,
|
|
66
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
67
|
+
}, options);
|
|
68
|
+
if (!requestRes.ok) {
|
|
69
|
+
return [requestRes, { status: "invalid" }];
|
|
70
|
+
}
|
|
71
|
+
const req = requestRes.value;
|
|
72
|
+
const doResult = await client._do(req, {
|
|
73
|
+
context,
|
|
74
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75
|
+
retryConfig: context.retryConfig,
|
|
76
|
+
retryCodes: context.retryCodes,
|
|
77
|
+
});
|
|
78
|
+
if (!doResult.ok) {
|
|
79
|
+
return [doResult, { status: "request-error", request: req }];
|
|
80
|
+
}
|
|
81
|
+
const response = doResult.value;
|
|
82
|
+
const responseFields = {
|
|
83
|
+
HttpMeta: { Response: response, Request: req },
|
|
84
|
+
};
|
|
85
|
+
const [result] = await M.match(M.json(200, models.SimulationToken$inboundSchema), M.jsonErr([400, 401, 403, 404, 408, 409, 413, 415, 422], errors.ErrorT$inboundSchema, { ctype: "application/problem+json" }), M.jsonErr([500, 503], errors.ErrorT$inboundSchema, {
|
|
86
|
+
ctype: "application/problem+json",
|
|
87
|
+
}), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
88
|
+
if (!result.ok) {
|
|
89
|
+
return [result, { status: "complete", request: req, response }];
|
|
90
|
+
}
|
|
91
|
+
return [result, { status: "complete", request: req, response }];
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=simulations-mint-simulation-token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-mint-simulation-token.js","sourceRoot":"","sources":["../../src/funcs/simulations-mint-simulation-token.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,M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G,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAC7C,MAAM,CAAC,oBAAoB,EAC3B,EAAE,KAAK,EAAE,0BAA0B,EAAE,CACtC,EACD,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,oBAAoB,EAAE;QACjD,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContinuousCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ContinuousError } from "../models/errors/continuous-error.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
+
import * as errors from "../models/errors/index.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as models from "../models/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { APIPromise } from "../types/async.js";
|
|
11
|
+
import { Result } from "../types/fp.js";
|
|
12
|
+
/**
|
|
13
|
+
* Start Simulation
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Starts a stopped Simulation from its saved runtime state. Its endpoint becomes available after the runtime starts.
|
|
17
|
+
*/
|
|
18
|
+
export declare function simulationsStartSimulation(client: ContinuousCore, request: operations.StartSimulationRequest, options?: RequestOptions): APIPromise<Result<models.Simulation, errors.ErrorT | ContinuousError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
|
+
//# sourceMappingURL=simulations-start-simulation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-start-simulation.d.ts","sourceRoot":"","sources":["../../src/funcs/simulations-start-simulation.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,UAAU,EACf,MAAM,CAAC,MAAM,GACb,eAAe,GACf,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as errors from "../models/errors/index.js";
|
|
13
|
+
import * as models from "../models/index.js";
|
|
14
|
+
import * as operations from "../models/operations/index.js";
|
|
15
|
+
import { APIPromise } from "../types/async.js";
|
|
16
|
+
/**
|
|
17
|
+
* Start Simulation
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Starts a stopped Simulation from its saved runtime state. Its endpoint becomes available after the runtime starts.
|
|
21
|
+
*/
|
|
22
|
+
export function simulationsStartSimulation(client, request, options) {
|
|
23
|
+
return new APIPromise($do(client, request, options));
|
|
24
|
+
}
|
|
25
|
+
async function $do(client, request, options) {
|
|
26
|
+
const parsed = safeParse(request, (value) => z.parse(operations.StartSimulationRequest$outboundSchema, value), "Input validation failed");
|
|
27
|
+
if (!parsed.ok) {
|
|
28
|
+
return [parsed, { status: "invalid" }];
|
|
29
|
+
}
|
|
30
|
+
const payload = parsed.value;
|
|
31
|
+
const body = null;
|
|
32
|
+
const pathParams = {
|
|
33
|
+
id: encodeSimple("id", payload.id, {
|
|
34
|
+
explode: false,
|
|
35
|
+
charEncoding: "percent",
|
|
36
|
+
}),
|
|
37
|
+
};
|
|
38
|
+
const path = pathToFunc("/v1/simulations/{id}/start")(pathParams);
|
|
39
|
+
const headers = new Headers(compactMap({
|
|
40
|
+
Accept: "application/json",
|
|
41
|
+
}));
|
|
42
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
43
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45
|
+
const context = {
|
|
46
|
+
options: client._options,
|
|
47
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48
|
+
operationID: "start-simulation",
|
|
49
|
+
oAuth2Scopes: null,
|
|
50
|
+
resolvedSecurity: requestSecurity,
|
|
51
|
+
securitySource: client._options.apiKeyAuth,
|
|
52
|
+
retryConfig: options?.retries
|
|
53
|
+
|| client._options.retryConfig
|
|
54
|
+
|| { strategy: "none" },
|
|
55
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
56
|
+
};
|
|
57
|
+
const requestRes = client._createRequest(context, {
|
|
58
|
+
security: requestSecurity,
|
|
59
|
+
method: "POST",
|
|
60
|
+
baseURL: options?.serverURL,
|
|
61
|
+
path: path,
|
|
62
|
+
headers: headers,
|
|
63
|
+
body: body,
|
|
64
|
+
userAgent: client._options.userAgent,
|
|
65
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
66
|
+
}, options);
|
|
67
|
+
if (!requestRes.ok) {
|
|
68
|
+
return [requestRes, { status: "invalid" }];
|
|
69
|
+
}
|
|
70
|
+
const req = requestRes.value;
|
|
71
|
+
const doResult = await client._do(req, {
|
|
72
|
+
context,
|
|
73
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
74
|
+
retryConfig: context.retryConfig,
|
|
75
|
+
retryCodes: context.retryCodes,
|
|
76
|
+
});
|
|
77
|
+
if (!doResult.ok) {
|
|
78
|
+
return [doResult, { status: "request-error", request: req }];
|
|
79
|
+
}
|
|
80
|
+
const response = doResult.value;
|
|
81
|
+
const responseFields = {
|
|
82
|
+
HttpMeta: { Response: response, Request: req },
|
|
83
|
+
};
|
|
84
|
+
const [result] = await M.match(M.json(200, models.Simulation$inboundSchema), M.jsonErr([400, 401, 403, 404, 409, 429], errors.ErrorT$inboundSchema, {
|
|
85
|
+
ctype: "application/problem+json",
|
|
86
|
+
}), M.jsonErr([500, 503, 504], errors.ErrorT$inboundSchema, {
|
|
87
|
+
ctype: "application/problem+json",
|
|
88
|
+
}), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
89
|
+
if (!result.ok) {
|
|
90
|
+
return [result, { status: "complete", request: req, response }];
|
|
91
|
+
}
|
|
92
|
+
return [result, { status: "complete", request: req, response }];
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=simulations-start-simulation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-start-simulation.js","sourceRoot":"","sources":["../../src/funcs/simulations-start-simulation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU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AAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContinuousCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ContinuousError } from "../models/errors/continuous-error.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
+
import * as errors from "../models/errors/index.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as models from "../models/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { APIPromise } from "../types/async.js";
|
|
11
|
+
import { Result } from "../types/fp.js";
|
|
12
|
+
/**
|
|
13
|
+
* Stop Simulation
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Stops a Simulation and saves its runtime state. You can start it later from the saved state.
|
|
17
|
+
*/
|
|
18
|
+
export declare function simulationsStopSimulation(client: ContinuousCore, request: operations.StopSimulationRequest, options?: RequestOptions): APIPromise<Result<models.Simulation, errors.ErrorT | ContinuousError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
|
+
//# sourceMappingURL=simulations-stop-simulation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-stop-simulation.d.ts","sourceRoot":"","sources":["../../src/funcs/simulations-stop-simulation.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,UAAU,EACf,MAAM,CAAC,MAAM,GACb,eAAe,GACf,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as errors from "../models/errors/index.js";
|
|
13
|
+
import * as models from "../models/index.js";
|
|
14
|
+
import * as operations from "../models/operations/index.js";
|
|
15
|
+
import { APIPromise } from "../types/async.js";
|
|
16
|
+
/**
|
|
17
|
+
* Stop Simulation
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Stops a Simulation and saves its runtime state. You can start it later from the saved state.
|
|
21
|
+
*/
|
|
22
|
+
export function simulationsStopSimulation(client, request, options) {
|
|
23
|
+
return new APIPromise($do(client, request, options));
|
|
24
|
+
}
|
|
25
|
+
async function $do(client, request, options) {
|
|
26
|
+
const parsed = safeParse(request, (value) => z.parse(operations.StopSimulationRequest$outboundSchema, value), "Input validation failed");
|
|
27
|
+
if (!parsed.ok) {
|
|
28
|
+
return [parsed, { status: "invalid" }];
|
|
29
|
+
}
|
|
30
|
+
const payload = parsed.value;
|
|
31
|
+
const body = null;
|
|
32
|
+
const pathParams = {
|
|
33
|
+
id: encodeSimple("id", payload.id, {
|
|
34
|
+
explode: false,
|
|
35
|
+
charEncoding: "percent",
|
|
36
|
+
}),
|
|
37
|
+
};
|
|
38
|
+
const path = pathToFunc("/v1/simulations/{id}/stop")(pathParams);
|
|
39
|
+
const headers = new Headers(compactMap({
|
|
40
|
+
Accept: "application/json",
|
|
41
|
+
}));
|
|
42
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
43
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45
|
+
const context = {
|
|
46
|
+
options: client._options,
|
|
47
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48
|
+
operationID: "stop-simulation",
|
|
49
|
+
oAuth2Scopes: null,
|
|
50
|
+
resolvedSecurity: requestSecurity,
|
|
51
|
+
securitySource: client._options.apiKeyAuth,
|
|
52
|
+
retryConfig: options?.retries
|
|
53
|
+
|| client._options.retryConfig
|
|
54
|
+
|| { strategy: "none" },
|
|
55
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
56
|
+
};
|
|
57
|
+
const requestRes = client._createRequest(context, {
|
|
58
|
+
security: requestSecurity,
|
|
59
|
+
method: "POST",
|
|
60
|
+
baseURL: options?.serverURL,
|
|
61
|
+
path: path,
|
|
62
|
+
headers: headers,
|
|
63
|
+
body: body,
|
|
64
|
+
userAgent: client._options.userAgent,
|
|
65
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
66
|
+
}, options);
|
|
67
|
+
if (!requestRes.ok) {
|
|
68
|
+
return [requestRes, { status: "invalid" }];
|
|
69
|
+
}
|
|
70
|
+
const req = requestRes.value;
|
|
71
|
+
const doResult = await client._do(req, {
|
|
72
|
+
context,
|
|
73
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
74
|
+
retryConfig: context.retryConfig,
|
|
75
|
+
retryCodes: context.retryCodes,
|
|
76
|
+
});
|
|
77
|
+
if (!doResult.ok) {
|
|
78
|
+
return [doResult, { status: "request-error", request: req }];
|
|
79
|
+
}
|
|
80
|
+
const response = doResult.value;
|
|
81
|
+
const responseFields = {
|
|
82
|
+
HttpMeta: { Response: response, Request: req },
|
|
83
|
+
};
|
|
84
|
+
const [result] = await M.match(M.json(200, models.Simulation$inboundSchema), M.jsonErr([400, 401, 403, 404, 409], errors.ErrorT$inboundSchema, {
|
|
85
|
+
ctype: "application/problem+json",
|
|
86
|
+
}), M.jsonErr([500, 503, 504], errors.ErrorT$inboundSchema, {
|
|
87
|
+
ctype: "application/problem+json",
|
|
88
|
+
}), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
89
|
+
if (!result.ok) {
|
|
90
|
+
return [result, { status: "complete", request: req, response }];
|
|
91
|
+
}
|
|
92
|
+
return [result, { status: "complete", request: req, response }];
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=simulations-stop-simulation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulations-stop-simulation.js","sourceRoot":"","sources":["../../src/funcs/simulations-stop-simulation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAAsB,EACtB,OAAyC,EACzC,OAAwB,EAcxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAsB,EACtB,OAAyC,EACzC,OAAwB,EAiBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,oCAAoC,EAAE,KAAK,CAAC,EAC1E,yBAAyB,CAC1B,CAA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AAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAY5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,CAAC,EAC5C,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,oBAAoB,EAAE;QAChE,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,oBAAoB,EAAE;QACtD,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContinuousCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ContinuousError } from "../models/errors/continuous-error.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
+
import * as errors from "../models/errors/index.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as models from "../models/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { APIPromise } from "../types/async.js";
|
|
11
|
+
import { Result } from "../types/fp.js";
|
|
12
|
+
/**
|
|
13
|
+
* Build Simulator
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Creates a Simulator from an OpenAPI or WSDL source. The build runs asynchronously. Send multipart/form-data with one JSON request part, and one spec file part for a spec build.
|
|
17
|
+
*/
|
|
18
|
+
export declare function simulatorsBuildSimulator(client: ContinuousCore, request: operations.BuildSimulatorRequest, options?: RequestOptions): APIPromise<Result<models.Simulator, errors.ErrorT | ContinuousError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
|
+
//# sourceMappingURL=simulators-build-simulator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulators-build-simulator.d.ts","sourceRoot":"","sources":["../../src/funcs/simulators-build-simulator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAW5C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,SAAS,EACd,MAAM,CAAC,MAAM,GACb,eAAe,GACf,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|