diff --git a/package.json b/package.json index a5d7801..0dc030e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@credal/sdk", - "version": "0.0.24", + "version": "0.0.25", "private": false, "repository": "https://github.com/credal-ai/credal-typescript-sdk", "main": "./index.js", diff --git a/src/api/resources/copilots/client/Client.ts b/src/api/resources/copilots/client/Client.ts index 086458e..770728a 100644 --- a/src/api/resources/copilots/client/Client.ts +++ b/src/api/resources/copilots/client/Client.ts @@ -60,8 +60,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -129,8 +129,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -202,8 +202,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -272,8 +272,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -332,8 +332,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -412,8 +412,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -476,8 +476,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -550,8 +550,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -611,8 +611,8 @@ export class Copilots { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.ts b/src/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.ts index 2f5a596..301e18f 100644 --- a/src/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.ts +++ b/src/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.ts @@ -10,14 +10,8 @@ * } */ export interface AddCollectionToCopilotRequest { - /** - * Credal-generated copilot ID to add the collection to. - * - */ + /** Credal-generated copilot ID to add the collection to. */ copilotId: string; - /** - * Credal-generated collection ID to add. - * - */ + /** Credal-generated collection ID to add. */ collectionId: string; } diff --git a/src/api/resources/copilots/client/requests/CreateConversationRequest.ts b/src/api/resources/copilots/client/requests/CreateConversationRequest.ts index 559a0c4..ede252a 100644 --- a/src/api/resources/copilots/client/requests/CreateConversationRequest.ts +++ b/src/api/resources/copilots/client/requests/CreateConversationRequest.ts @@ -10,14 +10,8 @@ * } */ export interface CreateConversationRequest { - /** - * Credal-generated Copilot ID to specify which agent to route the request to. - * - */ + /** Credal-generated Copilot ID to specify which agent to route the request to. */ agentId: string; - /** - * End-user for the conversation. - * - */ + /** End-user for the conversation. */ userEmail: string; } diff --git a/src/api/resources/copilots/client/requests/CreateCopilotRequest.ts b/src/api/resources/copilots/client/requests/CreateCopilotRequest.ts index 09aead8..ba9e132 100644 --- a/src/api/resources/copilots/client/requests/CreateCopilotRequest.ts +++ b/src/api/resources/copilots/client/requests/CreateCopilotRequest.ts @@ -16,19 +16,10 @@ import * as Credal from "../../../../index"; * } */ export interface CreateCopilotRequest { - /** - * A descriptive name for the copilot. - * - */ + /** A descriptive name for the copilot. */ name: string; - /** - * An in depth name for the copilot's function. Useful for routing requests to the right copilot. - * - */ + /** An in depth name for the copilot's function. Useful for routing requests to the right copilot. */ description: string; - /** - * A list of collaborator emails and roles that will have access to the copilot. - * - */ + /** A list of collaborator emails and roles that will have access to the copilot. */ collaborators: Credal.Collaborator[]; } diff --git a/src/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.ts b/src/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.ts index cf907e5..47e7fed 100644 --- a/src/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.ts +++ b/src/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.ts @@ -18,24 +18,12 @@ import * as Credal from "../../../../index"; * } */ export interface ProvideMessageFeedbackRequest { - /** - * Credal-generated Copilot ID to specify which agent to route the request to. - * - */ + /** Credal-generated Copilot ID to specify which agent to route the request to. */ agentId: string; - /** - * The user profile you want to use when providing feedback. - * - */ + /** The user profile you want to use when providing feedback. */ userEmail: string; - /** - * The message ID for which feedback is being provided. - * - */ + /** The message ID for which feedback is being provided. */ messageId: string; - /** - * The feedback provided by the user. - * - */ + /** The feedback provided by the user. */ messageFeedback: Credal.MessageFeedback; } diff --git a/src/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.ts b/src/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.ts index 3be9590..a84d421 100644 --- a/src/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.ts +++ b/src/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.ts @@ -10,14 +10,8 @@ * } */ export interface RemoveCollectionFromCopilotRequest { - /** - * Credal-generated copilot ID to add the collection to. - * - */ + /** Credal-generated copilot ID to add the collection to. */ copilotId: string; - /** - * Credal-generated collection ID to add. - * - */ + /** Credal-generated collection ID to add. */ collectionId: string; } diff --git a/src/api/resources/copilots/client/requests/SendMessageRequest.ts b/src/api/resources/copilots/client/requests/SendMessageRequest.ts index f2c1390..b84f295 100644 --- a/src/api/resources/copilots/client/requests/SendMessageRequest.ts +++ b/src/api/resources/copilots/client/requests/SendMessageRequest.ts @@ -20,29 +20,14 @@ import * as Credal from "../../../../index"; * } */ export interface SendMessageRequest { - /** - * Credal-generated Copilot ID to specify which agent to route the request to. - * - */ + /** Credal-generated Copilot ID to specify which agent to route the request to. */ agentId: string; - /** - * The message you want to send to your copilot. - * - */ + /** The message you want to send to your copilot. */ message: string; - /** - * The user profile you want to use when sending the message. - * - */ + /** The user profile you want to use when sending the message. */ userEmail: string; - /** - * Credal-generated conversation ID for sending follow up messages. Conversation ID is returned after initial message. Optional, to be left off for first messages on new conversations. - * - */ + /** Credal-generated conversation ID for sending follow up messages. Conversation ID is returned after initial message. Optional, to be left off for first messages on new conversations. */ conversationId?: string; - /** - * Optional input variables to be used in the message. Map the name of the variable to a list of urls. - * - */ + /** Optional input variables to be used in the message. Map the name of the variable to a list of urls. */ inputVariables?: Credal.InputVariable[]; } diff --git a/src/api/resources/copilots/client/requests/StreamMessageRequest.ts b/src/api/resources/copilots/client/requests/StreamMessageRequest.ts index 7836a05..27b7830 100644 --- a/src/api/resources/copilots/client/requests/StreamMessageRequest.ts +++ b/src/api/resources/copilots/client/requests/StreamMessageRequest.ts @@ -32,31 +32,30 @@ import * as Credal from "../../../../index"; * ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c25", "82e4b12a-6990-45d4-8ebd-85c00e030c24"] * }] * } + * + * @example + * { + * copilotId: "82e4b12a-6990-45d4-8ebd-85c00e030c25", + * message: "Is Credal SOC 2 compliant?", + * email: "ravin@credal.ai", + * inputVariables: [{ + * name: "input1", + * ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c24"] + * }, { + * name: "input2", + * ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c25", "82e4b12a-6990-45d4-8ebd-85c00e030c26"] + * }] + * } */ export interface StreamMessageRequest { - /** - * Credal-generated Copilot ID to specify which agent to route the request to. - * - */ + /** Credal-generated Copilot ID to specify which agent to route the request to. */ copilotId: string; - /** - * The message you want to send to your copilot. - * - */ + /** The message you want to send to your copilot. */ message: string; - /** - * The user profile you want to use when sending the message. - * - */ + /** The user profile you want to use when sending the message. */ email: string; - /** - * Credal-generated conversation ID for sending follow up messages. Conversation ID is returned after initial message. Optional, to be left off for first messages on new conversations. - * - */ + /** Credal-generated conversation ID for sending follow up messages. Conversation ID is returned after initial message. Optional, to be left off for first messages on new conversations. */ conversationId?: string; - /** - * Optional input variables to be used in the message. Map the name of the variable to a list of urls. - * - */ + /** Optional input variables to be used in the message. Map the name of the variable to a list of urls. */ inputVariables?: Credal.InputVariable[]; } diff --git a/src/api/resources/copilots/client/requests/UpdateConfigurationRequest.ts b/src/api/resources/copilots/client/requests/UpdateConfigurationRequest.ts index 3af34ea..c7247a1 100644 --- a/src/api/resources/copilots/client/requests/UpdateConfigurationRequest.ts +++ b/src/api/resources/copilots/client/requests/UpdateConfigurationRequest.ts @@ -20,10 +20,7 @@ import * as Credal from "../../../../index"; * } */ export interface UpdateConfigurationRequest { - /** - * Credal-generated copilot ID to add the collection to. - * - */ + /** Credal-generated copilot ID to add the collection to. */ copilotId: string; configuration: Credal.Configuration; } diff --git a/src/api/resources/copilots/types/ErrorChunk.ts b/src/api/resources/copilots/types/ErrorChunk.ts new file mode 100644 index 0000000..5d9fd85 --- /dev/null +++ b/src/api/resources/copilots/types/ErrorChunk.ts @@ -0,0 +1,9 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Credal from "../../../index"; + +export interface ErrorChunk { + error: Credal.ErrorChunkData; +} diff --git a/src/api/resources/copilots/types/ErrorChunkData.ts b/src/api/resources/copilots/types/ErrorChunkData.ts new file mode 100644 index 0000000..e1fffaa --- /dev/null +++ b/src/api/resources/copilots/types/ErrorChunkData.ts @@ -0,0 +1,7 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface ErrorChunkData { + message: string; +} diff --git a/src/api/resources/copilots/types/SendMessageResponse.ts b/src/api/resources/copilots/types/SendMessageResponse.ts index 5712189..ee1f00f 100644 --- a/src/api/resources/copilots/types/SendMessageResponse.ts +++ b/src/api/resources/copilots/types/SendMessageResponse.ts @@ -7,13 +7,11 @@ import * as Credal from "../../../index"; export type SendMessageResponse = /** * Returned when there is a reply - * fetched from the copilot. - * */ + * fetched from the copilot. */ | Credal.SendMessageResponse.AiResponseResult /** * Returned when Credal detects possible - * infosec violations and blocks the message. - * */ + * infosec violations and blocks the message. */ | Credal.SendMessageResponse.BlockedResult; export declare namespace SendMessageResponse { diff --git a/src/api/resources/copilots/types/StreamingChunk.ts b/src/api/resources/copilots/types/StreamingChunk.ts index ecb56d0..f0fd7ec 100644 --- a/src/api/resources/copilots/types/StreamingChunk.ts +++ b/src/api/resources/copilots/types/StreamingChunk.ts @@ -9,7 +9,8 @@ export type StreamingChunk = | Credal.StreamingChunk.DataChunk | Credal.StreamingChunk.EndOfMessage | Credal.StreamingChunk.FinalChunk - | Credal.StreamingChunk.Blocked; + | Credal.StreamingChunk.Blocked + | Credal.StreamingChunk.ErrorChunk; export declare namespace StreamingChunk { interface Initial extends Credal.InitialChunk { @@ -31,4 +32,8 @@ export declare namespace StreamingChunk { interface Blocked extends Credal.BlockedChunk { event: "blocked"; } + + interface ErrorChunk extends Credal.ErrorChunk { + event: "error_chunk"; + } } diff --git a/src/api/resources/copilots/types/index.ts b/src/api/resources/copilots/types/index.ts index 832200b..0b2003c 100644 --- a/src/api/resources/copilots/types/index.ts +++ b/src/api/resources/copilots/types/index.ts @@ -27,4 +27,6 @@ export * from "./DataChunk"; export * from "./FinalChunk"; export * from "./EndOfMessageChunk"; export * from "./BlockedChunk"; +export * from "./ErrorChunkData"; +export * from "./ErrorChunk"; export * from "./StreamingChunk"; diff --git a/src/api/resources/documentCatalog/client/Client.ts b/src/api/resources/documentCatalog/client/Client.ts index d3c9eeb..8d10916 100644 --- a/src/api/resources/documentCatalog/client/Client.ts +++ b/src/api/resources/documentCatalog/client/Client.ts @@ -56,8 +56,8 @@ export class DocumentCatalog { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -125,8 +125,8 @@ export class DocumentCatalog { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -214,8 +214,8 @@ export class DocumentCatalog { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.ts b/src/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.ts index 0cb92e6..c43724f 100644 --- a/src/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.ts +++ b/src/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.ts @@ -13,54 +13,24 @@ * } */ export interface UploadDocumentContentsRequest { - /** - * The name of the document you want to upload. - * - */ + /** The name of the document you want to upload. */ documentName: string; - /** - * The full LLM-formatted text contents of the document you want to upload. - * - */ + /** The full LLM-formatted text contents of the document you want to upload. */ documentContents: string; - /** - * Users allowed to access the document. Unlike Credal's out of the box connectors which reconcile various permissions models from 3rd party software, for custom uploads the caller is responsible for specifying who can access the document and currently flattening groups if applicable. Documents can also be marked as internal public. - * - */ + /** Users allowed to access the document. Unlike Credal's out of the box connectors which reconcile various permissions models from 3rd party software, for custom uploads the caller is responsible for specifying who can access the document and currently flattening groups if applicable. Documents can also be marked as internal public. */ allowedUsersEmailAddresses: string[]; - /** - * [Legacy] The user on behalf of whom the document should be uploaded. In most cases, this can simply be the email of the developer making the API call. This field will be removed in the future in favor of purely specifying permissions via allowedUsersEmailAddresses. - * - */ + /** [Legacy] The user on behalf of whom the document should be uploaded. In most cases, this can simply be the email of the developer making the API call. This field will be removed in the future in favor of purely specifying permissions via allowedUsersEmailAddresses. */ uploadAsUserEmail: string; - /** - * The external ID of the document. This is typically the ID as it exists in its original external system. Uploads to the same external ID will update the document in Credal. - * - */ + /** The external ID of the document. This is typically the ID as it exists in its original external system. Uploads to the same external ID will update the document in Credal. */ documentExternalId: string; - /** - * The external URL of the document you want to upload. If provided Credal will link to this URL. - * - */ + /** The external URL of the document you want to upload. If provided Credal will link to this URL. */ documentExternalUrl?: string; - /** - * Optional JSON representing any custom metdata for this document - * - */ + /** Optional JSON representing any custom metdata for this document */ customMetadata?: unknown; - /** - * If specified, document will also be added to a particular document collection - * - */ + /** If specified, document will also be added to a particular document collection */ collectionId?: string; - /** - * If specified, document contents will be re-uploaded and re-embedded even if the document already exists in Credal - * - */ + /** If specified, document contents will be re-uploaded and re-embedded even if the document already exists in Credal */ forceUpdate?: boolean; - /** - * If specified, document will be accessible to everyone within the organization of the uploader - * - */ + /** If specified, document will be accessible to everyone within the organization of the uploader */ internalPublic?: boolean; } diff --git a/src/api/resources/documentCollections/client/Client.ts b/src/api/resources/documentCollections/client/Client.ts index 61f2e48..7327375 100644 --- a/src/api/resources/documentCollections/client/Client.ts +++ b/src/api/resources/documentCollections/client/Client.ts @@ -63,8 +63,8 @@ export class DocumentCollections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -135,8 +135,8 @@ export class DocumentCollections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -205,8 +205,8 @@ export class DocumentCollections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -273,8 +273,8 @@ export class DocumentCollections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -357,8 +357,8 @@ export class DocumentCollections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -443,8 +443,8 @@ export class DocumentCollections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.ts b/src/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.ts index 222677e..4796f6e 100644 --- a/src/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.ts +++ b/src/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.ts @@ -22,9 +22,6 @@ import * as Credal from "../../../../index"; export interface AddDocumentsToCollectionRequest { /** The ID of the document collection you want to add to. */ collectionId: string; - /** - * The set of resource identifier for which you want to add to the collection. - * - */ + /** The set of resource identifier for which you want to add to the collection. */ resourceIdentifiers: Credal.ResourceIdentifier[]; } diff --git a/src/api/resources/documentCollections/client/requests/CreateCollectionRequest.ts b/src/api/resources/documentCollections/client/requests/CreateCollectionRequest.ts index f36e597..e66b3ed 100644 --- a/src/api/resources/documentCollections/client/requests/CreateCollectionRequest.ts +++ b/src/api/resources/documentCollections/client/requests/CreateCollectionRequest.ts @@ -16,19 +16,10 @@ import * as Credal from "../../../../index"; * } */ export interface CreateCollectionRequest { - /** - * A descriptive name for the collection. - * - */ + /** A descriptive name for the collection. */ name: string; - /** - * An in depth name for the copilot's function. Useful for routing requests to the right copilot. - * - */ + /** An in depth name for the copilot's function. Useful for routing requests to the right copilot. */ description: string; - /** - * A list of collaborator emails and roles that will have access to the copilot. - * - */ + /** A list of collaborator emails and roles that will have access to the copilot. */ collaborators: Credal.Collaborator[]; } diff --git a/src/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.ts b/src/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.ts index 54ca4a1..5d6cdf1 100644 --- a/src/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.ts +++ b/src/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.ts @@ -22,9 +22,6 @@ import * as Credal from "../../../../index"; export interface RemoveDocumentsFromCollectionRequest { /** The ID of the document collection you want to add to. */ collectionId: string; - /** - * The set of resource identifier for which you want to remove from the collection - * - */ + /** The set of resource identifier for which you want to remove from the collection */ resourceIdentifiers: Credal.ResourceIdentifier[]; } diff --git a/src/api/resources/permissionsService/client/Client.ts b/src/api/resources/permissionsService/client/Client.ts index b50333f..2921963 100644 --- a/src/api/resources/permissionsService/client/Client.ts +++ b/src/api/resources/permissionsService/client/Client.ts @@ -59,8 +59,8 @@ export class PermissionsService { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -137,8 +137,8 @@ export class PermissionsService { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -207,8 +207,8 @@ export class PermissionsService { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.ts b/src/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.ts index 0e8213d..e602e03 100644 --- a/src/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.ts +++ b/src/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.ts @@ -19,19 +19,10 @@ import * as Credal from "../../../../index"; * } */ export interface CheckBulkResourcesAuthorizationForUserRequest { - /** - * The set of resource identifier for which you want to check authorization. Currently limited to 20 resources. - * - */ + /** The set of resource identifier for which you want to check authorization. Currently limited to 20 resources. */ resourceIdentifiers: Credal.ResourceIdentifier[]; - /** - * The user email to check authorization for. - * - */ + /** The user email to check authorization for. */ userEmail: string; - /** - * If specified, Credal will bypass the permissions cache and check current permissions for all resources specified. - * - */ + /** If specified, Credal will bypass the permissions cache and check current permissions for all resources specified. */ disableCache?: boolean; } diff --git a/src/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.ts b/src/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.ts index 228cbdb..67bcd54 100644 --- a/src/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.ts +++ b/src/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.ts @@ -16,19 +16,10 @@ import * as Credal from "../../../../index"; * } */ export interface CheckResourceAuthorizationForUserRequest { - /** - * The resource identifier for which you want to check authorization. - * - */ + /** The resource identifier for which you want to check authorization. */ resourceIdentifier: Credal.ResourceIdentifier; - /** - * The user email to check authorization for. - * - */ + /** The user email to check authorization for. */ userEmail: string; - /** - * If specified, Credal will bypass the permissions cache and check current permissions for this resource - * - */ + /** If specified, Credal will bypass the permissions cache and check current permissions for this resource */ disableCache?: boolean; } diff --git a/src/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.ts b/src/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.ts index 9a1785f..c59e041 100644 --- a/src/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.ts +++ b/src/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.ts @@ -11,24 +11,12 @@ import * as Credal from "../../../../index"; * } */ export interface ListCachedAuthorizedResourcesForUserRequest { - /** - * The user email to list authorized resources for. - * - */ + /** The user email to list authorized resources for. */ userEmail: string; - /** - * The type of resource you want to list. If not specified, all resource types will be listed. - * - */ + /** The type of resource you want to list. If not specified, all resource types will be listed. */ resourceType?: Credal.ResourceType; - /** - * The maximum number of resources to return. Defaults to 100. - * - */ + /** The maximum number of resources to return. Defaults to 100. */ limit?: number; - /** - * The offset to use for pagination. If not specified, the first page of results will be returned. - * - */ + /** The offset to use for pagination. If not specified, the first page of results will be returned. */ offset?: number; } diff --git a/src/api/resources/search/client/Client.ts b/src/api/resources/search/client/Client.ts index 5a7ed36..70f6814 100644 --- a/src/api/resources/search/client/Client.ts +++ b/src/api/resources/search/client/Client.ts @@ -69,8 +69,8 @@ export class Search { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/search/client/requests/SearchDocumentCollectionRequest.ts b/src/api/resources/search/client/requests/SearchDocumentCollectionRequest.ts index 3be0a29..4c2687f 100644 --- a/src/api/resources/search/client/requests/SearchDocumentCollectionRequest.ts +++ b/src/api/resources/search/client/requests/SearchDocumentCollectionRequest.ts @@ -28,20 +28,11 @@ import * as Credal from "../../../../index"; export interface SearchDocumentCollectionRequest { collectionId: string; searchQuery: string; - /** - * The email of the user making the search request for permissions reduction. - * - */ + /** The email of the user making the search request for permissions reduction. */ userEmail: string; - /** - * The structured query filters to apply to the search query. - * - */ + /** The structured query filters to apply to the search query. */ structuredQueryFilters?: Credal.SingleFieldFilter[]; searchOptions?: Credal.DocumentCollectionSearchOptions; - /** - * Legacy metadata filter expression to apply to the search query. Use structuredQueryFilters instead. - * - */ + /** Legacy metadata filter expression to apply to the search query. Use structuredQueryFilters instead. */ metadataFilterExpression?: string; } diff --git a/src/api/resources/users/client/Client.ts b/src/api/resources/users/client/Client.ts index 90bebef..2d60dd9 100644 --- a/src/api/resources/users/client/Client.ts +++ b/src/api/resources/users/client/Client.ts @@ -61,8 +61,8 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@credal/sdk", - "X-Fern-SDK-Version": "0.0.24", - "User-Agent": "@credal/sdk/0.0.24", + "X-Fern-SDK-Version": "0.0.25", + "User-Agent": "@credal/sdk/0.0.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/serialization/resources/copilots/types/ErrorChunk.ts b/src/serialization/resources/copilots/types/ErrorChunk.ts new file mode 100644 index 0000000..d8d07ca --- /dev/null +++ b/src/serialization/resources/copilots/types/ErrorChunk.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Credal from "../../../../api/index"; +import * as core from "../../../../core"; +import { ErrorChunkData } from "./ErrorChunkData"; + +export const ErrorChunk: core.serialization.ObjectSchema = + core.serialization.object({ + error: ErrorChunkData, + }); + +export declare namespace ErrorChunk { + interface Raw { + error: ErrorChunkData.Raw; + } +} diff --git a/src/serialization/resources/copilots/types/ErrorChunkData.ts b/src/serialization/resources/copilots/types/ErrorChunkData.ts new file mode 100644 index 0000000..e831d4b --- /dev/null +++ b/src/serialization/resources/copilots/types/ErrorChunkData.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Credal from "../../../../api/index"; +import * as core from "../../../../core"; + +export const ErrorChunkData: core.serialization.ObjectSchema = + core.serialization.object({ + message: core.serialization.string(), + }); + +export declare namespace ErrorChunkData { + interface Raw { + message: string; + } +} diff --git a/src/serialization/resources/copilots/types/StreamingChunk.ts b/src/serialization/resources/copilots/types/StreamingChunk.ts index 3c1b83a..a4818e7 100644 --- a/src/serialization/resources/copilots/types/StreamingChunk.ts +++ b/src/serialization/resources/copilots/types/StreamingChunk.ts @@ -10,6 +10,7 @@ import { DataChunk } from "./DataChunk"; import { EndOfMessageChunk } from "./EndOfMessageChunk"; import { FinalChunk } from "./FinalChunk"; import { BlockedChunk } from "./BlockedChunk"; +import { ErrorChunk } from "./ErrorChunk"; export const StreamingChunk: core.serialization.Schema = core.serialization @@ -19,6 +20,7 @@ export const StreamingChunk: core.serialization.Schema({ transform: (value) => value, @@ -31,7 +33,8 @@ export declare namespace StreamingChunk { | StreamingChunk.DataChunk | StreamingChunk.EndOfMessage | StreamingChunk.FinalChunk - | StreamingChunk.Blocked; + | StreamingChunk.Blocked + | StreamingChunk.ErrorChunk; interface Initial extends InitialChunk.Raw { event: "initial"; @@ -52,4 +55,8 @@ export declare namespace StreamingChunk { interface Blocked extends BlockedChunk.Raw { event: "blocked"; } + + interface ErrorChunk extends ErrorChunk.Raw { + event: "error_chunk"; + } } diff --git a/src/serialization/resources/copilots/types/index.ts b/src/serialization/resources/copilots/types/index.ts index 832200b..0b2003c 100644 --- a/src/serialization/resources/copilots/types/index.ts +++ b/src/serialization/resources/copilots/types/index.ts @@ -27,4 +27,6 @@ export * from "./DataChunk"; export * from "./FinalChunk"; export * from "./EndOfMessageChunk"; export * from "./BlockedChunk"; +export * from "./ErrorChunkData"; +export * from "./ErrorChunk"; export * from "./StreamingChunk"; diff --git a/src/version.ts b/src/version.ts index 70e7a60..bcf5404 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "0.0.24"; +export const SDK_VERSION = "0.0.25"; diff --git a/yarn.lock b/yarn.lock index 244f711..3b8170f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,7 @@ js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/compat-data@^7.26.5": +"@babel/compat-data@^7.26.8": version "7.26.8" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.8.tgz#821c1d35641c355284d4a870b8a4a7b0c141e367" integrity sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ== @@ -45,23 +45,23 @@ json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.26.10", "@babel/generator@^7.7.2": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.10.tgz#a60d9de49caca16744e6340c3658dfef6138c3f7" - integrity sha512-rRHT8siFIXQrAYOYqZQVsAr8vJ+cBNqcVAY6m5V8/4QqzaPl+zDBe6cLEPRDuNOUf3ww8RfJVlOyQMoSI+5Ang== +"@babel/generator@^7.26.10", "@babel/generator@^7.27.0", "@babel/generator@^7.7.2": + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.0.tgz#764382b5392e5b9aff93cadb190d0745866cbc2c" + integrity sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw== dependencies: - "@babel/parser" "^7.26.10" - "@babel/types" "^7.26.10" + "@babel/parser" "^7.27.0" + "@babel/types" "^7.27.0" "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" jsesc "^3.0.2" "@babel/helper-compilation-targets@^7.26.5": - version "7.26.5" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz#75d92bb8d8d51301c0d49e52a65c9a7fe94514d8" - integrity sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA== + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.0.tgz#de0c753b1cd1d9ab55d473c5a5cf7170f0a81880" + integrity sha512-LVk7fbXml0H2xH34dFzKQ7TDZ2G4/rVTOrq9V+icbbadjbVxxeFeDsNHv2SrZeWoA+6ZiTyWYWtScEIW07EAcA== dependencies: - "@babel/compat-data" "^7.26.5" + "@babel/compat-data" "^7.26.8" "@babel/helper-validator-option" "^7.25.9" browserslist "^4.24.0" lru-cache "^5.1.1" @@ -105,19 +105,19 @@ integrity sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw== "@babel/helpers@^7.26.10": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.26.10.tgz#6baea3cd62ec2d0c1068778d63cb1314f6637384" - integrity sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g== + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.27.0.tgz#53d156098defa8243eab0f32fa17589075a1b808" + integrity sha512-U5eyP/CTFPuNE3qk+WZMxFkp/4zUzdceQlfzf7DdGdhp+Fezd7HD+i8Y24ZuTMKX3wQBld449jijbGq6OdGNQg== dependencies: - "@babel/template" "^7.26.9" - "@babel/types" "^7.26.10" + "@babel/template" "^7.27.0" + "@babel/types" "^7.27.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.26.10", "@babel/parser@^7.26.9": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.10.tgz#e9bdb82f14b97df6569b0b038edd436839c57749" - integrity sha512-6aQR2zGE/QFi8JpDLjUZEPYOs7+mhKXm86VaKFiLP35JQwQb6bwUE+XbvkH0EptsYhbNBSUGaUBLKqxH1xSgsA== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.26.10", "@babel/parser@^7.27.0": + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.27.0.tgz#3d7d6ee268e41d2600091cbd4e145ffee85a44ec" + integrity sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg== dependencies: - "@babel/types" "^7.26.10" + "@babel/types" "^7.27.0" "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -239,38 +239,38 @@ "@babel/helper-plugin-utils" "^7.25.9" "@babel/runtime@^7.0.0": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.10.tgz#a07b4d8fa27af131a633d7b3524db803eb4764c2" - integrity sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw== + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.27.0.tgz#fbee7cf97c709518ecc1f590984481d5460d4762" + integrity sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw== dependencies: regenerator-runtime "^0.14.0" -"@babel/template@^7.26.9", "@babel/template@^7.3.3": - version "7.26.9" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.26.9.tgz#4577ad3ddf43d194528cff4e1fa6b232fa609bb2" - integrity sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA== +"@babel/template@^7.26.9", "@babel/template@^7.27.0", "@babel/template@^7.3.3": + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.27.0.tgz#b253e5406cc1df1c57dcd18f11760c2dbf40c0b4" + integrity sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA== dependencies: "@babel/code-frame" "^7.26.2" - "@babel/parser" "^7.26.9" - "@babel/types" "^7.26.9" + "@babel/parser" "^7.27.0" + "@babel/types" "^7.27.0" "@babel/traverse@^7.25.9", "@babel/traverse@^7.26.10": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.10.tgz#43cca33d76005dbaa93024fae536cc1946a4c380" - integrity sha512-k8NuDrxr0WrPH5Aupqb2LCVURP/S0vBEn5mK6iH+GIYob66U5EtoZvcdudR2jQ4cmTwhEwW1DLB+Yyas9zjF6A== + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.27.0.tgz#11d7e644779e166c0442f9a07274d02cd91d4a70" + integrity sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA== dependencies: "@babel/code-frame" "^7.26.2" - "@babel/generator" "^7.26.10" - "@babel/parser" "^7.26.10" - "@babel/template" "^7.26.9" - "@babel/types" "^7.26.10" + "@babel/generator" "^7.27.0" + "@babel/parser" "^7.27.0" + "@babel/template" "^7.27.0" + "@babel/types" "^7.27.0" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.9", "@babel/types@^7.26.10", "@babel/types@^7.26.9", "@babel/types@^7.3.3": - version "7.26.10" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.10.tgz#396382f6335bd4feb65741eacfc808218f859259" - integrity sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.9", "@babel/types@^7.26.10", "@babel/types@^7.27.0", "@babel/types@^7.3.3": + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.27.0.tgz#ef9acb6b06c3173f6632d993ecb6d4ae470b4559" + integrity sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg== dependencies: "@babel/helper-string-parser" "^7.25.9" "@babel/helper-validator-identifier" "^7.25.9" @@ -579,9 +579,9 @@ "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.20.6" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.6.tgz#8dc9f0ae0f202c08d8d4dab648912c8d6038e3f7" - integrity sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.7.tgz#968cdc2366ec3da159f61166428ee40f370e56c2" + integrity sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng== dependencies: "@babel/types" "^7.20.7" @@ -602,9 +602,9 @@ "@types/json-schema" "*" "@types/estree@*", "@types/estree@^1.0.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" - integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== + version "1.0.7" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.7.tgz#4158d3105276773d5b7695cd4834b1722e4f37a8" + integrity sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ== "@types/graceful-fs@^4.1.3": version "4.1.9" @@ -663,9 +663,9 @@ form-data "^4.0.0" "@types/node@*": - version "22.13.10" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.10.tgz#df9ea358c5ed991266becc3109dc2dc9125d77e4" - integrity sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw== + version "22.13.17" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.17.tgz#9ca6a81a0180cdcfd3719b9cf6c09186756e1754" + integrity sha512-nAJuQXoyPj04uLgu+obZcSmsfOenUg6DxPKogeUy6yNCFwWaj5sBF8/G/pNo8EtBJjAfSVgfIlugR/BCOleO+g== dependencies: undici-types "~6.20.0" @@ -1109,9 +1109,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001688: - version "1.0.30001704" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001704.tgz#6644fe909d924ac3a7125e8a0ab6af95b1f32990" - integrity sha512-+L2IgBbV6gXB4ETf0keSvLr7JUrRVbIaB/lrQ1+z8mRcQiisG5k+lG6O4n6Y5q6f5EuNfaYXKgymucphlEXQew== + version "1.0.30001707" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001707.tgz#c5e104d199e6f4355a898fcd995a066c7eb9bf41" + integrity sha512-3qtRjw/HQSMlDWf+X79N206fepf4SOOU6SQLMaq/0KkZLmSjPxAkBOQQ+FxbHKfHmYLZFfdWsO3KA90ceHPSnw== chalk@^4.0.0, chalk@^4.1.0: version "4.1.2" @@ -1301,9 +1301,9 @@ dunder-proto@^1.0.1: gopd "^1.2.0" electron-to-chromium@^1.5.73: - version "1.5.116" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.116.tgz#b779d73cd0cc75305d12ae4f061d7f7bcee4c761" - integrity sha512-mufxTCJzLBQVvSdZzX1s5YAuXsN1M4tTyYxOOL1TcSKtIzQ9rjIrm7yFK80rN5dwGTePgdoABDSHpuVtRQh0Zw== + version "1.5.129" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.129.tgz#fafa835aea5d15fcd5cbe9bd6bf1cb5d4b3aa06e" + integrity sha512-JlXUemX4s0+9f8mLqib/bHH8gOHf5elKS6KeWG3sk3xozb/JTq/RLXIv8OKUWiK4Ah00Wm88EFj5PYkFr4RUPA== emittery@^0.13.1: version "0.13.1" @@ -2432,9 +2432,9 @@ npm-run-path@^4.0.1: path-key "^3.0.0" nwsapi@^2.2.2: - version "2.2.18" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.18.tgz#3c4d7927e1ef4d042d319438ecfda6cd81b7ee41" - integrity sha512-p1TRH/edngVEHVbwqWnxUViEmq5znDvyB+Sik5cmuLpGOIfDf/39zLiq3swPF8Vakqn+gvNiOQAZu8djYlQILA== + version "2.2.20" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.20.tgz#22e53253c61e7b0e7e93cef42c891154bcca11ef" + integrity sha512-/ieB+mDe4MrrKMT8z+mQL8klXydZWGR5Dowt4RAGKbJ3kIGEx3X4ljUo+6V73IXtUPWgfOlU5B9MlGxFO5T+cA== object-inspect@^1.13.3: version "1.13.4" @@ -2534,9 +2534,9 @@ picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== pirates@^4.0.4: - version "4.0.6" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" - integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + version "4.0.7" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.7.tgz#643b4a18c4257c8a65104b73f3049ce9a0a15e22" + integrity sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA== pkg-dir@^4.2.0: version "4.2.0"