@incident-io/sdk 2.10.0 → 2.12.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.
Files changed (77) hide show
  1. package/dist/cjs/models/AuditLogExtensionPluginCreatedMetadataV2.d.ts +42 -0
  2. package/dist/cjs/models/AuditLogExtensionPluginCreatedMetadataV2.js +60 -0
  3. package/dist/cjs/models/AuditLogExtensionPluginUpdatedMetadataV2.d.ts +94 -0
  4. package/dist/cjs/models/AuditLogExtensionPluginUpdatedMetadataV2.js +82 -0
  5. package/dist/cjs/models/AuditLogInvestigationTriggerMetadataV2.d.ts +54 -0
  6. package/dist/cjs/models/AuditLogInvestigationTriggerMetadataV2.js +70 -0
  7. package/dist/cjs/models/AuditLogTargetV2.d.ts +3 -0
  8. package/dist/cjs/models/AuditLogTargetV2.js +3 -0
  9. package/dist/cjs/models/AuditLogsExtensionPluginCreatedV1.d.ts +58 -0
  10. package/dist/cjs/models/AuditLogsExtensionPluginCreatedV1.js +79 -0
  11. package/dist/cjs/models/AuditLogsExtensionPluginDeletedV1.d.ts +53 -0
  12. package/dist/cjs/models/AuditLogsExtensionPluginDeletedV1.js +74 -0
  13. package/dist/cjs/models/AuditLogsExtensionPluginUpdatedV1.d.ts +58 -0
  14. package/dist/cjs/models/AuditLogsExtensionPluginUpdatedV1.js +79 -0
  15. package/dist/cjs/models/AuditLogsGlossaryEntryCreatedV1.d.ts +53 -0
  16. package/dist/cjs/models/AuditLogsGlossaryEntryCreatedV1.js +74 -0
  17. package/dist/cjs/models/AuditLogsGlossaryEntryDeletedV1.d.ts +53 -0
  18. package/dist/cjs/models/AuditLogsGlossaryEntryDeletedV1.js +74 -0
  19. package/dist/cjs/models/AuditLogsGlossaryEntryUpdatedV1.d.ts +53 -0
  20. package/dist/cjs/models/AuditLogsGlossaryEntryUpdatedV1.js +74 -0
  21. package/dist/cjs/models/AuditLogsInvestigationTriggerCreatedV1.d.ts +58 -0
  22. package/dist/cjs/models/AuditLogsInvestigationTriggerCreatedV1.js +79 -0
  23. package/dist/cjs/models/AuditLogsInvestigationTriggerDeletedV1.d.ts +58 -0
  24. package/dist/cjs/models/AuditLogsInvestigationTriggerDeletedV1.js +79 -0
  25. package/dist/cjs/models/AuditLogsInvestigationTriggerUpdatedV1.d.ts +58 -0
  26. package/dist/cjs/models/AuditLogsInvestigationTriggerUpdatedV1.js +79 -0
  27. package/dist/cjs/models/WorkflowSlimV2.d.ts +12 -0
  28. package/dist/cjs/models/WorkflowSlimV2.js +12 -1
  29. package/dist/cjs/models/WorkflowV2.d.ts +13 -1
  30. package/dist/cjs/models/WorkflowV2.js +12 -1
  31. package/dist/cjs/models/WorkflowsCreateWorkflowPayloadV2.d.ts +13 -1
  32. package/dist/cjs/models/WorkflowsCreateWorkflowPayloadV2.js +10 -1
  33. package/dist/cjs/models/WorkflowsUpdateWorkflowPayloadV2.d.ts +13 -1
  34. package/dist/cjs/models/WorkflowsUpdateWorkflowPayloadV2.js +10 -1
  35. package/dist/cjs/models/index.d.ts +12 -0
  36. package/dist/cjs/models/index.js +12 -0
  37. package/dist/cjs/version.d.ts +1 -1
  38. package/dist/cjs/version.js +1 -1
  39. package/dist/esm/models/AuditLogExtensionPluginCreatedMetadataV2.d.ts +42 -0
  40. package/dist/esm/models/AuditLogExtensionPluginCreatedMetadataV2.js +53 -0
  41. package/dist/esm/models/AuditLogExtensionPluginUpdatedMetadataV2.d.ts +94 -0
  42. package/dist/esm/models/AuditLogExtensionPluginUpdatedMetadataV2.js +75 -0
  43. package/dist/esm/models/AuditLogInvestigationTriggerMetadataV2.d.ts +54 -0
  44. package/dist/esm/models/AuditLogInvestigationTriggerMetadataV2.js +63 -0
  45. package/dist/esm/models/AuditLogTargetV2.d.ts +3 -0
  46. package/dist/esm/models/AuditLogTargetV2.js +3 -0
  47. package/dist/esm/models/AuditLogsExtensionPluginCreatedV1.d.ts +58 -0
  48. package/dist/esm/models/AuditLogsExtensionPluginCreatedV1.js +72 -0
  49. package/dist/esm/models/AuditLogsExtensionPluginDeletedV1.d.ts +53 -0
  50. package/dist/esm/models/AuditLogsExtensionPluginDeletedV1.js +67 -0
  51. package/dist/esm/models/AuditLogsExtensionPluginUpdatedV1.d.ts +58 -0
  52. package/dist/esm/models/AuditLogsExtensionPluginUpdatedV1.js +72 -0
  53. package/dist/esm/models/AuditLogsGlossaryEntryCreatedV1.d.ts +53 -0
  54. package/dist/esm/models/AuditLogsGlossaryEntryCreatedV1.js +67 -0
  55. package/dist/esm/models/AuditLogsGlossaryEntryDeletedV1.d.ts +53 -0
  56. package/dist/esm/models/AuditLogsGlossaryEntryDeletedV1.js +67 -0
  57. package/dist/esm/models/AuditLogsGlossaryEntryUpdatedV1.d.ts +53 -0
  58. package/dist/esm/models/AuditLogsGlossaryEntryUpdatedV1.js +67 -0
  59. package/dist/esm/models/AuditLogsInvestigationTriggerCreatedV1.d.ts +58 -0
  60. package/dist/esm/models/AuditLogsInvestigationTriggerCreatedV1.js +72 -0
  61. package/dist/esm/models/AuditLogsInvestigationTriggerDeletedV1.d.ts +58 -0
  62. package/dist/esm/models/AuditLogsInvestigationTriggerDeletedV1.js +72 -0
  63. package/dist/esm/models/AuditLogsInvestigationTriggerUpdatedV1.d.ts +58 -0
  64. package/dist/esm/models/AuditLogsInvestigationTriggerUpdatedV1.js +72 -0
  65. package/dist/esm/models/WorkflowSlimV2.d.ts +12 -0
  66. package/dist/esm/models/WorkflowSlimV2.js +11 -0
  67. package/dist/esm/models/WorkflowV2.d.ts +13 -1
  68. package/dist/esm/models/WorkflowV2.js +11 -0
  69. package/dist/esm/models/WorkflowsCreateWorkflowPayloadV2.d.ts +13 -1
  70. package/dist/esm/models/WorkflowsCreateWorkflowPayloadV2.js +9 -0
  71. package/dist/esm/models/WorkflowsUpdateWorkflowPayloadV2.d.ts +13 -1
  72. package/dist/esm/models/WorkflowsUpdateWorkflowPayloadV2.js +9 -0
  73. package/dist/esm/models/index.d.ts +12 -0
  74. package/dist/esm/models/index.js +12 -0
  75. package/dist/esm/version.d.ts +1 -1
  76. package/dist/esm/version.js +1 -1
  77. package/package.json +1 -1
