mezon-js 2.15.17 → 2.15.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +2 -0
- package/dist/client.d.ts +2 -0
- package/dist/mezon-js.cjs.js +1 -1
- package/dist/mezon-js.esm.mjs +1 -1
- package/dist/mezon-js.iife.js +1 -1
- package/dist/mezon-js.umd.js +1 -1
- package/dist/mezon-js.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -2239,6 +2239,8 @@ export declare class MezonApi {
|
|
|
2239
2239
|
setChanEncryptionMethod(bearerToken: string, channelId: string, body: MezonSetChanEncryptionMethodBody, options?: {}): Promise<any>;
|
|
2240
2240
|
/** Leave a channel the user is a member of. */
|
|
2241
2241
|
leaveThread(bearerToken: string, clanId: string, channelId: string, options?: {}): Promise<any>;
|
|
2242
|
+
/** Mark forum threads inactive (archived; active = 0) for threads the user belongs to under parent_id. */
|
|
2243
|
+
archiveInactiveChannelThreads(bearerToken: string, clanId: string, parentId: string, threadIds: string[], options?: {}): Promise<any>;
|
|
2242
2244
|
/** Kick a set of users from a channel. */
|
|
2243
2245
|
removeChannelUsers(bearerToken: string, channelId: string, userIds?: Array<string>, options?: {}): Promise<any>;
|
|
2244
2246
|
/** List all users that are part of a channel. */
|
package/dist/client.d.ts
CHANGED
|
@@ -431,6 +431,8 @@ export declare class Client {
|
|
|
431
431
|
updateChannelTimeline(session: Session, request: ApiUpdateChannelTimelineRequest): Promise<ApiUpdateChannelTimelineResponse>;
|
|
432
432
|
detailChannelTimeline(session: Session, request: ApiDetailChannelTimelineRequest): Promise<ApiDetailChannelTimelineResponse>;
|
|
433
433
|
leaveThread(session: Session, clanId: string, channelId: string): Promise<any>;
|
|
434
|
+
/** Mark forum threads inactive (archived) under parent_id for threads the session user belongs to. */
|
|
435
|
+
archiveInactiveChannelThreads(session: Session, clanId: string, parentId: string, threadIds: string[]): Promise<any>;
|
|
434
436
|
getChannelSettingInClan(session: Session, clanId: string, parentId?: string, categoryId?: string, privateChannel?: number, active?: number, status?: number, type?: number, limit?: number, page?: number, channelLabel?: string): Promise<ApiChannelSettingListResponse>;
|
|
435
437
|
getChannelCanvasList(session: Session, channelId: string, clanId?: string, limit?: number, page?: number): Promise<ApiChannelCanvasListResponse>;
|
|
436
438
|
getChannelCanvasDetail(session: Session, id: string, clanId?: string, channelId?: string): Promise<any>;
|