Skip to content

Commit

Permalink
Merge pull request #8 from mistralai/speakeasy-sdk-regen-1723140351
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate MISTRALAI-GCP-SDK 1.0.2
  • Loading branch information
GaspardBT authored Aug 8, 2024
2 parents 6c08ee6 + c4c8acc commit 69d827f
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 25 deletions.
14 changes: 7 additions & 7 deletions packages/mistralai-gcp/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/mistralai-gcp/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 11 additions & 1 deletion packages/mistralai-gcp/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
- [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
10 changes: 5 additions & 5 deletions packages/mistralai-gcp/docs/models/components/deltamessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| 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 |
2 changes: 1 addition & 1 deletion packages/mistralai-gcp/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/mistralai-gcp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/mistralai-gcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mistralai/mistralai-gcp",
"version": "1.0.0",
"version": "1.0.2",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions packages/mistralai-gcp/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
8 changes: 4 additions & 4 deletions packages/mistralai-gcp/src/models/components/deltamessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import * as z from "zod";
export type DeltaMessage = {
role?: string | undefined;
content?: string | undefined;
toolCalls?: ToolCall | null | undefined;
toolCalls?: Array<ToolCall> | null | undefined;
};

/** @internal */
export const DeltaMessage$inboundSchema: z.ZodType<DeltaMessage, z.ZodTypeDef, unknown> = z
.object({
role: z.string().optional(),
content: z.string().optional(),
tool_calls: z.nullable(ToolCall$inboundSchema).optional(),
tool_calls: z.nullable(z.array(ToolCall$inboundSchema)).optional(),
})
.transform((v) => {
return remap$(v, {
Expand All @@ -34,7 +34,7 @@ export const DeltaMessage$inboundSchema: z.ZodType<DeltaMessage, z.ZodTypeDef, u
export type DeltaMessage$Outbound = {
role?: string | undefined;
content?: string | undefined;
tool_calls?: ToolCall$Outbound | null | undefined;
tool_calls?: Array<ToolCall$Outbound> | null | undefined;
};

/** @internal */
Expand All @@ -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, {
Expand Down

0 comments on commit 69d827f

Please sign in to comment.