@livetiles/reach-plugin-types 0.5.0-preview.1219 → 0.5.0-preview.1220

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +11 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3841,6 +3841,15 @@ declare module "libs/reach/util/common/src/reach-2/channels/types" {
3841
3841
  id: string;
3842
3842
  permission: number;
3843
3843
  }
3844
+ export interface IUpdateChannelGroupsParams {
3845
+ id: string;
3846
+ groups: {
3847
+ id: string;
3848
+ }[];
3849
+ }
3850
+ export interface IUpdateChannelGroupsResponse {
3851
+ id: string;
3852
+ }
3844
3853
  export interface IChannelGroupUser {
3845
3854
  displayName: string;
3846
3855
  id: string;
@@ -3883,7 +3892,7 @@ declare module "libs/reach/util/common/src/reach-2/hooks/index" {
3883
3892
  }
3884
3893
  declare module "libs/reach/util/common/src/reach-2/channels/useChannelsQuery" {
3885
3894
  import { IPagedQueryParams } from "libs/reach/util/common/src/reach-2/types";
3886
- import { IChannel, IChannelDetails, IChannelGroup, IChannelGroupsQueryParams, IChannelGroupsQueryResponse, IChannelQueryResponse, ICreateChannelParams, IDeleteChannelParams, IDeleteChannelResponse, IRenameChannelParams, IRenameChannelResponse, IUpdateChannelGroupPermissionParams } from "libs/reach/util/common/src/reach-2/channels/types";
3895
+ import { IChannel, IChannelDetails, IChannelGroup, IChannelGroupsQueryParams, IChannelGroupsQueryResponse, IChannelQueryResponse, ICreateChannelParams, IDeleteChannelParams, IDeleteChannelResponse, IRenameChannelParams, IRenameChannelResponse, IUpdateChannelGroupPermissionParams, IUpdateChannelGroupsParams, IUpdateChannelGroupsResponse } from "libs/reach/util/common/src/reach-2/channels/types";
3887
3896
  export const useChannelsQuery: () => {
3888
3897
  createChannel: (channel: ICreateChannelParams) => Promise<IChannel>;
3889
3898
  deleteChannel: (deleteChannelInput: IDeleteChannelParams) => Promise<IDeleteChannelResponse>;
@@ -3892,6 +3901,7 @@ declare module "libs/reach/util/common/src/reach-2/channels/useChannelsQuery" {
3892
3901
  getChannelGroups: (params: IChannelGroupsQueryParams) => Promise<IChannelGroupsQueryResponse>;
3893
3902
  renameChannel: (channel: IRenameChannelParams) => Promise<IRenameChannelResponse>;
3894
3903
  updateChannelGroupPermission: (id: string, group: IUpdateChannelGroupPermissionParams) => Promise<IChannelGroup>;
3904
+ updateChannelGroups: (channel: IUpdateChannelGroupsParams) => Promise<IUpdateChannelGroupsResponse>;
3895
3905
  };
3896
3906
  }
3897
3907
  declare module "libs/reach/util/common/src/reach-2/channels/index" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.1219",
7
+ "version": "0.5.0-preview.1220",
8
8
  "dependencies": {}
9
9
  }