From 2a4f248c83aabd360a79c8fc5cccbac327638772 Mon Sep 17 00:00:00 2001 From: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com> Date: Tue, 14 May 2024 11:43:11 -0400 Subject: [PATCH] Fixes DEV-301 and Fixes DEV-298 --- CONTRIBUTING.md | 91 + README.md | 257 +-- .../collections/get-collection-by-id.mdx | 3 + .../endpoint/sessions/get-chat-stream.mdx | 3 + .../api-reference/endpoint/users/get-user.mdx | 3 + docs/api-reference/introduction.mdx | 5 - .../deploying.mdx | 2 +- .../guidelines.mdx} | 2 +- docs/{about => contributing}/license.mdx | 0 .../self-hosting.mdx | 0 docs/mint.json | 24 +- docs/{api-reference => }/openapi.json | 1529 +++++++++++++---- docs/package-lock.json | 665 ++++--- docs/package.json | 1 + 14 files changed, 1723 insertions(+), 862 deletions(-) create mode 100644 CONTRIBUTING.md create mode 100644 docs/api-reference/endpoint/collections/get-collection-by-id.mdx create mode 100644 docs/api-reference/endpoint/sessions/get-chat-stream.mdx create mode 100644 docs/api-reference/endpoint/users/get-user.mdx rename docs/{getting-started => contributing}/deploying.mdx (93%) rename docs/{about/contributing.mdx => contributing/guidelines.mdx} (97%) rename docs/{about => contributing}/license.mdx (100%) rename docs/{getting-started => contributing}/self-hosting.mdx (100%) rename docs/{api-reference => }/openapi.json (62%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..9b50a6f --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,91 @@ +# Contributing + +This project is completely open source and welcomes any and all open source +contributions. The workflow for contributing is to make a fork of the +repository. You can claim an issue in the issues tab or start a new thread to +indicate a feature or bug fix you are working on. + +Once you have finished your contribution make a PR , and it will be reviewed by +a project manager. Feel free to join us in our +[discord](http://discord.gg/plasticlabs) to discuss your changes or get help. + +Your changes will undergo a period of testing and discussion before finally +being entered into the `main` branch and being staged for release + +## Local Development + +Below is a guide on setting up a local environment for running the Honcho +Server. + +> This guide was made using a M1 Macbook Pro. For any compatibility issues +> on different platforms please raise an Issue. + +### Docker + +The API can be run using docker-compose. The `docker-compose.yml.example` file can be copied to `docker-compose.yml` and the environment variables can be set in the `.env` file. + +```bash +cd honcho/api +cp docker-compose.yml.example docker-compose.yml +[ update the file with openai key and other wanted environment variables ] +docker compose up -d +``` + +#### Manually + +The API can be run either by installing the necessary dependencies and then +specifying the appropriate environment variables. + +1. Create a virtualenv and install the API's dependencies + +```bash +cd honcho/api/ # change to the api directory +poetry shell # Activate virutal environment +poetry install # install dependencies +``` + +2. Copy the `.env.template` file and specify the type of database and + connection_uri. For testing sqlite is fine. The below example uses an + in-memory sqlite database. + +> Honcho has been tested with Postgresql and PGVector + +```env +DATABASE_TYPE=postgres +CONNECTION_URI=postgresql://testuser:testpwd@localhost:5432/honcho +``` + +3. launch a postgresd with pgvector enabled with docker-compose + +```bash +cd honcho/api/local +docker-compose up -d +``` + +4. Run the API via uvicorn + +```bash +cd honcho/api # change to the api directory +poetry shell # Activate virtual environment if not already enabled +python -m uvicorn src.main:app --reload +``` + +#### Deploy on Fly + +The API can also be deployed on fly.io. Follow the [Fly.io +Docs](https://fly.io/docs/getting-started/) to setup your environment and the +`flyctl`. +`flyctl`. + +Once `flyctl` is set up use the following commands to launch the application: + +```bash +cd honcho/api +flyctl launch --no-deploy # Follow the prompts and edit as you see fit +cat .env | flyctl secrets import # Load in your secrets +flyctl deploy # Deploy with appropriate environment variables +``` + + +## Self-Hosting + diff --git a/README.md b/README.md index 2542be2..1742490 100644 --- a/README.md +++ b/README.md @@ -1,183 +1,208 @@ # 🫡 Honcho ![Static Badge](https://img.shields.io/badge/Version-0.0.8-blue) [![Discord](https://img.shields.io/discord/1016845111637839922?style=flat&logo=discord&logoColor=23ffffff&label=Plastic%20Labs&labelColor=235865F2)](https://discord.gg/plasticlabs) +[![arXiv](https://img.shields.io/badge/arXiv-2310.06983-b31b1b.svg)](https://arxiv.org/abs/2310.06983) ![GitHub License](https://img.shields.io/github/license/plastic-labs/honcho) ![GitHub Repo stars](https://img.shields.io/github/stars/plastic-labs/honcho) [![X (formerly Twitter) URL](https://img.shields.io/twitter/url?url=https%3A%2F%2Ftwitter.com%2Fplastic_labs)](https://twitter.com/plastic_labs) +[![PyPI version](https://img.shields.io/pypi/v/honcho-ai.svg)](https://pypi.org/project/honcho-ai/) +[![NPM version](https://img.shields.io/npm/v/honcho-ai.svg)](https://npmjs.org/package/honcho-ai) + Honcho is a platform for making AI agents and LLM powered applications that are personalized -to their end users. +to their end users. It leverages the inherent theory-of-mind capabilities of +LLMs to cohere to user psychology over time. -Read about the motivation of this project [here](https://blog.plasticlabs.ai/blog/A-Simple-Honcho-Primer). +Read about the the project [here](https://blog.plasticlabs.ai/blog/A-Simple-Honcho-Primer). -Read the user documenation [here](https://docs.honcho.dev) +Read the user documentation [here](https://docs.honcho.dev) ## Table of Contents - [Project Structure](#project-structure) - [Usage](#usage) - - [API](#api) - - [Docker](#docker) - - [Manually](#manually) - - [Deploying on Fly.io](#deploy-on-fly) - - [Client SDK](#client-sdk) - - [Use Locally](#use-locally) -- [Contributing](#contributing) +- [Architecture](#architecture) + - [Storage](#storage) + - [Insights](#insights) - [License](#license) ## Project Structure -The Honcho repo is a monorepo containing the server/API that manages database -interactions and storing data about an application's state along with the python -sdk for interacting with the API. +The Honcho project is split between several repositories with this one hosting +the core service logic. This is implemented as a FastAPI server/API to store +data about an application's state. -The folders are structured as follows: +There are also client-sdks that are created using +[Stainless](https://www.stainlessapi.com/). Currently, there is a [Python](https://github.com/plastic-labs/honcho-python) and +[TypeScript/JavaScript](https://github.com/plastic-labs/honcho-node) SDK available. -- `api/` - contains a FastAPI application that provides user context management - routes -- `sdk/` - contains the code for the python sdk and package hosted on PyPI -- `example/` - contains example code for different use cases of honcho +Examples on how to use the SDK are located within each SDK repository. There is +also SDK example usage available in the [API Reference](https://docs.honcho.dev/api-reference/introduction) +along with various guides. -This project utilizes [poetry](https://python-poetry.org/) for dependency -management +## Usage -A separate changelog is managed for the sdk and api in their respective -directories. +Currently, there is a demo server of Honcho running at https://demo.honcho.dev. +This server is not production ready and does not have an reliability guarantees. +It is purely there for evaluation purposes. -## Usage +A private beta for a tenant isolated production ready version of Honcho is +currently underway. If interested fill out this +[typeform](https://plasticlabs.typeform.com/honchobeta) and the Plastic Labs +team will reach out to onboard users. -### API +Additionally, Honcho can be self-hosted for testing and evaluation purposes. See +[Contributing](./CONTRIBUTING.md) for more details on how to setup a local +version of Honcho. -#### Docker +## Architecture -The API can be run using docker-compose. The `docker-compose.yml.example` file can be copied to `docker-compose.yml` and the environment variables can be set in the `.env` file. +The functionality of Honcho can be split into two different services: Storage +and Insights. -```bash -cd honcho/api -cp docker-compose.yml.example docker-compose.yml -[ update the file with openai key and other wanted environment variables ] -docker compose up -d -``` +### Storage -#### Manually +Honcho contains several different primitives used for storing application and +user data. This data is used for managing conversations, modeling user +psychology, building RAG applications, and more. -#### Docker +The philosophy behind Honcho is to provide a platform that is user-centric and +easily scalable from a single user to a million. -The API can be run using docker-compose. The `docker-compose.yml.example` file can be copied to `docker-compose.yml` and the environment variables can be set in the `.env` file. +Below is a mapping of the different primitives. -```bash -cd honcho/api -cp docker-compose.yml.example docker-compose.yml -[ update the file with openai key and other wanted environment variables ] -docker compose up -d +``` +Apps +└── Users + ├── Sessions + │ ├── Messages + │ └── Metamessages + └── Collections + └── Documents ``` -#### Manually +Users familiar with APIs such as the OpenAI Assistants API will be familiar with +much of the mapping here. -The API can be run either by installing the necessary dependencies and then -specifying the appropriate environment variables. +**Apps** -1. Create a virtualenv and install the API's dependencies +This is the top level construct of Honcho. Developers can register different +`Apps` for different assistants, agents, AI enabled features, etc. It is a way to +isolation data between use cases. -```bash -cd honcho/api/ # change to the api directory -poetry shell # Activate virutal environment -poetry install # install dependencies -``` +**Users** -2. Copy the `.env.template` file and specify the type of database and - connection_uri. For testing sqlite is fine. The below example uses an - in-memory sqlite database. - in-memory sqlite database. +Within an `App` everything revolves around a `User`. the `User` object very +literally represent a user of an application. -> Honcho has been tested with Postgresql and PGVector +**Sessions** -```env -DATABASE_TYPE=postgres -CONNECTION_URI=postgresql://testuser:testpwd@localhost:5432/honcho -``` +The `Session` object represents a set of interactions a `User` has with an +`App`. Other application may refer to this as a thread or conversation. -3. launch a postgresd with pgvector enabled with docker-compose +**Messages** -```bash -cd honcho/api/local -docker-compose up -d -``` +The `Message` represents an atomic interaction of a `User` in a `Session`. +`Message`s are labed as either a `User` or AI message. -4. Run the API via uvicorn +**Metamessages** -```bash -cd honcho/api # change to the api directory -poetry shell # Activate virtual environment if not already enabled -python -m uvicorn src.main:app --reload -``` +A `Metamessage` is very similar to a `Message` with different use case. They are +meant to be used to store intermediate inference from AI assistants or other +derived information that is separate from the main `User` `App` interaction +loop. For complicated prompting architectures like [metacognitive prompting](https://arxiv.org/abs/2310.06983) +metamessages can store thought and reflection steps along with having developer +information such as logs. -#### Deploy on Fly +Each `Metamessage` is associated with a `Message`. The convention we recommend +is to attach a `Metamessage` to the `Message` it was derived from or based on. -The API can also be deployed on fly.io. Follow the [Fly.io -Docs](https://fly.io/docs/getting-started/) to setup your environment and the -`flyctl`. -`flyctl`. +**Collections** -Once `flyctl` is set up use the following commands to launch the application: +At a high level a `Collection` is a named group of `Documents`. Developers +familiar with RAG based applications will be familar with these. `Collection`s +store vector embedded data that developers and agents can retrieve against using +functions like cosine similarity. -```bash -cd honcho/api -flyctl launch --no-deploy # Follow the prompts and edit as you see fit -cat .env | flyctl secrets import # Load in your secrets -flyctl deploy # Deploy with appropriate environment variables -``` +Developers can create multiple `Collection`s for a user for different purposes +such as modeling different personas, adding third-party data such as emails and +PDF files, and more. -### Client SDK +**Documents** -Install the honcho client sdk from a python project with the following command: +As stated before a `Document` is vector embedded data stored in a `Collection`. -```bash -pip install honcho-ai -``` +### Insights -alternatively if you are using poetry run: +The Insight functionality of Honcho is built on top of the Storage service. As +`Messages` and `Sessions` are created for a `User`, Honcho will asynchronously +reason about the `User`'s psychology to derive facts about them and store them +in a reserved `Collection`. -```bash -poetry add honcho-ai -``` +To read more about how this works read our [Research Paper](https://arxiv.org/abs/2310.06983) -checkout the [SDK Reference](https://api.python.honcho.dev) for a detailed -look at the different methods and how to use them. +Developers can then leverage these insights in their application to better +server `User` needs. The primary interface for using these insights is through +the [Dialectic Endpoint](https://blog.plasticlabs.ai/blog/Introducing-Honcho's-Dialectic-API). -Also, check out the[example folder](./example/) for examples of how to use the sdk -checkout the [SDK Reference](https://api.python.honcho.dev) for a detailed -look at the different methods and how to use them. +This is a regular API endpoint that takes natural language requests to get data +about the `User`. This robust design let's us use this single endpoint for all +cases where extra personalization or information about the `User` is necessary. -Also, check out the[example folder](./example/) for examples of how to use the sdk +A developer's application can treat Honcho as an oracle to the `User` and +consult with it when necessary. Some examples of how to leverage the Dialectic +API include: -#### Use Locally +- Asking Honcho for a theory-of-mind insight about the `User` +- Asking Honcho to hydrate a prompt with data about the `User`s behavior +- Asking Honcho for a 2nd opinion or approach about how to respond to the User -For local development of the sdk you can add the local directory as a package -using poetry with the following commands. + -```bash -poetry add --editable ./{path_to_honcho}/honcho/sdk -``` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -See more information [here](https://python-poetry.org/docs/cli/#add) + -## Contributing + -This project is completely open source and welcomes any and all open source -contributions. The workflow for contributing is to make a fork of the -repository. You can claim an issue in the issues tab or start a new thread to -indicate a feature or bug fix you are working on. -indicate a feature or bug fix you are working on. + + -Once you have finished your contribution make a PR pointed at the `staging` -branch, and it will be reviewed by a project manager. Feel free to join us in -our [discord](http://discord.gg/plasticlabs) to discuss your changes or get -help. -help. + + + -Once your changes are accepted and merged into staging they will undergo a -period of live testing before entering the upstream into `main` + ## License diff --git a/docs/api-reference/endpoint/collections/get-collection-by-id.mdx b/docs/api-reference/endpoint/collections/get-collection-by-id.mdx new file mode 100644 index 0000000..7771a14 --- /dev/null +++ b/docs/api-reference/endpoint/collections/get-collection-by-id.mdx @@ -0,0 +1,3 @@ +--- +openapi: get /apps/{app_id}/users/{user_id}/collections/{collection_id} +--- \ No newline at end of file diff --git a/docs/api-reference/endpoint/sessions/get-chat-stream.mdx b/docs/api-reference/endpoint/sessions/get-chat-stream.mdx new file mode 100644 index 0000000..ac52ac0 --- /dev/null +++ b/docs/api-reference/endpoint/sessions/get-chat-stream.mdx @@ -0,0 +1,3 @@ +--- +openapi: get /apps/{app_id}/users/{user_id}/sessions/{session_id}/chat/stream +--- \ No newline at end of file diff --git a/docs/api-reference/endpoint/users/get-user.mdx b/docs/api-reference/endpoint/users/get-user.mdx new file mode 100644 index 0000000..95c39f9 --- /dev/null +++ b/docs/api-reference/endpoint/users/get-user.mdx @@ -0,0 +1,3 @@ +--- +openapi: get /apps/{app_id}/users/{user_id} +--- \ No newline at end of file diff --git a/docs/api-reference/introduction.mdx b/docs/api-reference/introduction.mdx index e9f1648..c9a2966 100644 --- a/docs/api-reference/introduction.mdx +++ b/docs/api-reference/introduction.mdx @@ -2,11 +2,6 @@ title: 'Introduction' --- - - If you're using the Python SDK you shouldn't need to interface directly with the - API. The SDK reference may be more helpful - - This section of the documentation goes over all of the different API endpoints available in the Honcho Server. They largely map to CRUD operations for each of the core primitives. For information about the core primitives consult [Architecture](/getting-started/Architecture) diff --git a/docs/getting-started/deploying.mdx b/docs/contributing/deploying.mdx similarity index 93% rename from docs/getting-started/deploying.mdx rename to docs/contributing/deploying.mdx index 4b585ba..91bd34b 100644 --- a/docs/getting-started/deploying.mdx +++ b/docs/contributing/deploying.mdx @@ -16,4 +16,4 @@ cat .env | flyctl secrets import # Load in your secrets flyctl deploy # Deploy with appropriate environment variables ``` -Then you should have a new URL to initialize your Honcho client with! Consider your user context managed 🪄.` \ No newline at end of file +Then you should have a new URL to initialize your Honcho client with! Consider your user context managed 🪄.` diff --git a/docs/about/contributing.mdx b/docs/contributing/guidelines.mdx similarity index 97% rename from docs/about/contributing.mdx rename to docs/contributing/guidelines.mdx index 3264e2d..3e10b9f 100644 --- a/docs/about/contributing.mdx +++ b/docs/contributing/guidelines.mdx @@ -1,5 +1,5 @@ --- -title: 'Contributing' +title: 'Guidelines' description: 'Guidelines for contributing to the Honcho Project' icon: 'handshake-angle' --- diff --git a/docs/about/license.mdx b/docs/contributing/license.mdx similarity index 100% rename from docs/about/license.mdx rename to docs/contributing/license.mdx diff --git a/docs/getting-started/self-hosting.mdx b/docs/contributing/self-hosting.mdx similarity index 100% rename from docs/getting-started/self-hosting.mdx rename to docs/contributing/self-hosting.mdx diff --git a/docs/mint.json b/docs/mint.json index f4284a4..329110d 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -30,11 +30,6 @@ } ], "anchors": [ - { - "name": "SDK Reference", - "icon": "book-open-cover", - "url": "https://api.python.honcho.dev" - }, { "name": "Community", "icon": "discord", @@ -52,16 +47,16 @@ "pages": [ "getting-started/introduction", "getting-started/quickstart", - "getting-started/architecture", - "getting-started/self-hosting", - "getting-started/deploying" + "getting-started/architecture" ] }, { - "group": "About", + "group": "Contributing", "pages": [ - "about/contributing", - "about/license" + "contributing/guidelines", + "contributing/self-hosting", + "contributing/deploying", + "contributing/license" ] }, { @@ -111,6 +106,7 @@ "api-reference/endpoint/users/get-users", "api-reference/endpoint/users/create-user", "api-reference/endpoint/users/get-user-by-name", + "api-reference/endpoint/users/get-user", "api-reference/endpoint/users/get-or-create-user", "api-reference/endpoint/users/update-user" ] @@ -123,7 +119,8 @@ "api-reference/endpoint/sessions/get-session", "api-reference/endpoint/sessions/update-session", "api-reference/endpoint/sessions/delete-session", - "api-reference/endpoint/sessions/get-chat" + "api-reference/endpoint/sessions/get-chat", + "api-reference/endpoint/sessions/get-chat-stream" ] }, { @@ -145,6 +142,7 @@ "api-reference/endpoint/collections/get-collections", "api-reference/endpoint/collections/create-collection", "api-reference/endpoint/collections/get-collection-by-name", + "api-reference/endpoint/collections/get-collection-by-id", "api-reference/endpoint/collections/update-collection", "api-reference/endpoint/collections/delete-collection" ] @@ -167,7 +165,7 @@ "linkedin": "https://www.linkedin.com/company/plasticlabs" }, "openapi": [ - "https://demo.honcho.dev/openapi.json" + "/openapi.json" ], "analytics": { "posthog": { diff --git a/docs/api-reference/openapi.json b/docs/openapi.json similarity index 62% rename from docs/api-reference/openapi.json rename to docs/openapi.json index 891d306..e9571e5 100644 --- a/docs/api-reference/openapi.json +++ b/docs/openapi.json @@ -1,15 +1,36 @@ { "openapi": "3.1.0", "info": { - "title": "FastAPI", + "title": "Honcho API", + "summary": "An API for adding personalization to AI Apps", + "description": "This API is used to store data and get insights about users for AI\n applications", "version": "0.1.0" }, + "servers": [ + { + "url": "http://127.0.0.1:8000", + "description": "Local Development Server" + }, + { + "url": "https:/demo.honcho.dev", + "description": "Demo Server" + } + ], "paths": { "/apps/{app_id}": { "get": { + "tags": [ + "apps" + ], "summary": "Get App", "description": "Get an App by ID\n\nArgs:\n app_id (uuid.UUID): The ID of the app\n\nReturns:\n schemas.App: App object", "operationId": "get_app_apps__app_id__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -43,12 +64,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const app = await honcho.apps.get('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');\n\n console.log(app.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\napp = client.apps.get(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(app.id)" + } + ] }, "put": { + "tags": [ + "apps" + ], "summary": "Update App", "description": "Update an App\n\nArgs:\n app_id (uuid.UUID): The ID of the app to update\n app (schemas.AppUpdate): The App object containing any new metadata\n\nReturns:\n schemas.App: The App object of the updated App", "operationId": "update_app_apps__app_id__put", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -92,14 +132,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const app = await honcho.apps.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');\n\n console.log(app.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\napp = client.apps.update(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(app.id)" + } + ] } }, "/apps/name/{name}": { "get": { + "tags": [ + "apps" + ], "summary": "Get App By Name", "description": "Get an App by Name\n\nArgs:\n app_name (str): The name of the app\n\nReturns:\n schemas.App: App object", "operationId": "get_app_by_name_apps_name__name__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "name", @@ -132,11 +191,24 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const app = await honcho.apps.getByName('string');\n\n console.log(app.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\napp = client.apps.get_by_name(\n \"string\",\n)\nprint(app.id)" + } + ] } }, "/apps": { "post": { + "tags": [ + "apps" + ], "summary": "Create App", "description": "Create an App\n\nArgs:\n app (schemas.AppCreate): The App object containing any metadata\n\nReturns:\n schemas.App: Created App object", "operationId": "create_app_apps_post", @@ -171,14 +243,39 @@ } } } - } + }, + "security": [ + { + "HTTPBearer": [] + }, + {} + ], + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const app = await honcho.apps.create({ name: 'string' });\n\n console.log(app.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\napp = client.apps.create(\n name=\"string\",\n)\nprint(app.id)" + } + ] } }, "/apps/get_or_create/{name}": { "get": { + "tags": [ + "apps" + ], "summary": "Get Or Create App", "description": "Get or Create an App\n\nArgs:\n app_name (str): The name of the app\n\nReturns:\n schemas.App: App object", "operationId": "get_or_create_app_apps_get_or_create__name__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "name", @@ -211,14 +308,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const app = await honcho.apps.getOrCreate('string');\n\n console.log(app.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\napp = client.apps.get_or_create(\n \"string\",\n)\nprint(app.id)" + } + ] } }, "/apps/{app_id}/users": { "post": { + "tags": [ + "users" + ], "summary": "Create User", "description": "Create a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user (schemas.UserCreate): The User object containing any metadata\n\nReturns:\n schemas.User: Created User object", "operationId": "create_user_apps__app_id__users_post", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -262,12 +378,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const user = await honcho.apps.users.create('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { name: 'string' });\n\n console.log(user.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nuser = client.apps.users.create(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n name=\"string\",\n)\nprint(user.id)" + } + ] }, "get": { + "tags": [ + "users" + ], "summary": "Get Users", "description": "Get All Users for an App\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client\n application using honcho\n\nReturns:\n list[schemas.User]: List of User objects", "operationId": "get_users_apps__app_id__users_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -354,14 +489,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n // Automatically fetches more pages as needed.\n for await (const user of honcho.apps.users.list('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e')) {\n console.log(user.id);\n }\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\npage = client.apps.users.list(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nuser = page.items[0]\nprint(user.id)" + } + ] } }, - "/apps/{app_id}/users/{name}": { + "/apps/{app_id}/users/name/{name}": { "get": { + "tags": [ + "users" + ], "summary": "Get User By Name", "description": "Get a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n\nReturns:\n schemas.User: User object", - "operationId": "get_user_by_name_apps__app_id__users__name__get", + "operationId": "get_user_by_name_apps__app_id__users_name__name__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -404,14 +558,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const user = await honcho.apps.users.getByName('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', 'string');\n\n console.log(user.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nuser = client.apps.users.get_by_name(\n \"string\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(user.id)" + } + ] } }, - "/apps/{app_id}/users/get_or_create/{name}": { + "/apps/{app_id}/users/{user_id}": { "get": { - "summary": "Get Or Create User", - "description": "Get or Create a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n\nReturns:\n schemas.User: User object", - "operationId": "get_or_create_user_apps__app_id__users_get_or_create__name__get", + "tags": [ + "users" + ], + "summary": "Get User", + "description": "Get a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n\nReturns:\n schemas.User: User object", + "operationId": "get_user_apps__app_id__users__user_id__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -424,12 +597,13 @@ } }, { - "name": "name", + "name": "user_id", "in": "path", "required": true, "schema": { "type": "string", - "title": "Name" + "format": "uuid", + "title": "User Id" } } ], @@ -454,14 +628,31 @@ } } } - } - } - }, - "/apps/{app_id}/users/{user_id}": { + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const user = await honcho.apps.users.get(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(user.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nuser = client.apps.users.get(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(user.id)" + } + ] + }, "put": { + "tags": [ + "users" + ], "summary": "Update User", "description": "Update a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n user (schemas.UserCreate): The User object containing any metadata\n\nReturns:\n schemas.User: Updated User object", "operationId": "update_user_apps__app_id__users__user_id__put", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -515,14 +706,102 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const user = await honcho.apps.users.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(user.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nuser = client.apps.users.update(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(user.id)" + } + ] + } + }, + "/apps/{app_id}/users/get_or_create/{name}": { + "get": { + "tags": [ + "users" + ], + "summary": "Get Or Create User", + "description": "Get or Create a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n\nReturns:\n schemas.User: User object", + "operationId": "get_or_create_user_apps__app_id__users_get_or_create__name__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], + "parameters": [ + { + "name": "app_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "App Id" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Name" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const user = await honcho.apps.users.getOrCreate('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', 'string');\n\n console.log(user.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nuser = client.apps.users.get_or_create(\n \"string\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(user.id)" + } + ] } }, "/apps/{app_id}/users/{user_id}/sessions": { "get": { + "tags": [ + "sessions" + ], "summary": "Get Sessions", "description": "Get All Sessions for a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (uuid.UUID): The User ID representing the user, managed by the user\n location_id (str, optional): Optional Location ID representing the location of a\n session\n\nReturns:\n list[schemas.Session]: List of Session objects", "operationId": "get_sessions_apps__app_id__users__user_id__sessions_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -659,12 +938,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n // Automatically fetches more pages as needed.\n for await (const session of honcho.apps.users.sessions.list(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n )) {\n console.log(session.id);\n }\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\npage = client.apps.users.sessions.list(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nsession = page.items[0]\nprint(session.id)" + } + ] }, "post": { + "tags": [ + "sessions" + ], "summary": "Create Session", "description": "Create a Session for a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client\n application using honcho\n user_id (uuid.UUID): The User ID representing the user, managed by the user\n session (schemas.SessionCreate): The Session object containing any\n metadata and a location ID\n\nReturns:\n schemas.Session: The Session object of the new Session", "operationId": "create_session_apps__app_id__users__user_id__sessions_post", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -718,14 +1016,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const session = await honcho.apps.users.sessions.create(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { location_id: 'string' },\n );\n\n console.log(session.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nsession = client.apps.users.sessions.create(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n location_id=\"string\",\n)\nprint(session.id)" + } + ] } }, "/apps/{app_id}/users/{user_id}/sessions/{session_id}": { "put": { + "tags": [ + "sessions" + ], "summary": "Update Session", "description": "Update the metadata of a Session\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (uuid.UUID): The User ID representing the user, managed by the user\n session_id (uuid.UUID): The ID of the Session to update\n session (schemas.SessionUpdate): The Session object containing any new metadata\n\nReturns:\n schemas.Session: The Session object of the updated Session", "operationId": "update_session_apps__app_id__users__user_id__sessions__session_id__put", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -789,12 +1106,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const session = await honcho.apps.users.sessions.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(session.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nsession = client.apps.users.sessions.update(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(session.id)" + } + ] }, "delete": { + "tags": [ + "sessions" + ], "summary": "Delete Session", "description": "Delete a session by marking it as inactive\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (uuid.UUID): The User ID representing the user, managed by the user\n session_id (uuid.UUID): The ID of the Session to delete\n\nReturns:\n dict: A message indicating that the session was deleted\n\nRaises:\n HTTPException: If the session is not found", "operationId": "delete_session_apps__app_id__users__user_id__sessions__session_id__delete", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -846,12 +1182,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const sessionDeleteResponse = await honcho.apps.users.sessions.delete(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(sessionDeleteResponse);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nsession = client.apps.users.sessions.delete(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(session)" + } + ] }, "get": { + "tags": [ + "sessions" + ], "summary": "Get Session", "description": "Get a specific session for a user by ID\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (uuid.UUID): The User ID representing the user, managed by the user\n session_id (uuid.UUID): The ID of the Session to retrieve\n\nReturns:\n schemas.Session: The Session object of the requested Session\n\nRaises:\n HTTPException: If the session is not found", "operationId": "get_session_apps__app_id__users__user_id__sessions__session_id__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -905,14 +1260,213 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const session = await honcho.apps.users.sessions.get(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(session.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nsession = client.apps.users.sessions.get(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(session.id)" + } + ] + } + }, + "/apps/{app_id}/users/{user_id}/sessions/{session_id}/chat": { + "get": { + "tags": [ + "sessions" + ], + "summary": "Get Chat", + "operationId": "get_chat_apps__app_id__users__user_id__sessions__session_id__chat_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], + "parameters": [ + { + "name": "app_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "App Id" + } + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "User Id" + } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Session Id" + } + }, + { + "name": "query", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Query" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AgentChat" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const agentChat = await honcho.apps.users.sessions.chat(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { query: 'string' },\n );\n\n console.log(agentChat.content);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nsession = client.apps.users.sessions.chat(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n query=\"string\",\n)\nprint(session.content)" + } + ] + } + }, + "/apps/{app_id}/users/{user_id}/sessions/{session_id}/chat/stream": { + "get": { + "tags": [ + "sessions" + ], + "summary": "Get Chat Stream", + "operationId": "get_chat_stream_apps__app_id__users__user_id__sessions__session_id__chat_stream_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], + "parameters": [ + { + "name": "app_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "App Id" + } + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "User Id" + } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Session Id" + } + }, + { + "name": "query", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Query" + } + } + ], + "responses": { + "200": { + "description": "Chat stream", + "content": { + "application/json": { + "schema": {} + }, + "text/event-stream": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const sessionStreamResponse = await honcho.apps.users.sessions.stream(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { query: 'string' },\n );\n\n console.log(sessionStreamResponse);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nsession = client.apps.users.sessions.stream(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n query=\"string\",\n)\nprint(session)" + } + ] } }, "/apps/{app_id}/users/{user_id}/sessions/{session_id}/messages": { "post": { + "tags": [ + "messages" + ], "summary": "Create Message For Session", "description": "Adds a message to a session\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n session_id (int): The ID of the Session to add the message to\n message (schemas.MessageCreate): The Message object to add containing the\n message content and type\n\nReturns:\n schemas.Message: The Message object of the added message\n\nRaises:\n HTTPException: If the session is not found", "operationId": "create_message_for_session_apps__app_id__users__user_id__sessions__session_id__messages_post", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -976,12 +1530,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const message = await honcho.apps.users.sessions.messages.create(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { content: 'string', is_user: true },\n );\n\n console.log(message.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nmessage = client.apps.users.sessions.messages.create(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n content=\"string\",\n is_user=True,\n)\nprint(message.id)" + } + ] }, "get": { + "tags": [ + "messages" + ], "summary": "Get Messages", "description": "Get all messages for a session\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n session_id (int): The ID of the Session to retrieve\n reverse (bool): Whether to reverse the order of the messages\n\nReturns:\n list[schemas.Message]: List of Message objects\n\nRaises:\n HTTPException: If the session is not found", "operationId": "get_messages_apps__app_id__users__user_id__sessions__session_id__messages_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1095,13 +1668,32 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n // Automatically fetches more pages as needed.\n for await (const message of honcho.apps.users.sessions.messages.list(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n )) {\n console.log(message.id);\n }\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\npage = client.apps.users.sessions.messages.list(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nmessage = page.items[0]\nprint(message.id)" + } + ] } }, - "/apps/{app_id}/users/{user_id}sessions/{session_id}/messages/{message_id}": { + "/apps/{app_id}/users/{user_id}/sessions/{session_id}/messages/{message_id}": { "get": { + "tags": [ + "messages" + ], "summary": "Get Message", - "operationId": "get_message_apps__app_id__users__user_id_sessions__session_id__messages__message_id__get", + "operationId": "get_message_apps__app_id__users__user_id__sessions__session_id__messages__message_id__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1165,12 +1757,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const message = await honcho.apps.users.sessions.messages.get(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(message.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nmessage = client.apps.users.sessions.messages.get(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n session_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(message.id)" + } + ] }, "put": { + "tags": [ + "messages" + ], "summary": "Update Message", "description": "Update's the metadata of a message", - "operationId": "update_message_apps__app_id__users__user_id_sessions__session_id__messages__message_id__put", + "operationId": "update_message_apps__app_id__users__user_id__sessions__session_id__messages__message_id__put", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1244,14 +1855,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const message = await honcho.apps.users.sessions.messages.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(message.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nmessage = client.apps.users.sessions.messages.update(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n session_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(message.id)" + } + ] } }, "/apps/{app_id}/users/{user_id}/sessions/{session_id}/metamessages": { "post": { + "tags": [ + "messages" + ], "summary": "Create Metamessage", "description": "Adds a message to a session\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n session_id (int): The ID of the Session to add the message to\n message (schemas.MessageCreate): The Message object to add containing the\n message content and type\n\nReturns:\n schemas.Message: The Message object of the added message\n\nRaises:\n HTTPException: If the session is not found", "operationId": "create_metamessage_apps__app_id__users__user_id__sessions__session_id__metamessages_post", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1315,12 +1945,31 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const metamessage = await honcho.apps.users.sessions.metamessages.create(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { content: 'string', message_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', metamessage_type: 'string' },\n );\n\n console.log(metamessage.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nmetamessage = client.apps.users.sessions.metamessages.create(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n content=\"string\",\n message_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n metamessage_type=\"string\",\n)\nprint(metamessage.id)" + } + ] }, "get": { + "tags": [ + "messages" + ], "summary": "Get Metamessages", "description": "Get all messages for a session\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n session_id (int): The ID of the Session to retrieve\n reverse (bool): Whether to reverse the order of the metamessages\n\nReturns:\n list[schemas.Message]: List of Message objects\n\nRaises:\n HTTPException: If the session is not found", "operationId": "get_metamessages_apps__app_id__users__user_id__sessions__session_id__metamessages_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1467,14 +2116,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n // Automatically fetches more pages as needed.\n for await (const metamessage of honcho.apps.users.sessions.metamessages.list(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n )) {\n console.log(metamessage.id);\n }\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\npage = client.apps.users.sessions.metamessages.list(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nmetamessage = page.items[0]\nprint(metamessage.id)" + } + ] } }, "/apps/{app_id}/users/{user_id}/sessions/{session_id}/metamessages/{metamessage_id}": { "get": { + "tags": [ + "messages" + ], "summary": "Get Metamessage", "description": "Get a specific Metamessage by ID\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client application using\n honcho\n user_id (str): The User ID representing the user, managed by the user\n session_id (int): The ID of the Session to retrieve\n\nReturns:\n schemas.Session: The Session object of the requested Session\n\nRaises:\n HTTPException: If the session is not found", "operationId": "get_metamessage_apps__app_id__users__user_id__sessions__session_id__metamessages__metamessage_id__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1548,14 +2216,31 @@ } } } - } - } - }, - "/apps/{app_id}/users/{user_id}sessions/{session_id}/metamessages/{metamessage_id}": { + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const metamessage = await honcho.apps.users.sessions.metamessages.get(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { message_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },\n );\n\n console.log(metamessage.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nmetamessage = client.apps.users.sessions.metamessages.get(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n session_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n message_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(metamessage.id)" + } + ] + }, "put": { + "tags": [ + "messages" + ], "summary": "Update Metamessage", "description": "Update's the metadata of a metamessage", - "operationId": "update_metamessage_apps__app_id__users__user_id_sessions__session_id__metamessages__metamessage_id__put", + "operationId": "update_metamessage_apps__app_id__users__user_id__sessions__session_id__metamessages__metamessage_id__put", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1629,14 +2314,33 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const metamessage = await honcho.apps.users.sessions.metamessages.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { message_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },\n );\n\n console.log(metamessage.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\nmetamessage = client.apps.users.sessions.metamessages.update(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n session_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n message_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(metamessage.id)" + } + ] } }, "/apps/{app_id}/users/{user_id}/collections": { "get": { + "tags": [ + "collections" + ], "summary": "Get Collections", "description": "Get All Collections for a User\n\nArgs:\n app_id (uuid.UUID): The ID of the app representing the client\n application using honcho\n user_id (uuid.UUID): The User ID representing the user, managed by the user\n\nReturns:\n list[schemas.Collection]: List of Collection objects", "operationId": "get_collections_apps__app_id__users__user_id__collections_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1740,11 +2444,30 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n // Automatically fetches more pages as needed.\n for await (const collection of honcho.apps.users.collections.list(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n )) {\n console.log(collection.id);\n }\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\npage = client.apps.users.collections.list(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\ncollection = page.items[0]\nprint(collection.id)" + } + ] }, "post": { + "tags": [ + "collections" + ], "summary": "Create Collection", "operationId": "create_collection_apps__app_id__users__user_id__collections_post", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1798,13 +2521,32 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const collection = await honcho.apps.users.collections.create(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { name: 'string' },\n );\n\n console.log(collection.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ncollection = client.apps.users.collections.create(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n name=\"string\",\n)\nprint(collection.id)" + } + ] } }, - "/apps/{app_id}/users/{user_id}/collections/{name}": { + "/apps/{app_id}/users/{user_id}/collections/name/{name}": { "get": { + "tags": [ + "collections" + ], "summary": "Get Collection By Name", - "operationId": "get_collection_by_name_apps__app_id__users__user_id__collections__name__get", + "operationId": "get_collection_by_name_apps__app_id__users__user_id__collections_name__name__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1857,13 +2599,109 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const collection = await honcho.apps.users.collections.getByName(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n 'string',\n );\n\n console.log(collection.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ncollection = client.apps.users.collections.get_by_name(\n \"string\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(collection.id)" + } + ] } }, "/apps/{app_id}/users/{user_id}/collections/{collection_id}": { + "get": { + "tags": [ + "collections" + ], + "summary": "Get Collection By Id", + "operationId": "get_collection_by_id_apps__app_id__users__user_id__collections__collection_id__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], + "parameters": [ + { + "name": "app_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "App Id" + } + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "User Id" + } + }, + { + "name": "collection_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Collection Id" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collection" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const collection = await honcho.apps.users.collections.get(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(collection.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ncollection = client.apps.users.collections.get(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(collection.id)" + } + ] + }, "put": { + "tags": [ + "collections" + ], "summary": "Update Collection", "operationId": "update_collection_apps__app_id__users__user_id__collections__collection_id__put", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1927,11 +2765,30 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const collection = await honcho.apps.users.collections.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { name: 'string' },\n );\n\n console.log(collection.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ncollection = client.apps.users.collections.update(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n name=\"string\",\n)\nprint(collection.id)" + } + ] }, "delete": { + "tags": [ + "collections" + ], "summary": "Delete Collection", "operationId": "delete_collection_apps__app_id__users__user_id__collections__collection_id__delete", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -1983,13 +2840,32 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const collectionDeleteResponse = await honcho.apps.users.collections.delete(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(collectionDeleteResponse);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ncollection = client.apps.users.collections.delete(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(collection)" + } + ] } }, "/apps/{app_id}/users/{user_id}/collections/{collection_id}/documents": { "get": { + "tags": [ + "documents" + ], "summary": "Get Documents", "operationId": "get_documents_apps__app_id__users__user_id__collections__collection_id__documents_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -2103,11 +2979,30 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n // Automatically fetches more pages as needed.\n for await (const document of honcho.apps.users.collections.documents.list(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n )) {\n console.log(document.id);\n }\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\npage = client.apps.users.collections.documents.list(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\ndocument = page.items[0]\nprint(document.id)" + } + ] }, "post": { + "tags": [ + "documents" + ], "summary": "Create Document", "operationId": "create_document_apps__app_id__users__user_id__collections__collection_id__documents_post", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -2171,13 +3066,32 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const document = await honcho.apps.users.collections.documents.create(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { content: 'string' },\n );\n\n console.log(document.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ndocument = client.apps.users.collections.documents.create(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n content=\"string\",\n)\nprint(document.id)" + } + ] } }, - "/apps/{app_id}/users/{user_id}/collections/{collection_id}/query": { + "/apps/{app_id}/users/{user_id}/collections/{collection_id}/documents/{document_id}": { "get": { - "summary": "Query Documents", - "operationId": "query_documents_apps__app_id__users__user_id__collections__collection_id__query_get", + "tags": [ + "documents" + ], + "summary": "Get Document", + "operationId": "get_document_apps__app_id__users__user_id__collections__collection_id__documents__document_id__get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -2210,38 +3124,13 @@ } }, { - "name": "query", - "in": "query", + "name": "document_id", + "in": "path", "required": true, "schema": { "type": "string", - "title": "Query" - } - }, - { - "name": "top_k", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "default": 5, - "title": "Top K" - } - }, - { - "name": "filter", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Filter" + "format": "uuid", + "title": "Document Id" } } ], @@ -2251,11 +3140,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Document" - }, - "title": "Response Query Documents Apps App Id Users User Id Collections Collection Id Query Get" + "$ref": "#/components/schemas/Document" } } } @@ -2270,13 +3155,30 @@ } } } - } - } - }, - "/apps/{app_id}/users/{user_id}/collections/{collection_id}/documents/{document_id}": { + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const document = await honcho.apps.users.collections.documents.get(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(document.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ndocument = client.apps.users.collections.documents.get(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n collection_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(document.id)" + } + ] + }, "put": { + "tags": [ + "documents" + ], "summary": "Update Document", "operationId": "update_document_apps__app_id__users__user_id__collections__collection_id__documents__document_id__put", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -2350,11 +3252,30 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const document = await honcho.apps.users.collections.documents.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(document.id);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ndocument = client.apps.users.collections.documents.update(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n collection_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(document.id)" + } + ] }, "delete": { + "tags": [ + "documents" + ], "summary": "Delete Document", "operationId": "delete_document_apps__app_id__users__user_id__collections__collection_id__documents__document_id__delete", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -2416,13 +3337,32 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const documentDeleteResponse = await honcho.apps.users.collections.documents.delete(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n );\n\n console.log(documentDeleteResponse);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ndocument = client.apps.users.collections.documents.delete(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n collection_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n)\nprint(document)" + } + ] } }, - "/apps/{app_id}/users/{user_id}/sessions/{session_id}/chat": { + "/apps/{app_id}/users/{user_id}/collections/{collection_id}/query": { "get": { - "summary": "Get Chat", - "operationId": "get_chat_apps__app_id__users__user_id__sessions__session_id__chat_get", + "tags": [ + "documents" + ], + "summary": "Query Documents", + "operationId": "query_documents_apps__app_id__users__user_id__collections__collection_id__query_get", + "security": [ + { + "HTTPBearer": [] + }, + {} + ], "parameters": [ { "name": "app_id", @@ -2445,13 +3385,13 @@ } }, { - "name": "session_id", + "name": "collection_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid", - "title": "Session Id" + "title": "Collection Id" } }, { @@ -2462,6 +3402,32 @@ "type": "string", "title": "Query" } + }, + { + "name": "top_k", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "default": 5, + "title": "Top K" + } + }, + { + "name": "filter", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Filter" + } } ], "responses": { @@ -2470,7 +3436,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentChat" + "type": "array", + "items": { + "$ref": "#/components/schemas/Document" + }, + "title": "Response Query Documents Apps App Id Users User Id Collections Collection Id Query Get" } } } @@ -2485,7 +3455,17 @@ } } } - } + }, + "x-codeSamples": [ + { + "lang": "JavaScript", + "source": "import Honcho from 'honcho-ai';\n\nconst honcho = new Honcho({\n apiKey: process.env['HONCHO_AUTH_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n const collectionQueryResponse = await honcho.apps.users.collections.query(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { query: 'string' },\n );\n\n console.log(collectionQueryResponse);\n}\n\nmain();" + }, + { + "lang": "Python", + "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n # This is the default and can be omitted\n api_key=os.environ.get(\"HONCHO_AUTH_TOKEN\"),\n)\ncollection = client.apps.users.collections.query(\n \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n app_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n user_id=\"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n query=\"string\",\n)\nprint(collection)" + } + ] } } }, @@ -2515,10 +3495,6 @@ "type": "string", "title": "Name" }, - "h_metadata": { - "type": "object", - "title": "H Metadata" - }, "metadata": { "type": "object", "title": "Metadata" @@ -2533,11 +3509,13 @@ "required": [ "id", "name", - "h_metadata", "metadata", "created_at" ], - "title": "App" + "title": "App", + "exclude": [ + "h_metadata" + ] }, "AppCreate": { "properties": { @@ -2608,10 +3586,6 @@ "format": "uuid", "title": "User Id" }, - "h_metadata": { - "type": "object", - "title": "H Metadata" - }, "metadata": { "type": "object", "title": "Metadata" @@ -2627,11 +3601,13 @@ "id", "name", "user_id", - "h_metadata", "metadata", "created_at" ], - "title": "Collection" + "title": "Collection", + "exclude": [ + "h_metadata" + ] }, "CollectionCreate": { "properties": { @@ -2693,10 +3669,6 @@ "format": "uuid", "title": "Id" }, - "h_metadata": { - "type": "object", - "title": "H Metadata" - }, "metadata": { "type": "object", "title": "Metadata" @@ -2716,12 +3688,14 @@ "required": [ "content", "id", - "h_metadata", "metadata", "created_at", "collection_id" ], - "title": "Document" + "title": "Document", + "exclude": [ + "h_metadata" + ] }, "DocumentCreate": { "properties": { @@ -2809,10 +3783,6 @@ "format": "uuid", "title": "Id" }, - "h_metadata": { - "type": "object", - "title": "H Metadata" - }, "metadata": { "type": "object", "title": "Metadata" @@ -2829,11 +3799,13 @@ "is_user", "session_id", "id", - "h_metadata", "metadata", "created_at" ], - "title": "Message" + "title": "Message", + "exclude": [ + "h_metadata" + ] }, "MessageCreate": { "properties": { @@ -2902,10 +3874,6 @@ "format": "uuid", "title": "Message Id" }, - "h_metadata": { - "type": "object", - "title": "H Metadata" - }, "metadata": { "type": "object", "title": "Metadata" @@ -2922,11 +3890,13 @@ "content", "id", "message_id", - "h_metadata", "metadata", "created_at" ], - "title": "Metamessage" + "title": "Metamessage", + "exclude": [ + "h_metadata" + ] }, "MetamessageCreate": { "properties": { @@ -3010,51 +3980,23 @@ "title": "Items" }, "total": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Total" }, "page": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Page" }, "size": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Size" }, "pages": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Pages" } }, @@ -3077,51 +4019,23 @@ "title": "Items" }, "total": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Total" }, "page": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Page" }, "size": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Size" }, "pages": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Pages" } }, @@ -3144,51 +4058,23 @@ "title": "Items" }, "total": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Total" }, "page": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Page" }, "size": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Size" }, "pages": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Pages" } }, @@ -3211,51 +4097,23 @@ "title": "Items" }, "total": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Total" }, "page": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Page" }, "size": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Size" }, "pages": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Pages" } }, @@ -3278,51 +4136,23 @@ "title": "Items" }, "total": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Total" }, "page": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Page" }, "size": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Size" }, "pages": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Pages" } }, @@ -3345,51 +4175,23 @@ "title": "Items" }, "total": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Total" }, "page": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Page" }, "size": { - "anyOf": [ - { - "type": "integer", - "minimum": 1.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 1, "title": "Size" }, "pages": { - "anyOf": [ - { - "type": "integer", - "minimum": 0.0 - }, - { - "type": "null" - } - ], + "type": "integer", + "minimum": 0, "title": "Pages" } }, @@ -3422,10 +4224,6 @@ "type": "string", "title": "Location Id" }, - "h_metadata": { - "type": "object", - "title": "H Metadata" - }, "metadata": { "type": "object", "title": "Metadata" @@ -3442,11 +4240,13 @@ "is_active", "user_id", "location_id", - "h_metadata", "metadata", "created_at" ], - "title": "Session" + "title": "Session", + "exclude": [ + "h_metadata" + ] }, "SessionCreate": { "properties": { @@ -3497,6 +4297,10 @@ "format": "uuid", "title": "Id" }, + "name": { + "type": "string", + "title": "Name" + }, "app_id": { "type": "string", "format": "uuid", @@ -3507,10 +4311,6 @@ "format": "date-time", "title": "Created At" }, - "h_metadata": { - "type": "object", - "title": "H Metadata" - }, "metadata": { "type": "object", "title": "Metadata" @@ -3519,12 +4319,15 @@ "type": "object", "required": [ "id", + "name", "app_id", "created_at", - "h_metadata", "metadata" ], - "title": "User" + "title": "User", + "exclude": [ + "h_metadata" + ] }, "UserCreate": { "properties": { @@ -3612,6 +4415,12 @@ ], "title": "ValidationError" } + }, + "securitySchemes": { + "HTTPBearer": { + "type": "http", + "scheme": "bearer" + } } } -} \ No newline at end of file +} diff --git a/docs/package-lock.json b/docs/package-lock.json index eba52aa..7296b9e 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -66,19 +66,19 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz", + "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.24.2", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz", - "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz", + "integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==", "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.5", "chalk": "^2.4.2", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" @@ -133,18 +133,18 @@ } }, "node_modules/@emnapi/runtime": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-0.45.0.tgz", - "integrity": "sha512-Txumi3td7J4A/xTTwlssKieHKTGl3j4A1tglBx72auZ49YK7ePY6XZricgIg9mnZT4xPfA+UPCUdnhRuEFDL+w==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.1.1.tgz", + "integrity": "sha512-3bfqkzuR1KLx57nZfjr2NLnFOobvyS0aTszaEGCGqmYMVDRaGvgIZbjGSV/MHSSmLgQ/b9JFHQ5xm5WRZYd+XQ==", "optional": true, "dependencies": { "tslib": "^2.4.0" } }, "node_modules/@img/sharp-darwin-arm64": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.2.tgz", - "integrity": "sha512-itHBs1rPmsmGF9p4qRe++CzCgd+kFYktnsoR1sbIAfsRMrJZau0Tt1AH9KVnufc2/tU02Gf6Ibujx+15qRE03w==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.3.tgz", + "integrity": "sha512-FaNiGX1MrOuJ3hxuNzWgsT/mg5OHG/Izh59WW2mk1UwYHUwtfbhk5QNKYZgxf0pLOhx9ctGiGa2OykD71vOnSw==", "cpu": [ "arm64" ], @@ -163,13 +163,13 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-darwin-arm64": "1.0.1" + "@img/sharp-libvips-darwin-arm64": "1.0.2" } }, "node_modules/@img/sharp-darwin-x64": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.2.tgz", - "integrity": "sha512-/rK/69Rrp9x5kaWBjVN07KixZanRr+W1OiyKdXcbjQD6KbW+obaTeBBtLUAtbBsnlTTmWthw99xqoOS7SsySDg==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.3.tgz", + "integrity": "sha512-2QeSl7QDK9ru//YBT4sQkoq7L0EAJZA3rtV+v9p8xTKl4U1bUqTIaCnoC7Ctx2kCjQgwFXDasOtPTCT8eCTXvw==", "cpu": [ "x64" ], @@ -188,13 +188,13 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-darwin-x64": "1.0.1" + "@img/sharp-libvips-darwin-x64": "1.0.2" } }, "node_modules/@img/sharp-libvips-darwin-arm64": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.1.tgz", - "integrity": "sha512-kQyrSNd6lmBV7O0BUiyu/OEw9yeNGFbQhbxswS1i6rMDwBBSX+e+rPzu3S+MwAiGU3HdLze3PanQ4Xkfemgzcw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.2.tgz", + "integrity": "sha512-tcK/41Rq8IKlSaKRCCAuuY3lDJjQnYIW1UXU1kxcEKrfL8WR7N6+rzNoOxoQRJWTAECuKwgAHnPvqXGN8XfkHA==", "cpu": [ "arm64" ], @@ -213,9 +213,9 @@ } }, "node_modules/@img/sharp-libvips-darwin-x64": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.1.tgz", - "integrity": "sha512-eVU/JYLPVjhhrd8Tk6gosl5pVlvsqiFlt50wotCvdkFGf+mDNBJxMh+bvav+Wt3EBnNZWq8Sp2I7XfSjm8siog==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.2.tgz", + "integrity": "sha512-Ofw+7oaWa0HiiMiKWqqaZbaYV3/UGL2wAPeLuJTx+9cXpCRdvQhCLG0IH8YGwM0yGWGLpsF4Su9vM1o6aer+Fw==", "cpu": [ "x64" ], @@ -234,9 +234,9 @@ } }, "node_modules/@img/sharp-libvips-linux-arm": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.1.tgz", - "integrity": "sha512-FtdMvR4R99FTsD53IA3LxYGghQ82t3yt0ZQ93WMZ2xV3dqrb0E8zq4VHaTOuLEAuA83oDawHV3fd+BsAPadHIQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.2.tgz", + "integrity": "sha512-iLWCvrKgeFoglQxdEwzu1eQV04o8YeYGFXtfWU26Zr2wWT3q3MTzC+QTCO3ZQfWd3doKHT4Pm2kRmLbupT+sZw==", "cpu": [ "arm" ], @@ -255,9 +255,9 @@ } }, "node_modules/@img/sharp-libvips-linux-arm64": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.1.tgz", - "integrity": "sha512-bnGG+MJjdX70mAQcSLxgeJco11G+MxTz+ebxlz8Y3dxyeb3Nkl7LgLI0mXupoO+u1wRNx/iRj5yHtzA4sde1yA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.2.tgz", + "integrity": "sha512-x7kCt3N00ofFmmkkdshwj3vGPCnmiDh7Gwnd4nUwZln2YjqPxV1NlTyZOvoDWdKQVDL911487HOueBvrpflagw==", "cpu": [ "arm64" ], @@ -276,9 +276,9 @@ } }, "node_modules/@img/sharp-libvips-linux-s390x": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.1.tgz", - "integrity": "sha512-3+rzfAR1YpMOeA2zZNp+aYEzGNWK4zF3+sdMxuCS3ey9HhDbJ66w6hDSHDMoap32DueFwhhs3vwooAB2MaK4XQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.2.tgz", + "integrity": "sha512-cmhQ1J4qVhfmS6szYW7RT+gLJq9dH2i4maq+qyXayUSn9/3iY2ZeWpbAgSpSVbV2E1JUL2Gg7pwnYQ1h8rQIog==", "cpu": [ "s390x" ], @@ -297,9 +297,9 @@ } }, "node_modules/@img/sharp-libvips-linux-x64": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.1.tgz", - "integrity": "sha512-3NR1mxFsaSgMMzz1bAnnKbSAI+lHXVTqAHgc1bgzjHuXjo4hlscpUxc0vFSAPKI3yuzdzcZOkq7nDPrP2F8Jgw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.2.tgz", + "integrity": "sha512-E441q4Qdb+7yuyiADVi5J+44x8ctlrqn8XgkDTwr4qPJzWkaHwD489iZ4nGDgcuya4iMN3ULV6NwbhRZJ9Z7SQ==", "cpu": [ "x64" ], @@ -318,9 +318,9 @@ } }, "node_modules/@img/sharp-libvips-linuxmusl-arm64": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.1.tgz", - "integrity": "sha512-5aBRcjHDG/T6jwC3Edl3lP8nl9U2Yo8+oTl5drd1dh9Z1EBfzUKAJFUDTDisDjUwc7N4AjnPGfCA3jl3hY8uDg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.2.tgz", + "integrity": "sha512-3CAkndNpYUrlDqkCM5qhksfE+qSIREVpyoeHIU6jd48SJZViAmznoQQLAv4hVXF7xyUB9zf+G++e2v1ABjCbEQ==", "cpu": [ "arm64" ], @@ -339,9 +339,9 @@ } }, "node_modules/@img/sharp-libvips-linuxmusl-x64": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.1.tgz", - "integrity": "sha512-dcT7inI9DBFK6ovfeWRe3hG30h51cBAP5JXlZfx6pzc/Mnf9HFCQDLtYf4MCBjxaaTfjCCjkBxcy3XzOAo5txw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.2.tgz", + "integrity": "sha512-VI94Q6khIHqHWNOh6LLdm9s2Ry4zdjWJwH56WoiJU7NTeDwyApdZZ8c+SADC8OH98KWNQXnE01UdJ9CSfZvwZw==", "cpu": [ "x64" ], @@ -360,9 +360,9 @@ } }, "node_modules/@img/sharp-linux-arm": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.2.tgz", - "integrity": "sha512-Fndk/4Zq3vAc4G/qyfXASbS3HBZbKrlnKZLEJzPLrXoJuipFNNwTes71+Ki1hwYW5lch26niRYoZFAtZVf3EGA==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.3.tgz", + "integrity": "sha512-Q7Ee3fFSC9P7vUSqVEF0zccJsZ8GiiCJYGWDdhEjdlOeS9/jdkyJ6sUSPj+bL8VuOYFSbofrW0t/86ceVhx32w==", "cpu": [ "arm" ], @@ -381,13 +381,13 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-arm": "1.0.1" + "@img/sharp-libvips-linux-arm": "1.0.2" } }, "node_modules/@img/sharp-linux-arm64": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.2.tgz", - "integrity": "sha512-pz0NNo882vVfqJ0yNInuG9YH71smP4gRSdeL09ukC2YLE6ZyZePAlWKEHgAzJGTiOh8Qkaov6mMIMlEhmLdKew==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.3.tgz", + "integrity": "sha512-Zf+sF1jHZJKA6Gor9hoYG2ljr4wo9cY4twaxgFDvlG0Xz9V7sinsPp8pFd1XtlhTzYo0IhDbl3rK7P6MzHpnYA==", "cpu": [ "arm64" ], @@ -406,13 +406,13 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-arm64": "1.0.1" + "@img/sharp-libvips-linux-arm64": "1.0.2" } }, "node_modules/@img/sharp-linux-s390x": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.2.tgz", - "integrity": "sha512-MBoInDXDppMfhSzbMmOQtGfloVAflS2rP1qPcUIiITMi36Mm5YR7r0ASND99razjQUpHTzjrU1flO76hKvP5RA==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.3.tgz", + "integrity": "sha512-vFk441DKRFepjhTEH20oBlFrHcLjPfI8B0pMIxGm3+yilKyYeHEVvrZhYFdqIseSclIqbQ3SnZMwEMWonY5XFA==", "cpu": [ "s390x" ], @@ -431,13 +431,13 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-s390x": "1.0.1" + "@img/sharp-libvips-linux-s390x": "1.0.2" } }, "node_modules/@img/sharp-linux-x64": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.2.tgz", - "integrity": "sha512-xUT82H5IbXewKkeF5aiooajoO1tQV4PnKfS/OZtb5DDdxS/FCI/uXTVZ35GQ97RZXsycojz/AJ0asoz6p2/H/A==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.3.tgz", + "integrity": "sha512-Q4I++herIJxJi+qmbySd072oDPRkCg/SClLEIDh5IL9h1zjhqjv82H0Seupd+q2m0yOfD+/fJnjSoDFtKiHu2g==", "cpu": [ "x64" ], @@ -456,13 +456,13 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-x64": "1.0.1" + "@img/sharp-libvips-linux-x64": "1.0.2" } }, "node_modules/@img/sharp-linuxmusl-arm64": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.2.tgz", - "integrity": "sha512-F+0z8JCu/UnMzg8IYW1TMeiViIWBVg7IWP6nE0p5S5EPQxlLd76c8jYemG21X99UzFwgkRo5yz2DS+zbrnxZeA==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.3.tgz", + "integrity": "sha512-qnDccehRDXadhM9PM5hLvcPRYqyFCBN31kq+ErBSZtZlsAc1U4Z85xf/RXv1qolkdu+ibw64fUDaRdktxTNP9A==", "cpu": [ "arm64" ], @@ -481,13 +481,13 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-arm64": "1.0.1" + "@img/sharp-libvips-linuxmusl-arm64": "1.0.2" } }, "node_modules/@img/sharp-linuxmusl-x64": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.2.tgz", - "integrity": "sha512-+ZLE3SQmSL+Fn1gmSaM8uFusW5Y3J9VOf+wMGNnTtJUMUxFhv+P4UPaYEYT8tqnyYVaOVGgMN/zsOxn9pSsO2A==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.3.tgz", + "integrity": "sha512-Jhchim8kHWIU/GZ+9poHMWRcefeaxFIs9EBqf9KtcC14Ojk6qua7ghKiPs0sbeLbLj/2IGBtDcxHyjCdYWkk2w==", "cpu": [ "x64" ], @@ -506,19 +506,19 @@ "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-x64": "1.0.1" + "@img/sharp-libvips-linuxmusl-x64": "1.0.2" } }, "node_modules/@img/sharp-wasm32": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.2.tgz", - "integrity": "sha512-fLbTaESVKuQcpm8ffgBD7jLb/CQLcATju/jxtTXR1XCLwbOQt+OL5zPHSDMmp2JZIeq82e18yE0Vv7zh6+6BfQ==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.3.tgz", + "integrity": "sha512-68zivsdJ0koE96stdUfM+gmyaK/NcoSZK5dV5CAjES0FUXS9lchYt8LAB5rTbM7nlWtxaU/2GON0HVN6/ZYJAQ==", "cpu": [ "wasm32" ], "optional": true, "dependencies": { - "@emnapi/runtime": "^0.45.0" + "@emnapi/runtime": "^1.1.0" }, "engines": { "node": "^18.17.0 || ^20.3.0 || >=21.0.0", @@ -531,9 +531,9 @@ } }, "node_modules/@img/sharp-win32-ia32": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.2.tgz", - "integrity": "sha512-okBpql96hIGuZ4lN3+nsAjGeggxKm7hIRu9zyec0lnfB8E7Z6p95BuRZzDDXZOl2e8UmR4RhYt631i7mfmKU8g==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.3.tgz", + "integrity": "sha512-CyimAduT2whQD8ER4Ux7exKrtfoaUiVr7HG0zZvO0XTFn2idUWljjxv58GxNTkFb8/J9Ub9AqITGkJD6ZginxQ==", "cpu": [ "ia32" ], @@ -552,9 +552,9 @@ } }, "node_modules/@img/sharp-win32-x64": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.2.tgz", - "integrity": "sha512-E4magOks77DK47FwHUIGH0RYWSgRBfGdK56kIHSVeB9uIS4pPFr4N2kIVsXdQQo4LzOsENKV5KAhRlRL7eMAdg==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.3.tgz", + "integrity": "sha512-viT4fUIDKnli3IfOephGnolMzhz5VaTvDRkYqtZxOMIoMQ4MrAziO7pT1nVnOt2FAm7qW5aa+CCc13aEY6Le0g==", "cpu": [ "x64" ], @@ -578,9 +578,9 @@ "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" }, "node_modules/@leichtgewicht/ip-codec": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", - "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", + "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==" }, "node_modules/@mdx-js/mdx": { "version": "2.3.0", @@ -658,16 +658,16 @@ } }, "node_modules/@mintlify/cli": { - "version": "4.0.132", - "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.0.132.tgz", - "integrity": "sha512-xMpMuUPWJpX2SX7lOPErjBhmqn86d6LOubY+26jGGDZoJPCsbI+lZUUllVxOGNU4kKPrLDR1a4NMncKWqtNoRg==", + "version": "4.0.157", + "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.0.157.tgz", + "integrity": "sha512-794gTIzvEmYYgsJTwuekG82FyItocSyzuXTgohBaDQMFxSUPoQ8V2QSvYXJUDL9yOUvNEuvPhbG8DKwOVmPFZQ==", "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", - "@mintlify/link-rot": "3.0.143", - "@mintlify/models": "0.0.71", - "@mintlify/prebuild": "1.0.143", - "@mintlify/previewing": "4.0.129", - "@mintlify/validation": "0.1.128", + "@mintlify/link-rot": "3.0.165", + "@mintlify/models": "0.0.87", + "@mintlify/prebuild": "1.0.165", + "@mintlify/previewing": "4.0.154", + "@mintlify/validation": "0.1.149", "chalk": "^5.2.0", "detect-port": "^1.5.1", "fs-extra": "^11.1.1", @@ -684,14 +684,14 @@ } }, "node_modules/@mintlify/common": { - "version": "1.0.75", - "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.75.tgz", - "integrity": "sha512-UnkMdpkSHOpfoDEWiai8AuzOOAh3quOwuPQf5nK/p9U5YBcJl35zHQl6FU6R+TXiatPVbZlYhx7RbIV4BXk0Jg==", + "version": "1.0.97", + "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.97.tgz", + "integrity": "sha512-jg8aqwxQOfya/MyBwA0v7E2h9xrwlzEhK9owDPFfLJNhw7Zvw3mN2ezGBDpJfnFljiQ0uLUKDvfiXi1qW4gMLw==", "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", "@mintlify/mdx": "0.0.44", - "@mintlify/models": "0.0.71", - "@mintlify/validation": "0.1.128", + "@mintlify/models": "0.0.87", + "@mintlify/validation": "0.1.149", "@sindresorhus/slugify": "^2.1.1", "acorn": "^8.11.2", "acorn-jsx": "^5.3.2", @@ -730,13 +730,13 @@ } }, "node_modules/@mintlify/link-rot": { - "version": "3.0.143", - "resolved": "https://registry.npmjs.org/@mintlify/link-rot/-/link-rot-3.0.143.tgz", - "integrity": "sha512-Yow8zByr9Kr4DjIdRcp6LtJSi61exAj8A/aeMg3uYIHIhWl5aZqAdBGi17XhtIRMXc/AqTqTxG5XjTzHdVoEMg==", + "version": "3.0.165", + "resolved": "https://registry.npmjs.org/@mintlify/link-rot/-/link-rot-3.0.165.tgz", + "integrity": "sha512-ot9UUG2cNl86ygVTStBu9a/R/QchOOCcUjdWZABsXXu3mtVRL/uLoMeADZ8KaqCkNiQXcJx/6XIno1LbBiRGsw==", "dependencies": { "@apidevtools/swagger-parser": "10.x", - "@mintlify/common": "1.0.75", - "@mintlify/prebuild": "1.0.143", + "@mintlify/common": "1.0.97", + "@mintlify/prebuild": "1.0.165", "chalk": "^5.1.0", "fs-extra": "^11.1.0", "gray-matter": "^4.0.3", @@ -764,9 +764,9 @@ } }, "node_modules/@mintlify/models": { - "version": "0.0.71", - "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.71.tgz", - "integrity": "sha512-yQOCjQgpTdy3Y7SC5y5KHJ3WXADwhwj35NnDDVXQgthMkZ/sUjTkG5eiVt0s1pU0IJY5oBDGUQQ8hEEpExlmeg==", + "version": "0.0.87", + "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.87.tgz", + "integrity": "sha512-70nC+xKN9y5OMgqbok9OdEmhtbLj2T9AHCpNwksbFdNmBARiMpVO3TBEqw6o2yi0FpsptYeN6mQNNQD8K8dfdQ==", "dependencies": { "axios": "^1.4.0", "openapi-types": "12.x" @@ -776,13 +776,13 @@ } }, "node_modules/@mintlify/prebuild": { - "version": "1.0.143", - "resolved": "https://registry.npmjs.org/@mintlify/prebuild/-/prebuild-1.0.143.tgz", - "integrity": "sha512-nFV6tsPqPE48dRJJFhyXNQ7lIwLxXYdCkkNLyqpdlYv2uv/sWNT0fu//XCUU0Wjiks86rrg5RLy3sXfwDFksOg==", + "version": "1.0.165", + "resolved": "https://registry.npmjs.org/@mintlify/prebuild/-/prebuild-1.0.165.tgz", + "integrity": "sha512-v8ymRf270UDBAmW0A+jDDT2INiN2Pj4QV7rvqS5KSuLX4F0MU5V1liJZVibMj+3GuJbN4bjQ7a7AWfPWVl4muA==", "dependencies": { "@apidevtools/swagger-parser": "10.x", - "@mintlify/common": "1.0.75", - "@mintlify/validation": "0.1.128", + "@mintlify/common": "1.0.97", + "@mintlify/validation": "0.1.149", "favicons": "^7.0.2", "fs-extra": "^11.1.0", "gray-matter": "^4.0.3", @@ -809,14 +809,14 @@ } }, "node_modules/@mintlify/previewing": { - "version": "4.0.129", - "resolved": "https://registry.npmjs.org/@mintlify/previewing/-/previewing-4.0.129.tgz", - "integrity": "sha512-JpRMHs8Yop5JHkARqBt47MwwxU4bU3m6pufD2cm7evYFUtKXDPVV/kfNFqBb7AuWQP5cMlHgCJNAMDbGNSUp2g==", + "version": "4.0.154", + "resolved": "https://registry.npmjs.org/@mintlify/previewing/-/previewing-4.0.154.tgz", + "integrity": "sha512-4tH1znYXqzmViWwYpvRrclv07UDnjO45L2Zh5jFi9syXkk3Md2PxC7GxFBGvCMhpdou3kkyBSBZQmUvqpJABgg==", "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", - "@mintlify/common": "1.0.75", - "@mintlify/prebuild": "1.0.143", - "@mintlify/validation": "0.1.128", + "@mintlify/common": "1.0.97", + "@mintlify/prebuild": "1.0.165", + "@mintlify/validation": "0.1.149", "@octokit/rest": "^19.0.5", "chalk": "^5.1.0", "chokidar": "^3.5.3", @@ -839,12 +839,12 @@ } }, "node_modules/@mintlify/scraping": { - "version": "3.0.92", - "resolved": "https://registry.npmjs.org/@mintlify/scraping/-/scraping-3.0.92.tgz", - "integrity": "sha512-cg8tSDahcIXpvGr8CBBAC836yJEWofdK8eRJu8rCoA7kTuRYEaYXFMV8RA4UDLY9bPQ4wiOkXvZzocIcEACskg==", + "version": "3.0.113", + "resolved": "https://registry.npmjs.org/@mintlify/scraping/-/scraping-3.0.113.tgz", + "integrity": "sha512-dxZG1r7fEWWz3iK/7NXM6XevDMSl5c80Hz+92kTSYOTTRX1y2w0JsPCfiF9XsoegZsLYv0Nlwtqmde5NDxuIXw==", "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", - "@mintlify/common": "1.0.76", + "@mintlify/common": "1.0.97", "axios": "^1.2.2", "cheerio": "^0.22.0", "fs-extra": "^11.1.1", @@ -860,83 +860,12 @@ "node": ">=18.0.0" } }, - "node_modules/@mintlify/scraping/node_modules/@mintlify/common": { - "version": "1.0.76", - "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.76.tgz", - "integrity": "sha512-aM+E0u5rLKu+6z64eoCKsvnAB0WziBx+wnRStFrbRdTCSt/LpsSbW+bNdz9AJOQADtiQdS39cLFPUVow7IPi7w==", - "dependencies": { - "@apidevtools/swagger-parser": "^10.1.0", - "@mintlify/mdx": "0.0.44", - "@mintlify/models": "0.0.72", - "@mintlify/validation": "0.1.129", - "@sindresorhus/slugify": "^2.1.1", - "acorn": "^8.11.2", - "acorn-jsx": "^5.3.2", - "esast-util-from-js": "^2.0.0", - "estree-util-to-js": "^2.0.0", - "estree-walker": "^3.0.3", - "gray-matter": "^4.0.3", - "hast-util-from-html": "^1.0.0", - "hast-util-from-html-isomorphic": "^2.0.0", - "hast-util-to-html": "^8.0.3", - "hast-util-to-text": "^4.0.0", - "is-absolute-url": "^4.0.1", - "lodash": "^4.17.21", - "mdast": "^3.0.0", - "mdast-util-from-markdown": "^1.2.0", - "mdast-util-gfm": "^2.0.1", - "mdast-util-mdx": "^2.0.0", - "mdast-util-mdx-jsx": "^2.1.2", - "mdast-util-mdxjs-esm": "^1.3.0", - "micromark-extension-mdx-jsx": "^1.0.3", - "micromark-extension-mdxjs": "^1.0.0", - "micromark-extension-mdxjs-esm": "^1.0.0", - "openapi-types": "^12.0.0", - "remark": "^14.0.2", - "remark-frontmatter": "^4.0.1", - "remark-gfm": "^3.0.1", - "remark-math": "^5.1.1", - "remark-mdx": "^2.0.0", - "unist-builder": "^3.0.1", - "unist-util-map": "^3.1.2", - "unist-util-remove": "^3.1.0", - "unist-util-remove-position": "^4.0.0", - "unist-util-visit": "^4.1.1", - "unist-util-visit-parents": "^5.0.0", - "vfile": "^5.3.6" - } - }, - "node_modules/@mintlify/scraping/node_modules/@mintlify/models": { - "version": "0.0.72", - "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.72.tgz", - "integrity": "sha512-nwwC/PT2ieB7eDFzwB8p8j/rm35dmzvaLf2+1bZiuCmgi3xMcx39QY0HH83lgV98YgUzPs4EvBeAmpwdn4mkdQ==", - "dependencies": { - "axios": "^1.4.0", - "openapi-types": "12.x" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@mintlify/scraping/node_modules/@mintlify/validation": { - "version": "0.1.129", - "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.129.tgz", - "integrity": "sha512-xJ/G9rt0ryDwtRfcWuvkIeqHyfKdin/LEri/mRyS+caY/qACTWtRQBo/W99E++xPOq+ZRe/xppxmajXsTuU8Pg==", - "dependencies": { - "@mintlify/models": "0.0.72", - "lcm": "^0.0.3", - "lodash": "^4.17.21", - "openapi-types": "12.x", - "zod": "^3.20.6", - "zod-to-json-schema": "^3.20.3" - } - }, "node_modules/@mintlify/validation": { - "version": "0.1.128", - "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.128.tgz", - "integrity": "sha512-fXfsaRWddFs621Hf1NYpm4aFWFypLPrH68WRNqnImqad3dz6bPgtEYoS0q7bxsIb4HsxSdZUHBhdEsOtY9jcZA==", + "version": "0.1.149", + "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.149.tgz", + "integrity": "sha512-donMj1SkbpK5+jDk3cHi/70xv7cyQFkA+VgaJAma4M4Icv4nuaBVoGvkDZe+wNwHEYRtDOkqLIuNqJ37i7kVQQ==", "dependencies": { - "@mintlify/models": "0.0.71", + "@mintlify/models": "0.0.87", "lcm": "^0.0.3", "lodash": "^4.17.21", "openapi-types": "12.x", @@ -1188,9 +1117,9 @@ } }, "node_modules/@socket.io/component-emitter": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", - "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==" + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", + "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==" }, "node_modules/@szmarczak/http-timer": { "version": "5.0.1", @@ -1287,9 +1216,9 @@ "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" }, "node_modules/@types/mdx": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.11.tgz", - "integrity": "sha512-HM5bwOaIQJIQbAYfax35HCKxx7a3KrK3nBtIqJgSOitivTD1y3oW9P3rxY9RkXYPUk7y/AjAohfHKmFpGE79zw==" + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.13.tgz", + "integrity": "sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw==" }, "node_modules/@types/ms": { "version": "0.7.34", @@ -1310,9 +1239,9 @@ "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" }, "node_modules/@types/node": { - "version": "20.11.30", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.30.tgz", - "integrity": "sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==", + "version": "20.12.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.11.tgz", + "integrity": "sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==", "dependencies": { "undici-types": "~5.26.4" } @@ -1323,30 +1252,24 @@ "integrity": "sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==" }, "node_modules/@types/prismjs": { - "version": "1.26.3", - "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.3.tgz", - "integrity": "sha512-A0D0aTXvjlqJ5ZILMz3rNfDBOx9hHxLZYv2by47Sm/pqW35zzjusrZTryatjN/Rf8Us2gZrJD+KeHbUSTux1Cw==" + "version": "1.26.4", + "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.4.tgz", + "integrity": "sha512-rlAnzkW2sZOjbqZ743IHUhFcvzaGbqijwOu8QZnZCjfQzBqFE3s4lOTJEsxikImav9uzz/42I+O7YUs1mWgMlg==" }, "node_modules/@types/prop-types": { - "version": "15.7.11", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", - "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" + "version": "15.7.12", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" }, "node_modules/@types/react": { - "version": "18.2.67", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.67.tgz", - "integrity": "sha512-vkIE2vTIMHQ/xL0rgmuoECBCkZFZeHr49HeWSc24AptMbNRo7pwSBvj73rlJJs9fGKj0koS+V7kQB1jHS0uCgw==", + "version": "18.3.2", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.2.tgz", + "integrity": "sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==", "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, - "node_modules/@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==" - }, "node_modules/@types/unist": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", @@ -1427,14 +1350,14 @@ } }, "node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", + "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", "dependencies": { - "fast-deep-equal": "^3.1.1", + "fast-deep-equal": "^3.1.3", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "uri-js": "^4.4.1" }, "funding": { "type": "github", @@ -1827,11 +1750,6 @@ "node": ">= 0.6" } }, - "node_modules/cheerio/node_modules/entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" - }, "node_modules/chokidar": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", @@ -2038,9 +1956,9 @@ } }, "node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "engines": { "node": ">= 0.6" } @@ -2289,9 +2207,9 @@ } }, "node_modules/detect-port": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.5.1.tgz", - "integrity": "sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ==", + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.6.1.tgz", + "integrity": "sha512-CmnVc+Hek2egPx1PeTFVta2W78xy2K/9Rkf6cC4T59S50tVnzKj+tnx5mmx5lwvCkujZ4uRrpRSuV+IVs3f90Q==", "dependencies": { "address": "^1.0.1", "debug": "4" @@ -2299,6 +2217,9 @@ "bin": { "detect": "bin/detect-port.js", "detect-port": "bin/detect-port.js" + }, + "engines": { + "node": ">= 4.0.0" } }, "node_modules/devlop": { @@ -2357,11 +2278,6 @@ "entities": "^1.1.1" } }, - "node_modules/dom-serializer/node_modules/entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" - }, "node_modules/domelementtype": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", @@ -2446,17 +2362,31 @@ "node": ">= 0.6" } }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", "engines": { - "node": ">=0.12" + "node": ">=10.0.0" }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } } }, + "node_modules/entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -2465,11 +2395,6 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/error-ex/node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" - }, "node_modules/es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", @@ -2634,16 +2559,16 @@ } }, "node_modules/express": { - "version": "4.18.3", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.3.tgz", - "integrity": "sha512-6VyCijWQ+9O7WuVMTRBTl+cjNNIzD5cY5mQ1WM8r/LEkI2u8EYpOotESNwzNlyCn3g+dmjKYI6BmNneSr/FSRw==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -3511,9 +3436,9 @@ } }, "node_modules/hast-util-to-text": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.0.tgz", - "integrity": "sha512-EWiE1FSArNBPUo1cKWtzqgnuRQwEeQbQtnFJRYV1hb1BWDgrAlBU0ExptvZMM/KSA82cDpm2sFGf3Dmc5Mza3w==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", + "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==", "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", @@ -3596,11 +3521,6 @@ "readable-stream": "^3.1.1" } }, - "node_modules/htmlparser2/node_modules/entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" - }, "node_modules/http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", @@ -3761,9 +3681,9 @@ } }, "node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" }, "node_modules/is-binary-path": { "version": "2.1.0", @@ -4029,9 +3949,9 @@ } }, "node_modules/katex": { - "version": "0.16.9", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.9.tgz", - "integrity": "sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==", + "version": "0.16.10", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.10.tgz", + "integrity": "sha512-ZiqaC04tp2O5utMsl2TEZTXxa6WSC4yo0fv5ML++D3QZv/vx2Mct0mTlRx3O+uUkjfuAgOkzsCmq5MiUEsDDdA==", "funding": [ "https://opencollective.com/katex", "https://github.com/sponsors/katex" @@ -4192,17 +4112,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "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/markdown-extensions": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-1.1.1.tgz", @@ -5492,11 +5401,11 @@ } }, "node_modules/mintlify": { - "version": "4.0.132", - "resolved": "https://registry.npmjs.org/mintlify/-/mintlify-4.0.132.tgz", - "integrity": "sha512-aT4HjfHAd6BE4MsdFfHzgu/e64OkVJaZnIrLqJNOHAxdjpPXZ539GdLHY7llHvImcBY4IFCFoeGGQzZHTTnOQw==", + "version": "4.0.157", + "resolved": "https://registry.npmjs.org/mintlify/-/mintlify-4.0.157.tgz", + "integrity": "sha512-G55RnbyJBlrhevXpo1EXHW9NZnbHVlqznBTPHvoF1zjLg+tfcmHN8UF7Xdc3R849mJw13qTyKowrKR89pMKpiA==", "dependencies": { - "@mintlify/cli": "4.0.132" + "@mintlify/cli": "4.0.157" }, "bin": { "mintlify": "index.js" @@ -5609,9 +5518,9 @@ } }, "node_modules/node-html-parser": { - "version": "6.1.12", - "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.12.tgz", - "integrity": "sha512-/bT/Ncmv+fbMGX96XG9g05vFt43m/+SYKIs9oAemQVYyVcZmDAI2Xq/SbNcpOA35eF0Zk2av3Ksf+Xk8Vt8abA==", + "version": "6.1.13", + "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.13.tgz", + "integrity": "sha512-qIsTMOY4C/dAa5Q5vsobRpOOvPfC4pB61UVW2uSwZNUp0QU/jCekTal1vMmbO0DgdHeLUJpv/ARmDqErVxA3Sg==", "dependencies": { "css-select": "^5.1.0", "he": "1.2.0" @@ -5694,6 +5603,17 @@ "url": "https://github.com/fb55/domutils?sponsor=1" } }, + "node_modules/node-html-parser/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/node-html-parser/node_modules/nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -5950,6 +5870,17 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parse5/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -6011,9 +5942,9 @@ } }, "node_modules/property-information": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.4.1.tgz", - "integrity": "sha512-OHYtXfu5aI2sS2LWFSN5rgJjrQ4pCy8i1jubJLe2QvMF8JJ++HXTUIVWFLfXJoaOfvYYjk2SN8J2wFUWIGXT4w==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", + "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -6097,7 +6028,7 @@ "version": "19.11.1", "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.11.1.tgz", "integrity": "sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==", - "deprecated": "< 21.5.0 is no longer supported", + "deprecated": "< 21.9.0 is no longer supported", "hasInstallScript": true, "dependencies": { "@puppeteer/browsers": "0.5.0", @@ -6137,26 +6068,6 @@ } } }, - "node_modules/puppeteer-core/node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/qs": { "version": "6.11.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", @@ -6205,9 +6116,9 @@ } }, "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "peer": true, "dependencies": { "loose-envify": "^1.1.0" @@ -6217,16 +6128,16 @@ } }, "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "peer": true, "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }, "node_modules/readable-stream": { @@ -6741,9 +6652,9 @@ "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==" }, "node_modules/scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "peer": true, "dependencies": { "loose-envify": "^1.1.0" @@ -6762,12 +6673,9 @@ } }, "node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dependencies": { - "lru-cache": "^6.0.0" - }, + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "bin": { "semver": "bin/semver.js" }, @@ -6852,42 +6760,42 @@ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, "node_modules/sharp": { - "version": "0.33.2", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.2.tgz", - "integrity": "sha512-WlYOPyyPDiiM07j/UO+E720ju6gtNtHjEGg5vovUk1Lgxyjm2LFO+37Nt/UI3MMh2l6hxTWQWi7qk3cXJTutcQ==", + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.3.tgz", + "integrity": "sha512-vHUeXJU1UvlO/BNwTpT0x/r53WkLUVxrmb5JTgW92fdFCFk0ispLMAeu/jPO2vjkXM1fYUi3K7/qcLF47pwM1A==", "hasInstallScript": true, "dependencies": { "color": "^4.2.3", - "detect-libc": "^2.0.2", - "semver": "^7.5.4" + "detect-libc": "^2.0.3", + "semver": "^7.6.0" }, "engines": { - "libvips": ">=8.15.1", + "libvips": ">=8.15.2", "node": "^18.17.0 || ^20.3.0 || >=21.0.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-darwin-arm64": "0.33.2", - "@img/sharp-darwin-x64": "0.33.2", - "@img/sharp-libvips-darwin-arm64": "1.0.1", - "@img/sharp-libvips-darwin-x64": "1.0.1", - "@img/sharp-libvips-linux-arm": "1.0.1", - "@img/sharp-libvips-linux-arm64": "1.0.1", - "@img/sharp-libvips-linux-s390x": "1.0.1", - "@img/sharp-libvips-linux-x64": "1.0.1", - "@img/sharp-libvips-linuxmusl-arm64": "1.0.1", - "@img/sharp-libvips-linuxmusl-x64": "1.0.1", - "@img/sharp-linux-arm": "0.33.2", - "@img/sharp-linux-arm64": "0.33.2", - "@img/sharp-linux-s390x": "0.33.2", - "@img/sharp-linux-x64": "0.33.2", - "@img/sharp-linuxmusl-arm64": "0.33.2", - "@img/sharp-linuxmusl-x64": "0.33.2", - "@img/sharp-wasm32": "0.33.2", - "@img/sharp-win32-ia32": "0.33.2", - "@img/sharp-win32-x64": "0.33.2" + "@img/sharp-darwin-arm64": "0.33.3", + "@img/sharp-darwin-x64": "0.33.3", + "@img/sharp-libvips-darwin-arm64": "1.0.2", + "@img/sharp-libvips-darwin-x64": "1.0.2", + "@img/sharp-libvips-linux-arm": "1.0.2", + "@img/sharp-libvips-linux-arm64": "1.0.2", + "@img/sharp-libvips-linux-s390x": "1.0.2", + "@img/sharp-libvips-linux-x64": "1.0.2", + "@img/sharp-libvips-linuxmusl-arm64": "1.0.2", + "@img/sharp-libvips-linuxmusl-x64": "1.0.2", + "@img/sharp-linux-arm": "0.33.3", + "@img/sharp-linux-arm64": "0.33.3", + "@img/sharp-linux-s390x": "0.33.3", + "@img/sharp-linux-x64": "0.33.3", + "@img/sharp-linuxmusl-arm64": "0.33.3", + "@img/sharp-linuxmusl-x64": "0.33.3", + "@img/sharp-wasm32": "0.33.3", + "@img/sharp-win32-ia32": "0.33.3", + "@img/sharp-win32-x64": "0.33.3" } }, "node_modules/side-channel": { @@ -6920,6 +6828,11 @@ "is-arrayish": "^0.3.1" } }, + "node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, "node_modules/socket.io": { "version": "4.7.5", "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.5.tgz", @@ -6946,6 +6859,26 @@ "ws": "~8.11.0" } }, + "node_modules/socket.io-adapter/node_modules/ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/socket.io-parser": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", @@ -7043,9 +6976,9 @@ } }, "node_modules/stringify-entities": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.3.tgz", - "integrity": "sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", "dependencies": { "character-entities-html4": "^2.0.0", "character-entities-legacy": "^3.0.0" @@ -7097,9 +7030,9 @@ } }, "node_modules/tar": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz", - "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -7795,15 +7728,15 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7882,19 +7815,19 @@ } }, "node_modules/zod": { - "version": "3.22.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", - "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", "funding": { "url": "https://github.com/sponsors/colinhacks" } }, "node_modules/zod-to-json-schema": { - "version": "3.22.4", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.22.4.tgz", - "integrity": "sha512-2Ed5dJ+n/O3cU383xSY28cuVi0BCQhF8nYqWU5paEpl7fVdqdAmiLdqLyfblbNdfOFwFfi/mqU4O1pwc60iBhQ==", + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.23.0.tgz", + "integrity": "sha512-az0uJ243PxsRIa2x1WmNE/pnuA05gUq/JB8Lwe1EDCCL/Fz9MgjYQ0fPlyc2Tcv6aF2ZA7WM5TWaRZVEFaAIag==", "peerDependencies": { - "zod": "^3.22.4" + "zod": "^3.23.3" } }, "node_modules/zwitch": { diff --git a/docs/package.json b/docs/package.json index 06cb917..2ba96c0 100644 --- a/docs/package.json +++ b/docs/package.json @@ -5,6 +5,7 @@ "main": ".pnp.js", "scripts": { "dev": "mintlify dev", + "openapi": "npx @mintlify/scraping@latest openapi-file openapi.json -o api-reference/endpoint", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "",