diff --git a/out/js/.babelrc b/out/js/.babelrc
new file mode 100644
index 0000000..c73df9d
--- /dev/null
+++ b/out/js/.babelrc
@@ -0,0 +1,33 @@
+{
+ "presets": [
+ "@babel/preset-env"
+ ],
+ "plugins": [
+ "@babel/plugin-syntax-dynamic-import",
+ "@babel/plugin-syntax-import-meta",
+ "@babel/plugin-proposal-class-properties",
+ "@babel/plugin-proposal-json-strings",
+ [
+ "@babel/plugin-proposal-decorators",
+ {
+ "legacy": true
+ }
+ ],
+ "@babel/plugin-proposal-function-sent",
+ "@babel/plugin-proposal-export-namespace-from",
+ "@babel/plugin-proposal-numeric-separator",
+ "@babel/plugin-proposal-throw-expressions",
+ "@babel/plugin-proposal-export-default-from",
+ "@babel/plugin-proposal-logical-assignment-operators",
+ "@babel/plugin-proposal-optional-chaining",
+ [
+ "@babel/plugin-proposal-pipeline-operator",
+ {
+ "proposal": "minimal"
+ }
+ ],
+ "@babel/plugin-proposal-nullish-coalescing-operator",
+ "@babel/plugin-proposal-do-expressions",
+ "@babel/plugin-proposal-function-bind"
+ ]
+}
diff --git a/out/js/.gitignore b/out/js/.gitignore
new file mode 100644
index 0000000..6a7d6d8
--- /dev/null
+++ b/out/js/.gitignore
@@ -0,0 +1,130 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+lerna-debug.log*
+.pnpm-debug.log*
+
+# Diagnostic reports (https://nodejs.org/api/report.html)
+report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+*.lcov
+
+# nyc test coverage
+.nyc_output
+
+# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# Bower dependency directory (https://bower.io/)
+bower_components
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (https://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules/
+jspm_packages/
+
+# Snowpack dependency directory (https://snowpack.dev/)
+web_modules/
+
+# TypeScript cache
+*.tsbuildinfo
+
+# Optional npm cache directory
+.npm
+
+# Optional eslint cache
+.eslintcache
+
+# Optional stylelint cache
+.stylelintcache
+
+# Microbundle cache
+.rpt2_cache/
+.rts2_cache_cjs/
+.rts2_cache_es/
+.rts2_cache_umd/
+
+# Optional REPL history
+.node_repl_history
+
+# Output of 'npm pack'
+*.tgz
+
+# Yarn Integrity file
+.yarn-integrity
+
+# dotenv environment variable files
+.env
+.env.development.local
+.env.test.local
+.env.production.local
+.env.local
+
+# parcel-bundler cache (https://parceljs.org/)
+.cache
+.parcel-cache
+
+# Next.js build output
+.next
+out
+
+# Nuxt.js build / generate output
+.nuxt
+dist
+
+# Gatsby files
+.cache/
+# Comment in the public line in if your project uses Gatsby and not Next.js
+# https://nextjs.org/blog/next-9-1#public-directory-support
+# public
+
+# vuepress build output
+.vuepress/dist
+
+# vuepress v2.x temp and cache directory
+.temp
+.cache
+
+# Docusaurus cache and generated files
+.docusaurus
+
+# Serverless directories
+.serverless/
+
+# FuseBox cache
+.fusebox/
+
+# DynamoDB Local files
+.dynamodb/
+
+# TernJS port file
+.tern-port
+
+# Stores VSCode versions used for testing VSCode extensions
+.vscode-test
+
+# yarn v2
+.yarn/cache
+.yarn/unplugged
+.yarn/build-state.yml
+.yarn/install-state.gz
+.pnp.*
\ No newline at end of file
diff --git a/out/ts/.openapi-generator-ignore b/out/js/.openapi-generator-ignore
similarity index 100%
rename from out/ts/.openapi-generator-ignore
rename to out/js/.openapi-generator-ignore
diff --git a/out/js/.openapi-generator/FILES b/out/js/.openapi-generator/FILES
new file mode 100644
index 0000000..03c6119
--- /dev/null
+++ b/out/js/.openapi-generator/FILES
@@ -0,0 +1,115 @@
+.babelrc
+.gitignore
+.openapi-generator-ignore
+.travis.yml
+README.md
+docs/APITokensApi.md
+docs/ApiTokenGeneratePostRequest.md
+docs/CommandCreatePostRequest.md
+docs/CommandUpdateIdPostRequest.md
+docs/CommandsApi.md
+docs/Database.md
+docs/DatabaseCreatePostRequest.md
+docs/DatabaseManagementApi.md
+docs/DatabaseMigrationCreatePostRequest.md
+docs/DatabaseNode.md
+docs/DatabaseNodeCreatePostRequest.md
+docs/DatabaseQueryDatabaseIdPostRequest.md
+docs/Error.md
+docs/Function.md
+docs/FunctionsApi.md
+docs/FunctionsCreatePostRequest.md
+docs/FunctionsDeletePostRequest.md
+docs/Log.md
+docs/LogContentInner.md
+docs/LoggerIdFindAllPostRequest.md
+docs/LoggingApi.md
+docs/Migration.md
+docs/Project.md
+docs/ProjectCreatePutRequest.md
+docs/ProjectManagementApi.md
+docs/ProjectSetting.md
+docs/ProjectSettingsCreatePutRequest.md
+docs/QueriesApi.md
+docs/Query.md
+docs/QueryCreatePostRequest.md
+docs/QueryUpdateIdPostRequest.md
+docs/RedisManagementApi.md
+docs/RedisNode.md
+docs/RedisNodeCreatePostRequest.md
+docs/Token.md
+git_push.sh
+mocha.opts
+package.json
+src/ApiClient.js
+src/api/APITokensApi.js
+src/api/CommandsApi.js
+src/api/DatabaseManagementApi.js
+src/api/FunctionsApi.js
+src/api/LoggingApi.js
+src/api/ProjectManagementApi.js
+src/api/QueriesApi.js
+src/api/RedisManagementApi.js
+src/index.js
+src/model/ApiTokenGeneratePostRequest.js
+src/model/CommandCreatePostRequest.js
+src/model/CommandUpdateIdPostRequest.js
+src/model/Database.js
+src/model/DatabaseCreatePostRequest.js
+src/model/DatabaseMigrationCreatePostRequest.js
+src/model/DatabaseNode.js
+src/model/DatabaseNodeCreatePostRequest.js
+src/model/DatabaseQueryDatabaseIdPostRequest.js
+src/model/Error.js
+src/model/Function.js
+src/model/FunctionsCreatePostRequest.js
+src/model/FunctionsDeletePostRequest.js
+src/model/Log.js
+src/model/LogContentInner.js
+src/model/LoggerIdFindAllPostRequest.js
+src/model/Migration.js
+src/model/Project.js
+src/model/ProjectCreatePutRequest.js
+src/model/ProjectSetting.js
+src/model/ProjectSettingsCreatePutRequest.js
+src/model/Query.js
+src/model/QueryCreatePostRequest.js
+src/model/QueryUpdateIdPostRequest.js
+src/model/RedisNode.js
+src/model/RedisNodeCreatePostRequest.js
+src/model/Token.js
+test/api/APITokensApi.spec.js
+test/api/CommandsApi.spec.js
+test/api/DatabaseManagementApi.spec.js
+test/api/FunctionsApi.spec.js
+test/api/LoggingApi.spec.js
+test/api/ProjectManagementApi.spec.js
+test/api/QueriesApi.spec.js
+test/api/RedisManagementApi.spec.js
+test/model/ApiTokenGeneratePostRequest.spec.js
+test/model/CommandCreatePostRequest.spec.js
+test/model/CommandUpdateIdPostRequest.spec.js
+test/model/Database.spec.js
+test/model/DatabaseCreatePostRequest.spec.js
+test/model/DatabaseMigrationCreatePostRequest.spec.js
+test/model/DatabaseNode.spec.js
+test/model/DatabaseNodeCreatePostRequest.spec.js
+test/model/DatabaseQueryDatabaseIdPostRequest.spec.js
+test/model/Error.spec.js
+test/model/Function.spec.js
+test/model/FunctionsCreatePostRequest.spec.js
+test/model/FunctionsDeletePostRequest.spec.js
+test/model/Log.spec.js
+test/model/LogContentInner.spec.js
+test/model/LoggerIdFindAllPostRequest.spec.js
+test/model/Migration.spec.js
+test/model/Project.spec.js
+test/model/ProjectCreatePutRequest.spec.js
+test/model/ProjectSetting.spec.js
+test/model/ProjectSettingsCreatePutRequest.spec.js
+test/model/Query.spec.js
+test/model/QueryCreatePostRequest.spec.js
+test/model/QueryUpdateIdPostRequest.spec.js
+test/model/RedisNode.spec.js
+test/model/RedisNodeCreatePostRequest.spec.js
+test/model/Token.spec.js
diff --git a/out/ts/.openapi-generator/VERSION b/out/js/.openapi-generator/VERSION
similarity index 100%
rename from out/ts/.openapi-generator/VERSION
rename to out/js/.openapi-generator/VERSION
diff --git a/out/js/.travis.yml b/out/js/.travis.yml
new file mode 100644
index 0000000..0968f7a
--- /dev/null
+++ b/out/js/.travis.yml
@@ -0,0 +1,5 @@
+language: node_js
+cache: npm
+node_js:
+ - "6"
+ - "6.1"
diff --git a/out/js/README.md b/out/js/README.md
new file mode 100644
index 0000000..ca31a55
--- /dev/null
+++ b/out/js/README.md
@@ -0,0 +1,222 @@
+# low_code_engine_api
+
+LowCodeEngineApi - JavaScript client for low_code_engine_api
+API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
+
+- API version: 1.0.0
+- Package version: 1.0.0
+- Generator version: 7.17.0-SNAPSHOT
+- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
+
+## Installation
+
+### For [Node.js](https://nodejs.org/)
+
+#### npm
+
+To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
+
+Then install it via:
+
+```shell
+npm install low_code_engine_api --save
+```
+
+Finally, you need to build the module:
+
+```shell
+npm run build
+```
+
+##### Local development
+
+To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:
+
+```shell
+npm install
+```
+
+Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
+
+```shell
+npm link
+```
+
+To use the link you just defined in your project, switch to the directory you want to use your low_code_engine_api from, and run:
+
+```shell
+npm link /path/to/
+```
+
+Finally, you need to build the module:
+
+```shell
+npm run build
+```
+
+#### git
+
+If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID
+then install it via:
+
+```shell
+ npm install GIT_USER_ID/GIT_REPO_ID --save
+```
+
+### For browser
+
+The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
+the above steps with Node.js and installing browserify with `npm install -g browserify`,
+perform the following (assuming *main.js* is your entry file):
+
+```shell
+browserify main.js > bundle.js
+```
+
+Then include *bundle.js* in the HTML pages.
+
+### Webpack Configuration
+
+Using Webpack you may encounter the following error: "Module not found: Error:
+Cannot resolve module", most certainly you should disable AMD loader. Add/merge
+the following section to your webpack config:
+
+```javascript
+module: {
+ rules: [
+ {
+ parser: {
+ amd: false
+ }
+ }
+ ]
+}
+```
+
+## Getting Started
+
+Please follow the [installation](#installation) instruction and execute the following JS code:
+
+```javascript
+var LowCodeEngineApi = require('low_code_engine_api');
+
+var defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+var AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = "YOUR API KEY"
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix['x-admin-token'] = "Token"
+// Configure API key authorization: ApiKeyAuth
+var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = "YOUR API KEY"
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix['Authorization'] = "Token"
+
+var api = new LowCodeEngineApi.APITokensApi()
+var apiTokenGeneratePostRequest = new LowCodeEngineApi.ApiTokenGeneratePostRequest(); // {ApiTokenGeneratePostRequest}
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.apiTokenGeneratePost(apiTokenGeneratePostRequest, callback);
+
+```
+
+## Documentation for API Endpoints
+
+All URIs are relative to *http://localhost:3000*
+
+Class | Method | HTTP request | Description
+------------ | ------------- | ------------- | -------------
+*LowCodeEngineApi.APITokensApi* | [**apiTokenGeneratePost**](docs/APITokensApi.md#apiTokenGeneratePost) | **POST** /api/token/generate | Generate API token
+*LowCodeEngineApi.APITokensApi* | [**apiTokenRevokeTokenDelete**](docs/APITokensApi.md#apiTokenRevokeTokenDelete) | **DELETE** /api/token/revoke/{token} | Revoke API token
+*LowCodeEngineApi.CommandsApi* | [**commandCreatePost**](docs/CommandsApi.md#commandCreatePost) | **POST** /command/create | Create command
+*LowCodeEngineApi.CommandsApi* | [**commandDeleteIdDelete**](docs/CommandsApi.md#commandDeleteIdDelete) | **DELETE** /command/delete/{id} | Delete command
+*LowCodeEngineApi.CommandsApi* | [**commandRunIdPost**](docs/CommandsApi.md#commandRunIdPost) | **POST** /command/run/{id} | Run command
+*LowCodeEngineApi.CommandsApi* | [**commandUpdateIdPost**](docs/CommandsApi.md#commandUpdateIdPost) | **POST** /command/update/{id} | Update command
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseColumnsDatabaseIdTableNameGet**](docs/DatabaseManagementApi.md#databaseColumnsDatabaseIdTableNameGet) | **GET** /database/columns/{databaseId}/{tableName} | Get table columns
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseCreatePost**](docs/DatabaseManagementApi.md#databaseCreatePost) | **POST** /database/create | Create database
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseMigrationCreatePost**](docs/DatabaseManagementApi.md#databaseMigrationCreatePost) | **POST** /database/migration/create | Create migration
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseMigrationDownDatabaseIdGet**](docs/DatabaseManagementApi.md#databaseMigrationDownDatabaseIdGet) | **GET** /database/migration/down/{databaseId} | Run migrations down
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseMigrationUpDatabaseIdGet**](docs/DatabaseManagementApi.md#databaseMigrationUpDatabaseIdGet) | **GET** /database/migration/up/{databaseId} | Run migrations up
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseNodeCreatePost**](docs/DatabaseManagementApi.md#databaseNodeCreatePost) | **POST** /database/node/create | Add database node
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseQueryDatabaseIdPost**](docs/DatabaseManagementApi.md#databaseQueryDatabaseIdPost) | **POST** /database/query/{databaseId} | Run database query
+*LowCodeEngineApi.DatabaseManagementApi* | [**databaseTablesDatabaseIdGet**](docs/DatabaseManagementApi.md#databaseTablesDatabaseIdGet) | **GET** /database/tables/{databaseId} | Get database tables
+*LowCodeEngineApi.FunctionsApi* | [**functionsCreatePost**](docs/FunctionsApi.md#functionsCreatePost) | **POST** /functions/create | Create function
+*LowCodeEngineApi.FunctionsApi* | [**functionsDeletePost**](docs/FunctionsApi.md#functionsDeletePost) | **POST** /functions/delete | Delete function
+*LowCodeEngineApi.LoggingApi* | [**loggerIdFindAllPost**](docs/LoggingApi.md#loggerIdFindAllPost) | **POST** /logger/{id}/findAll | Find all logs
+*LowCodeEngineApi.LoggingApi* | [**loggerIdFindPost**](docs/LoggingApi.md#loggerIdFindPost) | **POST** /logger/{id}/find | Find logs for query
+*LowCodeEngineApi.LoggingApi* | [**loggerIdTraceIdGet**](docs/LoggingApi.md#loggerIdTraceIdGet) | **GET** /logger/{id}/{traceId} | Get log by trace ID
+*LowCodeEngineApi.ProjectManagementApi* | [**projectApiTokensGet**](docs/ProjectManagementApi.md#projectApiTokensGet) | **GET** /project/api-tokens | Get all API tokens
+*LowCodeEngineApi.ProjectManagementApi* | [**projectCreatePut**](docs/ProjectManagementApi.md#projectCreatePut) | **PUT** /project/create | Create project
+*LowCodeEngineApi.ProjectManagementApi* | [**projectCreateWithoutDbPut**](docs/ProjectManagementApi.md#projectCreateWithoutDbPut) | **PUT** /project/create-without-db | Create project without database
+*LowCodeEngineApi.ProjectManagementApi* | [**projectSettingsCreatePut**](docs/ProjectManagementApi.md#projectSettingsCreatePut) | **PUT** /project/settings/create | Create project setting
+*LowCodeEngineApi.ProjectManagementApi* | [**projectSettingsDeleteKeyDelete**](docs/ProjectManagementApi.md#projectSettingsDeleteKeyDelete) | **DELETE** /project/settings/delete/{key} | Delete project setting
+*LowCodeEngineApi.ProjectManagementApi* | [**projectSettingsGet**](docs/ProjectManagementApi.md#projectSettingsGet) | **GET** /project/settings | Get all project settings
+*LowCodeEngineApi.QueriesApi* | [**queryCreatePost**](docs/QueriesApi.md#queryCreatePost) | **POST** /query/create | Create query
+*LowCodeEngineApi.QueriesApi* | [**queryDeleteIdDelete**](docs/QueriesApi.md#queryDeleteIdDelete) | **DELETE** /query/delete/{id} | Delete query
+*LowCodeEngineApi.QueriesApi* | [**queryRunIdPost**](docs/QueriesApi.md#queryRunIdPost) | **POST** /query/run/{id} | Run query
+*LowCodeEngineApi.QueriesApi* | [**queryUpdateIdPost**](docs/QueriesApi.md#queryUpdateIdPost) | **POST** /query/update/{id} | Update query
+*LowCodeEngineApi.RedisManagementApi* | [**redisNodeCreatePost**](docs/RedisManagementApi.md#redisNodeCreatePost) | **POST** /redis/node/create | Add Redis node
+
+
+## Documentation for Models
+
+ - [LowCodeEngineApi.ApiTokenGeneratePostRequest](docs/ApiTokenGeneratePostRequest.md)
+ - [LowCodeEngineApi.CommandCreatePostRequest](docs/CommandCreatePostRequest.md)
+ - [LowCodeEngineApi.CommandUpdateIdPostRequest](docs/CommandUpdateIdPostRequest.md)
+ - [LowCodeEngineApi.Database](docs/Database.md)
+ - [LowCodeEngineApi.DatabaseCreatePostRequest](docs/DatabaseCreatePostRequest.md)
+ - [LowCodeEngineApi.DatabaseMigrationCreatePostRequest](docs/DatabaseMigrationCreatePostRequest.md)
+ - [LowCodeEngineApi.DatabaseNode](docs/DatabaseNode.md)
+ - [LowCodeEngineApi.DatabaseNodeCreatePostRequest](docs/DatabaseNodeCreatePostRequest.md)
+ - [LowCodeEngineApi.DatabaseQueryDatabaseIdPostRequest](docs/DatabaseQueryDatabaseIdPostRequest.md)
+ - [LowCodeEngineApi.Error](docs/Error.md)
+ - [LowCodeEngineApi.Function](docs/Function.md)
+ - [LowCodeEngineApi.FunctionsCreatePostRequest](docs/FunctionsCreatePostRequest.md)
+ - [LowCodeEngineApi.FunctionsDeletePostRequest](docs/FunctionsDeletePostRequest.md)
+ - [LowCodeEngineApi.Log](docs/Log.md)
+ - [LowCodeEngineApi.LogContentInner](docs/LogContentInner.md)
+ - [LowCodeEngineApi.LoggerIdFindAllPostRequest](docs/LoggerIdFindAllPostRequest.md)
+ - [LowCodeEngineApi.Migration](docs/Migration.md)
+ - [LowCodeEngineApi.Project](docs/Project.md)
+ - [LowCodeEngineApi.ProjectCreatePutRequest](docs/ProjectCreatePutRequest.md)
+ - [LowCodeEngineApi.ProjectSetting](docs/ProjectSetting.md)
+ - [LowCodeEngineApi.ProjectSettingsCreatePutRequest](docs/ProjectSettingsCreatePutRequest.md)
+ - [LowCodeEngineApi.Query](docs/Query.md)
+ - [LowCodeEngineApi.QueryCreatePostRequest](docs/QueryCreatePostRequest.md)
+ - [LowCodeEngineApi.QueryUpdateIdPostRequest](docs/QueryUpdateIdPostRequest.md)
+ - [LowCodeEngineApi.RedisNode](docs/RedisNode.md)
+ - [LowCodeEngineApi.RedisNodeCreatePostRequest](docs/RedisNodeCreatePostRequest.md)
+ - [LowCodeEngineApi.Token](docs/Token.md)
+
+
+## Documentation for Authorization
+
+
+Authentication schemes defined for the API:
+### ApiKeyAuth
+
+
+- **Type**: API key
+- **API key parameter name**: Authorization
+- **Location**: HTTP header
+
+### AdminAuth
+
+
+- **Type**: API key
+- **API key parameter name**: x-admin-token
+- **Location**: HTTP header
+
+### QueryGuard
+
+
+- **Type**: API key
+- **API key parameter name**: x-query-access
+- **Location**: HTTP header
+
diff --git a/out/js/docs/APITokensApi.md b/out/js/docs/APITokensApi.md
new file mode 100644
index 0000000..34695d5
--- /dev/null
+++ b/out/js/docs/APITokensApi.md
@@ -0,0 +1,122 @@
+# LowCodeEngineApi.APITokensApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**apiTokenGeneratePost**](APITokensApi.md#apiTokenGeneratePost) | **POST** /api/token/generate | Generate API token
+[**apiTokenRevokeTokenDelete**](APITokensApi.md#apiTokenRevokeTokenDelete) | **DELETE** /api/token/revoke/{token} | Revoke API token
+
+
+
+## apiTokenGeneratePost
+
+> Token apiTokenGeneratePost(apiTokenGeneratePostRequest)
+
+Generate API token
+
+Generate a new API token for a project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+let AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.APITokensApi();
+let apiTokenGeneratePostRequest = new LowCodeEngineApi.ApiTokenGeneratePostRequest(); // ApiTokenGeneratePostRequest |
+apiInstance.apiTokenGeneratePost(apiTokenGeneratePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **apiTokenGeneratePostRequest** | [**ApiTokenGeneratePostRequest**](ApiTokenGeneratePostRequest.md)| |
+
+### Return type
+
+[**Token**](Token.md)
+
+### Authorization
+
+[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## apiTokenRevokeTokenDelete
+
+> apiTokenRevokeTokenDelete(token)
+
+Revoke API token
+
+Revoke an existing API token
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+let AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.APITokensApi();
+let token = "token_example"; // String | Token to revoke
+apiInstance.apiTokenRevokeTokenDelete(token, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **token** | **String**| Token to revoke |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
diff --git a/out/js/docs/ApiTokenGeneratePostRequest.md b/out/js/docs/ApiTokenGeneratePostRequest.md
new file mode 100644
index 0000000..e81baea
--- /dev/null
+++ b/out/js/docs/ApiTokenGeneratePostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.ApiTokenGeneratePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Project ID |
+
+
diff --git a/out/js/docs/CommandCreatePostRequest.md b/out/js/docs/CommandCreatePostRequest.md
new file mode 100644
index 0000000..037b46d
--- /dev/null
+++ b/out/js/docs/CommandCreatePostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.CommandCreatePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**source** | **String** | Command source code |
+
+
diff --git a/out/js/docs/CommandUpdateIdPostRequest.md b/out/js/docs/CommandUpdateIdPostRequest.md
new file mode 100644
index 0000000..b0c0efc
--- /dev/null
+++ b/out/js/docs/CommandUpdateIdPostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.CommandUpdateIdPostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**source** | **String** | Updated command source code | [optional]
+
+
diff --git a/out/js/docs/CommandsApi.md b/out/js/docs/CommandsApi.md
new file mode 100644
index 0000000..19d9585
--- /dev/null
+++ b/out/js/docs/CommandsApi.md
@@ -0,0 +1,239 @@
+# LowCodeEngineApi.CommandsApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**commandCreatePost**](CommandsApi.md#commandCreatePost) | **POST** /command/create | Create command
+[**commandDeleteIdDelete**](CommandsApi.md#commandDeleteIdDelete) | **DELETE** /command/delete/{id} | Delete command
+[**commandRunIdPost**](CommandsApi.md#commandRunIdPost) | **POST** /command/run/{id} | Run command
+[**commandUpdateIdPost**](CommandsApi.md#commandUpdateIdPost) | **POST** /command/update/{id} | Update command
+
+
+
+## commandCreatePost
+
+> Query commandCreatePost(commandCreatePostRequest)
+
+Create command
+
+Create a new command in the project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.CommandsApi();
+let commandCreatePostRequest = new LowCodeEngineApi.CommandCreatePostRequest(); // CommandCreatePostRequest |
+apiInstance.commandCreatePost(commandCreatePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **commandCreatePostRequest** | [**CommandCreatePostRequest**](CommandCreatePostRequest.md)| |
+
+### Return type
+
+[**Query**](Query.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## commandDeleteIdDelete
+
+> commandDeleteIdDelete(id)
+
+Delete command
+
+Delete an existing command
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: QueryGuard
+let QueryGuard = defaultClient.authentications['QueryGuard'];
+QueryGuard.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//QueryGuard.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.CommandsApi();
+let id = "id_example"; // String | Command ID
+apiInstance.commandDeleteIdDelete(id, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Command ID |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+## commandRunIdPost
+
+> Object commandRunIdPost(id, body, opts)
+
+Run command
+
+Execute a command with provided data
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: QueryGuard
+let QueryGuard = defaultClient.authentications['QueryGuard'];
+QueryGuard.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//QueryGuard.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.CommandsApi();
+let id = "id_example"; // String | Command ID
+let body = {key: null}; // Object |
+let opts = {
+ 'xTraceId': "xTraceId_example" // String | Trace ID for logging
+};
+apiInstance.commandRunIdPost(id, body, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Command ID |
+ **body** | **Object**| |
+ **xTraceId** | **String**| Trace ID for logging | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## commandUpdateIdPost
+
+> Query commandUpdateIdPost(id, commandUpdateIdPostRequest)
+
+Update command
+
+Update an existing command
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: QueryGuard
+let QueryGuard = defaultClient.authentications['QueryGuard'];
+QueryGuard.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//QueryGuard.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.CommandsApi();
+let id = "id_example"; // String | Command ID
+let commandUpdateIdPostRequest = new LowCodeEngineApi.CommandUpdateIdPostRequest(); // CommandUpdateIdPostRequest |
+apiInstance.commandUpdateIdPost(id, commandUpdateIdPostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Command ID |
+ **commandUpdateIdPostRequest** | [**CommandUpdateIdPostRequest**](CommandUpdateIdPostRequest.md)| |
+
+### Return type
+
+[**Query**](Query.md)
+
+### Authorization
+
+[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
diff --git a/out/js/docs/Database.md b/out/js/docs/Database.md
new file mode 100644
index 0000000..e75533c
--- /dev/null
+++ b/out/js/docs/Database.md
@@ -0,0 +1,16 @@
+# LowCodeEngineApi.Database
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique database identifier | [optional]
+**qUsername** | **String** | Query username for database access | [optional]
+**cUsername** | **String** | Command username for database access | [optional]
+**password** | **String** | Database password | [optional]
+**database** | **String** | Database name | [optional]
+**migrations** | [**[Migration]**](Migration.md) | | [optional]
+**project** | [**Project**](Project.md) | | [optional]
+**node** | [**DatabaseNode**](DatabaseNode.md) | | [optional]
+
+
diff --git a/out/js/docs/DatabaseCreatePostRequest.md b/out/js/docs/DatabaseCreatePostRequest.md
new file mode 100644
index 0000000..6cd0b33
--- /dev/null
+++ b/out/js/docs/DatabaseCreatePostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.DatabaseCreatePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**projectId** | **String** | Project ID |
+
+
diff --git a/out/js/docs/DatabaseManagementApi.md b/out/js/docs/DatabaseManagementApi.md
new file mode 100644
index 0000000..42105f2
--- /dev/null
+++ b/out/js/docs/DatabaseManagementApi.md
@@ -0,0 +1,438 @@
+# LowCodeEngineApi.DatabaseManagementApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**databaseColumnsDatabaseIdTableNameGet**](DatabaseManagementApi.md#databaseColumnsDatabaseIdTableNameGet) | **GET** /database/columns/{databaseId}/{tableName} | Get table columns
+[**databaseCreatePost**](DatabaseManagementApi.md#databaseCreatePost) | **POST** /database/create | Create database
+[**databaseMigrationCreatePost**](DatabaseManagementApi.md#databaseMigrationCreatePost) | **POST** /database/migration/create | Create migration
+[**databaseMigrationDownDatabaseIdGet**](DatabaseManagementApi.md#databaseMigrationDownDatabaseIdGet) | **GET** /database/migration/down/{databaseId} | Run migrations down
+[**databaseMigrationUpDatabaseIdGet**](DatabaseManagementApi.md#databaseMigrationUpDatabaseIdGet) | **GET** /database/migration/up/{databaseId} | Run migrations up
+[**databaseNodeCreatePost**](DatabaseManagementApi.md#databaseNodeCreatePost) | **POST** /database/node/create | Add database node
+[**databaseQueryDatabaseIdPost**](DatabaseManagementApi.md#databaseQueryDatabaseIdPost) | **POST** /database/query/{databaseId} | Run database query
+[**databaseTablesDatabaseIdGet**](DatabaseManagementApi.md#databaseTablesDatabaseIdGet) | **GET** /database/tables/{databaseId} | Get database tables
+
+
+
+## databaseColumnsDatabaseIdTableNameGet
+
+> [Object] databaseColumnsDatabaseIdTableNameGet(databaseId, tableName)
+
+Get table columns
+
+Retrieve columns information for a specific table
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseId = "databaseId_example"; // String | Database ID
+let tableName = "tableName_example"; // String | Table name
+apiInstance.databaseColumnsDatabaseIdTableNameGet(databaseId, tableName, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseId** | **String**| Database ID |
+ **tableName** | **String**| Table name |
+
+### Return type
+
+**[Object]**
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+
+## databaseCreatePost
+
+> Database databaseCreatePost(databaseCreatePostRequest)
+
+Create database
+
+Create a new database for a project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+let AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseCreatePostRequest = new LowCodeEngineApi.DatabaseCreatePostRequest(); // DatabaseCreatePostRequest |
+apiInstance.databaseCreatePost(databaseCreatePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseCreatePostRequest** | [**DatabaseCreatePostRequest**](DatabaseCreatePostRequest.md)| |
+
+### Return type
+
+[**Database**](Database.md)
+
+### Authorization
+
+[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## databaseMigrationCreatePost
+
+> Migration databaseMigrationCreatePost(databaseMigrationCreatePostRequest)
+
+Create migration
+
+Create a new database migration
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseMigrationCreatePostRequest = new LowCodeEngineApi.DatabaseMigrationCreatePostRequest(); // DatabaseMigrationCreatePostRequest |
+apiInstance.databaseMigrationCreatePost(databaseMigrationCreatePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseMigrationCreatePostRequest** | [**DatabaseMigrationCreatePostRequest**](DatabaseMigrationCreatePostRequest.md)| |
+
+### Return type
+
+[**Migration**](Migration.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## databaseMigrationDownDatabaseIdGet
+
+> databaseMigrationDownDatabaseIdGet(databaseId)
+
+Run migrations down
+
+Rollback database migrations
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseId = "databaseId_example"; // String | Database ID
+apiInstance.databaseMigrationDownDatabaseIdGet(databaseId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseId** | **String**| Database ID |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+## databaseMigrationUpDatabaseIdGet
+
+> databaseMigrationUpDatabaseIdGet(databaseId)
+
+Run migrations up
+
+Execute pending database migrations
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseId = "databaseId_example"; // String | Database ID
+apiInstance.databaseMigrationUpDatabaseIdGet(databaseId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseId** | **String**| Database ID |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+## databaseNodeCreatePost
+
+> DatabaseNode databaseNodeCreatePost(databaseNodeCreatePostRequest)
+
+Add database node
+
+Add a new database node to the system
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+let AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseNodeCreatePostRequest = new LowCodeEngineApi.DatabaseNodeCreatePostRequest(); // DatabaseNodeCreatePostRequest |
+apiInstance.databaseNodeCreatePost(databaseNodeCreatePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseNodeCreatePostRequest** | [**DatabaseNodeCreatePostRequest**](DatabaseNodeCreatePostRequest.md)| |
+
+### Return type
+
+[**DatabaseNode**](DatabaseNode.md)
+
+### Authorization
+
+[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## databaseQueryDatabaseIdPost
+
+> Object databaseQueryDatabaseIdPost(databaseId, databaseQueryDatabaseIdPostRequest)
+
+Run database query
+
+Execute a SQL query on the database
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseId = "databaseId_example"; // String | Database ID
+let databaseQueryDatabaseIdPostRequest = new LowCodeEngineApi.DatabaseQueryDatabaseIdPostRequest(); // DatabaseQueryDatabaseIdPostRequest |
+apiInstance.databaseQueryDatabaseIdPost(databaseId, databaseQueryDatabaseIdPostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseId** | **String**| Database ID |
+ **databaseQueryDatabaseIdPostRequest** | [**DatabaseQueryDatabaseIdPostRequest**](DatabaseQueryDatabaseIdPostRequest.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## databaseTablesDatabaseIdGet
+
+> [String] databaseTablesDatabaseIdGet(databaseId)
+
+Get database tables
+
+Retrieve list of tables in a database
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.DatabaseManagementApi();
+let databaseId = "databaseId_example"; // String | Database ID
+apiInstance.databaseTablesDatabaseIdGet(databaseId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **databaseId** | **String**| Database ID |
+
+### Return type
+
+**[String]**
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
diff --git a/out/js/docs/DatabaseMigrationCreatePostRequest.md b/out/js/docs/DatabaseMigrationCreatePostRequest.md
new file mode 100644
index 0000000..8ecf157
--- /dev/null
+++ b/out/js/docs/DatabaseMigrationCreatePostRequest.md
@@ -0,0 +1,11 @@
+# LowCodeEngineApi.DatabaseMigrationCreatePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**up** | **String** | Migration up SQL |
+**down** | **String** | Migration down SQL |
+**databaseId** | **String** | Database ID |
+
+
diff --git a/out/js/docs/DatabaseNode.md b/out/js/docs/DatabaseNode.md
new file mode 100644
index 0000000..15c8ebb
--- /dev/null
+++ b/out/js/docs/DatabaseNode.md
@@ -0,0 +1,14 @@
+# LowCodeEngineApi.DatabaseNode
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique database node identifier | [optional]
+**host** | **String** | Database host | [optional]
+**port** | **Number** | Database port | [optional]
+**username** | **String** | Database username | [optional]
+**password** | **String** | Database password | [optional]
+**databases** | [**[Database]**](Database.md) | | [optional]
+
+
diff --git a/out/js/docs/DatabaseNodeCreatePostRequest.md b/out/js/docs/DatabaseNodeCreatePostRequest.md
new file mode 100644
index 0000000..4d13d3f
--- /dev/null
+++ b/out/js/docs/DatabaseNodeCreatePostRequest.md
@@ -0,0 +1,12 @@
+# LowCodeEngineApi.DatabaseNodeCreatePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**host** | **String** | Database host |
+**port** | **Number** | Database port |
+**username** | **String** | Database username |
+**password** | **String** | Database password |
+
+
diff --git a/out/js/docs/DatabaseQueryDatabaseIdPostRequest.md b/out/js/docs/DatabaseQueryDatabaseIdPostRequest.md
new file mode 100644
index 0000000..c3a9d46
--- /dev/null
+++ b/out/js/docs/DatabaseQueryDatabaseIdPostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.DatabaseQueryDatabaseIdPostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**query** | **String** | SQL query to execute |
+
+
diff --git a/out/js/docs/Error.md b/out/js/docs/Error.md
new file mode 100644
index 0000000..827470f
--- /dev/null
+++ b/out/js/docs/Error.md
@@ -0,0 +1,10 @@
+# LowCodeEngineApi.Error
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**error** | **String** | Error message | [optional]
+**details** | **String** | Error details | [optional]
+
+
diff --git a/out/js/docs/Function.md b/out/js/docs/Function.md
new file mode 100644
index 0000000..80b7c76
--- /dev/null
+++ b/out/js/docs/Function.md
@@ -0,0 +1,12 @@
+# LowCodeEngineApi.Function
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique function identifier | [optional]
+**name** | **String** | Function name | [optional]
+**source** | **String** | Function source code | [optional]
+**project** | [**Project**](Project.md) | | [optional]
+
+
diff --git a/out/js/docs/FunctionsApi.md b/out/js/docs/FunctionsApi.md
new file mode 100644
index 0000000..dce6d20
--- /dev/null
+++ b/out/js/docs/FunctionsApi.md
@@ -0,0 +1,112 @@
+# LowCodeEngineApi.FunctionsApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**functionsCreatePost**](FunctionsApi.md#functionsCreatePost) | **POST** /functions/create | Create function
+[**functionsDeletePost**](FunctionsApi.md#functionsDeletePost) | **POST** /functions/delete | Delete function
+
+
+
+## functionsCreatePost
+
+> Function functionsCreatePost(functionsCreatePostRequest)
+
+Create function
+
+Create a new function in the project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.FunctionsApi();
+let functionsCreatePostRequest = new LowCodeEngineApi.FunctionsCreatePostRequest(); // FunctionsCreatePostRequest |
+apiInstance.functionsCreatePost(functionsCreatePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **functionsCreatePostRequest** | [**FunctionsCreatePostRequest**](FunctionsCreatePostRequest.md)| |
+
+### Return type
+
+[**Function**](Function.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## functionsDeletePost
+
+> functionsDeletePost(functionsDeletePostRequest)
+
+Delete function
+
+Delete a function from the project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.FunctionsApi();
+let functionsDeletePostRequest = new LowCodeEngineApi.FunctionsDeletePostRequest(); // FunctionsDeletePostRequest |
+apiInstance.functionsDeletePost(functionsDeletePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **functionsDeletePostRequest** | [**FunctionsDeletePostRequest**](FunctionsDeletePostRequest.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
diff --git a/out/js/docs/FunctionsCreatePostRequest.md b/out/js/docs/FunctionsCreatePostRequest.md
new file mode 100644
index 0000000..cc22332
--- /dev/null
+++ b/out/js/docs/FunctionsCreatePostRequest.md
@@ -0,0 +1,10 @@
+# LowCodeEngineApi.FunctionsCreatePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Function name |
+**source** | **String** | Function source code |
+
+
diff --git a/out/js/docs/FunctionsDeletePostRequest.md b/out/js/docs/FunctionsDeletePostRequest.md
new file mode 100644
index 0000000..7cc2111
--- /dev/null
+++ b/out/js/docs/FunctionsDeletePostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.FunctionsDeletePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Function name to delete |
+
+
diff --git a/out/js/docs/Log.md b/out/js/docs/Log.md
new file mode 100644
index 0000000..8411239
--- /dev/null
+++ b/out/js/docs/Log.md
@@ -0,0 +1,20 @@
+# LowCodeEngineApi.Log
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique log identifier | [optional]
+**traceId** | **String** | Trace ID for tracking requests | [optional]
+**startTime** | **Number** | Request start timestamp | [optional]
+**endTime** | **Number** | Request end timestamp | [optional]
+**payload** | **Object** | Request payload | [optional]
+**headers** | **Object** | Request headers | [optional]
+**cookies** | **String** | Request cookies | [optional]
+**url** | **String** | Request URL | [optional]
+**response** | **Object** | Response data | [optional]
+**content** | [**[LogContentInner]**](LogContentInner.md) | | [optional]
+**project** | [**Project**](Project.md) | | [optional]
+**query** | [**Query**](Query.md) | | [optional]
+
+
diff --git a/out/js/docs/LogContentInner.md b/out/js/docs/LogContentInner.md
new file mode 100644
index 0000000..6b260b4
--- /dev/null
+++ b/out/js/docs/LogContentInner.md
@@ -0,0 +1,11 @@
+# LowCodeEngineApi.LogContentInner
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**content** | **String** | Log content | [optional]
+**type** | **String** | Log type (info, error, warning) | [optional]
+**timeStamp** | **Number** | Log entry timestamp | [optional]
+
+
diff --git a/out/js/docs/LoggerIdFindAllPostRequest.md b/out/js/docs/LoggerIdFindAllPostRequest.md
new file mode 100644
index 0000000..b52135c
--- /dev/null
+++ b/out/js/docs/LoggerIdFindAllPostRequest.md
@@ -0,0 +1,14 @@
+# LowCodeEngineApi.LoggerIdFindAllPostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**traceId** | **String** | Filter by trace ID | [optional]
+**fromDate** | **Date** | Filter from date | [optional]
+**toDate** | **Date** | Filter to date | [optional]
+**url** | **String** | Filter by URL | [optional]
+**limit** | **Number** | Number of results to return |
+**offset** | **Number** | Number of results to skip |
+
+
diff --git a/out/js/docs/LoggingApi.md b/out/js/docs/LoggingApi.md
new file mode 100644
index 0000000..04fbf36
--- /dev/null
+++ b/out/js/docs/LoggingApi.md
@@ -0,0 +1,175 @@
+# LowCodeEngineApi.LoggingApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**loggerIdFindAllPost**](LoggingApi.md#loggerIdFindAllPost) | **POST** /logger/{id}/findAll | Find all logs
+[**loggerIdFindPost**](LoggingApi.md#loggerIdFindPost) | **POST** /logger/{id}/find | Find logs for query
+[**loggerIdTraceIdGet**](LoggingApi.md#loggerIdTraceIdGet) | **GET** /logger/{id}/{traceId} | Get log by trace ID
+
+
+
+## loggerIdFindAllPost
+
+> [Log] loggerIdFindAllPost(id, loggerIdFindAllPostRequest)
+
+Find all logs
+
+Find all logs for a project with filtering
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.LoggingApi();
+let id = "id_example"; // String | Project ID
+let loggerIdFindAllPostRequest = new LowCodeEngineApi.LoggerIdFindAllPostRequest(); // LoggerIdFindAllPostRequest |
+apiInstance.loggerIdFindAllPost(id, loggerIdFindAllPostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Project ID |
+ **loggerIdFindAllPostRequest** | [**LoggerIdFindAllPostRequest**](LoggerIdFindAllPostRequest.md)| |
+
+### Return type
+
+[**[Log]**](Log.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## loggerIdFindPost
+
+> [Log] loggerIdFindPost(id, loggerIdFindAllPostRequest)
+
+Find logs for query
+
+Find logs for a specific query with filtering
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: QueryGuard
+let QueryGuard = defaultClient.authentications['QueryGuard'];
+QueryGuard.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//QueryGuard.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.LoggingApi();
+let id = "id_example"; // String | Query ID
+let loggerIdFindAllPostRequest = new LowCodeEngineApi.LoggerIdFindAllPostRequest(); // LoggerIdFindAllPostRequest |
+apiInstance.loggerIdFindPost(id, loggerIdFindAllPostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Query ID |
+ **loggerIdFindAllPostRequest** | [**LoggerIdFindAllPostRequest**](LoggerIdFindAllPostRequest.md)| |
+
+### Return type
+
+[**[Log]**](Log.md)
+
+### Authorization
+
+[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## loggerIdTraceIdGet
+
+> Log loggerIdTraceIdGet(id, traceId)
+
+Get log by trace ID
+
+Retrieve log entries by trace ID
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.LoggingApi();
+let id = "id_example"; // String | Log ID
+let traceId = "traceId_example"; // String | Trace ID
+apiInstance.loggerIdTraceIdGet(id, traceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Log ID |
+ **traceId** | **String**| Trace ID |
+
+### Return type
+
+[**Log**](Log.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
diff --git a/out/js/docs/Migration.md b/out/js/docs/Migration.md
new file mode 100644
index 0000000..e71ce9f
--- /dev/null
+++ b/out/js/docs/Migration.md
@@ -0,0 +1,12 @@
+# LowCodeEngineApi.Migration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique migration identifier | [optional]
+**up** | **String** | Migration up SQL | [optional]
+**down** | **String** | Migration down SQL | [optional]
+**database** | [**Database**](Database.md) | | [optional]
+
+
diff --git a/out/js/docs/Project.md b/out/js/docs/Project.md
new file mode 100644
index 0000000..6b1c2a6
--- /dev/null
+++ b/out/js/docs/Project.md
@@ -0,0 +1,15 @@
+# LowCodeEngineApi.Project
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique project identifier | [optional]
+**name** | **String** | Project name | [optional]
+**apiTokens** | [**[Token]**](Token.md) | | [optional]
+**database** | [**Database**](Database.md) | | [optional]
+**queries** | [**[Query]**](Query.md) | | [optional]
+**functions** | [**[Function]**](Function.md) | | [optional]
+**settings** | [**[ProjectSetting]**](ProjectSetting.md) | | [optional]
+
+
diff --git a/out/js/docs/ProjectCreatePutRequest.md b/out/js/docs/ProjectCreatePutRequest.md
new file mode 100644
index 0000000..e567efc
--- /dev/null
+++ b/out/js/docs/ProjectCreatePutRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.ProjectCreatePutRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Project name |
+
+
diff --git a/out/js/docs/ProjectManagementApi.md b/out/js/docs/ProjectManagementApi.md
new file mode 100644
index 0000000..f85095b
--- /dev/null
+++ b/out/js/docs/ProjectManagementApi.md
@@ -0,0 +1,322 @@
+# LowCodeEngineApi.ProjectManagementApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**projectApiTokensGet**](ProjectManagementApi.md#projectApiTokensGet) | **GET** /project/api-tokens | Get all API tokens
+[**projectCreatePut**](ProjectManagementApi.md#projectCreatePut) | **PUT** /project/create | Create project
+[**projectCreateWithoutDbPut**](ProjectManagementApi.md#projectCreateWithoutDbPut) | **PUT** /project/create-without-db | Create project without database
+[**projectSettingsCreatePut**](ProjectManagementApi.md#projectSettingsCreatePut) | **PUT** /project/settings/create | Create project setting
+[**projectSettingsDeleteKeyDelete**](ProjectManagementApi.md#projectSettingsDeleteKeyDelete) | **DELETE** /project/settings/delete/{key} | Delete project setting
+[**projectSettingsGet**](ProjectManagementApi.md#projectSettingsGet) | **GET** /project/settings | Get all project settings
+
+
+
+## projectApiTokensGet
+
+> [Token] projectApiTokensGet()
+
+Get all API tokens
+
+Retrieve all API tokens for the current project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+let AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.ProjectManagementApi();
+apiInstance.projectApiTokensGet((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**[Token]**](Token.md)
+
+### Authorization
+
+[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+
+## projectCreatePut
+
+> Project projectCreatePut(projectCreatePutRequest)
+
+Create project
+
+Create a new project with database
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.ProjectManagementApi();
+let projectCreatePutRequest = new LowCodeEngineApi.ProjectCreatePutRequest(); // ProjectCreatePutRequest |
+apiInstance.projectCreatePut(projectCreatePutRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **projectCreatePutRequest** | [**ProjectCreatePutRequest**](ProjectCreatePutRequest.md)| |
+
+### Return type
+
+[**Project**](Project.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## projectCreateWithoutDbPut
+
+> Project projectCreateWithoutDbPut(projectCreatePutRequest)
+
+Create project without database
+
+Create a new project without creating a database
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+let AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.ProjectManagementApi();
+let projectCreatePutRequest = new LowCodeEngineApi.ProjectCreatePutRequest(); // ProjectCreatePutRequest |
+apiInstance.projectCreateWithoutDbPut(projectCreatePutRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **projectCreatePutRequest** | [**ProjectCreatePutRequest**](ProjectCreatePutRequest.md)| |
+
+### Return type
+
+[**Project**](Project.md)
+
+### Authorization
+
+[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## projectSettingsCreatePut
+
+> ProjectSetting projectSettingsCreatePut(projectSettingsCreatePutRequest)
+
+Create project setting
+
+Create a new project setting
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.ProjectManagementApi();
+let projectSettingsCreatePutRequest = new LowCodeEngineApi.ProjectSettingsCreatePutRequest(); // ProjectSettingsCreatePutRequest |
+apiInstance.projectSettingsCreatePut(projectSettingsCreatePutRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **projectSettingsCreatePutRequest** | [**ProjectSettingsCreatePutRequest**](ProjectSettingsCreatePutRequest.md)| |
+
+### Return type
+
+[**ProjectSetting**](ProjectSetting.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## projectSettingsDeleteKeyDelete
+
+> projectSettingsDeleteKeyDelete(key)
+
+Delete project setting
+
+Delete a project setting by key
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.ProjectManagementApi();
+let key = "key_example"; // String | Setting key to delete
+apiInstance.projectSettingsDeleteKeyDelete(key, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **key** | **String**| Setting key to delete |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+## projectSettingsGet
+
+> [ProjectSetting] projectSettingsGet()
+
+Get all project settings
+
+Retrieve all settings for the current project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.ProjectManagementApi();
+apiInstance.projectSettingsGet((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**[ProjectSetting]**](ProjectSetting.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
diff --git a/out/js/docs/ProjectSetting.md b/out/js/docs/ProjectSetting.md
new file mode 100644
index 0000000..5af67b3
--- /dev/null
+++ b/out/js/docs/ProjectSetting.md
@@ -0,0 +1,12 @@
+# LowCodeEngineApi.ProjectSetting
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique setting identifier | [optional]
+**key** | **String** | Setting key | [optional]
+**value** | **String** | Setting value | [optional]
+**project** | [**Project**](Project.md) | | [optional]
+
+
diff --git a/out/js/docs/ProjectSettingsCreatePutRequest.md b/out/js/docs/ProjectSettingsCreatePutRequest.md
new file mode 100644
index 0000000..8832bad
--- /dev/null
+++ b/out/js/docs/ProjectSettingsCreatePutRequest.md
@@ -0,0 +1,10 @@
+# LowCodeEngineApi.ProjectSettingsCreatePutRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**key** | **String** | Setting key |
+**value** | **String** | Setting value |
+
+
diff --git a/out/js/docs/QueriesApi.md b/out/js/docs/QueriesApi.md
new file mode 100644
index 0000000..fce6b93
--- /dev/null
+++ b/out/js/docs/QueriesApi.md
@@ -0,0 +1,239 @@
+# LowCodeEngineApi.QueriesApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**queryCreatePost**](QueriesApi.md#queryCreatePost) | **POST** /query/create | Create query
+[**queryDeleteIdDelete**](QueriesApi.md#queryDeleteIdDelete) | **DELETE** /query/delete/{id} | Delete query
+[**queryRunIdPost**](QueriesApi.md#queryRunIdPost) | **POST** /query/run/{id} | Run query
+[**queryUpdateIdPost**](QueriesApi.md#queryUpdateIdPost) | **POST** /query/update/{id} | Update query
+
+
+
+## queryCreatePost
+
+> Query queryCreatePost(queryCreatePostRequest)
+
+Create query
+
+Create a new query in the project
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.QueriesApi();
+let queryCreatePostRequest = new LowCodeEngineApi.QueryCreatePostRequest(); // QueryCreatePostRequest |
+apiInstance.queryCreatePost(queryCreatePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **queryCreatePostRequest** | [**QueryCreatePostRequest**](QueryCreatePostRequest.md)| |
+
+### Return type
+
+[**Query**](Query.md)
+
+### Authorization
+
+[ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## queryDeleteIdDelete
+
+> queryDeleteIdDelete(id)
+
+Delete query
+
+Delete an existing query
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: QueryGuard
+let QueryGuard = defaultClient.authentications['QueryGuard'];
+QueryGuard.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//QueryGuard.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.QueriesApi();
+let id = "id_example"; // String | Query ID
+apiInstance.queryDeleteIdDelete(id, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Query ID |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+## queryRunIdPost
+
+> Object queryRunIdPost(id, body, opts)
+
+Run query
+
+Execute a query with provided data
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: QueryGuard
+let QueryGuard = defaultClient.authentications['QueryGuard'];
+QueryGuard.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//QueryGuard.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.QueriesApi();
+let id = "id_example"; // String | Query ID
+let body = {key: null}; // Object |
+let opts = {
+ 'xTraceId': "xTraceId_example" // String | Trace ID for logging
+};
+apiInstance.queryRunIdPost(id, body, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Query ID |
+ **body** | **Object**| |
+ **xTraceId** | **String**| Trace ID for logging | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+## queryUpdateIdPost
+
+> Query queryUpdateIdPost(id, queryUpdateIdPostRequest)
+
+Update query
+
+Update an existing query
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: QueryGuard
+let QueryGuard = defaultClient.authentications['QueryGuard'];
+QueryGuard.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//QueryGuard.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.QueriesApi();
+let id = "id_example"; // String | Query ID
+let queryUpdateIdPostRequest = new LowCodeEngineApi.QueryUpdateIdPostRequest(); // QueryUpdateIdPostRequest |
+apiInstance.queryUpdateIdPost(id, queryUpdateIdPostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **String**| Query ID |
+ **queryUpdateIdPostRequest** | [**QueryUpdateIdPostRequest**](QueryUpdateIdPostRequest.md)| |
+
+### Return type
+
+[**Query**](Query.md)
+
+### Authorization
+
+[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
diff --git a/out/js/docs/Query.md b/out/js/docs/Query.md
new file mode 100644
index 0000000..b730d7d
--- /dev/null
+++ b/out/js/docs/Query.md
@@ -0,0 +1,14 @@
+# LowCodeEngineApi.Query
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique query identifier | [optional]
+**source** | **String** | Query source code | [optional]
+**isActive** | **Number** | Whether the query is active (1 = active, 0 = inactive) | [optional]
+**isCommand** | **Number** | Whether this is a command (1 = command, 0 = query) | [optional]
+**project** | [**Project**](Project.md) | | [optional]
+**logs** | [**[Log]**](Log.md) | | [optional]
+
+
diff --git a/out/js/docs/QueryCreatePostRequest.md b/out/js/docs/QueryCreatePostRequest.md
new file mode 100644
index 0000000..2f0a803
--- /dev/null
+++ b/out/js/docs/QueryCreatePostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.QueryCreatePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**source** | **String** | Query source code |
+
+
diff --git a/out/js/docs/QueryUpdateIdPostRequest.md b/out/js/docs/QueryUpdateIdPostRequest.md
new file mode 100644
index 0000000..193f535
--- /dev/null
+++ b/out/js/docs/QueryUpdateIdPostRequest.md
@@ -0,0 +1,9 @@
+# LowCodeEngineApi.QueryUpdateIdPostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**source** | **String** | Updated query source code | [optional]
+
+
diff --git a/out/js/docs/RedisManagementApi.md b/out/js/docs/RedisManagementApi.md
new file mode 100644
index 0000000..721acb9
--- /dev/null
+++ b/out/js/docs/RedisManagementApi.md
@@ -0,0 +1,65 @@
+# LowCodeEngineApi.RedisManagementApi
+
+All URIs are relative to *http://localhost:3000*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**redisNodeCreatePost**](RedisManagementApi.md#redisNodeCreatePost) | **POST** /redis/node/create | Add Redis node
+
+
+
+## redisNodeCreatePost
+
+> RedisNode redisNodeCreatePost(redisNodeCreatePostRequest)
+
+Add Redis node
+
+Add a new Redis node to the system
+
+### Example
+
+```javascript
+import LowCodeEngineApi from 'low_code_engine_api';
+let defaultClient = LowCodeEngineApi.ApiClient.instance;
+// Configure API key authorization: AdminAuth
+let AdminAuth = defaultClient.authentications['AdminAuth'];
+AdminAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//AdminAuth.apiKeyPrefix = 'Token';
+// Configure API key authorization: ApiKeyAuth
+let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
+ApiKeyAuth.apiKey = 'YOUR API KEY';
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//ApiKeyAuth.apiKeyPrefix = 'Token';
+
+let apiInstance = new LowCodeEngineApi.RedisManagementApi();
+let redisNodeCreatePostRequest = new LowCodeEngineApi.RedisNodeCreatePostRequest(); // RedisNodeCreatePostRequest |
+apiInstance.redisNodeCreatePost(redisNodeCreatePostRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **redisNodeCreatePostRequest** | [**RedisNodeCreatePostRequest**](RedisNodeCreatePostRequest.md)| |
+
+### Return type
+
+[**RedisNode**](RedisNode.md)
+
+### Authorization
+
+[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
diff --git a/out/js/docs/RedisNode.md b/out/js/docs/RedisNode.md
new file mode 100644
index 0000000..9229931
--- /dev/null
+++ b/out/js/docs/RedisNode.md
@@ -0,0 +1,14 @@
+# LowCodeEngineApi.RedisNode
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **String** | Unique Redis node identifier | [optional]
+**host** | **String** | Redis host | [optional]
+**port** | **Number** | Redis port | [optional]
+**user** | **String** | Redis username | [optional]
+**password** | **String** | Redis password | [optional]
+**projects** | [**[Project]**](Project.md) | | [optional]
+
+
diff --git a/out/js/docs/RedisNodeCreatePostRequest.md b/out/js/docs/RedisNodeCreatePostRequest.md
new file mode 100644
index 0000000..687b29e
--- /dev/null
+++ b/out/js/docs/RedisNodeCreatePostRequest.md
@@ -0,0 +1,12 @@
+# LowCodeEngineApi.RedisNodeCreatePostRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**host** | **String** | Redis host |
+**port** | **Number** | Redis port |
+**user** | **String** | Redis username |
+**password** | **String** | Redis password |
+
+
diff --git a/out/js/docs/Token.md b/out/js/docs/Token.md
new file mode 100644
index 0000000..7ec7342
--- /dev/null
+++ b/out/js/docs/Token.md
@@ -0,0 +1,12 @@
+# LowCodeEngineApi.Token
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**token** | **String** | Unique token identifier | [optional]
+**isActive** | **Boolean** | Whether the token is active | [optional]
+**isAdmin** | **Boolean** | Whether the token has admin privileges | [optional]
+**project** | [**Project**](Project.md) | | [optional]
+
+
diff --git a/out/ts/git_push.sh b/out/js/git_push.sh
similarity index 100%
rename from out/ts/git_push.sh
rename to out/js/git_push.sh
diff --git a/out/js/mocha.opts b/out/js/mocha.opts
new file mode 100644
index 0000000..9070118
--- /dev/null
+++ b/out/js/mocha.opts
@@ -0,0 +1 @@
+--timeout 10000
diff --git a/out/js/package.json b/out/js/package.json
new file mode 100644
index 0000000..01ee4d7
--- /dev/null
+++ b/out/js/package.json
@@ -0,0 +1,46 @@
+{
+ "name": "low_code_engine_api",
+ "version": "1.0.0",
+ "description": "API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.",
+ "license": "Unlicense",
+ "main": "dist/index.js",
+ "scripts": {
+ "build": "babel src -d dist",
+ "prepare": "npm run build",
+ "test": "mocha --require @babel/register --recursive"
+ },
+ "browser": {
+ "fs": false
+ },
+ "dependencies": {
+ "@babel/cli": "^7.0.0",
+ "superagent": "^5.3.0"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.0.0",
+ "@babel/plugin-proposal-class-properties": "^7.0.0",
+ "@babel/plugin-proposal-decorators": "^7.0.0",
+ "@babel/plugin-proposal-do-expressions": "^7.0.0",
+ "@babel/plugin-proposal-export-default-from": "^7.0.0",
+ "@babel/plugin-proposal-export-namespace-from": "^7.0.0",
+ "@babel/plugin-proposal-function-bind": "^7.0.0",
+ "@babel/plugin-proposal-function-sent": "^7.0.0",
+ "@babel/plugin-proposal-json-strings": "^7.0.0",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
+ "@babel/plugin-proposal-numeric-separator": "^7.0.0",
+ "@babel/plugin-proposal-optional-chaining": "^7.0.0",
+ "@babel/plugin-proposal-pipeline-operator": "^7.0.0",
+ "@babel/plugin-proposal-throw-expressions": "^7.0.0",
+ "@babel/plugin-syntax-dynamic-import": "^7.0.0",
+ "@babel/plugin-syntax-import-meta": "^7.0.0",
+ "@babel/preset-env": "^7.0.0",
+ "@babel/register": "^7.0.0",
+ "expect.js": "^0.3.1",
+ "mocha": "^8.0.1",
+ "sinon": "^7.2.0"
+ },
+ "files": [
+ "dist"
+ ]
+}
diff --git a/out/js/src/ApiClient.js b/out/js/src/ApiClient.js
new file mode 100644
index 0000000..661e843
--- /dev/null
+++ b/out/js/src/ApiClient.js
@@ -0,0 +1,696 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import superagent from "superagent";
+
+/**
+* @module ApiClient
+* @version 1.0.0
+*/
+
+/**
+* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
+* application to use this class directly - the *Api and model classes provide the public API for the service. The
+* contents of this file should be regarded as internal but are documented for completeness.
+* @alias module:ApiClient
+* @class
+*/
+class ApiClient {
+ /**
+ * The base URL against which to resolve every API call's (relative) path.
+ * Overrides the default value set in spec file if present
+ * @param {String} basePath
+ */
+ constructor(basePath = 'http://localhost:3000') {
+ /**
+ * The base URL against which to resolve every API call's (relative) path.
+ * @type {String}
+ * @default http://localhost:3000
+ */
+ this.basePath = basePath.replace(/\/+$/, '');
+
+ /**
+ * The authentication methods to be included for all API calls.
+ * @type {Array.}
+ */
+ this.authentications = {
+ 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'Authorization'},
+ 'AdminAuth': {type: 'apiKey', 'in': 'header', name: 'x-admin-token'},
+ 'QueryGuard': {type: 'apiKey', 'in': 'header', name: 'x-query-access'}
+ }
+
+ /**
+ * The default HTTP headers to be included for all API calls.
+ * @type {Array.}
+ * @default {}
+ */
+ this.defaultHeaders = {
+ 'User-Agent': 'OpenAPI-Generator/1.0.0/Javascript'
+ };
+
+ /**
+ * The default HTTP timeout for all API calls.
+ * @type {Number}
+ * @default 60000
+ */
+ this.timeout = 60000;
+
+ /**
+ * If set to false an additional timestamp parameter is added to all API GET calls to
+ * prevent browser caching
+ * @type {Boolean}
+ * @default true
+ */
+ this.cache = true;
+
+ /**
+ * If set to true, the client will save the cookies from each server
+ * response, and return them in the next request.
+ * @default false
+ */
+ this.enableCookies = false;
+
+ /*
+ * Used to save and return cookies in a node.js (non-browser) setting,
+ * if this.enableCookies is set to true.
+ */
+ if (typeof window === 'undefined') {
+ this.agent = new superagent.agent();
+ }
+
+ /*
+ * Allow user to override superagent agent
+ */
+ this.requestAgent = null;
+
+ /*
+ * Allow user to add superagent plugins
+ */
+ this.plugins = null;
+
+ }
+
+ /**
+ * Returns a string representation for an actual parameter.
+ * @param param The actual parameter.
+ * @returns {String} The string representation of param.
+ */
+ paramToString(param) {
+ if (param == undefined || param == null) {
+ return '';
+ }
+ if (param instanceof Date) {
+ return param.toJSON();
+ }
+ if (ApiClient.canBeJsonified(param)) {
+ return JSON.stringify(param);
+ }
+
+ return param.toString();
+ }
+
+ /**
+ * Returns a boolean indicating if the parameter could be JSON.stringified
+ * @param param The actual parameter
+ * @returns {Boolean} Flag indicating if param can be JSON.stringified
+ */
+ static canBeJsonified(str) {
+ if (typeof str !== 'string' && typeof str !== 'object') return false;
+ try {
+ const type = str.toString();
+ return type === '[object Object]'
+ || type === '[object Array]';
+ } catch (err) {
+ return false;
+ }
+ };
+
+ /**
+ * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
+ * NOTE: query parameters are not handled here.
+ * @param {String} path The path to append to the base URL.
+ * @param {Object} pathParams The parameter values to append.
+ * @param {String} apiBasePath Base path defined in the path, operation level to override the default one
+ * @returns {String} The encoded path with parameter values substituted.
+ */
+ buildUrl(path, pathParams, apiBasePath) {
+ if (!path.match(/^\//)) {
+ path = '/' + path;
+ }
+
+ var url = this.basePath + path;
+
+ // use API (operation, path) base path if defined
+ if (apiBasePath !== null && apiBasePath !== undefined) {
+ url = apiBasePath + path;
+ }
+
+ url = url.replace(/\{([\w-\.#]+)\}/g, (fullMatch, key) => {
+ var value;
+ if (pathParams.hasOwnProperty(key)) {
+ value = this.paramToString(pathParams[key]);
+ } else {
+ value = fullMatch;
+ }
+
+ return encodeURIComponent(value);
+ });
+
+ return url;
+ }
+
+ /**
+ * Checks whether the given content type represents JSON.
+ * JSON content type examples:
+ *
+ *
application/json
+ *
application/json; charset=UTF8
+ *
APPLICATION/JSON
+ *
+ * @param {String} contentType The MIME content type to check.
+ * @returns {Boolean} true if contentType represents JSON, otherwise false.
+ */
+ isJsonMime(contentType) {
+ return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
+ }
+
+ /**
+ * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
+ * @param {Array.} contentTypes
+ * @returns {String} The chosen content type, preferring JSON.
+ */
+ jsonPreferredMime(contentTypes) {
+ for (var i = 0; i < contentTypes.length; i++) {
+ if (this.isJsonMime(contentTypes[i])) {
+ return contentTypes[i];
+ }
+ }
+
+ return contentTypes[0];
+ }
+
+ /**
+ * Checks whether the given parameter value represents file-like content.
+ * @param param The parameter to check.
+ * @returns {Boolean} true if param represents a file.
+ */
+ isFileParam(param) {
+ // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
+ if (typeof require === 'function') {
+ let fs;
+ try {
+ fs = require('fs');
+ } catch (err) {}
+ if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
+ return true;
+ }
+ }
+
+ // Buffer in Node.js
+ if (typeof Buffer === 'function' && param instanceof Buffer) {
+ return true;
+ }
+
+ // Blob in browser
+ if (typeof Blob === 'function' && param instanceof Blob) {
+ return true;
+ }
+
+ // File in browser (it seems File object is also instance of Blob, but keep this for safe)
+ if (typeof File === 'function' && param instanceof File) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Normalizes parameter values:
+ *
+ *
remove nils
+ *
keep files and arrays
+ *
format to string with `paramToString` for other cases
+ *
+ * @param {Object.} params The parameters as object properties.
+ * @returns {Object.} normalized parameters.
+ */
+ normalizeParams(params) {
+ var newParams = {};
+ for (var key in params) {
+ if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) {
+ var value = params[key];
+ if (this.isFileParam(value) || Array.isArray(value)) {
+ newParams[key] = value;
+ } else {
+ newParams[key] = this.paramToString(value);
+ }
+ }
+ }
+
+ return newParams;
+ }
+
+ /**
+ * Builds a string representation of an array-type actual parameter, according to the given collection format.
+ * @param {Array} param An array parameter.
+ * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
+ * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
+ * param as is if collectionFormat is multi.
+ */
+ buildCollectionParam(param, collectionFormat) {
+ if (param == null) {
+ return null;
+ }
+ switch (collectionFormat) {
+ case 'csv':
+ return param.map(this.paramToString, this).join(',');
+ case 'ssv':
+ return param.map(this.paramToString, this).join(' ');
+ case 'tsv':
+ return param.map(this.paramToString, this).join('\t');
+ case 'pipes':
+ return param.map(this.paramToString, this).join('|');
+ case 'multi':
+ //return the array directly as SuperAgent will handle it as expected
+ return param.map(this.paramToString, this);
+ case 'passthrough':
+ return param;
+ default:
+ throw new Error('Unknown collection format: ' + collectionFormat);
+ }
+ }
+
+ /**
+ * Applies authentication headers to the request.
+ * @param {Object} request The request object created by a superagent() call.
+ * @param {Array.} authNames An array of authentication method names.
+ */
+ applyAuthToRequest(request, authNames) {
+ authNames.forEach((authName) => {
+ var auth = this.authentications[authName];
+ switch (auth.type) {
+ case 'basic':
+ if (auth.username || auth.password) {
+ request.auth(auth.username || '', auth.password || '');
+ }
+
+ break;
+ case 'bearer':
+ if (auth.accessToken) {
+ var localVarBearerToken = typeof auth.accessToken === 'function'
+ ? auth.accessToken()
+ : auth.accessToken
+ request.set({'Authorization': 'Bearer ' + localVarBearerToken});
+ }
+
+ break;
+ case 'apiKey':
+ if (auth.apiKey) {
+ var data = {};
+ if (auth.apiKeyPrefix) {
+ data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey;
+ } else {
+ data[auth.name] = auth.apiKey;
+ }
+
+ if (auth['in'] === 'header') {
+ request.set(data);
+ } else {
+ request.query(data);
+ }
+ }
+
+ break;
+ case 'oauth2':
+ if (auth.accessToken) {
+ request.set({'Authorization': 'Bearer ' + auth.accessToken});
+ }
+
+ break;
+ default:
+ throw new Error('Unknown authentication type: ' + auth.type);
+ }
+ });
+ }
+
+ /**
+ * Deserializes an HTTP response body into a value of the specified type.
+ * @param {Object} response A SuperAgent response object.
+ * @param {(String|Array.|Object.|Function)} returnType The type to return. Pass a string for simple types
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
+ * all properties on data will be converted to this type.
+ * @returns A value of the specified type.
+ */
+ deserialize(response, returnType) {
+ if (response == null || returnType == null || response.status == 204) {
+ return null;
+ }
+
+ // Rely on SuperAgent for parsing response body.
+ // See http://visionmedia.github.io/superagent/#parsing-response-bodies
+ var data = response.body;
+ if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) {
+ // SuperAgent does not always produce a body; use the unparsed response as a fallback
+ data = response.text;
+ }
+
+ return ApiClient.convertToType(data, returnType);
+ }
+
+ /**
+ * Callback function to receive the result of the operation.
+ * @callback module:ApiClient~callApiCallback
+ * @param {String} error Error message, if any.
+ * @param data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Invokes the REST service using the supplied settings and parameters.
+ * @param {String} path The base URL to invoke.
+ * @param {String} httpMethod The HTTP method to use.
+ * @param {Object.} pathParams A map of path parameters and their values.
+ * @param {Object.} queryParams A map of query parameters and their values.
+ * @param {Object.} headerParams A map of header parameters and their values.
+ * @param {Object.} formParams A map of form parameters and their values.
+ * @param {Object} bodyParam The value to pass as the request body.
+ * @param {Array.} authNames An array of authentication type names.
+ * @param {Array.} contentTypes An array of request MIME types.
+ * @param {Array.} accepts An array of acceptable response MIME types.
+ * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
+ * constructor for a complex type.
+ * @param {String} apiBasePath base path defined in the operation/path level to override the default one
+ * @param {module:ApiClient~callApiCallback} callback The callback function.
+ * @returns {Object} The SuperAgent request object.
+ */
+ callApi(path, httpMethod, pathParams,
+ queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts,
+ returnType, apiBasePath, callback) {
+
+ var url = this.buildUrl(path, pathParams, apiBasePath);
+ var request = superagent(httpMethod, url);
+
+ if (this.plugins !== null) {
+ for (var index in this.plugins) {
+ if (this.plugins.hasOwnProperty(index)) {
+ request.use(this.plugins[index])
+ }
+ }
+ }
+
+ // apply authentications
+ this.applyAuthToRequest(request, authNames);
+
+ // set query parameters
+ if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
+ queryParams['_'] = new Date().getTime();
+ }
+
+ request.query(this.normalizeParams(queryParams));
+
+ // set header parameters
+ request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
+
+ // set requestAgent if it is set by user
+ if (this.requestAgent) {
+ request.agent(this.requestAgent);
+ }
+
+ // set request timeout
+ request.timeout(this.timeout);
+
+ var contentType = this.jsonPreferredMime(contentTypes);
+ if (contentType) {
+ // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
+ if(contentType != 'multipart/form-data') {
+ request.type(contentType);
+ }
+ }
+
+ if (contentType === 'application/x-www-form-urlencoded') {
+ let normalizedParams = this.normalizeParams(formParams)
+ let urlSearchParams = new URLSearchParams(normalizedParams);
+ let queryString = urlSearchParams.toString();
+ request.send(queryString);
+ } else if (contentType == 'multipart/form-data') {
+ var _formParams = this.normalizeParams(formParams);
+ for (var key in _formParams) {
+ if (_formParams.hasOwnProperty(key)) {
+ let _formParamsValue = _formParams[key];
+ if (this.isFileParam(_formParamsValue)) {
+ // file field
+ request.attach(key, _formParamsValue);
+ } else if (Array.isArray(_formParamsValue) && _formParamsValue.length
+ && this.isFileParam(_formParamsValue[0])) {
+ // multiple files
+ _formParamsValue.forEach(file => request.attach(key, file));
+ } else {
+ request.field(key, _formParamsValue);
+ }
+ }
+ }
+ } else if (bodyParam !== null && bodyParam !== undefined) {
+ if (!request.header['Content-Type']) {
+ request.type('application/json');
+ }
+ request.send(bodyParam);
+ }
+
+ var accept = this.jsonPreferredMime(accepts);
+ if (accept) {
+ request.accept(accept);
+ }
+
+ if (returnType === 'Blob') {
+ request.responseType('blob');
+ } else if (returnType === 'String') {
+ request.responseType('text');
+ }
+
+ // Attach previously saved cookies, if enabled
+ if (this.enableCookies){
+ if (typeof window === 'undefined') {
+ this.agent._attachCookies(request);
+ }
+ else {
+ request.withCredentials();
+ }
+ }
+
+ request.end((error, response) => {
+ if (callback) {
+ var data = null;
+ if (!error) {
+ try {
+ data = this.deserialize(response, returnType);
+ if (this.enableCookies && typeof window === 'undefined'){
+ this.agent._saveCookies(response);
+ }
+ } catch (err) {
+ error = err;
+ }
+ }
+
+ callback(error, data, response);
+ }
+ });
+
+ return request;
+ }
+
+ /**
+ * Parses an ISO-8601 string representation or epoch representation of a date value.
+ * @param {String} str The date value as a string.
+ * @returns {Date} The parsed date object.
+ */
+ static parseDate(str) {
+ if (isNaN(str)) {
+ return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
+ }
+ return new Date(+str);
+ }
+
+ /**
+ * Converts a value to the specified type.
+ * @param {(String|Object)} data The data to convert, as a string or object.
+ * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
+ * all properties on data will be converted to this type.
+ * @returns An instance of the specified type or null or undefined if data is null or undefined.
+ */
+ static convertToType(data, type) {
+ if (data === null || data === undefined)
+ return data
+
+ switch (type) {
+ case 'Boolean':
+ return Boolean(data);
+ case 'Integer':
+ return parseInt(data, 10);
+ case 'Number':
+ return parseFloat(data);
+ case 'String':
+ return String(data);
+ case 'Date':
+ return ApiClient.parseDate(String(data));
+ case 'Blob':
+ return data;
+ default:
+ if (type === Object) {
+ // generic object, return directly
+ return data;
+ } else if (typeof type.constructFromObject === 'function') {
+ // for model type like User and enum class
+ return type.constructFromObject(data);
+ } else if (Array.isArray(type)) {
+ // for array type like: ['String']
+ var itemType = type[0];
+
+ return data.map((item) => {
+ return ApiClient.convertToType(item, itemType);
+ });
+ } else if (typeof type === 'object') {
+ // for plain object type like: {'String': 'Integer'}
+ var keyType, valueType;
+ for (var k in type) {
+ if (type.hasOwnProperty(k)) {
+ keyType = k;
+ valueType = type[k];
+ break;
+ }
+ }
+
+ var result = {};
+ for (var k in data) {
+ if (data.hasOwnProperty(k)) {
+ var key = ApiClient.convertToType(k, keyType);
+ var value = ApiClient.convertToType(data[k], valueType);
+ result[key] = value;
+ }
+ }
+
+ return result;
+ } else {
+ // for unknown type, return the data directly
+ return data;
+ }
+ }
+ }
+
+ /**
+ * Gets an array of host settings
+ * @returns An array of host settings
+ */
+ hostSettings() {
+ return [
+ {
+ 'url': "http://localhost:3000",
+ 'description': "Development server",
+ }
+ ];
+ }
+
+ getBasePathFromSettings(index, variables={}) {
+ var servers = this.hostSettings();
+
+ // check array index out of bound
+ if (index < 0 || index >= servers.length) {
+ throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
+ }
+
+ var server = servers[index];
+ var url = server['url'];
+
+ // go through variable and assign a value
+ for (var variable_name in server['variables']) {
+ if (variable_name in variables) {
+ let variable = server['variables'][variable_name];
+ if ( !('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name]) ) {
+ url = url.replace("{" + variable_name + "}", variables[variable_name]);
+ } else {
+ throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
+ }
+ } else {
+ // use default value
+ url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value'])
+ }
+ }
+ return url;
+ }
+
+ /**
+ * Constructs a new map or array model from REST data.
+ * @param data {Object|Array} The REST data.
+ * @param obj {Object|Array} The target object or array.
+ */
+ static constructFromObject(data, obj, itemType) {
+ if (Array.isArray(data)) {
+ for (var i = 0; i < data.length; i++) {
+ if (data.hasOwnProperty(i))
+ obj[i] = ApiClient.convertToType(data[i], itemType);
+ }
+ } else {
+ for (var k in data) {
+ if (data.hasOwnProperty(k))
+ obj[k] = ApiClient.convertToType(data[k], itemType);
+ }
+ }
+ };
+}
+
+/**
+ * Enumeration of collection format separator strategies.
+ * @enum {String}
+ * @readonly
+ */
+ApiClient.CollectionFormatEnum = {
+ /**
+ * Comma-separated values. Value: csv
+ * @const
+ */
+ CSV: ',',
+
+ /**
+ * Space-separated values. Value: ssv
+ * @const
+ */
+ SSV: ' ',
+
+ /**
+ * Tab-separated values. Value: tsv
+ * @const
+ */
+ TSV: '\t',
+
+ /**
+ * Pipe(|)-separated values. Value: pipes
+ * @const
+ */
+ PIPES: '|',
+
+ /**
+ * Native array. Value: multi
+ * @const
+ */
+ MULTI: 'multi'
+};
+
+/**
+* The default API client implementation.
+* @type {module:ApiClient}
+*/
+ApiClient.instance = new ApiClient();
+export default ApiClient;
diff --git a/out/js/src/api/APITokensApi.js b/out/js/src/api/APITokensApi.js
new file mode 100644
index 0000000..d184802
--- /dev/null
+++ b/out/js/src/api/APITokensApi.js
@@ -0,0 +1,123 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import ApiTokenGeneratePostRequest from '../model/ApiTokenGeneratePostRequest';
+import Token from '../model/Token';
+
+/**
+* APITokens service.
+* @module api/APITokensApi
+* @version 1.0.0
+*/
+export default class APITokensApi {
+
+ /**
+ * Constructs a new APITokensApi.
+ * @alias module:api/APITokensApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the apiTokenGeneratePost operation.
+ * @callback module:api/APITokensApi~apiTokenGeneratePostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/Token} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Generate API token
+ * Generate a new API token for a project
+ * @param {module:model/ApiTokenGeneratePostRequest} apiTokenGeneratePostRequest
+ * @param {module:api/APITokensApi~apiTokenGeneratePostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/Token}
+ */
+ apiTokenGeneratePost(apiTokenGeneratePostRequest, callback) {
+ let postBody = apiTokenGeneratePostRequest;
+ // verify the required parameter 'apiTokenGeneratePostRequest' is set
+ if (apiTokenGeneratePostRequest === undefined || apiTokenGeneratePostRequest === null) {
+ throw new Error("Missing the required parameter 'apiTokenGeneratePostRequest' when calling apiTokenGeneratePost");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['AdminAuth', 'ApiKeyAuth'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/json'];
+ let returnType = Token;
+ return this.apiClient.callApi(
+ '/api/token/generate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the apiTokenRevokeTokenDelete operation.
+ * @callback module:api/APITokensApi~apiTokenRevokeTokenDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Revoke API token
+ * Revoke an existing API token
+ * @param {String} token Token to revoke
+ * @param {module:api/APITokensApi~apiTokenRevokeTokenDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ apiTokenRevokeTokenDelete(token, callback) {
+ let postBody = null;
+ // verify the required parameter 'token' is set
+ if (token === undefined || token === null) {
+ throw new Error("Missing the required parameter 'token' when calling apiTokenRevokeTokenDelete");
+ }
+
+ let pathParams = {
+ 'token': token
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['AdminAuth', 'ApiKeyAuth'];
+ let contentTypes = [];
+ let accepts = [];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/token/revoke/{token}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/out/js/src/api/CommandsApi.js b/out/js/src/api/CommandsApi.js
new file mode 100644
index 0000000..3f7800b
--- /dev/null
+++ b/out/js/src/api/CommandsApi.js
@@ -0,0 +1,224 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CommandCreatePostRequest from '../model/CommandCreatePostRequest';
+import CommandUpdateIdPostRequest from '../model/CommandUpdateIdPostRequest';
+import Query from '../model/Query';
+
+/**
+* Commands service.
+* @module api/CommandsApi
+* @version 1.0.0
+*/
+export default class CommandsApi {
+
+ /**
+ * Constructs a new CommandsApi.
+ * @alias module:api/CommandsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the commandCreatePost operation.
+ * @callback module:api/CommandsApi~commandCreatePostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/Query} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create command
+ * Create a new command in the project
+ * @param {module:model/CommandCreatePostRequest} commandCreatePostRequest
+ * @param {module:api/CommandsApi~commandCreatePostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/Query}
+ */
+ commandCreatePost(commandCreatePostRequest, callback) {
+ let postBody = commandCreatePostRequest;
+ // verify the required parameter 'commandCreatePostRequest' is set
+ if (commandCreatePostRequest === undefined || commandCreatePostRequest === null) {
+ throw new Error("Missing the required parameter 'commandCreatePostRequest' when calling commandCreatePost");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['ApiKeyAuth'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/json'];
+ let returnType = Query;
+ return this.apiClient.callApi(
+ '/command/create', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the commandDeleteIdDelete operation.
+ * @callback module:api/CommandsApi~commandDeleteIdDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete command
+ * Delete an existing command
+ * @param {String} id Command ID
+ * @param {module:api/CommandsApi~commandDeleteIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ commandDeleteIdDelete(id, callback) {
+ let postBody = null;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling commandDeleteIdDelete");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['QueryGuard', 'ApiKeyAuth'];
+ let contentTypes = [];
+ let accepts = [];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/command/delete/{id}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the commandRunIdPost operation.
+ * @callback module:api/CommandsApi~commandRunIdPostCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Run command
+ * Execute a command with provided data
+ * @param {String} id Command ID
+ * @param {Object.} body
+ * @param {Object} opts Optional parameters
+ * @param {String} [xTraceId] Trace ID for logging
+ * @param {module:api/CommandsApi~commandRunIdPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ commandRunIdPost(id, body, opts, callback) {
+ opts = opts || {};
+ let postBody = body;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling commandRunIdPost");
+ }
+ // verify the required parameter 'body' is set
+ if (body === undefined || body === null) {
+ throw new Error("Missing the required parameter 'body' when calling commandRunIdPost");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ 'x-trace-id': opts['xTraceId']
+ };
+ let formParams = {
+ };
+
+ let authNames = ['QueryGuard', 'ApiKeyAuth'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/json'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/command/run/{id}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the commandUpdateIdPost operation.
+ * @callback module:api/CommandsApi~commandUpdateIdPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/Query} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update command
+ * Update an existing command
+ * @param {String} id Command ID
+ * @param {module:model/CommandUpdateIdPostRequest} commandUpdateIdPostRequest
+ * @param {module:api/CommandsApi~commandUpdateIdPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/Query}
+ */
+ commandUpdateIdPost(id, commandUpdateIdPostRequest, callback) {
+ let postBody = commandUpdateIdPostRequest;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling commandUpdateIdPost");
+ }
+ // verify the required parameter 'commandUpdateIdPostRequest' is set
+ if (commandUpdateIdPostRequest === undefined || commandUpdateIdPostRequest === null) {
+ throw new Error("Missing the required parameter 'commandUpdateIdPostRequest' when calling commandUpdateIdPost");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['QueryGuard', 'ApiKeyAuth'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/json'];
+ let returnType = Query;
+ return this.apiClient.callApi(
+ '/command/update/{id}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/out/js/src/api/DatabaseManagementApi.js b/out/js/src/api/DatabaseManagementApi.js
new file mode 100644
index 0000000..0054503
--- /dev/null
+++ b/out/js/src/api/DatabaseManagementApi.js
@@ -0,0 +1,394 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import Database from '../model/Database';
+import DatabaseCreatePostRequest from '../model/DatabaseCreatePostRequest';
+import DatabaseMigrationCreatePostRequest from '../model/DatabaseMigrationCreatePostRequest';
+import DatabaseNode from '../model/DatabaseNode';
+import DatabaseNodeCreatePostRequest from '../model/DatabaseNodeCreatePostRequest';
+import DatabaseQueryDatabaseIdPostRequest from '../model/DatabaseQueryDatabaseIdPostRequest';
+import Migration from '../model/Migration';
+
+/**
+* DatabaseManagement service.
+* @module api/DatabaseManagementApi
+* @version 1.0.0
+*/
+export default class DatabaseManagementApi {
+
+ /**
+ * Constructs a new DatabaseManagementApi.
+ * @alias module:api/DatabaseManagementApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the databaseColumnsDatabaseIdTableNameGet operation.
+ * @callback module:api/DatabaseManagementApi~databaseColumnsDatabaseIdTableNameGetCallback
+ * @param {String} error Error message, if any.
+ * @param {Array.
+*
+* A non-AMD browser application (discouraged) might do something like this:
+*
+* var xxxSvc = new LowCodeEngineApi.XxxApi(); // Allocate the API class we're going to use.
+* var yyy = new LowCodeEngineApi.Yyy(); // Construct a model instance.
+* yyyModel.someProperty = 'someValue';
+* ...
+* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
+* ...
+*
+*
+* @module index
+* @version 1.0.0
+*/
+export {
+ /**
+ * The ApiClient constructor.
+ * @property {module:ApiClient}
+ */
+ ApiClient,
+
+ /**
+ * The ApiTokenGeneratePostRequest model constructor.
+ * @property {module:model/ApiTokenGeneratePostRequest}
+ */
+ ApiTokenGeneratePostRequest,
+
+ /**
+ * The CommandCreatePostRequest model constructor.
+ * @property {module:model/CommandCreatePostRequest}
+ */
+ CommandCreatePostRequest,
+
+ /**
+ * The CommandUpdateIdPostRequest model constructor.
+ * @property {module:model/CommandUpdateIdPostRequest}
+ */
+ CommandUpdateIdPostRequest,
+
+ /**
+ * The Database model constructor.
+ * @property {module:model/Database}
+ */
+ Database,
+
+ /**
+ * The DatabaseCreatePostRequest model constructor.
+ * @property {module:model/DatabaseCreatePostRequest}
+ */
+ DatabaseCreatePostRequest,
+
+ /**
+ * The DatabaseMigrationCreatePostRequest model constructor.
+ * @property {module:model/DatabaseMigrationCreatePostRequest}
+ */
+ DatabaseMigrationCreatePostRequest,
+
+ /**
+ * The DatabaseNode model constructor.
+ * @property {module:model/DatabaseNode}
+ */
+ DatabaseNode,
+
+ /**
+ * The DatabaseNodeCreatePostRequest model constructor.
+ * @property {module:model/DatabaseNodeCreatePostRequest}
+ */
+ DatabaseNodeCreatePostRequest,
+
+ /**
+ * The DatabaseQueryDatabaseIdPostRequest model constructor.
+ * @property {module:model/DatabaseQueryDatabaseIdPostRequest}
+ */
+ DatabaseQueryDatabaseIdPostRequest,
+
+ /**
+ * The Error model constructor.
+ * @property {module:model/Error}
+ */
+ Error,
+
+ /**
+ * The Function model constructor.
+ * @property {module:model/Function}
+ */
+ Function,
+
+ /**
+ * The FunctionsCreatePostRequest model constructor.
+ * @property {module:model/FunctionsCreatePostRequest}
+ */
+ FunctionsCreatePostRequest,
+
+ /**
+ * The FunctionsDeletePostRequest model constructor.
+ * @property {module:model/FunctionsDeletePostRequest}
+ */
+ FunctionsDeletePostRequest,
+
+ /**
+ * The Log model constructor.
+ * @property {module:model/Log}
+ */
+ Log,
+
+ /**
+ * The LogContentInner model constructor.
+ * @property {module:model/LogContentInner}
+ */
+ LogContentInner,
+
+ /**
+ * The LoggerIdFindAllPostRequest model constructor.
+ * @property {module:model/LoggerIdFindAllPostRequest}
+ */
+ LoggerIdFindAllPostRequest,
+
+ /**
+ * The Migration model constructor.
+ * @property {module:model/Migration}
+ */
+ Migration,
+
+ /**
+ * The Project model constructor.
+ * @property {module:model/Project}
+ */
+ Project,
+
+ /**
+ * The ProjectCreatePutRequest model constructor.
+ * @property {module:model/ProjectCreatePutRequest}
+ */
+ ProjectCreatePutRequest,
+
+ /**
+ * The ProjectSetting model constructor.
+ * @property {module:model/ProjectSetting}
+ */
+ ProjectSetting,
+
+ /**
+ * The ProjectSettingsCreatePutRequest model constructor.
+ * @property {module:model/ProjectSettingsCreatePutRequest}
+ */
+ ProjectSettingsCreatePutRequest,
+
+ /**
+ * The Query model constructor.
+ * @property {module:model/Query}
+ */
+ Query,
+
+ /**
+ * The QueryCreatePostRequest model constructor.
+ * @property {module:model/QueryCreatePostRequest}
+ */
+ QueryCreatePostRequest,
+
+ /**
+ * The QueryUpdateIdPostRequest model constructor.
+ * @property {module:model/QueryUpdateIdPostRequest}
+ */
+ QueryUpdateIdPostRequest,
+
+ /**
+ * The RedisNode model constructor.
+ * @property {module:model/RedisNode}
+ */
+ RedisNode,
+
+ /**
+ * The RedisNodeCreatePostRequest model constructor.
+ * @property {module:model/RedisNodeCreatePostRequest}
+ */
+ RedisNodeCreatePostRequest,
+
+ /**
+ * The Token model constructor.
+ * @property {module:model/Token}
+ */
+ Token,
+
+ /**
+ * The APITokensApi service constructor.
+ * @property {module:api/APITokensApi}
+ */
+ APITokensApi,
+
+ /**
+ * The CommandsApi service constructor.
+ * @property {module:api/CommandsApi}
+ */
+ CommandsApi,
+
+ /**
+ * The DatabaseManagementApi service constructor.
+ * @property {module:api/DatabaseManagementApi}
+ */
+ DatabaseManagementApi,
+
+ /**
+ * The FunctionsApi service constructor.
+ * @property {module:api/FunctionsApi}
+ */
+ FunctionsApi,
+
+ /**
+ * The LoggingApi service constructor.
+ * @property {module:api/LoggingApi}
+ */
+ LoggingApi,
+
+ /**
+ * The ProjectManagementApi service constructor.
+ * @property {module:api/ProjectManagementApi}
+ */
+ ProjectManagementApi,
+
+ /**
+ * The QueriesApi service constructor.
+ * @property {module:api/QueriesApi}
+ */
+ QueriesApi,
+
+ /**
+ * The RedisManagementApi service constructor.
+ * @property {module:api/RedisManagementApi}
+ */
+ RedisManagementApi
+};
diff --git a/out/js/src/model/ApiTokenGeneratePostRequest.js b/out/js/src/model/ApiTokenGeneratePostRequest.js
new file mode 100644
index 0000000..5fd6776
--- /dev/null
+++ b/out/js/src/model/ApiTokenGeneratePostRequest.js
@@ -0,0 +1,96 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ApiTokenGeneratePostRequest model module.
+ * @module model/ApiTokenGeneratePostRequest
+ * @version 1.0.0
+ */
+class ApiTokenGeneratePostRequest {
+ /**
+ * Constructs a new ApiTokenGeneratePostRequest.
+ * @alias module:model/ApiTokenGeneratePostRequest
+ * @param id {String} Project ID
+ */
+ constructor(id) {
+
+ ApiTokenGeneratePostRequest.initialize(this, id);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id) {
+ obj['id'] = id;
+ }
+
+ /**
+ * Constructs a ApiTokenGeneratePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ApiTokenGeneratePostRequest} obj Optional instance to populate.
+ * @return {module:model/ApiTokenGeneratePostRequest} The populated ApiTokenGeneratePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ApiTokenGeneratePostRequest();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ApiTokenGeneratePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ApiTokenGeneratePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of ApiTokenGeneratePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+
+ return true;
+ }
+
+
+}
+
+ApiTokenGeneratePostRequest.RequiredProperties = ["id"];
+
+/**
+ * Project ID
+ * @member {String} id
+ */
+ApiTokenGeneratePostRequest.prototype['id'] = undefined;
+
+
+
+
+
+
+export default ApiTokenGeneratePostRequest;
+
diff --git a/out/js/src/model/CommandCreatePostRequest.js b/out/js/src/model/CommandCreatePostRequest.js
new file mode 100644
index 0000000..05e17c3
--- /dev/null
+++ b/out/js/src/model/CommandCreatePostRequest.js
@@ -0,0 +1,96 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CommandCreatePostRequest model module.
+ * @module model/CommandCreatePostRequest
+ * @version 1.0.0
+ */
+class CommandCreatePostRequest {
+ /**
+ * Constructs a new CommandCreatePostRequest.
+ * @alias module:model/CommandCreatePostRequest
+ * @param source {String} Command source code
+ */
+ constructor(source) {
+
+ CommandCreatePostRequest.initialize(this, source);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, source) {
+ obj['source'] = source;
+ }
+
+ /**
+ * Constructs a CommandCreatePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CommandCreatePostRequest} obj Optional instance to populate.
+ * @return {module:model/CommandCreatePostRequest} The populated CommandCreatePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CommandCreatePostRequest();
+
+ if (data.hasOwnProperty('source')) {
+ obj['source'] = ApiClient.convertToType(data['source'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to CommandCreatePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to CommandCreatePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of CommandCreatePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
+ }
+
+ return true;
+ }
+
+
+}
+
+CommandCreatePostRequest.RequiredProperties = ["source"];
+
+/**
+ * Command source code
+ * @member {String} source
+ */
+CommandCreatePostRequest.prototype['source'] = undefined;
+
+
+
+
+
+
+export default CommandCreatePostRequest;
+
diff --git a/out/js/src/model/CommandUpdateIdPostRequest.js b/out/js/src/model/CommandUpdateIdPostRequest.js
new file mode 100644
index 0000000..b3b2b8d
--- /dev/null
+++ b/out/js/src/model/CommandUpdateIdPostRequest.js
@@ -0,0 +1,88 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CommandUpdateIdPostRequest model module.
+ * @module model/CommandUpdateIdPostRequest
+ * @version 1.0.0
+ */
+class CommandUpdateIdPostRequest {
+ /**
+ * Constructs a new CommandUpdateIdPostRequest.
+ * @alias module:model/CommandUpdateIdPostRequest
+ */
+ constructor() {
+
+ CommandUpdateIdPostRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CommandUpdateIdPostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CommandUpdateIdPostRequest} obj Optional instance to populate.
+ * @return {module:model/CommandUpdateIdPostRequest} The populated CommandUpdateIdPostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CommandUpdateIdPostRequest();
+
+ if (data.hasOwnProperty('source')) {
+ obj['source'] = ApiClient.convertToType(data['source'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to CommandUpdateIdPostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to CommandUpdateIdPostRequest.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Updated command source code
+ * @member {String} source
+ */
+CommandUpdateIdPostRequest.prototype['source'] = undefined;
+
+
+
+
+
+
+export default CommandUpdateIdPostRequest;
+
diff --git a/out/js/src/model/Database.js b/out/js/src/model/Database.js
new file mode 100644
index 0000000..056b561
--- /dev/null
+++ b/out/js/src/model/Database.js
@@ -0,0 +1,185 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DatabaseNode from './DatabaseNode';
+import Migration from './Migration';
+import Project from './Project';
+
+/**
+ * The Database model module.
+ * @module model/Database
+ * @version 1.0.0
+ */
+class Database {
+ /**
+ * Constructs a new Database.
+ * @alias module:model/Database
+ */
+ constructor() {
+
+ Database.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Database from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Database} obj Optional instance to populate.
+ * @return {module:model/Database} The populated Database instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Database();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('q_username')) {
+ obj['q_username'] = ApiClient.convertToType(data['q_username'], 'String');
+ }
+ if (data.hasOwnProperty('c_username')) {
+ obj['c_username'] = ApiClient.convertToType(data['c_username'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = ApiClient.convertToType(data['password'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = ApiClient.convertToType(data['database'], 'String');
+ }
+ if (data.hasOwnProperty('migrations')) {
+ obj['migrations'] = ApiClient.convertToType(data['migrations'], [Migration]);
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = Project.constructFromObject(data['project']);
+ }
+ if (data.hasOwnProperty('node')) {
+ obj['node'] = DatabaseNode.constructFromObject(data['node']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Database.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Database.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['q_username'] && !(typeof data['q_username'] === 'string' || data['q_username'] instanceof String)) {
+ throw new Error("Expected the field `q_username` to be a primitive type in the JSON string but got " + data['q_username']);
+ }
+ // ensure the json data is a string
+ if (data['c_username'] && !(typeof data['c_username'] === 'string' || data['c_username'] instanceof String)) {
+ throw new Error("Expected the field `c_username` to be a primitive type in the JSON string but got " + data['c_username']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ if (data['migrations']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['migrations'])) {
+ throw new Error("Expected the field `migrations` to be an array in the JSON data but got " + data['migrations']);
+ }
+ // validate the optional field `migrations` (array)
+ for (const item of data['migrations']) {
+ Migration.validateJSON(item);
+ };
+ }
+ // validate the optional field `project`
+ if (data['project']) { // data not null
+ Project.validateJSON(data['project']);
+ }
+ // validate the optional field `node`
+ if (data['node']) { // data not null
+ DatabaseNode.validateJSON(data['node']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique database identifier
+ * @member {String} id
+ */
+Database.prototype['id'] = undefined;
+
+/**
+ * Query username for database access
+ * @member {String} q_username
+ */
+Database.prototype['q_username'] = undefined;
+
+/**
+ * Command username for database access
+ * @member {String} c_username
+ */
+Database.prototype['c_username'] = undefined;
+
+/**
+ * Database password
+ * @member {String} password
+ */
+Database.prototype['password'] = undefined;
+
+/**
+ * Database name
+ * @member {String} database
+ */
+Database.prototype['database'] = undefined;
+
+/**
+ * @member {Array.} migrations
+ */
+Database.prototype['migrations'] = undefined;
+
+/**
+ * @member {module:model/Project} project
+ */
+Database.prototype['project'] = undefined;
+
+/**
+ * @member {module:model/DatabaseNode} node
+ */
+Database.prototype['node'] = undefined;
+
+
+
+
+
+
+export default Database;
+
diff --git a/out/js/src/model/DatabaseCreatePostRequest.js b/out/js/src/model/DatabaseCreatePostRequest.js
new file mode 100644
index 0000000..1c71fa4
--- /dev/null
+++ b/out/js/src/model/DatabaseCreatePostRequest.js
@@ -0,0 +1,96 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DatabaseCreatePostRequest model module.
+ * @module model/DatabaseCreatePostRequest
+ * @version 1.0.0
+ */
+class DatabaseCreatePostRequest {
+ /**
+ * Constructs a new DatabaseCreatePostRequest.
+ * @alias module:model/DatabaseCreatePostRequest
+ * @param projectId {String} Project ID
+ */
+ constructor(projectId) {
+
+ DatabaseCreatePostRequest.initialize(this, projectId);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, projectId) {
+ obj['projectId'] = projectId;
+ }
+
+ /**
+ * Constructs a DatabaseCreatePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatabaseCreatePostRequest} obj Optional instance to populate.
+ * @return {module:model/DatabaseCreatePostRequest} The populated DatabaseCreatePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatabaseCreatePostRequest();
+
+ if (data.hasOwnProperty('projectId')) {
+ obj['projectId'] = ApiClient.convertToType(data['projectId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatabaseCreatePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatabaseCreatePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of DatabaseCreatePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['projectId'] && !(typeof data['projectId'] === 'string' || data['projectId'] instanceof String)) {
+ throw new Error("Expected the field `projectId` to be a primitive type in the JSON string but got " + data['projectId']);
+ }
+
+ return true;
+ }
+
+
+}
+
+DatabaseCreatePostRequest.RequiredProperties = ["projectId"];
+
+/**
+ * Project ID
+ * @member {String} projectId
+ */
+DatabaseCreatePostRequest.prototype['projectId'] = undefined;
+
+
+
+
+
+
+export default DatabaseCreatePostRequest;
+
diff --git a/out/js/src/model/DatabaseMigrationCreatePostRequest.js b/out/js/src/model/DatabaseMigrationCreatePostRequest.js
new file mode 100644
index 0000000..0b57606
--- /dev/null
+++ b/out/js/src/model/DatabaseMigrationCreatePostRequest.js
@@ -0,0 +1,126 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DatabaseMigrationCreatePostRequest model module.
+ * @module model/DatabaseMigrationCreatePostRequest
+ * @version 1.0.0
+ */
+class DatabaseMigrationCreatePostRequest {
+ /**
+ * Constructs a new DatabaseMigrationCreatePostRequest.
+ * @alias module:model/DatabaseMigrationCreatePostRequest
+ * @param up {String} Migration up SQL
+ * @param down {String} Migration down SQL
+ * @param databaseId {String} Database ID
+ */
+ constructor(up, down, databaseId) {
+
+ DatabaseMigrationCreatePostRequest.initialize(this, up, down, databaseId);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, up, down, databaseId) {
+ obj['up'] = up;
+ obj['down'] = down;
+ obj['databaseId'] = databaseId;
+ }
+
+ /**
+ * Constructs a DatabaseMigrationCreatePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatabaseMigrationCreatePostRequest} obj Optional instance to populate.
+ * @return {module:model/DatabaseMigrationCreatePostRequest} The populated DatabaseMigrationCreatePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatabaseMigrationCreatePostRequest();
+
+ if (data.hasOwnProperty('up')) {
+ obj['up'] = ApiClient.convertToType(data['up'], 'String');
+ }
+ if (data.hasOwnProperty('down')) {
+ obj['down'] = ApiClient.convertToType(data['down'], 'String');
+ }
+ if (data.hasOwnProperty('databaseId')) {
+ obj['databaseId'] = ApiClient.convertToType(data['databaseId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatabaseMigrationCreatePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatabaseMigrationCreatePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of DatabaseMigrationCreatePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['up'] && !(typeof data['up'] === 'string' || data['up'] instanceof String)) {
+ throw new Error("Expected the field `up` to be a primitive type in the JSON string but got " + data['up']);
+ }
+ // ensure the json data is a string
+ if (data['down'] && !(typeof data['down'] === 'string' || data['down'] instanceof String)) {
+ throw new Error("Expected the field `down` to be a primitive type in the JSON string but got " + data['down']);
+ }
+ // ensure the json data is a string
+ if (data['databaseId'] && !(typeof data['databaseId'] === 'string' || data['databaseId'] instanceof String)) {
+ throw new Error("Expected the field `databaseId` to be a primitive type in the JSON string but got " + data['databaseId']);
+ }
+
+ return true;
+ }
+
+
+}
+
+DatabaseMigrationCreatePostRequest.RequiredProperties = ["up", "down", "databaseId"];
+
+/**
+ * Migration up SQL
+ * @member {String} up
+ */
+DatabaseMigrationCreatePostRequest.prototype['up'] = undefined;
+
+/**
+ * Migration down SQL
+ * @member {String} down
+ */
+DatabaseMigrationCreatePostRequest.prototype['down'] = undefined;
+
+/**
+ * Database ID
+ * @member {String} databaseId
+ */
+DatabaseMigrationCreatePostRequest.prototype['databaseId'] = undefined;
+
+
+
+
+
+
+export default DatabaseMigrationCreatePostRequest;
+
diff --git a/out/js/src/model/DatabaseNode.js b/out/js/src/model/DatabaseNode.js
new file mode 100644
index 0000000..5d9606c
--- /dev/null
+++ b/out/js/src/model/DatabaseNode.js
@@ -0,0 +1,155 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Database from './Database';
+
+/**
+ * The DatabaseNode model module.
+ * @module model/DatabaseNode
+ * @version 1.0.0
+ */
+class DatabaseNode {
+ /**
+ * Constructs a new DatabaseNode.
+ * @alias module:model/DatabaseNode
+ */
+ constructor() {
+
+ DatabaseNode.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DatabaseNode from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatabaseNode} obj Optional instance to populate.
+ * @return {module:model/DatabaseNode} The populated DatabaseNode instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatabaseNode();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = ApiClient.convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'Number');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = ApiClient.convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = ApiClient.convertToType(data['password'], 'String');
+ }
+ if (data.hasOwnProperty('databases')) {
+ obj['databases'] = ApiClient.convertToType(data['databases'], [Database]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatabaseNode.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatabaseNode.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ if (data['databases']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['databases'])) {
+ throw new Error("Expected the field `databases` to be an array in the JSON data but got " + data['databases']);
+ }
+ // validate the optional field `databases` (array)
+ for (const item of data['databases']) {
+ Database.validateJSON(item);
+ };
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique database node identifier
+ * @member {String} id
+ */
+DatabaseNode.prototype['id'] = undefined;
+
+/**
+ * Database host
+ * @member {String} host
+ */
+DatabaseNode.prototype['host'] = undefined;
+
+/**
+ * Database port
+ * @member {Number} port
+ */
+DatabaseNode.prototype['port'] = undefined;
+
+/**
+ * Database username
+ * @member {String} username
+ */
+DatabaseNode.prototype['username'] = undefined;
+
+/**
+ * Database password
+ * @member {String} password
+ */
+DatabaseNode.prototype['password'] = undefined;
+
+/**
+ * @member {Array.} databases
+ */
+DatabaseNode.prototype['databases'] = undefined;
+
+
+
+
+
+
+export default DatabaseNode;
+
diff --git a/out/js/src/model/DatabaseNodeCreatePostRequest.js b/out/js/src/model/DatabaseNodeCreatePostRequest.js
new file mode 100644
index 0000000..e2f1a54
--- /dev/null
+++ b/out/js/src/model/DatabaseNodeCreatePostRequest.js
@@ -0,0 +1,137 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DatabaseNodeCreatePostRequest model module.
+ * @module model/DatabaseNodeCreatePostRequest
+ * @version 1.0.0
+ */
+class DatabaseNodeCreatePostRequest {
+ /**
+ * Constructs a new DatabaseNodeCreatePostRequest.
+ * @alias module:model/DatabaseNodeCreatePostRequest
+ * @param host {String} Database host
+ * @param port {Number} Database port
+ * @param username {String} Database username
+ * @param password {String} Database password
+ */
+ constructor(host, port, username, password) {
+
+ DatabaseNodeCreatePostRequest.initialize(this, host, port, username, password);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, host, port, username, password) {
+ obj['host'] = host;
+ obj['port'] = port;
+ obj['username'] = username;
+ obj['password'] = password;
+ }
+
+ /**
+ * Constructs a DatabaseNodeCreatePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatabaseNodeCreatePostRequest} obj Optional instance to populate.
+ * @return {module:model/DatabaseNodeCreatePostRequest} The populated DatabaseNodeCreatePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatabaseNodeCreatePostRequest();
+
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = ApiClient.convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'Number');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = ApiClient.convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = ApiClient.convertToType(data['password'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatabaseNodeCreatePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatabaseNodeCreatePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of DatabaseNodeCreatePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+
+ return true;
+ }
+
+
+}
+
+DatabaseNodeCreatePostRequest.RequiredProperties = ["host", "port", "username", "password"];
+
+/**
+ * Database host
+ * @member {String} host
+ */
+DatabaseNodeCreatePostRequest.prototype['host'] = undefined;
+
+/**
+ * Database port
+ * @member {Number} port
+ */
+DatabaseNodeCreatePostRequest.prototype['port'] = undefined;
+
+/**
+ * Database username
+ * @member {String} username
+ */
+DatabaseNodeCreatePostRequest.prototype['username'] = undefined;
+
+/**
+ * Database password
+ * @member {String} password
+ */
+DatabaseNodeCreatePostRequest.prototype['password'] = undefined;
+
+
+
+
+
+
+export default DatabaseNodeCreatePostRequest;
+
diff --git a/out/js/src/model/DatabaseQueryDatabaseIdPostRequest.js b/out/js/src/model/DatabaseQueryDatabaseIdPostRequest.js
new file mode 100644
index 0000000..e560c30
--- /dev/null
+++ b/out/js/src/model/DatabaseQueryDatabaseIdPostRequest.js
@@ -0,0 +1,96 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DatabaseQueryDatabaseIdPostRequest model module.
+ * @module model/DatabaseQueryDatabaseIdPostRequest
+ * @version 1.0.0
+ */
+class DatabaseQueryDatabaseIdPostRequest {
+ /**
+ * Constructs a new DatabaseQueryDatabaseIdPostRequest.
+ * @alias module:model/DatabaseQueryDatabaseIdPostRequest
+ * @param query {String} SQL query to execute
+ */
+ constructor(query) {
+
+ DatabaseQueryDatabaseIdPostRequest.initialize(this, query);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, query) {
+ obj['query'] = query;
+ }
+
+ /**
+ * Constructs a DatabaseQueryDatabaseIdPostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatabaseQueryDatabaseIdPostRequest} obj Optional instance to populate.
+ * @return {module:model/DatabaseQueryDatabaseIdPostRequest} The populated DatabaseQueryDatabaseIdPostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatabaseQueryDatabaseIdPostRequest();
+
+ if (data.hasOwnProperty('query')) {
+ obj['query'] = ApiClient.convertToType(data['query'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatabaseQueryDatabaseIdPostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatabaseQueryDatabaseIdPostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of DatabaseQueryDatabaseIdPostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['query'] && !(typeof data['query'] === 'string' || data['query'] instanceof String)) {
+ throw new Error("Expected the field `query` to be a primitive type in the JSON string but got " + data['query']);
+ }
+
+ return true;
+ }
+
+
+}
+
+DatabaseQueryDatabaseIdPostRequest.RequiredProperties = ["query"];
+
+/**
+ * SQL query to execute
+ * @member {String} query
+ */
+DatabaseQueryDatabaseIdPostRequest.prototype['query'] = undefined;
+
+
+
+
+
+
+export default DatabaseQueryDatabaseIdPostRequest;
+
diff --git a/out/js/src/model/Error.js b/out/js/src/model/Error.js
new file mode 100644
index 0000000..efb6f84
--- /dev/null
+++ b/out/js/src/model/Error.js
@@ -0,0 +1,101 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The Error model module.
+ * @module model/Error
+ * @version 1.0.0
+ */
+class Error {
+ /**
+ * Constructs a new Error.
+ * @alias module:model/Error
+ */
+ constructor() {
+
+ Error.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Error from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Error} obj Optional instance to populate.
+ * @return {module:model/Error} The populated Error instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Error();
+
+ if (data.hasOwnProperty('error')) {
+ obj['error'] = ApiClient.convertToType(data['error'], 'String');
+ }
+ if (data.hasOwnProperty('details')) {
+ obj['details'] = ApiClient.convertToType(data['details'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Error.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Error.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['error'] && !(typeof data['error'] === 'string' || data['error'] instanceof String)) {
+ throw new Error("Expected the field `error` to be a primitive type in the JSON string but got " + data['error']);
+ }
+ // ensure the json data is a string
+ if (data['details'] && !(typeof data['details'] === 'string' || data['details'] instanceof String)) {
+ throw new Error("Expected the field `details` to be a primitive type in the JSON string but got " + data['details']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Error message
+ * @member {String} error
+ */
+Error.prototype['error'] = undefined;
+
+/**
+ * Error details
+ * @member {String} details
+ */
+Error.prototype['details'] = undefined;
+
+
+
+
+
+
+export default Error;
+
diff --git a/out/js/src/model/Function.js b/out/js/src/model/Function.js
new file mode 100644
index 0000000..042c789
--- /dev/null
+++ b/out/js/src/model/Function.js
@@ -0,0 +1,127 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Project from './Project';
+
+/**
+ * The Function model module.
+ * @module model/Function
+ * @version 1.0.0
+ */
+class Function {
+ /**
+ * Constructs a new Function.
+ * @alias module:model/Function
+ */
+ constructor() {
+
+ Function.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Function from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Function} obj Optional instance to populate.
+ * @return {module:model/Function} The populated Function instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Function();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('source')) {
+ obj['source'] = ApiClient.convertToType(data['source'], 'String');
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = Project.constructFromObject(data['project']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Function.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Function.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ // ensure the json data is a string
+ if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
+ }
+ // validate the optional field `project`
+ if (data['project']) { // data not null
+ Project.validateJSON(data['project']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique function identifier
+ * @member {String} id
+ */
+Function.prototype['id'] = undefined;
+
+/**
+ * Function name
+ * @member {String} name
+ */
+Function.prototype['name'] = undefined;
+
+/**
+ * Function source code
+ * @member {String} source
+ */
+Function.prototype['source'] = undefined;
+
+/**
+ * @member {module:model/Project} project
+ */
+Function.prototype['project'] = undefined;
+
+
+
+
+
+
+export default Function;
+
diff --git a/out/js/src/model/FunctionsCreatePostRequest.js b/out/js/src/model/FunctionsCreatePostRequest.js
new file mode 100644
index 0000000..72e8952
--- /dev/null
+++ b/out/js/src/model/FunctionsCreatePostRequest.js
@@ -0,0 +1,111 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FunctionsCreatePostRequest model module.
+ * @module model/FunctionsCreatePostRequest
+ * @version 1.0.0
+ */
+class FunctionsCreatePostRequest {
+ /**
+ * Constructs a new FunctionsCreatePostRequest.
+ * @alias module:model/FunctionsCreatePostRequest
+ * @param name {String} Function name
+ * @param source {String} Function source code
+ */
+ constructor(name, source) {
+
+ FunctionsCreatePostRequest.initialize(this, name, source);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, name, source) {
+ obj['name'] = name;
+ obj['source'] = source;
+ }
+
+ /**
+ * Constructs a FunctionsCreatePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FunctionsCreatePostRequest} obj Optional instance to populate.
+ * @return {module:model/FunctionsCreatePostRequest} The populated FunctionsCreatePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FunctionsCreatePostRequest();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('source')) {
+ obj['source'] = ApiClient.convertToType(data['source'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to FunctionsCreatePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to FunctionsCreatePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of FunctionsCreatePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ // ensure the json data is a string
+ if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
+ }
+
+ return true;
+ }
+
+
+}
+
+FunctionsCreatePostRequest.RequiredProperties = ["name", "source"];
+
+/**
+ * Function name
+ * @member {String} name
+ */
+FunctionsCreatePostRequest.prototype['name'] = undefined;
+
+/**
+ * Function source code
+ * @member {String} source
+ */
+FunctionsCreatePostRequest.prototype['source'] = undefined;
+
+
+
+
+
+
+export default FunctionsCreatePostRequest;
+
diff --git a/out/js/src/model/FunctionsDeletePostRequest.js b/out/js/src/model/FunctionsDeletePostRequest.js
new file mode 100644
index 0000000..caec51a
--- /dev/null
+++ b/out/js/src/model/FunctionsDeletePostRequest.js
@@ -0,0 +1,96 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FunctionsDeletePostRequest model module.
+ * @module model/FunctionsDeletePostRequest
+ * @version 1.0.0
+ */
+class FunctionsDeletePostRequest {
+ /**
+ * Constructs a new FunctionsDeletePostRequest.
+ * @alias module:model/FunctionsDeletePostRequest
+ * @param name {String} Function name to delete
+ */
+ constructor(name) {
+
+ FunctionsDeletePostRequest.initialize(this, name);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, name) {
+ obj['name'] = name;
+ }
+
+ /**
+ * Constructs a FunctionsDeletePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FunctionsDeletePostRequest} obj Optional instance to populate.
+ * @return {module:model/FunctionsDeletePostRequest} The populated FunctionsDeletePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FunctionsDeletePostRequest();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to FunctionsDeletePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to FunctionsDeletePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of FunctionsDeletePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+
+ return true;
+ }
+
+
+}
+
+FunctionsDeletePostRequest.RequiredProperties = ["name"];
+
+/**
+ * Function name to delete
+ * @member {String} name
+ */
+FunctionsDeletePostRequest.prototype['name'] = undefined;
+
+
+
+
+
+
+export default FunctionsDeletePostRequest;
+
diff --git a/out/js/src/model/Log.js b/out/js/src/model/Log.js
new file mode 100644
index 0000000..86a77f0
--- /dev/null
+++ b/out/js/src/model/Log.js
@@ -0,0 +1,217 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import LogContentInner from './LogContentInner';
+import Project from './Project';
+import Query from './Query';
+
+/**
+ * The Log model module.
+ * @module model/Log
+ * @version 1.0.0
+ */
+class Log {
+ /**
+ * Constructs a new Log.
+ * @alias module:model/Log
+ */
+ constructor() {
+
+ Log.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Log from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Log} obj Optional instance to populate.
+ * @return {module:model/Log} The populated Log instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Log();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('traceId')) {
+ obj['traceId'] = ApiClient.convertToType(data['traceId'], 'String');
+ }
+ if (data.hasOwnProperty('startTime')) {
+ obj['startTime'] = ApiClient.convertToType(data['startTime'], 'Number');
+ }
+ if (data.hasOwnProperty('endTime')) {
+ obj['endTime'] = ApiClient.convertToType(data['endTime'], 'Number');
+ }
+ if (data.hasOwnProperty('payload')) {
+ obj['payload'] = ApiClient.convertToType(data['payload'], Object);
+ }
+ if (data.hasOwnProperty('headers')) {
+ obj['headers'] = ApiClient.convertToType(data['headers'], Object);
+ }
+ if (data.hasOwnProperty('cookies')) {
+ obj['cookies'] = ApiClient.convertToType(data['cookies'], 'String');
+ }
+ if (data.hasOwnProperty('url')) {
+ obj['url'] = ApiClient.convertToType(data['url'], 'String');
+ }
+ if (data.hasOwnProperty('response')) {
+ obj['response'] = ApiClient.convertToType(data['response'], Object);
+ }
+ if (data.hasOwnProperty('content')) {
+ obj['content'] = ApiClient.convertToType(data['content'], [LogContentInner]);
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = Project.constructFromObject(data['project']);
+ }
+ if (data.hasOwnProperty('query')) {
+ obj['query'] = Query.constructFromObject(data['query']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Log.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Log.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['traceId'] && !(typeof data['traceId'] === 'string' || data['traceId'] instanceof String)) {
+ throw new Error("Expected the field `traceId` to be a primitive type in the JSON string but got " + data['traceId']);
+ }
+ // ensure the json data is a string
+ if (data['cookies'] && !(typeof data['cookies'] === 'string' || data['cookies'] instanceof String)) {
+ throw new Error("Expected the field `cookies` to be a primitive type in the JSON string but got " + data['cookies']);
+ }
+ // ensure the json data is a string
+ if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
+ }
+ if (data['content']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['content'])) {
+ throw new Error("Expected the field `content` to be an array in the JSON data but got " + data['content']);
+ }
+ // validate the optional field `content` (array)
+ for (const item of data['content']) {
+ LogContentInner.validateJSON(item);
+ };
+ }
+ // validate the optional field `project`
+ if (data['project']) { // data not null
+ Project.validateJSON(data['project']);
+ }
+ // validate the optional field `query`
+ if (data['query']) { // data not null
+ Query.validateJSON(data['query']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique log identifier
+ * @member {String} id
+ */
+Log.prototype['id'] = undefined;
+
+/**
+ * Trace ID for tracking requests
+ * @member {String} traceId
+ */
+Log.prototype['traceId'] = undefined;
+
+/**
+ * Request start timestamp
+ * @member {Number} startTime
+ */
+Log.prototype['startTime'] = undefined;
+
+/**
+ * Request end timestamp
+ * @member {Number} endTime
+ */
+Log.prototype['endTime'] = undefined;
+
+/**
+ * Request payload
+ * @member {Object} payload
+ */
+Log.prototype['payload'] = undefined;
+
+/**
+ * Request headers
+ * @member {Object} headers
+ */
+Log.prototype['headers'] = undefined;
+
+/**
+ * Request cookies
+ * @member {String} cookies
+ */
+Log.prototype['cookies'] = undefined;
+
+/**
+ * Request URL
+ * @member {String} url
+ */
+Log.prototype['url'] = undefined;
+
+/**
+ * Response data
+ * @member {Object} response
+ */
+Log.prototype['response'] = undefined;
+
+/**
+ * @member {Array.} content
+ */
+Log.prototype['content'] = undefined;
+
+/**
+ * @member {module:model/Project} project
+ */
+Log.prototype['project'] = undefined;
+
+/**
+ * @member {module:model/Query} query
+ */
+Log.prototype['query'] = undefined;
+
+
+
+
+
+
+export default Log;
+
diff --git a/out/js/src/model/LogContentInner.js b/out/js/src/model/LogContentInner.js
new file mode 100644
index 0000000..f00aeda
--- /dev/null
+++ b/out/js/src/model/LogContentInner.js
@@ -0,0 +1,110 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LogContentInner model module.
+ * @module model/LogContentInner
+ * @version 1.0.0
+ */
+class LogContentInner {
+ /**
+ * Constructs a new LogContentInner.
+ * @alias module:model/LogContentInner
+ */
+ constructor() {
+
+ LogContentInner.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LogContentInner from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LogContentInner} obj Optional instance to populate.
+ * @return {module:model/LogContentInner} The populated LogContentInner instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LogContentInner();
+
+ if (data.hasOwnProperty('content')) {
+ obj['content'] = ApiClient.convertToType(data['content'], 'String');
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = ApiClient.convertToType(data['type'], 'String');
+ }
+ if (data.hasOwnProperty('timeStamp')) {
+ obj['timeStamp'] = ApiClient.convertToType(data['timeStamp'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to LogContentInner.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to LogContentInner.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['content'] && !(typeof data['content'] === 'string' || data['content'] instanceof String)) {
+ throw new Error("Expected the field `content` to be a primitive type in the JSON string but got " + data['content']);
+ }
+ // ensure the json data is a string
+ if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
+ throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Log content
+ * @member {String} content
+ */
+LogContentInner.prototype['content'] = undefined;
+
+/**
+ * Log type (info, error, warning)
+ * @member {String} type
+ */
+LogContentInner.prototype['type'] = undefined;
+
+/**
+ * Log entry timestamp
+ * @member {Number} timeStamp
+ */
+LogContentInner.prototype['timeStamp'] = undefined;
+
+
+
+
+
+
+export default LogContentInner;
+
diff --git a/out/js/src/model/LoggerIdFindAllPostRequest.js b/out/js/src/model/LoggerIdFindAllPostRequest.js
new file mode 100644
index 0000000..bddfac7
--- /dev/null
+++ b/out/js/src/model/LoggerIdFindAllPostRequest.js
@@ -0,0 +1,147 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggerIdFindAllPostRequest model module.
+ * @module model/LoggerIdFindAllPostRequest
+ * @version 1.0.0
+ */
+class LoggerIdFindAllPostRequest {
+ /**
+ * Constructs a new LoggerIdFindAllPostRequest.
+ * @alias module:model/LoggerIdFindAllPostRequest
+ * @param limit {Number} Number of results to return
+ * @param offset {Number} Number of results to skip
+ */
+ constructor(limit, offset) {
+
+ LoggerIdFindAllPostRequest.initialize(this, limit, offset);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, limit, offset) {
+ obj['limit'] = limit;
+ obj['offset'] = offset;
+ }
+
+ /**
+ * Constructs a LoggerIdFindAllPostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggerIdFindAllPostRequest} obj Optional instance to populate.
+ * @return {module:model/LoggerIdFindAllPostRequest} The populated LoggerIdFindAllPostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggerIdFindAllPostRequest();
+
+ if (data.hasOwnProperty('traceId')) {
+ obj['traceId'] = ApiClient.convertToType(data['traceId'], 'String');
+ }
+ if (data.hasOwnProperty('fromDate')) {
+ obj['fromDate'] = ApiClient.convertToType(data['fromDate'], 'Date');
+ }
+ if (data.hasOwnProperty('toDate')) {
+ obj['toDate'] = ApiClient.convertToType(data['toDate'], 'Date');
+ }
+ if (data.hasOwnProperty('url')) {
+ obj['url'] = ApiClient.convertToType(data['url'], 'String');
+ }
+ if (data.hasOwnProperty('limit')) {
+ obj['limit'] = ApiClient.convertToType(data['limit'], 'Number');
+ }
+ if (data.hasOwnProperty('offset')) {
+ obj['offset'] = ApiClient.convertToType(data['offset'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to LoggerIdFindAllPostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to LoggerIdFindAllPostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of LoggerIdFindAllPostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['traceId'] && !(typeof data['traceId'] === 'string' || data['traceId'] instanceof String)) {
+ throw new Error("Expected the field `traceId` to be a primitive type in the JSON string but got " + data['traceId']);
+ }
+ // ensure the json data is a string
+ if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
+ }
+
+ return true;
+ }
+
+
+}
+
+LoggerIdFindAllPostRequest.RequiredProperties = ["limit", "offset"];
+
+/**
+ * Filter by trace ID
+ * @member {String} traceId
+ */
+LoggerIdFindAllPostRequest.prototype['traceId'] = undefined;
+
+/**
+ * Filter from date
+ * @member {Date} fromDate
+ */
+LoggerIdFindAllPostRequest.prototype['fromDate'] = undefined;
+
+/**
+ * Filter to date
+ * @member {Date} toDate
+ */
+LoggerIdFindAllPostRequest.prototype['toDate'] = undefined;
+
+/**
+ * Filter by URL
+ * @member {String} url
+ */
+LoggerIdFindAllPostRequest.prototype['url'] = undefined;
+
+/**
+ * Number of results to return
+ * @member {Number} limit
+ */
+LoggerIdFindAllPostRequest.prototype['limit'] = undefined;
+
+/**
+ * Number of results to skip
+ * @member {Number} offset
+ */
+LoggerIdFindAllPostRequest.prototype['offset'] = undefined;
+
+
+
+
+
+
+export default LoggerIdFindAllPostRequest;
+
diff --git a/out/js/src/model/Migration.js b/out/js/src/model/Migration.js
new file mode 100644
index 0000000..a885c41
--- /dev/null
+++ b/out/js/src/model/Migration.js
@@ -0,0 +1,127 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Database from './Database';
+
+/**
+ * The Migration model module.
+ * @module model/Migration
+ * @version 1.0.0
+ */
+class Migration {
+ /**
+ * Constructs a new Migration.
+ * @alias module:model/Migration
+ */
+ constructor() {
+
+ Migration.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Migration from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Migration} obj Optional instance to populate.
+ * @return {module:model/Migration} The populated Migration instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Migration();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('up')) {
+ obj['up'] = ApiClient.convertToType(data['up'], 'String');
+ }
+ if (data.hasOwnProperty('down')) {
+ obj['down'] = ApiClient.convertToType(data['down'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = Database.constructFromObject(data['database']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Migration.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Migration.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['up'] && !(typeof data['up'] === 'string' || data['up'] instanceof String)) {
+ throw new Error("Expected the field `up` to be a primitive type in the JSON string but got " + data['up']);
+ }
+ // ensure the json data is a string
+ if (data['down'] && !(typeof data['down'] === 'string' || data['down'] instanceof String)) {
+ throw new Error("Expected the field `down` to be a primitive type in the JSON string but got " + data['down']);
+ }
+ // validate the optional field `database`
+ if (data['database']) { // data not null
+ Database.validateJSON(data['database']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique migration identifier
+ * @member {String} id
+ */
+Migration.prototype['id'] = undefined;
+
+/**
+ * Migration up SQL
+ * @member {String} up
+ */
+Migration.prototype['up'] = undefined;
+
+/**
+ * Migration down SQL
+ * @member {String} down
+ */
+Migration.prototype['down'] = undefined;
+
+/**
+ * @member {module:model/Database} database
+ */
+Migration.prototype['database'] = undefined;
+
+
+
+
+
+
+export default Migration;
+
diff --git a/out/js/src/model/Project.js b/out/js/src/model/Project.js
new file mode 100644
index 0000000..4d7b533
--- /dev/null
+++ b/out/js/src/model/Project.js
@@ -0,0 +1,190 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Database from './Database';
+import Function from './Function';
+import ProjectSetting from './ProjectSetting';
+import Query from './Query';
+import Token from './Token';
+
+/**
+ * The Project model module.
+ * @module model/Project
+ * @version 1.0.0
+ */
+class Project {
+ /**
+ * Constructs a new Project.
+ * @alias module:model/Project
+ */
+ constructor() {
+
+ Project.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Project from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Project} obj Optional instance to populate.
+ * @return {module:model/Project} The populated Project instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Project();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('apiTokens')) {
+ obj['apiTokens'] = ApiClient.convertToType(data['apiTokens'], [Token]);
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = Database.constructFromObject(data['database']);
+ }
+ if (data.hasOwnProperty('queries')) {
+ obj['queries'] = ApiClient.convertToType(data['queries'], [Query]);
+ }
+ if (data.hasOwnProperty('functions')) {
+ obj['functions'] = ApiClient.convertToType(data['functions'], [Function]);
+ }
+ if (data.hasOwnProperty('settings')) {
+ obj['settings'] = ApiClient.convertToType(data['settings'], [ProjectSetting]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Project.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Project.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ if (data['apiTokens']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['apiTokens'])) {
+ throw new Error("Expected the field `apiTokens` to be an array in the JSON data but got " + data['apiTokens']);
+ }
+ // validate the optional field `apiTokens` (array)
+ for (const item of data['apiTokens']) {
+ Token.validateJSON(item);
+ };
+ }
+ // validate the optional field `database`
+ if (data['database']) { // data not null
+ Database.validateJSON(data['database']);
+ }
+ if (data['queries']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['queries'])) {
+ throw new Error("Expected the field `queries` to be an array in the JSON data but got " + data['queries']);
+ }
+ // validate the optional field `queries` (array)
+ for (const item of data['queries']) {
+ Query.validateJSON(item);
+ };
+ }
+ if (data['functions']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['functions'])) {
+ throw new Error("Expected the field `functions` to be an array in the JSON data but got " + data['functions']);
+ }
+ // validate the optional field `functions` (array)
+ for (const item of data['functions']) {
+ Function.validateJSON(item);
+ };
+ }
+ if (data['settings']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['settings'])) {
+ throw new Error("Expected the field `settings` to be an array in the JSON data but got " + data['settings']);
+ }
+ // validate the optional field `settings` (array)
+ for (const item of data['settings']) {
+ ProjectSetting.validateJSON(item);
+ };
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique project identifier
+ * @member {String} id
+ */
+Project.prototype['id'] = undefined;
+
+/**
+ * Project name
+ * @member {String} name
+ */
+Project.prototype['name'] = undefined;
+
+/**
+ * @member {Array.} apiTokens
+ */
+Project.prototype['apiTokens'] = undefined;
+
+/**
+ * @member {module:model/Database} database
+ */
+Project.prototype['database'] = undefined;
+
+/**
+ * @member {Array.} queries
+ */
+Project.prototype['queries'] = undefined;
+
+/**
+ * @member {Array.} functions
+ */
+Project.prototype['functions'] = undefined;
+
+/**
+ * @member {Array.} settings
+ */
+Project.prototype['settings'] = undefined;
+
+
+
+
+
+
+export default Project;
+
diff --git a/out/js/src/model/ProjectCreatePutRequest.js b/out/js/src/model/ProjectCreatePutRequest.js
new file mode 100644
index 0000000..7c8b908
--- /dev/null
+++ b/out/js/src/model/ProjectCreatePutRequest.js
@@ -0,0 +1,96 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ProjectCreatePutRequest model module.
+ * @module model/ProjectCreatePutRequest
+ * @version 1.0.0
+ */
+class ProjectCreatePutRequest {
+ /**
+ * Constructs a new ProjectCreatePutRequest.
+ * @alias module:model/ProjectCreatePutRequest
+ * @param name {String} Project name
+ */
+ constructor(name) {
+
+ ProjectCreatePutRequest.initialize(this, name);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, name) {
+ obj['name'] = name;
+ }
+
+ /**
+ * Constructs a ProjectCreatePutRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectCreatePutRequest} obj Optional instance to populate.
+ * @return {module:model/ProjectCreatePutRequest} The populated ProjectCreatePutRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectCreatePutRequest();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectCreatePutRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectCreatePutRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of ProjectCreatePutRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+
+ return true;
+ }
+
+
+}
+
+ProjectCreatePutRequest.RequiredProperties = ["name"];
+
+/**
+ * Project name
+ * @member {String} name
+ */
+ProjectCreatePutRequest.prototype['name'] = undefined;
+
+
+
+
+
+
+export default ProjectCreatePutRequest;
+
diff --git a/out/js/src/model/ProjectSetting.js b/out/js/src/model/ProjectSetting.js
new file mode 100644
index 0000000..53f6aeb
--- /dev/null
+++ b/out/js/src/model/ProjectSetting.js
@@ -0,0 +1,127 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Project from './Project';
+
+/**
+ * The ProjectSetting model module.
+ * @module model/ProjectSetting
+ * @version 1.0.0
+ */
+class ProjectSetting {
+ /**
+ * Constructs a new ProjectSetting.
+ * @alias module:model/ProjectSetting
+ */
+ constructor() {
+
+ ProjectSetting.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ProjectSetting from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectSetting} obj Optional instance to populate.
+ * @return {module:model/ProjectSetting} The populated ProjectSetting instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectSetting();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('key')) {
+ obj['key'] = ApiClient.convertToType(data['key'], 'String');
+ }
+ if (data.hasOwnProperty('value')) {
+ obj['value'] = ApiClient.convertToType(data['value'], 'String');
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = Project.constructFromObject(data['project']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectSetting.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectSetting.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
+ throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
+ }
+ // ensure the json data is a string
+ if (data['value'] && !(typeof data['value'] === 'string' || data['value'] instanceof String)) {
+ throw new Error("Expected the field `value` to be a primitive type in the JSON string but got " + data['value']);
+ }
+ // validate the optional field `project`
+ if (data['project']) { // data not null
+ Project.validateJSON(data['project']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique setting identifier
+ * @member {String} id
+ */
+ProjectSetting.prototype['id'] = undefined;
+
+/**
+ * Setting key
+ * @member {String} key
+ */
+ProjectSetting.prototype['key'] = undefined;
+
+/**
+ * Setting value
+ * @member {String} value
+ */
+ProjectSetting.prototype['value'] = undefined;
+
+/**
+ * @member {module:model/Project} project
+ */
+ProjectSetting.prototype['project'] = undefined;
+
+
+
+
+
+
+export default ProjectSetting;
+
diff --git a/out/js/src/model/ProjectSettingsCreatePutRequest.js b/out/js/src/model/ProjectSettingsCreatePutRequest.js
new file mode 100644
index 0000000..36f8ef0
--- /dev/null
+++ b/out/js/src/model/ProjectSettingsCreatePutRequest.js
@@ -0,0 +1,111 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ProjectSettingsCreatePutRequest model module.
+ * @module model/ProjectSettingsCreatePutRequest
+ * @version 1.0.0
+ */
+class ProjectSettingsCreatePutRequest {
+ /**
+ * Constructs a new ProjectSettingsCreatePutRequest.
+ * @alias module:model/ProjectSettingsCreatePutRequest
+ * @param key {String} Setting key
+ * @param value {String} Setting value
+ */
+ constructor(key, value) {
+
+ ProjectSettingsCreatePutRequest.initialize(this, key, value);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, key, value) {
+ obj['key'] = key;
+ obj['value'] = value;
+ }
+
+ /**
+ * Constructs a ProjectSettingsCreatePutRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectSettingsCreatePutRequest} obj Optional instance to populate.
+ * @return {module:model/ProjectSettingsCreatePutRequest} The populated ProjectSettingsCreatePutRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectSettingsCreatePutRequest();
+
+ if (data.hasOwnProperty('key')) {
+ obj['key'] = ApiClient.convertToType(data['key'], 'String');
+ }
+ if (data.hasOwnProperty('value')) {
+ obj['value'] = ApiClient.convertToType(data['value'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectSettingsCreatePutRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectSettingsCreatePutRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of ProjectSettingsCreatePutRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
+ throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
+ }
+ // ensure the json data is a string
+ if (data['value'] && !(typeof data['value'] === 'string' || data['value'] instanceof String)) {
+ throw new Error("Expected the field `value` to be a primitive type in the JSON string but got " + data['value']);
+ }
+
+ return true;
+ }
+
+
+}
+
+ProjectSettingsCreatePutRequest.RequiredProperties = ["key", "value"];
+
+/**
+ * Setting key
+ * @member {String} key
+ */
+ProjectSettingsCreatePutRequest.prototype['key'] = undefined;
+
+/**
+ * Setting value
+ * @member {String} value
+ */
+ProjectSettingsCreatePutRequest.prototype['value'] = undefined;
+
+
+
+
+
+
+export default ProjectSettingsCreatePutRequest;
+
diff --git a/out/js/src/model/Query.js b/out/js/src/model/Query.js
new file mode 100644
index 0000000..5221972
--- /dev/null
+++ b/out/js/src/model/Query.js
@@ -0,0 +1,151 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Log from './Log';
+import Project from './Project';
+
+/**
+ * The Query model module.
+ * @module model/Query
+ * @version 1.0.0
+ */
+class Query {
+ /**
+ * Constructs a new Query.
+ * @alias module:model/Query
+ */
+ constructor() {
+
+ Query.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Query from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Query} obj Optional instance to populate.
+ * @return {module:model/Query} The populated Query instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Query();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('source')) {
+ obj['source'] = ApiClient.convertToType(data['source'], 'String');
+ }
+ if (data.hasOwnProperty('isActive')) {
+ obj['isActive'] = ApiClient.convertToType(data['isActive'], 'Number');
+ }
+ if (data.hasOwnProperty('isCommand')) {
+ obj['isCommand'] = ApiClient.convertToType(data['isCommand'], 'Number');
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = Project.constructFromObject(data['project']);
+ }
+ if (data.hasOwnProperty('logs')) {
+ obj['logs'] = ApiClient.convertToType(data['logs'], [Log]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Query.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Query.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
+ }
+ // validate the optional field `project`
+ if (data['project']) { // data not null
+ Project.validateJSON(data['project']);
+ }
+ if (data['logs']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['logs'])) {
+ throw new Error("Expected the field `logs` to be an array in the JSON data but got " + data['logs']);
+ }
+ // validate the optional field `logs` (array)
+ for (const item of data['logs']) {
+ Log.validateJSON(item);
+ };
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique query identifier
+ * @member {String} id
+ */
+Query.prototype['id'] = undefined;
+
+/**
+ * Query source code
+ * @member {String} source
+ */
+Query.prototype['source'] = undefined;
+
+/**
+ * Whether the query is active (1 = active, 0 = inactive)
+ * @member {Number} isActive
+ */
+Query.prototype['isActive'] = undefined;
+
+/**
+ * Whether this is a command (1 = command, 0 = query)
+ * @member {Number} isCommand
+ */
+Query.prototype['isCommand'] = undefined;
+
+/**
+ * @member {module:model/Project} project
+ */
+Query.prototype['project'] = undefined;
+
+/**
+ * @member {Array.} logs
+ */
+Query.prototype['logs'] = undefined;
+
+
+
+
+
+
+export default Query;
+
diff --git a/out/js/src/model/QueryCreatePostRequest.js b/out/js/src/model/QueryCreatePostRequest.js
new file mode 100644
index 0000000..f85db2c
--- /dev/null
+++ b/out/js/src/model/QueryCreatePostRequest.js
@@ -0,0 +1,96 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The QueryCreatePostRequest model module.
+ * @module model/QueryCreatePostRequest
+ * @version 1.0.0
+ */
+class QueryCreatePostRequest {
+ /**
+ * Constructs a new QueryCreatePostRequest.
+ * @alias module:model/QueryCreatePostRequest
+ * @param source {String} Query source code
+ */
+ constructor(source) {
+
+ QueryCreatePostRequest.initialize(this, source);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, source) {
+ obj['source'] = source;
+ }
+
+ /**
+ * Constructs a QueryCreatePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/QueryCreatePostRequest} obj Optional instance to populate.
+ * @return {module:model/QueryCreatePostRequest} The populated QueryCreatePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new QueryCreatePostRequest();
+
+ if (data.hasOwnProperty('source')) {
+ obj['source'] = ApiClient.convertToType(data['source'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to QueryCreatePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to QueryCreatePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of QueryCreatePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
+ }
+
+ return true;
+ }
+
+
+}
+
+QueryCreatePostRequest.RequiredProperties = ["source"];
+
+/**
+ * Query source code
+ * @member {String} source
+ */
+QueryCreatePostRequest.prototype['source'] = undefined;
+
+
+
+
+
+
+export default QueryCreatePostRequest;
+
diff --git a/out/js/src/model/QueryUpdateIdPostRequest.js b/out/js/src/model/QueryUpdateIdPostRequest.js
new file mode 100644
index 0000000..48b6c37
--- /dev/null
+++ b/out/js/src/model/QueryUpdateIdPostRequest.js
@@ -0,0 +1,88 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The QueryUpdateIdPostRequest model module.
+ * @module model/QueryUpdateIdPostRequest
+ * @version 1.0.0
+ */
+class QueryUpdateIdPostRequest {
+ /**
+ * Constructs a new QueryUpdateIdPostRequest.
+ * @alias module:model/QueryUpdateIdPostRequest
+ */
+ constructor() {
+
+ QueryUpdateIdPostRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a QueryUpdateIdPostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/QueryUpdateIdPostRequest} obj Optional instance to populate.
+ * @return {module:model/QueryUpdateIdPostRequest} The populated QueryUpdateIdPostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new QueryUpdateIdPostRequest();
+
+ if (data.hasOwnProperty('source')) {
+ obj['source'] = ApiClient.convertToType(data['source'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to QueryUpdateIdPostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to QueryUpdateIdPostRequest.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Updated query source code
+ * @member {String} source
+ */
+QueryUpdateIdPostRequest.prototype['source'] = undefined;
+
+
+
+
+
+
+export default QueryUpdateIdPostRequest;
+
diff --git a/out/js/src/model/RedisNode.js b/out/js/src/model/RedisNode.js
new file mode 100644
index 0000000..a931b24
--- /dev/null
+++ b/out/js/src/model/RedisNode.js
@@ -0,0 +1,155 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Project from './Project';
+
+/**
+ * The RedisNode model module.
+ * @module model/RedisNode
+ * @version 1.0.0
+ */
+class RedisNode {
+ /**
+ * Constructs a new RedisNode.
+ * @alias module:model/RedisNode
+ */
+ constructor() {
+
+ RedisNode.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a RedisNode from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RedisNode} obj Optional instance to populate.
+ * @return {module:model/RedisNode} The populated RedisNode instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RedisNode();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = ApiClient.convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'Number');
+ }
+ if (data.hasOwnProperty('user')) {
+ obj['user'] = ApiClient.convertToType(data['user'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = ApiClient.convertToType(data['password'], 'String');
+ }
+ if (data.hasOwnProperty('projects')) {
+ obj['projects'] = ApiClient.convertToType(data['projects'], [Project]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to RedisNode.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to RedisNode.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['user'] && !(typeof data['user'] === 'string' || data['user'] instanceof String)) {
+ throw new Error("Expected the field `user` to be a primitive type in the JSON string but got " + data['user']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ if (data['projects']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['projects'])) {
+ throw new Error("Expected the field `projects` to be an array in the JSON data but got " + data['projects']);
+ }
+ // validate the optional field `projects` (array)
+ for (const item of data['projects']) {
+ Project.validateJSON(item);
+ };
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique Redis node identifier
+ * @member {String} id
+ */
+RedisNode.prototype['id'] = undefined;
+
+/**
+ * Redis host
+ * @member {String} host
+ */
+RedisNode.prototype['host'] = undefined;
+
+/**
+ * Redis port
+ * @member {Number} port
+ */
+RedisNode.prototype['port'] = undefined;
+
+/**
+ * Redis username
+ * @member {String} user
+ */
+RedisNode.prototype['user'] = undefined;
+
+/**
+ * Redis password
+ * @member {String} password
+ */
+RedisNode.prototype['password'] = undefined;
+
+/**
+ * @member {Array.} projects
+ */
+RedisNode.prototype['projects'] = undefined;
+
+
+
+
+
+
+export default RedisNode;
+
diff --git a/out/js/src/model/RedisNodeCreatePostRequest.js b/out/js/src/model/RedisNodeCreatePostRequest.js
new file mode 100644
index 0000000..a1a546e
--- /dev/null
+++ b/out/js/src/model/RedisNodeCreatePostRequest.js
@@ -0,0 +1,137 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The RedisNodeCreatePostRequest model module.
+ * @module model/RedisNodeCreatePostRequest
+ * @version 1.0.0
+ */
+class RedisNodeCreatePostRequest {
+ /**
+ * Constructs a new RedisNodeCreatePostRequest.
+ * @alias module:model/RedisNodeCreatePostRequest
+ * @param host {String} Redis host
+ * @param port {Number} Redis port
+ * @param user {String} Redis username
+ * @param password {String} Redis password
+ */
+ constructor(host, port, user, password) {
+
+ RedisNodeCreatePostRequest.initialize(this, host, port, user, password);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, host, port, user, password) {
+ obj['host'] = host;
+ obj['port'] = port;
+ obj['user'] = user;
+ obj['password'] = password;
+ }
+
+ /**
+ * Constructs a RedisNodeCreatePostRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RedisNodeCreatePostRequest} obj Optional instance to populate.
+ * @return {module:model/RedisNodeCreatePostRequest} The populated RedisNodeCreatePostRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RedisNodeCreatePostRequest();
+
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = ApiClient.convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'Number');
+ }
+ if (data.hasOwnProperty('user')) {
+ obj['user'] = ApiClient.convertToType(data['user'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = ApiClient.convertToType(data['password'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to RedisNodeCreatePostRequest.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to RedisNodeCreatePostRequest.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of RedisNodeCreatePostRequest.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['user'] && !(typeof data['user'] === 'string' || data['user'] instanceof String)) {
+ throw new Error("Expected the field `user` to be a primitive type in the JSON string but got " + data['user']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+
+ return true;
+ }
+
+
+}
+
+RedisNodeCreatePostRequest.RequiredProperties = ["host", "port", "user", "password"];
+
+/**
+ * Redis host
+ * @member {String} host
+ */
+RedisNodeCreatePostRequest.prototype['host'] = undefined;
+
+/**
+ * Redis port
+ * @member {Number} port
+ */
+RedisNodeCreatePostRequest.prototype['port'] = undefined;
+
+/**
+ * Redis username
+ * @member {String} user
+ */
+RedisNodeCreatePostRequest.prototype['user'] = undefined;
+
+/**
+ * Redis password
+ * @member {String} password
+ */
+RedisNodeCreatePostRequest.prototype['password'] = undefined;
+
+
+
+
+
+
+export default RedisNodeCreatePostRequest;
+
diff --git a/out/js/src/model/Token.js b/out/js/src/model/Token.js
new file mode 100644
index 0000000..e842cee
--- /dev/null
+++ b/out/js/src/model/Token.js
@@ -0,0 +1,119 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Project from './Project';
+
+/**
+ * The Token model module.
+ * @module model/Token
+ * @version 1.0.0
+ */
+class Token {
+ /**
+ * Constructs a new Token.
+ * @alias module:model/Token
+ */
+ constructor() {
+
+ Token.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Token from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Token} obj Optional instance to populate.
+ * @return {module:model/Token} The populated Token instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Token();
+
+ if (data.hasOwnProperty('token')) {
+ obj['token'] = ApiClient.convertToType(data['token'], 'String');
+ }
+ if (data.hasOwnProperty('isActive')) {
+ obj['isActive'] = ApiClient.convertToType(data['isActive'], 'Boolean');
+ }
+ if (data.hasOwnProperty('isAdmin')) {
+ obj['isAdmin'] = ApiClient.convertToType(data['isAdmin'], 'Boolean');
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = Project.constructFromObject(data['project']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Token.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Token.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['token'] && !(typeof data['token'] === 'string' || data['token'] instanceof String)) {
+ throw new Error("Expected the field `token` to be a primitive type in the JSON string but got " + data['token']);
+ }
+ // validate the optional field `project`
+ if (data['project']) { // data not null
+ Project.validateJSON(data['project']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * Unique token identifier
+ * @member {String} token
+ */
+Token.prototype['token'] = undefined;
+
+/**
+ * Whether the token is active
+ * @member {Boolean} isActive
+ */
+Token.prototype['isActive'] = undefined;
+
+/**
+ * Whether the token has admin privileges
+ * @member {Boolean} isAdmin
+ */
+Token.prototype['isAdmin'] = undefined;
+
+/**
+ * @member {module:model/Project} project
+ */
+Token.prototype['project'] = undefined;
+
+
+
+
+
+
+export default Token;
+
diff --git a/out/js/test/api/APITokensApi.spec.js b/out/js/test/api/APITokensApi.spec.js
new file mode 100644
index 0000000..e7c3ae8
--- /dev/null
+++ b/out/js/test/api/APITokensApi.spec.js
@@ -0,0 +1,73 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.APITokensApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('APITokensApi', function() {
+ describe('apiTokenGeneratePost', function() {
+ it('should call apiTokenGeneratePost successfully', function(done) {
+ //uncomment below and update the code to test apiTokenGeneratePost
+ //instance.apiTokenGeneratePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('apiTokenRevokeTokenDelete', function() {
+ it('should call apiTokenRevokeTokenDelete successfully', function(done) {
+ //uncomment below and update the code to test apiTokenRevokeTokenDelete
+ //instance.apiTokenRevokeTokenDelete(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/api/CommandsApi.spec.js b/out/js/test/api/CommandsApi.spec.js
new file mode 100644
index 0000000..1794053
--- /dev/null
+++ b/out/js/test/api/CommandsApi.spec.js
@@ -0,0 +1,93 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.CommandsApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CommandsApi', function() {
+ describe('commandCreatePost', function() {
+ it('should call commandCreatePost successfully', function(done) {
+ //uncomment below and update the code to test commandCreatePost
+ //instance.commandCreatePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('commandDeleteIdDelete', function() {
+ it('should call commandDeleteIdDelete successfully', function(done) {
+ //uncomment below and update the code to test commandDeleteIdDelete
+ //instance.commandDeleteIdDelete(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('commandRunIdPost', function() {
+ it('should call commandRunIdPost successfully', function(done) {
+ //uncomment below and update the code to test commandRunIdPost
+ //instance.commandRunIdPost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('commandUpdateIdPost', function() {
+ it('should call commandUpdateIdPost successfully', function(done) {
+ //uncomment below and update the code to test commandUpdateIdPost
+ //instance.commandUpdateIdPost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/api/DatabaseManagementApi.spec.js b/out/js/test/api/DatabaseManagementApi.spec.js
new file mode 100644
index 0000000..b2c632c
--- /dev/null
+++ b/out/js/test/api/DatabaseManagementApi.spec.js
@@ -0,0 +1,133 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.DatabaseManagementApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DatabaseManagementApi', function() {
+ describe('databaseColumnsDatabaseIdTableNameGet', function() {
+ it('should call databaseColumnsDatabaseIdTableNameGet successfully', function(done) {
+ //uncomment below and update the code to test databaseColumnsDatabaseIdTableNameGet
+ //instance.databaseColumnsDatabaseIdTableNameGet(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('databaseCreatePost', function() {
+ it('should call databaseCreatePost successfully', function(done) {
+ //uncomment below and update the code to test databaseCreatePost
+ //instance.databaseCreatePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('databaseMigrationCreatePost', function() {
+ it('should call databaseMigrationCreatePost successfully', function(done) {
+ //uncomment below and update the code to test databaseMigrationCreatePost
+ //instance.databaseMigrationCreatePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('databaseMigrationDownDatabaseIdGet', function() {
+ it('should call databaseMigrationDownDatabaseIdGet successfully', function(done) {
+ //uncomment below and update the code to test databaseMigrationDownDatabaseIdGet
+ //instance.databaseMigrationDownDatabaseIdGet(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('databaseMigrationUpDatabaseIdGet', function() {
+ it('should call databaseMigrationUpDatabaseIdGet successfully', function(done) {
+ //uncomment below and update the code to test databaseMigrationUpDatabaseIdGet
+ //instance.databaseMigrationUpDatabaseIdGet(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('databaseNodeCreatePost', function() {
+ it('should call databaseNodeCreatePost successfully', function(done) {
+ //uncomment below and update the code to test databaseNodeCreatePost
+ //instance.databaseNodeCreatePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('databaseQueryDatabaseIdPost', function() {
+ it('should call databaseQueryDatabaseIdPost successfully', function(done) {
+ //uncomment below and update the code to test databaseQueryDatabaseIdPost
+ //instance.databaseQueryDatabaseIdPost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('databaseTablesDatabaseIdGet', function() {
+ it('should call databaseTablesDatabaseIdGet successfully', function(done) {
+ //uncomment below and update the code to test databaseTablesDatabaseIdGet
+ //instance.databaseTablesDatabaseIdGet(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/api/FunctionsApi.spec.js b/out/js/test/api/FunctionsApi.spec.js
new file mode 100644
index 0000000..225932e
--- /dev/null
+++ b/out/js/test/api/FunctionsApi.spec.js
@@ -0,0 +1,73 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.FunctionsApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FunctionsApi', function() {
+ describe('functionsCreatePost', function() {
+ it('should call functionsCreatePost successfully', function(done) {
+ //uncomment below and update the code to test functionsCreatePost
+ //instance.functionsCreatePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('functionsDeletePost', function() {
+ it('should call functionsDeletePost successfully', function(done) {
+ //uncomment below and update the code to test functionsDeletePost
+ //instance.functionsDeletePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/api/LoggingApi.spec.js b/out/js/test/api/LoggingApi.spec.js
new file mode 100644
index 0000000..3879c73
--- /dev/null
+++ b/out/js/test/api/LoggingApi.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.LoggingApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('LoggingApi', function() {
+ describe('loggerIdFindAllPost', function() {
+ it('should call loggerIdFindAllPost successfully', function(done) {
+ //uncomment below and update the code to test loggerIdFindAllPost
+ //instance.loggerIdFindAllPost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('loggerIdFindPost', function() {
+ it('should call loggerIdFindPost successfully', function(done) {
+ //uncomment below and update the code to test loggerIdFindPost
+ //instance.loggerIdFindPost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('loggerIdTraceIdGet', function() {
+ it('should call loggerIdTraceIdGet successfully', function(done) {
+ //uncomment below and update the code to test loggerIdTraceIdGet
+ //instance.loggerIdTraceIdGet(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/api/ProjectManagementApi.spec.js b/out/js/test/api/ProjectManagementApi.spec.js
new file mode 100644
index 0000000..6b1431f
--- /dev/null
+++ b/out/js/test/api/ProjectManagementApi.spec.js
@@ -0,0 +1,113 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.ProjectManagementApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ProjectManagementApi', function() {
+ describe('projectApiTokensGet', function() {
+ it('should call projectApiTokensGet successfully', function(done) {
+ //uncomment below and update the code to test projectApiTokensGet
+ //instance.projectApiTokensGet(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('projectCreatePut', function() {
+ it('should call projectCreatePut successfully', function(done) {
+ //uncomment below and update the code to test projectCreatePut
+ //instance.projectCreatePut(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('projectCreateWithoutDbPut', function() {
+ it('should call projectCreateWithoutDbPut successfully', function(done) {
+ //uncomment below and update the code to test projectCreateWithoutDbPut
+ //instance.projectCreateWithoutDbPut(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('projectSettingsCreatePut', function() {
+ it('should call projectSettingsCreatePut successfully', function(done) {
+ //uncomment below and update the code to test projectSettingsCreatePut
+ //instance.projectSettingsCreatePut(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('projectSettingsDeleteKeyDelete', function() {
+ it('should call projectSettingsDeleteKeyDelete successfully', function(done) {
+ //uncomment below and update the code to test projectSettingsDeleteKeyDelete
+ //instance.projectSettingsDeleteKeyDelete(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('projectSettingsGet', function() {
+ it('should call projectSettingsGet successfully', function(done) {
+ //uncomment below and update the code to test projectSettingsGet
+ //instance.projectSettingsGet(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/api/QueriesApi.spec.js b/out/js/test/api/QueriesApi.spec.js
new file mode 100644
index 0000000..fb21aa1
--- /dev/null
+++ b/out/js/test/api/QueriesApi.spec.js
@@ -0,0 +1,93 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.QueriesApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('QueriesApi', function() {
+ describe('queryCreatePost', function() {
+ it('should call queryCreatePost successfully', function(done) {
+ //uncomment below and update the code to test queryCreatePost
+ //instance.queryCreatePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('queryDeleteIdDelete', function() {
+ it('should call queryDeleteIdDelete successfully', function(done) {
+ //uncomment below and update the code to test queryDeleteIdDelete
+ //instance.queryDeleteIdDelete(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('queryRunIdPost', function() {
+ it('should call queryRunIdPost successfully', function(done) {
+ //uncomment below and update the code to test queryRunIdPost
+ //instance.queryRunIdPost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('queryUpdateIdPost', function() {
+ it('should call queryUpdateIdPost successfully', function(done) {
+ //uncomment below and update the code to test queryUpdateIdPost
+ //instance.queryUpdateIdPost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/api/RedisManagementApi.spec.js b/out/js/test/api/RedisManagementApi.spec.js
new file mode 100644
index 0000000..08ab4e3
--- /dev/null
+++ b/out/js/test/api/RedisManagementApi.spec.js
@@ -0,0 +1,63 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.RedisManagementApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('RedisManagementApi', function() {
+ describe('redisNodeCreatePost', function() {
+ it('should call redisNodeCreatePost successfully', function(done) {
+ //uncomment below and update the code to test redisNodeCreatePost
+ //instance.redisNodeCreatePost(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/out/js/test/model/ApiTokenGeneratePostRequest.spec.js b/out/js/test/model/ApiTokenGeneratePostRequest.spec.js
new file mode 100644
index 0000000..5a262da
--- /dev/null
+++ b/out/js/test/model/ApiTokenGeneratePostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.ApiTokenGeneratePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ApiTokenGeneratePostRequest', function() {
+ it('should create an instance of ApiTokenGeneratePostRequest', function() {
+ // uncomment below and update the code to test ApiTokenGeneratePostRequest
+ //var instance = new LowCodeEngineApi.ApiTokenGeneratePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.ApiTokenGeneratePostRequest);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.ApiTokenGeneratePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/CommandCreatePostRequest.spec.js b/out/js/test/model/CommandCreatePostRequest.spec.js
new file mode 100644
index 0000000..f220420
--- /dev/null
+++ b/out/js/test/model/CommandCreatePostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.CommandCreatePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CommandCreatePostRequest', function() {
+ it('should create an instance of CommandCreatePostRequest', function() {
+ // uncomment below and update the code to test CommandCreatePostRequest
+ //var instance = new LowCodeEngineApi.CommandCreatePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.CommandCreatePostRequest);
+ });
+
+ it('should have the property source (base name: "source")', function() {
+ // uncomment below and update the code to test the property source
+ //var instance = new LowCodeEngineApi.CommandCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/CommandUpdateIdPostRequest.spec.js b/out/js/test/model/CommandUpdateIdPostRequest.spec.js
new file mode 100644
index 0000000..acde912
--- /dev/null
+++ b/out/js/test/model/CommandUpdateIdPostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.CommandUpdateIdPostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CommandUpdateIdPostRequest', function() {
+ it('should create an instance of CommandUpdateIdPostRequest', function() {
+ // uncomment below and update the code to test CommandUpdateIdPostRequest
+ //var instance = new LowCodeEngineApi.CommandUpdateIdPostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.CommandUpdateIdPostRequest);
+ });
+
+ it('should have the property source (base name: "source")', function() {
+ // uncomment below and update the code to test the property source
+ //var instance = new LowCodeEngineApi.CommandUpdateIdPostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Database.spec.js b/out/js/test/model/Database.spec.js
new file mode 100644
index 0000000..e649db4
--- /dev/null
+++ b/out/js/test/model/Database.spec.js
@@ -0,0 +1,107 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Database();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Database', function() {
+ it('should create an instance of Database', function() {
+ // uncomment below and update the code to test Database
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be.a(LowCodeEngineApi.Database);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property qUsername (base name: "q_username")', function() {
+ // uncomment below and update the code to test the property qUsername
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property cUsername (base name: "c_username")', function() {
+ // uncomment below and update the code to test the property cUsername
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property password (base name: "password")', function() {
+ // uncomment below and update the code to test the property password
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property database (base name: "database")', function() {
+ // uncomment below and update the code to test the property database
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property migrations (base name: "migrations")', function() {
+ // uncomment below and update the code to test the property migrations
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property project (base name: "project")', function() {
+ // uncomment below and update the code to test the property project
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property node (base name: "node")', function() {
+ // uncomment below and update the code to test the property node
+ //var instance = new LowCodeEngineApi.Database();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/DatabaseCreatePostRequest.spec.js b/out/js/test/model/DatabaseCreatePostRequest.spec.js
new file mode 100644
index 0000000..821951e
--- /dev/null
+++ b/out/js/test/model/DatabaseCreatePostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.DatabaseCreatePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DatabaseCreatePostRequest', function() {
+ it('should create an instance of DatabaseCreatePostRequest', function() {
+ // uncomment below and update the code to test DatabaseCreatePostRequest
+ //var instance = new LowCodeEngineApi.DatabaseCreatePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.DatabaseCreatePostRequest);
+ });
+
+ it('should have the property projectId (base name: "projectId")', function() {
+ // uncomment below and update the code to test the property projectId
+ //var instance = new LowCodeEngineApi.DatabaseCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/DatabaseMigrationCreatePostRequest.spec.js b/out/js/test/model/DatabaseMigrationCreatePostRequest.spec.js
new file mode 100644
index 0000000..e4d56dd
--- /dev/null
+++ b/out/js/test/model/DatabaseMigrationCreatePostRequest.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.DatabaseMigrationCreatePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DatabaseMigrationCreatePostRequest', function() {
+ it('should create an instance of DatabaseMigrationCreatePostRequest', function() {
+ // uncomment below and update the code to test DatabaseMigrationCreatePostRequest
+ //var instance = new LowCodeEngineApi.DatabaseMigrationCreatePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.DatabaseMigrationCreatePostRequest);
+ });
+
+ it('should have the property up (base name: "up")', function() {
+ // uncomment below and update the code to test the property up
+ //var instance = new LowCodeEngineApi.DatabaseMigrationCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property down (base name: "down")', function() {
+ // uncomment below and update the code to test the property down
+ //var instance = new LowCodeEngineApi.DatabaseMigrationCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property databaseId (base name: "databaseId")', function() {
+ // uncomment below and update the code to test the property databaseId
+ //var instance = new LowCodeEngineApi.DatabaseMigrationCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/DatabaseNode.spec.js b/out/js/test/model/DatabaseNode.spec.js
new file mode 100644
index 0000000..2c66e5b
--- /dev/null
+++ b/out/js/test/model/DatabaseNode.spec.js
@@ -0,0 +1,95 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.DatabaseNode();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DatabaseNode', function() {
+ it('should create an instance of DatabaseNode', function() {
+ // uncomment below and update the code to test DatabaseNode
+ //var instance = new LowCodeEngineApi.DatabaseNode();
+ //expect(instance).to.be.a(LowCodeEngineApi.DatabaseNode);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.DatabaseNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property host (base name: "host")', function() {
+ // uncomment below and update the code to test the property host
+ //var instance = new LowCodeEngineApi.DatabaseNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property port (base name: "port")', function() {
+ // uncomment below and update the code to test the property port
+ //var instance = new LowCodeEngineApi.DatabaseNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property username (base name: "username")', function() {
+ // uncomment below and update the code to test the property username
+ //var instance = new LowCodeEngineApi.DatabaseNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property password (base name: "password")', function() {
+ // uncomment below and update the code to test the property password
+ //var instance = new LowCodeEngineApi.DatabaseNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property databases (base name: "databases")', function() {
+ // uncomment below and update the code to test the property databases
+ //var instance = new LowCodeEngineApi.DatabaseNode();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/DatabaseNodeCreatePostRequest.spec.js b/out/js/test/model/DatabaseNodeCreatePostRequest.spec.js
new file mode 100644
index 0000000..a16eaa2
--- /dev/null
+++ b/out/js/test/model/DatabaseNodeCreatePostRequest.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.DatabaseNodeCreatePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DatabaseNodeCreatePostRequest', function() {
+ it('should create an instance of DatabaseNodeCreatePostRequest', function() {
+ // uncomment below and update the code to test DatabaseNodeCreatePostRequest
+ //var instance = new LowCodeEngineApi.DatabaseNodeCreatePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.DatabaseNodeCreatePostRequest);
+ });
+
+ it('should have the property host (base name: "host")', function() {
+ // uncomment below and update the code to test the property host
+ //var instance = new LowCodeEngineApi.DatabaseNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property port (base name: "port")', function() {
+ // uncomment below and update the code to test the property port
+ //var instance = new LowCodeEngineApi.DatabaseNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property username (base name: "username")', function() {
+ // uncomment below and update the code to test the property username
+ //var instance = new LowCodeEngineApi.DatabaseNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property password (base name: "password")', function() {
+ // uncomment below and update the code to test the property password
+ //var instance = new LowCodeEngineApi.DatabaseNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/DatabaseQueryDatabaseIdPostRequest.spec.js b/out/js/test/model/DatabaseQueryDatabaseIdPostRequest.spec.js
new file mode 100644
index 0000000..0963412
--- /dev/null
+++ b/out/js/test/model/DatabaseQueryDatabaseIdPostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.DatabaseQueryDatabaseIdPostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DatabaseQueryDatabaseIdPostRequest', function() {
+ it('should create an instance of DatabaseQueryDatabaseIdPostRequest', function() {
+ // uncomment below and update the code to test DatabaseQueryDatabaseIdPostRequest
+ //var instance = new LowCodeEngineApi.DatabaseQueryDatabaseIdPostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.DatabaseQueryDatabaseIdPostRequest);
+ });
+
+ it('should have the property query (base name: "query")', function() {
+ // uncomment below and update the code to test the property query
+ //var instance = new LowCodeEngineApi.DatabaseQueryDatabaseIdPostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Error.spec.js b/out/js/test/model/Error.spec.js
new file mode 100644
index 0000000..88e64ac
--- /dev/null
+++ b/out/js/test/model/Error.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Error();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Error', function() {
+ it('should create an instance of Error', function() {
+ // uncomment below and update the code to test Error
+ //var instance = new LowCodeEngineApi.Error();
+ //expect(instance).to.be.a(LowCodeEngineApi.Error);
+ });
+
+ it('should have the property error (base name: "error")', function() {
+ // uncomment below and update the code to test the property error
+ //var instance = new LowCodeEngineApi.Error();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property details (base name: "details")', function() {
+ // uncomment below and update the code to test the property details
+ //var instance = new LowCodeEngineApi.Error();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Function.spec.js b/out/js/test/model/Function.spec.js
new file mode 100644
index 0000000..9e7d6f7
--- /dev/null
+++ b/out/js/test/model/Function.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Function();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Function', function() {
+ it('should create an instance of Function', function() {
+ // uncomment below and update the code to test Function
+ //var instance = new LowCodeEngineApi.Function();
+ //expect(instance).to.be.a(LowCodeEngineApi.Function);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.Function();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new LowCodeEngineApi.Function();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property source (base name: "source")', function() {
+ // uncomment below and update the code to test the property source
+ //var instance = new LowCodeEngineApi.Function();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property project (base name: "project")', function() {
+ // uncomment below and update the code to test the property project
+ //var instance = new LowCodeEngineApi.Function();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/FunctionsCreatePostRequest.spec.js b/out/js/test/model/FunctionsCreatePostRequest.spec.js
new file mode 100644
index 0000000..40b7292
--- /dev/null
+++ b/out/js/test/model/FunctionsCreatePostRequest.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.FunctionsCreatePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FunctionsCreatePostRequest', function() {
+ it('should create an instance of FunctionsCreatePostRequest', function() {
+ // uncomment below and update the code to test FunctionsCreatePostRequest
+ //var instance = new LowCodeEngineApi.FunctionsCreatePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.FunctionsCreatePostRequest);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new LowCodeEngineApi.FunctionsCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property source (base name: "source")', function() {
+ // uncomment below and update the code to test the property source
+ //var instance = new LowCodeEngineApi.FunctionsCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/FunctionsDeletePostRequest.spec.js b/out/js/test/model/FunctionsDeletePostRequest.spec.js
new file mode 100644
index 0000000..d9517d4
--- /dev/null
+++ b/out/js/test/model/FunctionsDeletePostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.FunctionsDeletePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FunctionsDeletePostRequest', function() {
+ it('should create an instance of FunctionsDeletePostRequest', function() {
+ // uncomment below and update the code to test FunctionsDeletePostRequest
+ //var instance = new LowCodeEngineApi.FunctionsDeletePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.FunctionsDeletePostRequest);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new LowCodeEngineApi.FunctionsDeletePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Log.spec.js b/out/js/test/model/Log.spec.js
new file mode 100644
index 0000000..506cb3a
--- /dev/null
+++ b/out/js/test/model/Log.spec.js
@@ -0,0 +1,131 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Log();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Log', function() {
+ it('should create an instance of Log', function() {
+ // uncomment below and update the code to test Log
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be.a(LowCodeEngineApi.Log);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property traceId (base name: "traceId")', function() {
+ // uncomment below and update the code to test the property traceId
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property startTime (base name: "startTime")', function() {
+ // uncomment below and update the code to test the property startTime
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property endTime (base name: "endTime")', function() {
+ // uncomment below and update the code to test the property endTime
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property payload (base name: "payload")', function() {
+ // uncomment below and update the code to test the property payload
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property headers (base name: "headers")', function() {
+ // uncomment below and update the code to test the property headers
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property cookies (base name: "cookies")', function() {
+ // uncomment below and update the code to test the property cookies
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property url (base name: "url")', function() {
+ // uncomment below and update the code to test the property url
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property response (base name: "response")', function() {
+ // uncomment below and update the code to test the property response
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property content (base name: "content")', function() {
+ // uncomment below and update the code to test the property content
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property project (base name: "project")', function() {
+ // uncomment below and update the code to test the property project
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property query (base name: "query")', function() {
+ // uncomment below and update the code to test the property query
+ //var instance = new LowCodeEngineApi.Log();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/LogContentInner.spec.js b/out/js/test/model/LogContentInner.spec.js
new file mode 100644
index 0000000..5918670
--- /dev/null
+++ b/out/js/test/model/LogContentInner.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.LogContentInner();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('LogContentInner', function() {
+ it('should create an instance of LogContentInner', function() {
+ // uncomment below and update the code to test LogContentInner
+ //var instance = new LowCodeEngineApi.LogContentInner();
+ //expect(instance).to.be.a(LowCodeEngineApi.LogContentInner);
+ });
+
+ it('should have the property content (base name: "content")', function() {
+ // uncomment below and update the code to test the property content
+ //var instance = new LowCodeEngineApi.LogContentInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property type (base name: "type")', function() {
+ // uncomment below and update the code to test the property type
+ //var instance = new LowCodeEngineApi.LogContentInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property timeStamp (base name: "timeStamp")', function() {
+ // uncomment below and update the code to test the property timeStamp
+ //var instance = new LowCodeEngineApi.LogContentInner();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/LoggerIdFindAllPostRequest.spec.js b/out/js/test/model/LoggerIdFindAllPostRequest.spec.js
new file mode 100644
index 0000000..a4111e3
--- /dev/null
+++ b/out/js/test/model/LoggerIdFindAllPostRequest.spec.js
@@ -0,0 +1,95 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('LoggerIdFindAllPostRequest', function() {
+ it('should create an instance of LoggerIdFindAllPostRequest', function() {
+ // uncomment below and update the code to test LoggerIdFindAllPostRequest
+ //var instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.LoggerIdFindAllPostRequest);
+ });
+
+ it('should have the property traceId (base name: "traceId")', function() {
+ // uncomment below and update the code to test the property traceId
+ //var instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property fromDate (base name: "fromDate")', function() {
+ // uncomment below and update the code to test the property fromDate
+ //var instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property toDate (base name: "toDate")', function() {
+ // uncomment below and update the code to test the property toDate
+ //var instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property url (base name: "url")', function() {
+ // uncomment below and update the code to test the property url
+ //var instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property limit (base name: "limit")', function() {
+ // uncomment below and update the code to test the property limit
+ //var instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property offset (base name: "offset")', function() {
+ // uncomment below and update the code to test the property offset
+ //var instance = new LowCodeEngineApi.LoggerIdFindAllPostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Migration.spec.js b/out/js/test/model/Migration.spec.js
new file mode 100644
index 0000000..15b0449
--- /dev/null
+++ b/out/js/test/model/Migration.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Migration();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Migration', function() {
+ it('should create an instance of Migration', function() {
+ // uncomment below and update the code to test Migration
+ //var instance = new LowCodeEngineApi.Migration();
+ //expect(instance).to.be.a(LowCodeEngineApi.Migration);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.Migration();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property up (base name: "up")', function() {
+ // uncomment below and update the code to test the property up
+ //var instance = new LowCodeEngineApi.Migration();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property down (base name: "down")', function() {
+ // uncomment below and update the code to test the property down
+ //var instance = new LowCodeEngineApi.Migration();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property database (base name: "database")', function() {
+ // uncomment below and update the code to test the property database
+ //var instance = new LowCodeEngineApi.Migration();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Project.spec.js b/out/js/test/model/Project.spec.js
new file mode 100644
index 0000000..a951b7f
--- /dev/null
+++ b/out/js/test/model/Project.spec.js
@@ -0,0 +1,101 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Project();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Project', function() {
+ it('should create an instance of Project', function() {
+ // uncomment below and update the code to test Project
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be.a(LowCodeEngineApi.Project);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property apiTokens (base name: "apiTokens")', function() {
+ // uncomment below and update the code to test the property apiTokens
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property database (base name: "database")', function() {
+ // uncomment below and update the code to test the property database
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property queries (base name: "queries")', function() {
+ // uncomment below and update the code to test the property queries
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property functions (base name: "functions")', function() {
+ // uncomment below and update the code to test the property functions
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property settings (base name: "settings")', function() {
+ // uncomment below and update the code to test the property settings
+ //var instance = new LowCodeEngineApi.Project();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/ProjectCreatePutRequest.spec.js b/out/js/test/model/ProjectCreatePutRequest.spec.js
new file mode 100644
index 0000000..e708c2e
--- /dev/null
+++ b/out/js/test/model/ProjectCreatePutRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.ProjectCreatePutRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ProjectCreatePutRequest', function() {
+ it('should create an instance of ProjectCreatePutRequest', function() {
+ // uncomment below and update the code to test ProjectCreatePutRequest
+ //var instance = new LowCodeEngineApi.ProjectCreatePutRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.ProjectCreatePutRequest);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new LowCodeEngineApi.ProjectCreatePutRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/ProjectSetting.spec.js b/out/js/test/model/ProjectSetting.spec.js
new file mode 100644
index 0000000..180cd2f
--- /dev/null
+++ b/out/js/test/model/ProjectSetting.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.ProjectSetting();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ProjectSetting', function() {
+ it('should create an instance of ProjectSetting', function() {
+ // uncomment below and update the code to test ProjectSetting
+ //var instance = new LowCodeEngineApi.ProjectSetting();
+ //expect(instance).to.be.a(LowCodeEngineApi.ProjectSetting);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.ProjectSetting();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property key (base name: "key")', function() {
+ // uncomment below and update the code to test the property key
+ //var instance = new LowCodeEngineApi.ProjectSetting();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property value (base name: "value")', function() {
+ // uncomment below and update the code to test the property value
+ //var instance = new LowCodeEngineApi.ProjectSetting();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property project (base name: "project")', function() {
+ // uncomment below and update the code to test the property project
+ //var instance = new LowCodeEngineApi.ProjectSetting();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/ProjectSettingsCreatePutRequest.spec.js b/out/js/test/model/ProjectSettingsCreatePutRequest.spec.js
new file mode 100644
index 0000000..c415e2d
--- /dev/null
+++ b/out/js/test/model/ProjectSettingsCreatePutRequest.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.ProjectSettingsCreatePutRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ProjectSettingsCreatePutRequest', function() {
+ it('should create an instance of ProjectSettingsCreatePutRequest', function() {
+ // uncomment below and update the code to test ProjectSettingsCreatePutRequest
+ //var instance = new LowCodeEngineApi.ProjectSettingsCreatePutRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.ProjectSettingsCreatePutRequest);
+ });
+
+ it('should have the property key (base name: "key")', function() {
+ // uncomment below and update the code to test the property key
+ //var instance = new LowCodeEngineApi.ProjectSettingsCreatePutRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property value (base name: "value")', function() {
+ // uncomment below and update the code to test the property value
+ //var instance = new LowCodeEngineApi.ProjectSettingsCreatePutRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Query.spec.js b/out/js/test/model/Query.spec.js
new file mode 100644
index 0000000..c9583c3
--- /dev/null
+++ b/out/js/test/model/Query.spec.js
@@ -0,0 +1,95 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Query();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Query', function() {
+ it('should create an instance of Query', function() {
+ // uncomment below and update the code to test Query
+ //var instance = new LowCodeEngineApi.Query();
+ //expect(instance).to.be.a(LowCodeEngineApi.Query);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.Query();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property source (base name: "source")', function() {
+ // uncomment below and update the code to test the property source
+ //var instance = new LowCodeEngineApi.Query();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isActive (base name: "isActive")', function() {
+ // uncomment below and update the code to test the property isActive
+ //var instance = new LowCodeEngineApi.Query();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isCommand (base name: "isCommand")', function() {
+ // uncomment below and update the code to test the property isCommand
+ //var instance = new LowCodeEngineApi.Query();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property project (base name: "project")', function() {
+ // uncomment below and update the code to test the property project
+ //var instance = new LowCodeEngineApi.Query();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property logs (base name: "logs")', function() {
+ // uncomment below and update the code to test the property logs
+ //var instance = new LowCodeEngineApi.Query();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/QueryCreatePostRequest.spec.js b/out/js/test/model/QueryCreatePostRequest.spec.js
new file mode 100644
index 0000000..582ed64
--- /dev/null
+++ b/out/js/test/model/QueryCreatePostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.QueryCreatePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('QueryCreatePostRequest', function() {
+ it('should create an instance of QueryCreatePostRequest', function() {
+ // uncomment below and update the code to test QueryCreatePostRequest
+ //var instance = new LowCodeEngineApi.QueryCreatePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.QueryCreatePostRequest);
+ });
+
+ it('should have the property source (base name: "source")', function() {
+ // uncomment below and update the code to test the property source
+ //var instance = new LowCodeEngineApi.QueryCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/QueryUpdateIdPostRequest.spec.js b/out/js/test/model/QueryUpdateIdPostRequest.spec.js
new file mode 100644
index 0000000..8098610
--- /dev/null
+++ b/out/js/test/model/QueryUpdateIdPostRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.QueryUpdateIdPostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('QueryUpdateIdPostRequest', function() {
+ it('should create an instance of QueryUpdateIdPostRequest', function() {
+ // uncomment below and update the code to test QueryUpdateIdPostRequest
+ //var instance = new LowCodeEngineApi.QueryUpdateIdPostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.QueryUpdateIdPostRequest);
+ });
+
+ it('should have the property source (base name: "source")', function() {
+ // uncomment below and update the code to test the property source
+ //var instance = new LowCodeEngineApi.QueryUpdateIdPostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/RedisNode.spec.js b/out/js/test/model/RedisNode.spec.js
new file mode 100644
index 0000000..162e1fe
--- /dev/null
+++ b/out/js/test/model/RedisNode.spec.js
@@ -0,0 +1,95 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.RedisNode();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('RedisNode', function() {
+ it('should create an instance of RedisNode', function() {
+ // uncomment below and update the code to test RedisNode
+ //var instance = new LowCodeEngineApi.RedisNode();
+ //expect(instance).to.be.a(LowCodeEngineApi.RedisNode);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new LowCodeEngineApi.RedisNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property host (base name: "host")', function() {
+ // uncomment below and update the code to test the property host
+ //var instance = new LowCodeEngineApi.RedisNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property port (base name: "port")', function() {
+ // uncomment below and update the code to test the property port
+ //var instance = new LowCodeEngineApi.RedisNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property user (base name: "user")', function() {
+ // uncomment below and update the code to test the property user
+ //var instance = new LowCodeEngineApi.RedisNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property password (base name: "password")', function() {
+ // uncomment below and update the code to test the property password
+ //var instance = new LowCodeEngineApi.RedisNode();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property projects (base name: "projects")', function() {
+ // uncomment below and update the code to test the property projects
+ //var instance = new LowCodeEngineApi.RedisNode();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/RedisNodeCreatePostRequest.spec.js b/out/js/test/model/RedisNodeCreatePostRequest.spec.js
new file mode 100644
index 0000000..85ae7ef
--- /dev/null
+++ b/out/js/test/model/RedisNodeCreatePostRequest.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.RedisNodeCreatePostRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('RedisNodeCreatePostRequest', function() {
+ it('should create an instance of RedisNodeCreatePostRequest', function() {
+ // uncomment below and update the code to test RedisNodeCreatePostRequest
+ //var instance = new LowCodeEngineApi.RedisNodeCreatePostRequest();
+ //expect(instance).to.be.a(LowCodeEngineApi.RedisNodeCreatePostRequest);
+ });
+
+ it('should have the property host (base name: "host")', function() {
+ // uncomment below and update the code to test the property host
+ //var instance = new LowCodeEngineApi.RedisNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property port (base name: "port")', function() {
+ // uncomment below and update the code to test the property port
+ //var instance = new LowCodeEngineApi.RedisNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property user (base name: "user")', function() {
+ // uncomment below and update the code to test the property user
+ //var instance = new LowCodeEngineApi.RedisNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property password (base name: "password")', function() {
+ // uncomment below and update the code to test the property password
+ //var instance = new LowCodeEngineApi.RedisNodeCreatePostRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/js/test/model/Token.spec.js b/out/js/test/model/Token.spec.js
new file mode 100644
index 0000000..0bca3f1
--- /dev/null
+++ b/out/js/test/model/Token.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Low-Code Engine API
+ * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.LowCodeEngineApi);
+ }
+}(this, function(expect, LowCodeEngineApi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new LowCodeEngineApi.Token();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Token', function() {
+ it('should create an instance of Token', function() {
+ // uncomment below and update the code to test Token
+ //var instance = new LowCodeEngineApi.Token();
+ //expect(instance).to.be.a(LowCodeEngineApi.Token);
+ });
+
+ it('should have the property token (base name: "token")', function() {
+ // uncomment below and update the code to test the property token
+ //var instance = new LowCodeEngineApi.Token();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isActive (base name: "isActive")', function() {
+ // uncomment below and update the code to test the property isActive
+ //var instance = new LowCodeEngineApi.Token();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isAdmin (base name: "isAdmin")', function() {
+ // uncomment below and update the code to test the property isAdmin
+ //var instance = new LowCodeEngineApi.Token();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property project (base name: "project")', function() {
+ // uncomment below and update the code to test the property project
+ //var instance = new LowCodeEngineApi.Token();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/out/ts/.gitignore b/out/ts/.gitignore
deleted file mode 100644
index 149b576..0000000
--- a/out/ts/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-wwwroot/*.js
-node_modules
-typings
-dist
diff --git a/out/ts/.npmignore b/out/ts/.npmignore
deleted file mode 100644
index 999d88d..0000000
--- a/out/ts/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-# empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm
\ No newline at end of file
diff --git a/out/ts/.openapi-generator/FILES b/out/ts/.openapi-generator/FILES
deleted file mode 100644
index 6fb5b77..0000000
--- a/out/ts/.openapi-generator/FILES
+++ /dev/null
@@ -1,44 +0,0 @@
-.gitignore
-.npmignore
-.openapi-generator-ignore
-api.ts
-base.ts
-common.ts
-configuration.ts
-docs/APITokensApi.md
-docs/ApiTokenGeneratePostRequest.md
-docs/CommandCreatePostRequest.md
-docs/CommandUpdateIdPostRequest.md
-docs/CommandsApi.md
-docs/Database.md
-docs/DatabaseCreatePostRequest.md
-docs/DatabaseManagementApi.md
-docs/DatabaseMigrationCreatePostRequest.md
-docs/DatabaseNode.md
-docs/DatabaseNodeCreatePostRequest.md
-docs/DatabaseQueryDatabaseIdPostRequest.md
-docs/Error.md
-docs/Function.md
-docs/FunctionsApi.md
-docs/FunctionsCreatePostRequest.md
-docs/FunctionsDeletePostRequest.md
-docs/Log.md
-docs/LogContentInner.md
-docs/LoggerIdFindAllPostRequest.md
-docs/LoggingApi.md
-docs/Migration.md
-docs/Project.md
-docs/ProjectCreatePutRequest.md
-docs/ProjectManagementApi.md
-docs/ProjectSetting.md
-docs/ProjectSettingsCreatePutRequest.md
-docs/QueriesApi.md
-docs/Query.md
-docs/QueryCreatePostRequest.md
-docs/QueryUpdateIdPostRequest.md
-docs/RedisManagementApi.md
-docs/RedisNode.md
-docs/RedisNodeCreatePostRequest.md
-docs/Token.md
-git_push.sh
-index.ts
diff --git a/out/ts/api.ts b/out/ts/api.ts
deleted file mode 100644
index 8df8c6a..0000000
--- a/out/ts/api.ts
+++ /dev/null
@@ -1,2944 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * Low-Code Engine API
- * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-import type { Configuration } from './configuration';
-import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
-import globalAxios from 'axios';
-// Some imports not used depending on template conditions
-// @ts-ignore
-import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
-import type { RequestArgs } from './base';
-// @ts-ignore
-import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
-
-export interface ApiTokenGeneratePostRequest {
- /**
- * Project ID
- */
- 'id': string;
-}
-export interface CommandCreatePostRequest {
- /**
- * Command source code
- */
- 'source': string;
-}
-export interface CommandUpdateIdPostRequest {
- /**
- * Updated command source code
- */
- 'source'?: string;
-}
-export interface Database {
- /**
- * Unique database identifier
- */
- 'id'?: string;
- /**
- * Query username for database access
- */
- 'q_username'?: string;
- /**
- * Command username for database access
- */
- 'c_username'?: string;
- /**
- * Database password
- */
- 'password'?: string;
- /**
- * Database name
- */
- 'database'?: string;
- 'migrations'?: Array;
- 'project'?: Project;
- 'node'?: DatabaseNode;
-}
-export interface DatabaseCreatePostRequest {
- /**
- * Project ID
- */
- 'projectId': string;
-}
-export interface DatabaseMigrationCreatePostRequest {
- /**
- * Migration up SQL
- */
- 'up': string;
- /**
- * Migration down SQL
- */
- 'down': string;
- /**
- * Database ID
- */
- 'databaseId': string;
-}
-export interface DatabaseNode {
- /**
- * Unique database node identifier
- */
- 'id'?: string;
- /**
- * Database host
- */
- 'host'?: string;
- /**
- * Database port
- */
- 'port'?: number;
- /**
- * Database username
- */
- 'username'?: string;
- /**
- * Database password
- */
- 'password'?: string;
- 'databases'?: Array;
-}
-export interface DatabaseNodeCreatePostRequest {
- /**
- * Database host
- */
- 'host': string;
- /**
- * Database port
- */
- 'port': number;
- /**
- * Database username
- */
- 'username': string;
- /**
- * Database password
- */
- 'password': string;
-}
-export interface DatabaseQueryDatabaseIdPostRequest {
- /**
- * SQL query to execute
- */
- 'query': string;
-}
-export interface Function {
- /**
- * Unique function identifier
- */
- 'id'?: string;
- /**
- * Function name
- */
- 'name'?: string;
- /**
- * Function source code
- */
- 'source'?: string;
- 'project'?: Project;
-}
-export interface FunctionsCreatePostRequest {
- /**
- * Function name
- */
- 'name': string;
- /**
- * Function source code
- */
- 'source': string;
-}
-export interface FunctionsDeletePostRequest {
- /**
- * Function name to delete
- */
- 'name': string;
-}
-export interface Log {
- /**
- * Unique log identifier
- */
- 'id'?: string;
- /**
- * Trace ID for tracking requests
- */
- 'traceId'?: string;
- /**
- * Request start timestamp
- */
- 'startTime'?: number;
- /**
- * Request end timestamp
- */
- 'endTime'?: number;
- /**
- * Request payload
- */
- 'payload'?: object;
- /**
- * Request headers
- */
- 'headers'?: object;
- /**
- * Request cookies
- */
- 'cookies'?: string;
- /**
- * Request URL
- */
- 'url'?: string;
- /**
- * Response data
- */
- 'response'?: object;
- 'content'?: Array;
- 'project'?: Project;
- 'query'?: Query;
-}
-export interface LogContentInner {
- /**
- * Log content
- */
- 'content'?: string;
- /**
- * Log type (info, error, warning)
- */
- 'type'?: string;
- /**
- * Log entry timestamp
- */
- 'timeStamp'?: number;
-}
-export interface LoggerIdFindAllPostRequest {
- /**
- * Filter by trace ID
- */
- 'traceId'?: string;
- /**
- * Filter from date
- */
- 'fromDate'?: string;
- /**
- * Filter to date
- */
- 'toDate'?: string;
- /**
- * Filter by URL
- */
- 'url'?: string;
- /**
- * Number of results to return
- */
- 'limit': number;
- /**
- * Number of results to skip
- */
- 'offset': number;
-}
-export interface Migration {
- /**
- * Unique migration identifier
- */
- 'id'?: string;
- /**
- * Migration up SQL
- */
- 'up'?: string;
- /**
- * Migration down SQL
- */
- 'down'?: string;
- 'database'?: Database;
-}
-export interface ModelError {
- /**
- * Error message
- */
- 'error'?: string;
- /**
- * Error details
- */
- 'details'?: string;
-}
-export interface Project {
- /**
- * Unique project identifier
- */
- 'id'?: string;
- /**
- * Project name
- */
- 'name'?: string;
- 'apiTokens'?: Array;
- 'database'?: Database;
- 'queries'?: Array;
- 'functions'?: Array;
- 'settings'?: Array;
-}
-export interface ProjectCreatePutRequest {
- /**
- * Project name
- */
- 'name': string;
-}
-export interface ProjectSetting {
- /**
- * Unique setting identifier
- */
- 'id'?: string;
- /**
- * Setting key
- */
- 'key'?: string;
- /**
- * Setting value
- */
- 'value'?: string;
- 'project'?: Project;
-}
-export interface ProjectSettingsCreatePutRequest {
- /**
- * Setting key
- */
- 'key': string;
- /**
- * Setting value
- */
- 'value': string;
-}
-export interface Query {
- /**
- * Unique query identifier
- */
- 'id'?: string;
- /**
- * Query source code
- */
- 'source'?: string;
- /**
- * Whether the query is active (1 = active, 0 = inactive)
- */
- 'isActive'?: number;
- /**
- * Whether this is a command (1 = command, 0 = query)
- */
- 'isCommand'?: number;
- 'project'?: Project;
- 'logs'?: Array;
-}
-export interface QueryCreatePostRequest {
- /**
- * Query source code
- */
- 'source': string;
-}
-export interface QueryUpdateIdPostRequest {
- /**
- * Updated query source code
- */
- 'source'?: string;
-}
-export interface RedisNode {
- /**
- * Unique Redis node identifier
- */
- 'id'?: string;
- /**
- * Redis host
- */
- 'host'?: string;
- /**
- * Redis port
- */
- 'port'?: number;
- /**
- * Redis username
- */
- 'user'?: string;
- /**
- * Redis password
- */
- 'password'?: string;
- 'projects'?: Array;
-}
-export interface RedisNodeCreatePostRequest {
- /**
- * Redis host
- */
- 'host': string;
- /**
- * Redis port
- */
- 'port': number;
- /**
- * Redis username
- */
- 'user': string;
- /**
- * Redis password
- */
- 'password': string;
-}
-export interface Token {
- /**
- * Unique token identifier
- */
- 'token'?: string;
- /**
- * Whether the token is active
- */
- 'isActive'?: boolean;
- /**
- * Whether the token has admin privileges
- */
- 'isAdmin'?: boolean;
- 'project'?: Project;
-}
-
-/**
- * APITokensApi - axios parameter creator
- */
-export const APITokensApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Generate a new API token for a project
- * @summary Generate API token
- * @param {ApiTokenGeneratePostRequest} apiTokenGeneratePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- apiTokenGeneratePost: async (apiTokenGeneratePostRequest: ApiTokenGeneratePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'apiTokenGeneratePostRequest' is not null or undefined
- assertParamExists('apiTokenGeneratePost', 'apiTokenGeneratePostRequest', apiTokenGeneratePostRequest)
- const localVarPath = `/api/token/generate`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication AdminAuth required
- await setApiKeyToObject(localVarHeaderParameter, "x-admin-token", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(apiTokenGeneratePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Revoke an existing API token
- * @summary Revoke API token
- * @param {string} token Token to revoke
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- apiTokenRevokeTokenDelete: async (token: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'token' is not null or undefined
- assertParamExists('apiTokenRevokeTokenDelete', 'token', token)
- const localVarPath = `/api/token/revoke/{token}`
- .replace(`{${"token"}}`, encodeURIComponent(String(token)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication AdminAuth required
- await setApiKeyToObject(localVarHeaderParameter, "x-admin-token", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * APITokensApi - functional programming interface
- */
-export const APITokensApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = APITokensApiAxiosParamCreator(configuration)
- return {
- /**
- * Generate a new API token for a project
- * @summary Generate API token
- * @param {ApiTokenGeneratePostRequest} apiTokenGeneratePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async apiTokenGeneratePost(apiTokenGeneratePostRequest: ApiTokenGeneratePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiTokenGeneratePost(apiTokenGeneratePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['APITokensApi.apiTokenGeneratePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Revoke an existing API token
- * @summary Revoke API token
- * @param {string} token Token to revoke
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async apiTokenRevokeTokenDelete(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiTokenRevokeTokenDelete(token, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['APITokensApi.apiTokenRevokeTokenDelete']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * APITokensApi - factory interface
- */
-export const APITokensApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = APITokensApiFp(configuration)
- return {
- /**
- * Generate a new API token for a project
- * @summary Generate API token
- * @param {ApiTokenGeneratePostRequest} apiTokenGeneratePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- apiTokenGeneratePost(apiTokenGeneratePostRequest: ApiTokenGeneratePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.apiTokenGeneratePost(apiTokenGeneratePostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Revoke an existing API token
- * @summary Revoke API token
- * @param {string} token Token to revoke
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- apiTokenRevokeTokenDelete(token: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.apiTokenRevokeTokenDelete(token, options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * APITokensApi - object-oriented interface
- */
-export class APITokensApi extends BaseAPI {
- /**
- * Generate a new API token for a project
- * @summary Generate API token
- * @param {ApiTokenGeneratePostRequest} apiTokenGeneratePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public apiTokenGeneratePost(apiTokenGeneratePostRequest: ApiTokenGeneratePostRequest, options?: RawAxiosRequestConfig) {
- return APITokensApiFp(this.configuration).apiTokenGeneratePost(apiTokenGeneratePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Revoke an existing API token
- * @summary Revoke API token
- * @param {string} token Token to revoke
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public apiTokenRevokeTokenDelete(token: string, options?: RawAxiosRequestConfig) {
- return APITokensApiFp(this.configuration).apiTokenRevokeTokenDelete(token, options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
-/**
- * CommandsApi - axios parameter creator
- */
-export const CommandsApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Create a new command in the project
- * @summary Create command
- * @param {CommandCreatePostRequest} commandCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandCreatePost: async (commandCreatePostRequest: CommandCreatePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'commandCreatePostRequest' is not null or undefined
- assertParamExists('commandCreatePost', 'commandCreatePostRequest', commandCreatePostRequest)
- const localVarPath = `/command/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(commandCreatePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Delete an existing command
- * @summary Delete command
- * @param {string} id Command ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandDeleteIdDelete: async (id: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('commandDeleteIdDelete', 'id', id)
- const localVarPath = `/command/delete/{id}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication QueryGuard required
- await setApiKeyToObject(localVarHeaderParameter, "x-query-access", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Execute a command with provided data
- * @summary Run command
- * @param {string} id Command ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandRunIdPost: async (id: string, body: object, xTraceId?: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('commandRunIdPost', 'id', id)
- // verify required parameter 'body' is not null or undefined
- assertParamExists('commandRunIdPost', 'body', body)
- const localVarPath = `/command/run/{id}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication QueryGuard required
- await setApiKeyToObject(localVarHeaderParameter, "x-query-access", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- if (xTraceId != null) {
- localVarHeaderParameter['x-trace-id'] = String(xTraceId);
- }
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Update an existing command
- * @summary Update command
- * @param {string} id Command ID
- * @param {CommandUpdateIdPostRequest} commandUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandUpdateIdPost: async (id: string, commandUpdateIdPostRequest: CommandUpdateIdPostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('commandUpdateIdPost', 'id', id)
- // verify required parameter 'commandUpdateIdPostRequest' is not null or undefined
- assertParamExists('commandUpdateIdPost', 'commandUpdateIdPostRequest', commandUpdateIdPostRequest)
- const localVarPath = `/command/update/{id}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication QueryGuard required
- await setApiKeyToObject(localVarHeaderParameter, "x-query-access", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateIdPostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * CommandsApi - functional programming interface
- */
-export const CommandsApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = CommandsApiAxiosParamCreator(configuration)
- return {
- /**
- * Create a new command in the project
- * @summary Create command
- * @param {CommandCreatePostRequest} commandCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async commandCreatePost(commandCreatePostRequest: CommandCreatePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandCreatePost(commandCreatePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['CommandsApi.commandCreatePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Delete an existing command
- * @summary Delete command
- * @param {string} id Command ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async commandDeleteIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandDeleteIdDelete(id, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['CommandsApi.commandDeleteIdDelete']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Execute a command with provided data
- * @summary Run command
- * @param {string} id Command ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async commandRunIdPost(id: string, body: object, xTraceId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandRunIdPost(id, body, xTraceId, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['CommandsApi.commandRunIdPost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Update an existing command
- * @summary Update command
- * @param {string} id Command ID
- * @param {CommandUpdateIdPostRequest} commandUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async commandUpdateIdPost(id: string, commandUpdateIdPostRequest: CommandUpdateIdPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandUpdateIdPost(id, commandUpdateIdPostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['CommandsApi.commandUpdateIdPost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * CommandsApi - factory interface
- */
-export const CommandsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = CommandsApiFp(configuration)
- return {
- /**
- * Create a new command in the project
- * @summary Create command
- * @param {CommandCreatePostRequest} commandCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandCreatePost(commandCreatePostRequest: CommandCreatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.commandCreatePost(commandCreatePostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Delete an existing command
- * @summary Delete command
- * @param {string} id Command ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandDeleteIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.commandDeleteIdDelete(id, options).then((request) => request(axios, basePath));
- },
- /**
- * Execute a command with provided data
- * @summary Run command
- * @param {string} id Command ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandRunIdPost(id: string, body: object, xTraceId?: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.commandRunIdPost(id, body, xTraceId, options).then((request) => request(axios, basePath));
- },
- /**
- * Update an existing command
- * @summary Update command
- * @param {string} id Command ID
- * @param {CommandUpdateIdPostRequest} commandUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- commandUpdateIdPost(id: string, commandUpdateIdPostRequest: CommandUpdateIdPostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.commandUpdateIdPost(id, commandUpdateIdPostRequest, options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * CommandsApi - object-oriented interface
- */
-export class CommandsApi extends BaseAPI {
- /**
- * Create a new command in the project
- * @summary Create command
- * @param {CommandCreatePostRequest} commandCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public commandCreatePost(commandCreatePostRequest: CommandCreatePostRequest, options?: RawAxiosRequestConfig) {
- return CommandsApiFp(this.configuration).commandCreatePost(commandCreatePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Delete an existing command
- * @summary Delete command
- * @param {string} id Command ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public commandDeleteIdDelete(id: string, options?: RawAxiosRequestConfig) {
- return CommandsApiFp(this.configuration).commandDeleteIdDelete(id, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Execute a command with provided data
- * @summary Run command
- * @param {string} id Command ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public commandRunIdPost(id: string, body: object, xTraceId?: string, options?: RawAxiosRequestConfig) {
- return CommandsApiFp(this.configuration).commandRunIdPost(id, body, xTraceId, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Update an existing command
- * @summary Update command
- * @param {string} id Command ID
- * @param {CommandUpdateIdPostRequest} commandUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public commandUpdateIdPost(id: string, commandUpdateIdPostRequest: CommandUpdateIdPostRequest, options?: RawAxiosRequestConfig) {
- return CommandsApiFp(this.configuration).commandUpdateIdPost(id, commandUpdateIdPostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
-/**
- * DatabaseManagementApi - axios parameter creator
- */
-export const DatabaseManagementApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Retrieve columns information for a specific table
- * @summary Get table columns
- * @param {string} databaseId Database ID
- * @param {string} tableName Table name
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseColumnsDatabaseIdTableNameGet: async (databaseId: string, tableName: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseId' is not null or undefined
- assertParamExists('databaseColumnsDatabaseIdTableNameGet', 'databaseId', databaseId)
- // verify required parameter 'tableName' is not null or undefined
- assertParamExists('databaseColumnsDatabaseIdTableNameGet', 'tableName', tableName)
- const localVarPath = `/database/columns/{databaseId}/{tableName}`
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)))
- .replace(`{${"tableName"}}`, encodeURIComponent(String(tableName)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Create a new database for a project
- * @summary Create database
- * @param {DatabaseCreatePostRequest} databaseCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseCreatePost: async (databaseCreatePostRequest: DatabaseCreatePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseCreatePostRequest' is not null or undefined
- assertParamExists('databaseCreatePost', 'databaseCreatePostRequest', databaseCreatePostRequest)
- const localVarPath = `/database/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication AdminAuth required
- await setApiKeyToObject(localVarHeaderParameter, "x-admin-token", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(databaseCreatePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Create a new database migration
- * @summary Create migration
- * @param {DatabaseMigrationCreatePostRequest} databaseMigrationCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseMigrationCreatePost: async (databaseMigrationCreatePostRequest: DatabaseMigrationCreatePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseMigrationCreatePostRequest' is not null or undefined
- assertParamExists('databaseMigrationCreatePost', 'databaseMigrationCreatePostRequest', databaseMigrationCreatePostRequest)
- const localVarPath = `/database/migration/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(databaseMigrationCreatePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Rollback database migrations
- * @summary Run migrations down
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseMigrationDownDatabaseIdGet: async (databaseId: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseId' is not null or undefined
- assertParamExists('databaseMigrationDownDatabaseIdGet', 'databaseId', databaseId)
- const localVarPath = `/database/migration/down/{databaseId}`
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Execute pending database migrations
- * @summary Run migrations up
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseMigrationUpDatabaseIdGet: async (databaseId: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseId' is not null or undefined
- assertParamExists('databaseMigrationUpDatabaseIdGet', 'databaseId', databaseId)
- const localVarPath = `/database/migration/up/{databaseId}`
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Add a new database node to the system
- * @summary Add database node
- * @param {DatabaseNodeCreatePostRequest} databaseNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseNodeCreatePost: async (databaseNodeCreatePostRequest: DatabaseNodeCreatePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseNodeCreatePostRequest' is not null or undefined
- assertParamExists('databaseNodeCreatePost', 'databaseNodeCreatePostRequest', databaseNodeCreatePostRequest)
- const localVarPath = `/database/node/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication AdminAuth required
- await setApiKeyToObject(localVarHeaderParameter, "x-admin-token", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(databaseNodeCreatePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Execute a SQL query on the database
- * @summary Run database query
- * @param {string} databaseId Database ID
- * @param {DatabaseQueryDatabaseIdPostRequest} databaseQueryDatabaseIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseQueryDatabaseIdPost: async (databaseId: string, databaseQueryDatabaseIdPostRequest: DatabaseQueryDatabaseIdPostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseId' is not null or undefined
- assertParamExists('databaseQueryDatabaseIdPost', 'databaseId', databaseId)
- // verify required parameter 'databaseQueryDatabaseIdPostRequest' is not null or undefined
- assertParamExists('databaseQueryDatabaseIdPost', 'databaseQueryDatabaseIdPostRequest', databaseQueryDatabaseIdPostRequest)
- const localVarPath = `/database/query/{databaseId}`
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(databaseQueryDatabaseIdPostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Retrieve list of tables in a database
- * @summary Get database tables
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseTablesDatabaseIdGet: async (databaseId: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'databaseId' is not null or undefined
- assertParamExists('databaseTablesDatabaseIdGet', 'databaseId', databaseId)
- const localVarPath = `/database/tables/{databaseId}`
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * DatabaseManagementApi - functional programming interface
- */
-export const DatabaseManagementApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = DatabaseManagementApiAxiosParamCreator(configuration)
- return {
- /**
- * Retrieve columns information for a specific table
- * @summary Get table columns
- * @param {string} databaseId Database ID
- * @param {string} tableName Table name
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseColumnsDatabaseIdTableNameGet(databaseId: string, tableName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseColumnsDatabaseIdTableNameGet(databaseId, tableName, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseColumnsDatabaseIdTableNameGet']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Create a new database for a project
- * @summary Create database
- * @param {DatabaseCreatePostRequest} databaseCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseCreatePost(databaseCreatePostRequest: DatabaseCreatePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseCreatePost(databaseCreatePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseCreatePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Create a new database migration
- * @summary Create migration
- * @param {DatabaseMigrationCreatePostRequest} databaseMigrationCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseMigrationCreatePost(databaseMigrationCreatePostRequest: DatabaseMigrationCreatePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseMigrationCreatePost(databaseMigrationCreatePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseMigrationCreatePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Rollback database migrations
- * @summary Run migrations down
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseMigrationDownDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseMigrationDownDatabaseIdGet(databaseId, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseMigrationDownDatabaseIdGet']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Execute pending database migrations
- * @summary Run migrations up
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseMigrationUpDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseMigrationUpDatabaseIdGet(databaseId, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseMigrationUpDatabaseIdGet']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Add a new database node to the system
- * @summary Add database node
- * @param {DatabaseNodeCreatePostRequest} databaseNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseNodeCreatePost(databaseNodeCreatePostRequest: DatabaseNodeCreatePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseNodeCreatePost(databaseNodeCreatePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseNodeCreatePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Execute a SQL query on the database
- * @summary Run database query
- * @param {string} databaseId Database ID
- * @param {DatabaseQueryDatabaseIdPostRequest} databaseQueryDatabaseIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseQueryDatabaseIdPost(databaseId: string, databaseQueryDatabaseIdPostRequest: DatabaseQueryDatabaseIdPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseQueryDatabaseIdPost(databaseId, databaseQueryDatabaseIdPostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseQueryDatabaseIdPost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Retrieve list of tables in a database
- * @summary Get database tables
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async databaseTablesDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.databaseTablesDatabaseIdGet(databaseId, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['DatabaseManagementApi.databaseTablesDatabaseIdGet']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * DatabaseManagementApi - factory interface
- */
-export const DatabaseManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = DatabaseManagementApiFp(configuration)
- return {
- /**
- * Retrieve columns information for a specific table
- * @summary Get table columns
- * @param {string} databaseId Database ID
- * @param {string} tableName Table name
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseColumnsDatabaseIdTableNameGet(databaseId: string, tableName: string, options?: RawAxiosRequestConfig): AxiosPromise> {
- return localVarFp.databaseColumnsDatabaseIdTableNameGet(databaseId, tableName, options).then((request) => request(axios, basePath));
- },
- /**
- * Create a new database for a project
- * @summary Create database
- * @param {DatabaseCreatePostRequest} databaseCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseCreatePost(databaseCreatePostRequest: DatabaseCreatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.databaseCreatePost(databaseCreatePostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Create a new database migration
- * @summary Create migration
- * @param {DatabaseMigrationCreatePostRequest} databaseMigrationCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseMigrationCreatePost(databaseMigrationCreatePostRequest: DatabaseMigrationCreatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.databaseMigrationCreatePost(databaseMigrationCreatePostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Rollback database migrations
- * @summary Run migrations down
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseMigrationDownDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.databaseMigrationDownDatabaseIdGet(databaseId, options).then((request) => request(axios, basePath));
- },
- /**
- * Execute pending database migrations
- * @summary Run migrations up
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseMigrationUpDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.databaseMigrationUpDatabaseIdGet(databaseId, options).then((request) => request(axios, basePath));
- },
- /**
- * Add a new database node to the system
- * @summary Add database node
- * @param {DatabaseNodeCreatePostRequest} databaseNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseNodeCreatePost(databaseNodeCreatePostRequest: DatabaseNodeCreatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.databaseNodeCreatePost(databaseNodeCreatePostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Execute a SQL query on the database
- * @summary Run database query
- * @param {string} databaseId Database ID
- * @param {DatabaseQueryDatabaseIdPostRequest} databaseQueryDatabaseIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseQueryDatabaseIdPost(databaseId: string, databaseQueryDatabaseIdPostRequest: DatabaseQueryDatabaseIdPostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.databaseQueryDatabaseIdPost(databaseId, databaseQueryDatabaseIdPostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Retrieve list of tables in a database
- * @summary Get database tables
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- databaseTablesDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise> {
- return localVarFp.databaseTablesDatabaseIdGet(databaseId, options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * DatabaseManagementApi - object-oriented interface
- */
-export class DatabaseManagementApi extends BaseAPI {
- /**
- * Retrieve columns information for a specific table
- * @summary Get table columns
- * @param {string} databaseId Database ID
- * @param {string} tableName Table name
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseColumnsDatabaseIdTableNameGet(databaseId: string, tableName: string, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseColumnsDatabaseIdTableNameGet(databaseId, tableName, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Create a new database for a project
- * @summary Create database
- * @param {DatabaseCreatePostRequest} databaseCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseCreatePost(databaseCreatePostRequest: DatabaseCreatePostRequest, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseCreatePost(databaseCreatePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Create a new database migration
- * @summary Create migration
- * @param {DatabaseMigrationCreatePostRequest} databaseMigrationCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseMigrationCreatePost(databaseMigrationCreatePostRequest: DatabaseMigrationCreatePostRequest, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseMigrationCreatePost(databaseMigrationCreatePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Rollback database migrations
- * @summary Run migrations down
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseMigrationDownDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseMigrationDownDatabaseIdGet(databaseId, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Execute pending database migrations
- * @summary Run migrations up
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseMigrationUpDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseMigrationUpDatabaseIdGet(databaseId, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Add a new database node to the system
- * @summary Add database node
- * @param {DatabaseNodeCreatePostRequest} databaseNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseNodeCreatePost(databaseNodeCreatePostRequest: DatabaseNodeCreatePostRequest, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseNodeCreatePost(databaseNodeCreatePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Execute a SQL query on the database
- * @summary Run database query
- * @param {string} databaseId Database ID
- * @param {DatabaseQueryDatabaseIdPostRequest} databaseQueryDatabaseIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseQueryDatabaseIdPost(databaseId: string, databaseQueryDatabaseIdPostRequest: DatabaseQueryDatabaseIdPostRequest, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseQueryDatabaseIdPost(databaseId, databaseQueryDatabaseIdPostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Retrieve list of tables in a database
- * @summary Get database tables
- * @param {string} databaseId Database ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public databaseTablesDatabaseIdGet(databaseId: string, options?: RawAxiosRequestConfig) {
- return DatabaseManagementApiFp(this.configuration).databaseTablesDatabaseIdGet(databaseId, options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
-/**
- * FunctionsApi - axios parameter creator
- */
-export const FunctionsApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Create a new function in the project
- * @summary Create function
- * @param {FunctionsCreatePostRequest} functionsCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- functionsCreatePost: async (functionsCreatePostRequest: FunctionsCreatePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'functionsCreatePostRequest' is not null or undefined
- assertParamExists('functionsCreatePost', 'functionsCreatePostRequest', functionsCreatePostRequest)
- const localVarPath = `/functions/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(functionsCreatePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Delete a function from the project
- * @summary Delete function
- * @param {FunctionsDeletePostRequest} functionsDeletePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- functionsDeletePost: async (functionsDeletePostRequest: FunctionsDeletePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'functionsDeletePostRequest' is not null or undefined
- assertParamExists('functionsDeletePost', 'functionsDeletePostRequest', functionsDeletePostRequest)
- const localVarPath = `/functions/delete`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(functionsDeletePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * FunctionsApi - functional programming interface
- */
-export const FunctionsApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = FunctionsApiAxiosParamCreator(configuration)
- return {
- /**
- * Create a new function in the project
- * @summary Create function
- * @param {FunctionsCreatePostRequest} functionsCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async functionsCreatePost(functionsCreatePostRequest: FunctionsCreatePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.functionsCreatePost(functionsCreatePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['FunctionsApi.functionsCreatePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Delete a function from the project
- * @summary Delete function
- * @param {FunctionsDeletePostRequest} functionsDeletePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async functionsDeletePost(functionsDeletePostRequest: FunctionsDeletePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.functionsDeletePost(functionsDeletePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['FunctionsApi.functionsDeletePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * FunctionsApi - factory interface
- */
-export const FunctionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = FunctionsApiFp(configuration)
- return {
- /**
- * Create a new function in the project
- * @summary Create function
- * @param {FunctionsCreatePostRequest} functionsCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- functionsCreatePost(functionsCreatePostRequest: FunctionsCreatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.functionsCreatePost(functionsCreatePostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Delete a function from the project
- * @summary Delete function
- * @param {FunctionsDeletePostRequest} functionsDeletePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- functionsDeletePost(functionsDeletePostRequest: FunctionsDeletePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.functionsDeletePost(functionsDeletePostRequest, options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * FunctionsApi - object-oriented interface
- */
-export class FunctionsApi extends BaseAPI {
- /**
- * Create a new function in the project
- * @summary Create function
- * @param {FunctionsCreatePostRequest} functionsCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public functionsCreatePost(functionsCreatePostRequest: FunctionsCreatePostRequest, options?: RawAxiosRequestConfig) {
- return FunctionsApiFp(this.configuration).functionsCreatePost(functionsCreatePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Delete a function from the project
- * @summary Delete function
- * @param {FunctionsDeletePostRequest} functionsDeletePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public functionsDeletePost(functionsDeletePostRequest: FunctionsDeletePostRequest, options?: RawAxiosRequestConfig) {
- return FunctionsApiFp(this.configuration).functionsDeletePost(functionsDeletePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
-/**
- * LoggingApi - axios parameter creator
- */
-export const LoggingApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Find all logs for a project with filtering
- * @summary Find all logs
- * @param {string} id Project ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- loggerIdFindAllPost: async (id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('loggerIdFindAllPost', 'id', id)
- // verify required parameter 'loggerIdFindAllPostRequest' is not null or undefined
- assertParamExists('loggerIdFindAllPost', 'loggerIdFindAllPostRequest', loggerIdFindAllPostRequest)
- const localVarPath = `/logger/{id}/findAll`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(loggerIdFindAllPostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Find logs for a specific query with filtering
- * @summary Find logs for query
- * @param {string} id Query ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- loggerIdFindPost: async (id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('loggerIdFindPost', 'id', id)
- // verify required parameter 'loggerIdFindAllPostRequest' is not null or undefined
- assertParamExists('loggerIdFindPost', 'loggerIdFindAllPostRequest', loggerIdFindAllPostRequest)
- const localVarPath = `/logger/{id}/find`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication QueryGuard required
- await setApiKeyToObject(localVarHeaderParameter, "x-query-access", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(loggerIdFindAllPostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Retrieve log entries by trace ID
- * @summary Get log by trace ID
- * @param {string} id Log ID
- * @param {string} traceId Trace ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- loggerIdTraceIdGet: async (id: string, traceId: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('loggerIdTraceIdGet', 'id', id)
- // verify required parameter 'traceId' is not null or undefined
- assertParamExists('loggerIdTraceIdGet', 'traceId', traceId)
- const localVarPath = `/logger/{id}/{traceId}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
- .replace(`{${"traceId"}}`, encodeURIComponent(String(traceId)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * LoggingApi - functional programming interface
- */
-export const LoggingApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = LoggingApiAxiosParamCreator(configuration)
- return {
- /**
- * Find all logs for a project with filtering
- * @summary Find all logs
- * @param {string} id Project ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async loggerIdFindAllPost(id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.loggerIdFindAllPost(id, loggerIdFindAllPostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['LoggingApi.loggerIdFindAllPost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Find logs for a specific query with filtering
- * @summary Find logs for query
- * @param {string} id Query ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async loggerIdFindPost(id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.loggerIdFindPost(id, loggerIdFindAllPostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['LoggingApi.loggerIdFindPost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Retrieve log entries by trace ID
- * @summary Get log by trace ID
- * @param {string} id Log ID
- * @param {string} traceId Trace ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async loggerIdTraceIdGet(id: string, traceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.loggerIdTraceIdGet(id, traceId, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['LoggingApi.loggerIdTraceIdGet']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * LoggingApi - factory interface
- */
-export const LoggingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = LoggingApiFp(configuration)
- return {
- /**
- * Find all logs for a project with filtering
- * @summary Find all logs
- * @param {string} id Project ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- loggerIdFindAllPost(id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options?: RawAxiosRequestConfig): AxiosPromise> {
- return localVarFp.loggerIdFindAllPost(id, loggerIdFindAllPostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Find logs for a specific query with filtering
- * @summary Find logs for query
- * @param {string} id Query ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- loggerIdFindPost(id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options?: RawAxiosRequestConfig): AxiosPromise> {
- return localVarFp.loggerIdFindPost(id, loggerIdFindAllPostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Retrieve log entries by trace ID
- * @summary Get log by trace ID
- * @param {string} id Log ID
- * @param {string} traceId Trace ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- loggerIdTraceIdGet(id: string, traceId: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.loggerIdTraceIdGet(id, traceId, options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * LoggingApi - object-oriented interface
- */
-export class LoggingApi extends BaseAPI {
- /**
- * Find all logs for a project with filtering
- * @summary Find all logs
- * @param {string} id Project ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public loggerIdFindAllPost(id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options?: RawAxiosRequestConfig) {
- return LoggingApiFp(this.configuration).loggerIdFindAllPost(id, loggerIdFindAllPostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Find logs for a specific query with filtering
- * @summary Find logs for query
- * @param {string} id Query ID
- * @param {LoggerIdFindAllPostRequest} loggerIdFindAllPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public loggerIdFindPost(id: string, loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest, options?: RawAxiosRequestConfig) {
- return LoggingApiFp(this.configuration).loggerIdFindPost(id, loggerIdFindAllPostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Retrieve log entries by trace ID
- * @summary Get log by trace ID
- * @param {string} id Log ID
- * @param {string} traceId Trace ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public loggerIdTraceIdGet(id: string, traceId: string, options?: RawAxiosRequestConfig) {
- return LoggingApiFp(this.configuration).loggerIdTraceIdGet(id, traceId, options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
-/**
- * ProjectManagementApi - axios parameter creator
- */
-export const ProjectManagementApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Retrieve all API tokens for the current project
- * @summary Get all API tokens
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectApiTokensGet: async (options: RawAxiosRequestConfig = {}): Promise => {
- const localVarPath = `/project/api-tokens`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication AdminAuth required
- await setApiKeyToObject(localVarHeaderParameter, "x-admin-token", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Create a new project with database
- * @summary Create project
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectCreatePut: async (projectCreatePutRequest: ProjectCreatePutRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'projectCreatePutRequest' is not null or undefined
- assertParamExists('projectCreatePut', 'projectCreatePutRequest', projectCreatePutRequest)
- const localVarPath = `/project/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(projectCreatePutRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Create a new project without creating a database
- * @summary Create project without database
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectCreateWithoutDbPut: async (projectCreatePutRequest: ProjectCreatePutRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'projectCreatePutRequest' is not null or undefined
- assertParamExists('projectCreateWithoutDbPut', 'projectCreatePutRequest', projectCreatePutRequest)
- const localVarPath = `/project/create-without-db`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication AdminAuth required
- await setApiKeyToObject(localVarHeaderParameter, "x-admin-token", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(projectCreatePutRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Create a new project setting
- * @summary Create project setting
- * @param {ProjectSettingsCreatePutRequest} projectSettingsCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectSettingsCreatePut: async (projectSettingsCreatePutRequest: ProjectSettingsCreatePutRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'projectSettingsCreatePutRequest' is not null or undefined
- assertParamExists('projectSettingsCreatePut', 'projectSettingsCreatePutRequest', projectSettingsCreatePutRequest)
- const localVarPath = `/project/settings/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(projectSettingsCreatePutRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Delete a project setting by key
- * @summary Delete project setting
- * @param {string} key Setting key to delete
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectSettingsDeleteKeyDelete: async (key: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'key' is not null or undefined
- assertParamExists('projectSettingsDeleteKeyDelete', 'key', key)
- const localVarPath = `/project/settings/delete/{key}`
- .replace(`{${"key"}}`, encodeURIComponent(String(key)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Retrieve all settings for the current project
- * @summary Get all project settings
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectSettingsGet: async (options: RawAxiosRequestConfig = {}): Promise => {
- const localVarPath = `/project/settings`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * ProjectManagementApi - functional programming interface
- */
-export const ProjectManagementApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = ProjectManagementApiAxiosParamCreator(configuration)
- return {
- /**
- * Retrieve all API tokens for the current project
- * @summary Get all API tokens
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async projectApiTokensGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.projectApiTokensGet(options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['ProjectManagementApi.projectApiTokensGet']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Create a new project with database
- * @summary Create project
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async projectCreatePut(projectCreatePutRequest: ProjectCreatePutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.projectCreatePut(projectCreatePutRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['ProjectManagementApi.projectCreatePut']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Create a new project without creating a database
- * @summary Create project without database
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async projectCreateWithoutDbPut(projectCreatePutRequest: ProjectCreatePutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.projectCreateWithoutDbPut(projectCreatePutRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['ProjectManagementApi.projectCreateWithoutDbPut']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Create a new project setting
- * @summary Create project setting
- * @param {ProjectSettingsCreatePutRequest} projectSettingsCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async projectSettingsCreatePut(projectSettingsCreatePutRequest: ProjectSettingsCreatePutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.projectSettingsCreatePut(projectSettingsCreatePutRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['ProjectManagementApi.projectSettingsCreatePut']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Delete a project setting by key
- * @summary Delete project setting
- * @param {string} key Setting key to delete
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async projectSettingsDeleteKeyDelete(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.projectSettingsDeleteKeyDelete(key, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['ProjectManagementApi.projectSettingsDeleteKeyDelete']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Retrieve all settings for the current project
- * @summary Get all project settings
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async projectSettingsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.projectSettingsGet(options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['ProjectManagementApi.projectSettingsGet']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * ProjectManagementApi - factory interface
- */
-export const ProjectManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = ProjectManagementApiFp(configuration)
- return {
- /**
- * Retrieve all API tokens for the current project
- * @summary Get all API tokens
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectApiTokensGet(options?: RawAxiosRequestConfig): AxiosPromise> {
- return localVarFp.projectApiTokensGet(options).then((request) => request(axios, basePath));
- },
- /**
- * Create a new project with database
- * @summary Create project
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectCreatePut(projectCreatePutRequest: ProjectCreatePutRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.projectCreatePut(projectCreatePutRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Create a new project without creating a database
- * @summary Create project without database
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectCreateWithoutDbPut(projectCreatePutRequest: ProjectCreatePutRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.projectCreateWithoutDbPut(projectCreatePutRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Create a new project setting
- * @summary Create project setting
- * @param {ProjectSettingsCreatePutRequest} projectSettingsCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectSettingsCreatePut(projectSettingsCreatePutRequest: ProjectSettingsCreatePutRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.projectSettingsCreatePut(projectSettingsCreatePutRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Delete a project setting by key
- * @summary Delete project setting
- * @param {string} key Setting key to delete
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectSettingsDeleteKeyDelete(key: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.projectSettingsDeleteKeyDelete(key, options).then((request) => request(axios, basePath));
- },
- /**
- * Retrieve all settings for the current project
- * @summary Get all project settings
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- projectSettingsGet(options?: RawAxiosRequestConfig): AxiosPromise> {
- return localVarFp.projectSettingsGet(options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * ProjectManagementApi - object-oriented interface
- */
-export class ProjectManagementApi extends BaseAPI {
- /**
- * Retrieve all API tokens for the current project
- * @summary Get all API tokens
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public projectApiTokensGet(options?: RawAxiosRequestConfig) {
- return ProjectManagementApiFp(this.configuration).projectApiTokensGet(options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Create a new project with database
- * @summary Create project
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public projectCreatePut(projectCreatePutRequest: ProjectCreatePutRequest, options?: RawAxiosRequestConfig) {
- return ProjectManagementApiFp(this.configuration).projectCreatePut(projectCreatePutRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Create a new project without creating a database
- * @summary Create project without database
- * @param {ProjectCreatePutRequest} projectCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public projectCreateWithoutDbPut(projectCreatePutRequest: ProjectCreatePutRequest, options?: RawAxiosRequestConfig) {
- return ProjectManagementApiFp(this.configuration).projectCreateWithoutDbPut(projectCreatePutRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Create a new project setting
- * @summary Create project setting
- * @param {ProjectSettingsCreatePutRequest} projectSettingsCreatePutRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public projectSettingsCreatePut(projectSettingsCreatePutRequest: ProjectSettingsCreatePutRequest, options?: RawAxiosRequestConfig) {
- return ProjectManagementApiFp(this.configuration).projectSettingsCreatePut(projectSettingsCreatePutRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Delete a project setting by key
- * @summary Delete project setting
- * @param {string} key Setting key to delete
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public projectSettingsDeleteKeyDelete(key: string, options?: RawAxiosRequestConfig) {
- return ProjectManagementApiFp(this.configuration).projectSettingsDeleteKeyDelete(key, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Retrieve all settings for the current project
- * @summary Get all project settings
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public projectSettingsGet(options?: RawAxiosRequestConfig) {
- return ProjectManagementApiFp(this.configuration).projectSettingsGet(options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
-/**
- * QueriesApi - axios parameter creator
- */
-export const QueriesApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Create a new query in the project
- * @summary Create query
- * @param {QueryCreatePostRequest} queryCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryCreatePost: async (queryCreatePostRequest: QueryCreatePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'queryCreatePostRequest' is not null or undefined
- assertParamExists('queryCreatePost', 'queryCreatePostRequest', queryCreatePostRequest)
- const localVarPath = `/query/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(queryCreatePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Delete an existing query
- * @summary Delete query
- * @param {string} id Query ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryDeleteIdDelete: async (id: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('queryDeleteIdDelete', 'id', id)
- const localVarPath = `/query/delete/{id}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication QueryGuard required
- await setApiKeyToObject(localVarHeaderParameter, "x-query-access", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Execute a query with provided data
- * @summary Run query
- * @param {string} id Query ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryRunIdPost: async (id: string, body: object, xTraceId?: string, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('queryRunIdPost', 'id', id)
- // verify required parameter 'body' is not null or undefined
- assertParamExists('queryRunIdPost', 'body', body)
- const localVarPath = `/query/run/{id}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication QueryGuard required
- await setApiKeyToObject(localVarHeaderParameter, "x-query-access", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- if (xTraceId != null) {
- localVarHeaderParameter['x-trace-id'] = String(xTraceId);
- }
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Update an existing query
- * @summary Update query
- * @param {string} id Query ID
- * @param {QueryUpdateIdPostRequest} queryUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryUpdateIdPost: async (id: string, queryUpdateIdPostRequest: QueryUpdateIdPostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('queryUpdateIdPost', 'id', id)
- // verify required parameter 'queryUpdateIdPostRequest' is not null or undefined
- assertParamExists('queryUpdateIdPost', 'queryUpdateIdPostRequest', queryUpdateIdPostRequest)
- const localVarPath = `/query/update/{id}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication QueryGuard required
- await setApiKeyToObject(localVarHeaderParameter, "x-query-access", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(queryUpdateIdPostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * QueriesApi - functional programming interface
- */
-export const QueriesApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = QueriesApiAxiosParamCreator(configuration)
- return {
- /**
- * Create a new query in the project
- * @summary Create query
- * @param {QueryCreatePostRequest} queryCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async queryCreatePost(queryCreatePostRequest: QueryCreatePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryCreatePost(queryCreatePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['QueriesApi.queryCreatePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Delete an existing query
- * @summary Delete query
- * @param {string} id Query ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async queryDeleteIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryDeleteIdDelete(id, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['QueriesApi.queryDeleteIdDelete']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Execute a query with provided data
- * @summary Run query
- * @param {string} id Query ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async queryRunIdPost(id: string, body: object, xTraceId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryRunIdPost(id, body, xTraceId, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['QueriesApi.queryRunIdPost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- /**
- * Update an existing query
- * @summary Update query
- * @param {string} id Query ID
- * @param {QueryUpdateIdPostRequest} queryUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async queryUpdateIdPost(id: string, queryUpdateIdPostRequest: QueryUpdateIdPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryUpdateIdPost(id, queryUpdateIdPostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['QueriesApi.queryUpdateIdPost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * QueriesApi - factory interface
- */
-export const QueriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = QueriesApiFp(configuration)
- return {
- /**
- * Create a new query in the project
- * @summary Create query
- * @param {QueryCreatePostRequest} queryCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryCreatePost(queryCreatePostRequest: QueryCreatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.queryCreatePost(queryCreatePostRequest, options).then((request) => request(axios, basePath));
- },
- /**
- * Delete an existing query
- * @summary Delete query
- * @param {string} id Query ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryDeleteIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.queryDeleteIdDelete(id, options).then((request) => request(axios, basePath));
- },
- /**
- * Execute a query with provided data
- * @summary Run query
- * @param {string} id Query ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryRunIdPost(id: string, body: object, xTraceId?: string, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.queryRunIdPost(id, body, xTraceId, options).then((request) => request(axios, basePath));
- },
- /**
- * Update an existing query
- * @summary Update query
- * @param {string} id Query ID
- * @param {QueryUpdateIdPostRequest} queryUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- queryUpdateIdPost(id: string, queryUpdateIdPostRequest: QueryUpdateIdPostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.queryUpdateIdPost(id, queryUpdateIdPostRequest, options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * QueriesApi - object-oriented interface
- */
-export class QueriesApi extends BaseAPI {
- /**
- * Create a new query in the project
- * @summary Create query
- * @param {QueryCreatePostRequest} queryCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public queryCreatePost(queryCreatePostRequest: QueryCreatePostRequest, options?: RawAxiosRequestConfig) {
- return QueriesApiFp(this.configuration).queryCreatePost(queryCreatePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Delete an existing query
- * @summary Delete query
- * @param {string} id Query ID
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public queryDeleteIdDelete(id: string, options?: RawAxiosRequestConfig) {
- return QueriesApiFp(this.configuration).queryDeleteIdDelete(id, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Execute a query with provided data
- * @summary Run query
- * @param {string} id Query ID
- * @param {object} body
- * @param {string} [xTraceId] Trace ID for logging
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public queryRunIdPost(id: string, body: object, xTraceId?: string, options?: RawAxiosRequestConfig) {
- return QueriesApiFp(this.configuration).queryRunIdPost(id, body, xTraceId, options).then((request) => request(this.axios, this.basePath));
- }
-
- /**
- * Update an existing query
- * @summary Update query
- * @param {string} id Query ID
- * @param {QueryUpdateIdPostRequest} queryUpdateIdPostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public queryUpdateIdPost(id: string, queryUpdateIdPostRequest: QueryUpdateIdPostRequest, options?: RawAxiosRequestConfig) {
- return QueriesApiFp(this.configuration).queryUpdateIdPost(id, queryUpdateIdPostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
-/**
- * RedisManagementApi - axios parameter creator
- */
-export const RedisManagementApiAxiosParamCreator = function (configuration?: Configuration) {
- return {
- /**
- * Add a new Redis node to the system
- * @summary Add Redis node
- * @param {RedisNodeCreatePostRequest} redisNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- redisNodeCreatePost: async (redisNodeCreatePostRequest: RedisNodeCreatePostRequest, options: RawAxiosRequestConfig = {}): Promise => {
- // verify required parameter 'redisNodeCreatePostRequest' is not null or undefined
- assertParamExists('redisNodeCreatePost', 'redisNodeCreatePostRequest', redisNodeCreatePostRequest)
- const localVarPath = `/redis/node/create`;
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication AdminAuth required
- await setApiKeyToObject(localVarHeaderParameter, "x-admin-token", configuration)
-
- // authentication ApiKeyAuth required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
- localVarRequestOptions.data = serializeDataIfNeeded(redisNodeCreatePostRequest, localVarRequestOptions, configuration)
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- }
-};
-
-/**
- * RedisManagementApi - functional programming interface
- */
-export const RedisManagementApiFp = function(configuration?: Configuration) {
- const localVarAxiosParamCreator = RedisManagementApiAxiosParamCreator(configuration)
- return {
- /**
- * Add a new Redis node to the system
- * @summary Add Redis node
- * @param {RedisNodeCreatePostRequest} redisNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- async redisNodeCreatePost(redisNodeCreatePostRequest: RedisNodeCreatePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.redisNodeCreatePost(redisNodeCreatePostRequest, options);
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
- const localVarOperationServerBasePath = operationServerMap['RedisManagementApi.redisNodeCreatePost']?.[localVarOperationServerIndex]?.url;
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
- },
- }
-};
-
-/**
- * RedisManagementApi - factory interface
- */
-export const RedisManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
- const localVarFp = RedisManagementApiFp(configuration)
- return {
- /**
- * Add a new Redis node to the system
- * @summary Add Redis node
- * @param {RedisNodeCreatePostRequest} redisNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- redisNodeCreatePost(redisNodeCreatePostRequest: RedisNodeCreatePostRequest, options?: RawAxiosRequestConfig): AxiosPromise {
- return localVarFp.redisNodeCreatePost(redisNodeCreatePostRequest, options).then((request) => request(axios, basePath));
- },
- };
-};
-
-/**
- * RedisManagementApi - object-oriented interface
- */
-export class RedisManagementApi extends BaseAPI {
- /**
- * Add a new Redis node to the system
- * @summary Add Redis node
- * @param {RedisNodeCreatePostRequest} redisNodeCreatePostRequest
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- public redisNodeCreatePost(redisNodeCreatePostRequest: RedisNodeCreatePostRequest, options?: RawAxiosRequestConfig) {
- return RedisManagementApiFp(this.configuration).redisNodeCreatePost(redisNodeCreatePostRequest, options).then((request) => request(this.axios, this.basePath));
- }
-}
-
-
-
diff --git a/out/ts/base.ts b/out/ts/base.ts
deleted file mode 100644
index 01dbe6a..0000000
--- a/out/ts/base.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * Low-Code Engine API
- * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-import type { Configuration } from './configuration';
-// Some imports not used depending on template conditions
-// @ts-ignore
-import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
-import globalAxios from 'axios';
-
-export const BASE_PATH = "http://localhost:3000".replace(/\/+$/, "");
-
-export const COLLECTION_FORMATS = {
- csv: ",",
- ssv: " ",
- tsv: "\t",
- pipes: "|",
-};
-
-export interface RequestArgs {
- url: string;
- options: RawAxiosRequestConfig;
-}
-
-export class BaseAPI {
- protected configuration: Configuration | undefined;
-
- constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
- if (configuration) {
- this.configuration = configuration;
- this.basePath = configuration.basePath ?? basePath;
- }
- }
-};
-
-export class RequiredError extends Error {
- constructor(public field: string, msg?: string) {
- super(msg);
- this.name = "RequiredError"
- }
-}
-
-interface ServerMap {
- [key: string]: {
- url: string,
- description: string,
- }[];
-}
-
-export const operationServerMap: ServerMap = {
-}
diff --git a/out/ts/common.ts b/out/ts/common.ts
deleted file mode 100644
index ebc1912..0000000
--- a/out/ts/common.ts
+++ /dev/null
@@ -1,113 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * Low-Code Engine API
- * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-import type { Configuration } from "./configuration";
-import type { RequestArgs } from "./base";
-import type { AxiosInstance, AxiosResponse } from 'axios';
-import { RequiredError } from "./base";
-
-export const DUMMY_BASE_URL = 'https://example.com'
-
-/**
- *
- * @throws {RequiredError}
- */
-export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
- if (paramValue === null || paramValue === undefined) {
- throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
- }
-}
-
-export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
- if (configuration && configuration.apiKey) {
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
- ? await configuration.apiKey(keyParamName)
- : await configuration.apiKey;
- object[keyParamName] = localVarApiKeyValue;
- }
-}
-
-export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
- if (configuration && (configuration.username || configuration.password)) {
- object["auth"] = { username: configuration.username, password: configuration.password };
- }
-}
-
-export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
- if (configuration && configuration.accessToken) {
- const accessToken = typeof configuration.accessToken === 'function'
- ? await configuration.accessToken()
- : await configuration.accessToken;
- object["Authorization"] = "Bearer " + accessToken;
- }
-}
-
-export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
- if (configuration && configuration.accessToken) {
- const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
- ? await configuration.accessToken(name, scopes)
- : await configuration.accessToken;
- object["Authorization"] = "Bearer " + localVarAccessTokenValue;
- }
-}
-
-
-function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
- if (parameter == null) return;
- if (typeof parameter === "object") {
- if (Array.isArray(parameter)) {
- (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
- }
- else {
- Object.keys(parameter).forEach(currentKey =>
- setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
- );
- }
- }
- else {
- if (urlSearchParams.has(key)) {
- urlSearchParams.append(key, parameter);
- }
- else {
- urlSearchParams.set(key, parameter);
- }
- }
-}
-
-export const setSearchParams = function (url: URL, ...objects: any[]) {
- const searchParams = new URLSearchParams(url.search);
- setFlattenedQueryParams(searchParams, objects);
- url.search = searchParams.toString();
-}
-
-export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
- const nonString = typeof value !== 'string';
- const needsSerialization = nonString && configuration && configuration.isJsonMime
- ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
- : nonString;
- return needsSerialization
- ? JSON.stringify(value !== undefined ? value : {})
- : (value || "");
-}
-
-export const toPathString = function (url: URL) {
- return url.pathname + url.search + url.hash
-}
-
-export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
- return >(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
- const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
- return axios.request(axiosRequestArgs);
- };
-}
diff --git a/out/ts/configuration.ts b/out/ts/configuration.ts
deleted file mode 100644
index ffd362f..0000000
--- a/out/ts/configuration.ts
+++ /dev/null
@@ -1,121 +0,0 @@
-/* tslint:disable */
-/**
- * Low-Code Engine API
- * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-interface AWSv4Configuration {
- options?: {
- region?: string
- service?: string
- }
- credentials?: {
- accessKeyId?: string
- secretAccessKey?: string,
- sessionToken?: string
- }
-}
-
-export interface ConfigurationParameters {
- apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise);
- username?: string;
- password?: string;
- accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise);
- awsv4?: AWSv4Configuration;
- basePath?: string;
- serverIndex?: number;
- baseOptions?: any;
- formDataCtor?: new () => any;
-}
-
-export class Configuration {
- /**
- * parameter for apiKey security
- * @param name security name
- */
- apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise);
- /**
- * parameter for basic security
- */
- username?: string;
- /**
- * parameter for basic security
- */
- password?: string;
- /**
- * parameter for oauth2 security
- * @param name security name
- * @param scopes oauth2 scope
- */
- accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise);
- /**
- * parameter for aws4 signature security
- * @param {Object} AWS4Signature - AWS4 Signature security
- * @param {string} options.region - aws region
- * @param {string} options.service - name of the service.
- * @param {string} credentials.accessKeyId - aws access key id
- * @param {string} credentials.secretAccessKey - aws access key
- * @param {string} credentials.sessionToken - aws session token
- * @memberof Configuration
- */
- awsv4?: AWSv4Configuration;
- /**
- * override base path
- */
- basePath?: string;
- /**
- * override server index
- */
- serverIndex?: number;
- /**
- * base options for axios calls
- */
- baseOptions?: any;
- /**
- * The FormData constructor that will be used to create multipart form data
- * requests. You can inject this here so that execution environments that
- * do not support the FormData class can still run the generated client.
- *
- * @type {new () => FormData}
- */
- formDataCtor?: new () => any;
-
- constructor(param: ConfigurationParameters = {}) {
- this.apiKey = param.apiKey;
- this.username = param.username;
- this.password = param.password;
- this.accessToken = param.accessToken;
- this.awsv4 = param.awsv4;
- this.basePath = param.basePath;
- this.serverIndex = param.serverIndex;
- this.baseOptions = {
- ...param.baseOptions,
- headers: {
- ...param.baseOptions?.headers,
- },
- };
- this.formDataCtor = param.formDataCtor;
- }
-
- /**
- * Check if the given MIME is a JSON MIME.
- * JSON MIME examples:
- * application/json
- * application/json; charset=UTF8
- * APPLICATION/JSON
- * application/vnd.company+json
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
- * @return True if the given MIME is JSON, false otherwise.
- */
- public isJsonMime(mime: string): boolean {
- const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
- }
-}
diff --git a/out/ts/docs/APITokensApi.md b/out/ts/docs/APITokensApi.md
deleted file mode 100644
index 42b8c49..0000000
--- a/out/ts/docs/APITokensApi.md
+++ /dev/null
@@ -1,118 +0,0 @@
-# APITokensApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**apiTokenGeneratePost**](#apitokengeneratepost) | **POST** /api/token/generate | Generate API token|
-|[**apiTokenRevokeTokenDelete**](#apitokenrevoketokendelete) | **DELETE** /api/token/revoke/{token} | Revoke API token|
-
-# **apiTokenGeneratePost**
-> Token apiTokenGeneratePost(apiTokenGeneratePostRequest)
-
-Generate a new API token for a project
-
-### Example
-
-```typescript
-import {
- APITokensApi,
- Configuration,
- ApiTokenGeneratePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new APITokensApi(configuration);
-
-let apiTokenGeneratePostRequest: ApiTokenGeneratePostRequest; //
-
-const { status, data } = await apiInstance.apiTokenGeneratePost(
- apiTokenGeneratePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **apiTokenGeneratePostRequest** | **ApiTokenGeneratePostRequest**| | |
-
-
-### Return type
-
-**Token**
-
-### Authorization
-
-[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Token generated successfully | - |
-|**400** | Project ID is required | - |
-|**401** | Unauthorized | - |
-|**403** | Admin access 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)
-
-# **apiTokenRevokeTokenDelete**
-> apiTokenRevokeTokenDelete()
-
-Revoke an existing API token
-
-### Example
-
-```typescript
-import {
- APITokensApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new APITokensApi(configuration);
-
-let token: string; //Token to revoke (default to undefined)
-
-const { status, data } = await apiInstance.apiTokenRevokeTokenDelete(
- token
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **token** | [**string**] | Token to revoke | defaults to undefined|
-
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Token revoked successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Admin access required | - |
-|**404** | Token not found | - |
-
-[[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)
-
diff --git a/out/ts/docs/ApiTokenGeneratePostRequest.md b/out/ts/docs/ApiTokenGeneratePostRequest.md
deleted file mode 100644
index eed3825..0000000
--- a/out/ts/docs/ApiTokenGeneratePostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# ApiTokenGeneratePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Project ID | [default to undefined]
-
-## Example
-
-```typescript
-import { ApiTokenGeneratePostRequest } from './api';
-
-const instance: ApiTokenGeneratePostRequest = {
- id,
-};
-```
-
-[[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/out/ts/docs/CommandCreatePostRequest.md b/out/ts/docs/CommandCreatePostRequest.md
deleted file mode 100644
index f9eac5c..0000000
--- a/out/ts/docs/CommandCreatePostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# CommandCreatePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**source** | **string** | Command source code | [default to undefined]
-
-## Example
-
-```typescript
-import { CommandCreatePostRequest } from './api';
-
-const instance: CommandCreatePostRequest = {
- source,
-};
-```
-
-[[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/out/ts/docs/CommandUpdateIdPostRequest.md b/out/ts/docs/CommandUpdateIdPostRequest.md
deleted file mode 100644
index 7a50e6d..0000000
--- a/out/ts/docs/CommandUpdateIdPostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# CommandUpdateIdPostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**source** | **string** | Updated command source code | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { CommandUpdateIdPostRequest } from './api';
-
-const instance: CommandUpdateIdPostRequest = {
- source,
-};
-```
-
-[[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/out/ts/docs/CommandsApi.md b/out/ts/docs/CommandsApi.md
deleted file mode 100644
index 5608355..0000000
--- a/out/ts/docs/CommandsApi.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# CommandsApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**commandCreatePost**](#commandcreatepost) | **POST** /command/create | Create command|
-|[**commandDeleteIdDelete**](#commanddeleteiddelete) | **DELETE** /command/delete/{id} | Delete command|
-|[**commandRunIdPost**](#commandrunidpost) | **POST** /command/run/{id} | Run command|
-|[**commandUpdateIdPost**](#commandupdateidpost) | **POST** /command/update/{id} | Update command|
-
-# **commandCreatePost**
-> Query commandCreatePost(commandCreatePostRequest)
-
-Create a new command in the project
-
-### Example
-
-```typescript
-import {
- CommandsApi,
- Configuration,
- CommandCreatePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new CommandsApi(configuration);
-
-let commandCreatePostRequest: CommandCreatePostRequest; //
-
-const { status, data } = await apiInstance.commandCreatePost(
- commandCreatePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **commandCreatePostRequest** | **CommandCreatePostRequest**| | |
-
-
-### Return type
-
-**Query**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Command created successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
-# **commandDeleteIdDelete**
-> commandDeleteIdDelete()
-
-Delete an existing command
-
-### Example
-
-```typescript
-import {
- CommandsApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new CommandsApi(configuration);
-
-let id: string; //Command ID (default to undefined)
-
-const { status, data } = await apiInstance.commandDeleteIdDelete(
- id
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **id** | [**string**] | Command ID | defaults to undefined|
-
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Command deleted successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Query access required | - |
-|**404** | Command not found | - |
-
-[[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)
-
-# **commandRunIdPost**
-> object commandRunIdPost(body)
-
-Execute a command with provided data
-
-### Example
-
-```typescript
-import {
- CommandsApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new CommandsApi(configuration);
-
-let id: string; //Command ID (default to undefined)
-let body: object; //
-let xTraceId: string; //Trace ID for logging (optional) (default to undefined)
-
-const { status, data } = await apiInstance.commandRunIdPost(
- id,
- body,
- xTraceId
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **body** | **object**| | |
-| **id** | [**string**] | Command ID | defaults to undefined|
-| **xTraceId** | [**string**] | Trace ID for logging | (optional) defaults to undefined|
-
-
-### Return type
-
-**object**
-
-### Authorization
-
-[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Command executed successfully | - |
-|**302** | Redirect response | - |
-|**401** | Unauthorized | - |
-|**403** | Query access required | - |
-|**404** | Command not found | - |
-|**500** | Internal Server Error | - |
-
-[[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)
-
-# **commandUpdateIdPost**
-> Query commandUpdateIdPost(commandUpdateIdPostRequest)
-
-Update an existing command
-
-### Example
-
-```typescript
-import {
- CommandsApi,
- Configuration,
- CommandUpdateIdPostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new CommandsApi(configuration);
-
-let id: string; //Command ID (default to undefined)
-let commandUpdateIdPostRequest: CommandUpdateIdPostRequest; //
-
-const { status, data } = await apiInstance.commandUpdateIdPost(
- id,
- commandUpdateIdPostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **commandUpdateIdPostRequest** | **CommandUpdateIdPostRequest**| | |
-| **id** | [**string**] | Command ID | defaults to undefined|
-
-
-### Return type
-
-**Query**
-
-### Authorization
-
-[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Command updated successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Query access required | - |
-|**404** | Command not found | - |
-
-[[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)
-
diff --git a/out/ts/docs/Database.md b/out/ts/docs/Database.md
deleted file mode 100644
index 35352fd..0000000
--- a/out/ts/docs/Database.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# Database
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique database identifier | [optional] [default to undefined]
-**q_username** | **string** | Query username for database access | [optional] [default to undefined]
-**c_username** | **string** | Command username for database access | [optional] [default to undefined]
-**password** | **string** | Database password | [optional] [default to undefined]
-**database** | **string** | Database name | [optional] [default to undefined]
-**migrations** | [**Array<Migration>**](Migration.md) | | [optional] [default to undefined]
-**project** | [**Project**](Project.md) | | [optional] [default to undefined]
-**node** | [**DatabaseNode**](DatabaseNode.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Database } from './api';
-
-const instance: Database = {
- id,
- q_username,
- c_username,
- password,
- database,
- migrations,
- project,
- node,
-};
-```
-
-[[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/out/ts/docs/DatabaseCreatePostRequest.md b/out/ts/docs/DatabaseCreatePostRequest.md
deleted file mode 100644
index 4c0b77a..0000000
--- a/out/ts/docs/DatabaseCreatePostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# DatabaseCreatePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**projectId** | **string** | Project ID | [default to undefined]
-
-## Example
-
-```typescript
-import { DatabaseCreatePostRequest } from './api';
-
-const instance: DatabaseCreatePostRequest = {
- projectId,
-};
-```
-
-[[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/out/ts/docs/DatabaseManagementApi.md b/out/ts/docs/DatabaseManagementApi.md
deleted file mode 100644
index fbdb60a..0000000
--- a/out/ts/docs/DatabaseManagementApi.md
+++ /dev/null
@@ -1,448 +0,0 @@
-# DatabaseManagementApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**databaseColumnsDatabaseIdTableNameGet**](#databasecolumnsdatabaseidtablenameget) | **GET** /database/columns/{databaseId}/{tableName} | Get table columns|
-|[**databaseCreatePost**](#databasecreatepost) | **POST** /database/create | Create database|
-|[**databaseMigrationCreatePost**](#databasemigrationcreatepost) | **POST** /database/migration/create | Create migration|
-|[**databaseMigrationDownDatabaseIdGet**](#databasemigrationdowndatabaseidget) | **GET** /database/migration/down/{databaseId} | Run migrations down|
-|[**databaseMigrationUpDatabaseIdGet**](#databasemigrationupdatabaseidget) | **GET** /database/migration/up/{databaseId} | Run migrations up|
-|[**databaseNodeCreatePost**](#databasenodecreatepost) | **POST** /database/node/create | Add database node|
-|[**databaseQueryDatabaseIdPost**](#databasequerydatabaseidpost) | **POST** /database/query/{databaseId} | Run database query|
-|[**databaseTablesDatabaseIdGet**](#databasetablesdatabaseidget) | **GET** /database/tables/{databaseId} | Get database tables|
-
-# **databaseColumnsDatabaseIdTableNameGet**
-> Array databaseColumnsDatabaseIdTableNameGet()
-
-Retrieve columns information for a specific table
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseId: string; //Database ID (default to undefined)
-let tableName: string; //Table name (default to undefined)
-
-const { status, data } = await apiInstance.databaseColumnsDatabaseIdTableNameGet(
- databaseId,
- tableName
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseId** | [**string**] | Database ID | defaults to undefined|
-| **tableName** | [**string**] | Table name | defaults to undefined|
-
-
-### Return type
-
-**Array**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Columns retrieved successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Database or table not found | - |
-
-[[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)
-
-# **databaseCreatePost**
-> Database databaseCreatePost(databaseCreatePostRequest)
-
-Create a new database for a project
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration,
- DatabaseCreatePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseCreatePostRequest: DatabaseCreatePostRequest; //
-
-const { status, data } = await apiInstance.databaseCreatePost(
- databaseCreatePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseCreatePostRequest** | **DatabaseCreatePostRequest**| | |
-
-
-### Return type
-
-**Database**
-
-### Authorization
-
-[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Database created successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Admin access 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)
-
-# **databaseMigrationCreatePost**
-> Migration databaseMigrationCreatePost(databaseMigrationCreatePostRequest)
-
-Create a new database migration
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration,
- DatabaseMigrationCreatePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseMigrationCreatePostRequest: DatabaseMigrationCreatePostRequest; //
-
-const { status, data } = await apiInstance.databaseMigrationCreatePost(
- databaseMigrationCreatePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseMigrationCreatePostRequest** | **DatabaseMigrationCreatePostRequest**| | |
-
-
-### Return type
-
-**Migration**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Migration created successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
-# **databaseMigrationDownDatabaseIdGet**
-> databaseMigrationDownDatabaseIdGet()
-
-Rollback database migrations
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseId: string; //Database ID (default to undefined)
-
-const { status, data } = await apiInstance.databaseMigrationDownDatabaseIdGet(
- databaseId
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseId** | [**string**] | Database ID | defaults to undefined|
-
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Migrations rolled back successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Database not found | - |
-
-[[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)
-
-# **databaseMigrationUpDatabaseIdGet**
-> databaseMigrationUpDatabaseIdGet()
-
-Execute pending database migrations
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseId: string; //Database ID (default to undefined)
-
-const { status, data } = await apiInstance.databaseMigrationUpDatabaseIdGet(
- databaseId
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseId** | [**string**] | Database ID | defaults to undefined|
-
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Migrations executed successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Database not found | - |
-
-[[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)
-
-# **databaseNodeCreatePost**
-> DatabaseNode databaseNodeCreatePost(databaseNodeCreatePostRequest)
-
-Add a new database node to the system
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration,
- DatabaseNodeCreatePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseNodeCreatePostRequest: DatabaseNodeCreatePostRequest; //
-
-const { status, data } = await apiInstance.databaseNodeCreatePost(
- databaseNodeCreatePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseNodeCreatePostRequest** | **DatabaseNodeCreatePostRequest**| | |
-
-
-### Return type
-
-**DatabaseNode**
-
-### Authorization
-
-[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Database node created successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Admin access 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)
-
-# **databaseQueryDatabaseIdPost**
-> object databaseQueryDatabaseIdPost(databaseQueryDatabaseIdPostRequest)
-
-Execute a SQL query on the database
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration,
- DatabaseQueryDatabaseIdPostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseId: string; //Database ID (default to undefined)
-let databaseQueryDatabaseIdPostRequest: DatabaseQueryDatabaseIdPostRequest; //
-
-const { status, data } = await apiInstance.databaseQueryDatabaseIdPost(
- databaseId,
- databaseQueryDatabaseIdPostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseQueryDatabaseIdPostRequest** | **DatabaseQueryDatabaseIdPostRequest**| | |
-| **databaseId** | [**string**] | Database ID | defaults to undefined|
-
-
-### Return type
-
-**object**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Query executed successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Database not found | - |
-
-[[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)
-
-# **databaseTablesDatabaseIdGet**
-> Array databaseTablesDatabaseIdGet()
-
-Retrieve list of tables in a database
-
-### Example
-
-```typescript
-import {
- DatabaseManagementApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new DatabaseManagementApi(configuration);
-
-let databaseId: string; //Database ID (default to undefined)
-
-const { status, data } = await apiInstance.databaseTablesDatabaseIdGet(
- databaseId
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **databaseId** | [**string**] | Database ID | defaults to undefined|
-
-
-### Return type
-
-**Array**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Tables retrieved successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Database not found | - |
-
-[[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)
-
diff --git a/out/ts/docs/DatabaseMigrationCreatePostRequest.md b/out/ts/docs/DatabaseMigrationCreatePostRequest.md
deleted file mode 100644
index 6d07845..0000000
--- a/out/ts/docs/DatabaseMigrationCreatePostRequest.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# DatabaseMigrationCreatePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**up** | **string** | Migration up SQL | [default to undefined]
-**down** | **string** | Migration down SQL | [default to undefined]
-**databaseId** | **string** | Database ID | [default to undefined]
-
-## Example
-
-```typescript
-import { DatabaseMigrationCreatePostRequest } from './api';
-
-const instance: DatabaseMigrationCreatePostRequest = {
- up,
- down,
- databaseId,
-};
-```
-
-[[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/out/ts/docs/DatabaseNode.md b/out/ts/docs/DatabaseNode.md
deleted file mode 100644
index 5604c71..0000000
--- a/out/ts/docs/DatabaseNode.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# DatabaseNode
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique database node identifier | [optional] [default to undefined]
-**host** | **string** | Database host | [optional] [default to undefined]
-**port** | **number** | Database port | [optional] [default to undefined]
-**username** | **string** | Database username | [optional] [default to undefined]
-**password** | **string** | Database password | [optional] [default to undefined]
-**databases** | [**Array<Database>**](Database.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { DatabaseNode } from './api';
-
-const instance: DatabaseNode = {
- id,
- host,
- port,
- username,
- password,
- databases,
-};
-```
-
-[[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/out/ts/docs/DatabaseNodeCreatePostRequest.md b/out/ts/docs/DatabaseNodeCreatePostRequest.md
deleted file mode 100644
index b64a825..0000000
--- a/out/ts/docs/DatabaseNodeCreatePostRequest.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# DatabaseNodeCreatePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**host** | **string** | Database host | [default to undefined]
-**port** | **number** | Database port | [default to undefined]
-**username** | **string** | Database username | [default to undefined]
-**password** | **string** | Database password | [default to undefined]
-
-## Example
-
-```typescript
-import { DatabaseNodeCreatePostRequest } from './api';
-
-const instance: DatabaseNodeCreatePostRequest = {
- host,
- port,
- username,
- password,
-};
-```
-
-[[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/out/ts/docs/DatabaseQueryDatabaseIdPostRequest.md b/out/ts/docs/DatabaseQueryDatabaseIdPostRequest.md
deleted file mode 100644
index ce9d135..0000000
--- a/out/ts/docs/DatabaseQueryDatabaseIdPostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# DatabaseQueryDatabaseIdPostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**query** | **string** | SQL query to execute | [default to undefined]
-
-## Example
-
-```typescript
-import { DatabaseQueryDatabaseIdPostRequest } from './api';
-
-const instance: DatabaseQueryDatabaseIdPostRequest = {
- query,
-};
-```
-
-[[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/out/ts/docs/Error.md b/out/ts/docs/Error.md
deleted file mode 100644
index bc06791..0000000
--- a/out/ts/docs/Error.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# ModelError
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**error** | **string** | Error message | [optional] [default to undefined]
-**details** | **string** | Error details | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { ModelError } from './api';
-
-const instance: ModelError = {
- error,
- details,
-};
-```
-
-[[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/out/ts/docs/Function.md b/out/ts/docs/Function.md
deleted file mode 100644
index 1ea6195..0000000
--- a/out/ts/docs/Function.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Function
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique function identifier | [optional] [default to undefined]
-**name** | **string** | Function name | [optional] [default to undefined]
-**source** | **string** | Function source code | [optional] [default to undefined]
-**project** | [**Project**](Project.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Function } from './api';
-
-const instance: Function = {
- id,
- name,
- source,
- project,
-};
-```
-
-[[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/out/ts/docs/FunctionsApi.md b/out/ts/docs/FunctionsApi.md
deleted file mode 100644
index 3f72c72..0000000
--- a/out/ts/docs/FunctionsApi.md
+++ /dev/null
@@ -1,116 +0,0 @@
-# FunctionsApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**functionsCreatePost**](#functionscreatepost) | **POST** /functions/create | Create function|
-|[**functionsDeletePost**](#functionsdeletepost) | **POST** /functions/delete | Delete function|
-
-# **functionsCreatePost**
-> Function functionsCreatePost(functionsCreatePostRequest)
-
-Create a new function in the project
-
-### Example
-
-```typescript
-import {
- FunctionsApi,
- Configuration,
- FunctionsCreatePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new FunctionsApi(configuration);
-
-let functionsCreatePostRequest: FunctionsCreatePostRequest; //
-
-const { status, data } = await apiInstance.functionsCreatePost(
- functionsCreatePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **functionsCreatePostRequest** | **FunctionsCreatePostRequest**| | |
-
-
-### Return type
-
-**Function**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Function created successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
-# **functionsDeletePost**
-> functionsDeletePost(functionsDeletePostRequest)
-
-Delete a function from the project
-
-### Example
-
-```typescript
-import {
- FunctionsApi,
- Configuration,
- FunctionsDeletePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new FunctionsApi(configuration);
-
-let functionsDeletePostRequest: FunctionsDeletePostRequest; //
-
-const { status, data } = await apiInstance.functionsDeletePost(
- functionsDeletePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **functionsDeletePostRequest** | **FunctionsDeletePostRequest**| | |
-
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Function deleted successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Function not found | - |
-
-[[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)
-
diff --git a/out/ts/docs/FunctionsCreatePostRequest.md b/out/ts/docs/FunctionsCreatePostRequest.md
deleted file mode 100644
index 3ba932c..0000000
--- a/out/ts/docs/FunctionsCreatePostRequest.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# FunctionsCreatePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **string** | Function name | [default to undefined]
-**source** | **string** | Function source code | [default to undefined]
-
-## Example
-
-```typescript
-import { FunctionsCreatePostRequest } from './api';
-
-const instance: FunctionsCreatePostRequest = {
- name,
- source,
-};
-```
-
-[[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/out/ts/docs/FunctionsDeletePostRequest.md b/out/ts/docs/FunctionsDeletePostRequest.md
deleted file mode 100644
index 4cdc3d0..0000000
--- a/out/ts/docs/FunctionsDeletePostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# FunctionsDeletePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **string** | Function name to delete | [default to undefined]
-
-## Example
-
-```typescript
-import { FunctionsDeletePostRequest } from './api';
-
-const instance: FunctionsDeletePostRequest = {
- name,
-};
-```
-
-[[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/out/ts/docs/Log.md b/out/ts/docs/Log.md
deleted file mode 100644
index ac364cc..0000000
--- a/out/ts/docs/Log.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# Log
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique log identifier | [optional] [default to undefined]
-**traceId** | **string** | Trace ID for tracking requests | [optional] [default to undefined]
-**startTime** | **number** | Request start timestamp | [optional] [default to undefined]
-**endTime** | **number** | Request end timestamp | [optional] [default to undefined]
-**payload** | **object** | Request payload | [optional] [default to undefined]
-**headers** | **object** | Request headers | [optional] [default to undefined]
-**cookies** | **string** | Request cookies | [optional] [default to undefined]
-**url** | **string** | Request URL | [optional] [default to undefined]
-**response** | **object** | Response data | [optional] [default to undefined]
-**content** | [**Array<LogContentInner>**](LogContentInner.md) | | [optional] [default to undefined]
-**project** | [**Project**](Project.md) | | [optional] [default to undefined]
-**query** | [**Query**](Query.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Log } from './api';
-
-const instance: Log = {
- id,
- traceId,
- startTime,
- endTime,
- payload,
- headers,
- cookies,
- url,
- response,
- content,
- project,
- query,
-};
-```
-
-[[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/out/ts/docs/LogContentInner.md b/out/ts/docs/LogContentInner.md
deleted file mode 100644
index 7c8d170..0000000
--- a/out/ts/docs/LogContentInner.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# LogContentInner
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **string** | Log content | [optional] [default to undefined]
-**type** | **string** | Log type (info, error, warning) | [optional] [default to undefined]
-**timeStamp** | **number** | Log entry timestamp | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { LogContentInner } from './api';
-
-const instance: LogContentInner = {
- content,
- type,
- timeStamp,
-};
-```
-
-[[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/out/ts/docs/LoggerIdFindAllPostRequest.md b/out/ts/docs/LoggerIdFindAllPostRequest.md
deleted file mode 100644
index 8300cfa..0000000
--- a/out/ts/docs/LoggerIdFindAllPostRequest.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# LoggerIdFindAllPostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**traceId** | **string** | Filter by trace ID | [optional] [default to undefined]
-**fromDate** | **string** | Filter from date | [optional] [default to undefined]
-**toDate** | **string** | Filter to date | [optional] [default to undefined]
-**url** | **string** | Filter by URL | [optional] [default to undefined]
-**limit** | **number** | Number of results to return | [default to undefined]
-**offset** | **number** | Number of results to skip | [default to undefined]
-
-## Example
-
-```typescript
-import { LoggerIdFindAllPostRequest } from './api';
-
-const instance: LoggerIdFindAllPostRequest = {
- traceId,
- fromDate,
- toDate,
- url,
- limit,
- offset,
-};
-```
-
-[[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/out/ts/docs/LoggingApi.md b/out/ts/docs/LoggingApi.md
deleted file mode 100644
index a5906ac..0000000
--- a/out/ts/docs/LoggingApi.md
+++ /dev/null
@@ -1,179 +0,0 @@
-# LoggingApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**loggerIdFindAllPost**](#loggeridfindallpost) | **POST** /logger/{id}/findAll | Find all logs|
-|[**loggerIdFindPost**](#loggeridfindpost) | **POST** /logger/{id}/find | Find logs for query|
-|[**loggerIdTraceIdGet**](#loggeridtraceidget) | **GET** /logger/{id}/{traceId} | Get log by trace ID|
-
-# **loggerIdFindAllPost**
-> Array loggerIdFindAllPost(loggerIdFindAllPostRequest)
-
-Find all logs for a project with filtering
-
-### Example
-
-```typescript
-import {
- LoggingApi,
- Configuration,
- LoggerIdFindAllPostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new LoggingApi(configuration);
-
-let id: string; //Project ID (default to undefined)
-let loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest; //
-
-const { status, data } = await apiInstance.loggerIdFindAllPost(
- id,
- loggerIdFindAllPostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **loggerIdFindAllPostRequest** | **LoggerIdFindAllPostRequest**| | |
-| **id** | [**string**] | Project ID | defaults to undefined|
-
-
-### Return type
-
-**Array**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Logs retrieved successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
-# **loggerIdFindPost**
-> Array loggerIdFindPost(loggerIdFindAllPostRequest)
-
-Find logs for a specific query with filtering
-
-### Example
-
-```typescript
-import {
- LoggingApi,
- Configuration,
- LoggerIdFindAllPostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new LoggingApi(configuration);
-
-let id: string; //Query ID (default to undefined)
-let loggerIdFindAllPostRequest: LoggerIdFindAllPostRequest; //
-
-const { status, data } = await apiInstance.loggerIdFindPost(
- id,
- loggerIdFindAllPostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **loggerIdFindAllPostRequest** | **LoggerIdFindAllPostRequest**| | |
-| **id** | [**string**] | Query ID | defaults to undefined|
-
-
-### Return type
-
-**Array**
-
-### Authorization
-
-[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Logs retrieved successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Query access 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)
-
-# **loggerIdTraceIdGet**
-> Log loggerIdTraceIdGet()
-
-Retrieve log entries by trace ID
-
-### Example
-
-```typescript
-import {
- LoggingApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new LoggingApi(configuration);
-
-let id: string; //Log ID (default to undefined)
-let traceId: string; //Trace ID (default to undefined)
-
-const { status, data } = await apiInstance.loggerIdTraceIdGet(
- id,
- traceId
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **id** | [**string**] | Log ID | defaults to undefined|
-| **traceId** | [**string**] | Trace ID | defaults to undefined|
-
-
-### Return type
-
-**Log**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Log retrieved successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Log not found | - |
-
-[[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)
-
diff --git a/out/ts/docs/Migration.md b/out/ts/docs/Migration.md
deleted file mode 100644
index e1e9b73..0000000
--- a/out/ts/docs/Migration.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Migration
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique migration identifier | [optional] [default to undefined]
-**up** | **string** | Migration up SQL | [optional] [default to undefined]
-**down** | **string** | Migration down SQL | [optional] [default to undefined]
-**database** | [**Database**](Database.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Migration } from './api';
-
-const instance: Migration = {
- id,
- up,
- down,
- database,
-};
-```
-
-[[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/out/ts/docs/Project.md b/out/ts/docs/Project.md
deleted file mode 100644
index 0a376e6..0000000
--- a/out/ts/docs/Project.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# Project
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique project identifier | [optional] [default to undefined]
-**name** | **string** | Project name | [optional] [default to undefined]
-**apiTokens** | [**Array<Token>**](Token.md) | | [optional] [default to undefined]
-**database** | [**Database**](Database.md) | | [optional] [default to undefined]
-**queries** | [**Array<Query>**](Query.md) | | [optional] [default to undefined]
-**functions** | [**Array<Function>**](Function.md) | | [optional] [default to undefined]
-**settings** | [**Array<ProjectSetting>**](ProjectSetting.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Project } from './api';
-
-const instance: Project = {
- id,
- name,
- apiTokens,
- database,
- queries,
- functions,
- settings,
-};
-```
-
-[[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/out/ts/docs/ProjectCreatePutRequest.md b/out/ts/docs/ProjectCreatePutRequest.md
deleted file mode 100644
index 7bf679c..0000000
--- a/out/ts/docs/ProjectCreatePutRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# ProjectCreatePutRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **string** | Project name | [default to undefined]
-
-## Example
-
-```typescript
-import { ProjectCreatePutRequest } from './api';
-
-const instance: ProjectCreatePutRequest = {
- name,
-};
-```
-
-[[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/out/ts/docs/ProjectManagementApi.md b/out/ts/docs/ProjectManagementApi.md
deleted file mode 100644
index 43d9500..0000000
--- a/out/ts/docs/ProjectManagementApi.md
+++ /dev/null
@@ -1,317 +0,0 @@
-# ProjectManagementApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**projectApiTokensGet**](#projectapitokensget) | **GET** /project/api-tokens | Get all API tokens|
-|[**projectCreatePut**](#projectcreateput) | **PUT** /project/create | Create project|
-|[**projectCreateWithoutDbPut**](#projectcreatewithoutdbput) | **PUT** /project/create-without-db | Create project without database|
-|[**projectSettingsCreatePut**](#projectsettingscreateput) | **PUT** /project/settings/create | Create project setting|
-|[**projectSettingsDeleteKeyDelete**](#projectsettingsdeletekeydelete) | **DELETE** /project/settings/delete/{key} | Delete project setting|
-|[**projectSettingsGet**](#projectsettingsget) | **GET** /project/settings | Get all project settings|
-
-# **projectApiTokensGet**
-> Array projectApiTokensGet()
-
-Retrieve all API tokens for the current project
-
-### Example
-
-```typescript
-import {
- ProjectManagementApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new ProjectManagementApi(configuration);
-
-const { status, data } = await apiInstance.projectApiTokensGet();
-```
-
-### Parameters
-This endpoint does not have any parameters.
-
-
-### Return type
-
-**Array**
-
-### Authorization
-
-[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | API tokens retrieved successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Admin access 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)
-
-# **projectCreatePut**
-> Project projectCreatePut(projectCreatePutRequest)
-
-Create a new project with database
-
-### Example
-
-```typescript
-import {
- ProjectManagementApi,
- Configuration,
- ProjectCreatePutRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new ProjectManagementApi(configuration);
-
-let projectCreatePutRequest: ProjectCreatePutRequest; //
-
-const { status, data } = await apiInstance.projectCreatePut(
- projectCreatePutRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **projectCreatePutRequest** | **ProjectCreatePutRequest**| | |
-
-
-### Return type
-
-**Project**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Project created successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
-# **projectCreateWithoutDbPut**
-> Project projectCreateWithoutDbPut(projectCreatePutRequest)
-
-Create a new project without creating a database
-
-### Example
-
-```typescript
-import {
- ProjectManagementApi,
- Configuration,
- ProjectCreatePutRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new ProjectManagementApi(configuration);
-
-let projectCreatePutRequest: ProjectCreatePutRequest; //
-
-const { status, data } = await apiInstance.projectCreateWithoutDbPut(
- projectCreatePutRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **projectCreatePutRequest** | **ProjectCreatePutRequest**| | |
-
-
-### Return type
-
-**Project**
-
-### Authorization
-
-[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Project created successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Admin access 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)
-
-# **projectSettingsCreatePut**
-> ProjectSetting projectSettingsCreatePut(projectSettingsCreatePutRequest)
-
-Create a new project setting
-
-### Example
-
-```typescript
-import {
- ProjectManagementApi,
- Configuration,
- ProjectSettingsCreatePutRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new ProjectManagementApi(configuration);
-
-let projectSettingsCreatePutRequest: ProjectSettingsCreatePutRequest; //
-
-const { status, data } = await apiInstance.projectSettingsCreatePut(
- projectSettingsCreatePutRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **projectSettingsCreatePutRequest** | **ProjectSettingsCreatePutRequest**| | |
-
-
-### Return type
-
-**ProjectSetting**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Setting created successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
-# **projectSettingsDeleteKeyDelete**
-> projectSettingsDeleteKeyDelete()
-
-Delete a project setting by key
-
-### Example
-
-```typescript
-import {
- ProjectManagementApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new ProjectManagementApi(configuration);
-
-let key: string; //Setting key to delete (default to undefined)
-
-const { status, data } = await apiInstance.projectSettingsDeleteKeyDelete(
- key
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **key** | [**string**] | Setting key to delete | defaults to undefined|
-
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Setting deleted successfully | - |
-|**401** | Unauthorized | - |
-|**404** | Setting not found | - |
-
-[[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)
-
-# **projectSettingsGet**
-> Array projectSettingsGet()
-
-Retrieve all settings for the current project
-
-### Example
-
-```typescript
-import {
- ProjectManagementApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new ProjectManagementApi(configuration);
-
-const { status, data } = await apiInstance.projectSettingsGet();
-```
-
-### Parameters
-This endpoint does not have any parameters.
-
-
-### Return type
-
-**Array**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Settings retrieved successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
diff --git a/out/ts/docs/ProjectSetting.md b/out/ts/docs/ProjectSetting.md
deleted file mode 100644
index 7910c16..0000000
--- a/out/ts/docs/ProjectSetting.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# ProjectSetting
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique setting identifier | [optional] [default to undefined]
-**key** | **string** | Setting key | [optional] [default to undefined]
-**value** | **string** | Setting value | [optional] [default to undefined]
-**project** | [**Project**](Project.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { ProjectSetting } from './api';
-
-const instance: ProjectSetting = {
- id,
- key,
- value,
- project,
-};
-```
-
-[[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/out/ts/docs/ProjectSettingsCreatePutRequest.md b/out/ts/docs/ProjectSettingsCreatePutRequest.md
deleted file mode 100644
index ca1b897..0000000
--- a/out/ts/docs/ProjectSettingsCreatePutRequest.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# ProjectSettingsCreatePutRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**key** | **string** | Setting key | [default to undefined]
-**value** | **string** | Setting value | [default to undefined]
-
-## Example
-
-```typescript
-import { ProjectSettingsCreatePutRequest } from './api';
-
-const instance: ProjectSettingsCreatePutRequest = {
- key,
- value,
-};
-```
-
-[[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/out/ts/docs/QueriesApi.md b/out/ts/docs/QueriesApi.md
deleted file mode 100644
index 04de72d..0000000
--- a/out/ts/docs/QueriesApi.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# QueriesApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**queryCreatePost**](#querycreatepost) | **POST** /query/create | Create query|
-|[**queryDeleteIdDelete**](#querydeleteiddelete) | **DELETE** /query/delete/{id} | Delete query|
-|[**queryRunIdPost**](#queryrunidpost) | **POST** /query/run/{id} | Run query|
-|[**queryUpdateIdPost**](#queryupdateidpost) | **POST** /query/update/{id} | Update query|
-
-# **queryCreatePost**
-> Query queryCreatePost(queryCreatePostRequest)
-
-Create a new query in the project
-
-### Example
-
-```typescript
-import {
- QueriesApi,
- Configuration,
- QueryCreatePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new QueriesApi(configuration);
-
-let queryCreatePostRequest: QueryCreatePostRequest; //
-
-const { status, data } = await apiInstance.queryCreatePost(
- queryCreatePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **queryCreatePostRequest** | **QueryCreatePostRequest**| | |
-
-
-### Return type
-
-**Query**
-
-### Authorization
-
-[ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Query created successfully | - |
-|**401** | Unauthorized | - |
-
-[[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)
-
-# **queryDeleteIdDelete**
-> queryDeleteIdDelete()
-
-Delete an existing query
-
-### Example
-
-```typescript
-import {
- QueriesApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new QueriesApi(configuration);
-
-let id: string; //Query ID (default to undefined)
-
-const { status, data } = await apiInstance.queryDeleteIdDelete(
- id
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **id** | [**string**] | Query ID | defaults to undefined|
-
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Query deleted successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Query access required | - |
-|**404** | Query not found | - |
-
-[[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)
-
-# **queryRunIdPost**
-> object queryRunIdPost(body)
-
-Execute a query with provided data
-
-### Example
-
-```typescript
-import {
- QueriesApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new QueriesApi(configuration);
-
-let id: string; //Query ID (default to undefined)
-let body: object; //
-let xTraceId: string; //Trace ID for logging (optional) (default to undefined)
-
-const { status, data } = await apiInstance.queryRunIdPost(
- id,
- body,
- xTraceId
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **body** | **object**| | |
-| **id** | [**string**] | Query ID | defaults to undefined|
-| **xTraceId** | [**string**] | Trace ID for logging | (optional) defaults to undefined|
-
-
-### Return type
-
-**object**
-
-### Authorization
-
-[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Query executed successfully | - |
-|**302** | Redirect response | - |
-|**401** | Unauthorized | - |
-|**403** | Query access required | - |
-|**404** | Query not found | - |
-|**500** | Internal Server Error | - |
-
-[[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)
-
-# **queryUpdateIdPost**
-> Query queryUpdateIdPost(queryUpdateIdPostRequest)
-
-Update an existing query
-
-### Example
-
-```typescript
-import {
- QueriesApi,
- Configuration,
- QueryUpdateIdPostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new QueriesApi(configuration);
-
-let id: string; //Query ID (default to undefined)
-let queryUpdateIdPostRequest: QueryUpdateIdPostRequest; //
-
-const { status, data } = await apiInstance.queryUpdateIdPost(
- id,
- queryUpdateIdPostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **queryUpdateIdPostRequest** | **QueryUpdateIdPostRequest**| | |
-| **id** | [**string**] | Query ID | defaults to undefined|
-
-
-### Return type
-
-**Query**
-
-### Authorization
-
-[QueryGuard](../README.md#QueryGuard), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Query updated successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Query access required | - |
-|**404** | Query not found | - |
-
-[[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)
-
diff --git a/out/ts/docs/Query.md b/out/ts/docs/Query.md
deleted file mode 100644
index 4acfe01..0000000
--- a/out/ts/docs/Query.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# Query
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique query identifier | [optional] [default to undefined]
-**source** | **string** | Query source code | [optional] [default to undefined]
-**isActive** | **number** | Whether the query is active (1 = active, 0 = inactive) | [optional] [default to undefined]
-**isCommand** | **number** | Whether this is a command (1 = command, 0 = query) | [optional] [default to undefined]
-**project** | [**Project**](Project.md) | | [optional] [default to undefined]
-**logs** | [**Array<Log>**](Log.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Query } from './api';
-
-const instance: Query = {
- id,
- source,
- isActive,
- isCommand,
- project,
- logs,
-};
-```
-
-[[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/out/ts/docs/QueryCreatePostRequest.md b/out/ts/docs/QueryCreatePostRequest.md
deleted file mode 100644
index e050938..0000000
--- a/out/ts/docs/QueryCreatePostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# QueryCreatePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**source** | **string** | Query source code | [default to undefined]
-
-## Example
-
-```typescript
-import { QueryCreatePostRequest } from './api';
-
-const instance: QueryCreatePostRequest = {
- source,
-};
-```
-
-[[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/out/ts/docs/QueryUpdateIdPostRequest.md b/out/ts/docs/QueryUpdateIdPostRequest.md
deleted file mode 100644
index 2c519be..0000000
--- a/out/ts/docs/QueryUpdateIdPostRequest.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# QueryUpdateIdPostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**source** | **string** | Updated query source code | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { QueryUpdateIdPostRequest } from './api';
-
-const instance: QueryUpdateIdPostRequest = {
- source,
-};
-```
-
-[[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/out/ts/docs/RedisManagementApi.md b/out/ts/docs/RedisManagementApi.md
deleted file mode 100644
index aea03bd..0000000
--- a/out/ts/docs/RedisManagementApi.md
+++ /dev/null
@@ -1,62 +0,0 @@
-# RedisManagementApi
-
-All URIs are relative to *http://localhost:3000*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**redisNodeCreatePost**](#redisnodecreatepost) | **POST** /redis/node/create | Add Redis node|
-
-# **redisNodeCreatePost**
-> RedisNode redisNodeCreatePost(redisNodeCreatePostRequest)
-
-Add a new Redis node to the system
-
-### Example
-
-```typescript
-import {
- RedisManagementApi,
- Configuration,
- RedisNodeCreatePostRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new RedisManagementApi(configuration);
-
-let redisNodeCreatePostRequest: RedisNodeCreatePostRequest; //
-
-const { status, data } = await apiInstance.redisNodeCreatePost(
- redisNodeCreatePostRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **redisNodeCreatePostRequest** | **RedisNodeCreatePostRequest**| | |
-
-
-### Return type
-
-**RedisNode**
-
-### Authorization
-
-[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | Redis node created successfully | - |
-|**401** | Unauthorized | - |
-|**403** | Admin access 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)
-
diff --git a/out/ts/docs/RedisNode.md b/out/ts/docs/RedisNode.md
deleted file mode 100644
index db73bc5..0000000
--- a/out/ts/docs/RedisNode.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# RedisNode
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Unique Redis node identifier | [optional] [default to undefined]
-**host** | **string** | Redis host | [optional] [default to undefined]
-**port** | **number** | Redis port | [optional] [default to undefined]
-**user** | **string** | Redis username | [optional] [default to undefined]
-**password** | **string** | Redis password | [optional] [default to undefined]
-**projects** | [**Array<Project>**](Project.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { RedisNode } from './api';
-
-const instance: RedisNode = {
- id,
- host,
- port,
- user,
- password,
- projects,
-};
-```
-
-[[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/out/ts/docs/RedisNodeCreatePostRequest.md b/out/ts/docs/RedisNodeCreatePostRequest.md
deleted file mode 100644
index 679f4dc..0000000
--- a/out/ts/docs/RedisNodeCreatePostRequest.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# RedisNodeCreatePostRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**host** | **string** | Redis host | [default to undefined]
-**port** | **number** | Redis port | [default to undefined]
-**user** | **string** | Redis username | [default to undefined]
-**password** | **string** | Redis password | [default to undefined]
-
-## Example
-
-```typescript
-import { RedisNodeCreatePostRequest } from './api';
-
-const instance: RedisNodeCreatePostRequest = {
- host,
- port,
- user,
- password,
-};
-```
-
-[[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/out/ts/docs/Token.md b/out/ts/docs/Token.md
deleted file mode 100644
index cd5f2a0..0000000
--- a/out/ts/docs/Token.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Token
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**token** | **string** | Unique token identifier | [optional] [default to undefined]
-**isActive** | **boolean** | Whether the token is active | [optional] [default to undefined]
-**isAdmin** | **boolean** | Whether the token has admin privileges | [optional] [default to undefined]
-**project** | [**Project**](Project.md) | | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Token } from './api';
-
-const instance: Token = {
- token,
- isActive,
- isAdmin,
- project,
-};
-```
-
-[[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/out/ts/index.ts b/out/ts/index.ts
deleted file mode 100644
index 39a040d..0000000
--- a/out/ts/index.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * Low-Code Engine API
- * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-export * from "./api";
-export * from "./configuration";
-