From 3387e3eaedd194319d5a5f0bb39a13784828c709 Mon Sep 17 00:00:00 2001 From: Nikhil Bysani Date: Wed, 3 Jul 2024 11:57:08 -0400 Subject: [PATCH 1/2] Improve request headers for file upload. --- www/docs/rest-api/create-corpus.api.mdx | 2 +- www/docs/rest-api/create-user.api.mdx | 2 +- www/docs/rest-api/get-chat-turn.api.mdx | 2 +- www/docs/rest-api/get-chat.api.mdx | 2 +- www/docs/rest-api/get-corpus.api.mdx | 2 +- www/docs/rest-api/get-job.api.mdx | 2 +- www/docs/rest-api/get-user.api.mdx | 2 +- www/docs/rest-api/list-chat-turns.api.mdx | 2 +- www/docs/rest-api/list-chats.api.mdx | 2 +- www/docs/rest-api/list-corpora.api.mdx | 2 +- www/docs/rest-api/list-jobs.api.mdx | 2 +- www/docs/rest-api/list-users.api.mdx | 2 +- www/docs/rest-api/update-chat-turn.api.mdx | 2 +- www/docs/rest-api/update-corpus.api.mdx | 2 +- www/docs/rest-api/update-user.api.mdx | 2 +- www/package-lock.json | 111 +++++++++++++++------ www/package.json | 1 + 17 files changed, 97 insertions(+), 45 deletions(-) diff --git a/www/docs/rest-api/create-corpus.api.mdx b/www/docs/rest-api/create-corpus.api.mdx index 598a8e774..80477760d 100644 --- a/www/docs/rest-api/create-corpus.api.mdx +++ b/www/docs/rest-api/create-corpus.api.mdx @@ -58,7 +58,7 @@ The new filter attributes of the corpus. The custom dimensions of all document parts inside the corpus. -
  • Array [
  • ]
  • limits object
    +
  • Array [
  • ]
  • limits object
    Invalid request body in the create corpus request. diff --git a/www/docs/rest-api/create-user.api.mdx b/www/docs/rest-api/create-user.api.mdx index 78f23f315..1f288c95f 100644 --- a/www/docs/rest-api/create-user.api.mdx +++ b/www/docs/rest-api/create-user.api.mdx @@ -64,7 +64,7 @@ resource is a resource implied by the request. string -
  • ]
  • +
  • ]
  • User creation request was malformed. diff --git a/www/docs/rest-api/get-chat-turn.api.mdx b/www/docs/rest-api/get-chat-turn.api.mdx index 5b87148f9..c547334d3 100644 --- a/www/docs/rest-api/get-chat-turn.api.mdx +++ b/www/docs/rest-api/get-chat-turn.api.mdx @@ -36,7 +36,7 @@ Get a specific turn from a chat, which is a message and response pair from the c The turn. -
    Schema
    +
    Schema
    Permissions do not allow getting the turn. diff --git a/www/docs/rest-api/get-chat.api.mdx b/www/docs/rest-api/get-chat.api.mdx index 4c27c0b8c..03e6fec1a 100644 --- a/www/docs/rest-api/get-chat.api.mdx +++ b/www/docs/rest-api/get-chat.api.mdx @@ -36,7 +36,7 @@ Get a chat summary to view what started the chat, but not subsequent turns. A chat. -
    Schema
    +
    Schema
    Permissions do not allow retrieving the chat. diff --git a/www/docs/rest-api/get-corpus.api.mdx b/www/docs/rest-api/get-corpus.api.mdx index ff03cd385..b8e92d1b4 100644 --- a/www/docs/rest-api/get-corpus.api.mdx +++ b/www/docs/rest-api/get-corpus.api.mdx @@ -44,7 +44,7 @@ The new filter attributes of the corpus. The custom dimensions of all document parts inside the corpus. -
  • Array [
  • ]
  • limits object
    +
  • Array [
  • ]
  • limits object
    Permissions do not allow retrieving the corpus. diff --git a/www/docs/rest-api/get-job.api.mdx b/www/docs/rest-api/get-job.api.mdx index afa9e661b..f6e5846b0 100644 --- a/www/docs/rest-api/get-job.api.mdx +++ b/www/docs/rest-api/get-job.api.mdx @@ -36,7 +36,7 @@ Get a job by a specific ID. Jobs are background processes like replacing the fil A job. -
    Schema
    +
    Schema
    Permissions do not allow retrieving a job. diff --git a/www/docs/rest-api/get-user.api.mdx b/www/docs/rest-api/get-user.api.mdx index 7db910454..c4c5c7a8a 100644 --- a/www/docs/rest-api/get-user.api.mdx +++ b/www/docs/rest-api/get-user.api.mdx @@ -65,7 +65,7 @@ resource is a resource implied by the request. string -
  • ]
  • +
  • ]
  • Permissions do not allow retrieving the user. diff --git a/www/docs/rest-api/list-chat-turns.api.mdx b/www/docs/rest-api/list-chat-turns.api.mdx index 3b6cf0134..4b7916b3e 100644 --- a/www/docs/rest-api/list-chat-turns.api.mdx +++ b/www/docs/rest-api/list-chat-turns.api.mdx @@ -40,7 +40,7 @@ List of turns. List of turns. -
  • Array [
  • ]
  • +
  • Array [
  • ]
  • Permissions do not allow listing turns in the chat. diff --git a/www/docs/rest-api/list-chats.api.mdx b/www/docs/rest-api/list-chats.api.mdx index e1fe99edc..1d2802f7a 100644 --- a/www/docs/rest-api/list-chats.api.mdx +++ b/www/docs/rest-api/list-chats.api.mdx @@ -44,7 +44,7 @@ List of chats. The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing chats. diff --git a/www/docs/rest-api/list-corpora.api.mdx b/www/docs/rest-api/list-corpora.api.mdx index f97c9277d..bee5e1712 100644 --- a/www/docs/rest-api/list-corpora.api.mdx +++ b/www/docs/rest-api/list-corpora.api.mdx @@ -50,7 +50,7 @@ The custom dimensions of all document parts inside the corpus. The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing corpora. diff --git a/www/docs/rest-api/list-jobs.api.mdx b/www/docs/rest-api/list-jobs.api.mdx index 318ea808c..3d421f01d 100644 --- a/www/docs/rest-api/list-jobs.api.mdx +++ b/www/docs/rest-api/list-jobs.api.mdx @@ -44,7 +44,7 @@ An array of jobs. The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing jobs. diff --git a/www/docs/rest-api/list-users.api.mdx b/www/docs/rest-api/list-users.api.mdx index 91e2d40e0..2d2ed9aae 100644 --- a/www/docs/rest-api/list-users.api.mdx +++ b/www/docs/rest-api/list-users.api.mdx @@ -72,7 +72,7 @@ string The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing users. diff --git a/www/docs/rest-api/update-chat-turn.api.mdx b/www/docs/rest-api/update-chat-turn.api.mdx index e1ed96eac..874c84f56 100644 --- a/www/docs/rest-api/update-chat-turn.api.mdx +++ b/www/docs/rest-api/update-chat-turn.api.mdx @@ -36,7 +36,7 @@ Update a turn; used to disable or enable a chat. Successfully modified the turn. -
    Schema
    +
    Schema
    Permissions do not allow updating the turn. diff --git a/www/docs/rest-api/update-corpus.api.mdx b/www/docs/rest-api/update-corpus.api.mdx index bb65f5332..2bf41d912 100644 --- a/www/docs/rest-api/update-corpus.api.mdx +++ b/www/docs/rest-api/update-corpus.api.mdx @@ -44,7 +44,7 @@ The new filter attributes of the corpus. The custom dimensions of all document parts inside the corpus. -
  • Array [
  • ]
  • limits object
    +
  • Array [
  • ]
  • limits object
    Permissions do not allow updating the corpus. diff --git a/www/docs/rest-api/update-user.api.mdx b/www/docs/rest-api/update-user.api.mdx index e27dbe0cc..1541c4964 100644 --- a/www/docs/rest-api/update-user.api.mdx +++ b/www/docs/rest-api/update-user.api.mdx @@ -64,7 +64,7 @@ resource is a resource implied by the request. string -
  • ]
  • +
  • ]
  • Permissions do not allow updating the user. diff --git a/www/package-lock.json b/www/package-lock.json index c85998af7..da587cf69 100644 --- a/www/package-lock.json +++ b/www/package-lock.json @@ -22,6 +22,7 @@ "docusaurus-protobuffet": "^0.2.4", "docusaurus-theme-openapi": "^0.6.4", "docusaurus-theme-openapi-docs": "^2.0.0", + "postman-code-generators": "git://github.com:vectara/postman-code-generators.git#reject_content_type", "prism-react-renderer": "^1.3.5", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -17706,31 +17707,37 @@ } }, "node_modules/postman-code-generators": { - "version": "1.7.1", + "version": "1.1.5", + "resolved": "git+ssh://git@github.com/vectara/postman-code-generators.git#f894fac27c0a723ee7610619589572854b803129", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "async": "3.2.2", - "lodash": "4.17.21", + "async": "2.6.3", "path": "0.12.7", - "postman-collection": "4.0.0", - "shelljs": "0.8.5" + "postman-collection": "3.6.11", + "shelljs": "0.8.4" }, "engines": { - "node": ">=12" + "node": ">=6" } }, "node_modules/postman-code-generators/node_modules/async": { - "version": "3.2.2", - "license": "MIT" + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dependencies": { + "lodash": "^4.17.14" + } }, "node_modules/postman-code-generators/node_modules/faker": { "version": "5.5.3", - "license": "MIT" + "resolved": "https://registry.npmjs.org/faker/-/faker-5.5.3.tgz", + "integrity": "sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g==" }, "node_modules/postman-code-generators/node_modules/iconv-lite": { - "version": "0.6.3", - "license": "MIT", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -17740,7 +17747,8 @@ }, "node_modules/postman-code-generators/node_modules/lru-cache": { "version": "6.0.0", - "license": "ISC", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dependencies": { "yallist": "^4.0.0" }, @@ -17748,46 +17756,61 @@ "node": ">=10" } }, + "node_modules/postman-code-generators/node_modules/marked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/marked/-/marked-2.0.1.tgz", + "integrity": "sha512-5+/fKgMv2hARmMW7DOpykr2iLhl0NgjyELk5yn92iE7z8Se1IS9n3UsFm86hFXIkvMBmVxki8+ckcpjBeyo/hw==", + "bin": { + "marked": "bin/marked" + }, + "engines": { + "node": ">= 8.16.2" + } + }, "node_modules/postman-code-generators/node_modules/mime-db": { - "version": "1.48.0", - "license": "MIT", + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", "engines": { "node": ">= 0.6" } }, "node_modules/postman-code-generators/node_modules/mime-types": { - "version": "2.1.31", - "license": "MIT", + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", "dependencies": { - "mime-db": "1.48.0" + "mime-db": "1.47.0" }, "engines": { "node": ">= 0.6" } }, "node_modules/postman-code-generators/node_modules/postman-collection": { - "version": "4.0.0", - "license": "Apache-2.0", + "version": "3.6.11", + "resolved": "https://registry.npmjs.org/postman-collection/-/postman-collection-3.6.11.tgz", + "integrity": "sha512-22oIsOXwigdEGQJuTgS44964hj0/gN20E6/aiDoO469WiqqOk5JEEVQpW8zCDjsb9vynyk384JqE9zRyvfrH5A==", "dependencies": { + "escape-html": "1.0.3", "faker": "5.5.3", "file-type": "3.9.0", "http-reasons": "0.1.0", - "iconv-lite": "0.6.3", + "iconv-lite": "0.6.2", "liquid-json": "0.3.1", "lodash": "4.17.21", + "marked": "2.0.1", "mime-format": "2.0.1", - "mime-types": "2.1.31", + "mime-types": "2.1.30", "postman-url-encoder": "3.0.1", + "sanitize-html": "1.20.1", "semver": "7.3.5", - "uuid": "8.3.2" - }, - "engines": { - "node": ">=10" + "uuid": "3.4.0" } }, "node_modules/postman-code-generators/node_modules/postman-url-encoder": { "version": "3.0.1", - "license": "Apache-2.0", + "resolved": "https://registry.npmjs.org/postman-url-encoder/-/postman-url-encoder-3.0.1.tgz", + "integrity": "sha512-dMPqXnkDlstM2Eya+Gw4MIGWEan8TzldDcUKZIhZUsJ/G5JjubfQPhFhVWKzuATDMvwvrWbSjF+8VmAvbu6giw==", "dependencies": { "punycode": "^2.1.1" }, @@ -17796,15 +17819,17 @@ } }, "node_modules/postman-code-generators/node_modules/punycode": { - "version": "2.3.0", - "license": "MIT", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "engines": { "node": ">=6" } }, "node_modules/postman-code-generators/node_modules/semver": { "version": "7.3.5", - "license": "ISC", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -17815,9 +17840,35 @@ "node": ">=10" } }, + "node_modules/postman-code-generators/node_modules/shelljs": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz", + "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postman-code-generators/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, "node_modules/postman-code-generators/node_modules/yallist": { "version": "4.0.0", - "license": "ISC" + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/postman-collection": { "version": "4.1.7", diff --git a/www/package.json b/www/package.json index 0ddfb7ffe..c785dc50b 100644 --- a/www/package.json +++ b/www/package.json @@ -19,6 +19,7 @@ "@analytics/google-tag-manager": "^0.5.5", "@docusaurus/core": "2.4.3", "@docusaurus/preset-classic": "2.4.3", + "postman-code-generators": "git://github.com:vectara/postman-code-generators.git#reject_content_type", "@mdx-js/react": "^1.6.22", "@vectara/react-search": "^1.1.0", "classnames": "^2.3.2", From 939c020aa4d19ef39a5725982b9ca9f62a1c6f78 Mon Sep 17 00:00:00 2001 From: Nikhil Bysani Date: Wed, 3 Jul 2024 14:17:27 -0400 Subject: [PATCH 2/2] Filter out content type properly. --- www/docs/rest-api/create-corpus.api.mdx | 2 +- www/docs/rest-api/create-user.api.mdx | 2 +- www/docs/rest-api/get-chat-turn.api.mdx | 2 +- www/docs/rest-api/get-chat.api.mdx | 2 +- www/docs/rest-api/get-corpus.api.mdx | 2 +- www/docs/rest-api/get-job.api.mdx | 2 +- www/docs/rest-api/get-user.api.mdx | 2 +- www/docs/rest-api/list-chat-turns.api.mdx | 2 +- www/docs/rest-api/list-chats.api.mdx | 2 +- www/docs/rest-api/list-corpora.api.mdx | 2 +- www/docs/rest-api/list-jobs.api.mdx | 2 +- www/docs/rest-api/list-users.api.mdx | 2 +- www/docs/rest-api/update-chat-turn.api.mdx | 2 +- www/docs/rest-api/update-corpus.api.mdx | 2 +- www/docs/rest-api/update-user.api.mdx | 2 +- www/package-lock.json | 183 ++++++++++++++++++++- www/package.json | 7 +- 17 files changed, 196 insertions(+), 24 deletions(-) diff --git a/www/docs/rest-api/create-corpus.api.mdx b/www/docs/rest-api/create-corpus.api.mdx index 80477760d..ba84bd0a5 100644 --- a/www/docs/rest-api/create-corpus.api.mdx +++ b/www/docs/rest-api/create-corpus.api.mdx @@ -58,7 +58,7 @@ The new filter attributes of the corpus. The custom dimensions of all document parts inside the corpus. -
  • Array [
  • ]
  • limits object
    +
  • Array [
  • ]
  • limits object
    Invalid request body in the create corpus request. diff --git a/www/docs/rest-api/create-user.api.mdx b/www/docs/rest-api/create-user.api.mdx index 1f288c95f..7668bec25 100644 --- a/www/docs/rest-api/create-user.api.mdx +++ b/www/docs/rest-api/create-user.api.mdx @@ -64,7 +64,7 @@ resource is a resource implied by the request. string -
  • ]
  • +
  • ]
  • User creation request was malformed. diff --git a/www/docs/rest-api/get-chat-turn.api.mdx b/www/docs/rest-api/get-chat-turn.api.mdx index c547334d3..48a8838e4 100644 --- a/www/docs/rest-api/get-chat-turn.api.mdx +++ b/www/docs/rest-api/get-chat-turn.api.mdx @@ -36,7 +36,7 @@ Get a specific turn from a chat, which is a message and response pair from the c The turn. -
    Schema
    +
    Schema
    Permissions do not allow getting the turn. diff --git a/www/docs/rest-api/get-chat.api.mdx b/www/docs/rest-api/get-chat.api.mdx index 03e6fec1a..e7f6d200f 100644 --- a/www/docs/rest-api/get-chat.api.mdx +++ b/www/docs/rest-api/get-chat.api.mdx @@ -36,7 +36,7 @@ Get a chat summary to view what started the chat, but not subsequent turns. A chat. -
    Schema
    +
    Schema
    Permissions do not allow retrieving the chat. diff --git a/www/docs/rest-api/get-corpus.api.mdx b/www/docs/rest-api/get-corpus.api.mdx index b8e92d1b4..fcd763dde 100644 --- a/www/docs/rest-api/get-corpus.api.mdx +++ b/www/docs/rest-api/get-corpus.api.mdx @@ -44,7 +44,7 @@ The new filter attributes of the corpus. The custom dimensions of all document parts inside the corpus. -
  • Array [
  • ]
  • limits object
    +
  • Array [
  • ]
  • limits object
    Permissions do not allow retrieving the corpus. diff --git a/www/docs/rest-api/get-job.api.mdx b/www/docs/rest-api/get-job.api.mdx index f6e5846b0..b933fc570 100644 --- a/www/docs/rest-api/get-job.api.mdx +++ b/www/docs/rest-api/get-job.api.mdx @@ -36,7 +36,7 @@ Get a job by a specific ID. Jobs are background processes like replacing the fil A job. -
    Schema
    +
    Schema
    Permissions do not allow retrieving a job. diff --git a/www/docs/rest-api/get-user.api.mdx b/www/docs/rest-api/get-user.api.mdx index c4c5c7a8a..d919f2102 100644 --- a/www/docs/rest-api/get-user.api.mdx +++ b/www/docs/rest-api/get-user.api.mdx @@ -65,7 +65,7 @@ resource is a resource implied by the request. string -
  • ]
  • +
  • ]
  • Permissions do not allow retrieving the user. diff --git a/www/docs/rest-api/list-chat-turns.api.mdx b/www/docs/rest-api/list-chat-turns.api.mdx index 4b7916b3e..b50e7a1c5 100644 --- a/www/docs/rest-api/list-chat-turns.api.mdx +++ b/www/docs/rest-api/list-chat-turns.api.mdx @@ -40,7 +40,7 @@ List of turns. List of turns. -
  • Array [
  • ]
  • +
  • Array [
  • ]
  • Permissions do not allow listing turns in the chat. diff --git a/www/docs/rest-api/list-chats.api.mdx b/www/docs/rest-api/list-chats.api.mdx index 1d2802f7a..31d442fbe 100644 --- a/www/docs/rest-api/list-chats.api.mdx +++ b/www/docs/rest-api/list-chats.api.mdx @@ -44,7 +44,7 @@ List of chats. The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing chats. diff --git a/www/docs/rest-api/list-corpora.api.mdx b/www/docs/rest-api/list-corpora.api.mdx index bee5e1712..b3b6d8897 100644 --- a/www/docs/rest-api/list-corpora.api.mdx +++ b/www/docs/rest-api/list-corpora.api.mdx @@ -50,7 +50,7 @@ The custom dimensions of all document parts inside the corpus. The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing corpora. diff --git a/www/docs/rest-api/list-jobs.api.mdx b/www/docs/rest-api/list-jobs.api.mdx index 3d421f01d..e262ca4f9 100644 --- a/www/docs/rest-api/list-jobs.api.mdx +++ b/www/docs/rest-api/list-jobs.api.mdx @@ -44,7 +44,7 @@ An array of jobs. The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing jobs. diff --git a/www/docs/rest-api/list-users.api.mdx b/www/docs/rest-api/list-users.api.mdx index 2d2ed9aae..bc5772549 100644 --- a/www/docs/rest-api/list-users.api.mdx +++ b/www/docs/rest-api/list-users.api.mdx @@ -72,7 +72,7 @@ string The standard metadata in the response of a list operation. -
    +
    Permissions do not allow listing users. diff --git a/www/docs/rest-api/update-chat-turn.api.mdx b/www/docs/rest-api/update-chat-turn.api.mdx index 874c84f56..d0f39e827 100644 --- a/www/docs/rest-api/update-chat-turn.api.mdx +++ b/www/docs/rest-api/update-chat-turn.api.mdx @@ -36,7 +36,7 @@ Update a turn; used to disable or enable a chat. Successfully modified the turn. -
    Schema
    +
    Schema
    Permissions do not allow updating the turn. diff --git a/www/docs/rest-api/update-corpus.api.mdx b/www/docs/rest-api/update-corpus.api.mdx index 2bf41d912..f809dafa6 100644 --- a/www/docs/rest-api/update-corpus.api.mdx +++ b/www/docs/rest-api/update-corpus.api.mdx @@ -44,7 +44,7 @@ The new filter attributes of the corpus. The custom dimensions of all document parts inside the corpus. -
  • Array [
  • ]
  • limits object
    +
  • Array [
  • ]
  • limits object
    Permissions do not allow updating the corpus. diff --git a/www/docs/rest-api/update-user.api.mdx b/www/docs/rest-api/update-user.api.mdx index 1541c4964..4409d6a25 100644 --- a/www/docs/rest-api/update-user.api.mdx +++ b/www/docs/rest-api/update-user.api.mdx @@ -64,7 +64,7 @@ resource is a resource implied by the request. string -
  • ]
  • +
  • ]
  • Permissions do not allow updating the user. diff --git a/www/package-lock.json b/www/package-lock.json index da587cf69..f90f42342 100644 --- a/www/package-lock.json +++ b/www/package-lock.json @@ -12,6 +12,7 @@ "@docusaurus/core": "2.4.3", "@docusaurus/preset-classic": "2.4.3", "@mdx-js/react": "^1.6.22", + "@paloaltonetworks/postman-code-generators": "git://github.com:vectara/postman-code-generators.git#reject_content_type", "@vectara/react-search": "^1.1.0", "classnames": "^2.3.2", "clsx": "^1.2.1", @@ -22,7 +23,6 @@ "docusaurus-protobuffet": "^0.2.4", "docusaurus-theme-openapi": "^0.6.4", "docusaurus-theme-openapi-docs": "^2.0.0", - "postman-code-generators": "git://github.com:vectara/postman-code-generators.git#reject_content_type", "prism-react-renderer": "^1.3.5", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -3413,22 +3413,169 @@ "license": "MIT" }, "node_modules/@paloaltonetworks/postman-code-generators": { - "version": "1.1.15-patch.2", + "name": "postman-code-generators", + "version": "1.1.5", + "resolved": "git+ssh://git@github.com/vectara/postman-code-generators.git#e71e5fc229fd207db343236486a1b16a89de6ab8", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@paloaltonetworks/postman-collection": "^4.1.0", - "async": "^3.2.4", - "path": "^0.12.7", - "shelljs": "^0.8.5" + "async": "2.6.3", + "path": "0.12.7", + "postman-collection": "3.6.11", + "shelljs": "0.8.4" }, "engines": { "node": ">=6" } }, "node_modules/@paloaltonetworks/postman-code-generators/node_modules/async": { - "version": "3.2.4", - "license": "MIT" + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/faker": { + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/faker/-/faker-5.5.3.tgz", + "integrity": "sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g==" + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/iconv-lite": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/marked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/marked/-/marked-2.0.1.tgz", + "integrity": "sha512-5+/fKgMv2hARmMW7DOpykr2iLhl0NgjyELk5yn92iE7z8Se1IS9n3UsFm86hFXIkvMBmVxki8+ckcpjBeyo/hw==", + "bin": { + "marked": "bin/marked" + }, + "engines": { + "node": ">= 8.16.2" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/mime-db": { + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/mime-types": { + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "dependencies": { + "mime-db": "1.47.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/postman-collection": { + "version": "3.6.11", + "resolved": "https://registry.npmjs.org/postman-collection/-/postman-collection-3.6.11.tgz", + "integrity": "sha512-22oIsOXwigdEGQJuTgS44964hj0/gN20E6/aiDoO469WiqqOk5JEEVQpW8zCDjsb9vynyk384JqE9zRyvfrH5A==", + "dependencies": { + "escape-html": "1.0.3", + "faker": "5.5.3", + "file-type": "3.9.0", + "http-reasons": "0.1.0", + "iconv-lite": "0.6.2", + "liquid-json": "0.3.1", + "lodash": "4.17.21", + "marked": "2.0.1", + "mime-format": "2.0.1", + "mime-types": "2.1.30", + "postman-url-encoder": "3.0.1", + "sanitize-html": "1.20.1", + "semver": "7.3.5", + "uuid": "3.4.0" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/postman-url-encoder": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/postman-url-encoder/-/postman-url-encoder-3.0.1.tgz", + "integrity": "sha512-dMPqXnkDlstM2Eya+Gw4MIGWEan8TzldDcUKZIhZUsJ/G5JjubfQPhFhVWKzuATDMvwvrWbSjF+8VmAvbu6giw==", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/shelljs": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz", + "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/@paloaltonetworks/postman-code-generators/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/@paloaltonetworks/postman-collection": { "version": "4.1.1", @@ -8441,6 +8588,26 @@ "react-dom": "^16.8.4 || ^17.0.0 || ^18.0.0" } }, + "node_modules/docusaurus-theme-openapi-docs/node_modules/@paloaltonetworks/postman-code-generators": { + "version": "1.1.15-patch.2", + "resolved": "https://registry.npmjs.org/@paloaltonetworks/postman-code-generators/-/postman-code-generators-1.1.15-patch.2.tgz", + "integrity": "sha512-tRnAKtV4M8wLxcVnAx6ZCjCqbrR1xiqJNQkf1A71K8UxEP3N/+EspT82N5c0555w02oYFk21ViHuzuhm4gaGLw==", + "hasInstallScript": true, + "dependencies": { + "@paloaltonetworks/postman-collection": "^4.1.0", + "async": "^3.2.4", + "path": "^0.12.7", + "shelljs": "^0.8.5" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/docusaurus-theme-openapi-docs/node_modules/async": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" + }, "node_modules/docusaurus-theme-openapi-docs/node_modules/sass-loader": { "version": "13.3.2", "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.3.2.tgz", diff --git a/www/package.json b/www/package.json index c785dc50b..ba9e51bf2 100644 --- a/www/package.json +++ b/www/package.json @@ -19,7 +19,6 @@ "@analytics/google-tag-manager": "^0.5.5", "@docusaurus/core": "2.4.3", "@docusaurus/preset-classic": "2.4.3", - "postman-code-generators": "git://github.com:vectara/postman-code-generators.git#reject_content_type", "@mdx-js/react": "^1.6.22", "@vectara/react-search": "^1.1.0", "classnames": "^2.3.2", @@ -30,6 +29,7 @@ "docusaurus-plugin-sass": "^0.2.5", "docusaurus-protobuffet": "^0.2.4", "docusaurus-theme-openapi": "^0.6.4", + "@paloaltonetworks/postman-code-generators": "git://github.com:vectara/postman-code-generators.git#reject_content_type", "docusaurus-theme-openapi-docs": "^2.0.0", "prism-react-renderer": "^1.3.5", "react": "^17.0.2", @@ -37,6 +37,11 @@ "react-focus-on": "^3.9.1", "react-icons": "^4.11.0" }, + "overrides": { + "docusaurus-theme-openapi": { + "@paloaltonetworks/postman-code-generators": "git://github.com:vectara/postman-code-generators.git#reject_content_type" + } + }, "devDependencies": { "@docusaurus/module-type-aliases": "2.4.3", "esbuild": "^0.19.9"