mezon-js 2.12.19 → 2.12.20
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/api.gen.ts +1 -1
- package/client.ts +1 -1
- package/dist/api.gen.d.ts +1 -1
- package/dist/client.d.ts +1 -1
- package/package.json +1 -1
package/api.gen.ts
CHANGED
package/client.ts
CHANGED
package/dist/api.gen.d.ts
CHANGED
@@ -2075,7 +2075,7 @@ export declare class MezonApi {
|
|
2075
2075
|
/** Update a role when Delete a role by ID. */
|
2076
2076
|
deleteRoleChannelDesc(bearerToken: string, body: ApiDeleteRoleRequest, options?: any): Promise<any>;
|
2077
2077
|
/** ListRoles */
|
2078
|
-
listRoles(bearerToken: string, clanId?: string, limit?: number, state?:
|
2078
|
+
listRoles(bearerToken: string, clanId?: string, limit?: number, state?: number, cursor?: string, options?: any): Promise<ApiRoleListEventResponse>;
|
2079
2079
|
/** Create a new role for clan. */
|
2080
2080
|
createRole(bearerToken: string, body: ApiCreateRoleRequest, options?: any): Promise<ApiRole>;
|
2081
2081
|
/** Update a role when Delete a role by ID. */
|
package/dist/client.d.ts
CHANGED
@@ -559,7 +559,7 @@ export declare class Client {
|
|
559
559
|
emojiRecentList(session: Session): Promise<MezonapiEmojiRecentList>;
|
560
560
|
getListStickersByUserId(session: Session): Promise<ApiStickerListedResponse>;
|
561
561
|
listUserClansByUserId(session: Session): Promise<ApiAllUserClans>;
|
562
|
-
listRoles(session: Session, clanId?: string, limit?: number, state?:
|
562
|
+
listRoles(session: Session, clanId?: string, limit?: number, state?: number, cursor?: string): Promise<ApiRoleListEventResponse>;
|
563
563
|
listUserPermissionInChannel(session: Session, clanId?: string, channelId?: string): Promise<ApiUserPermissionInChannelListResponse>;
|
564
564
|
getPermissionByRoleIdChannelId(session: Session, roleId?: string, channelId?: string, userId?: string): Promise<ApiPermissionRoleChannelListEventResponse>;
|
565
565
|
markAsRead(session: Session, request: ApiMarkAsReadRequest): Promise<any>;
|