@@ -204,9 +204,12 @@ export * from './AuditLogEntryContextV2.js';
204
204
  export * from './AuditLogExtensionConnectorCalledMetadataV2.js';
205
205
  export * from './AuditLogExtensionConnectorCalledMetadataV2V2.js';
206
206
  export * from './AuditLogExtensionConnectorCalledMetadataV3V2.js';
207
+ export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
208
+ export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
207
209
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
208
210
  export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
209
211
  export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
212
+ export * from './AuditLogInvestigationTriggerMetadataV2.js';
210
213
  export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
211
214
  export * from './AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js';
212
215
  export * from './AuditLogOnCallNotificationMethodMetadataV2.js';
@@ -293,12 +296,18 @@ export * from './AuditLogsEscalationScrubbedV1.js';
293
296
  export * from './AuditLogsExtensionConnectorCalledV1.js';
294
297
  export * from './AuditLogsExtensionConnectorCalledV2.js';
295
298
  export * from './AuditLogsExtensionConnectorCalledV3.js';
299
+ export * from './AuditLogsExtensionPluginCreatedV1.js';
300
+ export * from './AuditLogsExtensionPluginDeletedV1.js';
301
+ export * from './AuditLogsExtensionPluginUpdatedV1.js';
296
302
  export * from './AuditLogsFollowUpCategoryCreatedV1.js';
