@incident-io/sdk 2.2.0 → 2.3.0

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.
@@ -16,6 +16,10 @@ import type { GroupingKeyV3 } from './GroupingKeyV3.js';
16
16
  * @interface GroupingSettingsV3
17
17
  */
18
18
  export interface GroupingSettingsV3 {
19
+ /**
20
+ * Use AI to group similar looking alerts. AI alert grouping can only group alerts that are attributed to the same team, so grouping keys must only contain the team alert attribute. Private alerts are grouped by key alone unless AI incident access allows private incidents and alerts. Omit it on an update to keep the current value.
21
+ */
22
+ ai_enabled?: boolean;
19
23
  /**
20
24
  * Whether grouping is enabled
21
25
  */
@@ -43,6 +43,7 @@ function GroupingSettingsV3FromJSONTyped(json, ignoreDiscriminator) {
43
43
  return json;
44
44
  }
45
45
  return {
46
+ 'ai_enabled': json['ai_enabled'] == null ? undefined : json['ai_enabled'],
46
47
  'enabled': json['enabled'],
47
48
  'grouping_keys': json['grouping_keys'] == null ? undefined : (json['grouping_keys'].map(GroupingKeyV3_js_1.GroupingKeyV3FromJSON)),
48
49
  'window_seconds': json['window_seconds'] == null ? undefined : json['window_seconds'],
@@ -57,6 +58,7 @@ function GroupingSettingsV3ToJSONTyped(value, ignoreDiscriminator = false) {
57
58
  return value;
58
59
  }
59
60
  return {
61
+ 'ai_enabled': value['ai_enabled'],
60
62
  'enabled': value['enabled'],
61
63
  'grouping_keys': value['grouping_keys'] == null ? undefined : (value['grouping_keys'].map(GroupingKeyV3_js_1.GroupingKeyV3ToJSON)),
62
64
  'window_seconds': value['window_seconds'],
@@ -1 +1 @@
1
- export declare const VERSION = "2.2.0";
1
+ export declare const VERSION = "2.3.0";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Written by `make build` from package.json. Do not edit.
5
- exports.VERSION = "2.2.0";
5
+ exports.VERSION = "2.3.0";
@@ -16,6 +16,10 @@ import type { GroupingKeyV3 } from './GroupingKeyV3.js';
16
16
  * @interface GroupingSettingsV3
17
17
  */
18
18
  export interface GroupingSettingsV3 {
19
+ /**
20
+ * Use AI to group similar looking alerts. AI alert grouping can only group alerts that are attributed to the same team, so grouping keys must only contain the team alert attribute. Private alerts are grouped by key alone unless AI incident access allows private incidents and alerts. Omit it on an update to keep the current value.
21
+ */
22
+ ai_enabled?: boolean;
19
23
  /**
20
24
  * Whether grouping is enabled
21
25
  */
@@ -35,6 +35,7 @@ export function GroupingSettingsV3FromJSONTyped(json, ignoreDiscriminator) {
35
35
  return json;
36
36
  }
37
37
  return {
38
+ 'ai_enabled': json['ai_enabled'] == null ? undefined : json['ai_enabled'],
38
39
  'enabled': json['enabled'],
39
40
  'grouping_keys': json['grouping_keys'] == null ? undefined : (json['grouping_keys'].map(GroupingKeyV3FromJSON)),
40
41
  'window_seconds': json['window_seconds'] == null ? undefined : json['window_seconds'],
@@ -49,6 +50,7 @@ export function GroupingSettingsV3ToJSONTyped(value, ignoreDiscriminator = false
49
50
  return value;
50
51
  }
51
52
  return {
53
+ 'ai_enabled': value['ai_enabled'],
52
54
  'enabled': value['enabled'],
53
55
  'grouping_keys': value['grouping_keys'] == null ? undefined : (value['grouping_keys'].map(GroupingKeyV3ToJSON)),
54
56
  'window_seconds': value['window_seconds'],
@@ -1 +1 @@
1
- export declare const VERSION = "2.2.0";
1
+ export declare const VERSION = "2.3.0";
@@ -1,2 +1,2 @@
1
1
  // Written by `make build` from package.json. Do not edit.
2
- export const VERSION = "2.2.0";
2
+ export const VERSION = "2.3.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incident-io/sdk",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "TypeScript SDK for the incident.io API",
5
5
  "license": "MIT",
6
6
  "author": "incident.io <support@incident.io>",