mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 04:19:37 +00:00
ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.392.1
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
});
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user