ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.148.0

This commit is contained in:
speakeasybot
2024-01-19 20:24:06 +00:00
parent 54184e1bde
commit 66e4641bb6
41 changed files with 204 additions and 1772 deletions

View File

@@ -16,12 +16,7 @@ Get the notifications that belong to the current user
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.notifications.getNotifications();
@@ -59,12 +54,7 @@ Mark notifications as read
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.notifications.markNotificationsAsRead({});