mezon-js 2.7.94 → 2.7.95

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
@@ -1329,7 +1329,7 @@ export interface ApiSetMuteNotificationRequest {
1329
1329
  /** */
1330
1330
  export interface ApiSetNotificationRequest {
1331
1331
  //
1332
- channel_id?: string;
1332
+ channel_category_id?: string;
1333
1333
  //
1334
1334
  notification_type?: number;
1335
1335
  //
@@ -4865,7 +4865,7 @@ export class MezonApi {
4865
4865
 
4866
4866
  /** set notification user channel. */
4867
4867
  setNotificationCategorySetting(bearerToken: string,
4868
- body:ApiSetDefaultNotificationRequest,
4868
+ body:ApiSetNotificationRequest,
4869
4869
  options: any = {}): Promise<any> {
4870
4870
 
4871
4871
  if (body === null || body === undefined) {
@@ -4935,7 +4935,7 @@ export class MezonApi {
4935
4935
  /** notification selected */
4936
4936
  getNotificationCategorySetting(bearerToken: string,
4937
4937
  categoryId?:string,
4938
- options: any = {}): Promise<ApiNotificationSetting> {
4938
+ options: any = {}): Promise<ApiNotificationUserChannel> {
4939
4939
 
4940
4940
  const urlPath = "/v2/notificationusercategory/get";
4941
4941
  const queryParams = new Map<string, any>();
package/dist/api.gen.d.ts CHANGED
@@ -766,7 +766,7 @@ export interface ApiSetMuteNotificationRequest {
766
766
  }
767
767
  /** */
768
768
  export interface ApiSetNotificationRequest {
769
- channel_id?: string;
769
+ channel_category_id?: string;
770
770
  notification_type?: number;
771
771
  time_mute?: string;
772
772
  }
@@ -1118,11 +1118,11 @@ export declare class MezonApi {
1118
1118
  /** set notification user channel. */
1119
1119
  setNotificationClanSetting(bearerToken: string, body: ApiSetDefaultNotificationRequest, options?: any): Promise<any>;
1120
1120
  /** set notification user channel. */
1121
- setNotificationCategorySetting(bearerToken: string, body: ApiSetDefaultNotificationRequest, options?: any): Promise<any>;
1121
+ setNotificationCategorySetting(bearerToken: string, body: ApiSetNotificationRequest, options?: any): Promise<any>;
1122
1122
  /** */
1123
1123
  deleteNotificationCategorySetting(bearerToken: string, categoryId?: string, options?: any): Promise<any>;
1124
1124
  /** notification selected */
1125
- getNotificationCategorySetting(bearerToken: string, categoryId?: string, options?: any): Promise<ApiNotificationSetting>;
1125
+ getNotificationCategorySetting(bearerToken: string, categoryId?: string, options?: any): Promise<ApiNotificationUserChannel>;
1126
1126
  /** */
1127
1127
  deleteNotificationChannel(bearerToken: string, channelId?: string, options?: any): Promise<any>;
1128
1128
  /** notification selected */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.94",
3
+ "version": "2.7.95",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },