Skip to content

Commit

Permalink
Merge pull request #9 from mistralai/speakeasy-sdk-regen-1723140357
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate MISTRALAI-AZURE-SDK 1.0.2
  • Loading branch information
GaspardBT authored Aug 8, 2024
2 parents 1f8e553 + f892adb commit 6c08ee6
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.356.0
speakeasyVersion: 1.357.4
sources: {}
targets:
mistralai-azure-sdk:
Expand Down
14 changes: 7 additions & 7 deletions packages/mistralai-azure/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 01e8a40b-3df3-4d9a-9501-2eb9e0d26c05
management:
docChecksum: f04749e097bb06d5fb8850400b089250
docChecksum: ec02d5407fd9354b416518c4b8fa8b95
docVersion: 0.0.2
speakeasyVersion: 1.356.0
generationVersion: 2.388.1
releaseVersion: 1.0.0
configChecksum: ef6a02a8554b901753e4af166fef8e4b
speakeasyVersion: 1.357.4
generationVersion: 2.390.6
releaseVersion: 1.0.2
configChecksum: fae80dd47df6ce21420df46abe574d77
repoURL: https://github.com/mistralai/client-ts.git
repoSubDirectory: packages/mistralai-azure
installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-azure
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-azure/.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: {}
devDependencies: {}
Expand Down
12 changes: 11 additions & 1 deletion packages/mistralai-azure/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-azure
### Releases
- [NPM v1.0.0] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.0.0 - packages/mistralai-azure
- [NPM v1.0.0] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.0.0 - packages/mistralai-azure

## 2024-08-08 18:05:55
### 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-azure
### Releases
- [NPM v1.0.2] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.0.2 - packages/mistralai-azure
10 changes: 5 additions & 5 deletions packages/mistralai-azure/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-azure/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@mistralai/mistralai-azure",
"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-azure/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-azure/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mistralai/mistralai-azure",
"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-azure/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-azure",
sdkVersion: "1.0.2",
genVersion: "2.390.6",
userAgent: "speakeasy-sdk/typescript 1.0.2 2.390.6 0.0.2 @mistralai/mistralai-azure",
} as const;
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 6c08ee6

Please sign in to comment.