mezon-js 2.12.95 → 2.12.97
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 +3 -3
- package/dist/api.gen.d.ts +1 -1
- package/dist/mezon-js.cjs.js +1 -1
- package/dist/mezon-js.esm.mjs +1 -1
- package/package.json +1 -1
package/api.gen.ts
CHANGED
@@ -5053,7 +5053,7 @@ export class MezonApi {
|
|
5053
5053
|
/** Leave a channel the user is a member of. */
|
5054
5054
|
leaveThread(bearerToken: string,
|
5055
5055
|
clanId:string,
|
5056
|
-
channelId:string,
|
5056
|
+
channelId:string,
|
5057
5057
|
options: any = {}): Promise<any> {
|
5058
5058
|
|
5059
5059
|
if (channelId === null || channelId === undefined) {
|
@@ -5301,8 +5301,8 @@ export class MezonApi {
|
|
5301
5301
|
|
5302
5302
|
/** Delete a channel by ID. */
|
5303
5303
|
deleteChannelDesc(bearerToken: string,
|
5304
|
-
|
5305
|
-
|
5304
|
+
clanId:string,
|
5305
|
+
channelId:string,
|
5306
5306
|
options: any = {}): Promise<any> {
|
5307
5307
|
|
5308
5308
|
if (channelId === null || channelId === undefined) {
|
package/dist/api.gen.d.ts
CHANGED
@@ -2042,7 +2042,7 @@ export declare class MezonApi {
|
|
2042
2042
|
/** list user add channel by channel ids */
|
2043
2043
|
listChannelUsersUC(bearerToken: string, channelId?: string, limit?: number, options?: any): Promise<ApiAllUsersAddChannelResponse>;
|
2044
2044
|
/** Delete a channel by ID. */
|
2045
|
-
deleteChannelDesc(bearerToken: string,
|
2045
|
+
deleteChannelDesc(bearerToken: string, clanId: string, channelId: string, options?: any): Promise<any>;
|
2046
2046
|
/** Update fields in a given channel. */
|
2047
2047
|
updateChannelDesc(bearerToken: string, channelId: string, body: MezonUpdateChannelDescBody, options?: any): Promise<any>;
|
2048
2048
|
/** List channel setting */
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -2222,7 +2222,7 @@ var MezonApi = class {
|
|
2222
2222
|
]);
|
2223
2223
|
}
|
2224
2224
|
/** Delete a channel by ID. */
|
2225
|
-
deleteChannelDesc(bearerToken,
|
2225
|
+
deleteChannelDesc(bearerToken, clanId, channelId, options = {}) {
|
2226
2226
|
if (channelId === null || channelId === void 0) {
|
2227
2227
|
throw new Error("'channelId' is a required parameter but is null or undefined.");
|
2228
2228
|
}
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -2188,7 +2188,7 @@ var MezonApi = class {
|
|
2188
2188
|
]);
|
2189
2189
|
}
|
2190
2190
|
/** Delete a channel by ID. */
|
2191
|
-
deleteChannelDesc(bearerToken,
|
2191
|
+
deleteChannelDesc(bearerToken, clanId, channelId, options = {}) {
|
2192
2192
|
if (channelId === null || channelId === void 0) {
|
2193
2193
|
throw new Error("'channelId' is a required parameter but is null or undefined.");
|
2194
2194
|
}
|