Skip to content

Commit

Permalink
Merge pull request #2 from mistralai/speakeasy-sdk-regen-1723033641
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate MISTRALAI-AZURE-SDK 1.0.0
  • Loading branch information
GaspardBT authored Aug 7, 2024
2 parents c5e2ea6 + 40de922 commit 4f2ce5f
Show file tree
Hide file tree
Showing 8 changed files with 164 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
speakeasyVersion: 1.356.0
sources: {}
targets:
mistralai-azure-sdk:
source: mistral-azure-source
outLocation: ./packages/mistralai-azure
mistralai-gcp-sdk:
source: mistral-google-cloud-source
outLocation: ./packages/mistralai-gcp
Expand Down
141 changes: 141 additions & 0 deletions packages/mistralai-azure/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
lockVersion: 2.0.0
id: 01e8a40b-3df3-4d9a-9501-2eb9e0d26c05
management:
docChecksum: f04749e097bb06d5fb8850400b089250
docVersion: 0.0.2
speakeasyVersion: 1.356.0
generationVersion: 2.388.1
releaseVersion: 1.0.0
configChecksum: ef6a02a8554b901753e4af166fef8e4b
repoURL: https://github.com/mistralai/client-ts.git
repoSubDirectory: packages/mistralai-azure
installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-azure
published: true
features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.12.2
defaultEnabledRetries: 0.1.0
envVarSecurityUsage: 0.1.1
examples: 2.81.4
globalSecurity: 2.82.10
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.4
nameOverrides: 2.81.2
nullables: 0.1.0
responseFormat: 0.2.3
retries: 2.83.0
sdkHooks: 0.1.0
serverEvents: 0.1.4
serverEventsSentinels: 0.1.0
serverIDs: 2.81.2
unions: 2.85.6
generatedFiles:
- src/funcs/chatStream.ts
- src/funcs/chatComplete.ts
- src/sdk/chat.ts
- .eslintrc.cjs
- .npmignore
- RUNTIMES.md
- jsr.json
- package.json
- src/core.ts
- src/index.ts
- src/lib/base64.ts
- src/lib/config.ts
- src/lib/dlv.ts
- src/lib/encodings.ts
- src/lib/env.ts
- src/lib/event-streams.ts
- src/lib/http.ts
- src/lib/is-plain-object.ts
- src/lib/matchers.ts
- src/lib/primitives.ts
- src/lib/retries.ts
- src/lib/schemas.ts
- src/lib/sdks.ts
- src/lib/security.ts
- src/lib/url.ts
- src/sdk/index.ts
- src/models/errors/httpclienterrors.ts
- src/models/errors/sdkerror.ts
- src/models/errors/sdkvalidationerror.ts
- src/types/blobs.ts
- src/types/enums.ts
- src/types/fp.ts
- src/types/index.ts
- src/types/operations.ts
- src/types/rfcdate.ts
- tsconfig.json
- src/models/components/completionevent.ts
- src/models/components/completionchunk.ts
- src/models/components/completionresponsestreamchoice.ts
- src/models/components/deltamessage.ts
- src/models/components/toolcall.ts
- src/models/components/functioncall.ts
- src/models/components/usageinfo.ts
- src/models/components/validationerror.ts
- src/models/components/chatcompletionstreamrequest.ts
- src/models/components/tool.ts
- src/models/components/function.ts
- src/models/components/responseformat.ts
- src/models/components/systemmessage.ts
- src/models/components/contentchunk.ts
- src/models/components/usermessage.ts
- src/models/components/textchunk.ts
- src/models/components/assistantmessage.ts
- src/models/components/toolmessage.ts
- src/models/components/chatcompletionresponse.ts
- src/models/components/chatcompletionchoice.ts
- src/models/components/chatcompletionrequest.ts
- src/models/components/security.ts
- src/models/errors/httpvalidationerror.ts
- src/models/errors/index.ts
- src/models/components/index.ts
- docs/models/components/completionevent.md
- docs/models/components/completionchunk.md
- docs/models/components/finishreason.md
- docs/models/components/completionresponsestreamchoice.md
- docs/models/components/deltamessage.md
- docs/models/components/toolcall.md
- docs/models/components/arguments.md
- docs/models/components/functioncall.md
- docs/models/components/usageinfo.md
- docs/models/components/loc.md
- docs/models/components/validationerror.md
- docs/models/components/stop.md
- docs/models/components/messages.md
- docs/models/components/toolchoice.md
- docs/models/components/chatcompletionstreamrequest.md
- docs/models/components/tool.md
- docs/models/components/functiont.md
- docs/models/components/responseformats.md
- docs/models/components/responseformat.md
- docs/models/components/content.md
- docs/models/components/role.md
- docs/models/components/systemmessage.md
- docs/models/components/contentchunk.md
- docs/models/components/usermessagecontent.md
- docs/models/components/usermessagerole.md
- docs/models/components/usermessage.md
- docs/models/components/textchunk.md
- docs/models/components/assistantmessagerole.md
- docs/models/components/assistantmessage.md
- docs/models/components/toolmessagerole.md
- docs/models/components/toolmessage.md
- docs/models/components/chatcompletionresponse.md
- docs/models/components/chatcompletionchoicefinishreason.md
- docs/models/components/chatcompletionchoice.md
- docs/models/components/chatcompletionrequeststop.md
- docs/models/components/chatcompletionrequestmessages.md
- docs/models/components/chatcompletionrequesttoolchoice.md
- docs/models/components/chatcompletionrequest.md
- docs/models/components/security.md
- docs/models/errors/httpvalidationerror.md
- docs/lib/utils/retryconfig.md
- .gitattributes
- src/hooks/hooks.ts
- src/hooks/types.ts
- src/hooks/index.ts
4 changes: 2 additions & 2 deletions 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-rc.3
version: 1.0.0
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand All @@ -36,7 +36,7 @@ typescript:
methodArguments: require-security-and-request
moduleFormat: commonjs
outputModelSuffix: output
packageName: "@mistralai/mistralai-azure"
packageName: '@mistralai/mistralai-azure'
responseFormat: flat
templateVersion: v2
useIndexModules: true
11 changes: 11 additions & 0 deletions packages/mistralai-azure/RELEASES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


## 2024-08-07 12:27:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.356.0 (2.388.1) https://github.com/speakeasy-api/speakeasy
### 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
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-rc.9",
"version": "1.0.0",
"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.

4 changes: 2 additions & 2 deletions packages/mistralai-azure/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@mistralai/mistralai-azure",
"version": "1.0.0-rc.9",
"version": "1.0.0",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/mistralai/mistral-ts-client.git",
"url": "https://github.com/mistralai/client-ts.git",
"directory": "packages/mistralai-azure"
},
"scripts": {
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 @@ -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-rc.9",
sdkVersion: "1.0.0",
genVersion: "2.388.1",
userAgent: "speakeasy-sdk/typescript 1.0.0-rc.9 2.388.1 0.0.2 @mistralai/mistralai-azure",
userAgent: "speakeasy-sdk/typescript 1.0.0 2.388.1 0.0.2 @mistralai/mistralai-azure",
} as const;

0 comments on commit 4f2ce5f

Please sign in to comment.