From c4c8acc16fa4b01c7148bfe848a2de5227abd65d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 8 Aug 2024 18:06:22 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.357.4 --- .speakeasy/workflow.lock | 2 +- packages/mistralai-gcp/.speakeasy/gen.lock | 14 +++++++------- packages/mistralai-gcp/.speakeasy/gen.yaml | 2 +- packages/mistralai-gcp/RELEASES.md | 12 +++++++++++- .../docs/models/components/deltamessage.md | 10 +++++----- packages/mistralai-gcp/jsr.json | 2 +- packages/mistralai-gcp/package-lock.json | 4 ++-- packages/mistralai-gcp/package.json | 2 +- packages/mistralai-gcp/src/lib/config.ts | 6 +++--- .../src/models/components/deltamessage.ts | 8 ++++---- 10 files changed, 36 insertions(+), 26 deletions(-) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 82ee029..172fd4c 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.356.0 +speakeasyVersion: 1.357.4 sources: {} targets: mistralai-azure-sdk: diff --git a/packages/mistralai-gcp/.speakeasy/gen.lock b/packages/mistralai-gcp/.speakeasy/gen.lock index 11bb5bb..b2d6e31 100644 --- a/packages/mistralai-gcp/.speakeasy/gen.lock +++ b/packages/mistralai-gcp/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: c6044247-eaf9-46da-b078-0e1334e93be2 management: - docChecksum: 5daa3767285068a2f496f5fd41eb7a01 + docChecksum: e2bc44269918d569bbc51b1521c4c29b docVersion: 0.0.2 - speakeasyVersion: 1.356.0 - generationVersion: 2.388.1 - releaseVersion: 1.0.0 - configChecksum: b007f88a6c9041814ca4ba963f7f964b + speakeasyVersion: 1.357.4 + generationVersion: 2.390.6 + releaseVersion: 1.0.2 + configChecksum: a530616ee173c76a1e031e7301d7834e repoURL: https://github.com/mistralai/client-ts.git repoSubDirectory: packages/mistralai-gcp installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-gcp @@ -15,11 +15,11 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.6 - core: 3.12.2 + core: 3.12.3 defaultEnabledRetries: 0.1.0 envVarSecurityUsage: 0.1.1 examples: 2.81.4 - globalSecurity: 2.82.10 + globalSecurity: 2.82.11 globalSecurityCallbacks: 0.1.0 globalSecurityFlattening: 0.1.0 globalServerURLs: 2.82.4 diff --git a/packages/mistralai-gcp/.speakeasy/gen.yaml b/packages/mistralai-gcp/.speakeasy/gen.yaml index 404b582..ddd597e 100644 --- a/packages/mistralai-gcp/.speakeasy/gen.yaml +++ b/packages/mistralai-gcp/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true typescript: - version: 1.0.0 + version: 1.0.2 additionalDependencies: dependencies: google-auth-library: ^9.11.0 diff --git a/packages/mistralai-gcp/RELEASES.md b/packages/mistralai-gcp/RELEASES.md index 16455ff..923fa47 100644 --- a/packages/mistralai-gcp/RELEASES.md +++ b/packages/mistralai-gcp/RELEASES.md @@ -8,4 +8,14 @@ Based on: ### Generated - [typescript v1.0.0] packages/mistralai-gcp ### Releases -- [NPM v1.0.0] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.0.0 - packages/mistralai-gcp \ No newline at end of file +- [NPM v1.0.0] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.0.0 - packages/mistralai-gcp + +## 2024-08-08 18:05:48 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.357.4 (2.390.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.0.2] packages/mistralai-gcp +### Releases +- [NPM v1.0.2] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.0.2 - packages/mistralai-gcp \ No newline at end of file diff --git a/packages/mistralai-gcp/docs/models/components/deltamessage.md b/packages/mistralai-gcp/docs/models/components/deltamessage.md index 3711c65..51c99bf 100644 --- a/packages/mistralai-gcp/docs/models/components/deltamessage.md +++ b/packages/mistralai-gcp/docs/models/components/deltamessage.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `role` | *string* | :heavy_minus_sign: | N/A | -| `content` | *string* | :heavy_minus_sign: | N/A | -| `toolCalls` | [components.ToolCall](../../models/components/toolcall.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `role` | *string* | :heavy_minus_sign: | N/A | +| `content` | *string* | :heavy_minus_sign: | N/A | +| `toolCalls` | [components.ToolCall](../../models/components/toolcall.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/packages/mistralai-gcp/jsr.json b/packages/mistralai-gcp/jsr.json index 9947316..ccaf187 100644 --- a/packages/mistralai-gcp/jsr.json +++ b/packages/mistralai-gcp/jsr.json @@ -2,7 +2,7 @@ { "name": "@mistralai/mistralai-gcp", - "version": "1.0.0", + "version": "1.0.2", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/packages/mistralai-gcp/package-lock.json b/packages/mistralai-gcp/package-lock.json index 37412f2..5c5cd94 100644 --- a/packages/mistralai-gcp/package-lock.json +++ b/packages/mistralai-gcp/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mistralai/mistralai-gcp", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mistralai/mistralai-gcp", - "version": "1.0.0", + "version": "1.0.2", "dependencies": { "google-auth-library": "^9.11.0" }, diff --git a/packages/mistralai-gcp/package.json b/packages/mistralai-gcp/package.json index fb181e8..d287878 100644 --- a/packages/mistralai-gcp/package.json +++ b/packages/mistralai-gcp/package.json @@ -1,6 +1,6 @@ { "name": "@mistralai/mistralai-gcp", - "version": "1.0.0", + "version": "1.0.2", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/packages/mistralai-gcp/src/lib/config.ts b/packages/mistralai-gcp/src/lib/config.ts index 43f5feb..50ea72e 100644 --- a/packages/mistralai-gcp/src/lib/config.ts +++ b/packages/mistralai-gcp/src/lib/config.ts @@ -53,7 +53,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.2", - sdkVersion: "1.0.0", - genVersion: "2.388.1", - userAgent: "speakeasy-sdk/typescript 1.0.0 2.388.1 0.0.2 @mistralai/mistralai-gcp", + sdkVersion: "1.0.2", + genVersion: "2.390.6", + userAgent: "speakeasy-sdk/typescript 1.0.2 2.390.6 0.0.2 @mistralai/mistralai-gcp", } as const; diff --git a/packages/mistralai-gcp/src/models/components/deltamessage.ts b/packages/mistralai-gcp/src/models/components/deltamessage.ts index 0f8c165..3fbabf8 100644 --- a/packages/mistralai-gcp/src/models/components/deltamessage.ts +++ b/packages/mistralai-gcp/src/models/components/deltamessage.ts @@ -14,7 +14,7 @@ import * as z from "zod"; export type DeltaMessage = { role?: string | undefined; content?: string | undefined; - toolCalls?: ToolCall | null | undefined; + toolCalls?: Array | null | undefined; }; /** @internal */ @@ -22,7 +22,7 @@ export const DeltaMessage$inboundSchema: z.ZodType { return remap$(v, { @@ -34,7 +34,7 @@ export const DeltaMessage$inboundSchema: z.ZodType | null | undefined; }; /** @internal */ @@ -46,7 +46,7 @@ export const DeltaMessage$outboundSchema: z.ZodType< .object({ role: z.string().optional(), content: z.string().optional(), - toolCalls: z.nullable(ToolCall$outboundSchema).optional(), + toolCalls: z.nullable(z.array(ToolCall$outboundSchema)).optional(), }) .transform((v) => { return remap$(v, {