ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.134.1

This commit is contained in:
speakeasybot
2024-01-10 17:52:36 +00:00
parent 0acace1c5a
commit e68d95df29
23 changed files with 208 additions and 198 deletions

View File

@@ -5,8 +5,8 @@ management:
docVersion: latest docVersion: latest
speakeasyVersion: internal speakeasyVersion: internal
generationVersion: 2.230.3 generationVersion: 2.230.3
releaseVersion: 0.1.0 releaseVersion: 0.2.0
configChecksum: 3868c643b47ea0db51b98ad6c7722f3c configChecksum: cade1df0d8809c00edc114be02c6db18
repoURL: https://github.com/LukeHagar/discoursejs.git repoURL: https://github.com/LukeHagar/discoursejs.git
repoSubDirectory: . repoSubDirectory: .
installationURL: https://github.com/LukeHagar/discoursejs installationURL: https://github.com/LukeHagar/discoursejs

View File

@@ -22,13 +22,13 @@ It has been generated successfully based on your OpenAPI spec. However, it is no
### NPM ### NPM
```bash ```bash
npm add discoursejs npm add @lukehagar/discoursejs
``` ```
### Yarn ### Yarn
```bash ```bash
yarn add discoursejs yarn add @lukehagar/discoursejs
``` ```
<!-- End SDK Installation [installation] --> <!-- End SDK Installation [installation] -->
@@ -38,7 +38,7 @@ yarn add discoursejs
### Example ### Example
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -218,7 +218,7 @@ Handling errors in this SDK should largely match your expectations. All operati
Example Example
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -259,7 +259,7 @@ You can override the default server globally by passing a server index to the `s
#### Example #### Example
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK({ const sdk = new SDK({
@@ -288,7 +288,7 @@ Some of the server options above contain variables. If you want to set the value
The default server can also be overridden globally by passing a URL to the `serverURL: str` optional parameter when initializing the SDK client instance. For example: The default server can also be overridden globally by passing a URL to the `serverURL: str` optional parameter when initializing the SDK client instance. For example:
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK({ const sdk = new SDK({
@@ -317,7 +317,7 @@ The Typescript SDK makes API calls using the [axios](https://axios-http.com/docs
For example, you could specify a header for every request that your sdk makes as follows: For example, you could specify a header for every request that your sdk makes as follows:
```typescript ```typescript
import { discoursejs } from "SDK"; import { @lukehagar/discoursejs } from "SDK";
import axios from "axios"; import axios from "axios";
const httpClient = axios.create({ const httpClient = axios.create({

View File

@@ -19,3 +19,13 @@ Based on:
- [typescript v0.1.0] . - [typescript v0.1.0] .
### Releases ### Releases
- [NPM v0.1.0] https://www.npmjs.com/package/discoursejs/v/0.1.0 - . - [NPM v0.1.0] https://www.npmjs.com/package/discoursejs/v/0.1.0 - .
## 2024-01-10 17:51:53
### Changes
Based on:
- OpenAPI Doc latest
- Speakeasy CLI 1.134.1 (2.230.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.2.0] .
### Releases
- [NPM v0.2.0] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.2.0 - .

View File

@@ -1,6 +1,6 @@
<!-- Start SDK Example Usage [usage] --> <!-- Start SDK Example Usage [usage] -->
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -21,8 +21,8 @@ Activate a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ActivateUserRequest } from "discoursejs/dist/sdk/models/operations"; import { ActivateUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -62,8 +62,8 @@ Get a user by id
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { AdminGetUserRequest } from "discoursejs/dist/sdk/models/operations"; import { AdminGetUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -103,8 +103,8 @@ Get a list of users
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { Flag, QueryParamAsc, QueryParamOrder } from "discoursejs/dist/sdk/models/operations"; import { Flag, QueryParamAsc, QueryParamOrder } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -145,8 +145,8 @@ Anonymize a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { AnonymizeUserRequest } from "discoursejs/dist/sdk/models/operations"; import { AnonymizeUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -186,8 +186,8 @@ Deactivate a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DeactivateUserRequest } from "discoursejs/dist/sdk/models/operations"; import { DeactivateUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -227,8 +227,8 @@ Delete a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DeleteUserRequest, DeleteUserRequestBody } from "discoursejs/dist/sdk/models/operations"; import { DeleteUserRequest, DeleteUserRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -270,8 +270,8 @@ Log a user out
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { LogOutUserRequest } from "discoursejs/dist/sdk/models/operations"; import { LogOutUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -311,8 +311,8 @@ Refresh gravatar
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { RefreshGravatarRequest } from "discoursejs/dist/sdk/models/operations"; import { RefreshGravatarRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -352,8 +352,8 @@ Silence a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { SilenceUserRequest, SilenceUserRequestBody } from "discoursejs/dist/sdk/models/operations"; import { SilenceUserRequest, SilenceUserRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -398,8 +398,8 @@ Suspend a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { SuspendUserRequest, SuspendUserRequestBody } from "discoursejs/dist/sdk/models/operations"; import { SuspendUserRequest, SuspendUserRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -15,7 +15,7 @@ Create backup
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -56,8 +56,8 @@ Download backup
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DownloadBackupRequest } from "discoursejs/dist/sdk/models/operations"; import { DownloadBackupRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -99,7 +99,7 @@ List backups
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -137,8 +137,8 @@ Send download backup email
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { SendDownloadBackupEmailRequest } from "discoursejs/dist/sdk/models/operations"; import { SendDownloadBackupEmailRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -16,7 +16,7 @@ List badges
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -54,7 +54,7 @@ Create badge
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -96,8 +96,8 @@ Delete badge
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DeleteBadgeRequest } from "discoursejs/dist/sdk/models/operations"; import { DeleteBadgeRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -137,8 +137,8 @@ List badges for a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListUserBadgesRequest } from "discoursejs/dist/sdk/models/operations"; import { ListUserBadgesRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -178,8 +178,8 @@ Update badge
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateBadgeRequest, UpdateBadgeRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateBadgeRequest, UpdateBadgeRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -17,7 +17,7 @@ Creates a category
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -66,8 +66,8 @@ Show category
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetCategoryRequest } from "discoursejs/dist/sdk/models/operations"; import { GetCategoryRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -107,7 +107,7 @@ Can be used to fetch all categories and subcategories
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -145,8 +145,8 @@ Retrieves a list of categories
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListCategoriesRequest } from "discoursejs/dist/sdk/models/operations"; import { ListCategoriesRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -186,8 +186,8 @@ List topics
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListCategoryTopicsRequest } from "discoursejs/dist/sdk/models/operations"; import { ListCategoryTopicsRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -229,8 +229,8 @@ Updates a category
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateCategoryRequest, UpdateCategoryRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateCategoryRequest, UpdateCategoryRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -19,8 +19,8 @@ Add group members
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { AddGroupMembersRequest, AddGroupMembersRequestBody } from "discoursejs/dist/sdk/models/operations"; import { AddGroupMembersRequest, AddGroupMembersRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -64,7 +64,7 @@ Create a group
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -122,8 +122,8 @@ Delete a group
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DeleteGroupRequest } from "discoursejs/dist/sdk/models/operations"; import { DeleteGroupRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -163,8 +163,8 @@ Get a group
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetGroupRequest } from "discoursejs/dist/sdk/models/operations"; import { GetGroupRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -204,8 +204,8 @@ List group members
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListGroupMembersRequest } from "discoursejs/dist/sdk/models/operations"; import { ListGroupMembersRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -245,7 +245,7 @@ List groups
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -283,8 +283,8 @@ Remove group members
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { RemoveGroupMembersRequest, RemoveGroupMembersRequestBody } from "discoursejs/dist/sdk/models/operations"; import { RemoveGroupMembersRequest, RemoveGroupMembersRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -328,8 +328,8 @@ Update a group
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateGroupGroup, UpdateGroupRequest, UpdateGroupRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateGroupGroup, UpdateGroupRequest, UpdateGroupRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -13,8 +13,8 @@ Create an invite
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { CreateInviteRequest, CreateInviteRequestBody } from "discoursejs/dist/sdk/models/operations"; import { CreateInviteRequest, CreateInviteRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -63,8 +63,8 @@ Invite to topic
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { InviteToTopicRequest, InviteToTopicRequestBody } from "discoursejs/dist/sdk/models/operations"; import { InviteToTopicRequest, InviteToTopicRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -13,7 +13,7 @@ Get the notifications that belong to the current user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -51,7 +51,7 @@ Mark notifications as read
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -19,7 +19,7 @@ Creates a new topic, a new post, or a private message
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -62,8 +62,8 @@ delete a single post
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DeletePostRequest, DeletePostRequestBody } from "discoursejs/dist/sdk/models/operations"; import { DeletePostRequest, DeletePostRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -112,8 +112,8 @@ refer to various different flag types.
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetPostRequest } from "discoursejs/dist/sdk/models/operations"; import { GetPostRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -153,8 +153,8 @@ List latest posts across topics
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListPostsRequest } from "discoursejs/dist/sdk/models/operations"; import { ListPostsRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -198,8 +198,8 @@ Lock a post from being edited
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { LockPostRequest, LockPostRequestBody } from "discoursejs/dist/sdk/models/operations"; import { LockPostRequest, LockPostRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -247,8 +247,8 @@ Like a post and other actions
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { PerformPostActionRequest, PerformPostActionRequestBody } from "discoursejs/dist/sdk/models/operations"; import { PerformPostActionRequest, PerformPostActionRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -295,8 +295,8 @@ List replies to a post
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { PostRepliesRequest } from "discoursejs/dist/sdk/models/operations"; import { PostRepliesRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -336,8 +336,8 @@ Update a single post
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { Post, UpdatePostRequest, UpdatePostRequestBody } from "discoursejs/dist/sdk/models/operations"; import { Post, UpdatePostRequest, UpdatePostRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -14,7 +14,7 @@ Creates a new topic, a new post, or a private message
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -57,8 +57,8 @@ Get a list of private messages sent for a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetUserSentPrivateMessagesRequest } from "discoursejs/dist/sdk/models/operations"; import { GetUserSentPrivateMessagesRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -98,8 +98,8 @@ Get a list of private messages for a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListUserPrivateMessagesRequest } from "discoursejs/dist/sdk/models/operations"; import { ListUserPrivateMessagesRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -12,8 +12,8 @@ Search for a term
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { SearchRequest } from "discoursejs/dist/sdk/models/operations"; import { SearchRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -12,7 +12,7 @@ Can be used to fetch all categories and subcategories
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -17,7 +17,7 @@ Creates a tag group
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -58,8 +58,8 @@ Get a specific tag
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetTagRequest } from "discoursejs/dist/sdk/models/operations"; import { GetTagRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -99,8 +99,8 @@ Get a single tag group
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetTagGroupRequest } from "discoursejs/dist/sdk/models/operations"; import { GetTagGroupRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -140,7 +140,7 @@ Get a list of tag groups
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -178,7 +178,7 @@ Get a list of tags
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -216,8 +216,8 @@ Update tag group
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateTagGroupRequest, UpdateTagGroupRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateTagGroupRequest, UpdateTagGroupRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -24,8 +24,8 @@ Bookmark topic
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { BookmarkTopicRequest } from "discoursejs/dist/sdk/models/operations"; import { BookmarkTopicRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -69,7 +69,7 @@ Creates a new topic, a new post, or a private message
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -112,8 +112,8 @@ Create topic timer
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { CreateTopicTimerRequest, CreateTopicTimerRequestBody } from "discoursejs/dist/sdk/models/operations"; import { CreateTopicTimerRequest, CreateTopicTimerRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -161,8 +161,8 @@ Get a single topic
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetTopicRequest } from "discoursejs/dist/sdk/models/operations"; import { GetTopicRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -206,8 +206,8 @@ Get topic by external_id
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetTopicByExternalIdRequest } from "discoursejs/dist/sdk/models/operations"; import { GetTopicByExternalIdRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -247,8 +247,8 @@ Invite to topic
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { InviteToTopicRequest, InviteToTopicRequestBody } from "discoursejs/dist/sdk/models/operations"; import { InviteToTopicRequest, InviteToTopicRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -294,8 +294,8 @@ Get the latest topics
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListLatestTopicsRequest } from "discoursejs/dist/sdk/models/operations"; import { ListLatestTopicsRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -341,8 +341,8 @@ Get the top topics filtered by period
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListTopTopicsRequest } from "discoursejs/dist/sdk/models/operations"; import { ListTopTopicsRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -386,8 +386,8 @@ Remove a topic
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { RemoveTopicRequest } from "discoursejs/dist/sdk/models/operations"; import { RemoveTopicRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -431,8 +431,8 @@ Set notification level
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { NotificationLevel, SetNotificationLevelRequest, SetNotificationLevelRequestBody } from "discoursejs/dist/sdk/models/operations"; import { NotificationLevel, SetNotificationLevelRequest, SetNotificationLevelRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -480,8 +480,8 @@ Update a topic
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { Topic, UpdateTopicRequest, UpdateTopicRequestBody } from "discoursejs/dist/sdk/models/operations"; import { Topic, UpdateTopicRequest, UpdateTopicRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -529,8 +529,8 @@ Update the status of a topic
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { Enabled, Status, UpdateTopicStatusRequest, UpdateTopicStatusRequestBody } from "discoursejs/dist/sdk/models/operations"; import { Enabled, Status, UpdateTopicStatusRequest, UpdateTopicStatusRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -580,8 +580,8 @@ Update topic timestamp
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateTopicTimestampRequest, UpdateTopicTimestampRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateTopicTimestampRequest, UpdateTopicTimestampRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -30,7 +30,7 @@ be set to true for this endpoint to function.
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -92,7 +92,7 @@ be set to true for this endpoint to function.
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -155,7 +155,7 @@ be set to true for this endpoint to function.
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -213,7 +213,7 @@ be set to true for this endpoint to function.
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -269,8 +269,8 @@ be set to true for this endpoint to function.
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UploadType } from "discoursejs/dist/sdk/models/operations"; import { UploadType } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -314,8 +314,8 @@ Creates an upload
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { TypeT } from "discoursejs/dist/sdk/models/operations"; import { TypeT } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -380,8 +380,8 @@ be set to true for this endpoint to function.
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GeneratePresignedPutType } from "discoursejs/dist/sdk/models/operations"; import { GeneratePresignedPutType } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -35,8 +35,8 @@ Activate a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ActivateUserRequest } from "discoursejs/dist/sdk/models/operations"; import { ActivateUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -76,8 +76,8 @@ Get a user by id
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { AdminGetUserRequest } from "discoursejs/dist/sdk/models/operations"; import { AdminGetUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -117,8 +117,8 @@ Get a list of users
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { Flag, QueryParamAsc, QueryParamOrder } from "discoursejs/dist/sdk/models/operations"; import { Flag, QueryParamAsc, QueryParamOrder } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -159,8 +159,8 @@ Anonymize a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { AnonymizeUserRequest } from "discoursejs/dist/sdk/models/operations"; import { AnonymizeUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -200,8 +200,8 @@ Change password
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ChangePasswordRequest, ChangePasswordRequestBody } from "discoursejs/dist/sdk/models/operations"; import { ChangePasswordRequest, ChangePasswordRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -246,8 +246,8 @@ Creates a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { CreateUserRequest, CreateUserRequestBody, ExternalIds } from "discoursejs/dist/sdk/models/operations"; import { CreateUserRequest, CreateUserRequestBody, ExternalIds } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -297,8 +297,8 @@ Deactivate a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DeactivateUserRequest } from "discoursejs/dist/sdk/models/operations"; import { DeactivateUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -338,8 +338,8 @@ Delete a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { DeleteUserRequest, DeleteUserRequestBody } from "discoursejs/dist/sdk/models/operations"; import { DeleteUserRequest, DeleteUserRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -381,8 +381,8 @@ Get a single user by username
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetUserRequest } from "discoursejs/dist/sdk/models/operations"; import { GetUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -426,8 +426,8 @@ Get email addresses belonging to a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetUserEmailsRequest } from "discoursejs/dist/sdk/models/operations"; import { GetUserEmailsRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -467,8 +467,8 @@ Get a user by external_id
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetUserExternalIdRequest } from "discoursejs/dist/sdk/models/operations"; import { GetUserExternalIdRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -512,8 +512,8 @@ Get a user by identity provider external ID
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { GetUserIdentiyProviderExternalIdRequest } from "discoursejs/dist/sdk/models/operations"; import { GetUserIdentiyProviderExternalIdRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -559,8 +559,8 @@ Get a list of user actions
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListUserActionsRequest } from "discoursejs/dist/sdk/models/operations"; import { ListUserActionsRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -604,8 +604,8 @@ List badges for a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { ListUserBadgesRequest } from "discoursejs/dist/sdk/models/operations"; import { ListUserBadgesRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -645,8 +645,8 @@ Get a public list of users
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { Asc, ListUsersPublicRequest, Order, Period } from "discoursejs/dist/sdk/models/operations"; import { Asc, ListUsersPublicRequest, Order, Period } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -692,8 +692,8 @@ Log a user out
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { LogOutUserRequest } from "discoursejs/dist/sdk/models/operations"; import { LogOutUserRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -733,8 +733,8 @@ Refresh gravatar
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { RefreshGravatarRequest } from "discoursejs/dist/sdk/models/operations"; import { RefreshGravatarRequest } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -774,7 +774,7 @@ Send password reset email
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -815,8 +815,8 @@ Silence a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { SilenceUserRequest, SilenceUserRequestBody } from "discoursejs/dist/sdk/models/operations"; import { SilenceUserRequest, SilenceUserRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -861,8 +861,8 @@ Suspend a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { SuspendUserRequest, SuspendUserRequestBody } from "discoursejs/dist/sdk/models/operations"; import { SuspendUserRequest, SuspendUserRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -908,8 +908,8 @@ Update avatar
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateAvatarRequest, UpdateAvatarRequestBody, UpdateAvatarType } from "discoursejs/dist/sdk/models/operations"; import { UpdateAvatarRequest, UpdateAvatarRequestBody, UpdateAvatarType } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -954,8 +954,8 @@ Update email
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateEmailRequest, UpdateEmailRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateEmailRequest, UpdateEmailRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -999,8 +999,8 @@ Update a user
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateUserExternalIds, UpdateUserRequest, UpdateUserRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateUserExternalIds, UpdateUserRequest, UpdateUserRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
@@ -1048,8 +1048,8 @@ Update username
### Example Usage ### Example Usage
```typescript ```typescript
import { SDK } from "discoursejs"; import { SDK } from "@lukehagar/discoursejs";
import { UpdateUsernameRequest, UpdateUsernameRequestBody } from "discoursejs/dist/sdk/models/operations"; import { UpdateUsernameRequest, UpdateUsernameRequestBody } from "@lukehagar/discoursejs/dist/sdk/models/operations";
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();

View File

@@ -7,7 +7,7 @@ generation:
fixes: fixes:
nameResolutionDec2023: false nameResolutionDec2023: false
typescript: typescript:
version: 0.1.0 version: 0.2.0
author: LukeHagar author: LukeHagar
clientServerStatusCodesAsErrors: false clientServerStatusCodesAsErrors: false
flattenGlobalSecurity: true flattenGlobalSecurity: true

8
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "discoursejs", "name": "@lukehagar/discoursejs",
"version": "0.1.0", "version": "0.2.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "discoursejs", "name": "@lukehagar/discoursejs",
"version": "0.1.0", "version": "0.2.0",
"dependencies": { "dependencies": {
"axios": "^1.1.3", "axios": "^1.1.3",
"class-transformer": "^0.5.1", "class-transformer": "^0.5.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "discoursejs", "name": "@lukehagar/discoursejs",
"version": "0.1.0", "version": "0.2.0",
"author": "LukeHagar", "author": "LukeHagar",
"scripts": { "scripts": {
"prepare": "tsc --build", "prepare": "tsc --build",

View File

@@ -61,9 +61,9 @@ export class SDKConfiguration {
serverDefaults: any; serverDefaults: any;
language = "typescript"; language = "typescript";
openapiDocVersion = "latest"; openapiDocVersion = "latest";
sdkVersion = "0.1.0"; sdkVersion = "0.2.0";
genVersion = "2.230.3"; genVersion = "2.230.3";
userAgent = "speakeasy-sdk/typescript 0.1.0 2.230.3 latest discoursejs"; userAgent = "speakeasy-sdk/typescript 0.2.0 2.230.3 latest @lukehagar/discoursejs";
retryConfig?: utils.RetryConfig; retryConfig?: utils.RetryConfig;
public constructor(init?: Partial<SDKConfiguration>) { public constructor(init?: Partial<SDKConfiguration>) {
Object.assign(this, init); Object.assign(this, init);