ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.392.1

This commit is contained in:
speakeasybot
2024-09-07 00:24:40 +00:00
parent 4263aff21c
commit 1f230d2988
17 changed files with 1135 additions and 613 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/__tests__
/models
/sdk/models/errors
/sdk/types

View File

@@ -7,3 +7,4 @@
/cjs
/.tshy
/.tshy-*
/__tests__

File diff suppressed because it is too large Load Diff

View File

@@ -268,4 +268,14 @@ Based on:
### Generated
- [typescript v0.8.1] .
### Releases
- [NPM v0.8.1] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.8.1 - .
- [NPM v0.8.1] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.8.1 - .
## 2024-09-07 00:22:57
### Changes
Based on:
- OpenAPI Doc latest
- Speakeasy CLI 1.392.1 (2.411.9) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.8.2] .
### Releases
- [NPM v0.8.2] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.8.2 - .

View File

@@ -50,7 +50,7 @@ import { adminActivateUser } from "@lukehagar/discoursejs/funcs/adminActivateUse
const sdk = new SDKCore();
async function run() {
const res = await adminActivateUser(sdk, 458565);
const res = await adminActivateUser(sdk, 203554);
if (!res.ok) {
throw res.error;
@@ -119,7 +119,7 @@ import { adminAdminGetUser } from "@lukehagar/discoursejs/funcs/adminAdminGetUse
const sdk = new SDKCore();
async function run() {
const res = await adminAdminGetUser(sdk, 641278);
const res = await adminAdminGetUser(sdk, 386776);
if (!res.ok) {
throw res.error;
@@ -191,7 +191,7 @@ const sdk = new SDKCore();
async function run() {
const res = await adminAdminListUsers(sdk, {
flag: "blocked",
flag: "new",
});
if (!res.ok) {
@@ -261,7 +261,7 @@ import { adminAnonymizeUser } from "@lukehagar/discoursejs/funcs/adminAnonymizeU
const sdk = new SDKCore();
async function run() {
const res = await adminAnonymizeUser(sdk, 976366);
const res = await adminAnonymizeUser(sdk, 418778);
if (!res.ok) {
throw res.error;
@@ -330,7 +330,7 @@ import { adminDeactivateUser } from "@lukehagar/discoursejs/funcs/adminDeactivat
const sdk = new SDKCore();
async function run() {
const res = await adminDeactivateUser(sdk, 495555);
const res = await adminDeactivateUser(sdk, 143950);
if (!res.ok) {
throw res.error;
@@ -399,7 +399,7 @@ import { adminDeleteUser } from "@lukehagar/discoursejs/funcs/adminDeleteUser.js
const sdk = new SDKCore();
async function run() {
const res = await adminDeleteUser(sdk, 335223);
const res = await adminDeleteUser(sdk, 251343);
if (!res.ok) {
throw res.error;
@@ -469,7 +469,7 @@ import { adminLogOutUser } from "@lukehagar/discoursejs/funcs/adminLogOutUser.js
const sdk = new SDKCore();
async function run() {
const res = await adminLogOutUser(sdk, 141178);
const res = await adminLogOutUser(sdk, 379568);
if (!res.ok) {
throw res.error;
@@ -538,7 +538,7 @@ import { adminRefreshGravatar } from "@lukehagar/discoursejs/funcs/adminRefreshG
const sdk = new SDKCore();
async function run() {
const res = await adminRefreshGravatar(sdk, "Jody_Pfannerstill");
const res = await adminRefreshGravatar(sdk, "Frances39");
if (!res.ok) {
throw res.error;
@@ -610,7 +610,7 @@ import { adminSilenceUser } from "@lukehagar/discoursejs/funcs/adminSilenceUser.
const sdk = new SDKCore();
async function run() {
const res = await adminSilenceUser(sdk, 212223, {
const res = await adminSilenceUser(sdk, 606247, {
postAction: "delete",
silencedTill: "2022-06-01T08:00:00.000Z",
});
@@ -687,7 +687,7 @@ import { adminSuspendUser } from "@lukehagar/discoursejs/funcs/adminSuspendUser.
const sdk = new SDKCore();
async function run() {
const res = await adminSuspendUser(sdk, 192215, {
const res = await adminSuspendUser(sdk, 970832, {
postAction: "delete",
reason: "<value>",
suspendUntil: "2121-02-22",

View File

@@ -179,7 +179,7 @@ import { badgesDeleteBadge } from "@lukehagar/discoursejs/funcs/badgesDeleteBadg
const sdk = new SDKCore();
async function run() {
const res = await badgesDeleteBadge(sdk, 402816);
const res = await badgesDeleteBadge(sdk, 32345);
if (!res.ok) {
throw res.error;
@@ -247,7 +247,7 @@ import { badgesListUserBadges } from "@lukehagar/discoursejs/funcs/badgesListUse
const sdk = new SDKCore();
async function run() {
const res = await badgesListUserBadges(sdk, "Eloisa_Davis");
const res = await badgesListUserBadges(sdk, "Faustino28");
if (!res.ok) {
throw res.error;
@@ -316,7 +316,7 @@ import { badgesUpdateBadge } from "@lukehagar/discoursejs/funcs/badgesUpdateBadg
const sdk = new SDKCore();
async function run() {
const res = await badgesUpdateBadge(sdk, 569102);
const res = await badgesUpdateBadge(sdk, 280628);
if (!res.ok) {
throw res.error;

View File

@@ -29,6 +29,9 @@ async function run() {
name: "<value>",
permissions: {
everyone: 1,
additionalProperties: {
},
},
textColor: "f0fcfd",
});
@@ -58,6 +61,9 @@ async function run() {
name: "<value>",
permissions: {
everyone: 1,
additionalProperties: {
},
},
textColor: "f0fcfd",
});
@@ -129,7 +135,7 @@ import { categoriesGetCategory } from "@lukehagar/discoursejs/funcs/categoriesGe
const sdk = new SDKCore();
async function run() {
const res = await categoriesGetCategory(sdk, 687295);
const res = await categoriesGetCategory(sdk, 39147);
if (!res.ok) {
throw res.error;
@@ -335,7 +341,7 @@ import { categoriesListCategoryTopics } from "@lukehagar/discoursejs/funcs/categ
const sdk = new SDKCore();
async function run() {
const res = await categoriesListCategoryTopics(sdk, 671891, "<value>");
const res = await categoriesListCategoryTopics(sdk, 394133, "<value>");
if (!res.ok) {
throw res.error;
@@ -388,6 +394,9 @@ async function run() {
name: "<value>",
permissions: {
everyone: 1,
additionalProperties: {
},
},
textColor: "f0fcfd",
});
@@ -412,11 +421,14 @@ import { categoriesUpdateCategory } from "@lukehagar/discoursejs/funcs/categorie
const sdk = new SDKCore();
async function run() {
const res = await categoriesUpdateCategory(sdk, 999337, {
const res = await categoriesUpdateCategory(sdk, 353500, {
color: "49d9e9",
name: "<value>",
permissions: {
everyone: 1,
additionalProperties: {
},
},
textColor: "f0fcfd",
});

View File

@@ -50,7 +50,7 @@ import { groupsAddGroupMembers } from "@lukehagar/discoursejs/funcs/groupsAddGro
const sdk = new SDKCore();
async function run() {
const res = await groupsAddGroupMembers(sdk, 946323, {
const res = await groupsAddGroupMembers(sdk, 985975, {
usernames: "username1,username2",
});
@@ -191,7 +191,7 @@ import { groupsDeleteGroup } from "@lukehagar/discoursejs/funcs/groupsDeleteGrou
const sdk = new SDKCore();
async function run() {
const res = await groupsDeleteGroup(sdk, 114822);
const res = await groupsDeleteGroup(sdk, 21302);
if (!res.ok) {
throw res.error;
@@ -468,7 +468,7 @@ import { groupsRemoveGroupMembers } from "@lukehagar/discoursejs/funcs/groupsRem
const sdk = new SDKCore();
async function run() {
const res = await groupsRemoveGroupMembers(sdk, 699656, {
const res = await groupsRemoveGroupMembers(sdk, 649523, {
usernames: "username1,username2",
});
@@ -540,7 +540,7 @@ import { groupsUpdateGroup } from "@lukehagar/discoursejs/funcs/groupsUpdateGrou
const sdk = new SDKCore();
async function run() {
const res = await groupsUpdateGroup(sdk, 750192);
const res = await groupsUpdateGroup(sdk, 438471);
if (!res.ok) {
throw res.error;

View File

@@ -124,7 +124,7 @@ import { postsDeletePost } from "@lukehagar/discoursejs/funcs/postsDeletePost.js
const sdk = new SDKCore();
async function run() {
const res = await postsDeletePost(sdk, 928159, {
const res = await postsDeletePost(sdk, 188146, {
forceDestroy: true,
});

View File

@@ -120,7 +120,7 @@ import { privateMessagesGetUserSentPrivateMessages } from "@lukehagar/discoursej
const sdk = new SDKCore();
async function run() {
const res = await privateMessagesGetUserSentPrivateMessages(sdk, "Ebba.Grant22");
const res = await privateMessagesGetUserSentPrivateMessages(sdk, "Nathanial38");
if (!res.ok) {
throw res.error;
@@ -189,7 +189,7 @@ import { privateMessagesListUserPrivateMessages } from "@lukehagar/discoursejs/f
const sdk = new SDKCore();
async function run() {
const res = await privateMessagesListUserPrivateMessages(sdk, "Bonnie55");
const res = await privateMessagesListUserPrivateMessages(sdk, "Liliana_West71");
if (!res.ok) {
throw res.error;

View File

@@ -840,8 +840,8 @@ const sdk = new SDKCore();
async function run() {
const res = await topicsUpdateTopicStatus(sdk, "<value>", "<value>", "<id>", {
enabled: "true",
status: "visible",
enabled: "false",
status: "pinned_globally",
until: "2030-12-31",
});

View File

@@ -623,7 +623,7 @@ async function run() {
const res = await uploadsGeneratePresignedPut(sdk, {
fileName: "IMG_2021.jpeg",
fileSize: 4096,
type: "avatar",
type: "card_background",
});
if (!res.ok) {

View File

@@ -64,7 +64,7 @@ import { usersActivateUser } from "@lukehagar/discoursejs/funcs/usersActivateUse
const sdk = new SDKCore();
async function run() {
const res = await usersActivateUser(sdk, 458565);
const res = await usersActivateUser(sdk, 203554);
if (!res.ok) {
throw res.error;
@@ -133,7 +133,7 @@ import { usersAdminGetUser } from "@lukehagar/discoursejs/funcs/usersAdminGetUse
const sdk = new SDKCore();
async function run() {
const res = await usersAdminGetUser(sdk, 641278);
const res = await usersAdminGetUser(sdk, 386776);
if (!res.ok) {
throw res.error;
@@ -205,7 +205,7 @@ const sdk = new SDKCore();
async function run() {
const res = await usersAdminListUsers(sdk, {
flag: "blocked",
flag: "new",
});
if (!res.ok) {
@@ -275,7 +275,7 @@ import { usersAnonymizeUser } from "@lukehagar/discoursejs/funcs/usersAnonymizeU
const sdk = new SDKCore();
async function run() {
const res = await usersAnonymizeUser(sdk, 976366);
const res = await usersAnonymizeUser(sdk, 418778);
if (!res.ok) {
throw res.error;
@@ -481,7 +481,7 @@ import { usersDeactivateUser } from "@lukehagar/discoursejs/funcs/usersDeactivat
const sdk = new SDKCore();
async function run() {
const res = await usersDeactivateUser(sdk, 495555);
const res = await usersDeactivateUser(sdk, 143950);
if (!res.ok) {
throw res.error;
@@ -550,7 +550,7 @@ import { usersDeleteUser } from "@lukehagar/discoursejs/funcs/usersDeleteUser.js
const sdk = new SDKCore();
async function run() {
const res = await usersDeleteUser(sdk, 335223);
const res = await usersDeleteUser(sdk, 251343);
if (!res.ok) {
throw res.error;
@@ -620,7 +620,7 @@ import { usersGetUser } from "@lukehagar/discoursejs/funcs/usersGetUser.js";
const sdk = new SDKCore();
async function run() {
const res = await usersGetUser(sdk, "<value>", "<value>", "Herta61");
const res = await usersGetUser(sdk, "<value>", "<value>", "Ned56");
if (!res.ok) {
throw res.error;
@@ -691,7 +691,7 @@ import { usersGetUserEmails } from "@lukehagar/discoursejs/funcs/usersGetUserEma
const sdk = new SDKCore();
async function run() {
const res = await usersGetUserEmails(sdk, "Blair_Luettgen46");
const res = await usersGetUserEmails(sdk, "Winifred_OConner64");
if (!res.ok) {
throw res.error;
@@ -903,7 +903,7 @@ import { usersListUserActions } from "@lukehagar/discoursejs/funcs/usersListUser
const sdk = new SDKCore();
async function run() {
const res = await usersListUserActions(sdk, "<value>", 13410, "Augustus_Wuckert48");
const res = await usersListUserActions(sdk, "<value>", 620550, "Deondre75");
if (!res.ok) {
throw res.error;
@@ -974,7 +974,7 @@ import { usersListUserBadges } from "@lukehagar/discoursejs/funcs/usersListUserB
const sdk = new SDKCore();
async function run() {
const res = await usersListUserBadges(sdk, "Eloisa_Davis");
const res = await usersListUserBadges(sdk, "Faustino28");
if (!res.ok) {
throw res.error;
@@ -1043,7 +1043,7 @@ import { usersListUsersPublic } from "@lukehagar/discoursejs/funcs/usersListUser
const sdk = new SDKCore();
async function run() {
const res = await usersListUsersPublic(sdk, "likes_given", "quarterly");
const res = await usersListUsersPublic(sdk, "topic_count", "monthly");
if (!res.ok) {
throw res.error;
@@ -1115,7 +1115,7 @@ import { usersLogOutUser } from "@lukehagar/discoursejs/funcs/usersLogOutUser.js
const sdk = new SDKCore();
async function run() {
const res = await usersLogOutUser(sdk, 141178);
const res = await usersLogOutUser(sdk, 379568);
if (!res.ok) {
throw res.error;
@@ -1184,7 +1184,7 @@ import { usersRefreshGravatar } from "@lukehagar/discoursejs/funcs/usersRefreshG
const sdk = new SDKCore();
async function run() {
const res = await usersRefreshGravatar(sdk, "Jody_Pfannerstill");
const res = await usersRefreshGravatar(sdk, "Frances39");
if (!res.ok) {
throw res.error;
@@ -1325,7 +1325,7 @@ import { usersSilenceUser } from "@lukehagar/discoursejs/funcs/usersSilenceUser.
const sdk = new SDKCore();
async function run() {
const res = await usersSilenceUser(sdk, 212223, {
const res = await usersSilenceUser(sdk, 606247, {
postAction: "delete",
silencedTill: "2022-06-01T08:00:00.000Z",
});
@@ -1402,7 +1402,7 @@ import { usersSuspendUser } from "@lukehagar/discoursejs/funcs/usersSuspendUser.
const sdk = new SDKCore();
async function run() {
const res = await usersSuspendUser(sdk, 192215, {
const res = await usersSuspendUser(sdk, 970832, {
postAction: "delete",
reason: "<value>",
suspendUntil: "2121-02-22",
@@ -1476,7 +1476,7 @@ import { usersUpdateAvatar } from "@lukehagar/discoursejs/funcs/usersUpdateAvata
const sdk = new SDKCore();
async function run() {
const res = await usersUpdateAvatar(sdk, "Zion66");
const res = await usersUpdateAvatar(sdk, "Kadin32");
if (!res.ok) {
throw res.error;
@@ -1543,7 +1543,7 @@ import { usersUpdateEmail } from "@lukehagar/discoursejs/funcs/usersUpdateEmail.
const sdk = new SDKCore();
async function run() {
const res = await usersUpdateEmail(sdk, "Madalyn90");
const res = await usersUpdateEmail(sdk, "Hobart_Lakin34");
if (!res.ok) {
throw res.error;
@@ -1612,7 +1612,7 @@ import { usersUpdateUser } from "@lukehagar/discoursejs/funcs/usersUpdateUser.js
const sdk = new SDKCore();
async function run() {
const res = await usersUpdateUser(sdk, "<value>", "<value>", "Cora.Gislason");
const res = await usersUpdateUser(sdk, "<value>", "<value>", "Dandre.Jast32");
if (!res.ok) {
throw res.error;
@@ -1681,7 +1681,7 @@ import { usersUpdateUsername } from "@lukehagar/discoursejs/funcs/usersUpdateUse
const sdk = new SDKCore();
async function run() {
const res = await usersUpdateUsername(sdk, "Taurean_Flatley");
const res = await usersUpdateUsername(sdk, "Avis_Tremblay74");
if (!res.ok) {
throw res.error;

View File

@@ -11,7 +11,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.8.1
version: 0.8.2
additionalDependencies:
dependencies: {}
devDependencies: {}

View File

@@ -2,7 +2,7 @@
{
"name": "@lukehagar/discoursejs",
"version": "0.8.1",
"version": "0.8.2",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

View File

@@ -1,6 +1,6 @@
{
"name": "@lukehagar/discoursejs",
"version": "0.8.1",
"version": "0.8.2",
"author": "LukeHagar",
"main": "./index.js",
"sideEffects": false,

View File

@@ -60,7 +60,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "latest",
sdkVersion: "0.8.1",
genVersion: "2.409.8",
userAgent: "speakeasy-sdk/typescript 0.8.1 2.409.8 latest @lukehagar/discoursejs",
sdkVersion: "0.8.2",
genVersion: "2.411.9",
userAgent: "speakeasy-sdk/typescript 0.8.2 2.411.9 latest @lukehagar/discoursejs",
} as const;