mezon-js 2.7.89 → 2.7.91

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -143,6 +143,10 @@ export interface MezonUpdateUserProfileByClanBody {
143
143
 
144
144
  /** */
145
145
  export interface MezonUpdateWebhookByIdBody {
146
+ //
147
+ avatar?: string;
148
+ //
149
+ channel_id?: string;
146
150
  //
147
151
  webhook_name?: string;
148
152
  }
@@ -1521,6 +1525,8 @@ export interface ApiWebhook {
1521
1525
  //
1522
1526
  active?: number;
1523
1527
  //
1528
+ avatar?: string;
1529
+ //
1524
1530
  channel_id?: string;
1525
1531
  //
1526
1532
  create_time?: string;
@@ -1538,6 +1544,8 @@ export interface ApiWebhook {
1538
1544
 
1539
1545
  /** */
1540
1546
  export interface ApiWebhookCreateRequest {
1547
+ //
1548
+ avatar?: string;
1541
1549
  //
1542
1550
  channel_id?: string;
1543
1551
  //
@@ -1546,6 +1554,8 @@ export interface ApiWebhookCreateRequest {
1546
1554
 
1547
1555
  /** */
1548
1556
  export interface ApiWebhookGenerateResponse {
1557
+ //
1558
+ avatar?: string;
1549
1559
  //
1550
1560
  channel_id?: string;
1551
1561
  //
package/dist/api.gen.d.ts CHANGED
@@ -79,6 +79,8 @@ export interface MezonUpdateUserProfileByClanBody {
79
79
  }
80
80
  /** */
81
81
  export interface MezonUpdateWebhookByIdBody {
82
+ avatar?: string;
83
+ channel_id?: string;
82
84
  webhook_name?: string;
83
85
  }
84
86
  /** A single user-role pair. */
@@ -877,6 +879,7 @@ export interface ApiVoiceChannelUserList {
877
879
  /** */
878
880
  export interface ApiWebhook {
879
881
  active?: number;
882
+ avatar?: string;
880
883
  channel_id?: string;
881
884
  create_time?: string;
882
885
  creator_id?: string;
@@ -887,11 +890,13 @@ export interface ApiWebhook {
887
890
  }
888
891
  /** */
889
892
  export interface ApiWebhookCreateRequest {
893
+ avatar?: string;
890
894
  channel_id?: string;
891
895
  webhook_name?: string;
892
896
  }
893
897
  /** */
894
898
  export interface ApiWebhookGenerateResponse {
899
+ avatar?: string;
895
900
  channel_id?: string;
896
901
  hook_name?: string;
897
902
  url?: string;
package/dist/socket.d.ts CHANGED
@@ -77,6 +77,7 @@ export interface UserChannelAddedEvent {
77
77
  users: AddUsers[];
78
78
  status: string;
79
79
  clan_id: string;
80
+ channel_type: number;
80
81
  }
81
82
  export interface AddUsers {
82
83
  user_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.89",
3
+ "version": "2.7.91",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -98,6 +98,8 @@ export interface UserChannelAddedEvent {
98
98
  status: string;
99
99
  // the clan id
100
100
  clan_id: string;
101
+ // the channel type
102
+ channel_type: number;
101
103
  }
102
104
 
103
105
  export interface AddUsers {