Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.438.1 (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Nov 18, 2024
1 parent 794c513 commit bf75d37
Show file tree
Hide file tree
Showing 28 changed files with 305 additions and 49 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.438.1
sources:
mistral-azure-source:
sourceNamespace: mistral-azure-source
sourceRevisionDigest: sha256:2e3e3792ec63f3d59dd2a4de2f97ea6a80bd46f8905576069c54810feb930c12
sourceBlobDigest: sha256:da059f78d331ea36f2ec69dfc6c5aa65be0bf0eda011597281cea6499b7ebac8
sourceRevisionDigest: sha256:c441f2d21e7879f5fb9d8d99e2ae242d1e5a84c0c06db971911eb578173e7f62
sourceBlobDigest: sha256:de4af0f100f15fef89e093a6b5393302b2218fb154230594ec811aacdd4f2ec7
tags:
- latest
- main
Expand All @@ -25,10 +25,10 @@ targets:
mistralai-azure-sdk:
source: mistral-azure-source
sourceNamespace: mistral-azure-source
sourceRevisionDigest: sha256:2e3e3792ec63f3d59dd2a4de2f97ea6a80bd46f8905576069c54810feb930c12
sourceBlobDigest: sha256:da059f78d331ea36f2ec69dfc6c5aa65be0bf0eda011597281cea6499b7ebac8
sourceRevisionDigest: sha256:c441f2d21e7879f5fb9d8d99e2ae242d1e5a84c0c06db971911eb578173e7f62
sourceBlobDigest: sha256:de4af0f100f15fef89e093a6b5393302b2218fb154230594ec811aacdd4f2ec7
codeSamplesNamespace: mistral-openapi-azure-code-samples
codeSamplesRevisionDigest: sha256:859080f8bc0f025db686fb068bea2903ab97b15e55d3c88ad484fe27671b7a1d
codeSamplesRevisionDigest: sha256:e986a6f674fde2807db8383cdfefc9229cc4df98276918d60a5f4189ce07fb98
mistralai-gcp-sdk:
source: mistral-google-cloud-source
sourceNamespace: mistral-google-cloud-source
Expand Down
10 changes: 7 additions & 3 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: 1eac78d7698423fcd3bc58124f860d30
docChecksum: d0000cbe03848bfe843794965cba332f
docVersion: 0.0.2
speakeasyVersion: 1.438.1
generationVersion: 2.457.2
releaseVersion: 1.3.1
configChecksum: 003b83d3c40dab3a6fbc894a958541d1
releaseVersion: 1.3.4
configChecksum: c701bbf71f3977510ce625c672b31284
repoURL: https://github.com/mistralai/client-ts.git
repoSubDirectory: packages/mistralai-azure
installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-azure
Expand Down Expand Up @@ -67,6 +67,8 @@ generatedFiles:
- docs/models/components/functiont.md
- docs/models/components/loc.md
- docs/models/components/messages.md
- docs/models/components/referencechunk.md
- docs/models/components/referencechunktype.md
- docs/models/components/responseformat.md
- docs/models/components/responseformats.md
- docs/models/components/role.md
Expand All @@ -80,6 +82,7 @@ generatedFiles:
- docs/models/components/toolchoice.md
- docs/models/components/toolchoiceenum.md
- docs/models/components/toolmessage.md
- docs/models/components/toolmessagecontent.md
- docs/models/components/toolmessagerole.md
- docs/models/components/tooltypes.md
- docs/models/components/type.md
Expand Down Expand Up @@ -129,6 +132,7 @@ generatedFiles:
- src/models/components/functioncall.ts
- src/models/components/functionname.ts
- src/models/components/index.ts
- src/models/components/referencechunk.ts
- src/models/components/responseformat.ts
- src/models/components/responseformats.ts
- src/models/components/security.ts
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 @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 1.3.1
version: 1.3.4
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 @@ -68,4 +68,14 @@ Based on:
### Generated
- [typescript v1.3.1] packages/mistralai-azure
### Releases
- [NPM v1.3.1] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.3.1 - packages/mistralai-azure
- [NPM v1.3.1] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.3.1 - packages/mistralai-azure

## 2024-11-15 18:36:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.438.1 (2.457.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.3.4] packages/mistralai-azure
### Releases
- [NPM v1.3.4] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.3.4 - packages/mistralai-azure
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,25 @@ const value: components.SystemMessage = {

```typescript
const value: components.ToolMessage = {
content: "<value>",
content: [
{
referenceIds: [
943749,
],
},
],
};
```

### `components.UserMessage`

```typescript
const value: components.UserMessage = {
content: "<value>",
content: [
{
text: "<value>",
},
],
};
```

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const value: components.ToolChoice = {
### `components.ToolChoiceEnum`

```typescript
const value: components.ToolChoiceEnum = "required";
const value: components.ToolChoiceEnum = "none";
```

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const value: components.ToolChoice = {
### `components.ToolChoiceEnum`

```typescript
const value: components.ToolChoiceEnum = "auto";
const value: components.ToolChoiceEnum = "required";
```

10 changes: 10 additions & 0 deletions packages/mistralai-azure/docs/models/components/contentchunk.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ const value: components.TextChunk = {
};
```

### `components.ReferenceChunk`

```typescript
const value: components.ReferenceChunk = {
referenceIds: [
568045,
],
};
```

2 changes: 1 addition & 1 deletion packages/mistralai-azure/docs/models/components/loc.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ const value: string = "<value>";
### `number`

```typescript
const value: number = 528895;
const value: number = 71036;
```

16 changes: 14 additions & 2 deletions packages/mistralai-azure/docs/models/components/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,27 @@ const value: components.SystemMessage = {

```typescript
const value: components.ToolMessage = {
content: "<value>",
content: [
{
referenceIds: [
870013,
],
},
],
};
```

### `components.UserMessage`

```typescript
const value: components.UserMessage = {
content: "<value>",
content: [
{
referenceIds: [
461479,
],
},
],
};
```

20 changes: 20 additions & 0 deletions packages/mistralai-azure/docs/models/components/referencechunk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ReferenceChunk

## Example Usage

```typescript
import { ReferenceChunk } from "@mistralai/mistralai-azure/models/components";

let value: ReferenceChunk = {
referenceIds: [
925597,
],
};
```

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `type` | [components.ReferenceChunkType](../../models/components/referencechunktype.md) | :heavy_minus_sign: | N/A |
| `referenceIds` | *number*[] | :heavy_check_mark: | N/A |
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ReferenceChunkType

## Example Usage

```typescript
import { ReferenceChunkType } from "@mistralai/mistralai-azure/models/components";

let value: ReferenceChunkType = "reference";
```

## Values

```typescript
"reference"
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
import { SystemMessage } from "@mistralai/mistralai-azure/models/components";

let value: SystemMessage = {
content: [
{
text: "<value>",
},
],
content: "<value>",
};
```

Expand Down
4 changes: 1 addition & 3 deletions packages/mistralai-azure/docs/models/components/toolcall.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import { ToolCall } from "@mistralai/mistralai-azure/models/components";
let value: ToolCall = {
function: {
name: "<value>",
arguments: {
"key": "<value>",
},
arguments: "<value>",
},
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { ToolChoiceEnum } from "@mistralai/mistralai-azure/models/components";

let value: ToolChoiceEnum = "required";
let value: ToolChoiceEnum = "auto";
```

## Values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
import { ToolMessage } from "@mistralai/mistralai-azure/models/components";

let value: ToolMessage = {
content: "<value>",
content: [
{
text: "<value>",
},
],
};
```

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| `content` | *string* | :heavy_check_mark: | N/A |
| `content` | *components.ToolMessageContent* | :heavy_check_mark: | N/A |
| `toolCallId` | *string* | :heavy_minus_sign: | N/A |
| `name` | *string* | :heavy_minus_sign: | N/A |
| `role` | [components.ToolMessageRole](../../models/components/toolmessagerole.md) | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ToolMessageContent


## Supported Types

### `string`

```typescript
const value: string = "<value>";
```

### `components.ContentChunk[]`

```typescript
const value: components.ContentChunk[] = [
{
referenceIds: [
456150,
],
},
];
```

Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
import { UserMessage } from "@mistralai/mistralai-azure/models/components";

let value: UserMessage = {
content: [
{
text: "<value>",
},
],
content: "<value>",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const value: string = "<value>";
```typescript
const value: components.ContentChunk[] = [
{
text: "<value>",
referenceIds: [
521848,
],
},
];
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ValidationError } from "@mistralai/mistralai-azure/models/components";

let value: ValidationError = {
loc: [
925597,
"<value>",
],
msg: "<value>",
type: "<value>",
Expand Down
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.3.1",
"version": "1.3.4",
"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.3.1",
"version": "1.3.4",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/mistralai-azure/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.0.2",
sdkVersion: "1.3.1",
sdkVersion: "1.3.4",
genVersion: "2.457.2",
userAgent:
"speakeasy-sdk/typescript 1.3.1 2.457.2 0.0.2 @mistralai/mistralai-azure",
"speakeasy-sdk/typescript 1.3.4 2.457.2 0.0.2 @mistralai/mistralai-azure",
} as const;
Loading

0 comments on commit bf75d37

Please sign in to comment.