Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.6
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 9, 2024
1 parent aa2db43 commit 9b80914
Show file tree
Hide file tree
Showing 17 changed files with 116 additions and 169 deletions.
27 changes: 19 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: ede0e8e6-5a63-4cc3-bd29-551cf1036a60
management:
docChecksum: d5a789891ce0c96a50ecae850b0722ea
docChecksum: 60d27c46481b9d9f9618b01182214273
docVersion: 4.0.0
speakeasyVersion: 1.452.0
generationVersion: 2.472.1
releaseVersion: 5.2.0-alpha.1
configChecksum: d31541b7e3562c4fb70e3cf5608ca928
speakeasyVersion: 1.453.6
generationVersion: 2.474.6
releaseVersion: 5.2.0-alpha.2
configChecksum: afe0e4fa8e72100484c2494fbeb8165c
repoURL: https://github.com/ryan-timothy-albert/simple-ts-sdk.git
installationURL: https://github.com/ryan-timothy-albert/simple-ts-sdk
published: true
Expand Down Expand Up @@ -54,7 +54,7 @@ generatedFiles:
- docs/models/operations/deleteorderrequest.md
- docs/models/operations/deletepetrequest.md
- docs/models/operations/deleteuserrequest.md
- docs/models/operations/findpetsbystatusrequest.md
- docs/models/operations/findpetsbystatustypesrequest.md
- docs/models/operations/findpetsbytagsrequest.md
- docs/models/operations/getorderbyidrequest.md
- docs/models/operations/getpetbyidsrequest.md
Expand All @@ -72,7 +72,7 @@ generatedFiles:
- package.json
- src/core.ts
- src/funcs/petDeletePet.ts
- src/funcs/petFindPetsByStatus.ts
- src/funcs/petFindPetsByStatusTypes.ts
- src/funcs/petFindPetsByTags.ts
- src/funcs/petGetPetByIDS.ts
- src/funcs/petMyPet123.ts
Expand Down Expand Up @@ -126,7 +126,7 @@ generatedFiles:
- src/models/operations/deleteorder.ts
- src/models/operations/deletepet.ts
- src/models/operations/deleteuser.ts
- src/models/operations/findpetsbystatus.ts
- src/models/operations/findpetsbystatustypes.ts
- src/models/operations/findpetsbytags.ts
- src/models/operations/getorderbyid.ts
- src/models/operations/getpetbyids.ts
Expand Down Expand Up @@ -403,4 +403,15 @@ examples:
application/json: {"status": 401, "error": "Unauthorized"}
"404":
application/json: {"status": 404, "error": "Not Found", "code": "object_not_found"}
findPetsByStatusTypes:
speakeasy-default-find-pets-by-status-types:
responses:
"200":
application/json: [{"id": 10, "name": "doggie", "category": {"id": 1, "name": "Dogs"}, "photoUrls": ["<value>", "<value>", "<value>"]}, {"id": 10, "name": "doggie", "category": {"id": 1, "name": "Dogs"}, "photoUrls": ["<value>", "<value>"]}, {"id": 10, "name": "doggie", "category": {"id": 1, "name": "Dogs"}, "photoUrls": ["<value>"]}]
"400":
application/json: {"status": 400, "error": "Bad request"}
"401":
application/json: {"status": 401, "error": "Unauthorized"}
"404":
application/json: {"status": 404, "error": "Not Found", "code": "object_not_found"}
generatedTests: {}
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 5.2.0-alpha.1
version: 5.2.0-alpha.2
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.452.0
speakeasyVersion: 1.453.6
sources:
petstore-oas:
sourceNamespace: petstore-oas
sourceRevisionDigest: sha256:72b7f9d31a8851c002e7e79a9c8f94358b8779506992fc92eb8e8a426ddeb2d2
sourceBlobDigest: sha256:c6c82ed79c2507368596455f17c3e4e4dd8c727feaace70c14db9bed1644ea24
sourceRevisionDigest: sha256:558595623592288893574691a286b7b0f84a653e88099ea792dab52ecf20113d
sourceBlobDigest: sha256:f02c4f38e98b5b0d5cbcb1cfb791c984d70a54ced9305986b23dadad78683d80
tags:
- latest
- speakeasy-sdk-regen-1733427001
- speakeasy-sdk-regen-1733776001
- 4.0.0
targets:
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
sourceRevisionDigest: sha256:72b7f9d31a8851c002e7e79a9c8f94358b8779506992fc92eb8e8a426ddeb2d2
sourceBlobDigest: sha256:c6c82ed79c2507368596455f17c3e4e4dd8c727feaace70c14db9bed1644ea24
sourceRevisionDigest: sha256:558595623592288893574691a286b7b0f84a653e88099ea792dab52ecf20113d
sourceBlobDigest: sha256:f02c4f38e98b5b0d5cbcb1cfb791c984d70a54ced9305986b23dadad78683d80
codeSamplesNamespace: petstore-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:33c7fc46c0e73ba22318dcebf5c4070d99e7f34e6546c7521fb6404e3804516b
codeSamplesRevisionDigest: sha256:8f1395761bfeab2ff79db70750f75df003f17a571ac173556a4bbc04ae4f5587
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ run();

