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

@@ -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) {