From 10a297ffbfce198c9b28fec7ff8b97be4430fc29 Mon Sep 17 00:00:00 2001 From: Michael Vlach Date: Thu, 5 Sep 2024 09:13:39 +0200 Subject: [PATCH] [ci] Fix agdb_ci not updating all versions #1238 (#1239) * fix version * update logic * remove agdb_ci tests * update * fix --- .github/workflows/agdb_ci.yaml | 16 +- .github/workflows/agdb_server.yaml | 2 +- agdb_api/php/README.md | 12 +- agdb_api/php/ci.sh | 45 +- agdb_api/php/docs/Api/AgdbApi.md | 284 +++++++----- agdb_api/php/docs/Model/Comparison.md | 14 +- agdb_api/php/docs/Model/ComparisonOneOf.md | 2 +- agdb_api/php/docs/Model/ComparisonOneOf1.md | 2 +- agdb_api/php/docs/Model/ComparisonOneOf2.md | 2 +- agdb_api/php/docs/Model/ComparisonOneOf3.md | 2 +- agdb_api/php/docs/Model/ComparisonOneOf4.md | 2 +- agdb_api/php/docs/Model/ComparisonOneOf5.md | 2 +- agdb_api/php/docs/Model/ComparisonOneOf6.md | 2 +- agdb_api/php/docs/Model/DbElement.md | 2 +- agdb_api/php/docs/Model/DbKeyOrder.md | 4 +- agdb_api/php/docs/Model/DbKeyOrderOneOf.md | 2 +- agdb_api/php/docs/Model/DbKeyOrderOneOf1.md | 2 +- agdb_api/php/docs/Model/DbKeyValue.md | 4 +- agdb_api/php/docs/Model/DbTypeParam.md | 2 +- agdb_api/php/docs/Model/DbUser.md | 2 +- agdb_api/php/docs/Model/DbUserRoleParam.md | 2 +- agdb_api/php/docs/Model/InsertAliasesQuery.md | 2 +- agdb_api/php/docs/Model/InsertEdgesQuery.md | 8 +- agdb_api/php/docs/Model/InsertNodesQuery.md | 4 +- agdb_api/php/docs/Model/InsertValuesQuery.md | 4 +- agdb_api/php/docs/Model/QueryAudit.md | 2 +- agdb_api/php/docs/Model/QueryCondition.md | 6 +- agdb_api/php/docs/Model/QueryConditionData.md | 16 +- .../php/docs/Model/QueryConditionDataOneOf.md | 2 +- .../docs/Model/QueryConditionDataOneOf1.md | 2 +- .../docs/Model/QueryConditionDataOneOf2.md | 2 +- .../docs/Model/QueryConditionDataOneOf3.md | 2 +- .../docs/Model/QueryConditionDataOneOf4.md | 2 +- .../docs/Model/QueryConditionDataOneOf5.md | 2 +- .../Model/QueryConditionDataOneOf5KeyValue.md | 4 +- .../docs/Model/QueryConditionDataOneOf6.md | 2 +- .../docs/Model/QueryConditionDataOneOf7.md | 2 +- agdb_api/php/docs/Model/QueryIds.md | 4 +- agdb_api/php/docs/Model/QueryIdsOneOf.md | 2 +- agdb_api/php/docs/Model/QueryIdsOneOf1.md | 2 +- agdb_api/php/docs/Model/QueryResult.md | 2 +- agdb_api/php/docs/Model/QueryType.md | 28 +- agdb_api/php/docs/Model/QueryTypeOneOf.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf1.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf11.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf13.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf14.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf16.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf2.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf3.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf4.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf5.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf7.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf8.md | 2 +- agdb_api/php/docs/Model/QueryTypeOneOf9.md | 2 +- agdb_api/php/docs/Model/QueryValues.md | 4 +- agdb_api/php/docs/Model/QueryValuesOneOf.md | 2 +- agdb_api/php/docs/Model/QueryValuesOneOf1.md | 2 +- agdb_api/php/docs/Model/SearchQuery.md | 10 +- .../php/docs/Model/SelectEdgeCountQuery.md | 2 +- agdb_api/php/docs/Model/SelectValuesQuery.md | 4 +- agdb_api/php/docs/Model/ServerDatabase.md | 4 +- .../php/docs/Model/ServerDatabaseResource.md | 2 +- agdb_api/php/docs/Model/StatusParams.md | 9 - agdb_api/php/lib/Api/AgdbApi.php | 286 +++++++++++- agdb_api/php/lib/ApiException.php | 10 +- agdb_api/php/lib/Configuration.php | 6 +- agdb_api/php/lib/HeaderSelector.php | 4 +- agdb_api/php/lib/Model/ChangePassword.php | 4 +- agdb_api/php/lib/Model/ClusterStatus.php | 4 +- agdb_api/php/lib/Model/Comparison.php | 4 +- agdb_api/php/lib/Model/ComparisonOneOf.php | 4 +- agdb_api/php/lib/Model/ComparisonOneOf1.php | 4 +- agdb_api/php/lib/Model/ComparisonOneOf2.php | 4 +- agdb_api/php/lib/Model/ComparisonOneOf3.php | 4 +- agdb_api/php/lib/Model/ComparisonOneOf4.php | 4 +- agdb_api/php/lib/Model/ComparisonOneOf5.php | 4 +- agdb_api/php/lib/Model/ComparisonOneOf6.php | 4 +- agdb_api/php/lib/Model/CountComparison.php | 4 +- .../php/lib/Model/CountComparisonOneOf.php | 4 +- .../php/lib/Model/CountComparisonOneOf1.php | 4 +- .../php/lib/Model/CountComparisonOneOf2.php | 4 +- .../php/lib/Model/CountComparisonOneOf3.php | 4 +- .../php/lib/Model/CountComparisonOneOf4.php | 4 +- .../php/lib/Model/CountComparisonOneOf5.php | 4 +- agdb_api/php/lib/Model/DbElement.php | 4 +- agdb_api/php/lib/Model/DbKeyOrder.php | 4 +- agdb_api/php/lib/Model/DbKeyOrderOneOf.php | 4 +- agdb_api/php/lib/Model/DbKeyOrderOneOf1.php | 4 +- agdb_api/php/lib/Model/DbKeyValue.php | 4 +- agdb_api/php/lib/Model/DbResource.php | 4 +- agdb_api/php/lib/Model/DbType.php | 4 +- agdb_api/php/lib/Model/DbTypeParam.php | 4 +- agdb_api/php/lib/Model/DbUser.php | 4 +- agdb_api/php/lib/Model/DbUserRole.php | 4 +- agdb_api/php/lib/Model/DbUserRoleParam.php | 4 +- agdb_api/php/lib/Model/DbValue.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf1.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf2.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf3.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf4.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf5.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf6.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf7.php | 4 +- agdb_api/php/lib/Model/DbValueOneOf8.php | 4 +- agdb_api/php/lib/Model/InsertAliasesQuery.php | 4 +- agdb_api/php/lib/Model/InsertEdgesQuery.php | 4 +- agdb_api/php/lib/Model/InsertNodesQuery.php | 4 +- agdb_api/php/lib/Model/InsertValuesQuery.php | 4 +- agdb_api/php/lib/Model/ModelInterface.php | 4 +- agdb_api/php/lib/Model/QueryAudit.php | 4 +- agdb_api/php/lib/Model/QueryCondition.php | 4 +- agdb_api/php/lib/Model/QueryConditionData.php | 4 +- .../php/lib/Model/QueryConditionDataOneOf.php | 4 +- .../lib/Model/QueryConditionDataOneOf1.php | 4 +- .../lib/Model/QueryConditionDataOneOf2.php | 4 +- .../lib/Model/QueryConditionDataOneOf3.php | 4 +- .../lib/Model/QueryConditionDataOneOf4.php | 4 +- .../lib/Model/QueryConditionDataOneOf5.php | 4 +- .../QueryConditionDataOneOf5KeyValue.php | 4 +- .../lib/Model/QueryConditionDataOneOf6.php | 4 +- .../lib/Model/QueryConditionDataOneOf7.php | 4 +- .../php/lib/Model/QueryConditionLogic.php | 4 +- .../php/lib/Model/QueryConditionModifier.php | 4 +- agdb_api/php/lib/Model/QueryId.php | 4 +- agdb_api/php/lib/Model/QueryIdOneOf.php | 4 +- agdb_api/php/lib/Model/QueryIdOneOf1.php | 4 +- agdb_api/php/lib/Model/QueryIds.php | 4 +- agdb_api/php/lib/Model/QueryIdsOneOf.php | 4 +- agdb_api/php/lib/Model/QueryIdsOneOf1.php | 4 +- agdb_api/php/lib/Model/QueryResult.php | 4 +- agdb_api/php/lib/Model/QueryType.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf1.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf10.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf11.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf12.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf13.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf14.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf15.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf16.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf2.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf3.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf4.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf5.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf6.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf7.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf8.php | 4 +- agdb_api/php/lib/Model/QueryTypeOneOf9.php | 4 +- agdb_api/php/lib/Model/QueryValues.php | 4 +- agdb_api/php/lib/Model/QueryValuesOneOf.php | 4 +- agdb_api/php/lib/Model/QueryValuesOneOf1.php | 4 +- agdb_api/php/lib/Model/SearchQuery.php | 4 +- .../php/lib/Model/SearchQueryAlgorithm.php | 4 +- .../php/lib/Model/SelectEdgeCountQuery.php | 4 +- agdb_api/php/lib/Model/SelectValuesQuery.php | 4 +- agdb_api/php/lib/Model/ServerDatabase.php | 4 +- .../php/lib/Model/ServerDatabaseRename.php | 4 +- .../php/lib/Model/ServerDatabaseResource.php | 4 +- agdb_api/php/lib/Model/StatusParams.php | 416 ------------------ agdb_api/php/lib/Model/UserCredentials.php | 4 +- agdb_api/php/lib/Model/UserLogin.php | 4 +- agdb_api/php/lib/Model/UserStatus.php | 4 +- agdb_api/php/lib/ObjectSerializer.php | 11 +- agdb_api/php/package-lock.json | 1 + agdb_api/php/query_test_generator.js | 4 +- agdb_api/php/tests/QueryTest.php | 4 +- agdb_api/typescript/.eslintrc.cjs | 2 +- agdb_api/typescript/.prettierignore | 2 +- agdb_api/typescript/package-lock.json | 10 +- agdb_api/typescript/package.json | 8 +- agdb_api/typescript/query_test_generator.js | 4 +- agdb_api/typescript/src/client.ts | 2 +- agdb_api/typescript/src/index.ts | 2 +- .../src/{schema.d.ts => openapi.d.ts} | 18 +- agdb_api/typescript/src/query_builder.ts | 2 +- agdb_api/typescript/tests/query.test.ts | 2 +- agdb_api/typescript/vitest.config.ts | 2 +- agdb_ci/.gitignore | 1 - agdb_ci/src/main.rs | 289 ++++++------ agdb_ci/tests/ci_test.rs | 82 ---- agdb_ci/tests/test_data_before/Version | 1 - .../tests/test_data_before/agdb/Cargo.toml | 7 - .../test_data_before/project1/Cargo.toml | 7 - .../project1/openapi/schema.json | 11 - .../node_modules/some_lib/package.json | 7 - .../test_data_before/project2/package.json | 7 - .../subprojects/project3/package.json | 6 - .../subprojects/project4/Cargo.toml | 7 - agdb_ci/tests/test_data_expected/Version | 1 - .../tests/test_data_expected/agdb/Cargo.toml | 7 - .../test_data_expected/project1/Cargo.toml | 7 - .../project1/openapi/schema.json | 11 - .../node_modules/some_lib/package.json | 7 - .../test_data_expected/project2/package.json | 7 - .../subprojects/project3/package.json | 6 - .../subprojects/project4/Cargo.toml | 7 - .../{openapi/schema.json => openapi.json} | 4 +- agdb_server/src/main.rs | 9 +- agdb_server/src/routes.rs | 1 + agdb_server/src/routes/cluster.rs | 1 + agdb_server/{openapi => }/test_queries.json | 0 agdb_studio/package-lock.json | 72 +-- agdb_studio/src/services/api.service.ts | 2 +- agdb_web/package-lock.json | 9 +- agdb_web/pages/api-docs/openapi.en-US.mdx | 2 +- examples/server_client_php/package-lock.json | 1 + .../package-lock.json | 8 +- 209 files changed, 1035 insertions(+), 1300 deletions(-) delete mode 100644 agdb_api/php/docs/Model/StatusParams.md delete mode 100644 agdb_api/php/lib/Model/StatusParams.php rename agdb_api/typescript/src/{schema.d.ts => openapi.d.ts} (99%) delete mode 100644 agdb_ci/.gitignore delete mode 100644 agdb_ci/tests/ci_test.rs delete mode 100644 agdb_ci/tests/test_data_before/Version delete mode 100644 agdb_ci/tests/test_data_before/agdb/Cargo.toml delete mode 100644 agdb_ci/tests/test_data_before/project1/Cargo.toml delete mode 100644 agdb_ci/tests/test_data_before/project1/openapi/schema.json delete mode 100644 agdb_ci/tests/test_data_before/project2/node_modules/some_lib/package.json delete mode 100644 agdb_ci/tests/test_data_before/project2/package.json delete mode 100644 agdb_ci/tests/test_data_before/subprojects/project3/package.json delete mode 100644 agdb_ci/tests/test_data_before/subprojects/project4/Cargo.toml delete mode 100644 agdb_ci/tests/test_data_expected/Version delete mode 100644 agdb_ci/tests/test_data_expected/agdb/Cargo.toml delete mode 100644 agdb_ci/tests/test_data_expected/project1/Cargo.toml delete mode 100644 agdb_ci/tests/test_data_expected/project1/openapi/schema.json delete mode 100644 agdb_ci/tests/test_data_expected/project2/node_modules/some_lib/package.json delete mode 100644 agdb_ci/tests/test_data_expected/project2/package.json delete mode 100644 agdb_ci/tests/test_data_expected/subprojects/project3/package.json delete mode 100644 agdb_ci/tests/test_data_expected/subprojects/project4/Cargo.toml rename agdb_server/{openapi/schema.json => openapi.json} (99%) rename agdb_server/{openapi => }/test_queries.json (100%) diff --git a/.github/workflows/agdb_ci.yaml b/.github/workflows/agdb_ci.yaml index 9e2125ae..67f1eb7c 100644 --- a/.github/workflows/agdb_ci.yaml +++ b/.github/workflows/agdb_ci.yaml @@ -27,17 +27,6 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 - run: cargo clippy --package agdb_ci --all-targets --all-features -- -D warnings - agdb_ci_coverage: - runs-on: ubuntu-latest - needs: diff - if: needs.diff.outputs.diff == 'true' - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - uses: taiki-e/install-action@cargo-llvm-cov - - run: rustup component add llvm-tools-preview - - run: cargo llvm-cov --package agdb_ci --all-features --fail-uncovered-functions 0 --fail-uncovered-lines 0 --show-missing-lines - agdb_ci_format: runs-on: ubuntu-latest needs: diff @@ -53,8 +42,9 @@ jobs: if: needs.diff.outputs.diff == 'true' steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions-rust-lang/setup-rust-toolchain@v1 - run: | cargo run --release --package agdb_ci - git diff --name-only - if [[ "$(git diff --name-only)" != "" ]]; then echo "ERROR: Version changed but some packages have not been updated. Have you forgotten to run agdb_ci?"; exit 1; fi + if [[ "$(git diff --name-only)" != "" ]]; then git diff; git diff --name-only; echo "ERROR: Some packages have not been updated. Have you forgotten to run agdb_ci?"; exit 1; fi diff --git a/.github/workflows/agdb_server.yaml b/.github/workflows/agdb_server.yaml index 02a97524..a0fe6bbc 100644 --- a/.github/workflows/agdb_server.yaml +++ b/.github/workflows/agdb_server.yaml @@ -45,7 +45,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: threshold=10; count=0; while cargo test --release --package agdb_server &> test.log && [[ "$count" != "$threshold" ]]; do count=$((count+1)); echo -n "."; done; cat test.log; echo "$count of $threshold tests run" + - run: threshold=2; count=0; while cargo test --release --package agdb_server &> test.log && [[ "$count" != "$threshold" ]]; do count=$((count+1)); echo -n "."; done; cat test.log; echo "$count of $threshold tests run" agdb_server_format: runs-on: ubuntu-latest diff --git a/agdb_api/php/README.md b/agdb_api/php/README.md index 0a01c842..8438c6c5 100644 --- a/agdb_api/php/README.md +++ b/agdb_api/php/README.md @@ -50,10 +50,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -61,7 +61,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( ); $owner = 'owner_example'; // string | user name $db = 'db_example'; // string | db name -$db_type = new \Agnesoft\\AgdbApi\Model\DbType(); // DbType +$db_type = new \Agnesoft\AgdbApi\Model\DbType(); // DbType try { $apiInstance->adminDbAdd($owner, $db, $db_type); @@ -96,6 +96,7 @@ Class | Method | HTTP request | Description *AgdbApi* | [**adminUserChangePassword**](docs/Api/AgdbApi.md#adminuserchangepassword) | **PUT** /api/v1/admin/user/{username}/change_password | *AgdbApi* | [**adminUserList**](docs/Api/AgdbApi.md#adminuserlist) | **GET** /api/v1/admin/user/list | *AgdbApi* | [**adminUserRemove**](docs/Api/AgdbApi.md#adminuserremove) | **DELETE** /api/v1/admin/user/{username}/remove | +*AgdbApi* | [**clusterStatus**](docs/Api/AgdbApi.md#clusterstatus) | **GET** /api/v1/cluster/status | *AgdbApi* | [**dbAdd**](docs/Api/AgdbApi.md#dbadd) | **POST** /api/v1/db/{owner}/{db}/add | *AgdbApi* | [**dbAudit**](docs/Api/AgdbApi.md#dbaudit) | **GET** /api/v1/db/{owner}/{db}/audit | *AgdbApi* | [**dbBackup**](docs/Api/AgdbApi.md#dbbackup) | **POST** /api/v1/db/{owner}/{db}/backup | @@ -209,7 +210,6 @@ Class | Method | HTTP request | Description - [ServerDatabase](docs/Model/ServerDatabase.md) - [ServerDatabaseRename](docs/Model/ServerDatabaseRename.md) - [ServerDatabaseResource](docs/Model/ServerDatabaseResource.md) -- [StatusParams](docs/Model/StatusParams.md) - [UserCredentials](docs/Model/UserCredentials.md) - [UserLogin](docs/Model/UserLogin.md) - [UserStatus](docs/Model/UserStatus.md) @@ -238,7 +238,7 @@ vendor/bin/phpunit This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `0.8.0` +- API version: `0.8.1` - Package version: `0.7.2` - - Generator version: `7.7.0` + - Generator version: `7.8.0` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/agdb_api/php/ci.sh b/agdb_api/php/ci.sh index 750fbf2c..2ff49c14 100755 --- a/agdb_api/php/ci.sh +++ b/agdb_api/php/ci.sh @@ -9,6 +9,7 @@ address: localhost:3000 basepath: \"\" admin: admin data_dir: agdb_server_data +cluster_token: test cluster: []" > agdb_server.yaml cargo build --release -p agdb_server @@ -71,18 +72,35 @@ function format() { npx prettier --plugin '@prettier/plugin-php' $1 src tests } -function generate_api() { +function openapi() { + rm -rf lib/ + rm -rf docs/ + + if [[ "$OSTYPE" == "msys" ]]; then + local package="Agnesoft\AgdbApi" + else + local package="Agnesoft\\\\AgdbApi" + fi + + echo "PACKAGE: $package" + npx @openapitools/openapi-generator-cli generate \ - -i ../../agdb_server/openapi/schema.json \ + -i ../../agdb_server/openapi.json \ -g php \ -o ./ \ - --additional-properties=invokerPackage="Agnesoft\AgdbApi",artifactVersion=0.7.2 - for f in $(find lib/ -name '*.php'); do sed -i -e 's/Agnesoft\\\\AgdbApi/Agnesoft\\AgdbApi/g' $f; done + --additional-properties=invokerPackage=$package,artifactVersion=0.7.2 + + if [[ "$OSTYPE" == "msys" ]]; then + for f in $(find lib/ -name '*.*'); do sed -i -e 's~Agnesoft\\\\Agdb~Agnesoft\\Agdb~g' $f; done + for f in $(find docs/ -name '*.*'); do sed -i -e 's~Agnesoft\\\\Agdb~Agnesoft\\Agdb~g' $f; done + sed -i -e 's~Agnesoft\\\\Agdb~Agnesoft\\Agdb~g' README.md + fi + echo "Y" | composer dump-autoload -o } -function generate_tests() { - node query_test_generator.js && prettier --plugin '@prettier/plugin-php' --write tests/QueryTest.php +function test_queries() { + node query_test_generator.js && npx prettier --plugin '@prettier/plugin-php' --write tests/QueryTest.php } if [[ "$1" == "coverage" ]]; then @@ -93,16 +111,11 @@ elif [[ "$1" == "format" ]]; then format "--write" elif [[ "$1" == "format:check" ]]; then format "--check" -elif [[ "$1" == "generate" ]]; then - if [[ "$2" == "api" ]]; then - generate_api - elif [[ "$2" == "tests" ]]; then - generate_tests - else - echo "Usage: $0 generate [api|tests]" - exit 1 - fi +elif [[ "$1" == "openapi" ]]; then + openapi +elif [[ "$1" == "test_queries" ]]; then + test_queries else - echo "Usage: $0 [coverage|analysis|format|format:check|generate api|generate tests]" + echo "Usage: $0 [coverage|analysis|format|format:check|openapi|test_queries]" exit 1 fi diff --git a/agdb_api/php/docs/Api/AgdbApi.md b/agdb_api/php/docs/Api/AgdbApi.md index 654b992a..0a21f209 100644 --- a/agdb_api/php/docs/Api/AgdbApi.md +++ b/agdb_api/php/docs/Api/AgdbApi.md @@ -1,4 +1,4 @@ -# Agnesoft\\AgdbApi\AgdbApi +# Agnesoft\AgdbApi\AgdbApi All URIs are relative to http://localhost:3000, except if the operation defines another base path. @@ -23,6 +23,7 @@ All URIs are relative to http://localhost:3000, except if the operation defines | [**adminUserChangePassword()**](AgdbApi.md#adminUserChangePassword) | **PUT** /api/v1/admin/user/{username}/change_password | | | [**adminUserList()**](AgdbApi.md#adminUserList) | **GET** /api/v1/admin/user/list | | | [**adminUserRemove()**](AgdbApi.md#adminUserRemove) | **DELETE** /api/v1/admin/user/{username}/remove | | +| [**clusterStatus()**](AgdbApi.md#clusterStatus) | **GET** /api/v1/cluster/status | | | [**dbAdd()**](AgdbApi.md#dbAdd) | **POST** /api/v1/db/{owner}/{db}/add | | | [**dbAudit()**](AgdbApi.md#dbAudit) | **GET** /api/v1/db/{owner}/{db}/audit | | | [**dbBackup()**](AgdbApi.md#dbBackup) | **POST** /api/v1/db/{owner}/{db}/backup | | @@ -60,10 +61,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -71,7 +72,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( ); $owner = 'owner_example'; // string | user name $db = 'db_example'; // string | db name -$db_type = new \Agnesoft\\AgdbApi\Model\DbType(); // DbType +$db_type = new \Agnesoft\AgdbApi\Model\DbType(); // DbType try { $apiInstance->adminDbAdd($owner, $db, $db_type); @@ -108,7 +109,7 @@ void (empty response body) ## `adminDbAudit()` ```php -adminDbAudit($owner, $db): \Agnesoft\\AgdbApi\Model\QueryAudit[] +adminDbAudit($owner, $db): \Agnesoft\AgdbApi\Model\QueryAudit[] ``` @@ -121,10 +122,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -150,7 +151,7 @@ try { ### Return type -[**\Agnesoft\\AgdbApi\Model\QueryAudit[]**](../Model/QueryAudit.md) +[**\Agnesoft\AgdbApi\Model\QueryAudit[]**](../Model/QueryAudit.md) ### Authorization @@ -181,10 +182,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -240,10 +241,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -301,10 +302,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -347,7 +348,7 @@ void (empty response body) ## `adminDbExec()` ```php -adminDbExec($owner, $db, $query_type): \Agnesoft\\AgdbApi\Model\QueryResult[] +adminDbExec($owner, $db, $query_type): \Agnesoft\AgdbApi\Model\QueryResult[] ``` @@ -360,10 +361,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -371,7 +372,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( ); $owner = 'owner_example'; // string | db owner user name $db = 'db_example'; // string | db name -$query_type = array(new \Agnesoft\\AgdbApi\Model\QueryType()); // \Agnesoft\\AgdbApi\Model\QueryType[] +$query_type = array(new \Agnesoft\AgdbApi\Model\QueryType()); // \Agnesoft\AgdbApi\Model\QueryType[] try { $result = $apiInstance->adminDbExec($owner, $db, $query_type); @@ -387,11 +388,11 @@ try { | ------------- | ------------- | ------------- | ------------- | | **owner** | **string**| db owner user name | | | **db** | **string**| db name | | -| **query_type** | [**\Agnesoft\\AgdbApi\Model\QueryType[]**](../Model/QueryType.md)| | | +| **query_type** | [**\Agnesoft\AgdbApi\Model\QueryType[]**](../Model/QueryType.md)| | | ### Return type -[**\Agnesoft\\AgdbApi\Model\QueryResult[]**](../Model/QueryResult.md) +[**\Agnesoft\AgdbApi\Model\QueryResult[]**](../Model/QueryResult.md) ### Authorization @@ -409,7 +410,7 @@ try { ## `adminDbList()` ```php -adminDbList(): \Agnesoft\\AgdbApi\Model\ServerDatabase[] +adminDbList(): \Agnesoft\AgdbApi\Model\ServerDatabase[] ``` @@ -422,10 +423,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -446,7 +447,7 @@ This endpoint does not need any parameter. ### Return type -[**\Agnesoft\\AgdbApi\Model\ServerDatabase[]**](../Model/ServerDatabase.md) +[**\Agnesoft\AgdbApi\Model\ServerDatabase[]**](../Model/ServerDatabase.md) ### Authorization @@ -464,7 +465,7 @@ This endpoint does not need any parameter. ## `adminDbOptimize()` ```php -adminDbOptimize($owner, $db): \Agnesoft\\AgdbApi\Model\ServerDatabase +adminDbOptimize($owner, $db): \Agnesoft\AgdbApi\Model\ServerDatabase ``` @@ -477,10 +478,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -506,7 +507,7 @@ try { ### Return type -[**\Agnesoft\\AgdbApi\Model\ServerDatabase**](../Model/ServerDatabase.md) +[**\Agnesoft\AgdbApi\Model\ServerDatabase**](../Model/ServerDatabase.md) ### Authorization @@ -537,10 +538,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -596,10 +597,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -657,10 +658,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -716,10 +717,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -728,7 +729,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( $owner = 'owner_example'; // string | db owner user name $db = 'db_example'; // string | db name $username = 'username_example'; // string | user name -$db_role = new \Agnesoft\\AgdbApi\Model\DbUserRole(); // DbUserRole +$db_role = new \Agnesoft\AgdbApi\Model\DbUserRole(); // DbUserRole try { $apiInstance->adminDbUserAdd($owner, $db, $username, $db_role); @@ -766,7 +767,7 @@ void (empty response body) ## `adminDbUserList()` ```php -adminDbUserList($owner, $db): \Agnesoft\\AgdbApi\Model\DbUser[] +adminDbUserList($owner, $db): \Agnesoft\AgdbApi\Model\DbUser[] ``` @@ -779,10 +780,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -808,7 +809,7 @@ try { ### Return type -[**\Agnesoft\\AgdbApi\Model\DbUser[]**](../Model/DbUser.md) +[**\Agnesoft\AgdbApi\Model\DbUser[]**](../Model/DbUser.md) ### Authorization @@ -839,10 +840,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -900,10 +901,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -954,17 +955,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); $username = 'username_example'; // string | desired user name -$user_credentials = new \Agnesoft\\AgdbApi\Model\UserCredentials(); // \Agnesoft\\AgdbApi\Model\UserCredentials +$user_credentials = new \Agnesoft\AgdbApi\Model\UserCredentials(); // \Agnesoft\AgdbApi\Model\UserCredentials try { $apiInstance->adminUserAdd($username, $user_credentials); @@ -978,7 +979,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | | **username** | **string**| desired user name | | -| **user_credentials** | [**\Agnesoft\\AgdbApi\Model\UserCredentials**](../Model/UserCredentials.md)| | | +| **user_credentials** | [**\Agnesoft\AgdbApi\Model\UserCredentials**](../Model/UserCredentials.md)| | | ### Return type @@ -1013,17 +1014,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); $username = 'username_example'; // string | user name -$user_credentials = new \Agnesoft\\AgdbApi\Model\UserCredentials(); // \Agnesoft\\AgdbApi\Model\UserCredentials +$user_credentials = new \Agnesoft\AgdbApi\Model\UserCredentials(); // \Agnesoft\AgdbApi\Model\UserCredentials try { $apiInstance->adminUserChangePassword($username, $user_credentials); @@ -1037,7 +1038,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | | **username** | **string**| user name | | -| **user_credentials** | [**\Agnesoft\\AgdbApi\Model\UserCredentials**](../Model/UserCredentials.md)| | | +| **user_credentials** | [**\Agnesoft\AgdbApi\Model\UserCredentials**](../Model/UserCredentials.md)| | | ### Return type @@ -1059,7 +1060,7 @@ void (empty response body) ## `adminUserList()` ```php -adminUserList(): \Agnesoft\\AgdbApi\Model\UserStatus[] +adminUserList(): \Agnesoft\AgdbApi\Model\UserStatus[] ``` @@ -1072,10 +1073,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1096,7 +1097,7 @@ This endpoint does not need any parameter. ### Return type -[**\Agnesoft\\AgdbApi\Model\UserStatus[]**](../Model/UserStatus.md) +[**\Agnesoft\AgdbApi\Model\UserStatus[]**](../Model/UserStatus.md) ### Authorization @@ -1114,7 +1115,7 @@ This endpoint does not need any parameter. ## `adminUserRemove()` ```php -adminUserRemove($username): \Agnesoft\\AgdbApi\Model\UserStatus[] +adminUserRemove($username): \Agnesoft\AgdbApi\Model\UserStatus[] ``` @@ -1127,10 +1128,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1154,7 +1155,7 @@ try { ### Return type -[**\Agnesoft\\AgdbApi\Model\UserStatus[]**](../Model/UserStatus.md) +[**\Agnesoft\AgdbApi\Model\UserStatus[]**](../Model/UserStatus.md) ### Authorization @@ -1169,6 +1170,57 @@ try { [[Back to Model list]](../../README.md#models) [[Back to README]](../../README.md) +## `clusterStatus()` + +```php +clusterStatus(): \Agnesoft\AgdbApi\Model\ClusterStatus[] +``` + + + +### Example + +```php +clusterStatus(); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling AgdbApi->clusterStatus: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**\Agnesoft\AgdbApi\Model\ClusterStatus[]**](../Model/ClusterStatus.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + ## `dbAdd()` ```php @@ -1185,10 +1237,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1196,7 +1248,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( ); $owner = 'owner_example'; // string | user name $db = 'db_example'; // string | db name -$db_type = new \Agnesoft\\AgdbApi\Model\DbType(); // DbType +$db_type = new \Agnesoft\AgdbApi\Model\DbType(); // DbType try { $apiInstance->dbAdd($owner, $db, $db_type); @@ -1233,7 +1285,7 @@ void (empty response body) ## `dbAudit()` ```php -dbAudit($owner, $db): \Agnesoft\\AgdbApi\Model\QueryAudit[] +dbAudit($owner, $db): \Agnesoft\AgdbApi\Model\QueryAudit[] ``` @@ -1246,10 +1298,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1275,7 +1327,7 @@ try { ### Return type -[**\Agnesoft\\AgdbApi\Model\QueryAudit[]**](../Model/QueryAudit.md) +[**\Agnesoft\AgdbApi\Model\QueryAudit[]**](../Model/QueryAudit.md) ### Authorization @@ -1306,10 +1358,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1352,7 +1404,7 @@ void (empty response body) ## `dbClear()` ```php -dbClear($owner, $db, $resource): \Agnesoft\\AgdbApi\Model\ServerDatabase +dbClear($owner, $db, $resource): \Agnesoft\AgdbApi\Model\ServerDatabase ``` @@ -1365,10 +1417,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1376,7 +1428,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( ); $owner = 'owner_example'; // string | user name $db = 'db_example'; // string | db name -$resource = new \Agnesoft\\AgdbApi\Model\DbResource(); // DbResource +$resource = new \Agnesoft\AgdbApi\Model\DbResource(); // DbResource try { $result = $apiInstance->dbClear($owner, $db, $resource); @@ -1396,7 +1448,7 @@ try { ### Return type -[**\Agnesoft\\AgdbApi\Model\ServerDatabase**](../Model/ServerDatabase.md) +[**\Agnesoft\AgdbApi\Model\ServerDatabase**](../Model/ServerDatabase.md) ### Authorization @@ -1427,10 +1479,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1488,10 +1540,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1534,7 +1586,7 @@ void (empty response body) ## `dbExec()` ```php -dbExec($owner, $db, $query_type): \Agnesoft\\AgdbApi\Model\QueryResult[] +dbExec($owner, $db, $query_type): \Agnesoft\AgdbApi\Model\QueryResult[] ``` @@ -1547,10 +1599,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1558,7 +1610,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( ); $owner = 'owner_example'; // string | db owner user name $db = 'db_example'; // string | db name -$query_type = array(new \Agnesoft\\AgdbApi\Model\QueryType()); // \Agnesoft\\AgdbApi\Model\QueryType[] +$query_type = array(new \Agnesoft\AgdbApi\Model\QueryType()); // \Agnesoft\AgdbApi\Model\QueryType[] try { $result = $apiInstance->dbExec($owner, $db, $query_type); @@ -1574,11 +1626,11 @@ try { | ------------- | ------------- | ------------- | ------------- | | **owner** | **string**| db owner user name | | | **db** | **string**| db name | | -| **query_type** | [**\Agnesoft\\AgdbApi\Model\QueryType[]**](../Model/QueryType.md)| | | +| **query_type** | [**\Agnesoft\AgdbApi\Model\QueryType[]**](../Model/QueryType.md)| | | ### Return type -[**\Agnesoft\\AgdbApi\Model\QueryResult[]**](../Model/QueryResult.md) +[**\Agnesoft\AgdbApi\Model\QueryResult[]**](../Model/QueryResult.md) ### Authorization @@ -1596,7 +1648,7 @@ try { ## `dbList()` ```php -dbList(): \Agnesoft\\AgdbApi\Model\ServerDatabase[] +dbList(): \Agnesoft\AgdbApi\Model\ServerDatabase[] ``` @@ -1609,10 +1661,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1633,7 +1685,7 @@ This endpoint does not need any parameter. ### Return type -[**\Agnesoft\\AgdbApi\Model\ServerDatabase[]**](../Model/ServerDatabase.md) +[**\Agnesoft\AgdbApi\Model\ServerDatabase[]**](../Model/ServerDatabase.md) ### Authorization @@ -1651,7 +1703,7 @@ This endpoint does not need any parameter. ## `dbOptimize()` ```php -dbOptimize($owner, $db): \Agnesoft\\AgdbApi\Model\ServerDatabase +dbOptimize($owner, $db): \Agnesoft\AgdbApi\Model\ServerDatabase ``` @@ -1664,10 +1716,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1693,7 +1745,7 @@ try { ### Return type -[**\Agnesoft\\AgdbApi\Model\ServerDatabase**](../Model/ServerDatabase.md) +[**\Agnesoft\AgdbApi\Model\ServerDatabase**](../Model/ServerDatabase.md) ### Authorization @@ -1724,10 +1776,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1783,10 +1835,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1844,10 +1896,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1903,10 +1955,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -1915,7 +1967,7 @@ $apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( $owner = 'owner_example'; // string | db owner user name $db = 'db_example'; // string | db name $username = 'username_example'; // string | user name -$db_role = new \Agnesoft\\AgdbApi\Model\DbUserRole(); // DbUserRole +$db_role = new \Agnesoft\AgdbApi\Model\DbUserRole(); // DbUserRole try { $apiInstance->dbUserAdd($owner, $db, $username, $db_role); @@ -1966,10 +2018,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -2025,10 +2077,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), @@ -2086,7 +2138,7 @@ require_once(__DIR__ . '/vendor/autoload.php'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() @@ -2136,16 +2188,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$change_password = new \Agnesoft\\AgdbApi\Model\ChangePassword(); // \Agnesoft\\AgdbApi\Model\ChangePassword +$change_password = new \Agnesoft\AgdbApi\Model\ChangePassword(); // \Agnesoft\AgdbApi\Model\ChangePassword try { $apiInstance->userChangePassword($change_password); @@ -2158,7 +2210,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **change_password** | [**\Agnesoft\\AgdbApi\Model\ChangePassword**](../Model/ChangePassword.md)| | | +| **change_password** | [**\Agnesoft\AgdbApi\Model\ChangePassword**](../Model/ChangePassword.md)| | | ### Return type @@ -2193,12 +2245,12 @@ require_once(__DIR__ . '/vendor/autoload.php'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$user_login = new \Agnesoft\\AgdbApi\Model\UserLogin(); // \Agnesoft\\AgdbApi\Model\UserLogin +$user_login = new \Agnesoft\AgdbApi\Model\UserLogin(); // \Agnesoft\AgdbApi\Model\UserLogin try { $result = $apiInstance->userLogin($user_login); @@ -2212,7 +2264,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **user_login** | [**\Agnesoft\\AgdbApi\Model\UserLogin**](../Model/UserLogin.md)| | | +| **user_login** | [**\Agnesoft\AgdbApi\Model\UserLogin**](../Model/UserLogin.md)| | | ### Return type @@ -2247,10 +2299,10 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: Token -$config = Agnesoft\\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); +$config = Agnesoft\AgdbApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); -$apiInstance = new Agnesoft\\AgdbApi\Api\AgdbApi( +$apiInstance = new Agnesoft\AgdbApi\Api\AgdbApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), diff --git a/agdb_api/php/docs/Model/Comparison.md b/agdb_api/php/docs/Model/Comparison.md index 7ceb1ad1..efad71d5 100644 --- a/agdb_api/php/docs/Model/Comparison.md +++ b/agdb_api/php/docs/Model/Comparison.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**greater_than** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**greater_than_or_equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**less_than** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**less_than_or_equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**not_equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**contains** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**greater_than** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**greater_than_or_equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**less_than** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**less_than_or_equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**not_equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**contains** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ComparisonOneOf.md b/agdb_api/php/docs/Model/ComparisonOneOf.md index d54c60d2..aa25edb3 100644 --- a/agdb_api/php/docs/Model/ComparisonOneOf.md +++ b/agdb_api/php/docs/Model/ComparisonOneOf.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ComparisonOneOf1.md b/agdb_api/php/docs/Model/ComparisonOneOf1.md index 286438a8..47e5990d 100644 --- a/agdb_api/php/docs/Model/ComparisonOneOf1.md +++ b/agdb_api/php/docs/Model/ComparisonOneOf1.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**greater_than** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**greater_than** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ComparisonOneOf2.md b/agdb_api/php/docs/Model/ComparisonOneOf2.md index 1b63c9c9..ea12a9ec 100644 --- a/agdb_api/php/docs/Model/ComparisonOneOf2.md +++ b/agdb_api/php/docs/Model/ComparisonOneOf2.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**greater_than_or_equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**greater_than_or_equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ComparisonOneOf3.md b/agdb_api/php/docs/Model/ComparisonOneOf3.md index 6de28d68..e749ef0e 100644 --- a/agdb_api/php/docs/Model/ComparisonOneOf3.md +++ b/agdb_api/php/docs/Model/ComparisonOneOf3.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**less_than** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**less_than** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ComparisonOneOf4.md b/agdb_api/php/docs/Model/ComparisonOneOf4.md index 04220ffa..485bdb38 100644 --- a/agdb_api/php/docs/Model/ComparisonOneOf4.md +++ b/agdb_api/php/docs/Model/ComparisonOneOf4.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**less_than_or_equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**less_than_or_equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ComparisonOneOf5.md b/agdb_api/php/docs/Model/ComparisonOneOf5.md index 5671319e..61089d1e 100644 --- a/agdb_api/php/docs/Model/ComparisonOneOf5.md +++ b/agdb_api/php/docs/Model/ComparisonOneOf5.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**not_equal** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**not_equal** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ComparisonOneOf6.md b/agdb_api/php/docs/Model/ComparisonOneOf6.md index e936d1a4..dbfab86d 100644 --- a/agdb_api/php/docs/Model/ComparisonOneOf6.md +++ b/agdb_api/php/docs/Model/ComparisonOneOf6.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**contains** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**contains** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbElement.md b/agdb_api/php/docs/Model/DbElement.md index 3c3be664..048447e4 100644 --- a/agdb_api/php/docs/Model/DbElement.md +++ b/agdb_api/php/docs/Model/DbElement.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **from** | **int** | Database id is a wrapper around `i64`. The id is an identifier of a database element both nodes and edges. The positive ids represent nodes, negative ids represent edges. The value of `0` is logically invalid (there cannot be element with id 0) and a default. | [optional] **id** | **int** | Database id is a wrapper around `i64`. The id is an identifier of a database element both nodes and edges. The positive ids represent nodes, negative ids represent edges. The value of `0` is logically invalid (there cannot be element with id 0) and a default. | **to** | **int** | Database id is a wrapper around `i64`. The id is an identifier of a database element both nodes and edges. The positive ids represent nodes, negative ids represent edges. The value of `0` is logically invalid (there cannot be element with id 0) and a default. | [optional] -**values** | [**\Agnesoft\\AgdbApi\Model\DbKeyValue[]**](DbKeyValue.md) | List of key-value pairs associated with the element. | +**values** | [**\Agnesoft\AgdbApi\Model\DbKeyValue[]**](DbKeyValue.md) | List of key-value pairs associated with the element. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbKeyOrder.md b/agdb_api/php/docs/Model/DbKeyOrder.md index 8738cb59..af990bf0 100644 --- a/agdb_api/php/docs/Model/DbKeyOrder.md +++ b/agdb_api/php/docs/Model/DbKeyOrder.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**asc** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**desc** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**asc** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**desc** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbKeyOrderOneOf.md b/agdb_api/php/docs/Model/DbKeyOrderOneOf.md index cbba95c0..1de1bbaa 100644 --- a/agdb_api/php/docs/Model/DbKeyOrderOneOf.md +++ b/agdb_api/php/docs/Model/DbKeyOrderOneOf.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**asc** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**asc** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbKeyOrderOneOf1.md b/agdb_api/php/docs/Model/DbKeyOrderOneOf1.md index 71423783..10d87bb9 100644 --- a/agdb_api/php/docs/Model/DbKeyOrderOneOf1.md +++ b/agdb_api/php/docs/Model/DbKeyOrderOneOf1.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**desc** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**desc** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbKeyValue.md b/agdb_api/php/docs/Model/DbKeyValue.md index 1f3fa886..663bb375 100644 --- a/agdb_api/php/docs/Model/DbKeyValue.md +++ b/agdb_api/php/docs/Model/DbKeyValue.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**key** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**value** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**key** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**value** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbTypeParam.md b/agdb_api/php/docs/Model/DbTypeParam.md index ba030ac6..190155fa 100644 --- a/agdb_api/php/docs/Model/DbTypeParam.md +++ b/agdb_api/php/docs/Model/DbTypeParam.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**db_type** | [**\Agnesoft\\AgdbApi\Model\DbType**](DbType.md) | | +**db_type** | [**\Agnesoft\AgdbApi\Model\DbType**](DbType.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbUser.md b/agdb_api/php/docs/Model/DbUser.md index 46909364..210d6fde 100644 --- a/agdb_api/php/docs/Model/DbUser.md +++ b/agdb_api/php/docs/Model/DbUser.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**role** | [**\Agnesoft\\AgdbApi\Model\DbUserRole**](DbUserRole.md) | | +**role** | [**\Agnesoft\AgdbApi\Model\DbUserRole**](DbUserRole.md) | | **user** | **string** | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/DbUserRoleParam.md b/agdb_api/php/docs/Model/DbUserRoleParam.md index 56b66eb5..315704aa 100644 --- a/agdb_api/php/docs/Model/DbUserRoleParam.md +++ b/agdb_api/php/docs/Model/DbUserRoleParam.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**db_role** | [**\Agnesoft\\AgdbApi\Model\DbUserRole**](DbUserRole.md) | | +**db_role** | [**\Agnesoft\AgdbApi\Model\DbUserRole**](DbUserRole.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/InsertAliasesQuery.md b/agdb_api/php/docs/Model/InsertAliasesQuery.md index 2a0ad17f..ff7d8c4d 100644 --- a/agdb_api/php/docs/Model/InsertAliasesQuery.md +++ b/agdb_api/php/docs/Model/InsertAliasesQuery.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aliases** | **string[]** | Aliases to be inserted | -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/InsertEdgesQuery.md b/agdb_api/php/docs/Model/InsertEdgesQuery.md index ea664c2f..0f5841e4 100644 --- a/agdb_api/php/docs/Model/InsertEdgesQuery.md +++ b/agdb_api/php/docs/Model/InsertEdgesQuery.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **each** | **bool** | If `true` create an edge between each origin and destination. | -**from** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | -**to** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | -**values** | [**\Agnesoft\\AgdbApi\Model\QueryValues**](QueryValues.md) | | +**from** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**to** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**values** | [**\Agnesoft\AgdbApi\Model\QueryValues**](QueryValues.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/InsertNodesQuery.md b/agdb_api/php/docs/Model/InsertNodesQuery.md index f1755e39..6cc75b54 100644 --- a/agdb_api/php/docs/Model/InsertNodesQuery.md +++ b/agdb_api/php/docs/Model/InsertNodesQuery.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aliases** | **string[]** | Aliases of the new nodes. | **count** | **int** | Number of nodes to be inserted. | -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | -**values** | [**\Agnesoft\\AgdbApi\Model\QueryValues**](QueryValues.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**values** | [**\Agnesoft\AgdbApi\Model\QueryValues**](QueryValues.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/InsertValuesQuery.md b/agdb_api/php/docs/Model/InsertValuesQuery.md index 02bc523b..383a2a02 100644 --- a/agdb_api/php/docs/Model/InsertValuesQuery.md +++ b/agdb_api/php/docs/Model/InsertValuesQuery.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | -**values** | [**\Agnesoft\\AgdbApi\Model\QueryValues**](QueryValues.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**values** | [**\Agnesoft\AgdbApi\Model\QueryValues**](QueryValues.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryAudit.md b/agdb_api/php/docs/Model/QueryAudit.md index e0a2160b..d9f2c0d8 100644 --- a/agdb_api/php/docs/Model/QueryAudit.md +++ b/agdb_api/php/docs/Model/QueryAudit.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**query** | [**\Agnesoft\\AgdbApi\Model\QueryType**](QueryType.md) | | +**query** | [**\Agnesoft\AgdbApi\Model\QueryType**](QueryType.md) | | **timestamp** | **int** | | **user** | **string** | | diff --git a/agdb_api/php/docs/Model/QueryCondition.md b/agdb_api/php/docs/Model/QueryCondition.md index 50814e8c..df8693b9 100644 --- a/agdb_api/php/docs/Model/QueryCondition.md +++ b/agdb_api/php/docs/Model/QueryCondition.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**\Agnesoft\\AgdbApi\Model\QueryConditionData**](QueryConditionData.md) | | -**logic** | [**\Agnesoft\\AgdbApi\Model\QueryConditionLogic**](QueryConditionLogic.md) | | -**modifier** | [**\Agnesoft\\AgdbApi\Model\QueryConditionModifier**](QueryConditionModifier.md) | | +**data** | [**\Agnesoft\AgdbApi\Model\QueryConditionData**](QueryConditionData.md) | | +**logic** | [**\Agnesoft\AgdbApi\Model\QueryConditionLogic**](QueryConditionLogic.md) | | +**modifier** | [**\Agnesoft\AgdbApi\Model\QueryConditionModifier**](QueryConditionModifier.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionData.md b/agdb_api/php/docs/Model/QueryConditionData.md index f45b8db9..503a092c 100644 --- a/agdb_api/php/docs/Model/QueryConditionData.md +++ b/agdb_api/php/docs/Model/QueryConditionData.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**distance** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | -**edge_count** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | -**edge_count_from** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | -**edge_count_to** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryId[]**](QueryId.md) | Tests if the current id is in the list of ids. | -**key_value** | [**\Agnesoft\\AgdbApi\Model\QueryConditionDataOneOf5KeyValue**](QueryConditionDataOneOf5KeyValue.md) | | -**keys** | [**\Agnesoft\\AgdbApi\Model\DbValue[]**](DbValue.md) | Test if the current element has **all** of the keys listed. | -**where** | [**\Agnesoft\\AgdbApi\Model\QueryCondition[]**](QueryCondition.md) | Nested list of conditions (equivalent to brackets). | +**distance** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**edge_count** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**edge_count_from** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**edge_count_to** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryId[]**](QueryId.md) | Tests if the current id is in the list of ids. | +**key_value** | [**\Agnesoft\AgdbApi\Model\QueryConditionDataOneOf5KeyValue**](QueryConditionDataOneOf5KeyValue.md) | | +**keys** | [**\Agnesoft\AgdbApi\Model\DbValue[]**](DbValue.md) | Test if the current element has **all** of the keys listed. | +**where** | [**\Agnesoft\AgdbApi\Model\QueryCondition[]**](QueryCondition.md) | Nested list of conditions (equivalent to brackets). | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf.md index 4ffec904..b4f24a82 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**distance** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**distance** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf1.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf1.md index 8c2f017f..b5af9f92 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf1.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf1.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**edge_count** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**edge_count** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf2.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf2.md index 46cfffa0..94632b44 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf2.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf2.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**edge_count_from** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**edge_count_from** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf3.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf3.md index 451b37db..647e90d2 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf3.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf3.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**edge_count_to** | [**\Agnesoft\\AgdbApi\Model\CountComparison**](CountComparison.md) | | +**edge_count_to** | [**\Agnesoft\AgdbApi\Model\CountComparison**](CountComparison.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf4.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf4.md index 4b2f9963..899dd7ea 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf4.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf4.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryId[]**](QueryId.md) | Tests if the current id is in the list of ids. | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryId[]**](QueryId.md) | Tests if the current id is in the list of ids. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf5.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf5.md index 0cb085c6..3815cb25 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf5.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf5.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**key_value** | [**\Agnesoft\\AgdbApi\Model\QueryConditionDataOneOf5KeyValue**](QueryConditionDataOneOf5KeyValue.md) | | +**key_value** | [**\Agnesoft\AgdbApi\Model\QueryConditionDataOneOf5KeyValue**](QueryConditionDataOneOf5KeyValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf5KeyValue.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf5KeyValue.md index 01a6161f..978dcac6 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf5KeyValue.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf5KeyValue.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**key** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**value** | [**\Agnesoft\\AgdbApi\Model\Comparison**](Comparison.md) | | +**key** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**value** | [**\Agnesoft\AgdbApi\Model\Comparison**](Comparison.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf6.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf6.md index 5588a317..ad7ba7bb 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf6.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf6.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**keys** | [**\Agnesoft\\AgdbApi\Model\DbValue[]**](DbValue.md) | Test if the current element has **all** of the keys listed. | +**keys** | [**\Agnesoft\AgdbApi\Model\DbValue[]**](DbValue.md) | Test if the current element has **all** of the keys listed. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryConditionDataOneOf7.md b/agdb_api/php/docs/Model/QueryConditionDataOneOf7.md index 17cf119d..702fff07 100644 --- a/agdb_api/php/docs/Model/QueryConditionDataOneOf7.md +++ b/agdb_api/php/docs/Model/QueryConditionDataOneOf7.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**where** | [**\Agnesoft\\AgdbApi\Model\QueryCondition[]**](QueryCondition.md) | Nested list of conditions (equivalent to brackets). | +**where** | [**\Agnesoft\AgdbApi\Model\QueryCondition[]**](QueryCondition.md) | Nested list of conditions (equivalent to brackets). | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryIds.md b/agdb_api/php/docs/Model/QueryIds.md index 48230507..35328ff8 100644 --- a/agdb_api/php/docs/Model/QueryIds.md +++ b/agdb_api/php/docs/Model/QueryIds.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryId[]**](QueryId.md) | List of [`QueryId`]s | -**search** | [**\Agnesoft\\AgdbApi\Model\SearchQuery**](SearchQuery.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryId[]**](QueryId.md) | List of [`QueryId`]s | +**search** | [**\Agnesoft\AgdbApi\Model\SearchQuery**](SearchQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryIdsOneOf.md b/agdb_api/php/docs/Model/QueryIdsOneOf.md index 9272bcbc..a882f791 100644 --- a/agdb_api/php/docs/Model/QueryIdsOneOf.md +++ b/agdb_api/php/docs/Model/QueryIdsOneOf.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryId[]**](QueryId.md) | List of [`QueryId`]s | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryId[]**](QueryId.md) | List of [`QueryId`]s | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryIdsOneOf1.md b/agdb_api/php/docs/Model/QueryIdsOneOf1.md index 47f7c180..8f81a659 100644 --- a/agdb_api/php/docs/Model/QueryIdsOneOf1.md +++ b/agdb_api/php/docs/Model/QueryIdsOneOf1.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**search** | [**\Agnesoft\\AgdbApi\Model\SearchQuery**](SearchQuery.md) | | +**search** | [**\Agnesoft\AgdbApi\Model\SearchQuery**](SearchQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryResult.md b/agdb_api/php/docs/Model/QueryResult.md index 0381da97..3ff74508 100644 --- a/agdb_api/php/docs/Model/QueryResult.md +++ b/agdb_api/php/docs/Model/QueryResult.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**elements** | [**\Agnesoft\\AgdbApi\Model\DbElement[]**](DbElement.md) | List of elements yielded by the query possibly with a list of properties. | +**elements** | [**\Agnesoft\AgdbApi\Model\DbElement[]**](DbElement.md) | List of elements yielded by the query possibly with a list of properties. | **result** | **int** | Query result | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryType.md b/agdb_api/php/docs/Model/QueryType.md index bc2e5a0c..07ea0951 100644 --- a/agdb_api/php/docs/Model/QueryType.md +++ b/agdb_api/php/docs/Model/QueryType.md @@ -4,23 +4,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**insert_alias** | [**\Agnesoft\\AgdbApi\Model\InsertAliasesQuery**](InsertAliasesQuery.md) | | -**insert_edges** | [**\Agnesoft\\AgdbApi\Model\InsertEdgesQuery**](InsertEdgesQuery.md) | | -**insert_index** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**insert_nodes** | [**\Agnesoft\\AgdbApi\Model\InsertNodesQuery**](InsertNodesQuery.md) | | -**insert_values** | [**\Agnesoft\\AgdbApi\Model\InsertValuesQuery**](InsertValuesQuery.md) | | -**remove** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**insert_alias** | [**\Agnesoft\AgdbApi\Model\InsertAliasesQuery**](InsertAliasesQuery.md) | | +**insert_edges** | [**\Agnesoft\AgdbApi\Model\InsertEdgesQuery**](InsertEdgesQuery.md) | | +**insert_index** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**insert_nodes** | [**\Agnesoft\AgdbApi\Model\InsertNodesQuery**](InsertNodesQuery.md) | | +**insert_values** | [**\Agnesoft\AgdbApi\Model\InsertValuesQuery**](InsertValuesQuery.md) | | +**remove** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | **remove_aliases** | **string[]** | Query to remove aliases from the database. It is not an error if an alias to be removed already does not exist. The result will be a negative number signifying how many aliases have been actually removed. | -**remove_index** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | -**remove_values** | [**\Agnesoft\\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | -**search** | [**\Agnesoft\\AgdbApi\Model\SearchQuery**](SearchQuery.md) | | -**select_aliases** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**remove_index** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | +**remove_values** | [**\Agnesoft\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | +**search** | [**\Agnesoft\AgdbApi\Model\SearchQuery**](SearchQuery.md) | | +**select_aliases** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | **select_all_aliases** | **object** | Query to select all aliases in the database. The result will be number of returned aliases and list of elements with a single property `String(\"alias\")` holding the value `String`. | -**select_edge_count** | [**\Agnesoft\\AgdbApi\Model\SelectEdgeCountQuery**](SelectEdgeCountQuery.md) | | +**select_edge_count** | [**\Agnesoft\AgdbApi\Model\SelectEdgeCountQuery**](SelectEdgeCountQuery.md) | | **select_indexes** | **object** | Query to select all indexes in the database. The result will be number of returned indexes and single element with index 0 and the properties corresponding to the names of the indexes (keys) with `u64` values representing number of indexed values in each index. | -**select_keys** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | -**select_key_count** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**select_keys** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**select_key_count** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | **select_node_count** | **object** | Query to select number of nodes in the database. The result will be 1 and elements with a single element of id 0 and a single property `String(\"node_count\")` with a value `u64` represneting number of nodes in teh database. | -**select_values** | [**\Agnesoft\\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | +**select_values** | [**\Agnesoft\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf.md b/agdb_api/php/docs/Model/QueryTypeOneOf.md index 358ea03a..43fea3b2 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**insert_alias** | [**\Agnesoft\\AgdbApi\Model\InsertAliasesQuery**](InsertAliasesQuery.md) | | +**insert_alias** | [**\Agnesoft\AgdbApi\Model\InsertAliasesQuery**](InsertAliasesQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf1.md b/agdb_api/php/docs/Model/QueryTypeOneOf1.md index fbcd7170..dd2ac404 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf1.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf1.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**insert_edges** | [**\Agnesoft\\AgdbApi\Model\InsertEdgesQuery**](InsertEdgesQuery.md) | | +**insert_edges** | [**\Agnesoft\AgdbApi\Model\InsertEdgesQuery**](InsertEdgesQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf11.md b/agdb_api/php/docs/Model/QueryTypeOneOf11.md index 36d10d70..8d7c9bb7 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf11.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf11.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**select_edge_count** | [**\Agnesoft\\AgdbApi\Model\SelectEdgeCountQuery**](SelectEdgeCountQuery.md) | | +**select_edge_count** | [**\Agnesoft\AgdbApi\Model\SelectEdgeCountQuery**](SelectEdgeCountQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf13.md b/agdb_api/php/docs/Model/QueryTypeOneOf13.md index 208d5638..ce49cdf3 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf13.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf13.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**select_keys** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**select_keys** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf14.md b/agdb_api/php/docs/Model/QueryTypeOneOf14.md index 6fb9e26a..31fe5c86 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf14.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf14.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**select_key_count** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**select_key_count** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf16.md b/agdb_api/php/docs/Model/QueryTypeOneOf16.md index 438fba38..c7338d5c 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf16.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf16.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**select_values** | [**\Agnesoft\\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | +**select_values** | [**\Agnesoft\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf2.md b/agdb_api/php/docs/Model/QueryTypeOneOf2.md index b9016585..243dac8d 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf2.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf2.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**insert_index** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**insert_index** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf3.md b/agdb_api/php/docs/Model/QueryTypeOneOf3.md index 7260806c..0c68f574 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf3.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf3.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**insert_nodes** | [**\Agnesoft\\AgdbApi\Model\InsertNodesQuery**](InsertNodesQuery.md) | | +**insert_nodes** | [**\Agnesoft\AgdbApi\Model\InsertNodesQuery**](InsertNodesQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf4.md b/agdb_api/php/docs/Model/QueryTypeOneOf4.md index fd7d1bd8..3645a038 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf4.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf4.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**insert_values** | [**\Agnesoft\\AgdbApi\Model\InsertValuesQuery**](InsertValuesQuery.md) | | +**insert_values** | [**\Agnesoft\AgdbApi\Model\InsertValuesQuery**](InsertValuesQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf5.md b/agdb_api/php/docs/Model/QueryTypeOneOf5.md index 99ac96a0..31293bc1 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf5.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf5.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**remove** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**remove** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf7.md b/agdb_api/php/docs/Model/QueryTypeOneOf7.md index ee974ea8..37fcdb20 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf7.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf7.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**remove_index** | [**\Agnesoft\\AgdbApi\Model\DbValue**](DbValue.md) | | +**remove_index** | [**\Agnesoft\AgdbApi\Model\DbValue**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf8.md b/agdb_api/php/docs/Model/QueryTypeOneOf8.md index 31462a81..ef4f97f3 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf8.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf8.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**remove_values** | [**\Agnesoft\\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | +**remove_values** | [**\Agnesoft\AgdbApi\Model\SelectValuesQuery**](SelectValuesQuery.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryTypeOneOf9.md b/agdb_api/php/docs/Model/QueryTypeOneOf9.md index d255c1e9..fee634c6 100644 --- a/agdb_api/php/docs/Model/QueryTypeOneOf9.md +++ b/agdb_api/php/docs/Model/QueryTypeOneOf9.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**select_aliases** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**select_aliases** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryValues.md b/agdb_api/php/docs/Model/QueryValues.md index b44910ec..5d54850f 100644 --- a/agdb_api/php/docs/Model/QueryValues.md +++ b/agdb_api/php/docs/Model/QueryValues.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**single** | [**\Agnesoft\\AgdbApi\Model\DbKeyValue[]**](DbKeyValue.md) | Single list of properties (key-value pairs) to be applied to all elements in a query. | -**multi** | **\Agnesoft\\AgdbApi\Model\DbKeyValue[][]** | List of lists of properties (key-value pairs) to be applied to all elements in a query. There must be as many lists of properties as ids in a query. | +**single** | [**\Agnesoft\AgdbApi\Model\DbKeyValue[]**](DbKeyValue.md) | Single list of properties (key-value pairs) to be applied to all elements in a query. | +**multi** | **\Agnesoft\AgdbApi\Model\DbKeyValue[][]** | List of lists of properties (key-value pairs) to be applied to all elements in a query. There must be as many lists of properties as ids in a query. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryValuesOneOf.md b/agdb_api/php/docs/Model/QueryValuesOneOf.md index 6465fae9..3b703a4c 100644 --- a/agdb_api/php/docs/Model/QueryValuesOneOf.md +++ b/agdb_api/php/docs/Model/QueryValuesOneOf.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**single** | [**\Agnesoft\\AgdbApi\Model\DbKeyValue[]**](DbKeyValue.md) | Single list of properties (key-value pairs) to be applied to all elements in a query. | +**single** | [**\Agnesoft\AgdbApi\Model\DbKeyValue[]**](DbKeyValue.md) | Single list of properties (key-value pairs) to be applied to all elements in a query. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/QueryValuesOneOf1.md b/agdb_api/php/docs/Model/QueryValuesOneOf1.md index ed82e8fb..996395d6 100644 --- a/agdb_api/php/docs/Model/QueryValuesOneOf1.md +++ b/agdb_api/php/docs/Model/QueryValuesOneOf1.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**multi** | **\Agnesoft\\AgdbApi\Model\DbKeyValue[][]** | List of lists of properties (key-value pairs) to be applied to all elements in a query. There must be as many lists of properties as ids in a query. | +**multi** | **\Agnesoft\AgdbApi\Model\DbKeyValue[][]** | List of lists of properties (key-value pairs) to be applied to all elements in a query. There must be as many lists of properties as ids in a query. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/SearchQuery.md b/agdb_api/php/docs/Model/SearchQuery.md index caa3af4e..6f7c7d46 100644 --- a/agdb_api/php/docs/Model/SearchQuery.md +++ b/agdb_api/php/docs/Model/SearchQuery.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**algorithm** | [**\Agnesoft\\AgdbApi\Model\SearchQueryAlgorithm**](SearchQueryAlgorithm.md) | | -**conditions** | [**\Agnesoft\\AgdbApi\Model\QueryCondition[]**](QueryCondition.md) | Set of conditions every element must satisfy to be included in the result. Some conditions also influence the search path as well. | -**destination** | [**\Agnesoft\\AgdbApi\Model\QueryId**](QueryId.md) | | +**algorithm** | [**\Agnesoft\AgdbApi\Model\SearchQueryAlgorithm**](SearchQueryAlgorithm.md) | | +**conditions** | [**\Agnesoft\AgdbApi\Model\QueryCondition[]**](QueryCondition.md) | Set of conditions every element must satisfy to be included in the result. Some conditions also influence the search path as well. | +**destination** | [**\Agnesoft\AgdbApi\Model\QueryId**](QueryId.md) | | **limit** | **int** | How many elements maximum to return. | **offset** | **int** | How many elements that would be returned should be skipped in the result. | -**order_by** | [**\Agnesoft\\AgdbApi\Model\DbKeyOrder[]**](DbKeyOrder.md) | Order of the elements in the result. The sorting happens before `offset` and `limit` are applied. | -**origin** | [**\Agnesoft\\AgdbApi\Model\QueryId**](QueryId.md) | | +**order_by** | [**\Agnesoft\AgdbApi\Model\DbKeyOrder[]**](DbKeyOrder.md) | Order of the elements in the result. The sorting happens before `offset` and `limit` are applied. | +**origin** | [**\Agnesoft\AgdbApi\Model\QueryId**](QueryId.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/SelectEdgeCountQuery.md b/agdb_api/php/docs/Model/SelectEdgeCountQuery.md index 18105955..692d37ec 100644 --- a/agdb_api/php/docs/Model/SelectEdgeCountQuery.md +++ b/agdb_api/php/docs/Model/SelectEdgeCountQuery.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **from** | **bool** | If set to `true` the query will count outgoing edges from the nodes. | -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | **to** | **bool** | If set to `true` the query will count incoming edges to the nodes. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/SelectValuesQuery.md b/agdb_api/php/docs/Model/SelectValuesQuery.md index c46742ee..d9fac118 100644 --- a/agdb_api/php/docs/Model/SelectValuesQuery.md +++ b/agdb_api/php/docs/Model/SelectValuesQuery.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ids** | [**\Agnesoft\\AgdbApi\Model\QueryIds**](QueryIds.md) | | -**keys** | [**\Agnesoft\\AgdbApi\Model\DbValue[]**](DbValue.md) | | +**ids** | [**\Agnesoft\AgdbApi\Model\QueryIds**](QueryIds.md) | | +**keys** | [**\Agnesoft\AgdbApi\Model\DbValue[]**](DbValue.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ServerDatabase.md b/agdb_api/php/docs/Model/ServerDatabase.md index 35c23250..7aba497c 100644 --- a/agdb_api/php/docs/Model/ServerDatabase.md +++ b/agdb_api/php/docs/Model/ServerDatabase.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **backup** | **int** | | -**db_type** | [**\Agnesoft\\AgdbApi\Model\DbType**](DbType.md) | | +**db_type** | [**\Agnesoft\AgdbApi\Model\DbType**](DbType.md) | | **name** | **string** | | -**role** | [**\Agnesoft\\AgdbApi\Model\DbUserRole**](DbUserRole.md) | | +**role** | [**\Agnesoft\AgdbApi\Model\DbUserRole**](DbUserRole.md) | | **size** | **int** | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/ServerDatabaseResource.md b/agdb_api/php/docs/Model/ServerDatabaseResource.md index 217b2ab3..9f3d241f 100644 --- a/agdb_api/php/docs/Model/ServerDatabaseResource.md +++ b/agdb_api/php/docs/Model/ServerDatabaseResource.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**resource** | [**\Agnesoft\\AgdbApi\Model\DbResource**](DbResource.md) | | +**resource** | [**\Agnesoft\AgdbApi\Model\DbResource**](DbResource.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/docs/Model/StatusParams.md b/agdb_api/php/docs/Model/StatusParams.md deleted file mode 100644 index 957293d1..00000000 --- a/agdb_api/php/docs/Model/StatusParams.md +++ /dev/null @@ -1,9 +0,0 @@ -# # StatusParams - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cluster** | **bool** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/agdb_api/php/lib/Api/AgdbApi.php b/agdb_api/php/lib/Api/AgdbApi.php index ce85cce9..57178e78 100644 --- a/agdb_api/php/lib/Api/AgdbApi.php +++ b/agdb_api/php/lib/Api/AgdbApi.php @@ -14,9 +14,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** @@ -128,6 +128,9 @@ class AgdbApi 'adminUserRemove' => [ 'application/json', ], + 'clusterStatus' => [ + 'application/json', + ], 'dbAdd' => [ 'application/json', ], @@ -5435,6 +5438,285 @@ public function adminUserRemoveRequest($username, string $contentType = self::co ); } + /** + * Operation clusterStatus + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['clusterStatus'] to see the possible values for this operation + * + * @throws \Agnesoft\AgdbApi\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \Agnesoft\AgdbApi\Model\ClusterStatus[] + */ + public function clusterStatus(string $contentType = self::contentTypes['clusterStatus'][0]) + { + list($response) = $this->clusterStatusWithHttpInfo($contentType); + return $response; + } + + /** + * Operation clusterStatusWithHttpInfo + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['clusterStatus'] to see the possible values for this operation + * + * @throws \Agnesoft\AgdbApi\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \Agnesoft\AgdbApi\Model\ClusterStatus[], HTTP status code, HTTP response headers (array of strings) + */ + public function clusterStatusWithHttpInfo(string $contentType = self::contentTypes['clusterStatus'][0]) + { + $request = $this->clusterStatusRequest($contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('\Agnesoft\AgdbApi\Model\ClusterStatus[]' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ('\Agnesoft\AgdbApi\Model\ClusterStatus[]' !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $statusCode, + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, '\Agnesoft\AgdbApi\Model\ClusterStatus[]', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = '\Agnesoft\AgdbApi\Model\ClusterStatus[]'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $statusCode, + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Agnesoft\AgdbApi\Model\ClusterStatus[]', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation clusterStatusAsync + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['clusterStatus'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function clusterStatusAsync(string $contentType = self::contentTypes['clusterStatus'][0]) + { + return $this->clusterStatusAsyncWithHttpInfo($contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation clusterStatusAsyncWithHttpInfo + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['clusterStatus'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function clusterStatusAsyncWithHttpInfo(string $contentType = self::contentTypes['clusterStatus'][0]) + { + $returnType = '\Agnesoft\AgdbApi\Model\ClusterStatus[]'; + $request = $this->clusterStatusRequest($contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'clusterStatus' + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['clusterStatus'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function clusterStatusRequest(string $contentType = self::contentTypes['clusterStatus'][0]) + { + + + $resourcePath = '/api/v1/cluster/status'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + /** * Operation dbAdd * diff --git a/agdb_api/php/lib/ApiException.php b/agdb_api/php/lib/ApiException.php index d43b90bb..d1c90b4b 100644 --- a/agdb_api/php/lib/ApiException.php +++ b/agdb_api/php/lib/ApiException.php @@ -14,9 +14,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** @@ -49,7 +49,7 @@ class ApiException extends Exception /** * The HTTP header of the server response. * - * @var string[]|null + * @var string[][]|null */ protected $responseHeaders; @@ -65,7 +65,7 @@ class ApiException extends Exception * * @param string $message Error message * @param int $code HTTP status code - * @param string[]|null $responseHeaders HTTP response header + * @param string[][]|null $responseHeaders HTTP response header * @param \stdClass|string|null $responseBody HTTP decoded body of the server response either as \stdClass or string */ public function __construct($message = "", $code = 0, $responseHeaders = [], $responseBody = null) @@ -78,7 +78,7 @@ public function __construct($message = "", $code = 0, $responseHeaders = [], $re /** * Gets the HTTP response header * - * @return string[]|null HTTP response header + * @return string[][]|null HTTP response header */ public function getResponseHeaders() { diff --git a/agdb_api/php/lib/Configuration.php b/agdb_api/php/lib/Configuration.php index 336f52df..80c3f6f6 100644 --- a/agdb_api/php/lib/Configuration.php +++ b/agdb_api/php/lib/Configuration.php @@ -14,9 +14,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** @@ -432,7 +432,7 @@ public static function toDebugReport() $report = 'PHP SDK (Agnesoft\AgdbApi) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 0.8.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 0.8.1' . PHP_EOL; $report .= ' SDK Package Version: 0.7.2' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; diff --git a/agdb_api/php/lib/HeaderSelector.php b/agdb_api/php/lib/HeaderSelector.php index 3c84d0dd..d7fd95a5 100644 --- a/agdb_api/php/lib/HeaderSelector.php +++ b/agdb_api/php/lib/HeaderSelector.php @@ -14,9 +14,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ChangePassword.php b/agdb_api/php/lib/Model/ChangePassword.php index 03480cd3..174982d0 100644 --- a/agdb_api/php/lib/Model/ChangePassword.php +++ b/agdb_api/php/lib/Model/ChangePassword.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ClusterStatus.php b/agdb_api/php/lib/Model/ClusterStatus.php index b3d46a2b..7a685fb3 100644 --- a/agdb_api/php/lib/Model/ClusterStatus.php +++ b/agdb_api/php/lib/Model/ClusterStatus.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/Comparison.php b/agdb_api/php/lib/Model/Comparison.php index 79fee389..2e23c372 100644 --- a/agdb_api/php/lib/Model/Comparison.php +++ b/agdb_api/php/lib/Model/Comparison.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ComparisonOneOf.php b/agdb_api/php/lib/Model/ComparisonOneOf.php index 29dd24d2..90b5a8fd 100644 --- a/agdb_api/php/lib/Model/ComparisonOneOf.php +++ b/agdb_api/php/lib/Model/ComparisonOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ComparisonOneOf1.php b/agdb_api/php/lib/Model/ComparisonOneOf1.php index 7c0a5739..3e96b7a2 100644 --- a/agdb_api/php/lib/Model/ComparisonOneOf1.php +++ b/agdb_api/php/lib/Model/ComparisonOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ComparisonOneOf2.php b/agdb_api/php/lib/Model/ComparisonOneOf2.php index b7403f2c..dd5258fe 100644 --- a/agdb_api/php/lib/Model/ComparisonOneOf2.php +++ b/agdb_api/php/lib/Model/ComparisonOneOf2.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ComparisonOneOf3.php b/agdb_api/php/lib/Model/ComparisonOneOf3.php index 8be1c7f2..d677c9a0 100644 --- a/agdb_api/php/lib/Model/ComparisonOneOf3.php +++ b/agdb_api/php/lib/Model/ComparisonOneOf3.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ComparisonOneOf4.php b/agdb_api/php/lib/Model/ComparisonOneOf4.php index ccc75314..de6dce04 100644 --- a/agdb_api/php/lib/Model/ComparisonOneOf4.php +++ b/agdb_api/php/lib/Model/ComparisonOneOf4.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ComparisonOneOf5.php b/agdb_api/php/lib/Model/ComparisonOneOf5.php index 706ce040..e42b6b1a 100644 --- a/agdb_api/php/lib/Model/ComparisonOneOf5.php +++ b/agdb_api/php/lib/Model/ComparisonOneOf5.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ComparisonOneOf6.php b/agdb_api/php/lib/Model/ComparisonOneOf6.php index 77e29294..120b325c 100644 --- a/agdb_api/php/lib/Model/ComparisonOneOf6.php +++ b/agdb_api/php/lib/Model/ComparisonOneOf6.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/CountComparison.php b/agdb_api/php/lib/Model/CountComparison.php index 969ec629..17307315 100644 --- a/agdb_api/php/lib/Model/CountComparison.php +++ b/agdb_api/php/lib/Model/CountComparison.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/CountComparisonOneOf.php b/agdb_api/php/lib/Model/CountComparisonOneOf.php index 8632d582..95a08fda 100644 --- a/agdb_api/php/lib/Model/CountComparisonOneOf.php +++ b/agdb_api/php/lib/Model/CountComparisonOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/CountComparisonOneOf1.php b/agdb_api/php/lib/Model/CountComparisonOneOf1.php index b8fb377d..daa3e257 100644 --- a/agdb_api/php/lib/Model/CountComparisonOneOf1.php +++ b/agdb_api/php/lib/Model/CountComparisonOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/CountComparisonOneOf2.php b/agdb_api/php/lib/Model/CountComparisonOneOf2.php index 83cdce4c..9f386428 100644 --- a/agdb_api/php/lib/Model/CountComparisonOneOf2.php +++ b/agdb_api/php/lib/Model/CountComparisonOneOf2.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/CountComparisonOneOf3.php b/agdb_api/php/lib/Model/CountComparisonOneOf3.php index 2bdf6add..952580eb 100644 --- a/agdb_api/php/lib/Model/CountComparisonOneOf3.php +++ b/agdb_api/php/lib/Model/CountComparisonOneOf3.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/CountComparisonOneOf4.php b/agdb_api/php/lib/Model/CountComparisonOneOf4.php index 5b9174c6..fa5cf641 100644 --- a/agdb_api/php/lib/Model/CountComparisonOneOf4.php +++ b/agdb_api/php/lib/Model/CountComparisonOneOf4.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/CountComparisonOneOf5.php b/agdb_api/php/lib/Model/CountComparisonOneOf5.php index 12bfccf9..5fcbf38c 100644 --- a/agdb_api/php/lib/Model/CountComparisonOneOf5.php +++ b/agdb_api/php/lib/Model/CountComparisonOneOf5.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbElement.php b/agdb_api/php/lib/Model/DbElement.php index 85409d65..0ef094ee 100644 --- a/agdb_api/php/lib/Model/DbElement.php +++ b/agdb_api/php/lib/Model/DbElement.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbKeyOrder.php b/agdb_api/php/lib/Model/DbKeyOrder.php index 54080231..ba9abeac 100644 --- a/agdb_api/php/lib/Model/DbKeyOrder.php +++ b/agdb_api/php/lib/Model/DbKeyOrder.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbKeyOrderOneOf.php b/agdb_api/php/lib/Model/DbKeyOrderOneOf.php index 4d3139ac..5bc0ec99 100644 --- a/agdb_api/php/lib/Model/DbKeyOrderOneOf.php +++ b/agdb_api/php/lib/Model/DbKeyOrderOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbKeyOrderOneOf1.php b/agdb_api/php/lib/Model/DbKeyOrderOneOf1.php index 49ea13d8..e6d29914 100644 --- a/agdb_api/php/lib/Model/DbKeyOrderOneOf1.php +++ b/agdb_api/php/lib/Model/DbKeyOrderOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbKeyValue.php b/agdb_api/php/lib/Model/DbKeyValue.php index d8a97c2e..1a288542 100644 --- a/agdb_api/php/lib/Model/DbKeyValue.php +++ b/agdb_api/php/lib/Model/DbKeyValue.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbResource.php b/agdb_api/php/lib/Model/DbResource.php index 76c15970..2c5b2b9f 100644 --- a/agdb_api/php/lib/Model/DbResource.php +++ b/agdb_api/php/lib/Model/DbResource.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbType.php b/agdb_api/php/lib/Model/DbType.php index bf336939..933cda18 100644 --- a/agdb_api/php/lib/Model/DbType.php +++ b/agdb_api/php/lib/Model/DbType.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbTypeParam.php b/agdb_api/php/lib/Model/DbTypeParam.php index f2991ddf..b009b8e5 100644 --- a/agdb_api/php/lib/Model/DbTypeParam.php +++ b/agdb_api/php/lib/Model/DbTypeParam.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbUser.php b/agdb_api/php/lib/Model/DbUser.php index 99003050..cf215a8a 100644 --- a/agdb_api/php/lib/Model/DbUser.php +++ b/agdb_api/php/lib/Model/DbUser.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbUserRole.php b/agdb_api/php/lib/Model/DbUserRole.php index 98f01b59..1fc41df3 100644 --- a/agdb_api/php/lib/Model/DbUserRole.php +++ b/agdb_api/php/lib/Model/DbUserRole.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbUserRoleParam.php b/agdb_api/php/lib/Model/DbUserRoleParam.php index 5b3cf894..1fd3ada4 100644 --- a/agdb_api/php/lib/Model/DbUserRoleParam.php +++ b/agdb_api/php/lib/Model/DbUserRoleParam.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValue.php b/agdb_api/php/lib/Model/DbValue.php index 1f0d57f8..17740ea4 100644 --- a/agdb_api/php/lib/Model/DbValue.php +++ b/agdb_api/php/lib/Model/DbValue.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf.php b/agdb_api/php/lib/Model/DbValueOneOf.php index d2b7bfa3..32233601 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf.php +++ b/agdb_api/php/lib/Model/DbValueOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf1.php b/agdb_api/php/lib/Model/DbValueOneOf1.php index 7678be55..620adf46 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf1.php +++ b/agdb_api/php/lib/Model/DbValueOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf2.php b/agdb_api/php/lib/Model/DbValueOneOf2.php index eba83c1a..123c9672 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf2.php +++ b/agdb_api/php/lib/Model/DbValueOneOf2.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf3.php b/agdb_api/php/lib/Model/DbValueOneOf3.php index 5f8dbbbd..e623abdc 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf3.php +++ b/agdb_api/php/lib/Model/DbValueOneOf3.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf4.php b/agdb_api/php/lib/Model/DbValueOneOf4.php index 342ee7c0..5b0c4673 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf4.php +++ b/agdb_api/php/lib/Model/DbValueOneOf4.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf5.php b/agdb_api/php/lib/Model/DbValueOneOf5.php index 46b45fa8..b3dae886 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf5.php +++ b/agdb_api/php/lib/Model/DbValueOneOf5.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf6.php b/agdb_api/php/lib/Model/DbValueOneOf6.php index 1183cb1d..561b2a68 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf6.php +++ b/agdb_api/php/lib/Model/DbValueOneOf6.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf7.php b/agdb_api/php/lib/Model/DbValueOneOf7.php index fe732194..4b0ac935 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf7.php +++ b/agdb_api/php/lib/Model/DbValueOneOf7.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/DbValueOneOf8.php b/agdb_api/php/lib/Model/DbValueOneOf8.php index ed2aadda..db0a34da 100644 --- a/agdb_api/php/lib/Model/DbValueOneOf8.php +++ b/agdb_api/php/lib/Model/DbValueOneOf8.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/InsertAliasesQuery.php b/agdb_api/php/lib/Model/InsertAliasesQuery.php index 3614551e..608d9c45 100644 --- a/agdb_api/php/lib/Model/InsertAliasesQuery.php +++ b/agdb_api/php/lib/Model/InsertAliasesQuery.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/InsertEdgesQuery.php b/agdb_api/php/lib/Model/InsertEdgesQuery.php index 7e7cf23d..4a020dc9 100644 --- a/agdb_api/php/lib/Model/InsertEdgesQuery.php +++ b/agdb_api/php/lib/Model/InsertEdgesQuery.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/InsertNodesQuery.php b/agdb_api/php/lib/Model/InsertNodesQuery.php index 6ee866e0..00d34340 100644 --- a/agdb_api/php/lib/Model/InsertNodesQuery.php +++ b/agdb_api/php/lib/Model/InsertNodesQuery.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/InsertValuesQuery.php b/agdb_api/php/lib/Model/InsertValuesQuery.php index a7e1b582..f5aa8576 100644 --- a/agdb_api/php/lib/Model/InsertValuesQuery.php +++ b/agdb_api/php/lib/Model/InsertValuesQuery.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ModelInterface.php b/agdb_api/php/lib/Model/ModelInterface.php index 98fffa9b..a8164b4c 100644 --- a/agdb_api/php/lib/Model/ModelInterface.php +++ b/agdb_api/php/lib/Model/ModelInterface.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryAudit.php b/agdb_api/php/lib/Model/QueryAudit.php index 3e8873fa..6212d314 100644 --- a/agdb_api/php/lib/Model/QueryAudit.php +++ b/agdb_api/php/lib/Model/QueryAudit.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryCondition.php b/agdb_api/php/lib/Model/QueryCondition.php index ea339733..12fe583f 100644 --- a/agdb_api/php/lib/Model/QueryCondition.php +++ b/agdb_api/php/lib/Model/QueryCondition.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionData.php b/agdb_api/php/lib/Model/QueryConditionData.php index 712f95e2..435216ca 100644 --- a/agdb_api/php/lib/Model/QueryConditionData.php +++ b/agdb_api/php/lib/Model/QueryConditionData.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf.php index b208828e..b9646ac7 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf1.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf1.php index 5e8b3f4a..777b9889 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf1.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf2.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf2.php index 2ee5647a..46a311b0 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf2.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf2.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf3.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf3.php index 8dc04715..bb80d3c4 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf3.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf3.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf4.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf4.php index 4880f86e..903389a3 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf4.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf4.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf5.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf5.php index d2dd441c..87c012ab 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf5.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf5.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf5KeyValue.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf5KeyValue.php index 1cede09c..c119f1a1 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf5KeyValue.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf5KeyValue.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf6.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf6.php index e21589b8..a04f1319 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf6.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf6.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionDataOneOf7.php b/agdb_api/php/lib/Model/QueryConditionDataOneOf7.php index 7d9a6a41..74790075 100644 --- a/agdb_api/php/lib/Model/QueryConditionDataOneOf7.php +++ b/agdb_api/php/lib/Model/QueryConditionDataOneOf7.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionLogic.php b/agdb_api/php/lib/Model/QueryConditionLogic.php index 4bed1ccc..f6183100 100644 --- a/agdb_api/php/lib/Model/QueryConditionLogic.php +++ b/agdb_api/php/lib/Model/QueryConditionLogic.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryConditionModifier.php b/agdb_api/php/lib/Model/QueryConditionModifier.php index 9eada8b1..74451518 100644 --- a/agdb_api/php/lib/Model/QueryConditionModifier.php +++ b/agdb_api/php/lib/Model/QueryConditionModifier.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryId.php b/agdb_api/php/lib/Model/QueryId.php index 3d24a577..86ed96c8 100644 --- a/agdb_api/php/lib/Model/QueryId.php +++ b/agdb_api/php/lib/Model/QueryId.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryIdOneOf.php b/agdb_api/php/lib/Model/QueryIdOneOf.php index 1abaff03..a688cbae 100644 --- a/agdb_api/php/lib/Model/QueryIdOneOf.php +++ b/agdb_api/php/lib/Model/QueryIdOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryIdOneOf1.php b/agdb_api/php/lib/Model/QueryIdOneOf1.php index 44af2911..dcf1fe0d 100644 --- a/agdb_api/php/lib/Model/QueryIdOneOf1.php +++ b/agdb_api/php/lib/Model/QueryIdOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryIds.php b/agdb_api/php/lib/Model/QueryIds.php index b672e5b4..e19e8944 100644 --- a/agdb_api/php/lib/Model/QueryIds.php +++ b/agdb_api/php/lib/Model/QueryIds.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryIdsOneOf.php b/agdb_api/php/lib/Model/QueryIdsOneOf.php index c24e92ea..856b5896 100644 --- a/agdb_api/php/lib/Model/QueryIdsOneOf.php +++ b/agdb_api/php/lib/Model/QueryIdsOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryIdsOneOf1.php b/agdb_api/php/lib/Model/QueryIdsOneOf1.php index 598dec36..d51f2a33 100644 --- a/agdb_api/php/lib/Model/QueryIdsOneOf1.php +++ b/agdb_api/php/lib/Model/QueryIdsOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryResult.php b/agdb_api/php/lib/Model/QueryResult.php index b7d9dba0..d5ba807e 100644 --- a/agdb_api/php/lib/Model/QueryResult.php +++ b/agdb_api/php/lib/Model/QueryResult.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryType.php b/agdb_api/php/lib/Model/QueryType.php index c8952e7e..33f4c7e3 100644 --- a/agdb_api/php/lib/Model/QueryType.php +++ b/agdb_api/php/lib/Model/QueryType.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf.php b/agdb_api/php/lib/Model/QueryTypeOneOf.php index 7b011314..549defa0 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf1.php b/agdb_api/php/lib/Model/QueryTypeOneOf1.php index 2e052d71..55d54828 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf1.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf10.php b/agdb_api/php/lib/Model/QueryTypeOneOf10.php index ce1bdabd..b00d89a2 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf10.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf10.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf11.php b/agdb_api/php/lib/Model/QueryTypeOneOf11.php index be8687b1..9eefbbfa 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf11.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf11.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf12.php b/agdb_api/php/lib/Model/QueryTypeOneOf12.php index 6201f180..aa7255b4 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf12.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf12.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf13.php b/agdb_api/php/lib/Model/QueryTypeOneOf13.php index 4e94f699..f95107c4 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf13.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf13.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf14.php b/agdb_api/php/lib/Model/QueryTypeOneOf14.php index db6dd133..c5bd49e7 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf14.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf14.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf15.php b/agdb_api/php/lib/Model/QueryTypeOneOf15.php index 1e46d817..6d8c2506 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf15.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf15.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf16.php b/agdb_api/php/lib/Model/QueryTypeOneOf16.php index e3a06600..174cf230 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf16.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf16.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf2.php b/agdb_api/php/lib/Model/QueryTypeOneOf2.php index 6edbe4af..32a30ec8 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf2.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf2.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf3.php b/agdb_api/php/lib/Model/QueryTypeOneOf3.php index 6a0d5090..66d10da7 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf3.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf3.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf4.php b/agdb_api/php/lib/Model/QueryTypeOneOf4.php index ede1e2d9..74879739 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf4.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf4.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf5.php b/agdb_api/php/lib/Model/QueryTypeOneOf5.php index 9d12c43e..14ebc9b9 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf5.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf5.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf6.php b/agdb_api/php/lib/Model/QueryTypeOneOf6.php index dba8bd22..3c2da338 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf6.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf6.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf7.php b/agdb_api/php/lib/Model/QueryTypeOneOf7.php index 3745f8e6..9d384b28 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf7.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf7.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf8.php b/agdb_api/php/lib/Model/QueryTypeOneOf8.php index 5f6bec4f..9bd32dbf 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf8.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf8.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryTypeOneOf9.php b/agdb_api/php/lib/Model/QueryTypeOneOf9.php index 6cb98439..7abf1b0d 100644 --- a/agdb_api/php/lib/Model/QueryTypeOneOf9.php +++ b/agdb_api/php/lib/Model/QueryTypeOneOf9.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryValues.php b/agdb_api/php/lib/Model/QueryValues.php index 7d8a3678..817af781 100644 --- a/agdb_api/php/lib/Model/QueryValues.php +++ b/agdb_api/php/lib/Model/QueryValues.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryValuesOneOf.php b/agdb_api/php/lib/Model/QueryValuesOneOf.php index 549b816a..57f3fecf 100644 --- a/agdb_api/php/lib/Model/QueryValuesOneOf.php +++ b/agdb_api/php/lib/Model/QueryValuesOneOf.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/QueryValuesOneOf1.php b/agdb_api/php/lib/Model/QueryValuesOneOf1.php index a61fa0a1..18c5f496 100644 --- a/agdb_api/php/lib/Model/QueryValuesOneOf1.php +++ b/agdb_api/php/lib/Model/QueryValuesOneOf1.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/SearchQuery.php b/agdb_api/php/lib/Model/SearchQuery.php index 5bee5649..06912109 100644 --- a/agdb_api/php/lib/Model/SearchQuery.php +++ b/agdb_api/php/lib/Model/SearchQuery.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/SearchQueryAlgorithm.php b/agdb_api/php/lib/Model/SearchQueryAlgorithm.php index 27318902..cf3bd0ca 100644 --- a/agdb_api/php/lib/Model/SearchQueryAlgorithm.php +++ b/agdb_api/php/lib/Model/SearchQueryAlgorithm.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/SelectEdgeCountQuery.php b/agdb_api/php/lib/Model/SelectEdgeCountQuery.php index 2c0cc68e..d2b72b1e 100644 --- a/agdb_api/php/lib/Model/SelectEdgeCountQuery.php +++ b/agdb_api/php/lib/Model/SelectEdgeCountQuery.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/SelectValuesQuery.php b/agdb_api/php/lib/Model/SelectValuesQuery.php index 0ce0d54d..215e9353 100644 --- a/agdb_api/php/lib/Model/SelectValuesQuery.php +++ b/agdb_api/php/lib/Model/SelectValuesQuery.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ServerDatabase.php b/agdb_api/php/lib/Model/ServerDatabase.php index 4bc516d1..6b03b387 100644 --- a/agdb_api/php/lib/Model/ServerDatabase.php +++ b/agdb_api/php/lib/Model/ServerDatabase.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ServerDatabaseRename.php b/agdb_api/php/lib/Model/ServerDatabaseRename.php index 4c09e0c8..208170de 100644 --- a/agdb_api/php/lib/Model/ServerDatabaseRename.php +++ b/agdb_api/php/lib/Model/ServerDatabaseRename.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/ServerDatabaseResource.php b/agdb_api/php/lib/Model/ServerDatabaseResource.php index 35f0eec5..56ceee2e 100644 --- a/agdb_api/php/lib/Model/ServerDatabaseResource.php +++ b/agdb_api/php/lib/Model/ServerDatabaseResource.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/StatusParams.php b/agdb_api/php/lib/Model/StatusParams.php deleted file mode 100644 index 1128eae2..00000000 --- a/agdb_api/php/lib/Model/StatusParams.php +++ /dev/null @@ -1,416 +0,0 @@ - - */ -class StatusParams implements ModelInterface, ArrayAccess, \JsonSerializable -{ - public const DISCRIMINATOR = null; - - /** - * The original name of the model. - * - * @var string - */ - protected static $openAPIModelName = 'StatusParams'; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPITypes = [ - 'cluster' => 'bool' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - * @phpstan-var array - * @psalm-var array - */ - protected static $openAPIFormats = [ - 'cluster' => null - ]; - - /** - * Array of nullable properties. Used for (de)serialization - * - * @var boolean[] - */ - protected static array $openAPINullables = [ - 'cluster' => true - ]; - - /** - * If a nullable field gets set to null, insert it here - * - * @var boolean[] - */ - protected array $openAPINullablesSetToNull = []; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of nullable properties - * - * @return array - */ - protected static function openAPINullables(): array - { - return self::$openAPINullables; - } - - /** - * Array of nullable field names deliberately set to null - * - * @return boolean[] - */ - private function getOpenAPINullablesSetToNull(): array - { - return $this->openAPINullablesSetToNull; - } - - /** - * Setter - Array of nullable field names deliberately set to null - * - * @param boolean[] $openAPINullablesSetToNull - */ - private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void - { - $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; - } - - /** - * Checks if a property is nullable - * - * @param string $property - * @return bool - */ - public static function isNullable(string $property): bool - { - return self::openAPINullables()[$property] ?? false; - } - - /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool - */ - public function isNullableSetToNull(string $property): bool - { - return in_array($property, $this->getOpenAPINullablesSetToNull(), true); - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'cluster' => 'cluster' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'cluster' => 'setCluster' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'cluster' => 'getCluster' - ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$openAPIModelName; - } - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->setIfExists('cluster', $data ?? [], null); - } - - /** - * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName - * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the - * $this->openAPINullablesSetToNull array - * - * @param string $variableName - * @param array $fields - * @param mixed $defaultValue - */ - private function setIfExists(string $variableName, array $fields, $defaultValue): void - { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; - } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets cluster - * - * @return bool|null - */ - public function getCluster() - { - return $this->container['cluster']; - } - - /** - * Sets cluster - * - * @param bool|null $cluster cluster - * - * @return self - */ - public function setCluster($cluster) - { - if (is_null($cluster)) { - array_push($this->openAPINullablesSetToNull, 'cluster'); - } else { - $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); - $index = array_search('cluster', $nullablesSetToNull); - if ($index !== FALSE) { - unset($nullablesSetToNull[$index]); - $this->setOpenAPINullablesSetToNull($nullablesSetToNull); - } - } - $this->container['cluster'] = $cluster; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset): bool - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed|null - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->container[$offset] ?? null; - } - - /** - * Sets value based on offset. - * - * @param int|null $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value): void - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset): void - { - unset($this->container[$offset]); - } - - /** - * Serializes the object to a value that can be serialized natively by json_encode(). - * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php - * - * @return mixed Returns data which can be serialized by json_encode(), which is a value - * of any type other than a resource. - */ - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - return ObjectSerializer::sanitizeForSerialization($this); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - /** - * Gets a header-safe presentation of the object - * - * @return string - */ - public function toHeaderValue() - { - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/agdb_api/php/lib/Model/UserCredentials.php b/agdb_api/php/lib/Model/UserCredentials.php index 911694d1..18cb55f8 100644 --- a/agdb_api/php/lib/Model/UserCredentials.php +++ b/agdb_api/php/lib/Model/UserCredentials.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/UserLogin.php b/agdb_api/php/lib/Model/UserLogin.php index 5f44ae95..fffde813 100644 --- a/agdb_api/php/lib/Model/UserLogin.php +++ b/agdb_api/php/lib/Model/UserLogin.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/Model/UserStatus.php b/agdb_api/php/lib/Model/UserStatus.php index 10d7dae4..2155f65c 100644 --- a/agdb_api/php/lib/Model/UserStatus.php +++ b/agdb_api/php/lib/Model/UserStatus.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** diff --git a/agdb_api/php/lib/ObjectSerializer.php b/agdb_api/php/lib/ObjectSerializer.php index 63af9710..9d8e80c9 100644 --- a/agdb_api/php/lib/ObjectSerializer.php +++ b/agdb_api/php/lib/ObjectSerializer.php @@ -15,9 +15,9 @@ * * Agnesoft Graph Database Server * - * The version of the OpenAPI document: 0.8.0 + * The version of the OpenAPI document: 0.8.1 * Generated by: https://openapi-generator.tech - * Generator version: 7.7.0 + * Generator version: 7.8.0 */ /** @@ -265,6 +265,11 @@ public static function toQueryValue( $value = $flattenArray($value, $paramName); + // https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values + if ($openApiType === 'array' && $style === 'deepObject' && $explode) { + return $value; + } + if ($openApiType === 'object' && ($style === 'deepObject' || $explode)) { return $value; } @@ -472,7 +477,7 @@ public static function deserialize($data, $class, $httpHeaders = null) // determine file name if ( is_array($httpHeaders) - && array_key_exists('Content-Disposition', $httpHeaders) + && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { $filename = Configuration::getDefaultConfiguration()->getTempFolderPath() . DIRECTORY_SEPARATOR . self::sanitizeFilename($match[1]); diff --git a/agdb_api/php/package-lock.json b/agdb_api/php/package-lock.json index cae17759..26fd603f 100644 --- a/agdb_api/php/package-lock.json +++ b/agdb_api/php/package-lock.json @@ -4,6 +4,7 @@ "requires": true, "packages": { "": { + "name": "php", "devDependencies": { "@prettier/plugin-php": "^0.22.2", "prettier": "^3.3.3" diff --git a/agdb_api/php/query_test_generator.js b/agdb_api/php/query_test_generator.js index 2553d1b8..8104a130 100644 --- a/agdb_api/php/query_test_generator.js +++ b/agdb_api/php/query_test_generator.js @@ -1,4 +1,4 @@ -import test_queries from "../../agdb_server/openapi/test_queries.json" assert { type: "json" }; +import test_queries from "../../agdb_server/test_queries.json" assert { type: "json" }; import * as fs from "fs"; let tests = ` @@ -16,7 +16,7 @@ final class QueryTest extends \\PHPUnit\\Framework\\TestCase { private static $test_queries; // @phpstan-ignore missingType.property public static function setUpBeforeClass(): void { - self::$test_queries = json_decode((string) file_get_contents("../../agdb_server/openapi/test_queries.json")); + self::$test_queries = json_decode((string) file_get_contents("../../agdb_server/test_queries.json")); }`; for (let index in test_queries) { diff --git a/agdb_api/php/tests/QueryTest.php b/agdb_api/php/tests/QueryTest.php index 1403d8d3..dc612d08 100644 --- a/agdb_api/php/tests/QueryTest.php +++ b/agdb_api/php/tests/QueryTest.php @@ -21,9 +21,7 @@ final class QueryTest extends \PHPUnit\Framework\TestCase public static function setUpBeforeClass(): void { self::$test_queries = json_decode( - (string) file_get_contents( - "../../agdb_server/openapi/test_queries.json" - ) + (string) file_get_contents("../../agdb_server/test_queries.json") ); } public function testQueryBuilder0(): void diff --git a/agdb_api/typescript/.eslintrc.cjs b/agdb_api/typescript/.eslintrc.cjs index f88c0464..f7bcd232 100644 --- a/agdb_api/typescript/.eslintrc.cjs +++ b/agdb_api/typescript/.eslintrc.cjs @@ -6,7 +6,7 @@ module.exports = { env: { node: true, }, - ignorePatterns: ["src/schema.d.ts", ".gitignore", "dist/"], + ignorePatterns: ["src/openapi.d.ts", ".gitignore", "dist/"], parser: "@typescript-eslint/parser", parserOptions: { ecmaVersion: "latest" diff --git a/agdb_api/typescript/.prettierignore b/agdb_api/typescript/.prettierignore index df9183b5..636c8192 100644 --- a/agdb_api/typescript/.prettierignore +++ b/agdb_api/typescript/.prettierignore @@ -1 +1 @@ -src/schema.d.ts +src/openapi.d.ts diff --git a/agdb_api/typescript/package-lock.json b/agdb_api/typescript/package-lock.json index 0de18c5f..f8e997f0 100644 --- a/agdb_api/typescript/package-lock.json +++ b/agdb_api/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@agnesoft/agdb_api", - "version": "0.8.0", + "version": "0.8.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@agnesoft/agdb_api", - "version": "0.8.0", + "version": "0.8.1", "license": "Apache-2.0", "dependencies": { "openapi-client-axios": "^7.5.5" @@ -7679,9 +7679,9 @@ } }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "license": "MIT", "dependencies": { diff --git a/agdb_api/typescript/package.json b/agdb_api/typescript/package.json index 76b75ec9..5bb9266a 100644 --- a/agdb_api/typescript/package.json +++ b/agdb_api/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@agnesoft/agdb_api", - "version": "0.8.0", + "version": "0.8.1", "license": "Apache-2.0", "description": "Agnesoft Graph Database API client for typescript/javascript", "author": "Agnesoft", @@ -17,15 +17,15 @@ "/dist" ], "scripts": { - "build": "tsc && npx copyfiles -f src/schema.d.ts dist/", + "build": "tsc && npx copyfiles -f src/openapi.d.ts dist/", "test": "bash test.sh", "lint": "eslint --max-warnings=0 \"**/*.ts\" \"**/*.js\" --fix", "lint:check": "eslint --max-warnings=0 \"**/*.ts\" \"**/*.js\"", "format": "prettier --write src/ tests/", "format:check": "prettier --check src/ tests/", - "openapi": "npx openapicmd typegen ../../agdb_server/openapi/schema.json > src/schema.d.ts", "before-commit": "npm run openapi && npm run format && npm run lint && npm run test", - "generate-query-tests": "node query_test_generator.js && prettier --write tests/query.test.ts" + "openapi": "npx openapicmd typegen ../../agdb_server/openapi.json > src/openapi.d.ts", + "test_queries": "node query_test_generator.js && prettier --write tests/query.test.ts" }, "dependencies": { "openapi-client-axios": "^7.5.5" diff --git a/agdb_api/typescript/query_test_generator.js b/agdb_api/typescript/query_test_generator.js index bd514a01..b751d82e 100644 --- a/agdb_api/typescript/query_test_generator.js +++ b/agdb_api/typescript/query_test_generator.js @@ -1,11 +1,11 @@ -import test_queries from "../../agdb_server/openapi/test_queries.json" assert { type: "json" }; +import test_queries from "../../agdb_server/test_queries.json" assert { type: "json" }; import * as fs from "fs"; let tests = ` // GENERATED. DO NOT MODIFY AS ANY CHANGES WILL BE LOST.\n //query_test_generator.js \n\n -import { describe, expect, it } from "vitest";import test_queries from "../../../agdb_server/openapi/test_queries.json"; +import { describe, expect, it } from "vitest";import test_queries from "../../../agdb_server/test_queries.json"; import { QueryBuilder, CountComparison, Comparison, DbKeyOrder } from "../src/index"; \n\n class T { db_id: undefined = undefined; value1: string = ""; value2: number = 0; } diff --git a/agdb_api/typescript/src/client.ts b/agdb_api/typescript/src/client.ts index 935f9739..18700775 100644 --- a/agdb_api/typescript/src/client.ts +++ b/agdb_api/typescript/src/client.ts @@ -1,5 +1,5 @@ import { OpenAPIClientAxios } from "openapi-client-axios"; -import type { Client } from "./schema"; +import type { Client } from "./openapi"; export type AgdbApiClient = Client & AgdbApi; diff --git a/agdb_api/typescript/src/index.ts b/agdb_api/typescript/src/index.ts index 26bf8aaa..6ee9f94d 100644 --- a/agdb_api/typescript/src/index.ts +++ b/agdb_api/typescript/src/index.ts @@ -1,4 +1,4 @@ -export type { Components } from "./schema.d.ts"; +export type { Components } from "./openapi.d.ts"; export { QueryBuilder, CountComparison, diff --git a/agdb_api/typescript/src/schema.d.ts b/agdb_api/typescript/src/openapi.d.ts similarity index 99% rename from agdb_api/typescript/src/schema.d.ts rename to agdb_api/typescript/src/openapi.d.ts index 55a2527c..dcd1e7d4 100644 --- a/agdb_api/typescript/src/schema.d.ts +++ b/agdb_api/typescript/src/openapi.d.ts @@ -1594,6 +1594,11 @@ declare namespace Paths { } } } + namespace ClusterStatus { + namespace Responses { + export type $200 = Components.Schemas.ClusterStatus[]; + } + } namespace DbAdd { namespace Parameters { export type Db = string; @@ -1908,7 +1913,8 @@ declare namespace Paths { } namespace Status { namespace Responses { - export type $200 = Components.Schemas.ClusterStatus[]; + export interface $200 { + } } } namespace UserChangePassword { @@ -2088,13 +2094,13 @@ export interface OperationMethods { config?: AxiosRequestConfig ): OperationResponse /** - * status + * cluster_status */ - 'status'( + 'cluster_status'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig - ): OperationResponse + ): OperationResponse /** * admin_db_restore */ @@ -2440,13 +2446,13 @@ export interface PathsDictionary { } ['/api/v1/cluster/status']: { /** - * status + * cluster_status */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig - ): OperationResponse + ): OperationResponse } ['/api/v1/db/admin/{owner}/{db}/restore']: { /** diff --git a/agdb_api/typescript/src/query_builder.ts b/agdb_api/typescript/src/query_builder.ts index f3d93fab..97f44d0b 100644 --- a/agdb_api/typescript/src/query_builder.ts +++ b/agdb_api/typescript/src/query_builder.ts @@ -1,4 +1,4 @@ -import type { Components } from "./schema"; +import type { Components } from "./openapi"; type BuilderQueryId = number | string | Components.Schemas.QueryId; type BuilderQueryIds = diff --git a/agdb_api/typescript/tests/query.test.ts b/agdb_api/typescript/tests/query.test.ts index 0f90164b..36fc0c97 100644 --- a/agdb_api/typescript/tests/query.test.ts +++ b/agdb_api/typescript/tests/query.test.ts @@ -3,7 +3,7 @@ //query_test_generator.js import { describe, expect, it } from "vitest"; -import test_queries from "../../../agdb_server/openapi/test_queries.json"; +import test_queries from "../../../agdb_server/test_queries.json"; import { QueryBuilder, CountComparison, diff --git a/agdb_api/typescript/vitest.config.ts b/agdb_api/typescript/vitest.config.ts index 7979d3cf..1d53a837 100644 --- a/agdb_api/typescript/vitest.config.ts +++ b/agdb_api/typescript/vitest.config.ts @@ -9,7 +9,7 @@ export default mergeConfig( all: true, exclude: [ ".eslintrc.cjs", - "src/schema.d.ts", + "src/openapi.d.ts", "query_test_generator.js", "tests/**", "vite.config.ts", diff --git a/agdb_ci/.gitignore b/agdb_ci/.gitignore deleted file mode 100644 index bc089cc6..00000000 --- a/agdb_ci/.gitignore +++ /dev/null @@ -1 +0,0 @@ -agdb_ci_* diff --git a/agdb_ci/src/main.rs b/agdb_ci/src/main.rs index b2bc4ec3..949fef3a 100644 --- a/agdb_ci/src/main.rs +++ b/agdb_ci/src/main.rs @@ -1,22 +1,20 @@ use std::io::BufRead; +use std::io::Write; +use std::path::Path; +use std::process::Command; -const RUST_RELEASE_PROJECTS: [&str; 4] = ["agdb", "agdb_derive", "agdb_api", "agdb_server"]; -const AGDB_PROJECT: &str = "agdb"; -const CARGO_TOML: &str = "Cargo.toml"; -const PACKAGE_JSON: &str = "package.json"; -const OPENAPI_JSON: &str = "schema.json"; -const IGNORE: [&str; 9] = [ +const IGNORE: [&str; 10] = [ "node_modules", "vendor", "tests", "target", "src", "dist", - ".nuxt", "playwright-report", "test-results", + ".openapi-generator", + "coverage", ]; -const TYPESCRIPT_PROJECTS: [&str; 1] = ["@agnesoft/agdb_api"]; #[derive(Debug)] struct CIError { @@ -24,13 +22,6 @@ struct CIError { description: String, } -#[derive(Default)] -struct ProjectFiles { - tomls: Vec, - jsons: Vec, - schema: std::path::PathBuf, -} - impl From for CIError { fn from(error: E) -> Self { Self { @@ -40,169 +31,177 @@ impl From for CIError { } fn current_version() -> Result { - let cargo_toml = std::path::Path::new(AGDB_PROJECT).join(CARGO_TOML); - std::io::BufReader::new(std::fs::File::open(cargo_toml)?) + Ok(std::process::Command::new("git") + .arg("tag") + .arg("--sort=taggerdate") + .output()? + .stdout + .trim_ascii() .lines() - .find_map(|line| { - line.ok().and_then(|line| { - if line.starts_with("version = ") { - return Some(line.split('"').nth(1).unwrap_or("").to_string()); - } - - None - }) - }) + .last() .ok_or(CIError { - description: "Current version not found".to_string(), - }) + description: "tags not found".to_string(), + })??[1..] + .to_string()) } -fn project_files(path: &std::path::Path, files: &mut ProjectFiles) -> Result<(), CIError> { - for dir in std::fs::read_dir(path)? { - let dir = dir?; - - if dir.file_type()?.is_dir() - && !IGNORE.contains(&dir.file_name().to_string_lossy().as_ref()) - { - if dir.path().join(CARGO_TOML).exists() { - files.tomls.push(dir.path().join(CARGO_TOML)); - } else if dir.path().join(PACKAGE_JSON).exists() { - files.jsons.push(dir.path().join(PACKAGE_JSON)); - } else if dir.path().join(OPENAPI_JSON).exists() { - files.jsons.push(dir.path().join(OPENAPI_JSON)); - files.schema = dir.path().join(OPENAPI_JSON); - } - - project_files(&dir.path(), files)?; - } - } - - Ok(()) +fn new_version() -> Result { + Ok(std::fs::read_to_string(std::path::Path::new("Version"))? + .trim() + .to_string()) } -fn update_tomls( +fn update_rust_project( + toml: &Path, current_version: &str, new_version: &str, - tomls: &[std::path::PathBuf], ) -> Result<(), CIError> { - for toml in tomls { - println!("Updating... {:?}", toml); - - let mut content = std::fs::read_to_string(toml)?.replace( - &format!("\nversion = \"{current_version}\""), - &format!("\nversion = \"{new_version}\""), - ); - - for project in RUST_RELEASE_PROJECTS { - content = content - .replace( - &format!("{project} = \"{current_version}\""), - &format!("{project} = \"{new_version}\""), - ) - .replace( - &format!("{project} = {{ version = \"{current_version}\""), - &format!("{project} = {{ version = \"{new_version}\""), - ); + let mut content = std::fs::read_to_string(toml)?.replace( + &format!("\nversion = \"{current_version}\""), + &format!("\nversion = \"{new_version}\""), + ); + for line in content.clone().lines() { + let line = line.trim(); + if line.starts_with("agdb") { + content = content.replace(line, &line.replace(current_version, new_version)); } - - std::fs::write(toml, content)?; } + std::fs::write(toml, content)?; Ok(()) } -fn update_jsons( +fn update_npm_project( + json: &Path, current_version: &str, new_version: &str, - jsons: &[std::path::PathBuf], ) -> Result<(), CIError> { - for json in jsons { - println!("Updating... {:?}", json); - - let mut content = std::fs::read_to_string(json)?.replace( - &format!("\"version\": \"{current_version}\""), - &format!("\"version\": \"{new_version}\""), - ); - - if json.ends_with("package.json") { - content = content - .replace( - &format!("\"version\": \"{current_version}\""), - &format!("\"version\": \"{new_version}\""), - ) - .replace( - &format!("\"version\": \"^{current_version}\""), - &format!("\"version\": \"^{new_version}\""), - ); - - for project in TYPESCRIPT_PROJECTS { - content = content - .replace( - &format!("\"{project}\": \"{current_version}\""), - &format!("\"{project}\": \"{new_version}\""), - ) - .replace( - &format!("\"{project}\": \"^{current_version}\""), - &format!("\"{project}\": \"^{new_version}\""), - ); - } - } + let content = std::fs::read_to_string(json)?.replace( + &format!("\"version\": \"{current_version}\""), + &format!("\"version\": \"{new_version}\""), + ); + std::fs::write(json, content)?; + + let project_dir = json.parent().expect("Parent directory not found"); + println!( + "Installing dependencies in '{}'", + project_dir.to_string_lossy() + ); + run_command( + Command::new("bash") + .arg("-c") + .arg("npm install") + .current_dir(project_dir), + )?; + run_command( + Command::new("bash") + .arg("-c") + .arg("npm audit fix") + .current_dir(project_dir), + )?; + + Ok(()) +} - std::fs::write(json, content)?; +fn update_projects(path: &Path, current_version: &str, new_version: &str) -> Result<(), CIError> { + for entry in std::fs::read_dir(path)? { + let entry = entry?; + let path = entry.path(); + let filename = path + .file_name() + .unwrap_or_default() + .to_string_lossy() + .to_string(); + + if IGNORE.contains(&filename.as_str()) { + continue; + } - if json.ends_with("package.json") { - std::process::Command::new("bash") - .arg("-c") - .arg("npm install") - .current_dir(json.parent().expect("Parent directory not found")) - .spawn()? - .wait()?; + if path.is_dir() { + update_projects(path.as_path(), current_version, new_version)?; + } else if filename.ends_with(".toml") { + println!("Updating '{}'", path.to_string_lossy().replace('\\', "/")); + update_rust_project(path.as_path(), current_version, new_version)?; + } else if filename == "package.json" { + println!("Updating '{}'", path.to_string_lossy().replace('\\', "/")); + update_npm_project(path.as_path(), current_version, new_version)?; } } + + Ok(()) +} + +fn run_command(command: &mut Command) -> Result<(), CIError> { + let out = command.output()?; + std::io::stdout().write_all(&out.stdout)?; + std::io::stderr().write_all(&out.stderr)?; Ok(()) } fn main() -> Result<(), CIError> { let current_version = current_version()?; - let new_version = std::fs::read_to_string(std::path::Path::new("Version"))? - .trim() - .to_string(); + let new_version = new_version()?; println!("Current version: {}", current_version); println!("New version: {}", new_version); - let mut files = ProjectFiles::default(); - project_files(std::path::Path::new("."), &mut files)?; - update_tomls(¤t_version, &new_version, &files.tomls)?; - update_jsons(¤t_version, &new_version, &files.jsons)?; + update_projects(Path::new("./"), ¤t_version, &new_version)?; + + println!("Generating openapi.json"); + run_command( + Command::new("cargo") + .arg("test") + .arg("-p") + .arg("agdb_server") + .arg("tests::openapi") + .arg("--") + .arg("--exact"), + )?; + + println!("Generating Typescript openapi"); + run_command( + Command::new("bash") + .arg("-c") + .arg("npm run openapi") + .current_dir(Path::new("agdb_api").join("typescript")), + )?; + + println!("Generating PHP openapi"); + run_command( + Command::new("bash") + .arg("-c") + .arg("./ci.sh openapi") + .current_dir(Path::new("agdb_api").join("php")), + )?; + + println!("Generating test_queries.json"); + run_command( + Command::new("cargo") + .arg("test") + .arg("-p") + .arg("agdb_server") + .arg("tests::test_queries") + .arg("--") + .arg("--exact"), + )?; + + println!("Generating Typescript test_queries"); + run_command( + Command::new("bash") + .arg("-c") + .arg("npm run test_queries") + .current_dir(Path::new("agdb_api").join("typescript")), + )?; + + println!("Generating PHP test_queries"); + run_command( + Command::new("bash") + .arg("-c") + .arg("./ci.sh test_queries") + .current_dir(Path::new("agdb_api").join("php")), + )?; println!("DONE"); Ok(()) } - -#[cfg(test)] -mod tests { - use super::*; - - #[derive(Debug)] - struct MyError {} - impl std::error::Error for MyError {} - impl std::fmt::Display for MyError { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - write!(f, "MyError") - } - } - - #[test] - fn derived_from_debug() { - let error = CIError::from(MyError {}); - - assert_eq!(format!("{:?}", MyError {}), "MyError"); - assert_eq!(format!("{}", MyError {}), "MyError"); - assert_eq!( - format!("{:?}", error), - "CIError { description: \"MyError\" }" - ); - } -} diff --git a/agdb_ci/tests/ci_test.rs b/agdb_ci/tests/ci_test.rs deleted file mode 100644 index db68585f..00000000 --- a/agdb_ci/tests/ci_test.rs +++ /dev/null @@ -1,82 +0,0 @@ -use assert_cmd::prelude::*; - -const BINARY: &str = "agdb_ci"; - -struct TestData { - path: std::path::PathBuf, -} - -fn copy_dir_all( - src: impl AsRef, - dst: impl AsRef, -) -> std::io::Result<()> { - std::fs::create_dir_all(&dst)?; - for entry in std::fs::read_dir(src)? { - let entry = entry?; - let ty = entry.file_type()?; - if ty.is_dir() { - copy_dir_all(entry.path(), dst.as_ref().join(entry.file_name()))?; - } else { - std::fs::copy(entry.path(), dst.as_ref().join(entry.file_name()))?; - } - } - Ok(()) -} - -fn read_dirs(src: impl AsRef) -> std::io::Result> { - let mut files = vec![]; - for entry in std::fs::read_dir(src)? { - let entry = entry?; - let ty = entry.file_type()?; - if ty.is_dir() { - let sub_files = read_dirs(entry.path())?; - files.extend(sub_files); - } else { - let content = std::fs::read_to_string(entry.path())?; - files.push(content); - } - } - Ok(files) -} - -impl TestData { - fn new() -> Result { - let from = std::env::current_dir()? - .join("tests") - .join("test_data_before"); - let path = std::env::current_dir()?.join(format!("agdb_ci_{}", std::process::id())); - copy_dir_all(from, &path)?; - Ok(Self { path }) - } -} - -impl Drop for TestData { - fn drop(&mut self) { - std::fs::remove_dir_all(&self.path).unwrap(); - } -} - -#[test] -fn replace_version() { - let temp_dir = TestData::new().unwrap(); - let output = std::process::Command::cargo_bin(BINARY) - .unwrap() - .current_dir(&temp_dir.path) - .output() - .unwrap(); - - assert!(output.status.success()); - - let changed = read_dirs(&temp_dir.path).unwrap(); - let expected = read_dirs( - std::env::current_dir() - .unwrap() - .join("tests") - .join("test_data_expected"), - ) - .unwrap(); - - for (actual, expected) in changed.iter().zip(expected.iter()) { - assert_eq!(actual, expected); - } -} diff --git a/agdb_ci/tests/test_data_before/Version b/agdb_ci/tests/test_data_before/Version deleted file mode 100644 index 0d91a54c..00000000 --- a/agdb_ci/tests/test_data_before/Version +++ /dev/null @@ -1 +0,0 @@ -0.3.0 diff --git a/agdb_ci/tests/test_data_before/agdb/Cargo.toml b/agdb_ci/tests/test_data_before/agdb/Cargo.toml deleted file mode 100644 index 4ce4c555..00000000 --- a/agdb_ci/tests/test_data_before/agdb/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "agdb" -version = "0.2.0" -edition = "2021" - -[dependencies] -agdb_derive = { version = "0.2.0", optional = true } diff --git a/agdb_ci/tests/test_data_before/project1/Cargo.toml b/agdb_ci/tests/test_data_before/project1/Cargo.toml deleted file mode 100644 index bb55f267..00000000 --- a/agdb_ci/tests/test_data_before/project1/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "project1" -edition = "2021" - -[dependencies] -agdb = "0.2.0" -agdb_api = { version = "0.2.0", features = ["reqwest"] } diff --git a/agdb_ci/tests/test_data_before/project1/openapi/schema.json b/agdb_ci/tests/test_data_before/project1/openapi/schema.json deleted file mode 100644 index 64006188..00000000 --- a/agdb_ci/tests/test_data_before/project1/openapi/schema.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "openapi": "3.0.3", - "info": { - "title": "agdb_server", - "description": "Agnesoft Graph Database Server", - "license": { - "name": "Apache-2.0" - }, - "version": "0.2.0" - } -} diff --git a/agdb_ci/tests/test_data_before/project2/node_modules/some_lib/package.json b/agdb_ci/tests/test_data_before/project2/node_modules/some_lib/package.json deleted file mode 100644 index 3d8915b1..00000000 --- a/agdb_ci/tests/test_data_before/project2/node_modules/some_lib/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "some_lib", - "version": "0.2.0", - "dependencies": { - "@agnesoft/agdb_api": "0.2.0" - } -} diff --git a/agdb_ci/tests/test_data_before/project2/package.json b/agdb_ci/tests/test_data_before/project2/package.json deleted file mode 100644 index 96d35368..00000000 --- a/agdb_ci/tests/test_data_before/project2/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "project2", - "version": "0.2.0", - "dependencies": { - "@agnesoft/agdb_api": "0.2.0" - } -} diff --git a/agdb_ci/tests/test_data_before/subprojects/project3/package.json b/agdb_ci/tests/test_data_before/subprojects/project3/package.json deleted file mode 100644 index 54132a21..00000000 --- a/agdb_ci/tests/test_data_before/subprojects/project3/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "project3", - "devDependencies": { - "@agnesoft/agdb_api": "^0.2.0" - } -} diff --git a/agdb_ci/tests/test_data_before/subprojects/project4/Cargo.toml b/agdb_ci/tests/test_data_before/subprojects/project4/Cargo.toml deleted file mode 100644 index c3977201..00000000 --- a/agdb_ci/tests/test_data_before/subprojects/project4/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "project4" -version = "0.2.0" -edition = "2021" - -[dev-dependencies] -agdb_server = "0.2.0" diff --git a/agdb_ci/tests/test_data_expected/Version b/agdb_ci/tests/test_data_expected/Version deleted file mode 100644 index 0d91a54c..00000000 --- a/agdb_ci/tests/test_data_expected/Version +++ /dev/null @@ -1 +0,0 @@ -0.3.0 diff --git a/agdb_ci/tests/test_data_expected/agdb/Cargo.toml b/agdb_ci/tests/test_data_expected/agdb/Cargo.toml deleted file mode 100644 index cd13a533..00000000 --- a/agdb_ci/tests/test_data_expected/agdb/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "agdb" -version = "0.3.0" -edition = "2021" - -[dependencies] -agdb_derive = { version = "0.3.0", optional = true } diff --git a/agdb_ci/tests/test_data_expected/project1/Cargo.toml b/agdb_ci/tests/test_data_expected/project1/Cargo.toml deleted file mode 100644 index 7cc4252f..00000000 --- a/agdb_ci/tests/test_data_expected/project1/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "project1" -edition = "2021" - -[dependencies] -agdb = "0.3.0" -agdb_api = { version = "0.3.0", features = ["reqwest"] } diff --git a/agdb_ci/tests/test_data_expected/project1/openapi/schema.json b/agdb_ci/tests/test_data_expected/project1/openapi/schema.json deleted file mode 100644 index 416193b3..00000000 --- a/agdb_ci/tests/test_data_expected/project1/openapi/schema.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "openapi": "3.0.3", - "info": { - "title": "agdb_server", - "description": "Agnesoft Graph Database Server", - "license": { - "name": "Apache-2.0" - }, - "version": "0.3.0" - } -} diff --git a/agdb_ci/tests/test_data_expected/project2/node_modules/some_lib/package.json b/agdb_ci/tests/test_data_expected/project2/node_modules/some_lib/package.json deleted file mode 100644 index 3d8915b1..00000000 --- a/agdb_ci/tests/test_data_expected/project2/node_modules/some_lib/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "some_lib", - "version": "0.2.0", - "dependencies": { - "@agnesoft/agdb_api": "0.2.0" - } -} diff --git a/agdb_ci/tests/test_data_expected/project2/package.json b/agdb_ci/tests/test_data_expected/project2/package.json deleted file mode 100644 index 5927ba3e..00000000 --- a/agdb_ci/tests/test_data_expected/project2/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "project2", - "version": "0.3.0", - "dependencies": { - "@agnesoft/agdb_api": "0.3.0" - } -} diff --git a/agdb_ci/tests/test_data_expected/subprojects/project3/package.json b/agdb_ci/tests/test_data_expected/subprojects/project3/package.json deleted file mode 100644 index 1123c0d3..00000000 --- a/agdb_ci/tests/test_data_expected/subprojects/project3/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "project3", - "devDependencies": { - "@agnesoft/agdb_api": "^0.3.0" - } -} diff --git a/agdb_ci/tests/test_data_expected/subprojects/project4/Cargo.toml b/agdb_ci/tests/test_data_expected/subprojects/project4/Cargo.toml deleted file mode 100644 index 2c50f599..00000000 --- a/agdb_ci/tests/test_data_expected/subprojects/project4/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "project4" -version = "0.3.0" -edition = "2021" - -[dev-dependencies] -agdb_server = "0.3.0" diff --git a/agdb_server/openapi/schema.json b/agdb_server/openapi.json similarity index 99% rename from agdb_server/openapi/schema.json rename to agdb_server/openapi.json index fd1d5a4a..0ad62ce5 100644 --- a/agdb_server/openapi/schema.json +++ b/agdb_server/openapi.json @@ -6,7 +6,7 @@ "license": { "name": "Apache-2.0" }, - "version": "0.8.0" + "version": "0.8.1" }, "servers": [ { @@ -887,7 +887,7 @@ "tags": [ "agdb" ], - "operationId": "status", + "operationId": "cluster_status", "responses": { "200": { "description": "Cluster status", diff --git a/agdb_server/src/main.rs b/agdb_server/src/main.rs index 914f40cf..9743da2e 100644 --- a/agdb_server/src/main.rs +++ b/agdb_server/src/main.rs @@ -78,14 +78,14 @@ mod tests { } #[test] - fn generate_openapi_schema() { + fn openapi() { let schema = Api::openapi().to_pretty_json().unwrap(); - let mut file = File::create("openapi/schema.json").unwrap(); + let mut file = File::create("openapi.json").unwrap(); file.write_all(schema.as_bytes()).unwrap(); } #[test] - fn generate_test_suite() { + fn test_queries() { #[rustfmt::skip] let queries = queries![ QueryBuilder::insert().aliases("a").ids(1).query(), @@ -199,7 +199,6 @@ QueryBuilder::search().to(1).where_().node().query(), QueryBuilder::search().to(1).order_by(vec![DbKeyOrder::Asc("k".into())]).where_().node().query() ]; - serde_json::to_writer_pretty(File::create("openapi/test_queries.json").unwrap(), &queries) - .unwrap(); + serde_json::to_writer_pretty(File::create("test_queries.json").unwrap(), &queries).unwrap(); } } diff --git a/agdb_server/src/routes.rs b/agdb_server/src/routes.rs index 99fa687d..a6ffcec6 100644 --- a/agdb_server/src/routes.rs +++ b/agdb_server/src/routes.rs @@ -8,6 +8,7 @@ use axum::http::StatusCode; #[utoipa::path(get, path = "/api/v1/status", + operation_id = "status", tag = "agdb", responses( (status = 200, description = "Server is ready"), diff --git a/agdb_server/src/routes/cluster.rs b/agdb_server/src/routes/cluster.rs index ae401280..d41a11fd 100644 --- a/agdb_server/src/routes/cluster.rs +++ b/agdb_server/src/routes/cluster.rs @@ -12,6 +12,7 @@ pub(crate) async fn heartbeat(_cluster_id: ClusterId) -> ServerResult), diff --git a/agdb_server/openapi/test_queries.json b/agdb_server/test_queries.json similarity index 100% rename from agdb_server/openapi/test_queries.json rename to agdb_server/test_queries.json diff --git a/agdb_studio/package-lock.json b/agdb_studio/package-lock.json index 0489dfa1..e938fb90 100644 --- a/agdb_studio/package-lock.json +++ b/agdb_studio/package-lock.json @@ -1440,30 +1440,30 @@ } }, "node_modules/@volar/language-core": { - "version": "2.4.0-alpha.18", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.0-alpha.18.tgz", - "integrity": "sha512-JAYeJvYQQROmVRtSBIczaPjP3DX4QW1fOqW1Ebs0d3Y3EwSNRglz03dSv0Dm61dzd0Yx3WgTW3hndDnTQqgmyg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.2.tgz", + "integrity": "sha512-sONt5RLvLL1SlBdhyUSthZzuKePbJ7DwFFB9zT0eyWpDl+v7GXGh/RkPxxWaR22bIhYtTzp4Ka1MWatl/53Riw==", "dev": true, "license": "MIT", "dependencies": { - "@volar/source-map": "2.4.0-alpha.18" + "@volar/source-map": "2.4.2" } }, "node_modules/@volar/source-map": { - "version": "2.4.0-alpha.18", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.0-alpha.18.tgz", - "integrity": "sha512-MTeCV9MUwwsH0sNFiZwKtFrrVZUK6p8ioZs3xFzHc2cvDXHWlYN3bChdQtwKX+FY2HG6H3CfAu1pKijolzIQ8g==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.2.tgz", + "integrity": "sha512-qiGfGgeZ5DEarPX3S+HcFktFCjfDrFPCXKeXNbrlB7v8cvtPRm8YVwoXOdGG1NhaL5rMlv5BZPVQyu4EdWWIvA==", "dev": true, "license": "MIT" }, "node_modules/@volar/typescript": { - "version": "2.4.0-alpha.18", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.0-alpha.18.tgz", - "integrity": "sha512-sXh5Y8sqGUkgxpMWUGvRXggxYHAVxg0Pa1C42lQZuPDrW6vHJPR0VCK8Sr7WJsAW530HuNQT/ZIskmXtxjybMQ==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.2.tgz", + "integrity": "sha512-m2uZduhaHO1SZuagi30OsjI/X1gwkaEAC+9wT/nCNAtJ5FqXEkKvUncHmffG7ESDZPlFFUBK4vJ0D9Hfr+f2EA==", "dev": true, "license": "MIT", "dependencies": { - "@volar/language-core": "2.4.0-alpha.18", + "@volar/language-core": "2.4.2", "path-browserify": "^1.0.1", "vscode-uri": "^3.0.8" } @@ -1530,6 +1530,17 @@ "@vue/shared": "3.4.33" } }, + "node_modules/@vue/compiler-vue2": { + "version": "2.7.16", + "resolved": "https://registry.npmjs.org/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz", + "integrity": "sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==", + "dev": true, + "license": "MIT", + "dependencies": { + "de-indent": "^1.0.2", + "he": "^1.2.0" + } + }, "node_modules/@vue/devtools-api": { "version": "6.6.3", "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.3.tgz", @@ -1577,20 +1588,20 @@ } }, "node_modules/@vue/language-core": { - "version": "2.0.28", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.0.28.tgz", - "integrity": "sha512-0z4tyCCaqqPbdyz0T4yTFQeLpCo4TOM/ZHAC3geGLHeCiFAjVbROB9PiEtrXR1AoLObqUPFHSmKZeWtEMssSqw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.1.6.tgz", + "integrity": "sha512-MW569cSky9R/ooKMh6xa2g1D0AtRKbL56k83dzus/bx//RDJk24RHWkMzbAlXjMdDNyxAaagKPRquBIxkxlCkg==", "dev": true, "license": "MIT", "dependencies": { - "@volar/language-core": "~2.4.0-alpha.18", + "@volar/language-core": "~2.4.1", "@vue/compiler-dom": "^3.4.0", + "@vue/compiler-vue2": "^2.7.16", "@vue/shared": "^3.4.0", "computeds": "^0.0.1", "minimatch": "^9.0.3", "muggle-string": "^0.4.1", - "path-browserify": "^1.0.1", - "vue-template-compiler": "^2.7.14" + "path-browserify": "^1.0.1" }, "peerDependencies": { "typescript": "*" @@ -3501,9 +3512,9 @@ } }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "license": "MIT", "dependencies": { @@ -5177,26 +5188,15 @@ "vue": "^3.2.0" } }, - "node_modules/vue-template-compiler": { - "version": "2.7.16", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.16.tgz", - "integrity": "sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "de-indent": "^1.0.2", - "he": "^1.2.0" - } - }, "node_modules/vue-tsc": { - "version": "2.0.28", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.0.28.tgz", - "integrity": "sha512-PQ/OFDM3NtQVMThaVlQf8plyL0j7UGdak4lb1KkUOSL0uyx/F9Liu6aOclgHiMMBKNGIjJWoiFh3HjIdV6DS/Q==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.1.6.tgz", + "integrity": "sha512-f98dyZp5FOukcYmbFpuSCJ4Z0vHSOSmxGttZJCsFeX0M4w/Rsq0s4uKXjcSRsZqsRgQa6z7SfuO+y0HVICE57Q==", "dev": true, "license": "MIT", "dependencies": { - "@volar/typescript": "~2.4.0-alpha.18", - "@vue/language-core": "2.0.28", + "@volar/typescript": "~2.4.1", + "@vue/language-core": "2.1.6", "semver": "^7.5.4" }, "bin": { diff --git a/agdb_studio/src/services/api.service.ts b/agdb_studio/src/services/api.service.ts index f9a3179f..310a7bcb 100644 --- a/agdb_studio/src/services/api.service.ts +++ b/agdb_studio/src/services/api.service.ts @@ -1,4 +1,4 @@ -import type { Client } from "../../../agdb_api/typescript/src/schema"; +import type { Client } from "../../../agdb_api/typescript/src/openapi"; import OpenAPIClientAxios from "openapi-client-axios"; import type { AxiosResponse, InternalAxiosRequestConfig } from "axios"; diff --git a/agdb_web/package-lock.json b/agdb_web/package-lock.json index da840ce8..166f78fd 100644 --- a/agdb_web/package-lock.json +++ b/agdb_web/package-lock.json @@ -8177,12 +8177,13 @@ ] }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, + "license": "MIT", "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { diff --git a/agdb_web/pages/api-docs/openapi.en-US.mdx b/agdb_web/pages/api-docs/openapi.en-US.mdx index 8b26569a..2d8acc66 100644 --- a/agdb_web/pages/api-docs/openapi.en-US.mdx +++ b/agdb_web/pages/api-docs/openapi.en-US.mdx @@ -38,7 +38,7 @@ The [agdb server](/docs/references/server) can be accessed using OpenAPI (REST) "license": { "name": "Apache-2.0" }, - "version": "0.8.0" + "version": "0.8.1" }, "servers": [ { diff --git a/examples/server_client_php/package-lock.json b/examples/server_client_php/package-lock.json index c330adb2..88b12127 100644 --- a/examples/server_client_php/package-lock.json +++ b/examples/server_client_php/package-lock.json @@ -4,6 +4,7 @@ "requires": true, "packages": { "": { + "name": "server_client_php", "devDependencies": { "@prettier/plugin-php": "^0.22.2", "prettier": "^3.3.3" diff --git a/examples/server_client_typescript/package-lock.json b/examples/server_client_typescript/package-lock.json index 2a9000f0..f94b2bc2 100644 --- a/examples/server_client_typescript/package-lock.json +++ b/examples/server_client_typescript/package-lock.json @@ -17,7 +17,7 @@ }, "../../agdb_api/typescript": { "name": "@agnesoft/agdb_api", - "version": "0.8.0", + "version": "0.8.1", "license": "Apache-2.0", "dependencies": { "openapi-client-axios": "^7.5.5" @@ -1203,9 +1203,9 @@ } }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "license": "MIT", "dependencies": {