* [sit](docs/sdks/pet/README.md#sit) - Update an existing pet
* [myPet123](docs/sdks/pet/README.md#mypet123) - Add a new pet to the store
* [findPetsByStatus](docs/sdks/pet/README.md#findpetsbystatus) - Finds Pets by status
* [findPetsByStatusTypes](docs/sdks/pet/README.md#findpetsbystatustypes) - Finds Pets by status
* [findPetsByTags](docs/sdks/pet/README.md#findpetsbytags) - Finds Pets by tags
* [getPetByIDS](docs/sdks/pet/README.md#getpetbyids) - Find pet by ID
* [deletePet](docs/sdks/pet/README.md#deletepet) - Deletes a pet
Expand Down Expand Up @@ -179,7 +179,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
<summary>Available standalone functions</summary>

- [`petDeletePet`](docs/sdks/pet/README.md#deletepet) - Deletes a pet
- [`petFindPetsByStatus`](docs/sdks/pet/README.md#findpetsbystatus) - Finds Pets by status
- [`petFindPetsByStatusTypes`](docs/sdks/pet/README.md#findpetsbystatustypes) - Finds Pets by status
- [`petFindPetsByTags`](docs/sdks/pet/README.md#findpetsbytags) - Finds Pets by tags
- [`petGetPetByIDS`](docs/sdks/pet/README.md#getpetbyids) - Find pet by ID
- [`petMyPet123`](docs/sdks/pet/README.md#mypet123) - Add a new pet to the store
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,4 +442,14 @@ Based on:
### Generated
- [typescript v5.2.0-alpha.1] .
### Releases
- [NPM v5.2.0-alpha.1] https://www.npmjs.com/package/ryan-simple-test-act/v/5.2.0-alpha.1 - .
- [NPM v5.2.0-alpha.1] https://www.npmjs.com/package/ryan-simple-test-act/v/5.2.0-alpha.1 - .

## 2024-12-09 20:26:38
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.453.6 (2.474.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v5.2.0-alpha.2] .
### Releases
- [NPM v5.2.0-alpha.2] https://www.npmjs.com/package/ryan-simple-test-act/v/5.2.0-alpha.2 - .
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# FindPetsByStatusRequest
# FindPetsByStatusTypesRequest

## Example Usage

```typescript
import { FindPetsByStatusRequest } from "ryan-simple-test-act/models/operations";
import { FindPetsByStatusTypesRequest } from "ryan-simple-test-act/models/operations";

let value: FindPetsByStatusRequest = {};
let value: FindPetsByStatusTypesRequest = {};
```

## Fields
Expand Down
12 changes: 6 additions & 6 deletions docs/sdks/pet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Find out more dfdsiojfidjs

* [sit](#sit) - Update an existing pet
* [myPet123](#mypet123) - Add a new pet to the store
* [findPetsByStatus](#findpetsbystatus) - Finds Pets by status
* [findPetsByStatusTypes](#findpetsbystatustypes) - Finds Pets by status
* [findPetsByTags](#findpetsbytags) - Finds Pets by tags
* [getPetByIDS](#getpetbyids) - Find pet by ID
* [deletePet](#deletepet) - Deletes a pet
Expand Down Expand Up @@ -207,7 +207,7 @@ run();
| --------------- | --------------- | --------------- |
| errors.SDKError | 4XX, 5XX | \*/\* |

## findPetsByStatus
## findPetsByStatusTypes

Multiple status values can be provided with comma separated strings

Expand All @@ -221,7 +221,7 @@ const petstore = new Petstore({
});

async function run() {
const result = await petstore.pet.findPetsByStatus({});
const result = await petstore.pet.findPetsByStatusTypes({});

// Handle the result
console.log(result);
Expand All @@ -236,7 +236,7 @@ The standalone function version of this method:

```typescript
import { PetstoreCore } from "ryan-simple-test-act/core.js";
import { petFindPetsByStatus } from "ryan-simple-test-act/funcs/petFindPetsByStatus.js";
import { petFindPetsByStatusTypes } from "ryan-simple-test-act/funcs/petFindPetsByStatusTypes.js";

// Use `PetstoreCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
Expand All @@ -245,7 +245,7 @@ const petstore = new PetstoreCore({
});

async function run() {
const res = await petFindPetsByStatus(petstore, {});
const res = await petFindPetsByStatusTypes(petstore, {});

if (!res.ok) {
throw res.error;
Expand All @@ -264,7 +264,7 @@ run();

| Parameter | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `request` | [operations.FindPetsByStatusRequest](../../models/operations/findpetsbystatusrequest.md) | :heavy_check_mark: | The request object to use for the request. |
| `request` | [operations.FindPetsByStatusTypesRequest](../../models/operations/findpetsbystatustypesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "ryan-simple-test-act",
"version": "5.2.0-alpha.1",
"version": "5.2.0-alpha.2",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
106 changes: 2 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9b80914

Please sign in to comment.