Skip to content

Commit cf47edb

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.89.0
1 parent 4cd1352 commit cf47edb

37 files changed

+249
-286
lines changed

README.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,20 @@ yarn add @stackone/stackone-client-ts
2424

2525
## SDK Example Usage
2626
<!-- Start SDK Example Usage -->
27-
28-
2927
```typescript
3028
import { StackOne } from "@stackone/stackone-client-ts";
31-
import { AccountsDeleteResponse, AccountsDeleteSecurity } from "@stackone/stackone-client-ts/dist/sdk/models/operations";
29+
import { AccountsDeleteResponse } from "@stackone/stackone-client-ts/dist/sdk/models/operations";
3230

33-
const sdk = new StackOne();
34-
const operationSecurity: AccountsDeleteSecurity = {
35-
password: "",
36-
username: "",
37-
};
31+
const sdk = new StackOne({
32+
security: {
33+
password: "",
34+
username: "",
35+
},
36+
});
3837

3938
sdk.accounts.accountsDelete({
40-
id: "89bd9d8d-69a6-474e-8f46-7cc8796ed151",
41-
}, operationSecurity).then((res: AccountsDeleteResponse) => {
39+
id: "a05dfc2d-df7c-4c78-8a1b-a928fc816742",
40+
}).then((res: AccountsDeleteResponse) => {
4241
if (res.statusCode == 200) {
4342
// handle response
4443
}
@@ -67,6 +66,32 @@ sdk.accounts.accountsDelete({
6766
* [proxyRequestPost](docs/sdks/proxy/README.md#proxyrequestpost) - Proxy Request
6867
<!-- End SDK Available Operations -->
6968

69+
70+
71+
<!-- Start Dev Containers -->
72+
73+
74+
75+
<!-- End Dev Containers -->
76+
77+
78+
79+
<!-- Start Pagination -->
80+
# Pagination
81+
82+
Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
83+
returned response object will have a `next` method that can be called to pull down the next group of results. If the
84+
return value of `next` is `null`, then there are no more pages to be fetched.
85+
86+
Here's an example of one such pagination call:
87+
88+
89+
<!-- End Pagination -->
90+
91+
<!-- Placeholder for Future Speakeasy SDK Sections -->
92+
93+
94+
7095
### Maturity
7196

7297
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,14 @@ Based on:
5656
### Generated
5757
- [typescript v0.2.4] .
5858
### Releases
59-
- [NPM v0.2.4] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/0.2.4 - .
59+
- [NPM v0.2.4] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/0.2.4 - .
60+
61+
## 2023-09-22 00:09:39
62+
### Changes
63+
Based on:
64+
- OpenAPI Doc 1.0.0
65+
- Speakeasy CLI 1.89.0 (2.125.1) https://github.com/speakeasy-api/speakeasy
66+
### Generated
67+
- [typescript v0.3.0] .
68+
### Releases
69+
- [NPM v0.3.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/0.3.0 - .

USAGE.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33

44
```typescript
55
import { StackOne } from "@stackone/stackone-client-ts";
6-
import { AccountsDeleteResponse, AccountsDeleteSecurity } from "@stackone/stackone-client-ts/dist/sdk/models/operations";
6+
import { AccountsDeleteResponse } from "@stackone/stackone-client-ts/dist/sdk/models/operations";
77

8-
const sdk = new StackOne();
9-
const operationSecurity: AccountsDeleteSecurity = {
10-
password: "",
11-
username: "",
12-
};
8+
const sdk = new StackOne({
9+
security: {
10+
password: "",
11+
username: "",
12+
},
13+
});
1314

1415
sdk.accounts.accountsDelete({
1516
id: "89bd9d8d-69a6-474e-8f46-7cc8796ed151",
16-
}, operationSecurity).then((res: AccountsDeleteResponse) => {
17+
}).then((res: AccountsDeleteResponse) => {
1718
if (res.statusCode == 200) {
1819
// handle response
1920
}

docs/models/operations/accountsdeleteresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `contentType` | *string* | :heavy_check_mark: | N/A |
99
| `linkedAccount` | [shared.LinkedAccount](../../models/shared/linkedaccount.md) | :heavy_minus_sign: | The account with the given identifier was deleted. |
1010
| `statusCode` | *number* | :heavy_check_mark: | N/A |
11-
| `rawResponse` | [AxiosResponse>](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |
11+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |

docs/models/operations/accountsdeletesecurity.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/models/operations/accountsgetresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `contentType` | *string* | :heavy_check_mark: | N/A |
99
| `linkedAccount` | [shared.LinkedAccount](../../models/shared/linkedaccount.md) | :heavy_minus_sign: | The account with the given identifier was retrieved. |
1010
| `statusCode` | *number* | :heavy_check_mark: | N/A |
11-
| `rawResponse` | [AxiosResponse>](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |
11+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |

docs/models/operations/accountslistresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `contentType` | *string* | :heavy_check_mark: | N/A |
99
| `linkedAccounts` | [shared.LinkedAccount](../../models/shared/linkedaccount.md)[] | :heavy_minus_sign: | The list of accounts was retrieved. |
1010
| `statusCode` | *number* | :heavy_check_mark: | N/A |
11-
| `rawResponse` | [AxiosResponse>](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |
11+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |

docs/models/operations/accountslistsecurity.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/models/operations/accountsmetagetresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `contentType` | *string* | :heavy_check_mark: | N/A |
99
| `linkedAccountMeta` | [shared.LinkedAccountMeta](../../models/shared/linkedaccountmeta.md) | :heavy_minus_sign: | The meta information of the account was retrieved |
1010
| `statusCode` | *number* | :heavy_check_mark: | N/A |
11-
| `rawResponse` | [AxiosResponse>](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |
11+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | N/A |

docs/models/operations/accountsmetagetsecurity.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)