mezon-js 2.7.61 → 2.7.62
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +3 -3
- package/client.ts +1 -1
- package/dist/api.gen.d.ts +3 -3
- package/dist/mezon-js.cjs.js +3 -3
- package/dist/mezon-js.esm.mjs +3 -3
- package/package.json +1 -1
package/api.gen.ts
CHANGED
@@ -3647,7 +3647,7 @@ export class MezonApi {
|
|
3647
3647
|
]);
|
3648
3648
|
}
|
3649
3649
|
|
3650
|
-
/** Post
|
3650
|
+
/** Post clan Emoji /v2/emoji/create */
|
3651
3651
|
createClanEmoji(bearerToken: string,
|
3652
3652
|
body:ApiClanEmojiCreateRequest,
|
3653
3653
|
options: any = {}): Promise<any> {
|
@@ -3683,7 +3683,7 @@ export class MezonApi {
|
|
3683
3683
|
]);
|
3684
3684
|
}
|
3685
3685
|
|
3686
|
-
/** Get
|
3686
|
+
/** Get emoji list by clan id */
|
3687
3687
|
listClanEmojiByClanId(bearerToken: string,
|
3688
3688
|
clanId:string,
|
3689
3689
|
options: any = {}): Promise<ApiClanEmojiList> {
|
@@ -3719,7 +3719,7 @@ export class MezonApi {
|
|
3719
3719
|
]);
|
3720
3720
|
}
|
3721
3721
|
|
3722
|
-
/** Delete a
|
3722
|
+
/** Delete a emoji by ID. */
|
3723
3723
|
deleteByIdClanEmoji(bearerToken: string,
|
3724
3724
|
id:string,
|
3725
3725
|
options: any = {}): Promise<any> {
|
package/client.ts
CHANGED
@@ -2241,7 +2241,7 @@ async createClanEmoji(session: Session, request: ApiClanEmojiCreateRequest) {
|
|
2241
2241
|
}
|
2242
2242
|
|
2243
2243
|
return this.apiClient.createClanEmoji(session.token, request).then((response: any) => {
|
2244
|
-
|
2244
|
+
return response !== undefined;
|
2245
2245
|
});
|
2246
2246
|
}
|
2247
2247
|
|
package/dist/api.gen.d.ts
CHANGED
@@ -961,11 +961,11 @@ export declare class MezonApi {
|
|
961
961
|
closeDirectMess(bearerToken: string, body: ApiDeleteChannelDescRequest, options?: any): Promise<any>;
|
962
962
|
/** open direct message. */
|
963
963
|
openDirectMess(bearerToken: string, body: ApiDeleteChannelDescRequest, options?: any): Promise<any>;
|
964
|
-
/** Post
|
964
|
+
/** Post clan Emoji /v2/emoji/create */
|
965
965
|
createClanEmoji(bearerToken: string, body: ApiClanEmojiCreateRequest, options?: any): Promise<any>;
|
966
|
-
/** Get
|
966
|
+
/** Get emoji list by clan id */
|
967
967
|
listClanEmojiByClanId(bearerToken: string, clanId: string, options?: any): Promise<ApiClanEmojiList>;
|
968
|
-
/** Delete a
|
968
|
+
/** Delete a emoji by ID. */
|
969
969
|
deleteByIdClanEmoji(bearerToken: string, id: string, options?: any): Promise<any>;
|
970
970
|
/** Update ClanEmoj By id */
|
971
971
|
updateClanEmojiById(bearerToken: string, id: string, body: MezonUpdateClanEmojiByIdBody, options?: any): Promise<any>;
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -2360,7 +2360,7 @@ var MezonApi = class {
|
|
2360
2360
|
)
|
2361
2361
|
]);
|
2362
2362
|
}
|
2363
|
-
/** Post
|
2363
|
+
/** Post clan Emoji /v2/emoji/create */
|
2364
2364
|
createClanEmoji(bearerToken, body, options = {}) {
|
2365
2365
|
if (body === null || body === void 0) {
|
2366
2366
|
throw new Error("'body' is a required parameter but is null or undefined.");
|
@@ -2389,7 +2389,7 @@ var MezonApi = class {
|
|
2389
2389
|
)
|
2390
2390
|
]);
|
2391
2391
|
}
|
2392
|
-
/** Get
|
2392
|
+
/** Get emoji list by clan id */
|
2393
2393
|
listClanEmojiByClanId(bearerToken, clanId, options = {}) {
|
2394
2394
|
if (clanId === null || clanId === void 0) {
|
2395
2395
|
throw new Error("'clanId' is a required parameter but is null or undefined.");
|
@@ -2417,7 +2417,7 @@ var MezonApi = class {
|
|
2417
2417
|
)
|
2418
2418
|
]);
|
2419
2419
|
}
|
2420
|
-
/** Delete a
|
2420
|
+
/** Delete a emoji by ID. */
|
2421
2421
|
deleteByIdClanEmoji(bearerToken, id, options = {}) {
|
2422
2422
|
if (id === null || id === void 0) {
|
2423
2423
|
throw new Error("'id' is a required parameter but is null or undefined.");
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -2331,7 +2331,7 @@ var MezonApi = class {
|
|
2331
2331
|
)
|
2332
2332
|
]);
|
2333
2333
|
}
|
2334
|
-
/** Post
|
2334
|
+
/** Post clan Emoji /v2/emoji/create */
|
2335
2335
|
createClanEmoji(bearerToken, body, options = {}) {
|
2336
2336
|
if (body === null || body === void 0) {
|
2337
2337
|
throw new Error("'body' is a required parameter but is null or undefined.");
|
@@ -2360,7 +2360,7 @@ var MezonApi = class {
|
|
2360
2360
|
)
|
2361
2361
|
]);
|
2362
2362
|
}
|
2363
|
-
/** Get
|
2363
|
+
/** Get emoji list by clan id */
|
2364
2364
|
listClanEmojiByClanId(bearerToken, clanId, options = {}) {
|
2365
2365
|
if (clanId === null || clanId === void 0) {
|
2366
2366
|
throw new Error("'clanId' is a required parameter but is null or undefined.");
|
@@ -2388,7 +2388,7 @@ var MezonApi = class {
|
|
2388
2388
|
)
|
2389
2389
|
]);
|
2390
2390
|
}
|
2391
|
-
/** Delete a
|
2391
|
+
/** Delete a emoji by ID. */
|
2392
2392
|
deleteByIdClanEmoji(bearerToken, id, options = {}) {
|
2393
2393
|
if (id === null || id === void 0) {
|
2394
2394
|
throw new Error("'id' is a required parameter but is null or undefined.");
|