Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add deployment [WIP]
Tomas Valenta93f17e2d7e68
diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.jsonnew file mode 100644index 000000000..0b0362f11--- /dev/null+++ b/.codesandbox/tasks.json@@ -0,0 +1,4 @@+{+ "setupTasks": [],+ "tasks": {}+}diff --git a/api-service/.openapi-generator/FILES b/api-service/.openapi-generator/FILESindex 584be5457..6113d9cd0 100644--- a/api-service/.openapi-generator/FILES+++ b/api-service/.openapi-generator/FILES@@ -3,6 +3,7 @@ playground_client/api/__init__.pyplayground_client/api/default_api.pyplayground_client/api_client.pyplayground_client/configuration.py+playground_client/docs/CreateDeploymentRequest.mdplayground_client/docs/CreateMockBodyDataRequest.mdplayground_client/docs/CreateSessionsRequest.mdplayground_client/docs/DefaultApi.md@@ -24,6 +25,7 @@ playground_client/docs/WriteFilesystemFileRequest.mdplayground_client/docs/WriteProcessStdinRequest.mdplayground_client/exceptions.pyplayground_client/models/__init__.py+playground_client/models/create_deployment_request.pyplayground_client/models/create_mock_body_data_request.pyplayground_client/models/create_sessions_request.pyplayground_client/models/entry_info.py@@ -44,6 +46,7 @@ playground_client/models/write_filesystem_file_request.pyplayground_client/models/write_process_stdin_request.pyplayground_client/rest.pyplayground_client/test/__init__.py+playground_client/test/test_create_deployment_request.pyplayground_client/test/test_create_mock_body_data_request.pyplayground_client/test/test_create_sessions_request.pyplayground_client/test/test_default_api.pydiff --git a/api-service/codegen/tools/playground/playground.py b/api-service/codegen/tools/playground/playground.pyindex afb0646e9..590217bb9 100644--- a/api-service/codegen/tools/playground/playground.py+++ b/api-service/codegen/tools/playground/playground.py@@ -50,9 +50,7 @@ class Playground:self.client.close()def get_open_ports(self):- response = self.api.get_session(- id=self.session.id,- )+ response = self.api.get_session(self.session.id)return response.portsdef is_port_open(self, port: float):diff --git a/api-service/deployment/deploy.py b/api-service/deployment/deploy.pyindex 6f67991b8..f318000ff 100644--- a/api-service/deployment/deploy.py+++ b/api-service/deployment/deploy.py@@ -1,4 +1,6 @@+from codegen.env import EnvVarimport playground_client+from playground_client.models.create_deployment_request import CreateDeploymentRequestconfiguration = playground_client.Configuration(host="http://localhost:9001",@@ -10,6 +12,25 @@ configuration.ssl_ca_cert = Noneconfiguration.cert_file = None+class Session:+ def __init__(self, env_id: str):+ self.client = playground_client.ApiClient(configuration)+ self.api = playground_client.DefaultApi(self.client)+ self.session = self.api.create_sessions(+ playground_client.CreateSessionsRequest(envID=env_id)+ )+ self.is_closed = False++ def __del__(self):+ self.close()++ def close(self):+ if not self.is_closed:+ self.api.delete_session(self.session.id)+ self.is_closed = True+ self.client.close()++class Deployment:def __init__(self):self.client = playground_client.ApiClient(configuration)@@ -18,5 +39,12 @@ class Deployment:def __del__(self):self.client.close()- def deploy(self, project_id: str, code: str, package_json: str):+ def deploy(self, project_id: str, code: str, env_vars: EnvVar):+ result = self.api.create_deployment(+ CreateDeploymentRequest(+ project_id=project_id,+ envVars=env_vars,+ code=code,+ )+ )passdiff --git a/api-service/playground/package.json b/api-service/playground/package.jsonindex ebc0b4155..f5dfcec29 100644--- a/api-service/playground/package.json+++ b/api-service/playground/package.json@@ -3,9 +3,10 @@"version": "1.0.0","license": "MIT","dependencies": {+ "@aws-sdk/client-api-gateway": "^3.293.0",+ "@aws-sdk/client-lambda": "^3.293.0","@devbookhq/sdk": "^2.6.74","@netlify/zip-it-and-ship-it": "^8.9.0",- "aws-sdk": "^2.1336.0","express": "^4.18.2","intermock": "^0.2.5","morgan": "^1.10.0",@@ -22,7 +23,7 @@},"main": "lib/server.js","scripts": {- "dev": "concurrently \"nodemon -q\" \"nodemon --config nodemon-tsoa.json \"",+ "dev": "concurrently \"nodemon -q --delay 400ms\" \"nodemon --config nodemon-tsoa.json \"","generate": "tsoa spec-and-routes","check-types": "tsc --noEmit","build": "./scripts/build.js",diff --git a/api-service/playground/src/deployments/deploy.ts b/api-service/playground/src/deployments/deploy.tsdeleted file mode 100644index 0128c6791..000000000--- a/api-service/playground/src/deployments/deploy.ts+++ /dev/null@@ -1,61 +0,0 @@-import Lambda from 'aws-sdk/clients/lambda'-import fs from 'fs/promises'-import os from 'os'-import path from 'path'--import { NodeBundlerType, zipFunction } from '@netlify/zip-it-and-ship-it'-import { EnvVars } from '@devbookhq/sdk'---const tmpdir = os.tmpdir()-const prefix = `deploy-aws-`--const templateDir = '/template/aws'--const lambda = new Lambda()--// TODO: Do the zipping inside session (reusing the playground + esbuild would make it seamless) and upload to S3. Then deploy from zip artifact.-async function getZippedCode(code: string, packageJSON: string): string {- const functionDir = await fs.mkdtemp(path.join(tmpdir, prefix))- const zipDir = await fs.mkdtemp(path.join(tmpdir, prefix))-- // Create dirs--- // Copy from template-- // Modify index.js- // Install deps --no-save- // Zip and build it- const res = await zipFunction(functionDir, zipDir, {- config: {- '*': {- nodeBundler: NodeBundlerType.ESBUILD_ZISI,- },- },- })-- // Remove tmp files-}---export async function deploy(projectID: string, code: string, packageJSON: string, envVars: EnvVars) {- const zipContent = getZippedCode(code, packageJSON)-- // Deploy on aws + handle env vars- const func = await lambda.createFunction({- FunctionName: `${projectID}`,- Runtime: 'nodejs18.x',- // TODO: Replace lambda role with valid role- Role: 'arn:aws:iam::123456789012:role/lambda-role',- Handler: 'index.handler',- Code: {- ZipFile: Buffer.from(zipContent, 'base64')- },- Environment: envVars,- }).promise()-- // TODO: Add lambda deploy URL- // Reconfigure the Gateway to handle domains--}diff --git a/api-service/playground/src/deployments/deploymentsController.ts b/api-service/playground/src/deployments/deploymentsController.tsdeleted file mode 100644index 7e27e0591..000000000--- a/api-service/playground/src/deployments/deploymentsController.ts+++ /dev/null@@ -1,22 +0,0 @@-import {- Controller,- Post,- BodyProp,- Route,-} from 'tsoa'-import { EnvVars } from '@devbookhq/sdk'--import { deploy } from './deploy'--@Route('deployments')-export class DeploymentsController extends Controller {- @Post()- public async createSessions(- @BodyProp('projectID') projectID: string,- @BodyProp('code') code: string,- @BodyProp('packageJSON') packageJSON: string,- @BodyProp('envVars') envVars: EnvVars,- ): Promise<void> {- await deploy(projectID, code, packageJSON, envVars)- }-}diff --git a/api-service/playground/src/generated/routes.ts b/api-service/playground/src/generated/routes.tsindex a4e1039db..bc9eee477 100644--- a/api-service/playground/src/generated/routes.ts+++ b/api-service/playground/src/generated/routes.ts@@ -5,7 +5,7 @@ import { Controller, ValidationService, FieldErrors, ValidateError, TsoaRoute, H// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoaimport { MockController } from './../data/mockController';// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa-import { DeploymentsController } from './../deployments/deploymentsController';+import { DeploymentsController } from './../sessions/deploymentsController';// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoaimport { FilesystemController } from './../sessions/filesystemController';// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa@@ -175,16 +175,16 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.post('/deployments',+ app.put('/sessions/:sessionID/deployments',...(fetchMiddlewares<RequestHandler>(DeploymentsController)),- ...(fetchMiddlewares<RequestHandler>(DeploymentsController.prototype.createSessions)),+ ...(fetchMiddlewares<RequestHandler>(DeploymentsController.prototype.createDeployment)),- function DeploymentsController_createSessions(request: any, response: any, next: any) {+ function DeploymentsController_createDeployment(request: any, response: any, next: any) {const args = {+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},projectID: {"in":"body-prop","name":"projectID","required":true,"dataType":"string"},code: {"in":"body-prop","name":"code","required":true,"dataType":"string"},- packageJSON: {"in":"body-prop","name":"packageJSON","required":true,"dataType":"string"},- envVars: {"in":"body-prop","name":"envVars","required":true,"ref":"EnvVars"},+ envVars: {"default":{},"in":"body-prop","name":"envVars","ref":"EnvVars"},};// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa@@ -196,20 +196,20 @@ export function RegisterRoutes(app: Router) {const controller = new DeploymentsController();- const promise = controller.createSessions.apply(controller, validatedArgs as any);+ const promise = controller.createDeployment.apply(controller, validatedArgs as any);promiseHandler(controller, promise, response, undefined, next);} catch (err) {return next(err);}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.get('/sessions/:id/filesystem/dir',+ app.get('/sessions/:sessionID/filesystem/dir',...(fetchMiddlewares<RequestHandler>(FilesystemController)),...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.listFilesystemDir)),function FilesystemController_listFilesystemDir(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},path: {"in":"query","name":"path","required":true,"dataType":"string"},};@@ -229,13 +229,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.put('/sessions/:id/filesystem/dir',+ app.put('/sessions/:sessionID/filesystem/dir',...(fetchMiddlewares<RequestHandler>(FilesystemController)),...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.makeFilesystemDir)),function FilesystemController_makeFilesystemDir(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},path: {"in":"query","name":"path","required":true,"dataType":"string"},};@@ -255,13 +255,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.delete('/sessions/:id/filesystem',+ app.delete('/sessions/:sessionID/filesystem',...(fetchMiddlewares<RequestHandler>(FilesystemController)),...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.deleteFilesystemEntry)),function FilesystemController_deleteFilesystemEntry(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},path: {"in":"query","name":"path","required":true,"dataType":"string"},};@@ -281,13 +281,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.get('/sessions/:id/filesystem/file',+ app.get('/sessions/:sessionID/filesystem/file',...(fetchMiddlewares<RequestHandler>(FilesystemController)),...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.readFilesystemFile)),function FilesystemController_readFilesystemFile(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},path: {"in":"query","name":"path","required":true,"dataType":"string"},};@@ -307,13 +307,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.put('/sessions/:id/filesystem/file',+ app.put('/sessions/:sessionID/filesystem/file',...(fetchMiddlewares<RequestHandler>(FilesystemController)),...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.writeFilesystemFile)),function FilesystemController_writeFilesystemFile(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},path: {"in":"query","name":"path","required":true,"dataType":"string"},content: {"in":"body-prop","name":"content","required":true,"dataType":"string"},};@@ -334,13 +334,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.post('/sessions/:id/processes',+ app.post('/sessions/:sessionID/processes',...(fetchMiddlewares<RequestHandler>(ProcessController)),...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.startProcess)),function ProcessController_startProcess(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},requestBody: {"in":"body","name":"requestBody","required":true,"ref":"StartProcessParams"},wait: {"in":"query","name":"wait","dataType":"boolean"},};@@ -361,13 +361,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.delete('/sessions/:id/processes/:processID',+ app.delete('/sessions/:sessionID/processes/:processID',...(fetchMiddlewares<RequestHandler>(ProcessController)),...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.stopProcess)),function ProcessController_stopProcess(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},processID: {"in":"path","name":"processID","required":true,"dataType":"string"},results: {"in":"query","name":"results","dataType":"boolean"},};@@ -388,13 +388,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.post('/sessions/:id/processes/:processID/stdin',+ app.post('/sessions/:sessionID/processes/:processID/stdin',...(fetchMiddlewares<RequestHandler>(ProcessController)),...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.writeProcessStdin)),function ProcessController_writeProcessStdin(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},processID: {"in":"path","name":"processID","required":true,"dataType":"string"},stdin: {"in":"body-prop","name":"stdin","required":true,"dataType":"string"},};@@ -415,13 +415,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.get('/sessions/:id/processes/:processID',+ app.get('/sessions/:sessionID/processes/:processID',...(fetchMiddlewares<RequestHandler>(ProcessController)),...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.getProcess)),function ProcessController_getProcess(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},processID: {"in":"path","name":"processID","required":true,"dataType":"string"},wait: {"in":"query","name":"wait","dataType":"boolean"},};@@ -467,13 +467,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.delete('/sessions/:id',+ app.delete('/sessions/:sessionID',...(fetchMiddlewares<RequestHandler>(SessionsController)),...(fetchMiddlewares<RequestHandler>(SessionsController.prototype.deleteSession)),function SessionsController_deleteSession(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},};// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa@@ -492,13 +492,13 @@ export function RegisterRoutes(app: Router) {}});// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa- app.get('/sessions/:id',+ app.get('/sessions/:sessionID',...(fetchMiddlewares<RequestHandler>(SessionsController)),...(fetchMiddlewares<RequestHandler>(SessionsController.prototype.getSession)),function SessionsController_getSession(request: any, response: any, next: any) {const args = {- id: {"in":"path","name":"id","required":true,"dataType":"string"},+ sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},};// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoadiff --git a/api-service/playground/src/sessions/deployment.ts b/api-service/playground/src/sessions/deployment.tsnew file mode 100644index 000000000..6bdb48368--- /dev/null+++ b/api-service/playground/src/sessions/deployment.ts@@ -0,0 +1,86 @@+import {+ LambdaClient,+ CreateFunctionCommand,+ UpdateFunctionCodeCommand,+ UpdateFunctionConfigurationCommand,+} from '@aws-sdk/client-lambda'+import {+ APIGatewayClient,+} from '@aws-sdk/client-api-gateway'+import { EnvVars, Session, createSessionProcess } from '@devbookhq/sdk'+import { readFileAsBase64 } from '../utils/readFileAsBase64'++// TODO: Env var for aws initialization+const lambda = new LambdaClient({+ region: 'us-east-1',+})++const gateway = new APIGatewayClient({+ region: 'us-east-1',+})++const deploymentParams = {+ Runtime: 'nodejs18.x',+ // TODO: Replace lambda role with valid role+ Role: 'arn:aws:iam::123456789012:role/lambda-role',+ Handler: 'index.handler',+}++async function packageFunction(session: Session, code: string) {+ try {+ await session.filesystem?.write('/code/funcs/index.mjs', code)+ const bundling = await createSessionProcess({+ manager: session.process,+ cmd: 'zip-it-and-ship-it funcs bundle',+ rootdir: '/code',+ })+ await bundling.exited++ const zip = await readFileAsBase64(session.process!, '/code/bundle/index.zip')+ return Buffer.from(zip, 'base64')+ } catch (err) {+ console.error(err)+ throw err+ }+}++export async function deployFromSession(+ session: Session,+ projectID: string,+ code: string,+ envVars: EnvVars,+) {+ const zipCode = await packageFunction(session, code)+ try {+ const updateConfig = lambda.send(new UpdateFunctionConfigurationCommand({+ ...deploymentParams,+ FunctionName: projectID,+ Environment: envVars,+ }))++ const updateCode = lambda.send(new UpdateFunctionCodeCommand({+ FunctionName: projectID,+ ZipFile: zipCode,+ }))++ await Promise.all([+ updateCode,+ updateConfig,+ ])++ } catch (err: any) {+ if (err.name === 'ResourceNotFoundException') {+ await lambda.send(new CreateFunctionCommand({+ ...deploymentParams,+ FunctionName: projectID,+ Code: {+ ZipFile: zipCode,+ },+ Environment: envVars,+ }));+ }+ }++ // TODO: Add lambda deploy URL+ // TODO: Reconfigure the Gateway to handle domains+}diff --git a/api-service/playground/src/sessions/deploymentsController.ts b/api-service/playground/src/sessions/deploymentsController.tsnew file mode 100644index 000000000..3b92ba456--- /dev/null+++ b/api-service/playground/src/sessions/deploymentsController.ts@@ -0,0 +1,33 @@+import {+ Controller,+ BodyProp,+ Put,+ Path,+ Route,+} from 'tsoa'+import {+ EnvVars,+} from '@devbookhq/sdk'++import { deployFromSession } from './deployment'+import { CachedSession } from './session'+++@Route('sessions')+export class DeploymentsController extends Controller {+ @Put('{sessionID}/deployments')+ public async createDeployment(+ @Path() sessionID: string,+ @BodyProp('projectID') projectID: string,+ @BodyProp('code') code: string,+ @BodyProp('envVars') envVars: EnvVars = {},+ ): Promise<void> {+ const cachedSession = CachedSession.findSession(sessionID)+ await deployFromSession(+ cachedSession.session,+ projectID,+ code,+ envVars,+ )+ }+}diff --git a/api-service/playground/src/sessions/filesystemController.ts b/api-service/playground/src/sessions/filesystemController.tsindex 264f30c93..ce197613b 100644--- a/api-service/playground/src/sessions/filesystemController.ts+++ b/api-service/playground/src/sessions/filesystemController.ts@@ -22,13 +22,13 @@ interface ReadFilesystemFileResponse {@Route('sessions')export class FilesystemController extends Controller {- @Get('{id}/filesystem/dir')+ @Get('{sessionID}/filesystem/dir')public async listFilesystemDir(- @Path() id: string,+ @Path() sessionID: string,@Query() path: string,): Promise<ListFilesystemDirResponse> {const entries = await CachedSession- .findSession(id)+ .findSession(sessionID).session.filesystem!.list(path)@@ -38,37 +38,37 @@ export class FilesystemController extends Controller {}}- @Put('{id}/filesystem/dir')+ @Put('{sessionID}/filesystem/dir')public async makeFilesystemDir(- @Path() id: string,+ @Path() sessionID: string,@Query() path: string,): Promise<void> {await CachedSession- .findSession(id)+ .findSession(sessionID).session.filesystem?.makeDir(path)}- @Delete('{id}/filesystem')+ @Delete('{sessionID}/filesystem')public async deleteFilesystemEntry(- @Path() id: string,+ @Path() sessionID: string,@Query() path: string,) {await CachedSession- .findSession(id)+ .findSession(sessionID).session.filesystem!.remove(path)}- @Get('{id}/filesystem/file')+ @Get('{sessionID}/filesystem/file')public async readFilesystemFile(- @Path() id: string,+ @Path() sessionID: string,@Query() path: string,): Promise<ReadFilesystemFileResponse> {const content = await CachedSession- .findSession(id)+ .findSession(sessionID).session.filesystem!.read(path)@@ -78,14 +78,14 @@ export class FilesystemController extends Controller {}}- @Put('{id}/filesystem/file')+ @Put('{sessionID}/filesystem/file')public async writeFilesystemFile(- @Path() id: string,+ @Path() sessionID: string,@Query() path: string,@BodyProp('content') content: string,) {await CachedSession- .findSession(id)+ .findSession(sessionID).session.filesystem!.write(path, content)diff --git a/api-service/playground/src/sessions/processesController.ts b/api-service/playground/src/sessions/processesController.tsindex 87818a4b3..255054987 100644--- a/api-service/playground/src/sessions/processesController.ts+++ b/api-service/playground/src/sessions/processesController.ts@@ -30,19 +30,19 @@ interface ProcessResponse {export class ProcessController extends Controller {/***- * @param id+ * @param sessionID* @param wait if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.* @param requestBody* @returns `processID` and all `stdout` and `stderr` that the process outputted until now.*/- @Post('{id}/processes')+ @Post('{sessionID}/processes')public async startProcess(- @Path() id: string,+ @Path() sessionID: string,@Body() requestBody: StartProcessParams,@Query() wait?: boolean,): Promise<ProcessResponse> {const cachedProcess = await CachedSession- .findSession(id)+ .findSession(sessionID).startProcess(requestBody)if (wait) {@@ -51,14 +51,14 @@ export class ProcessController extends Controller {return cachedProcess.response}- @Delete('{id}/processes/{processID}')+ @Delete('{sessionID}/processes/{processID}')public async stopProcess(- @Path() id: string,+ @Path() sessionID: string,@Path() processID: string,@Query('results') results?: boolean): Promise<ProcessResponse | undefined> {const cachedProcess = await CachedSession- .findSession(id)+ .findSession(sessionID).stopProcess(processID)if (cachedProcess && results) {@@ -66,14 +66,14 @@ export class ProcessController extends Controller {}}- @Post('{id}/processes/{processID}/stdin')+ @Post('{sessionID}/processes/{processID}/stdin')public async writeProcessStdin(- @Path() id: string,+ @Path() sessionID: string,@Path() processID: string,@BodyProp('stdin') stdin: string,): Promise<void> {await CachedSession- .findSession(id)+ .findSession(sessionID).findProcess(processID)?.process?.sendStdin(stdin)@@ -81,19 +81,19 @@ export class ProcessController extends Controller {/***- * @param id+ * @param sessioniD* @param processID* @param wait if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.* @returns `processID` and all `stdout` and `stderr` that the process outputted until now.*/- @Get('{id}/processes/{processID}')+ @Get('{sessionID}/processes/{processID}')public async getProcess(- @Path() id: string,+ @Path() sessionID: string,@Path() processID: string,@Query() wait?: boolean,): Promise<ProcessResponse> {const cachedProcess = CachedSession- .findSession(id)+ .findSession(sessionID).findProcess(processID)if (wait) {diff --git a/api-service/playground/src/sessions/sessionsController.ts b/api-service/playground/src/sessions/sessionsController.tsindex d52aef30a..479a70fd3 100644--- a/api-service/playground/src/sessions/sessionsController.ts+++ b/api-service/playground/src/sessions/sessionsController.ts@@ -7,9 +7,9 @@ import {BodyProp,Route,} from 'tsoa'+import { OpenedPort as OpenPort } from '@devbookhq/sdk'import { CachedSession } from './session'-import { OpenedPort as OpenPort } from '@devbookhq/sdk'interface SessionResponse {id: string@@ -30,20 +30,20 @@ export class SessionsController extends Controller {}}- @Delete('{id}')+ @Delete('{sessionID}')public async deleteSession(- @Path() id: string,+ @Path() sessionID: string,): Promise<void> {await CachedSession- .findSession(id)+ .findSession(sessionID).delete()}- @Get('{id}')+ @Get('{sessionID}')public async getSession(- @Path() id: string,+ @Path() sessionID: string,): Promise<SessionResponse> {- const cachedSession = CachedSession.findSession(id)+ const cachedSession = CachedSession.findSession(sessionID)return {id: cachedSession.id!,diff --git a/api-service/playground/src/utils/readFileAsBase64.ts b/api-service/playground/src/utils/readFileAsBase64.tsnew file mode 100644index 000000000..8a7a949c6--- /dev/null+++ b/api-service/playground/src/utils/readFileAsBase64.ts@@ -0,0 +1,26 @@+import {+ OutStderrResponse,+ OutStdoutResponse,+ ProcessManager,+ createSessionProcess+} from '@devbookhq/sdk';++export async function readFileAsBase64(manager: ProcessManager, filepath: string) {+ const stderr: OutStderrResponse[] = [];+ const stdout: OutStdoutResponse[] = [];++ const process = await createSessionProcess({+ manager,+ onStderr: (o) => stderr.push(o),+ onStdout: (o) => stdout.push(o),+ cmd: `base64 -w 0 ${filepath}`,+ });++ await process.exited;++ if (stderr.length > 0) {+ throw new Error(`Error reading file ${stderr.map(o => o.line).join('\n')}`);+ }++ return stdout.map(o => o.line).join('');+}diff --git a/api-service/playground/swagger.json b/api-service/playground/swagger.jsonindex a23573998..1f08ab67e 100644--- a/api-service/playground/swagger.json+++ b/api-service/playground/swagger.json@@ -290,16 +290,25 @@}}},- "/deployments": {- "post": {- "operationId": "CreateSessions",+ "/sessions/{sessionID}/deployments": {+ "put": {+ "operationId": "CreateDeployment","responses": {"204": {"description": "No content"}},"security": [],- "parameters": [],+ "parameters": [+ {+ "in": "path",+ "name": "sessionID",+ "required": true,+ "schema": {+ "type": "string"+ }+ }+ ],"requestBody": {"required": true,"content": {@@ -312,18 +321,13 @@"code": {"type": "string"},- "packageJSON": {- "type": "string"- },"envVars": {"$ref": "#/components/schemas/EnvVars"}},"required": ["projectID",- "code",- "packageJSON",- "envVars"+ "code"],"type": "object"}@@ -332,7 +336,7 @@}}},- "/sessions/{id}/filesystem/dir": {+ "/sessions/{sessionID}/filesystem/dir": {"get": {"operationId": "ListFilesystemDir","responses": {@@ -351,7 +355,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -378,7 +382,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -395,7 +399,7 @@]}},- "/sessions/{id}/filesystem": {+ "/sessions/{sessionID}/filesystem": {"delete": {"operationId": "DeleteFilesystemEntry","responses": {@@ -407,7 +411,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -424,7 +428,7 @@]}},- "/sessions/{id}/filesystem/file": {+ "/sessions/{sessionID}/filesystem/file": {"get": {"operationId": "ReadFilesystemFile","responses": {@@ -443,7 +447,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -470,7 +474,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -505,7 +509,7 @@}}},- "/sessions/{id}/processes": {+ "/sessions/{sessionID}/processes": {"post": {"operationId": "StartProcess","responses": {@@ -524,7 +528,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -552,7 +556,7 @@}}},- "/sessions/{id}/processes/{processID}": {+ "/sessions/{sessionID}/processes/{processID}": {"delete": {"operationId": "StopProcess","responses": {@@ -571,7 +575,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -613,7 +617,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -639,7 +643,7 @@]}},- "/sessions/{id}/processes/{processID}/stdin": {+ "/sessions/{sessionID}/processes/{processID}/stdin": {"post": {"operationId": "WriteProcessStdin","responses": {@@ -651,7 +655,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -723,7 +727,7 @@}}},- "/sessions/{id}": {+ "/sessions/{sessionID}": {"delete": {"operationId": "DeleteSession","responses": {@@ -735,7 +739,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"@@ -761,7 +765,7 @@"parameters": [{"in": "path",- "name": "id",+ "name": "sessionID","required": true,"schema": {"type": "string"diff --git a/api-service/playground/yarn.lock b/api-service/playground/yarn.lockindex 0c4ae6606..77dbe36f0 100644--- a/api-service/playground/yarn.lock+++ b/api-service/playground/yarn.lock@@ -2,6 +2,772 @@# yarn lockfile v1+"@aws-crypto/ie11-detection@^3.0.0":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@aws-crypto/ie11-detection/-/ie11-detection-3.0.0.tgz#640ae66b4ec3395cee6a8e94ebcd9f80c24cd688"+ integrity sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==+ dependencies:+ tslib "^1.11.1"++"@aws-crypto/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-browser/-/sha256-browser-3.0.0.tgz#05f160138ab893f1c6ba5be57cfd108f05827766"+ integrity sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==+ dependencies:+ "@aws-crypto/ie11-detection" "^3.0.0"+ "@aws-crypto/sha256-js" "^3.0.0"+ "@aws-crypto/supports-web-crypto" "^3.0.0"+ "@aws-crypto/util" "^3.0.0"+ "@aws-sdk/types" "^3.222.0"+ "@aws-sdk/util-locate-window" "^3.0.0"+ "@aws-sdk/util-utf8-browser" "^3.0.0"+ tslib "^1.11.1"++"@aws-crypto/[email protected]", "@aws-crypto/sha256-js@^3.0.0":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-3.0.0.tgz#f06b84d550d25521e60d2a0e2a90139341e007c2"+ integrity sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==+ dependencies:+ "@aws-crypto/util" "^3.0.0"+ "@aws-sdk/types" "^3.222.0"+ tslib "^1.11.1"++"@aws-crypto/supports-web-crypto@^3.0.0":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-3.0.0.tgz#5d1bf825afa8072af2717c3e455f35cda0103ec2"+ integrity sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==+ dependencies:+ tslib "^1.11.1"++"@aws-crypto/util@^3.0.0":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-3.0.0.tgz#1c7ca90c29293f0883468ad48117937f0fe5bfb0"+ integrity sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==+ dependencies:+ "@aws-sdk/types" "^3.222.0"+ "@aws-sdk/util-utf8-browser" "^3.0.0"+ tslib "^1.11.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/abort-controller/-/abort-controller-3.292.0.tgz#37c43fd2ce5bcb158aa62e3a5632045ee8a7e3cc"+ integrity sha512-lf+OPptL01kvryIJy7+dvFux5KbJ6OTwLPPEekVKZ2AfEvwcVtOZWFUhyw3PJCBTVncjKB1Kjl3V/eTS3YuPXQ==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/client-api-gateway@^3.293.0":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/client-api-gateway/-/client-api-gateway-3.293.0.tgz#aebadab7969e3422c7dee570068f62a8a32e8ace"+ integrity sha512-Q+Lxoudn6PzX+Fi0NGcUZvrod8GN6YsyGlmZhxuv8fdBl1JV5YAKFFPfHFUyPoWq9LhlqNtd7cot8ldgruedKw==+ dependencies:+ "@aws-crypto/sha256-browser" "3.0.0"+ "@aws-crypto/sha256-js" "3.0.0"+ "@aws-sdk/client-sts" "3.293.0"+ "@aws-sdk/config-resolver" "3.292.0"+ "@aws-sdk/credential-provider-node" "3.293.0"+ "@aws-sdk/fetch-http-handler" "3.292.0"+ "@aws-sdk/hash-node" "3.292.0"+ "@aws-sdk/invalid-dependency" "3.292.0"+ "@aws-sdk/middleware-content-length" "3.292.0"+ "@aws-sdk/middleware-endpoint" "3.292.0"+ "@aws-sdk/middleware-host-header" "3.292.0"+ "@aws-sdk/middleware-logger" "3.292.0"+ "@aws-sdk/middleware-recursion-detection" "3.292.0"+ "@aws-sdk/middleware-retry" "3.293.0"+ "@aws-sdk/middleware-sdk-api-gateway" "3.292.0"+ "@aws-sdk/middleware-serde" "3.292.0"+ "@aws-sdk/middleware-signing" "3.292.0"+ "@aws-sdk/middleware-stack" "3.292.0"+ "@aws-sdk/middleware-user-agent" "3.293.0"+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/node-http-handler" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/smithy-client" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/url-parser" "3.292.0"+ "@aws-sdk/util-base64" "3.292.0"+ "@aws-sdk/util-body-length-browser" "3.292.0"+ "@aws-sdk/util-body-length-node" "3.292.0"+ "@aws-sdk/util-defaults-mode-browser" "3.292.0"+ "@aws-sdk/util-defaults-mode-node" "3.292.0"+ "@aws-sdk/util-endpoints" "3.293.0"+ "@aws-sdk/util-retry" "3.292.0"+ "@aws-sdk/util-user-agent-browser" "3.292.0"+ "@aws-sdk/util-user-agent-node" "3.292.0"+ "@aws-sdk/util-utf8" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/client-lambda@^3.293.0":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/client-lambda/-/client-lambda-3.293.0.tgz#41245496958c0de8289c1d9ac1b2543ab58e438a"+ integrity sha512-lDohbXMqnwjIiV9p1Ef8354z0+RVPoUU01Ow33A+2Co/Y0nnF/1C4+atQGmBch3OvTJkaaPuRKzIFclzjzkT/w==+ dependencies:+ "@aws-crypto/sha256-browser" "3.0.0"+ "@aws-crypto/sha256-js" "3.0.0"+ "@aws-sdk/client-sts" "3.293.0"+ "@aws-sdk/config-resolver" "3.292.0"+ "@aws-sdk/credential-provider-node" "3.293.0"+ "@aws-sdk/fetch-http-handler" "3.292.0"+ "@aws-sdk/hash-node" "3.292.0"+ "@aws-sdk/invalid-dependency" "3.292.0"+ "@aws-sdk/middleware-content-length" "3.292.0"+ "@aws-sdk/middleware-endpoint" "3.292.0"+ "@aws-sdk/middleware-host-header" "3.292.0"+ "@aws-sdk/middleware-logger" "3.292.0"+ "@aws-sdk/middleware-recursion-detection" "3.292.0"+ "@aws-sdk/middleware-retry" "3.293.0"+ "@aws-sdk/middleware-serde" "3.292.0"+ "@aws-sdk/middleware-signing" "3.292.0"+ "@aws-sdk/middleware-stack" "3.292.0"+ "@aws-sdk/middleware-user-agent" "3.293.0"+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/node-http-handler" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/smithy-client" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/url-parser" "3.292.0"+ "@aws-sdk/util-base64" "3.292.0"+ "@aws-sdk/util-body-length-browser" "3.292.0"+ "@aws-sdk/util-body-length-node" "3.292.0"+ "@aws-sdk/util-defaults-mode-browser" "3.292.0"+ "@aws-sdk/util-defaults-mode-node" "3.292.0"+ "@aws-sdk/util-endpoints" "3.293.0"+ "@aws-sdk/util-retry" "3.292.0"+ "@aws-sdk/util-user-agent-browser" "3.292.0"+ "@aws-sdk/util-user-agent-node" "3.292.0"+ "@aws-sdk/util-utf8" "3.292.0"+ "@aws-sdk/util-waiter" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.293.0.tgz#89b797ad920692a8873611ecaf84b627fb3cdd00"+ integrity sha512-GrbcBzRxWNRc5unZ0rOe1Jzhjvf7xIiCfLDhXYKaafb38gxUc3vDPy4Uzih6Trcq525oB0fG7iiZJgstMXelcw==+ dependencies:+ "@aws-crypto/sha256-browser" "3.0.0"+ "@aws-crypto/sha256-js" "3.0.0"+ "@aws-sdk/config-resolver" "3.292.0"+ "@aws-sdk/fetch-http-handler" "3.292.0"+ "@aws-sdk/hash-node" "3.292.0"+ "@aws-sdk/invalid-dependency" "3.292.0"+ "@aws-sdk/middleware-content-length" "3.292.0"+ "@aws-sdk/middleware-endpoint" "3.292.0"+ "@aws-sdk/middleware-host-header" "3.292.0"+ "@aws-sdk/middleware-logger" "3.292.0"+ "@aws-sdk/middleware-recursion-detection" "3.292.0"+ "@aws-sdk/middleware-retry" "3.293.0"+ "@aws-sdk/middleware-serde" "3.292.0"+ "@aws-sdk/middleware-stack" "3.292.0"+ "@aws-sdk/middleware-user-agent" "3.293.0"+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/node-http-handler" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/smithy-client" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/url-parser" "3.292.0"+ "@aws-sdk/util-base64" "3.292.0"+ "@aws-sdk/util-body-length-browser" "3.292.0"+ "@aws-sdk/util-body-length-node" "3.292.0"+ "@aws-sdk/util-defaults-mode-browser" "3.292.0"+ "@aws-sdk/util-defaults-mode-node" "3.292.0"+ "@aws-sdk/util-endpoints" "3.293.0"+ "@aws-sdk/util-retry" "3.292.0"+ "@aws-sdk/util-user-agent-browser" "3.292.0"+ "@aws-sdk/util-user-agent-node" "3.292.0"+ "@aws-sdk/util-utf8" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.293.0.tgz#f660b6b3fe2aa207e3506259238b82d3374bb621"+ integrity sha512-EtVgEqL4vSDAV6vi9QzeZA5M+CIQIPoy14Q6Gl7TWehakxBqGFw2xnEHBo2djWH5oJMQAGOfjICPkZLoKxJT1A==+ dependencies:+ "@aws-crypto/sha256-browser" "3.0.0"+ "@aws-crypto/sha256-js" "3.0.0"+ "@aws-sdk/config-resolver" "3.292.0"+ "@aws-sdk/fetch-http-handler" "3.292.0"+ "@aws-sdk/hash-node" "3.292.0"+ "@aws-sdk/invalid-dependency" "3.292.0"+ "@aws-sdk/middleware-content-length" "3.292.0"+ "@aws-sdk/middleware-endpoint" "3.292.0"+ "@aws-sdk/middleware-host-header" "3.292.0"+ "@aws-sdk/middleware-logger" "3.292.0"+ "@aws-sdk/middleware-recursion-detection" "3.292.0"+ "@aws-sdk/middleware-retry" "3.293.0"+ "@aws-sdk/middleware-serde" "3.292.0"+ "@aws-sdk/middleware-stack" "3.292.0"+ "@aws-sdk/middleware-user-agent" "3.293.0"+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/node-http-handler" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/smithy-client" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/url-parser" "3.292.0"+ "@aws-sdk/util-base64" "3.292.0"+ "@aws-sdk/util-body-length-browser" "3.292.0"+ "@aws-sdk/util-body-length-node" "3.292.0"+ "@aws-sdk/util-defaults-mode-browser" "3.292.0"+ "@aws-sdk/util-defaults-mode-node" "3.292.0"+ "@aws-sdk/util-endpoints" "3.293.0"+ "@aws-sdk/util-retry" "3.292.0"+ "@aws-sdk/util-user-agent-browser" "3.292.0"+ "@aws-sdk/util-user-agent-node" "3.292.0"+ "@aws-sdk/util-utf8" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.293.0.tgz#5830b55cf27d825c0c7d15a070c964dd20ed6d98"+ integrity sha512-cNKWt9Xnv1sQvdLnzCdDJBRgavWH6g5F8TzrueaCq10cg/GanKkCgiIZFoKDv8LQ3dHzTkp/OKp4sN5N5DH/Ow==+ dependencies:+ "@aws-crypto/sha256-browser" "3.0.0"+ "@aws-crypto/sha256-js" "3.0.0"+ "@aws-sdk/config-resolver" "3.292.0"+ "@aws-sdk/credential-provider-node" "3.293.0"+ "@aws-sdk/fetch-http-handler" "3.292.0"+ "@aws-sdk/hash-node" "3.292.0"+ "@aws-sdk/invalid-dependency" "3.292.0"+ "@aws-sdk/middleware-content-length" "3.292.0"+ "@aws-sdk/middleware-endpoint" "3.292.0"+ "@aws-sdk/middleware-host-header" "3.292.0"+ "@aws-sdk/middleware-logger" "3.292.0"+ "@aws-sdk/middleware-recursion-detection" "3.292.0"+ "@aws-sdk/middleware-retry" "3.293.0"+ "@aws-sdk/middleware-sdk-sts" "3.292.0"+ "@aws-sdk/middleware-serde" "3.292.0"+ "@aws-sdk/middleware-signing" "3.292.0"+ "@aws-sdk/middleware-stack" "3.292.0"+ "@aws-sdk/middleware-user-agent" "3.293.0"+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/node-http-handler" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/smithy-client" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/url-parser" "3.292.0"+ "@aws-sdk/util-base64" "3.292.0"+ "@aws-sdk/util-body-length-browser" "3.292.0"+ "@aws-sdk/util-body-length-node" "3.292.0"+ "@aws-sdk/util-defaults-mode-browser" "3.292.0"+ "@aws-sdk/util-defaults-mode-node" "3.292.0"+ "@aws-sdk/util-endpoints" "3.293.0"+ "@aws-sdk/util-retry" "3.292.0"+ "@aws-sdk/util-user-agent-browser" "3.292.0"+ "@aws-sdk/util-user-agent-node" "3.292.0"+ "@aws-sdk/util-utf8" "3.292.0"+ fast-xml-parser "4.1.2"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/config-resolver/-/config-resolver-3.292.0.tgz#c5c9b86a2a75aa591bc7acdbe94557367a2a7d90"+ integrity sha512-cB3twnNR7vYvlt2jvw8VlA1+iv/tVzl+/S39MKqw2tepU+AbJAM0EHwb/dkf1OKSmlrnANXhshx80MHF9zL4mA==+ dependencies:+ "@aws-sdk/signature-v4" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-config-provider" "3.292.0"+ "@aws-sdk/util-middleware" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.292.0.tgz#bde3333b7bee715c8a41113f1c6deb0e896a59da"+ integrity sha512-YbafSG0ZEKE2969CJWVtUhh3hfOeLPecFVoXOtegCyAJgY5Ghtu4TsVhL4DgiGAgOC30ojAmUVQEXzd7xJF5xA==+ dependencies:+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-imds/-/credential-provider-imds-3.292.0.tgz#557e59c637c3852cac54534319c75eb015aa3081"+ integrity sha512-W/peOgDSRYulgzFpUhvgi1pCm6piBz6xrVN17N4QOy+3NHBXRVMVzYk6ct2qpLPgJUSEZkcpP+Gds+bBm8ed1A==+ dependencies:+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/url-parser" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.293.0.tgz#f08f1ad45f9bb642c6ba8c12981fff51cb13b6fb"+ integrity sha512-Cy32aGm8Qc70Jc7VjcaxAEBfhLCS6/iewX4ZSI6MRoo0NrggnIwD9pdtO0Y0eqzEHXJvl2bycXFTJPmW4AzQIA==+ dependencies:+ "@aws-sdk/credential-provider-env" "3.292.0"+ "@aws-sdk/credential-provider-imds" "3.292.0"+ "@aws-sdk/credential-provider-process" "3.292.0"+ "@aws-sdk/credential-provider-sso" "3.293.0"+ "@aws-sdk/credential-provider-web-identity" "3.292.0"+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/shared-ini-file-loader" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.293.0.tgz#e5e177c424811801de80e30b984d738057b9b3c9"+ integrity sha512-w6NuuEiVZ5Ja2fmXbo5GiH2cykKw682HvL6bZ5Yhdj27twFL+4jUuXONxibQkXgTJbtiTx3tlcdLOa67RDq8ow==+ dependencies:+ "@aws-sdk/credential-provider-env" "3.292.0"+ "@aws-sdk/credential-provider-imds" "3.292.0"+ "@aws-sdk/credential-provider-ini" "3.293.0"+ "@aws-sdk/credential-provider-process" "3.292.0"+ "@aws-sdk/credential-provider-sso" "3.293.0"+ "@aws-sdk/credential-provider-web-identity" "3.292.0"+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/shared-ini-file-loader" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.292.0.tgz#52caa9d46d227e02fda5807d32a177a0819eee97"+ integrity sha512-CFVXuMuUvg/a4tknzRikEDwZBnKlHs1LZCpTXIGjBdUTdosoi4WNzDLzGp93ZRTtcgFz+4wirz2f7P3lC0NrQw==+ dependencies:+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/shared-ini-file-loader" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.293.0.tgz#3e68af0edeaf6bdfdc2d07da80d3870e3f61d6e5"+ integrity sha512-XdZW6mgAcV20AXrQ3FYKVZAO8LuFZwZnEf34Xc1Z2MuHkbSXxixPDu+mqbUKMwru1rmy6YaZ0eNuIbZYVCq0mw==+ dependencies:+ "@aws-sdk/client-sso" "3.293.0"+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/shared-ini-file-loader" "3.292.0"+ "@aws-sdk/token-providers" "3.293.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.292.0.tgz#60e180eadd0947891ed041f6a4574fa2074d0d4c"+ integrity sha512-4DbtIEM9gGVfqYlMdYXg3XY+vBhemjB1zXIequottW8loLYM8Vuz4/uGxxKNze6evVVzowsA0wKrYclE1aj/Rg==+ dependencies:+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/fetch-http-handler/-/fetch-http-handler-3.292.0.tgz#a99d915e019e888bfdfa3e5da68606bfc4c80522"+ integrity sha512-zh3bhUJbL8RSa39ZKDcy+AghtUkIP8LwcNlwRIoxMQh3Row4D1s4fCq0KZCx98NJBEXoiTLyTQlZxxI//BOb1Q==+ dependencies:+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/querystring-builder" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-base64" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/hash-node/-/hash-node-3.292.0.tgz#4f62e36a7cdefd0f4bca4c1d16261d36a4596442"+ integrity sha512-1yLxmIsvE+eK36JXEgEIouTITdykQLVhsA5Oai//Lar6Ddgu1sFpLDbdkMtKbrh4I0jLN9RacNCkeVQjZPTCCQ==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-buffer-from" "3.292.0"+ "@aws-sdk/util-utf8" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/invalid-dependency/-/invalid-dependency-3.292.0.tgz#0e5b47cacf459db6ae8dddc02d613a5bd0ff3555"+ integrity sha512-39OUV78CD3TmEbjhpt+V+Fk4wAGWhixqHxDSN8+4WL0uB4Fl7k5m3Z9hNY78AttHQSl2twR7WtLztnXPAFsriw==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/is-array-buffer/-/is-array-buffer-3.292.0.tgz#d599c7ad4ad104918d52b8d2160091ca5b0a1971"+ integrity sha512-kW/G5T/fzI0sJH5foZG6XJiNCevXqKLxV50qIT4B1pMuw7regd4ALIy0HwSqj1nnn9mSbRWBfmby0jWCJsMcwg==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-content-length/-/middleware-content-length-3.292.0.tgz#f2035aee536abf553b743202879ee86171c4c3c7"+ integrity sha512-2gMWzQus5mj14menolpPDbYBeaOYcj7KNFZOjTjjI3iQ0KqyetG6XasirNrcJ/8QX1BRmpTol8Xjp2Ue3Gbzwg==+ dependencies:+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-endpoint/-/middleware-endpoint-3.292.0.tgz#c6809a2e001ab03cac223dfae48439e893da627b"+ integrity sha512-cPMkiSxpZGG6tYlW4OS+ucS6r43f9ddX9kcUoemJCY10MOuogdPjulCAjE0HTs2PLKSOrrG4CTP4Q4wWDrH4Bw==+ dependencies:+ "@aws-sdk/middleware-serde" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/signature-v4" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/url-parser" "3.292.0"+ "@aws-sdk/util-config-provider" "3.292.0"+ "@aws-sdk/util-middleware" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.292.0.tgz#513b011fcabedf29e0a6706a4aa3867bc7d813e4"+ integrity sha512-mHuCWe3Yg2S5YZ7mB7sKU6C97XspfqrimWjMW9pfV2usAvLA3R0HrB03jpR5vpZ3P4q7HB6wK3S6CjYMGGRNag==+ dependencies:+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.292.0.tgz#dd5ca0f20b06b1b74f918ddf0264ece1e9887aa1"+ integrity sha512-yZNY1XYmG3NG+uonET7jzKXNiwu61xm/ZZ6i/l51SusuaYN+qQtTAhOFsieQqTehF9kP4FzbsWgPDwD8ZZX9lw==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.292.0.tgz#d422bbc9efa2df2481ad56d0db553b0c0652e615"+ integrity sha512-kA3VZpPko0Zqd7CYPTKAxhjEv0HJqFu2054L04dde1JLr43ro+2MTdX7vsHzeAFUVRphqatFFofCumvXmU6Mig==+ dependencies:+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-retry/-/middleware-retry-3.293.0.tgz#e7706c926cce1f21e5dbea2ab8d2828e50d6a303"+ integrity sha512-7tiaz2GzRecNHaZ6YnF+Nrtk3au8qF6oiipf11R7MJiqJ0fkMLnz/iRrlakDziS9qF/a9v+3yxb4W4NHK3f4Tw==+ dependencies:+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/service-error-classification" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-middleware" "3.292.0"+ "@aws-sdk/util-retry" "3.292.0"+ tslib "^2.3.1"+ uuid "^8.3.2"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-api-gateway/-/middleware-sdk-api-gateway-3.292.0.tgz#6e05452542627a519e939233e4d851b131e88b06"+ integrity sha512-OICjmIzl9SutlsgnBSNVM90VfZN5U+RLZsQOAKdH0VUTsUmKgmDVEFBLN7Dh8oWDKSqeYZ7XhLT7VK/ak6zuXQ==+ dependencies:+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.292.0.tgz#927cecb0167b84aceddc959039f368ea2a593e87"+ integrity sha512-GN5ZHEqXZqDi+HkVbaXRX9HaW/vA5rikYpWKYsmxTUZ7fB7ijvEO3co3lleJv2C+iGYRtUIHC4wYNB5xgoTCxg==+ dependencies:+ "@aws-sdk/middleware-signing" "3.292.0"+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/signature-v4" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-serde/-/middleware-serde-3.292.0.tgz#4834ee9b03c50e11349306753c27086bac4dac08"+ integrity sha512-6hN9mTQwSvV8EcGvtXbS/MpK7WMCokUku5Wu7X24UwCNMVkoRHLIkYcxHcvBTwttuOU0d8hph1/lIX4dkLwkQw==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.292.0.tgz#51868199d23d28d264a06adcec52373c8da88c85"+ integrity sha512-GVfoSjDjEQ4TaO6x9MffyP3uRV+2KcS5FtexLCYOM9pJcnE9tqq9FJOrZ1xl1g+YjUVKxo4x8lu3tpEtIb17qg==+ dependencies:+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/signature-v4" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-middleware" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-stack/-/middleware-stack-3.292.0.tgz#279f4b688d91f9757cedd5311ae86ad6e3e6ac63"+ integrity sha512-WdQpRkuMysrEwrkByCM1qCn2PPpFGGQ2iXqaFha5RzCdZDlxJni9cVNb6HzWUcgjLEYVTXCmOR9Wxm3CNW44Qg==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.293.0.tgz#ce802bc73c5d4db043b5454e894e4dd1663442b2"+ integrity sha512-gZ7/e6XwpKk9mvgA78q4Ffc796jTn02TUKx2qMDnkLVbeJXBNN2jnvYEKq8v70+o7fd/ALRudg8gBDmkkhM/Hw==+ dependencies:+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-endpoints" "3.293.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/node-config-provider/-/node-config-provider-3.292.0.tgz#52817db9e056fedb967704b156fde4b5516dacf1"+ integrity sha512-S3NnC9dQ5GIbJYSDIldZb4zdpCOEua1tM7bjYL3VS5uqCEM93kIi/o/UkIUveMp/eqTS2LJa5HjNIz5Te6je0A==+ dependencies:+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/shared-ini-file-loader" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/node-http-handler/-/node-http-handler-3.292.0.tgz#f7a8fca359932ba56acf65eafd169db9d2cebc9d"+ integrity sha512-L/E3UDSwXLXjt1XWWh0RBD55F+aZI1AEdPwdES9i1PjnZLyuxuDhEDptVibNN56+I9/4Q3SbmuVRVlOD0uzBag==+ dependencies:+ "@aws-sdk/abort-controller" "3.292.0"+ "@aws-sdk/protocol-http" "3.292.0"+ "@aws-sdk/querystring-builder" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/property-provider/-/property-provider-3.292.0.tgz#2bdf9f6e15521350936636107a2057a19c1e55ec"+ integrity sha512-dHArSvsiqhno/g55N815gXmAMrmN8DP7OeFNqJ4wJG42xsF2PFN3DAsjIuHuXMwu+7A3R1LHqIpvv0hA9KeoJQ==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/protocol-http/-/protocol-http-3.292.0.tgz#1829036bdec59698f44daadb590e3fa552494955"+ integrity sha512-NLi4fq3k41aXIh1I97yX0JTy+3p6aW1NdwFwdMa674z86QNfb4SfRQRZBQe9wEnAZ/eWHVnlKIuII+U1URk/Kg==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/querystring-builder/-/querystring-builder-3.292.0.tgz#a2fd9c2540a80718fb2f52c606926f8d2e08a695"+ integrity sha512-XElIFJaReIm24eEvBtV2dOtZvcm3gXsGu/ftG8MLJKbKXFKpAP1q+K6En0Bs7/T88voKghKdKpKT+eZUWgTqlg==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-uri-escape" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/querystring-parser/-/querystring-parser-3.292.0.tgz#32645c834b4dd1660176bf0b6df201d688242c66"+ integrity sha512-iTYpYo7a8X9RxiPbjjewIpm6XQPx2EOcF1dWCPRII9EFlmZ4bwnX+PDI36fIo9oVs8TIKXmwNGODU9nsg7CSAw==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/service-error-classification/-/service-error-classification-3.292.0.tgz#8fef4ee8e553218234eca91dd479902092b12bac"+ integrity sha512-X1k3sixCeC45XSNHBe+kRBQBwPDyTFtFITb8O5Qw4dS9XWGhrUJT4CX0qE5aj8qP3F9U5nRizs9c2mBVVP0Caw==++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/shared-ini-file-loader/-/shared-ini-file-loader-3.292.0.tgz#08260536116c4e0b44ebd0d0bd197ff15815090f"+ integrity sha512-Av2TTYg1Jig2kbkD56ybiqZJB6vVrYjv1W5UQwY/q3nA/T2mcrgQ20ByCOt5Bv9VvY7FSgC+znj+L4a7RLGmBg==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4/-/signature-v4-3.292.0.tgz#1fbb9ceea4c80c079b64f836af365985970f2a5f"+ integrity sha512-+rw47VY5mvBecn13tDQTl1ipGWg5tE63faWgmZe68HoBL87ZiDzsd7bUKOvjfW21iMgWlwAppkaNNQayYRb2zg==+ dependencies:+ "@aws-sdk/is-array-buffer" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ "@aws-sdk/util-hex-encoding" "3.292.0"+ "@aws-sdk/util-middleware" "3.292.0"+ "@aws-sdk/util-uri-escape" "3.292.0"+ "@aws-sdk/util-utf8" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/smithy-client/-/smithy-client-3.292.0.tgz#232b7bac2115d52390057bab6a79d14cffe06698"+ integrity sha512-S8PKzjPkZ6SXYZuZiU787dMsvQ0d/LFEhw2OI4Oe2An9Fc2IwJ2FYukyHoQJOV2tV0DiuMebPo7eMyQyjKElvA==+ dependencies:+ "@aws-sdk/middleware-stack" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.293.0.tgz#e28f6f321df39fe6e179bfd7a14a35a48bcaa53b"+ integrity sha512-Ly5pdUZJcufNHTovmA0XjyUV6Qth89oK3VHSnrNbVYKFCDvApF4tuR8lBYayn7vEWrdlkGCnfJu42yN71NPfDw==+ dependencies:+ "@aws-sdk/client-sso-oidc" "3.293.0"+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/shared-ini-file-loader" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]", "@aws-sdk/types@^3.222.0":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.292.0.tgz#54aa7347123116ac368f08df5e02954207328c63"+ integrity sha512-1teYAY2M73UXZxMAxqZxVS2qwXjQh0OWtt7qyLfha0TtIk/fZ1hRwFgxbDCHUFcdNBSOSbKH/ESor90KROXLCQ==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/url-parser/-/url-parser-3.292.0.tgz#b8b81d1c099e248813afbc33206e24b97f14228a"+ integrity sha512-NZeAuZCk1x6TIiWuRfbOU6wHPBhf0ly2qOHzWut4BCH+b4RrDmFF8EmXcH1auEfGhE7yRyR6XqIN0t3S+hYACA==+ dependencies:+ "@aws-sdk/querystring-parser" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-base64/-/util-base64-3.292.0.tgz#b07fc9752edad18b32ad4b1cc752b5df2d133377"+ integrity sha512-zjNCwNdy617yFvEjZorepNWXB2sQCVfsShCwFy/kIQ5iW5tT2jQKaqc0K77diU9atkooxw9p1W9m9sOgrkOFNw==+ dependencies:+ "@aws-sdk/util-buffer-from" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-body-length-browser/-/util-body-length-browser-3.292.0.tgz#1baefd126c8881ff140c83111aeb79c6d5b21cb3"+ integrity sha512-Wd/BM+JsMiKvKs/bN3z6TredVEHh2pKudGfg3CSjTRpqFpOG903KDfyHBD42yg5PuCHoHoewJvTPKwgn7/vhaw==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-body-length-node/-/util-body-length-node-3.292.0.tgz#9f3f91c80e9b4e2afb226550e9a0b3acde8bcd02"+ integrity sha512-BBgipZ2P6RhogWE/qj0oqpdlyd3iSBYmb+aD/TBXwB2lA/X8A99GxweBd/kp06AmcJRoMS9WIXgbWkiiBlRlSA==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-buffer-from/-/util-buffer-from-3.292.0.tgz#b2d0eff4e63b0cc8a5d5dc133b76c3fe3daee2fc"+ integrity sha512-RxNZjLoXNxHconH9TYsk5RaEBjSgTtozHeyIdacaHPj5vlQKi4hgL2hIfKeeNiAfQEVjaUFF29lv81xpNMzVMQ==+ dependencies:+ "@aws-sdk/is-array-buffer" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-config-provider/-/util-config-provider-3.292.0.tgz#6a9c7b7e29028135862ba880c615e2f975d68c6d"+ integrity sha512-t3noYll6bPRSxeeNNEkC5czVjAiTPcsq00OwfJ2xyUqmquhLEfLwoJKmrT1uP7DjIEXdUtfoIQ2jWiIVm/oO5A==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-defaults-mode-browser/-/util-defaults-mode-browser-3.292.0.tgz#8890ee4ff8939c9ada363cae14ec7196269ff14c"+ integrity sha512-7+zVUlMGfa8/KT++9humHo6IDxTnxMCmWUj5jVNlkpk6h7Ecmppf7aXotviyVIA43lhtz0p2AErs0N0ekEUK+w==+ dependencies:+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ bowser "^2.11.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-defaults-mode-node/-/util-defaults-mode-node-3.292.0.tgz#fc7f54cd935b8974d1b16d6c8bed8b9ae99af20e"+ integrity sha512-SSIw85eF4BVs0fOJRyshT+R3b/UmBPhiVKCUZm2rq6+lIGkDPiSwQU3d/80AhXtiL5SFT/IzAKKgQd8qMa7q3A==+ dependencies:+ "@aws-sdk/config-resolver" "3.292.0"+ "@aws-sdk/credential-provider-imds" "3.292.0"+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/property-provider" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.293.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.293.0.tgz#fd3ecd35a84b91a8ba1672f6e2e92cf39ef205ba"+ integrity sha512-R/99aNV49Refpv5guiUjEUrZYlvnfaNBniB+/ZtMO3ixxUopapssCrUivuJrmhccmrYaTCZw7dRzIWjU1jJhKg==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-hex-encoding/-/util-hex-encoding-3.292.0.tgz#a8b8b989fcf518a18606cb6d81f90d92b0660db4"+ integrity sha512-qBd5KFIUywQ3qSSbj814S2srk0vfv8A6QMI+Obs1y2LHZFdQN5zViptI4UhXhKOHe+NnrHWxSuLC/LMH6q3SmA==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/util-locate-window@^3.0.0":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.292.0.tgz#cba0911be4fdf1db31a0b379cc6229a5a0ba1ae0"+ integrity sha512-6xnFJXZI9pKw5lQCDvuWA5PnOaUtNRKWwdxvGkkLx5orboFaoVMS6zowjSQxwVNRjW82u6dYNkhmj9mZ8VSjWg==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-middleware/-/util-middleware-3.292.0.tgz#d4819246c66229df405850004d9e3ae4a6fca8ea"+ integrity sha512-KjhS7flfoBKDxbiBZjLjMvEizXgjfQb7GQEItgzGoI9rfGCmZtvqCcqQQoIlxb8bIzGRggAUHtBGWnlLbpb+GQ==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-retry/-/util-retry-3.292.0.tgz#a72dd74760864aa03feb00f2cee8b97c25c297c4"+ integrity sha512-JEHyF7MpVeRF5uR4LDYgpOKcFpOPiAj8TqN46SVOQQcL1K+V7cSr7O7N7J6MwJaN9XOzAcBadeIupMm7/BFbgw==+ dependencies:+ "@aws-sdk/service-error-classification" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-uri-escape/-/util-uri-escape-3.292.0.tgz#306a36e3574af3509c542c7224669082f6abc633"+ integrity sha512-hOQtUMQ4VcQ9iwKz50AoCp1XBD5gJ9nly/gJZccAM7zSA5mOO8RRKkbdonqquVHxrO0CnYgiFeCh3V35GFecUw==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.292.0.tgz#26c4e5ffbe046cebe9d15c357839ea38ada95c56"+ integrity sha512-dld+lpC3QdmTQHdBWJ0WFDkXDSrJgfz03q6mQ8+7H+BC12ZhT0I0g9iuvUjolqy7QR00OxOy47Y9FVhq8EC0Gg==+ dependencies:+ "@aws-sdk/types" "3.292.0"+ bowser "^2.11.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.292.0.tgz#9065307641eb246f32fee78eec5d961cffbba6a9"+ integrity sha512-f+NfIMal5E61MDc5WGhUEoicr7b1eNNhA+GgVdSB/Hg5fYhEZvFK9RZizH5rrtsLjjgcr9nPYSR7/nDKCJLumw==+ dependencies:+ "@aws-sdk/node-config-provider" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/util-utf8-browser@^3.0.0":+ version "3.259.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz#3275a6f5eb334f96ca76635b961d3c50259fd9ff"+ integrity sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==+ dependencies:+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8/-/util-utf8-3.292.0.tgz#c12049a01de36f1133232f95cbb0c0177e8d3c36"+ integrity sha512-FPkj+Z59/DQWvoVu2wFaRncc3KVwe/pgK3MfVb0Lx+Ibey5KUx+sNpJmYcVYHUAe/Nv/JeIpOtYuC96IXOnI6w==+ dependencies:+ "@aws-sdk/util-buffer-from" "3.292.0"+ tslib "^2.3.1"++"@aws-sdk/[email protected]":+ version "3.292.0"+ resolved "https://registry.yarnpkg.com/@aws-sdk/util-waiter/-/util-waiter-3.292.0.tgz#860b6615f1d5d0cd545b2d5fefd0bb3c03b0a32d"+ integrity sha512-+7j+mcWUY4GwU8nTK4MvLWpOzS34SJZL85qLxQ04pysoCSHkInyS51D1ejBVNlJdbUSFvIcU0WHU0y6MDDeJzg==+ dependencies:+ "@aws-sdk/abort-controller" "3.292.0"+ "@aws-sdk/types" "3.292.0"+ tslib "^2.3.1"+"@babel/[email protected]":version "7.16.8"resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.8.tgz#61c243a3875f7d0b0962b0543a33ece6ff2f1f17"@@ -648,28 +1414,12 @@ available-typed-arrays@^1.0.5:resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7"integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==-aws-sdk@^2.1336.0:- version "2.1336.0"- resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1336.0.tgz#105527471320a9183e03d5fb42cc6fa2d1e270ec"- integrity sha512-DmnuMr1tK30At8n4gAHohb3nP/qCgUNjTrgZSl1+6gK8U5Yt6qPSqHM3ieWTm6VMSQTRp9aaR91l6soznnuxuA==- dependencies:- buffer "4.9.2"- events "1.1.1"- ieee754 "1.1.13"- jmespath "0.16.0"- querystring "0.2.0"- sax "1.2.1"- url "0.10.3"- util "^0.12.4"- uuid "8.0.0"- xml2js "0.4.19"-balanced-match@^1.0.0:version "1.0.2"resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==-base64-js@^1.0.2, base64-js@^1.3.1:+base64-js@^1.3.1:version "1.5.1"resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==@@ -720,6 +1470,11 @@ [email protected]:type-is "~1.6.18"unpipe "1.0.0"+bowser@^2.11.0:+ version "2.11.0"+ resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f"+ integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==+brace-expansion@^1.1.7:version "1.1.11"resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"@@ -747,15 +1502,6 @@ buffer-crc32@^0.2.1, buffer-crc32@^0.2.13:resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==- version "4.9.2"- resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8"- integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==- dependencies:- base64-js "^1.0.2"- ieee754 "^1.1.4"- isarray "^1.0.0"-buffer@^5.5.0:version "5.7.1"resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"@@ -1371,11 +2117,6 @@ etag@~1.8.1:resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==- version "1.1.1"- resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"- integrity sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==-execa@^6.0.0:version "6.1.0"resolved "https://registry.yarnpkg.com/execa/-/execa-6.1.0.tgz#cea16dee211ff011246556388effa0818394fb20"@@ -1449,6 +2190,13 @@ fast-levenshtein@~2.0.6:resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==+ version "4.1.2"+ resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.1.2.tgz#5a98c18238d28a57bbdfa9fe4cda01211fff8f4a"+ integrity sha512-CDYeykkle1LiA/uqQyNwYpFbyF6Axec6YapmpUP+/RHWIoR1zKjocdvNaTsxCxZzQ6v9MLXaSYm9Qq0thv0DHg==+ dependencies:+ strnum "^1.0.5"+fastq@^1.6.0:version "1.15.0"resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a"@@ -1701,11 +2449,16 @@ gopd@^1.0.1:dependencies:get-intrinsic "^1.1.3"-graceful-fs@^4.1.11, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.10, graceful-fs@^4.2.9:+graceful-fs@^4.1.11, graceful-fs@^4.1.6, graceful-fs@^4.2.0:version "4.2.10"resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==+graceful-fs@^4.2.10, graceful-fs@^4.2.9:+ version "4.2.11"+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"+ integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==+handlebars@^4.7.7:version "4.7.7"resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"@@ -1800,12 +2553,7 @@ [email protected]:dependencies:safer-buffer ">= 2.1.2 < 3"- version "1.1.13"- resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84"- integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==--ieee754@^1.1.13, ieee754@^1.1.4:+ieee754@^1.1.13:version "1.2.1"resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==@@ -1864,7 +2612,7 @@ [email protected]:resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3"integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==-is-arguments@^1.0.4, is-arguments@^1.1.1:+is-arguments@^1.1.1:version "1.1.1"resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b"integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==@@ -1939,13 +2687,6 @@ is-fullwidth-code-point@^3.0.0:resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==-is-generator-function@^1.0.7:- version "1.0.10"- resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72"- integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==- dependencies:- has-tostringtag "^1.0.0"-is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1:version "4.0.3"resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"@@ -2029,7 +2770,7 @@ is-symbol@^1.0.2, is-symbol@^1.0.3:dependencies:has-symbols "^1.0.2"-is-typed-array@^1.1.10, is-typed-array@^1.1.3, is-typed-array@^1.1.9:+is-typed-array@^1.1.10, is-typed-array@^1.1.9:version "1.1.10"resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f"integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==@@ -2057,16 +2798,16 @@ is-weakref@^1.0.2:dependencies:call-bind "^1.0.2"-isarray@^1.0.0, isarray@~1.0.0:- version "1.0.0"- resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"- integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==-isarray@^2.0.5:version "2.0.5"resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723"integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==+isarray@~1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"+ integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==+isexe@^2.0.0:version "2.0.0"resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"@@ -2090,11 +2831,6 @@ iterate-value@^1.0.2:es-get-iterator "^1.0.2"iterate-iterator "^1.0.1"- version "0.16.0"- resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.16.0.tgz#b15b0a85dfd4d930d43e69ed605943c802785076"- integrity sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==-jsonfile@^6.0.1:version "6.1.0"resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"@@ -2686,11 +3422,6 @@ pstree.remy@^1.1.8:resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a"integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==- version "1.3.2"- resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d"- integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==-version "6.11.0"resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a"@@ -2698,11 +3429,6 @@ [email protected]:dependencies:side-channel "^1.0.4"- version "0.2.0"- resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"- integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==-queue-microtask@^1.2.2:version "1.2.3"resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"@@ -2871,16 +3597,6 @@ safe-regex-test@^1.0.0:resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==- version "1.2.1"- resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.1.tgz#7b8e656190b228e81a66aea748480d828cd2d37a"- integrity sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==--sax@>=0.6.0:- version "1.2.4"- resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"- integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==-semver@^5.7.1:version "5.7.1"resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"@@ -3075,6 +3791,11 @@ strip-final-newline@^3.0.0:resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd"integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==+strnum@^1.0.5:+ version "1.0.5"+ resolved "https://registry.yarnpkg.com/strnum/-/strnum-1.0.5.tgz#5c4e829fe15ad4ff0d20c3db5ac97b73c9b072db"+ integrity sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==+supports-color@^5.3.0, supports-color@^5.5.0:version "5.5.0"resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"@@ -3196,12 +3917,12 @@ [email protected]:resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==-tslib@^1.8.1:+tslib@^1.11.1, tslib@^1.8.1:version "1.14.1"resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==-tslib@^2.1.0:+tslib@^2.1.0, tslib@^2.3.1:version "2.5.0"resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==@@ -3297,45 +4018,26 @@ [email protected], unpipe@~1.0.0:resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==- version "0.10.3"- resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64"- integrity sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==- dependencies:- punycode "1.3.2"- querystring "0.2.0"-util-deprecate@^1.0.1, util-deprecate@~1.0.1:version "1.0.2"resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==-util@^0.12.4:- version "0.12.5"- resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc"- integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==- dependencies:- inherits "^2.0.3"- is-arguments "^1.0.4"- is-generator-function "^1.0.7"- is-typed-array "^1.1.3"- which-typed-array "^1.1.2"-version "1.0.1"resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==- version "8.0.0"- resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.0.0.tgz#bc6ccf91b5ff0ac07bbcdbf1c7c4e150db4dbb6c"- integrity sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==-uuid@^3.3.3:version "3.4.0"resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==+uuid@^8.3.2:+ version "8.3.2"+ resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"+ integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==+validator@^13.7.0:version "13.9.0"resolved "https://registry.yarnpkg.com/validator/-/validator-13.9.0.tgz#33e7b85b604f3bbce9bb1a05d5c3e22e1c2ff855"@@ -3370,7 +4072,7 @@ which-boxed-primitive@^1.0.2:is-string "^1.0.5"is-symbol "^1.0.3"-which-typed-array@^1.1.2, which-typed-array@^1.1.9:+which-typed-array@^1.1.9:version "1.1.9"resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6"integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==@@ -3433,19 +4135,6 @@ ws@^7.1.2:resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591"integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==- version "0.4.19"- resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7"- integrity sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==- dependencies:- sax ">=0.6.0"- xmlbuilder "~9.0.1"--xmlbuilder@~9.0.1:- version "9.0.7"- resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d"- integrity sha512-7YXTQc3P2l9+0rjaUbLwMKRhtmwg1M1eDf6nag7urC7pIPYLD9W/jmzQ4ptRSUbodw5S0jfoGTflLemQibSpeQ==-y18n@^5.0.5:version "5.0.8"resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"diff --git a/api-service/playground_client/__init__.py b/api-service/playground_client/__init__.pyindex aa24882e4..c43f8789f 100644--- a/api-service/playground_client/__init__.py+++ b/api-service/playground_client/__init__.py@@ -29,6 +29,7 @@ from playground_client.exceptions import ApiKeyErrorfrom playground_client.exceptions import ApiAttributeErrorfrom playground_client.exceptions import ApiException# import models into sdk package+from playground_client.models.create_deployment_request import CreateDeploymentRequestfrom playground_client.models.create_mock_body_data_request import CreateMockBodyDataRequestfrom playground_client.models.create_sessions_request import CreateSessionsRequestfrom playground_client.models.entry_info import EntryInfodiff --git a/api-service/playground_client/api/default_api.py b/api-service/playground_client/api/default_api.pyindex c1cd39809..6e582d67c 100644--- a/api-service/playground_client/api/default_api.py+++ b/api-service/playground_client/api/default_api.py@@ -21,6 +21,7 @@ from pydantic import Field, StrictBool, StrictStrfrom typing import Optional+from playground_client.models.create_deployment_request import CreateDeploymentRequestfrom playground_client.models.create_mock_body_data_request import CreateMockBodyDataRequestfrom playground_client.models.create_sessions_request import CreateSessionsRequestfrom playground_client.models.list_filesystem_dir_response import ListFilesystemDirResponse@@ -51,6 +52,155 @@ class DefaultApi(object):api_client = ApiClient.get_default()self.api_client = api_client+ @validate_arguments+ def create_deployment(self, session_id : StrictStr, create_deployment_request : CreateDeploymentRequest, **kwargs) -> None: # noqa: E501+ """create_deployment # noqa: E501++ This method makes a synchronous HTTP request by default. To make an+ asynchronous HTTP request, please pass async_req=True++ >>> thread = api.create_deployment(session_id, create_deployment_request, async_req=True)+ >>> result = thread.get()++ :param session_id: (required)+ :type session_id: str+ :param create_deployment_request: (required)+ :type create_deployment_request: CreateDeploymentRequest+ :param async_req: Whether to execute the request asynchronously.+ :type async_req: bool, optional+ :param _preload_content: if False, the urllib3.HTTPResponse object will+ be returned without reading/decoding response+ data. Default is True.+ :type _preload_content: bool, optional+ :param _request_timeout: timeout setting for this request. If one+ number provided, it will be total request+ timeout. It can also be a pair (tuple) of+ (connection, read) timeouts.+ :return: Returns the result object.+ If the method is called asynchronously,+ returns the request thread.+ :rtype: None+ """+ kwargs['_return_http_data_only'] = True+ return self.create_deployment_with_http_info(session_id, create_deployment_request, **kwargs) # noqa: E501++ @validate_arguments+ def create_deployment_with_http_info(self, session_id : StrictStr, create_deployment_request : CreateDeploymentRequest, **kwargs): # noqa: E501+ """create_deployment # noqa: E501++ This method makes a synchronous HTTP request by default. To make an+ asynchronous HTTP request, please pass async_req=True++ >>> thread = api.create_deployment_with_http_info(session_id, create_deployment_request, async_req=True)+ >>> result = thread.get()++ :param session_id: (required)+ :type session_id: str+ :param create_deployment_request: (required)+ :type create_deployment_request: CreateDeploymentRequest+ :param async_req: Whether to execute the request asynchronously.+ :type async_req: bool, optional+ :param _return_http_data_only: response data without head status code+ and headers+ :type _return_http_data_only: bool, optional+ :param _preload_content: if False, the urllib3.HTTPResponse object will+ be returned without reading/decoding response+ data. Default is True.+ :type _preload_content: bool, optional+ :param _request_timeout: timeout setting for this request. If one+ number provided, it will be total request+ timeout. It can also be a pair (tuple) of+ (connection, read) timeouts.+ :param _request_auth: set to override the auth_settings for an a single+ request; this effectively ignores the authentication+ in the spec for a single request.+ :type _request_auth: dict, optional+ :type _content_type: string, optional: force content-type for the request+ :return: Returns the result object.+ If the method is called asynchronously,+ returns the request thread.+ :rtype: None+ """++ _params = locals()++ _all_params = [+ 'session_id',+ 'create_deployment_request'+ ]+ _all_params.extend(+ [+ 'async_req',+ '_return_http_data_only',+ '_preload_content',+ '_request_timeout',+ '_request_auth',+ '_content_type',+ '_headers'+ ]+ )++ # validate the arguments+ for _key, _val in _params['kwargs'].items():+ if _key not in _all_params:+ raise ApiTypeError(+ "Got an unexpected keyword argument '%s'"+ " to method create_deployment" % _key+ )+ _params[_key] = _val+ del _params['kwargs']++ _collection_formats = {}++ # process the path parameters+ _path_params = {}+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']++ # process the query parameters+ _query_params = []++ # process the header parameters+ _header_params = dict(_params.get('_headers', {}))++ # process the form parameters+ _form_params = []+ _files = {}++ # process the body parameter+ _body_params = None+ if _params['create_deployment_request']:+ _body_params = _params['create_deployment_request']++ # set the HTTP header `Content-Type`+ _content_types_list = _params.get('_content_type',+ self.api_client.select_header_content_type(+ ['application/json']))+ if _content_types_list:+ _header_params['Content-Type'] = _content_types_list++ # authentication setting+ _auth_settings = [] # noqa: E501++ _response_types_map = {}++ return self.api_client.call_api(+ '/sessions/{sessionID}/deployments', 'PUT',+ _path_params,+ _query_params,+ _header_params,+ body=_body_params,+ post_params=_form_params,+ files=_files,+ response_types_map=_response_types_map,+ auth_settings=_auth_settings,+ async_req=_params.get('async_req'),+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501+ _preload_content=_params.get('_preload_content', True),+ _request_timeout=_params.get('_request_timeout'),+ collection_formats=_collection_formats,+ _request_auth=_params.get('_request_auth'))+@validate_argumentsdef create_mock_body_data(self, create_mock_body_data_request : CreateMockBodyDataRequest, **kwargs) -> MockDataResponse: # noqa: E501"""create_mock_body_data # noqa: E501@@ -348,17 +498,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def delete_filesystem_entry(self, id : StrictStr, path : StrictStr, **kwargs) -> None: # noqa: E501+ def delete_filesystem_entry(self, session_id : StrictStr, path : StrictStr, **kwargs) -> None: # noqa: E501"""delete_filesystem_entry # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.delete_filesystem_entry(id, path, async_req=True)+ >>> thread = api.delete_filesystem_entry(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -377,20 +527,20 @@ class DefaultApi(object)::rtype: None"""kwargs['_return_http_data_only'] = True- return self.delete_filesystem_entry_with_http_info(id, path, **kwargs) # noqa: E501+ return self.delete_filesystem_entry_with_http_info(session_id, path, **kwargs) # noqa: E501@validate_arguments- def delete_filesystem_entry_with_http_info(self, id : StrictStr, path : StrictStr, **kwargs): # noqa: E501+ def delete_filesystem_entry_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501"""delete_filesystem_entry # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.delete_filesystem_entry_with_http_info(id, path, async_req=True)+ >>> thread = api.delete_filesystem_entry_with_http_info(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -420,7 +570,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','path']_all_params.extend(@@ -449,8 +599,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -473,7 +623,7 @@ class DefaultApi(object):_response_types_map = {}return self.api_client.call_api(- '/sessions/{id}/filesystem', 'DELETE',+ '/sessions/{sessionID}/filesystem', 'DELETE',_path_params,_query_params,_header_params,@@ -490,17 +640,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def delete_session(self, id : StrictStr, **kwargs) -> None: # noqa: E501+ def delete_session(self, session_id : StrictStr, **kwargs) -> None: # noqa: E501"""delete_session # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.delete_session(id, async_req=True)+ >>> thread = api.delete_session(session_id, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param async_req: Whether to execute the request asynchronously.:type async_req: bool, optional:param _preload_content: if False, the urllib3.HTTPResponse object will@@ -517,20 +667,20 @@ class DefaultApi(object)::rtype: None"""kwargs['_return_http_data_only'] = True- return self.delete_session_with_http_info(id, **kwargs) # noqa: E501+ return self.delete_session_with_http_info(session_id, **kwargs) # noqa: E501@validate_arguments- def delete_session_with_http_info(self, id : StrictStr, **kwargs): # noqa: E501+ def delete_session_with_http_info(self, session_id : StrictStr, **kwargs): # noqa: E501"""delete_session # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.delete_session_with_http_info(id, async_req=True)+ >>> thread = api.delete_session_with_http_info(session_id, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param async_req: Whether to execute the request asynchronously.:type async_req: bool, optional:param _return_http_data_only: response data without head status code@@ -558,7 +708,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id'+ 'session_id']_all_params.extend([@@ -586,8 +736,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -608,7 +758,7 @@ class DefaultApi(object):_response_types_map = {}return self.api_client.call_api(- '/sessions/{id}', 'DELETE',+ '/sessions/{sessionID}', 'DELETE',_path_params,_query_params,_header_params,@@ -625,17 +775,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def get_process(self, id : StrictStr, process_id : StrictStr, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs) -> ProcessResponse: # noqa: E501+ def get_process(self, session_id : StrictStr, process_id : StrictStr, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs) -> ProcessResponse: # noqa: E501"""get_process # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.get_process(id, process_id, wait, async_req=True)+ >>> thread = api.get_process(session_id, process_id, wait, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param process_id: (required):type process_id: str:param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.@@ -656,20 +806,20 @@ class DefaultApi(object)::rtype: ProcessResponse"""kwargs['_return_http_data_only'] = True- return self.get_process_with_http_info(id, process_id, wait, **kwargs) # noqa: E501+ return self.get_process_with_http_info(session_id, process_id, wait, **kwargs) # noqa: E501@validate_arguments- def get_process_with_http_info(self, id : StrictStr, process_id : StrictStr, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs): # noqa: E501+ def get_process_with_http_info(self, session_id : StrictStr, process_id : StrictStr, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs): # noqa: E501"""get_process # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.get_process_with_http_info(id, process_id, wait, async_req=True)+ >>> thread = api.get_process_with_http_info(session_id, process_id, wait, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param process_id: (required):type process_id: str:param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.@@ -701,7 +851,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','process_id','wait']@@ -731,8 +881,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']if _params['process_id']:_path_params['processID'] = _params['process_id']@@ -763,7 +913,7 @@ class DefaultApi(object):}return self.api_client.call_api(- '/sessions/{id}/processes/{processID}', 'GET',+ '/sessions/{sessionID}/processes/{processID}', 'GET',_path_params,_query_params,_header_params,@@ -780,17 +930,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def get_session(self, id : StrictStr, **kwargs) -> SessionResponse: # noqa: E501+ def get_session(self, session_id : StrictStr, **kwargs) -> SessionResponse: # noqa: E501"""get_session # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.get_session(id, async_req=True)+ >>> thread = api.get_session(session_id, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param async_req: Whether to execute the request asynchronously.:type async_req: bool, optional:param _preload_content: if False, the urllib3.HTTPResponse object will@@ -807,20 +957,20 @@ class DefaultApi(object)::rtype: SessionResponse"""kwargs['_return_http_data_only'] = True- return self.get_session_with_http_info(id, **kwargs) # noqa: E501+ return self.get_session_with_http_info(session_id, **kwargs) # noqa: E501@validate_arguments- def get_session_with_http_info(self, id : StrictStr, **kwargs): # noqa: E501+ def get_session_with_http_info(self, session_id : StrictStr, **kwargs): # noqa: E501"""get_session # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.get_session_with_http_info(id, async_req=True)+ >>> thread = api.get_session_with_http_info(session_id, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param async_req: Whether to execute the request asynchronously.:type async_req: bool, optional:param _return_http_data_only: response data without head status code@@ -848,7 +998,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id'+ 'session_id']_all_params.extend([@@ -876,8 +1026,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -904,7 +1054,7 @@ class DefaultApi(object):}return self.api_client.call_api(- '/sessions/{id}', 'GET',+ '/sessions/{sessionID}', 'GET',_path_params,_query_params,_header_params,@@ -921,17 +1071,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def list_filesystem_dir(self, id : StrictStr, path : StrictStr, **kwargs) -> ListFilesystemDirResponse: # noqa: E501+ def list_filesystem_dir(self, session_id : StrictStr, path : StrictStr, **kwargs) -> ListFilesystemDirResponse: # noqa: E501"""list_filesystem_dir # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.list_filesystem_dir(id, path, async_req=True)+ >>> thread = api.list_filesystem_dir(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -950,20 +1100,20 @@ class DefaultApi(object)::rtype: ListFilesystemDirResponse"""kwargs['_return_http_data_only'] = True- return self.list_filesystem_dir_with_http_info(id, path, **kwargs) # noqa: E501+ return self.list_filesystem_dir_with_http_info(session_id, path, **kwargs) # noqa: E501@validate_arguments- def list_filesystem_dir_with_http_info(self, id : StrictStr, path : StrictStr, **kwargs): # noqa: E501+ def list_filesystem_dir_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501"""list_filesystem_dir # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.list_filesystem_dir_with_http_info(id, path, async_req=True)+ >>> thread = api.list_filesystem_dir_with_http_info(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -993,7 +1143,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','path']_all_params.extend(@@ -1022,8 +1172,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -1052,7 +1202,7 @@ class DefaultApi(object):}return self.api_client.call_api(- '/sessions/{id}/filesystem/dir', 'GET',+ '/sessions/{sessionID}/filesystem/dir', 'GET',_path_params,_query_params,_header_params,@@ -1069,17 +1219,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def make_filesystem_dir(self, id : StrictStr, path : StrictStr, **kwargs) -> None: # noqa: E501+ def make_filesystem_dir(self, session_id : StrictStr, path : StrictStr, **kwargs) -> None: # noqa: E501"""make_filesystem_dir # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.make_filesystem_dir(id, path, async_req=True)+ >>> thread = api.make_filesystem_dir(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -1098,20 +1248,20 @@ class DefaultApi(object)::rtype: None"""kwargs['_return_http_data_only'] = True- return self.make_filesystem_dir_with_http_info(id, path, **kwargs) # noqa: E501+ return self.make_filesystem_dir_with_http_info(session_id, path, **kwargs) # noqa: E501@validate_arguments- def make_filesystem_dir_with_http_info(self, id : StrictStr, path : StrictStr, **kwargs): # noqa: E501+ def make_filesystem_dir_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501"""make_filesystem_dir # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.make_filesystem_dir_with_http_info(id, path, async_req=True)+ >>> thread = api.make_filesystem_dir_with_http_info(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -1141,7 +1291,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','path']_all_params.extend(@@ -1170,8 +1320,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -1194,7 +1344,7 @@ class DefaultApi(object):_response_types_map = {}return self.api_client.call_api(- '/sessions/{id}/filesystem/dir', 'PUT',+ '/sessions/{sessionID}/filesystem/dir', 'PUT',_path_params,_query_params,_header_params,@@ -1211,17 +1361,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def read_filesystem_file(self, id : StrictStr, path : StrictStr, **kwargs) -> ReadFilesystemFileResponse: # noqa: E501+ def read_filesystem_file(self, session_id : StrictStr, path : StrictStr, **kwargs) -> ReadFilesystemFileResponse: # noqa: E501"""read_filesystem_file # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.read_filesystem_file(id, path, async_req=True)+ >>> thread = api.read_filesystem_file(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -1240,20 +1390,20 @@ class DefaultApi(object)::rtype: ReadFilesystemFileResponse"""kwargs['_return_http_data_only'] = True- return self.read_filesystem_file_with_http_info(id, path, **kwargs) # noqa: E501+ return self.read_filesystem_file_with_http_info(session_id, path, **kwargs) # noqa: E501@validate_arguments- def read_filesystem_file_with_http_info(self, id : StrictStr, path : StrictStr, **kwargs): # noqa: E501+ def read_filesystem_file_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501"""read_filesystem_file # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.read_filesystem_file_with_http_info(id, path, async_req=True)+ >>> thread = api.read_filesystem_file_with_http_info(session_id, path, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param async_req: Whether to execute the request asynchronously.@@ -1283,7 +1433,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','path']_all_params.extend(@@ -1312,8 +1462,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -1342,7 +1492,7 @@ class DefaultApi(object):}return self.api_client.call_api(- '/sessions/{id}/filesystem/file', 'GET',+ '/sessions/{sessionID}/filesystem/file', 'GET',_path_params,_query_params,_header_params,@@ -1359,17 +1509,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def start_process(self, id : StrictStr, start_process_params : StartProcessParams, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs) -> ProcessResponse: # noqa: E501+ def start_process(self, session_id : StrictStr, start_process_params : StartProcessParams, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs) -> ProcessResponse: # noqa: E501"""start_process # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.start_process(id, start_process_params, wait, async_req=True)+ >>> thread = api.start_process(session_id, start_process_params, wait, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param start_process_params: (required):type start_process_params: StartProcessParams:param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.@@ -1390,20 +1540,20 @@ class DefaultApi(object)::rtype: ProcessResponse"""kwargs['_return_http_data_only'] = True- return self.start_process_with_http_info(id, start_process_params, wait, **kwargs) # noqa: E501+ return self.start_process_with_http_info(session_id, start_process_params, wait, **kwargs) # noqa: E501@validate_arguments- def start_process_with_http_info(self, id : StrictStr, start_process_params : StartProcessParams, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs): # noqa: E501+ def start_process_with_http_info(self, session_id : StrictStr, start_process_params : StartProcessParams, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs): # noqa: E501"""start_process # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.start_process_with_http_info(id, start_process_params, wait, async_req=True)+ >>> thread = api.start_process_with_http_info(session_id, start_process_params, wait, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param start_process_params: (required):type start_process_params: StartProcessParams:param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.@@ -1435,7 +1585,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','start_process_params','wait']@@ -1465,8 +1615,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -1504,7 +1654,7 @@ class DefaultApi(object):}return self.api_client.call_api(- '/sessions/{id}/processes', 'POST',+ '/sessions/{sessionID}/processes', 'POST',_path_params,_query_params,_header_params,@@ -1521,17 +1671,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def stop_process(self, id : StrictStr, process_id : StrictStr, results : Optional[StrictBool] = None, **kwargs) -> ProcessResponse: # noqa: E501+ def stop_process(self, session_id : StrictStr, process_id : StrictStr, results : Optional[StrictBool] = None, **kwargs) -> ProcessResponse: # noqa: E501"""stop_process # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.stop_process(id, process_id, results, async_req=True)+ >>> thread = api.stop_process(session_id, process_id, results, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param process_id: (required):type process_id: str:param results:@@ -1552,20 +1702,20 @@ class DefaultApi(object)::rtype: ProcessResponse"""kwargs['_return_http_data_only'] = True- return self.stop_process_with_http_info(id, process_id, results, **kwargs) # noqa: E501+ return self.stop_process_with_http_info(session_id, process_id, results, **kwargs) # noqa: E501@validate_arguments- def stop_process_with_http_info(self, id : StrictStr, process_id : StrictStr, results : Optional[StrictBool] = None, **kwargs): # noqa: E501+ def stop_process_with_http_info(self, session_id : StrictStr, process_id : StrictStr, results : Optional[StrictBool] = None, **kwargs): # noqa: E501"""stop_process # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.stop_process_with_http_info(id, process_id, results, async_req=True)+ >>> thread = api.stop_process_with_http_info(session_id, process_id, results, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param process_id: (required):type process_id: str:param results:@@ -1597,7 +1747,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','process_id','results']@@ -1627,8 +1777,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']if _params['process_id']:_path_params['processID'] = _params['process_id']@@ -1659,7 +1809,7 @@ class DefaultApi(object):}return self.api_client.call_api(- '/sessions/{id}/processes/{processID}', 'DELETE',+ '/sessions/{sessionID}/processes/{processID}', 'DELETE',_path_params,_query_params,_header_params,@@ -1676,17 +1826,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def write_filesystem_file(self, id : StrictStr, path : StrictStr, write_filesystem_file_request : WriteFilesystemFileRequest, **kwargs) -> None: # noqa: E501+ def write_filesystem_file(self, session_id : StrictStr, path : StrictStr, write_filesystem_file_request : WriteFilesystemFileRequest, **kwargs) -> None: # noqa: E501"""write_filesystem_file # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.write_filesystem_file(id, path, write_filesystem_file_request, async_req=True)+ >>> thread = api.write_filesystem_file(session_id, path, write_filesystem_file_request, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param write_filesystem_file_request: (required)@@ -1707,20 +1857,20 @@ class DefaultApi(object)::rtype: None"""kwargs['_return_http_data_only'] = True- return self.write_filesystem_file_with_http_info(id, path, write_filesystem_file_request, **kwargs) # noqa: E501+ return self.write_filesystem_file_with_http_info(session_id, path, write_filesystem_file_request, **kwargs) # noqa: E501@validate_arguments- def write_filesystem_file_with_http_info(self, id : StrictStr, path : StrictStr, write_filesystem_file_request : WriteFilesystemFileRequest, **kwargs): # noqa: E501+ def write_filesystem_file_with_http_info(self, session_id : StrictStr, path : StrictStr, write_filesystem_file_request : WriteFilesystemFileRequest, **kwargs): # noqa: E501"""write_filesystem_file # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.write_filesystem_file_with_http_info(id, path, write_filesystem_file_request, async_req=True)+ >>> thread = api.write_filesystem_file_with_http_info(session_id, path, write_filesystem_file_request, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param path: (required):type path: str:param write_filesystem_file_request: (required)@@ -1752,7 +1902,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','path','write_filesystem_file_request']@@ -1782,8 +1932,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']# process the query parameters_query_params = []@@ -1815,7 +1965,7 @@ class DefaultApi(object):_response_types_map = {}return self.api_client.call_api(- '/sessions/{id}/filesystem/file', 'PUT',+ '/sessions/{sessionID}/filesystem/file', 'PUT',_path_params,_query_params,_header_params,@@ -1832,17 +1982,17 @@ class DefaultApi(object):_request_auth=_params.get('_request_auth'))@validate_arguments- def write_process_stdin(self, id : StrictStr, process_id : StrictStr, write_process_stdin_request : WriteProcessStdinRequest, **kwargs) -> None: # noqa: E501+ def write_process_stdin(self, session_id : StrictStr, process_id : StrictStr, write_process_stdin_request : WriteProcessStdinRequest, **kwargs) -> None: # noqa: E501"""write_process_stdin # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.write_process_stdin(id, process_id, write_process_stdin_request, async_req=True)+ >>> thread = api.write_process_stdin(session_id, process_id, write_process_stdin_request, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param process_id: (required):type process_id: str:param write_process_stdin_request: (required)@@ -1863,20 +2013,20 @@ class DefaultApi(object)::rtype: None"""kwargs['_return_http_data_only'] = True- return self.write_process_stdin_with_http_info(id, process_id, write_process_stdin_request, **kwargs) # noqa: E501+ return self.write_process_stdin_with_http_info(session_id, process_id, write_process_stdin_request, **kwargs) # noqa: E501@validate_arguments- def write_process_stdin_with_http_info(self, id : StrictStr, process_id : StrictStr, write_process_stdin_request : WriteProcessStdinRequest, **kwargs): # noqa: E501+ def write_process_stdin_with_http_info(self, session_id : StrictStr, process_id : StrictStr, write_process_stdin_request : WriteProcessStdinRequest, **kwargs): # noqa: E501"""write_process_stdin # noqa: E501This method makes a synchronous HTTP request by default. To make anasynchronous HTTP request, please pass async_req=True- >>> thread = api.write_process_stdin_with_http_info(id, process_id, write_process_stdin_request, async_req=True)+ >>> thread = api.write_process_stdin_with_http_info(session_id, process_id, write_process_stdin_request, async_req=True)>>> result = thread.get()- :param id: (required)- :type id: str+ :param session_id: (required)+ :type session_id: str:param process_id: (required):type process_id: str:param write_process_stdin_request: (required)@@ -1908,7 +2058,7 @@ class DefaultApi(object):_params = locals()_all_params = [- 'id',+ 'session_id','process_id','write_process_stdin_request']@@ -1938,8 +2088,8 @@ class DefaultApi(object):# process the path parameters_path_params = {}- if _params['id']:- _path_params['id'] = _params['id']+ if _params['session_id']:+ _path_params['sessionID'] = _params['session_id']if _params['process_id']:_path_params['processID'] = _params['process_id']@@ -1971,7 +2121,7 @@ class DefaultApi(object):_response_types_map = {}return self.api_client.call_api(- '/sessions/{id}/processes/{processID}/stdin', 'POST',+ '/sessions/{sessionID}/processes/{processID}/stdin', 'POST',_path_params,_query_params,_header_params,diff --git a/api-service/playground_client/docs/CreateDeploymentRequest.md b/api-service/playground_client/docs/CreateDeploymentRequest.mdnew file mode 100644index 000000000..73a90a829--- /dev/null+++ b/api-service/playground_client/docs/CreateDeploymentRequest.md@@ -0,0 +1,30 @@+# CreateDeploymentRequest+++## Properties+Name | Type | Description | Notes+------------ | ------------- | ------------- | -------------+**project_id** | **str** | |+**code** | **str** | |+**env_vars** | **Dict[str, str]** | | [optional]++## Example++```python+from playground_client.models.create_deployment_request import CreateDeploymentRequest++# TODO update the JSON string below+json = "{}"+# create an instance of CreateDeploymentRequest from a JSON string+create_deployment_request_instance = CreateDeploymentRequest.from_json(json)+# print the JSON string representation of the object+print CreateDeploymentRequest.to_json()++# convert the object into a dict+create_deployment_request_dict = create_deployment_request_instance.to_dict()+# create an instance of CreateDeploymentRequest from a dict+create_deployment_request_form_dict = create_deployment_request.from_dict(create_deployment_request_dict)+```+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)++diff --git a/api-service/playground_client/docs/DefaultApi.md b/api-service/playground_client/docs/DefaultApi.mdindex 42bbb9ca6..5bd2906fa 100644--- a/api-service/playground_client/docs/DefaultApi.md+++ b/api-service/playground_client/docs/DefaultApi.md@@ -4,21 +4,83 @@ All URIs are relative to *https://localhost:9001*Method | HTTP request | Description------------- | ------------- | -------------+[**create_deployment**](DefaultApi.md#create_deployment) | **PUT** /sessions/{sessionID}/deployments |[**create_mock_body_data**](DefaultApi.md#create_mock_body_data) | **POST** /mock/body |[**create_sessions**](DefaultApi.md#create_sessions) | **POST** /sessions |-[**delete_filesystem_entry**](DefaultApi.md#delete_filesystem_entry) | **DELETE** /sessions/{id}/filesystem |-[**delete_session**](DefaultApi.md#delete_session) | **DELETE** /sessions/{id} |-[**get_process**](DefaultApi.md#get_process) | **GET** /sessions/{id}/processes/{processID} |-[**get_session**](DefaultApi.md#get_session) | **GET** /sessions/{id} |-[**list_filesystem_dir**](DefaultApi.md#list_filesystem_dir) | **GET** /sessions/{id}/filesystem/dir |-[**make_filesystem_dir**](DefaultApi.md#make_filesystem_dir) | **PUT** /sessions/{id}/filesystem/dir |-[**read_filesystem_file**](DefaultApi.md#read_filesystem_file) | **GET** /sessions/{id}/filesystem/file |-[**start_process**](DefaultApi.md#start_process) | **POST** /sessions/{id}/processes |-[**stop_process**](DefaultApi.md#stop_process) | **DELETE** /sessions/{id}/processes/{processID} |-[**write_filesystem_file**](DefaultApi.md#write_filesystem_file) | **PUT** /sessions/{id}/filesystem/file |-[**write_process_stdin**](DefaultApi.md#write_process_stdin) | **POST** /sessions/{id}/processes/{processID}/stdin |+[**delete_filesystem_entry**](DefaultApi.md#delete_filesystem_entry) | **DELETE** /sessions/{sessionID}/filesystem |+[**delete_session**](DefaultApi.md#delete_session) | **DELETE** /sessions/{sessionID} |+[**get_process**](DefaultApi.md#get_process) | **GET** /sessions/{sessionID}/processes/{processID} |+[**get_session**](DefaultApi.md#get_session) | **GET** /sessions/{sessionID} |+[**list_filesystem_dir**](DefaultApi.md#list_filesystem_dir) | **GET** /sessions/{sessionID}/filesystem/dir |+[**make_filesystem_dir**](DefaultApi.md#make_filesystem_dir) | **PUT** /sessions/{sessionID}/filesystem/dir |+[**read_filesystem_file**](DefaultApi.md#read_filesystem_file) | **GET** /sessions/{sessionID}/filesystem/file |+[**start_process**](DefaultApi.md#start_process) | **POST** /sessions/{sessionID}/processes |+[**stop_process**](DefaultApi.md#stop_process) | **DELETE** /sessions/{sessionID}/processes/{processID} |+[**write_filesystem_file**](DefaultApi.md#write_filesystem_file) | **PUT** /sessions/{sessionID}/filesystem/file |+[**write_process_stdin**](DefaultApi.md#write_process_stdin) | **POST** /sessions/{sessionID}/processes/{processID}/stdin |+# **create_deployment**+> create_deployment(session_id, create_deployment_request)++++### Example++```python+from __future__ import print_function+import time+import os+import playground_client+from playground_client.rest import ApiException+from pprint import pprint+# Defining the host is optional and defaults to https://localhost:9001+# See configuration.py for a list of all supported configuration parameters.+configuration = playground_client.Configuration(+ host = "https://localhost:9001"+)+++# Enter a context with an instance of the API client+with playground_client.ApiClient(configuration) as api_client:+ # Create an instance of the API class+ api_instance = playground_client.DefaultApi(api_client)+ session_id = 'session_id_example' # str |+ create_deployment_request = playground_client.CreateDeploymentRequest() # CreateDeploymentRequest |++ try:+ api_instance.create_deployment(session_id, create_deployment_request)+ except Exception as e:+ print("Exception when calling DefaultApi->create_deployment: %s\n" % e)+```++### Parameters++Name | Type | Description | Notes+------------- | ------------- | ------------- | -------------+ **session_id** | **str**| |+ **create_deployment_request** | [**CreateDeploymentRequest**](CreateDeploymentRequest.md)| |++### Return type++void (empty response body)++### Authorization++No authorization required++### HTTP request headers++ - **Content-Type**: application/json+ - **Accept**: Not defined++### HTTP response details+| Status code | Description | Response headers |+|-------------|-------------|------------------|+**204** | No content | - |++[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)+# **create_mock_body_data**> MockDataResponse create_mock_body_data(create_mock_body_data_request)@@ -142,7 +204,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **delete_filesystem_entry**-> delete_filesystem_entry(id, path)+> delete_filesystem_entry(session_id, path)@@ -166,11 +228,11 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |path = 'path_example' # str |try:- api_instance.delete_filesystem_entry(id, path)+ api_instance.delete_filesystem_entry(session_id, path)except Exception as e:print("Exception when calling DefaultApi->delete_filesystem_entry: %s\n" % e)```@@ -179,7 +241,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**path** | **str**| |### Return type@@ -203,7 +265,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **delete_session**-> delete_session(id)+> delete_session(session_id)@@ -227,10 +289,10 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |try:- api_instance.delete_session(id)+ api_instance.delete_session(session_id)except Exception as e:print("Exception when calling DefaultApi->delete_session: %s\n" % e)```@@ -239,7 +301,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |### Return type@@ -262,7 +324,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **get_process**-> ProcessResponse get_process(id, process_id, wait=wait)+> ProcessResponse get_process(session_id, process_id, wait=wait)@@ -286,12 +348,12 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |process_id = 'process_id_example' # str |wait = True # bool | if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`. (optional)try:- api_response = api_instance.get_process(id, process_id, wait=wait)+ api_response = api_instance.get_process(session_id, process_id, wait=wait)print("The response of DefaultApi->get_process:\n")pprint(api_response)except Exception as e:@@ -302,7 +364,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**process_id** | **str**| |**wait** | **bool**| if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`. | [optional]@@ -327,7 +389,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **get_session**-> SessionResponse get_session(id)+> SessionResponse get_session(session_id)@@ -351,10 +413,10 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |try:- api_response = api_instance.get_session(id)+ api_response = api_instance.get_session(session_id)print("The response of DefaultApi->get_session:\n")pprint(api_response)except Exception as e:@@ -365,7 +427,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |### Return type@@ -388,7 +450,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **list_filesystem_dir**-> ListFilesystemDirResponse list_filesystem_dir(id, path)+> ListFilesystemDirResponse list_filesystem_dir(session_id, path)@@ -412,11 +474,11 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |path = 'path_example' # str |try:- api_response = api_instance.list_filesystem_dir(id, path)+ api_response = api_instance.list_filesystem_dir(session_id, path)print("The response of DefaultApi->list_filesystem_dir:\n")pprint(api_response)except Exception as e:@@ -427,7 +489,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**path** | **str**| |### Return type@@ -451,7 +513,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **make_filesystem_dir**-> make_filesystem_dir(id, path)+> make_filesystem_dir(session_id, path)@@ -475,11 +537,11 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |path = 'path_example' # str |try:- api_instance.make_filesystem_dir(id, path)+ api_instance.make_filesystem_dir(session_id, path)except Exception as e:print("Exception when calling DefaultApi->make_filesystem_dir: %s\n" % e)```@@ -488,7 +550,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**path** | **str**| |### Return type@@ -512,7 +574,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **read_filesystem_file**-> ReadFilesystemFileResponse read_filesystem_file(id, path)+> ReadFilesystemFileResponse read_filesystem_file(session_id, path)@@ -536,11 +598,11 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |path = 'path_example' # str |try:- api_response = api_instance.read_filesystem_file(id, path)+ api_response = api_instance.read_filesystem_file(session_id, path)print("The response of DefaultApi->read_filesystem_file:\n")pprint(api_response)except Exception as e:@@ -551,7 +613,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**path** | **str**| |### Return type@@ -575,7 +637,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **start_process**-> ProcessResponse start_process(id, start_process_params, wait=wait)+> ProcessResponse start_process(session_id, start_process_params, wait=wait)@@ -599,12 +661,12 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |start_process_params = playground_client.StartProcessParams() # StartProcessParams |wait = True # bool | if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`. (optional)try:- api_response = api_instance.start_process(id, start_process_params, wait=wait)+ api_response = api_instance.start_process(session_id, start_process_params, wait=wait)print("The response of DefaultApi->start_process:\n")pprint(api_response)except Exception as e:@@ -615,7 +677,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**start_process_params** | [**StartProcessParams**](StartProcessParams.md)| |**wait** | **bool**| if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`. | [optional]@@ -640,7 +702,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **stop_process**-> ProcessResponse stop_process(id, process_id, results=results)+> ProcessResponse stop_process(session_id, process_id, results=results)@@ -664,12 +726,12 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |process_id = 'process_id_example' # str |results = True # bool | (optional)try:- api_response = api_instance.stop_process(id, process_id, results=results)+ api_response = api_instance.stop_process(session_id, process_id, results=results)print("The response of DefaultApi->stop_process:\n")pprint(api_response)except Exception as e:@@ -680,7 +742,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**process_id** | **str**| |**results** | **bool**| | [optional]@@ -705,7 +767,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **write_filesystem_file**-> write_filesystem_file(id, path, write_filesystem_file_request)+> write_filesystem_file(session_id, path, write_filesystem_file_request)@@ -729,12 +791,12 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |path = 'path_example' # str |write_filesystem_file_request = playground_client.WriteFilesystemFileRequest() # WriteFilesystemFileRequest |try:- api_instance.write_filesystem_file(id, path, write_filesystem_file_request)+ api_instance.write_filesystem_file(session_id, path, write_filesystem_file_request)except Exception as e:print("Exception when calling DefaultApi->write_filesystem_file: %s\n" % e)```@@ -743,7 +805,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**path** | **str**| |**write_filesystem_file_request** | [**WriteFilesystemFileRequest**](WriteFilesystemFileRequest.md)| |@@ -768,7 +830,7 @@ No authorization required[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)# **write_process_stdin**-> write_process_stdin(id, process_id, write_process_stdin_request)+> write_process_stdin(session_id, process_id, write_process_stdin_request)@@ -792,12 +854,12 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- id = 'id_example' # str |+ session_id = 'session_id_example' # str |process_id = 'process_id_example' # str |write_process_stdin_request = playground_client.WriteProcessStdinRequest() # WriteProcessStdinRequest |try:- api_instance.write_process_stdin(id, process_id, write_process_stdin_request)+ api_instance.write_process_stdin(session_id, process_id, write_process_stdin_request)except Exception as e:print("Exception when calling DefaultApi->write_process_stdin: %s\n" % e)```@@ -806,7 +868,7 @@ with playground_client.ApiClient(configuration) as api_client:Name | Type | Description | Notes------------- | ------------- | ------------- | -------------- **id** | **str**| |+ **session_id** | **str**| |**process_id** | **str**| |**write_process_stdin_request** | [**WriteProcessStdinRequest**](WriteProcessStdinRequest.md)| |diff --git a/api-service/playground_client/models/__init__.py b/api-service/playground_client/models/__init__.pyindex 144937d6d..3ad99a2d0 100644--- a/api-service/playground_client/models/__init__.py+++ b/api-service/playground_client/models/__init__.py@@ -14,6 +14,7 @@from __future__ import absolute_import# import models into model package+from playground_client.models.create_deployment_request import CreateDeploymentRequestfrom playground_client.models.create_mock_body_data_request import CreateMockBodyDataRequestfrom playground_client.models.create_sessions_request import CreateSessionsRequestfrom playground_client.models.entry_info import EntryInfodiff --git a/api-service/playground_client/models/create_deployment_request.py b/api-service/playground_client/models/create_deployment_request.pynew file mode 100644index 000000000..4b7cc05f3--- /dev/null+++ b/api-service/playground_client/models/create_deployment_request.py@@ -0,0 +1,79 @@+# coding: utf-8++"""+ playground++ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501++ The version of the OpenAPI document: 1.0.0+ Generated by: https://openapi-generator.tech+"""+++from __future__ import annotations+from inspect import getfullargspec+import pprint+import re # noqa: F401+import json+++from typing import Dict, Optional+from pydantic import BaseModel, Field, StrictStr++class CreateDeploymentRequest(BaseModel):+ """NOTE: This class is auto generated by OpenAPI Generator.+ Ref: https://openapi-generator.tech++ Do not edit the class manually.+ """+ project_id: StrictStr = Field(..., alias="projectID")+ code: StrictStr = ...+ env_vars: Optional[Dict[str, StrictStr]] = Field(None, alias="envVars")+ __properties = ["projectID", "code", "envVars"]++ class Config:+ allow_population_by_field_name = True+ validate_assignment = True++ def to_str(self) -> str:+ """Returns the string representation of the model using alias"""+ return pprint.pformat(self.dict(by_alias=True))++ def to_json(self) -> str:+ """Returns the JSON representation of the model using alias"""+ return json.dumps(self.to_dict())++ @classmethod+ def from_json(cls, json_str: str) -> CreateDeploymentRequest:+ """Create an instance of CreateDeploymentRequest from a JSON string"""+ return cls.from_dict(json.loads(json_str))++ def to_dict(self):+ """Returns the dictionary representation of the model using alias"""+ _dict = self.dict(by_alias=True,+ exclude={+ },+ exclude_none=True)+ return _dict++ @classmethod+ def from_dict(cls, obj: dict) -> CreateDeploymentRequest:+ """Create an instance of CreateDeploymentRequest from a dict"""+ if obj is None:+ return None++ if type(obj) is not dict:+ return CreateDeploymentRequest.parse_obj(obj)++ # raise errors for additional fields in the input+ for _key in obj.keys():+ if _key not in cls.__properties:+ raise ValueError("Error due to additional fields (not defined in CreateDeploymentRequest) in the input: " + obj)++ _obj = CreateDeploymentRequest.parse_obj({+ "project_id": obj.get("projectID"),+ "code": obj.get("code"),+ "env_vars": obj.get("envVars")+ })+ return _obj+diff --git a/api-service/playground_client/test/test_create_deployment_request.py b/api-service/playground_client/test/test_create_deployment_request.pynew file mode 100644index 000000000..668f010c5--- /dev/null+++ b/api-service/playground_client/test/test_create_deployment_request.py@@ -0,0 +1,60 @@+# coding: utf-8++"""+ playground++ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501++ The version of the OpenAPI document: 1.0.0+ Generated by: https://openapi-generator.tech+"""+++from __future__ import absolute_import++import unittest+import datetime++import playground_client+from playground_client.models.create_deployment_request import CreateDeploymentRequest # noqa: E501+from playground_client.rest import ApiException++class TestCreateDeploymentRequest(unittest.TestCase):+ """CreateDeploymentRequest unit test stubs"""++ def setUp(self):+ pass++ def tearDown(self):+ pass++ def make_instance(self, include_optional):+ """Test CreateDeploymentRequest+ include_option is a boolean, when False only required+ params are included, when True both required and+ optional params are included """+ # uncomment below to create an instance of `CreateDeploymentRequest`+ """+ model = playground_client.models.create_deployment_request.CreateDeploymentRequest() # noqa: E501+ if include_optional :+ return CreateDeploymentRequest(+ project_id = '',+ code = '',+ env_vars = {+ 'key' : ''+ }+ )+ else :+ return CreateDeploymentRequest(+ project_id = '',+ code = '',+ )+ """++ def testCreateDeploymentRequest(self):+ """Test CreateDeploymentRequest"""+ # inst_req_only = self.make_instance(include_optional=False)+ # inst_req_and_optional = self.make_instance(include_optional=True)++if __name__ == '__main__':+ unittest.main()diff --git a/api-service/playground_client/test/test_default_api.py b/api-service/playground_client/test/test_default_api.pyindex 13e8a6b00..1cf5e5a1f 100644--- a/api-service/playground_client/test/test_default_api.py+++ b/api-service/playground_client/test/test_default_api.py@@ -28,6 +28,12 @@ class TestDefaultApi(unittest.TestCase):def tearDown(self):pass+ def test_create_deployment(self):+ """Test case for create_deployment++ """+ pass+def test_create_mock_body_data(self):"""Test case for create_mock_body_datadiff --git a/api-service/playground_client_README.md b/api-service/playground_client_README.mdindex 902363813..3479af62a 100644--- a/api-service/playground_client_README.md+++ b/api-service/playground_client_README.md@@ -47,14 +47,13 @@ configuration = playground_client.Configuration(with playground_client.ApiClient(configuration) as api_client:# Create an instance of the API classapi_instance = playground_client.DefaultApi(api_client)- create_mock_body_data_request = playground_client.CreateMockBodyDataRequest() # CreateMockBodyDataRequest |+ session_id = 'session_id_example' # str |+ create_deployment_request = playground_client.CreateDeploymentRequest() # CreateDeploymentRequest |try:- api_response = api_instance.create_mock_body_data(create_mock_body_data_request)- print("The response of DefaultApi->create_mock_body_data:\n")- pprint(api_response)+ api_instance.create_deployment(session_id, create_deployment_request)except ApiException as e:- print("Exception when calling DefaultApi->create_mock_body_data: %s\n" % e)+ print("Exception when calling DefaultApi->create_deployment: %s\n" % e)```@@ -64,23 +63,25 @@ All URIs are relative to *https://localhost:9001*Class | Method | HTTP request | Description------------ | ------------- | ------------- | -------------+*DefaultApi* | [**create_deployment**](playground_client/docs/DefaultApi.md#create_deployment) | **PUT** /sessions/{sessionID}/deployments |*DefaultApi* | [**create_mock_body_data**](playground_client/docs/DefaultApi.md#create_mock_body_data) | **POST** /mock/body |*DefaultApi* | [**create_sessions**](playground_client/docs/DefaultApi.md#create_sessions) | **POST** /sessions |-*DefaultApi* | [**delete_filesystem_entry**](playground_client/docs/DefaultApi.md#delete_filesystem_entry) | **DELETE** /sessions/{id}/filesystem |-*DefaultApi* | [**delete_session**](playground_client/docs/DefaultApi.md#delete_session) | **DELETE** /sessions/{id} |-*DefaultApi* | [**get_process**](playground_client/docs/DefaultApi.md#get_process) | **GET** /sessions/{id}/processes/{processID} |-*DefaultApi* | [**get_session**](playground_client/docs/DefaultApi.md#get_session) | **GET** /sessions/{id} |-*DefaultApi* | [**list_filesystem_dir**](playground_client/docs/DefaultApi.md#list_filesystem_dir) | **GET** /sessions/{id}/filesystem/dir |-*DefaultApi* | [**make_filesystem_dir**](playground_client/docs/DefaultApi.md#make_filesystem_dir) | **PUT** /sessions/{id}/filesystem/dir |-*DefaultApi* | [**read_filesystem_file**](playground_client/docs/DefaultApi.md#read_filesystem_file) | **GET** /sessions/{id}/filesystem/file |-*DefaultApi* | [**start_process**](playground_client/docs/DefaultApi.md#start_process) | **POST** /sessions/{id}/processes |-*DefaultApi* | [**stop_process**](playground_client/docs/DefaultApi.md#stop_process) | **DELETE** /sessions/{id}/processes/{processID} |-*DefaultApi* | [**write_filesystem_file**](playground_client/docs/DefaultApi.md#write_filesystem_file) | **PUT** /sessions/{id}/filesystem/file |-*DefaultApi* | [**write_process_stdin**](playground_client/docs/DefaultApi.md#write_process_stdin) | **POST** /sessions/{id}/processes/{processID}/stdin |+*DefaultApi* | [**delete_filesystem_entry**](playground_client/docs/DefaultApi.md#delete_filesystem_entry) | **DELETE** /sessions/{sessionID}/filesystem |+*DefaultApi* | [**delete_session**](playground_client/docs/DefaultApi.md#delete_session) | **DELETE** /sessions/{sessionID} |+*DefaultApi* | [**get_process**](playground_client/docs/DefaultApi.md#get_process) | **GET** /sessions/{sessionID}/processes/{processID} |+*DefaultApi* | [**get_session**](playground_client/docs/DefaultApi.md#get_session) | **GET** /sessions/{sessionID} |+*DefaultApi* | [**list_filesystem_dir**](playground_client/docs/DefaultApi.md#list_filesystem_dir) | **GET** /sessions/{sessionID}/filesystem/dir |+*DefaultApi* | [**make_filesystem_dir**](playground_client/docs/DefaultApi.md#make_filesystem_dir) | **PUT** /sessions/{sessionID}/filesystem/dir |+*DefaultApi* | [**read_filesystem_file**](playground_client/docs/DefaultApi.md#read_filesystem_file) | **GET** /sessions/{sessionID}/filesystem/file |+*DefaultApi* | [**start_process**](playground_client/docs/DefaultApi.md#start_process) | **POST** /sessions/{sessionID}/processes |+*DefaultApi* | [**stop_process**](playground_client/docs/DefaultApi.md#stop_process) | **DELETE** /sessions/{sessionID}/processes/{processID} |+*DefaultApi* | [**write_filesystem_file**](playground_client/docs/DefaultApi.md#write_filesystem_file) | **PUT** /sessions/{sessionID}/filesystem/file |+*DefaultApi* | [**write_process_stdin**](playground_client/docs/DefaultApi.md#write_process_stdin) | **POST** /sessions/{sessionID}/processes/{processID}/stdin |## Documentation For Models+ - [CreateDeploymentRequest](playground_client/docs/CreateDeploymentRequest.md)- [CreateMockBodyDataRequest](playground_client/docs/CreateMockBodyDataRequest.md)- [CreateSessionsRequest](playground_client/docs/CreateSessionsRequest.md)- [EntryInfo](playground_client/docs/EntryInfo.md)