297
303
  export * from './AuditLogsFollowUpCategoryDeletedV1.js';
298
304
  export * from './AuditLogsFollowUpCategoryUpdatedV1.js';
299
305
  export * from './AuditLogsFollowUpPriorityCreatedV1.js';
300
306
  export * from './AuditLogsFollowUpPriorityDeletedV1.js';
301
307
  export * from './AuditLogsFollowUpPriorityUpdatedV1.js';
308
+ export * from './AuditLogsGlossaryEntryCreatedV1.js';
309
+ export * from './AuditLogsGlossaryEntryDeletedV1.js';
310
+ export * from './AuditLogsGlossaryEntryUpdatedV1.js';
302
311
  export * from './AuditLogsHolidayUserFeedCreatedV1.js';
303
312
  export * from './AuditLogsHolidayUserFeedDeletedV1.js';
304
313
  export * from './AuditLogsHolidayUserFeedUpdatedV1.js';
@@ -336,6 +345,9 @@ export * from './AuditLogsIntegrationUninstalledV1.js';
336
345
  export * from './AuditLogsInternalStatusPageCreatedV1.js';
337
346
  export * from './AuditLogsInternalStatusPageDeletedV1.js';
338
347
  export * from './AuditLogsInternalStatusPageUpdatedV1.js';
348
+ export * from './AuditLogsInvestigationTriggerCreatedV1.js';
349
+ export * from './AuditLogsInvestigationTriggerDeletedV1.js';
350
+ export * from './AuditLogsInvestigationTriggerUpdatedV1.js';
339
351
  export * from './AuditLogsMaintenanceWindowCreatedV1.js';
340
352
  export * from './AuditLogsMaintenanceWindowDeletedV1.js';
341
353
  export * from './AuditLogsMaintenanceWindowUpdatedV1.js';
@@ -222,9 +222,12 @@ __exportStar(require("./AuditLogEntryContextV2.js"), exports);
222
222
  __exportStar(require("./AuditLogExtensionConnectorCalledMetadataV2.js"), exports);
223
223
  __exportStar(require("./AuditLogExtensionConnectorCalledMetadataV2V2.js"), exports);
224
224
  __exportStar(require("./AuditLogExtensionConnectorCalledMetadataV3V2.js"), exports);
225
+ __exportStar(require("./AuditLogExtensionPluginCreatedMetadataV2.js"), exports);
226
+ __exportStar(require("./AuditLogExtensionPluginUpdatedMetadataV2.js"), exports);
225
227
  __exportStar(require("./AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js"), exports);
226
228
  __exportStar(require("./AuditLogIPAllowlistUpdatedMetadataV2.js"), exports);
227
229
  __exportStar(require("./AuditLogIncidentTypeDefaultTeamsMetadataV2.js"), exports);
230
+ __exportStar(require("./AuditLogInvestigationTriggerMetadataV2.js"), exports);
228
231
  __exportStar(require("./AuditLogMicrosoftEntraTenantLinkedMetadataV2.js"), exports);
229
232
  __exportStar(require("./AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js"), exports);
230
233
  __exportStar(require("./AuditLogOnCallNotificationMethodMetadataV2.js"), exports);
@@ -311,12 +314,18 @@ __exportStar(require("./AuditLogsEscalationScrubbedV1.js"), exports);
311
314
  __exportStar(require("./AuditLogsExtensionConnectorCalledV1.js"), exports);
312
315
  __exportStar(require("./AuditLogsExtensionConnectorCalledV2.js"), exports);
313
316
  __exportStar(require("./AuditLogsExtensionConnectorCalledV3.js"), exports);
317
+ __exportStar(require("./AuditLogsExtensionPluginCreatedV1.js"), exports);
318
+ __exportStar(require("./AuditLogsExtensionPluginDeletedV1.js"), exports);
319
+ __exportStar(require("./AuditLogsExtensionPluginUpdatedV1.js"), exports);
314
320
  __exportStar(require("./AuditLogsFollowUpCategoryCreatedV1.js"), exports);
