mezon-js 2.11.27 → 2.11.29

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 CHANGED
@@ -2027,6 +2027,8 @@ export interface ApiPinMessage {
2027
2027
  sender_id?: string;
2028
2028
  //
2029
2029
  username?: string;
2030
+ //
2031
+ attachment?: string;
2030
2032
  }
2031
2033
 
2032
2034
  /** */
@@ -2172,7 +2174,7 @@ export interface ApiRole {
2172
2174
  //
2173
2175
  title?: string;
2174
2176
  //
2175
- order_role ?: number;
2177
+ order_role?: number;
2176
2178
  }
2177
2179
 
2178
2180
  /** A list of role description, usually a result of a list operation. */
@@ -7320,7 +7322,7 @@ export class MezonApi {
7320
7322
  clanId?: string,
7321
7323
  options: any = {}
7322
7324
  ): Promise<ApiNotificationChannelCategorySettingList> {
7323
- const urlPath = "/v2/getChannelCategoryNotiSettingsList";
7325
+ const urlPath = "/v2/getchannelcategorynotisettingslist";
7324
7326
  const queryParams = new Map<string, any>();
7325
7327
  queryParams.set("clan_id", clanId);
7326
7328
 
package/dist/api.gen.d.ts CHANGED
@@ -1161,6 +1161,7 @@ export interface ApiPinMessage {
1161
1161
  message_id?: string;
1162
1162
  sender_id?: string;
1163
1163
  username?: string;
1164
+ attachment?: string;
1164
1165
  }
1165
1166
  /** */
1166
1167
  export interface ApiPinMessageRequest {
@@ -3978,7 +3978,7 @@ var MezonApi = class {
3978
3978
  }
3979
3979
  /** List GetChannelCategoryNotiSettingsList */
3980
3980
  getChannelCategoryNotiSettingsList(bearerToken, clanId, options = {}) {
3981
- const urlPath = "/v2/getChannelCategoryNotiSettingsList";
3981
+ const urlPath = "/v2/getchannelcategorynotisettingslist";
3982
3982
  const queryParams = /* @__PURE__ */ new Map();
3983
3983
  queryParams.set("clan_id", clanId);
3984
3984
  let bodyJson = "";
@@ -3944,7 +3944,7 @@ var MezonApi = class {
3944
3944
  }
3945
3945
  /** List GetChannelCategoryNotiSettingsList */
3946
3946
  getChannelCategoryNotiSettingsList(bearerToken, clanId, options = {}) {
3947
- const urlPath = "/v2/getChannelCategoryNotiSettingsList";
3947
+ const urlPath = "/v2/getchannelcategorynotisettingslist";
3948
3948
  const queryParams = /* @__PURE__ */ new Map();
3949
3949
  queryParams.set("clan_id", clanId);
3950
3950
  let bodyJson = "";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.11.27",
4
+ "version": "2.11.29",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"