mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-07 20:37:48 +00:00
ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.148.0
This commit is contained in:
@@ -18,12 +18,7 @@ Create backup
|
||||
import { SDK } from "@lukehagar/discoursejs";
|
||||
|
||||
async function run() {
|
||||
const sdk = new SDK({
|
||||
security: {
|
||||
key: "<YOUR_API_KEY_HERE>",
|
||||
username: "<YOUR_API_KEY_HERE>",
|
||||
},
|
||||
});
|
||||
const sdk = new SDK();
|
||||
|
||||
const res = await sdk.backups.createBackup({
|
||||
withUploads: false,
|
||||
@@ -65,12 +60,7 @@ import { SDK } from "@lukehagar/discoursejs";
|
||||
import { DownloadBackupRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
|
||||
|
||||
async function run() {
|
||||
const sdk = new SDK({
|
||||
security: {
|
||||
key: "<YOUR_API_KEY_HERE>",
|
||||
username: "<YOUR_API_KEY_HERE>",
|
||||
},
|
||||
});
|
||||
const sdk = new SDK();
|
||||
const filename: string = "string";
|
||||
const token: string = "string";
|
||||
|
||||
@@ -112,12 +102,7 @@ List backups
|
||||
import { SDK } from "@lukehagar/discoursejs";
|
||||
|
||||
async function run() {
|
||||
const sdk = new SDK({
|
||||
security: {
|
||||
key: "<YOUR_API_KEY_HERE>",
|
||||
username: "<YOUR_API_KEY_HERE>",
|
||||
},
|
||||
});
|
||||
const sdk = new SDK();
|
||||
|
||||
const res = await sdk.backups.getBackups();
|
||||
|
||||
@@ -156,12 +141,7 @@ import { SDK } from "@lukehagar/discoursejs";
|
||||
import { SendDownloadBackupEmailRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
|
||||
|
||||
async function run() {
|
||||
const sdk = new SDK({
|
||||
security: {
|
||||
key: "<YOUR_API_KEY_HERE>",
|
||||
username: "<YOUR_API_KEY_HERE>",
|
||||
},
|
||||
});
|
||||
const sdk = new SDK();
|
||||
const filename: string = "string";
|
||||
|
||||
const res = await sdk.backups.sendDownloadBackupEmail(filename);
|
||||
|
||||
Reference in New Issue
Block a user