Skip to content

Commit

Permalink
chore: speakeasy sdk regeneration - Generate (#8)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.8.7

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.9.1

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.9.2

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.11.0

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.12.0

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.12.3

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.12.4

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.13.0

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.15.0

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.17.0

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.18.7

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.18.9

* ci: regenerated with OpenAPI Doc 1.2.0, Speakeay CLI 1.19.2

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
  • Loading branch information
github-actions[bot] and speakeasybot authored Mar 30, 2023
1 parent 7caf05d commit 1be661f
Show file tree
Hide file tree
Showing 87 changed files with 5,426 additions and 1,515 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
env:
browser: true
es2021: true
node: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
overrides: []
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: latest
sourceType: module
plugins:
- "@typescript-eslint"
rules:
"@typescript-eslint/no-explicit-any": "off"
"no-prototype-builtins": "off"
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,15 @@ Authorization: Bearer YOUR_API_KEY
```typescript
import {
CancelFineTuneRequest,
CancelFineTuneResponse
CancelFineTuneResponse
} from "@speakeasy-api/openai/dist/sdk/models/operations";

import { AxiosError } from "axios";
import { Gpt } from "@speakeasy-api/openai";


const sdk = new Gpt();

const req: CancelFineTuneRequest = {
pathParams: {
fineTuneId: "unde",
},
fineTuneId: "ft-AF1WoRqd3aJAHsqc9NY7iL8F",
};

sdk.openAI.cancelFineTune(req).then((res: CancelFineTuneResponse | AxiosError) => {
Expand Down
106 changes: 105 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,108 @@ Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.8.6 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.3.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.3.0 - .
- [NPM v1.3.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.3.0 - .

## 2023-03-09 01:14:47
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.8.7 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.3.1] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.3.1 - .

## 2023-03-10 01:13:24
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.4.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.4.0 - .

## 2023-03-11 01:02:22
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.9.2 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.4.1] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.4.1 - .

## 2023-03-15 01:08:14
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.11.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.5.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.5.0 - .

## 2023-03-16 01:09:53
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.12.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.6.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.6.0 - .

## 2023-03-18 01:06:49
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.12.3 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.6.1] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.6.1 - .

## 2023-03-21 01:03:49
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.12.4 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.6.2] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.6.2 - .

## 2023-03-22 01:04:05
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.13.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.7.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.7.0 - .

## 2023-03-23 01:03:58
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.15.0 (2.13.1) https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.7.1] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.7.1 - .

## 2023-03-24 01:03:55
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.17.0 (2.15.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.8.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.8.0 - .

## 2023-03-25 01:02:08
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.18.7 (2.16.1) https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.9.0] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.9.0 - .

## 2023-03-28 01:07:10
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.18.9 (2.16.4) https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.9.1] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.9.1 - .

## 2023-03-29 01:11:27
### Changes
Based on:
- OpenAPI Doc 1.2.0 https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
### Releases
- [NPM v1.9.2] https://www.npmjs.com/package/@speakeasy-api/openai/v/1.9.2 - .
10 changes: 3 additions & 7 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@
```typescript
import {
CancelFineTuneRequest,
CancelFineTuneResponse
CancelFineTuneResponse
} from "@speakeasy-api/openai/dist/sdk/models/operations";

import { AxiosError } from "axios";
import { Gpt } from "@speakeasy-api/openai";


const sdk = new Gpt();

const req: CancelFineTuneRequest = {
pathParams: {
fineTuneId: "unde",
},
fineTuneId: "ft-AF1WoRqd3aJAHsqc9NY7iL8F",
};

sdk.openAI.cancelFineTune(req).then((res: CancelFineTuneResponse | AxiosError) => {
Expand Down
1 change: 1 addition & 0 deletions files.gen
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
src/sdk/openai.ts
src/sdk/sdk.ts
.eslintrc.yml
jest.config.js
package-lock.json
package.json
Expand Down
6 changes: 4 additions & 2 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: 5399f7767be93d4a4b8cecb9bbc687b3
docVersion: 1.2.0
speakeasyVersion: 1.8.6
speakeasyVersion: 1.19.2
generationVersion: 2.16.5
generation:
telemetryEnabled: false
sdkClassName: gpt
sdkFlattening: true
singleTagPerOp: false
typescript:
version: 1.3.0
version: 1.9.2
author: speakeasy-openai
packageName: '@speakeasy-api/openai'
9 changes: 3 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
verbose: false,
testPathIgnorePatterns: [
"<rootDir>/__tests__/helpers.ts"
]
preset: "ts-jest",
testEnvironment: "node",
testPathIgnorePatterns: ["<rootDir>/__tests__/helpers.ts"],
};
Loading

0 comments on commit 1be661f

Please sign in to comment.