Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.438.1 (#49)
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 1802be9 commit 556d124
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 @@ -9,8 +9,8 @@ sources:
- main
mistral-google-cloud-source:
sourceNamespace: mistral-google-cloud-source
sourceRevisionDigest: sha256:22da209c58cb1591b3fde77467a9affce33c874724b220dd68f11a8f5fe92fbe
sourceBlobDigest: sha256:79c11900db52030ed8d8fff8066f9fe716670f4eadca41936f2cbc1a270fb087
sourceRevisionDigest: sha256:d3e3d15303dcc1acb27b8895aa3064328bd5b8013ea635c2bce553b6e647b498
sourceBlobDigest: sha256:db72004ee842a27c3e77980be28a727811e0581daa7a51ad34d142302f8ba2f3
tags:
- latest
- main
Expand All @@ -32,10 +32,10 @@ targets:
mistralai-gcp-sdk:
source: mistral-google-cloud-source
sourceNamespace: mistral-google-cloud-source
sourceRevisionDigest: sha256:22da209c58cb1591b3fde77467a9affce33c874724b220dd68f11a8f5fe92fbe
sourceBlobDigest: sha256:79c11900db52030ed8d8fff8066f9fe716670f4eadca41936f2cbc1a270fb087
sourceRevisionDigest: sha256:d3e3d15303dcc1acb27b8895aa3064328bd5b8013ea635c2bce553b6e647b498
sourceBlobDigest: sha256:db72004ee842a27c3e77980be28a727811e0581daa7a51ad34d142302f8ba2f3
codeSamplesNamespace: mistral-openapi-google-cloud-code-samples
codeSamplesRevisionDigest: sha256:388930534caf7f0c463410313e251ecbbe548002fe9c03fdf0138e738ba4e0e0
codeSamplesRevisionDigest: sha256:5dc48a4ede0443945c76f9c50a0f87da055605d2599ee64ba4953553cc0ec1c5
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
Expand Down
10 changes: 7 additions & 3 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: a4b0284a2171be4279ac869462fc2ba5
docChecksum: e6c0a4254e61b1f171b409862f717867
docVersion: 0.0.2
speakeasyVersion: 1.438.1
generationVersion: 2.457.2
releaseVersion: 1.3.1
configChecksum: 0e5490b5f6a45163ed1ce89547eb8e70
releaseVersion: 1.3.4
configChecksum: dda464868f797196bfe7e83112f0516b
repoURL: https://github.com/mistralai/client-ts.git
repoSubDirectory: packages/mistralai-gcp
installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-gcp
Expand Down Expand Up @@ -72,6 +72,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 @@ -85,6 +87,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 @@ -138,6 +141,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-gcp/.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:
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 @@ -68,4 +68,14 @@ Based on:
### Generated
- [typescript v1.3.1] packages/mistralai-gcp
### Releases
- [NPM v1.3.1] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.3.1 - packages/mistralai-gcp
- [NPM v1.3.1] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.3.1 - packages/mistralai-gcp

## 2024-11-15 18:36:48
### 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-gcp
### Releases
- [NPM v1.3.4] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.3.4 - packages/mistralai-gcp
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-gcp/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-gcp/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-gcp/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-gcp/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-gcp/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-gcp/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-gcp/models/components";

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

Expand Down
4 changes: 1 addition & 3 deletions packages/mistralai-gcp/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-gcp/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-gcp/models/components";

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

## Values
Expand Down
8 changes: 6 additions & 2 deletions packages/mistralai-gcp/docs/models/components/toolmessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
import { ToolMessage } from "@mistralai/mistralai-gcp/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,
],
},
];
```

6 changes: 1 addition & 5 deletions packages/mistralai-gcp/docs/models/components/usermessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
import { UserMessage } from "@mistralai/mistralai-gcp/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-gcp/models/components";

let value: ValidationError = {
loc: [
925597,
"<value>",
],
msg: "<value>",
type: "<value>",
Expand Down
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.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-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.3.1",
"version": "1.3.4",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/mistralai-gcp/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-gcp",
"speakeasy-sdk/typescript 1.3.4 2.457.2 0.0.2 @mistralai/mistralai-gcp",
} as const;
Loading

0 comments on commit 556d124

Please sign in to comment.