mezon-js 2.10.83 → 2.10.85

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -56,12 +56,8 @@ export interface CountClanBadgeResponseBadge {
56
56
  export interface MezonChangeChannelCategoryBody {
57
57
  //
58
58
  channel_id?: string;
59
- }
60
-
61
- /** */
62
- export interface MezonChangeChannelCategoryBody {
63
59
  //
64
- channel_id?: string;
60
+ clan_id?:string;
65
61
  }
66
62
 
67
63
  /** */
@@ -8309,7 +8305,7 @@ export class MezonApi {
8309
8305
  "'body' is a required parameter but is null or undefined."
8310
8306
  );
8311
8307
  }
8312
- const urlPath = "/v2/rolechannel/category/{newCategoryId}".replace(
8308
+ const urlPath = "/v2/channel/category/{newCategoryId}".replace(
8313
8309
  "{newCategoryId}",
8314
8310
  encodeURIComponent(String(newCategoryId))
8315
8311
  );
package/dist/api.gen.d.ts CHANGED
@@ -29,10 +29,7 @@ export interface CountClanBadgeResponseBadge {
29
29
  /** */
30
30
  export interface MezonChangeChannelCategoryBody {
31
31
  channel_id?: string;
32
- }
33
- /** */
34
- export interface MezonChangeChannelCategoryBody {
35
- channel_id?: string;
32
+ clan_id?: string;
36
33
  }
37
34
  /** */
38
35
  export interface MezonSetChanEncryptionMethodBody {
@@ -4978,7 +4978,7 @@ var MezonApi = class {
4978
4978
  "'body' is a required parameter but is null or undefined."
4979
4979
  );
4980
4980
  }
4981
- const urlPath = "/v2/rolechannel/category/{newCategoryId}".replace(
4981
+ const urlPath = "/v2/channel/category/{newCategoryId}".replace(
4982
4982
  "{newCategoryId}",
4983
4983
  encodeURIComponent(String(newCategoryId))
4984
4984
  );
@@ -4944,7 +4944,7 @@ var MezonApi = class {
4944
4944
  "'body' is a required parameter but is null or undefined."
4945
4945
  );
4946
4946
  }
4947
- const urlPath = "/v2/rolechannel/category/{newCategoryId}".replace(
4947
+ const urlPath = "/v2/channel/category/{newCategoryId}".replace(
4948
4948
  "{newCategoryId}",
4949
4949
  encodeURIComponent(String(newCategoryId))
4950
4950
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.10.83",
4
+ "version": "2.10.85",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"