ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.314.2

This commit is contained in:
speakeasybot
2024-06-22 00:21:28 +00:00
parent 5ffcd10425
commit 6e8b2cfb6d
12 changed files with 5755 additions and 48 deletions

View File

@@ -3,17 +3,17 @@ id: 599a9576-4665-431e-be1e-44cc13ef28aa
management:
docChecksum: dd4d04e62622de8f631720b5be68964d
docVersion: latest
speakeasyVersion: 1.277.8
generationVersion: 2.319.10
releaseVersion: 0.4.5
configChecksum: b7dc0c3ce1be927c8837572d3e658d34
speakeasyVersion: 1.314.2
generationVersion: 2.349.6
releaseVersion: 0.4.6
configChecksum: a70c78dae324fea828e705cdeba17ded
repoURL: https://github.com/LukeHagar/discoursejs.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/discoursejs
published: true
features:
typescript:
core: 3.4.9
core: 3.4.10
deprecations: 2.81.1
flattening: 2.81.1
globalServerURLs: 2.82.2

View File

@@ -119,3 +119,13 @@ Based on:
- [typescript v0.4.5] .
### Releases
- [NPM v0.4.5] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.5 - .
## 2024-06-22 00:20:48
### Changes
Based on:
- OpenAPI Doc latest
- Speakeasy CLI 1.314.2 (2.349.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.4.6] .
### Releases
- [NPM v0.4.6] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.6 - .

View File

@@ -3,6 +3,6 @@
## Fields
| Field | Type | Required | Description |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id |
| Field | Type | Required | Description | Example |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |

View File

@@ -3,6 +3,6 @@
## Fields
| Field | Type | Required | Description |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id |
| Field | Type | Required | Description | Example |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |

File diff suppressed because one or more lines are too long

View File

@@ -168,7 +168,7 @@ import { GetGroupRequest } from "@lukehagar/discoursejs/dist/sdk/models/operatio
async function run() {
const sdk = new SDK();
const id: string = "<value>";
const id: string = "name";
const res = await sdk.groups.getGroup(id);
@@ -182,10 +182,10 @@ run();
### Parameters
| Parameter | Type | Required | Description |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id |
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
| Parameter | Type | Required | Description | Example |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. | |
### Response
@@ -209,7 +209,7 @@ import { ListGroupMembersRequest } from "@lukehagar/discoursejs/dist/sdk/models/
async function run() {
const sdk = new SDK();
const id: string = "<value>";
const id: string = "name";
const res = await sdk.groups.listGroupMembers(id);
@@ -223,10 +223,10 @@ run();
### Parameters
| Parameter | Type | Required | Description |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id |
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
| Parameter | Type | Required | Description | Example |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. | |
### Response

File diff suppressed because one or more lines are too long

View File

@@ -220,8 +220,14 @@ async function run() {
const res = await sdk.uploads.completeMultipart({
parts: [
"<value>",
"<value>",
{
"part_number": 1,
"etag": "0c376dcfcc2606f4335bbc732de93344",
},
{
"part_number": 2,
"etag": "09ert8cfcc2606f4335bbc732de91122",
},
],
uniqueIdentifier: "66e86218-80d9-4bda-b4d5-2b6def968705",
});
@@ -323,9 +329,9 @@ async function run() {
const res = await sdk.uploads.createUpload({
file: {
content: new TextEncoder().encode("0x5d6beD2Fe2"),
fileName: "blanche_centro_white.jpe",
fileName: "your_file_here",
},
type: TypeT.CardBackground,
type: TypeT.Composer,
});
if (res.statusCode == 200) {

View File

@@ -11,7 +11,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.4.5
version: 0.4.6
author: LukeHagar
clientServerStatusCodesAsErrors: false
flattenGlobalSecurity: true

5703
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@lukehagar/discoursejs",
"version": "0.4.5",
"version": "0.4.6",
"author": "LukeHagar",
"scripts": {
"prepare": "tsc --build",

View File

@@ -61,9 +61,9 @@ export class SDKConfiguration {
serverDefaults: any;
language = "typescript";
openapiDocVersion = "latest";
sdkVersion = "0.4.5";
genVersion = "2.319.10";
userAgent = "speakeasy-sdk/typescript 0.4.5 2.319.10 latest @lukehagar/discoursejs";
sdkVersion = "0.4.6";
genVersion = "2.349.6";
userAgent = "speakeasy-sdk/typescript 0.4.6 2.349.6 latest @lukehagar/discoursejs";
retryConfig?: utils.RetryConfig;
public constructor(init?: Partial<SDKConfiguration>) {
Object.assign(this, init);