mezon-js 2.11.18 → 2.11.19

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/client.ts CHANGED
@@ -535,12 +535,6 @@ export interface ApiUpdateClanProfileRequest {
535
535
  export interface ApiUpdateRoleRequest {
536
536
  /** The ID of the role to update. */
537
537
  role_id: string;
538
- title: string | undefined;
539
- color: string | undefined;
540
- role_icon: string | undefined;
541
- description: string | undefined;
542
- display_online: number | undefined;
543
- allow_mention: number | undefined;
544
538
  /** The users to add. */
545
539
  add_user_ids: string[];
546
540
  /** The permissions to add. */
@@ -552,6 +546,12 @@ export interface ApiUpdateRoleRequest {
552
546
  //
553
547
  clan_id: string;
554
548
  max_permission_id: string;
549
+ title?: string | undefined;
550
+ color?: string | undefined;
551
+ role_icon?: string | undefined;
552
+ description?: string | undefined;
553
+ display_online?: number | undefined;
554
+ allow_mention?: number | undefined;
555
555
  }
556
556
 
557
557
  /** A client for Mezon server. */
package/dist/client.d.ts CHANGED
@@ -318,12 +318,6 @@ export interface ApiUpdateClanProfileRequest {
318
318
  export interface ApiUpdateRoleRequest {
319
319
  /** The ID of the role to update. */
320
320
  role_id: string;
321
- title: string | undefined;
322
- color: string | undefined;
323
- role_icon: string | undefined;
324
- description: string | undefined;
325
- display_online: number | undefined;
326
- allow_mention: number | undefined;
327
321
  /** The users to add. */
328
322
  add_user_ids: string[];
329
323
  /** The permissions to add. */
@@ -334,6 +328,12 @@ export interface ApiUpdateRoleRequest {
334
328
  remove_permission_ids: string[];
335
329
  clan_id: string;
336
330
  max_permission_id: string;
331
+ title?: string | undefined;
332
+ color?: string | undefined;
333
+ role_icon?: string | undefined;
334
+ description?: string | undefined;
335
+ display_online?: number | undefined;
336
+ allow_mention?: number | undefined;
337
337
  }
338
338
  /** A client for Mezon server. */
339
339
  export declare class Client {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.11.18",
4
+ "version": "2.11.19",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"