@onereach/types-hitl-api 0.0.79 → 0.0.80

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.
@@ -23,13 +23,15 @@ export interface ISearchRuleGroupsResponse {
23
23
  }
24
24
  export type ICreateRuleGroupQuery = ITargetAccountId;
25
25
  export interface ICreateRuleGroupBody {
26
- readonly accountId: string;
26
+ readonly groupId?: string;
27
27
  readonly name: string;
28
28
  readonly rules: string[];
29
29
  }
30
30
  export type IUpdateRuleGroupQuery = ITargetAccountId;
31
- export interface IUpdateRuleGroupBody extends ICreateRuleGroupBody {
31
+ export interface IUpdateRuleGroupBody {
32
32
  readonly groupId: string;
33
+ readonly name: string;
34
+ readonly rules: string[];
33
35
  }
34
36
  export interface IDeleteRuleGroupQuery extends ITargetAccountId {
35
37
  readonly groupId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/types-hitl-api",
3
- "version": "0.0.79",
3
+ "version": "0.0.80",
4
4
  "author": "OneReach.ai",
5
5
  "main": "dist/types/index.types.js",
6
6
  "types": "dist/types/index.types.d.ts",