315
321
  __exportStar(require("./AuditLogsFollowUpCategoryDeletedV1.js"), exports);
316
322
  __exportStar(require("./AuditLogsFollowUpCategoryUpdatedV1.js"), exports);
317
323
  __exportStar(require("./AuditLogsFollowUpPriorityCreatedV1.js"), exports);
318
324
  __exportStar(require("./AuditLogsFollowUpPriorityDeletedV1.js"), exports);
319
325
  __exportStar(require("./AuditLogsFollowUpPriorityUpdatedV1.js"), exports);
326
+ __exportStar(require("./AuditLogsGlossaryEntryCreatedV1.js"), exports);
327
+ __exportStar(require("./AuditLogsGlossaryEntryDeletedV1.js"), exports);
328
+ __exportStar(require("./AuditLogsGlossaryEntryUpdatedV1.js"), exports);
320
329
  __exportStar(require("./AuditLogsHolidayUserFeedCreatedV1.js"), exports);
321
330
  __exportStar(require("./AuditLogsHolidayUserFeedDeletedV1.js"), exports);
322
331
  __exportStar(require("./AuditLogsHolidayUserFeedUpdatedV1.js"), exports);
@@ -354,6 +363,9 @@ __exportStar(require("./AuditLogsIntegrationUninstalledV1.js"), exports);
354
363
  __exportStar(require("./AuditLogsInternalStatusPageCreatedV1.js"), exports);
355
364
  __exportStar(require("./AuditLogsInternalStatusPageDeletedV1.js"), exports);
356
365
  __exportStar(require("./AuditLogsInternalStatusPageUpdatedV1.js"), exports);
366
+ __exportStar(require("./AuditLogsInvestigationTriggerCreatedV1.js"), exports);
367
+ __exportStar(require("./AuditLogsInvestigationTriggerDeletedV1.js"), exports);
368
+ __exportStar(require("./AuditLogsInvestigationTriggerUpdatedV1.js"), exports);
357
369
  __exportStar(require("./AuditLogsMaintenanceWindowCreatedV1.js"), exports);
358
370
  __exportStar(require("./AuditLogsMaintenanceWindowDeletedV1.js"), exports);
359
371
  __exportStar(require("./AuditLogsMaintenanceWindowUpdatedV1.js"), exports);
