mezon-js 2.9.56 → 2.9.57
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +2 -0
- package/client.ts +4 -2
- package/dist/api.gen.d.ts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/mezon-js.cjs.js +5 -3
- package/dist/mezon-js.esm.mjs +5 -3
- package/package.json +1 -1
package/api.gen.ts
CHANGED
@@ -4904,6 +4904,7 @@ export class MezonApi {
|
|
4904
4904
|
type?:number,
|
4905
4905
|
limit?:number,
|
4906
4906
|
page?:number,
|
4907
|
+
channelLabel?:string,
|
4907
4908
|
options: any = {}): Promise<ApiChannelSettingListResponse> {
|
4908
4909
|
|
4909
4910
|
if (clanId === null || clanId === undefined) {
|
@@ -4920,6 +4921,7 @@ export class MezonApi {
|
|
4920
4921
|
queryParams.set("type", type);
|
4921
4922
|
queryParams.set("limit", limit);
|
4922
4923
|
queryParams.set("page", page);
|
4924
|
+
queryParams.set("channel_label", channelLabel);
|
4923
4925
|
|
4924
4926
|
let bodyJson : string = "";
|
4925
4927
|
|
package/client.ts
CHANGED
@@ -3997,7 +3997,8 @@ export class Client {
|
|
3997
3997
|
status?: number,
|
3998
3998
|
type?: number,
|
3999
3999
|
limit?: number,
|
4000
|
-
page?: number
|
4000
|
+
page?: number,
|
4001
|
+
channel_label?: string
|
4001
4002
|
): Promise<ApiChannelSettingListResponse> {
|
4002
4003
|
if (
|
4003
4004
|
this.autoRefreshSession &&
|
@@ -4018,7 +4019,8 @@ export class Client {
|
|
4018
4019
|
status,
|
4019
4020
|
type,
|
4020
4021
|
limit,
|
4021
|
-
page
|
4022
|
+
page,
|
4023
|
+
channel_label
|
4022
4024
|
)
|
4023
4025
|
.then((response: any) => {
|
4024
4026
|
return Promise.resolve(response);
|
package/dist/api.gen.d.ts
CHANGED
@@ -1485,7 +1485,7 @@ export declare class MezonApi {
|
|
1485
1485
|
/** Update fields in a given channel. */
|
1486
1486
|
updateChannelDesc(bearerToken: string, channelId: string, body: {}, options?: any): Promise<any>;
|
1487
1487
|
/** List channel setting */
|
1488
|
-
listChannelSetting(bearerToken: string, clanId: string, parentId?: string, categoryId?: string, privateChannel?: number, active?: number, status?: number, type?: number, limit?: number, page?: number, options?: any): Promise<ApiChannelSettingListResponse>;
|
1488
|
+
listChannelSetting(bearerToken: string, clanId: string, parentId?: string, categoryId?: string, privateChannel?: number, active?: number, status?: number, type?: number, limit?: number, page?: number, channelLabel?: string, options?: any): Promise<ApiChannelSettingListResponse>;
|
1489
1489
|
/** List all users that are part of a channel. */
|
1490
1490
|
listChannelVoiceUsers(bearerToken: string, clanId?: string, channelId?: string, channelType?: number, limit?: number, state?: number, cursor?: string, options?: any): Promise<ApiVoiceChannelUserList>;
|
1491
1491
|
/** List clans */
|
package/dist/client.d.ts
CHANGED
@@ -583,7 +583,7 @@ export declare class Client {
|
|
583
583
|
/** List Threads. */
|
584
584
|
listThreadDescs(session: Session, channelId: string, limit?: number, state?: number, clanId?: string, threadId?: string): Promise<ApiChannelDescList>;
|
585
585
|
leaveThread(session: Session, channelId: string): Promise<any>;
|
586
|
-
getChannelSettingInClan(session: Session, clanId: string, parentId?: string, categoryId?: string, privateChannel?: number, active?: number, status?: number, type?: number, limit?: number, page?: number): Promise<ApiChannelSettingListResponse>;
|
586
|
+
getChannelSettingInClan(session: Session, clanId: string, parentId?: string, categoryId?: string, privateChannel?: number, active?: number, status?: number, type?: number, limit?: number, page?: number, channel_label?: string): Promise<ApiChannelSettingListResponse>;
|
587
587
|
getChannelCanvasList(session: Session, channelId: string, clanId?: string, limit?: number, page?: number): Promise<any>;
|
588
588
|
getChannelCanvasDetail(session: Session, id: string, clanId?: string, channelId?: string): Promise<any>;
|
589
589
|
editChannelCanvases(session: Session, request: ApiEditChannelCanvasRequest): Promise<any>;
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -2694,7 +2694,7 @@ var MezonApi = class {
|
|
2694
2694
|
]);
|
2695
2695
|
}
|
2696
2696
|
/** List channel setting */
|
2697
|
-
listChannelSetting(bearerToken, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page, options = {}) {
|
2697
|
+
listChannelSetting(bearerToken, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page, channelLabel, options = {}) {
|
2698
2698
|
if (clanId === null || clanId === void 0) {
|
2699
2699
|
throw new Error("'clanId' is a required parameter but is null or undefined.");
|
2700
2700
|
}
|
@@ -2708,6 +2708,7 @@ var MezonApi = class {
|
|
2708
2708
|
queryParams.set("type", type);
|
2709
2709
|
queryParams.set("limit", limit);
|
2710
2710
|
queryParams.set("page", page);
|
2711
|
+
queryParams.set("channel_label", channelLabel);
|
2711
2712
|
let bodyJson = "";
|
2712
2713
|
const fullUrl = this.buildFullUrl(this.basePath, urlPath, queryParams);
|
2713
2714
|
const fetchOptions = buildFetchOptions("GET", options, bodyJson);
|
@@ -8928,7 +8929,7 @@ var Client = class {
|
|
8928
8929
|
});
|
8929
8930
|
});
|
8930
8931
|
}
|
8931
|
-
getChannelSettingInClan(session, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page) {
|
8932
|
+
getChannelSettingInClan(session, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page, channel_label) {
|
8932
8933
|
return __async(this, null, function* () {
|
8933
8934
|
if (this.autoRefreshSession && session.refresh_token && session.isexpired((Date.now() + this.expiredTimespanMs) / 1e3)) {
|
8934
8935
|
yield this.sessionRefresh(session);
|
@@ -8943,7 +8944,8 @@ var Client = class {
|
|
8943
8944
|
status,
|
8944
8945
|
type,
|
8945
8946
|
limit,
|
8946
|
-
page
|
8947
|
+
page,
|
8948
|
+
channel_label
|
8947
8949
|
).then((response) => {
|
8948
8950
|
return Promise.resolve(response);
|
8949
8951
|
});
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -2665,7 +2665,7 @@ var MezonApi = class {
|
|
2665
2665
|
]);
|
2666
2666
|
}
|
2667
2667
|
/** List channel setting */
|
2668
|
-
listChannelSetting(bearerToken, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page, options = {}) {
|
2668
|
+
listChannelSetting(bearerToken, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page, channelLabel, options = {}) {
|
2669
2669
|
if (clanId === null || clanId === void 0) {
|
2670
2670
|
throw new Error("'clanId' is a required parameter but is null or undefined.");
|
2671
2671
|
}
|
@@ -2679,6 +2679,7 @@ var MezonApi = class {
|
|
2679
2679
|
queryParams.set("type", type);
|
2680
2680
|
queryParams.set("limit", limit);
|
2681
2681
|
queryParams.set("page", page);
|
2682
|
+
queryParams.set("channel_label", channelLabel);
|
2682
2683
|
let bodyJson = "";
|
2683
2684
|
const fullUrl = this.buildFullUrl(this.basePath, urlPath, queryParams);
|
2684
2685
|
const fetchOptions = buildFetchOptions("GET", options, bodyJson);
|
@@ -8899,7 +8900,7 @@ var Client = class {
|
|
8899
8900
|
});
|
8900
8901
|
});
|
8901
8902
|
}
|
8902
|
-
getChannelSettingInClan(session, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page) {
|
8903
|
+
getChannelSettingInClan(session, clanId, parentId, categoryId, privateChannel, active, status, type, limit, page, channel_label) {
|
8903
8904
|
return __async(this, null, function* () {
|
8904
8905
|
if (this.autoRefreshSession && session.refresh_token && session.isexpired((Date.now() + this.expiredTimespanMs) / 1e3)) {
|
8905
8906
|
yield this.sessionRefresh(session);
|
@@ -8914,7 +8915,8 @@ var Client = class {
|
|
8914
8915
|
status,
|
8915
8916
|
type,
|
8916
8917
|
limit,
|
8917
|
-
page
|
8918
|
+
page,
|
8919
|
+
channel_label
|
8918
8920
|
).then((response) => {
|
8919
8921
|
return Promise.resolve(response);
|
8920
8922
|
});
|