@@ -1 +1 @@
1
- export declare const VERSION = "2.10.0";
1
+ export declare const VERSION = "2.12.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.10.0";
5
+ exports.VERSION = "2.12.0";
@@ -0,0 +1,42 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AuditLogExtensionPluginCreatedMetadataV2
16
+ */
17
+ export interface AuditLogExtensionPluginCreatedMetadataV2 {
18
+ /**
19
+ * The source control provider the plugin's repository lives in (github, gitlab)
20
+ */
21
+ provider: string;
22
+ /**
23
+ * The name of the plugin's repository
24
+ */
25
+ repo_name: string;
26
+ /**
27
+ * The owner of the plugin's repository, including any GitLab group path
28
+ */
29
+ repo_owner: string;
30
+ /**
31
+ * The plugin's directory within the repository, absent when the plugin is the repository root
32
+ */
33
+ subpath?: string;
34
+ }
35
+ /**
36
+ * Check if a given object implements the AuditLogExtensionPluginCreatedMetadataV2 interface.
37
+ */
38
+ export declare function instanceOfAuditLogExtensionPluginCreatedMetadataV2(value: object): value is AuditLogExtensionPluginCreatedMetadataV2;
39
+ export declare function AuditLogExtensionPluginCreatedMetadataV2FromJSON(json: any): AuditLogExtensionPluginCreatedMetadataV2;
40
+ export declare function AuditLogExtensionPluginCreatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionPluginCreatedMetadataV2;
41
+ export declare function AuditLogExtensionPluginCreatedMetadataV2ToJSON(json: any): AuditLogExtensionPluginCreatedMetadataV2;
42
+ export declare function AuditLogExtensionPluginCreatedMetadataV2ToJSONTyped(value?: AuditLogExtensionPluginCreatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the AuditLogExtensionPluginCreatedMetadataV2 interface.
16
+ */
17
+ export function instanceOfAuditLogExtensionPluginCreatedMetadataV2(value) {
18
+ if (!('provider' in value) || value['provider'] === undefined)
19
+ return false;
20
+ if (!('repo_name' in value) || value['repo_name'] === undefined)
21
+ return false;
22
+ if (!('repo_owner' in value) || value['repo_owner'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function AuditLogExtensionPluginCreatedMetadataV2FromJSON(json) {
27
+ return AuditLogExtensionPluginCreatedMetadataV2FromJSONTyped(json, false);
28
+ }
29
+ export function AuditLogExtensionPluginCreatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'provider': json['provider'],
35
+ 'repo_name': json['repo_name'],
36
+ 'repo_owner': json['repo_owner'],
37
+ 'subpath': json['subpath'] == null ? undefined : json['subpath'],
38
+ };
39
+ }
40
+ export function AuditLogExtensionPluginCreatedMetadataV2ToJSON(json) {
41
+ return AuditLogExtensionPluginCreatedMetadataV2ToJSONTyped(json, false);
42
+ }
43
+ export function AuditLogExtensionPluginCreatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'provider': value['provider'],
49
+ 'repo_name': value['repo_name'],
50
+ 'repo_owner': value['repo_owner'],
51
+ 'subpath': value['subpath'],
52
+ };
53
+ }
@@ -0,0 +1,94 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AuditLogExtensionPluginUpdatedMetadataV2
16
+ */
17
+ export interface AuditLogExtensionPluginUpdatedMetadataV2 {
18
+ /**
19
+ * Whether the plugin is mounted into agent runs after the change (true, false)
20
+ */
21
+ after_enabled?: string;
22
+ /**
23
+ * How many skills are selected after the change, absent when every skill loads
24
+ */
25
+ after_enabled_skill_count?: string;
26
+ /**
27
+ * The plugin's name after the change
28
+ */
29
+ after_name?: string;
30
+ /**
31
+ * The source control provider of the plugin's new repository (github, gitlab)
32
+ */
33
+ after_provider?: string;
34
+ /**
35
+ * The name of the plugin's new repository
36
+ */
37
+ after_repo_name?: string;
38
+ /**
39
+ * The owner of the plugin's new repository
40
+ */
41
+ after_repo_owner?: string;
42
+ /**
43
+ * Which skills load after the change: every skill, or only the selected ones (automatic, selected)
44
+ */
45
+ after_skill_selection_mode?: string;
46
+ /**
47
+ * The plugin's new directory within its repository, absent when it is the repository root
48
+ */
49
+ after_subpath?: string;
50
+ /**
51
+ * Whether the plugin was mounted into agent runs before the change (true, false)
52
+ */
53
+ before_enabled?: string;
54
+ /**
55
+ * How many skills were selected before the change, absent when every skill loaded
56
+ */
57
+ before_enabled_skill_count?: string;
58
+ /**
59
+ * The plugin's name before the change
60
+ */
61
+ before_name?: string;
62
+ /**
63
+ * The source control provider of the plugin's previous repository (github, gitlab)
64
+ */
65
+ before_provider?: string;
66
+ /**
67
+ * The name of the plugin's previous repository
68
+ */
69
+ before_repo_name?: string;
70
+ /**
71
+ * The owner of the plugin's previous repository
72
+ */
73
+ before_repo_owner?: string;
74
+ /**
75
+ * Which skills loaded before the change: every skill, or only the selected ones (automatic, selected)
76
+ */
77
+ before_skill_selection_mode?: string;
78
+ /**
79
+ * The plugin's previous directory within its repository, absent when it was the repository root
80
+ */
81
+ before_subpath?: string;
82
+ /**
83
+ * What the update changed, comma separated (enabled, skill_selection, name, location)
84
+ */
85
+ changed: string;
86
+ }
87
+ /**
88
+ * Check if a given object implements the AuditLogExtensionPluginUpdatedMetadataV2 interface.
89
+ */
90
+ export declare function instanceOfAuditLogExtensionPluginUpdatedMetadataV2(value: object): value is AuditLogExtensionPluginUpdatedMetadataV2;
91
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2FromJSON(json: any): AuditLogExtensionPluginUpdatedMetadataV2;
92
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionPluginUpdatedMetadataV2;
93
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2ToJSON(json: any): AuditLogExtensionPluginUpdatedMetadataV2;
94
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2ToJSONTyped(value?: AuditLogExtensionPluginUpdatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the AuditLogExtensionPluginUpdatedMetadataV2 interface.
16
+ */
17
+ export function instanceOfAuditLogExtensionPluginUpdatedMetadataV2(value) {
18
+ if (!('changed' in value) || value['changed'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AuditLogExtensionPluginUpdatedMetadataV2FromJSON(json) {
23
+ return AuditLogExtensionPluginUpdatedMetadataV2FromJSONTyped(json, false);
24
+ }
25
+ export function AuditLogExtensionPluginUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'after_enabled': json['after_enabled'] == null ? undefined : json['after_enabled'],
31
+ 'after_enabled_skill_count': json['after_enabled_skill_count'] == null ? undefined : json['after_enabled_skill_count'],
32
+ 'after_name': json['after_name'] == null ? undefined : json['after_name'],
33
+ 'after_provider': json['after_provider'] == null ? undefined : json['after_provider'],
34
+ 'after_repo_name': json['after_repo_name'] == null ? undefined : json['after_repo_name'],
35
+ 'after_repo_owner': json['after_repo_owner'] == null ? undefined : json['after_repo_owner'],
36
+ 'after_skill_selection_mode': json['after_skill_selection_mode'] == null ? undefined : json['after_skill_selection_mode'],
37
+ 'after_subpath': json['after_subpath'] == null ? undefined : json['after_subpath'],
38
+ 'before_enabled': json['before_enabled'] == null ? undefined : json['before_enabled'],
39
+ 'before_enabled_skill_count': json['before_enabled_skill_count'] == null ? undefined : json['before_enabled_skill_count'],
40
+ 'before_name': json['before_name'] == null ? undefined : json['before_name'],
41
+ 'before_provider': json['before_provider'] == null ? undefined : json['before_provider'],
42
+ 'before_repo_name': json['before_repo_name'] == null ? undefined : json['before_repo_name'],
43
+ 'before_repo_owner': json['before_repo_owner'] == null ? undefined : json['before_repo_owner'],
44
+ 'before_skill_selection_mode': json['before_skill_selection_mode'] == null ? undefined : json['before_skill_selection_mode'],
45
+ 'before_subpath': json['before_subpath'] == null ? undefined : json['before_subpath'],
46
+ 'changed': json['changed'],
47
+ };
48
+ }
49
+ export function AuditLogExtensionPluginUpdatedMetadataV2ToJSON(json) {
50
+ return AuditLogExtensionPluginUpdatedMetadataV2ToJSONTyped(json, false);
51
+ }
52
+ export function AuditLogExtensionPluginUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'after_enabled': value['after_enabled'],
58
+ 'after_enabled_skill_count': value['after_enabled_skill_count'],
59
+ 'after_name': value['after_name'],
60
+ 'after_provider': value['after_provider'],
61
+ 'after_repo_name': value['after_repo_name'],
62
+ 'after_repo_owner': value['after_repo_owner'],
63
+ 'after_skill_selection_mode': value['after_skill_selection_mode'],
64
+ 'after_subpath': value['after_subpath'],
65
+ 'before_enabled': value['before_enabled'],
66
+ 'before_enabled_skill_count': value['before_enabled_skill_count'],
67
+ 'before_name': value['before_name'],
68
+ 'before_provider': value['before_provider'],
69
+ 'before_repo_name': value['before_repo_name'],
70
+ 'before_repo_owner': value['before_repo_owner'],
71
+ 'before_skill_selection_mode': value['before_skill_selection_mode'],
72
+ 'before_subpath': value['before_subpath'],
73
+ 'changed': value['changed'],
74
+ };
75
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AuditLogInvestigationTriggerMetadataV2
16
+ */
17
+ export interface AuditLogInvestigationTriggerMetadataV2 {
18
+ /**
19
+ * Whether the investigation waits for the trigger to finish before moving on (true, false)
20
+ */
21
+ blocks: string;
22
+ /**
23
+ * Whether the trigger fires (true, false)
24
+ */
25
+ enabled: string;
26
+ /**
27
+ * How often the trigger fires across one investigation
28
+ */
29
+ frequency: string;
30
+ /**
31
+ * When in an investigation the trigger runs
32
+ */
33
+ moment: string;
34
+ /**
35
+ * The extension plugin holding the skill the trigger runs, absent for a trigger that only gives a task
36
+ */
37
+ plugin_id?: string;
38
+ /**
39
+ * The skill directory the trigger runs, absent when the trigger leaves the choice of skill to the investigation
40
+ */
41
+ skill?: string;
42
+ /**
43
+ * Whether the trigger hands the agent a task of its own (true, false)
44
+ */
45
+ task_set: string;
46
+ }
47
+ /**
48
+ * Check if a given object implements the AuditLogInvestigationTriggerMetadataV2 interface.
49
+ */
50
+ export declare function instanceOfAuditLogInvestigationTriggerMetadataV2(value: object): value is AuditLogInvestigationTriggerMetadataV2;
51
+ export declare function AuditLogInvestigationTriggerMetadataV2FromJSON(json: any): AuditLogInvestigationTriggerMetadataV2;
52
+ export declare function AuditLogInvestigationTriggerMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogInvestigationTriggerMetadataV2;
53
+ export declare function AuditLogInvestigationTriggerMetadataV2ToJSON(json: any): AuditLogInvestigationTriggerMetadataV2;
54
+ export declare function AuditLogInvestigationTriggerMetadataV2ToJSONTyped(value?: AuditLogInvestigationTriggerMetadataV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the AuditLogInvestigationTriggerMetadataV2 interface.
16
+ */
17
+ export function instanceOfAuditLogInvestigationTriggerMetadataV2(value) {
18
+ if (!('blocks' in value) || value['blocks'] === undefined)
19
+ return false;
20
+ if (!('enabled' in value) || value['enabled'] === undefined)
21
+ return false;
22
+ if (!('frequency' in value) || value['frequency'] === undefined)
23
+ return false;
24
+ if (!('moment' in value) || value['moment'] === undefined)
25
+ return false;
26
+ if (!('task_set' in value) || value['task_set'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function AuditLogInvestigationTriggerMetadataV2FromJSON(json) {
31
+ return AuditLogInvestigationTriggerMetadataV2FromJSONTyped(json, false);
32
+ }
33
+ export function AuditLogInvestigationTriggerMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'blocks': json['blocks'],
39
+ 'enabled': json['enabled'],
40
+ 'frequency': json['frequency'],
41
+ 'moment': json['moment'],
42
+ 'plugin_id': json['plugin_id'] == null ? undefined : json['plugin_id'],
43
+ 'skill': json['skill'] == null ? undefined : json['skill'],
44
+ 'task_set': json['task_set'],
45
+ };
46
+ }
47
+ export function AuditLogInvestigationTriggerMetadataV2ToJSON(json) {
48
+ return AuditLogInvestigationTriggerMetadataV2ToJSONTyped(json, false);
49
+ }
50
+ export function AuditLogInvestigationTriggerMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'blocks': value['blocks'],
56
+ 'enabled': value['enabled'],
57
+ 'frequency': value['frequency'],
58
+ 'moment': value['moment'],
59
+ 'plugin_id': value['plugin_id'],
60
+ 'skill': value['skill'],
61
+ 'task_set': value['task_set'],
62
+ };
63
+ }
@@ -52,6 +52,9 @@ export declare const AuditLogTargetV2TypeEnum: {
52
52
  readonly EscalationPathTemplate: "escalation_path_template";
53
53
  readonly ExtensionConnector: "extension_connector";
54
54
  readonly ExtensionConnectorTool: "extension_connector_tool";
55
+ readonly ExtensionPlugin: "extension_plugin";
56
+ readonly GlossaryEntry: "glossary_entry";
57
+ readonly InvestigationTrigger: "investigation_trigger";
55
58
  readonly FollowUpCategory: "follow_up_category";
56
59
  readonly FollowUpPriority: "follow_up_priority";
57
60
  readonly HolidayUserFeed: "holiday_user_feed";
@@ -35,6 +35,9 @@ export const AuditLogTargetV2TypeEnum = {
35
35
  EscalationPathTemplate: 'escalation_path_template',
36
36
  ExtensionConnector: 'extension_connector',
37
37
  ExtensionConnectorTool: 'extension_connector_tool',
38
+ ExtensionPlugin: 'extension_plugin',
39
+ GlossaryEntry: 'glossary_entry',
40
+ InvestigationTrigger: 'investigation_trigger',
38
41
  FollowUpCategory: 'follow_up_category',
39
42
  FollowUpPriority: 'follow_up_priority',
40
43
  HolidayUserFeed: 'holiday_user_feed',
@@ -0,0 +1,58 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
13
+ import type { AuditLogExtensionPluginCreatedMetadataV2 } from './AuditLogExtensionPluginCreatedMetadataV2.js';
14
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsExtensionPluginCreatedV1
20
+ */
21
+ export interface AuditLogsExtensionPluginCreatedV1 {
22
+ /**
23
+ * The type of log entry that this is
24
+ */
25
+ action: string;
26
+ /**
27
+ *
28
+ */
29
+ actor: AuditLogActorV2;
30
+ /**
31
+ *
32
+ */
33
+ context: AuditLogEntryContextV2;
34
+ /**
35
+ *
36
+ */
37
+ metadata: AuditLogExtensionPluginCreatedMetadataV2;
38
+ /**
39
+ * When the entry occurred
40
+ */
41
+ occurred_at: Date;
42
+ /**
43
+ * The custom field that was created
44
+ */
45
+ targets: Array<AuditLogTargetV2>;
46
+ /**
47
+ * Which version the event is
48
+ */
49
+ version: number;
50
+ }
51
+ /**
52
+ * Check if a given object implements the AuditLogsExtensionPluginCreatedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsExtensionPluginCreatedV1(value: object): value is AuditLogsExtensionPluginCreatedV1;
55
+ export declare function AuditLogsExtensionPluginCreatedV1FromJSON(json: any): AuditLogsExtensionPluginCreatedV1;
56
+ export declare function AuditLogsExtensionPluginCreatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsExtensionPluginCreatedV1;
57
+ export declare function AuditLogsExtensionPluginCreatedV1ToJSON(json: any): AuditLogsExtensionPluginCreatedV1;
58
+ export declare function AuditLogsExtensionPluginCreatedV1ToJSONTyped(value?: AuditLogsExtensionPluginCreatedV1 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { parseDateTime, serializeDateTime } from '../runtime.js';
15
+ import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
16
+ import { AuditLogExtensionPluginCreatedMetadataV2FromJSON, AuditLogExtensionPluginCreatedMetadataV2ToJSON, } from './AuditLogExtensionPluginCreatedMetadataV2.js';
17
+ import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
18
+ import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
19
+ /**
20
+ * Check if a given object implements the AuditLogsExtensionPluginCreatedV1 interface.
21
+ */
22
+ export function instanceOfAuditLogsExtensionPluginCreatedV1(value) {
23
+ if (!('action' in value) || value['action'] === undefined)
24
+ return false;
25
+ if (!('actor' in value) || value['actor'] === undefined)
26
+ return false;
27
+ if (!('context' in value) || value['context'] === undefined)
28
+ return false;
29
+ if (!('metadata' in value) || value['metadata'] === undefined)
30
+ return false;
31
+ if (!('occurred_at' in value) || value['occurred_at'] === undefined)
32
+ return false;
33
+ if (!('targets' in value) || value['targets'] === undefined)
34
+ return false;
35
+ if (!('version' in value) || value['version'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ export function AuditLogsExtensionPluginCreatedV1FromJSON(json) {
40
+ return AuditLogsExtensionPluginCreatedV1FromJSONTyped(json, false);
41
+ }
42
+ export function AuditLogsExtensionPluginCreatedV1FromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'action': json['action'],
48
+ 'actor': AuditLogActorV2FromJSON(json['actor']),
49
+ 'context': AuditLogEntryContextV2FromJSON(json['context']),
50
+ 'metadata': AuditLogExtensionPluginCreatedMetadataV2FromJSON(json['metadata']),
51
+ 'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
52
+ 'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
53
+ 'version': json['version'],
54
+ };
55
+ }
56
+ export function AuditLogsExtensionPluginCreatedV1ToJSON(json) {
57
+ return AuditLogsExtensionPluginCreatedV1ToJSONTyped(json, false);
58
+ }
59
+ export function AuditLogsExtensionPluginCreatedV1ToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'action': value['action'],
65
+ 'actor': AuditLogActorV2ToJSON(value['actor']),
66
+ 'context': AuditLogEntryContextV2ToJSON(value['context']),
67
+ 'metadata': AuditLogExtensionPluginCreatedMetadataV2ToJSON(value['metadata']),
68
+ 'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
69
+ 'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
70
+ 'version': value['version'],
71
+ };
72
+ }