@incident-io/sdk 2.15.0 → 2.17.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.
- package/dist/cjs/apis/OnCallNotificationPausesV2Api.d.ts +71 -0
- package/dist/cjs/apis/OnCallNotificationPausesV2Api.js +150 -0
- package/dist/cjs/apis/index.d.ts +1 -0
- package/dist/cjs/apis/index.js +1 -0
- package/dist/cjs/models/AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.d.ts +50 -0
- package/dist/cjs/models/AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js +64 -0
- package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessPolicyChangedV2.d.ts +58 -0
- package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessPolicyChangedV2.js +79 -0
- package/dist/cjs/models/OnCallNotificationPauseV2.d.ts +54 -0
- package/dist/cjs/models/OnCallNotificationPauseV2.js +73 -0
- package/dist/cjs/models/OnCallNotificationPausesListResultV2.d.ts +36 -0
- package/dist/cjs/models/OnCallNotificationPausesListResultV2.js +56 -0
- package/dist/cjs/models/OnCallNotificationPausesShowResultV2.d.ts +31 -0
- package/dist/cjs/models/OnCallNotificationPausesShowResultV2.js +51 -0
- package/dist/cjs/models/index.d.ts +5 -0
- package/dist/cjs/models/index.js +5 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/apis/OnCallNotificationPausesV2Api.d.ts +71 -0
- package/dist/esm/apis/OnCallNotificationPausesV2Api.js +113 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.d.ts +50 -0
- package/dist/esm/models/AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js +57 -0
- package/dist/esm/models/AuditLogsTelemetryDataSourceAccessPolicyChangedV2.d.ts +58 -0
- package/dist/esm/models/AuditLogsTelemetryDataSourceAccessPolicyChangedV2.js +72 -0
- package/dist/esm/models/OnCallNotificationPauseV2.d.ts +54 -0
- package/dist/esm/models/OnCallNotificationPauseV2.js +66 -0
- package/dist/esm/models/OnCallNotificationPausesListResultV2.d.ts +36 -0
- package/dist/esm/models/OnCallNotificationPausesListResultV2.js +49 -0
- package/dist/esm/models/OnCallNotificationPausesShowResultV2.d.ts +31 -0
- package/dist/esm/models/OnCallNotificationPausesShowResultV2.js +44 -0
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOnCallNotificationPausesListResultV2 = instanceOfOnCallNotificationPausesListResultV2;
|
|
17
|
+
exports.OnCallNotificationPausesListResultV2FromJSON = OnCallNotificationPausesListResultV2FromJSON;
|
|
18
|
+
exports.OnCallNotificationPausesListResultV2FromJSONTyped = OnCallNotificationPausesListResultV2FromJSONTyped;
|
|
19
|
+
exports.OnCallNotificationPausesListResultV2ToJSON = OnCallNotificationPausesListResultV2ToJSON;
|
|
20
|
+
exports.OnCallNotificationPausesListResultV2ToJSONTyped = OnCallNotificationPausesListResultV2ToJSONTyped;
|
|
21
|
+
const OnCallNotificationPauseV2_js_1 = require("./OnCallNotificationPauseV2.js");
|
|
22
|
+
const PaginationMetaResultV2_js_1 = require("./PaginationMetaResultV2.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the OnCallNotificationPausesListResultV2 interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfOnCallNotificationPausesListResultV2(value) {
|
|
27
|
+
if (!('on_call_notification_pauses' in value) || value['on_call_notification_pauses'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('pagination_meta' in value) || value['pagination_meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function OnCallNotificationPausesListResultV2FromJSON(json) {
|
|
34
|
+
return OnCallNotificationPausesListResultV2FromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function OnCallNotificationPausesListResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'on_call_notification_pauses': (json['on_call_notification_pauses'].map(OnCallNotificationPauseV2_js_1.OnCallNotificationPauseV2FromJSON)),
|
|
42
|
+
'pagination_meta': (0, PaginationMetaResultV2_js_1.PaginationMetaResultV2FromJSON)(json['pagination_meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function OnCallNotificationPausesListResultV2ToJSON(json) {
|
|
46
|
+
return OnCallNotificationPausesListResultV2ToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function OnCallNotificationPausesListResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'on_call_notification_pauses': (value['on_call_notification_pauses'].map(OnCallNotificationPauseV2_js_1.OnCallNotificationPauseV2ToJSON)),
|
|
54
|
+
'pagination_meta': (0, PaginationMetaResultV2_js_1.PaginationMetaResultV2ToJSON)(value['pagination_meta']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { OnCallNotificationPauseV2 } from './OnCallNotificationPauseV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OnCallNotificationPausesShowResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface OnCallNotificationPausesShowResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
on_call_notification_pause: OnCallNotificationPauseV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the OnCallNotificationPausesShowResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfOnCallNotificationPausesShowResultV2(value: object): value is OnCallNotificationPausesShowResultV2;
|
|
28
|
+
export declare function OnCallNotificationPausesShowResultV2FromJSON(json: any): OnCallNotificationPausesShowResultV2;
|
|
29
|
+
export declare function OnCallNotificationPausesShowResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): OnCallNotificationPausesShowResultV2;
|
|
30
|
+
export declare function OnCallNotificationPausesShowResultV2ToJSON(json: any): OnCallNotificationPausesShowResultV2;
|
|
31
|
+
export declare function OnCallNotificationPausesShowResultV2ToJSONTyped(value?: OnCallNotificationPausesShowResultV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOnCallNotificationPausesShowResultV2 = instanceOfOnCallNotificationPausesShowResultV2;
|
|
17
|
+
exports.OnCallNotificationPausesShowResultV2FromJSON = OnCallNotificationPausesShowResultV2FromJSON;
|
|
18
|
+
exports.OnCallNotificationPausesShowResultV2FromJSONTyped = OnCallNotificationPausesShowResultV2FromJSONTyped;
|
|
19
|
+
exports.OnCallNotificationPausesShowResultV2ToJSON = OnCallNotificationPausesShowResultV2ToJSON;
|
|
20
|
+
exports.OnCallNotificationPausesShowResultV2ToJSONTyped = OnCallNotificationPausesShowResultV2ToJSONTyped;
|
|
21
|
+
const OnCallNotificationPauseV2_js_1 = require("./OnCallNotificationPauseV2.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OnCallNotificationPausesShowResultV2 interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOnCallNotificationPausesShowResultV2(value) {
|
|
26
|
+
if (!('on_call_notification_pause' in value) || value['on_call_notification_pause'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function OnCallNotificationPausesShowResultV2FromJSON(json) {
|
|
31
|
+
return OnCallNotificationPausesShowResultV2FromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function OnCallNotificationPausesShowResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'on_call_notification_pause': (0, OnCallNotificationPauseV2_js_1.OnCallNotificationPauseV2FromJSON)(json['on_call_notification_pause']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OnCallNotificationPausesShowResultV2ToJSON(json) {
|
|
42
|
+
return OnCallNotificationPausesShowResultV2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OnCallNotificationPausesShowResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'on_call_notification_pause': (0, OnCallNotificationPauseV2_js_1.OnCallNotificationPauseV2ToJSON)(value['on_call_notification_pause']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -230,6 +230,7 @@ export * from './AuditLogScheduleOverrideMetadataV2.js';
|
|
|
230
230
|
export * from './AuditLogTargetV2.js';
|
|
231
231
|
export * from './AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js';
|
|
232
232
|
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js';
|
|
233
|
+
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
|
|
233
234
|
export * from './AuditLogTelemetryDataSourceQueriedMetadataV2.js';
|
|
234
235
|
export * from './AuditLogTelemetryDataSourceQueriedMetadataV2V2.js';
|
|
235
236
|
export * from './AuditLogTelemetryDataSourceRequestedMetadataV2.js';
|
|
@@ -451,6 +452,7 @@ export * from './AuditLogsTeamRoleUpdatedV1.js';
|
|
|
451
452
|
export * from './AuditLogsTeamSettingsUpdatedV1.js';
|
|
452
453
|
export * from './AuditLogsTelemetryDataSourceAccessModeChangedV1.js';
|
|
453
454
|
export * from './AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js';
|
|
455
|
+
export * from './AuditLogsTelemetryDataSourceAccessPolicyChangedV2.js';
|
|
454
456
|
export * from './AuditLogsTelemetryDataSourceInstalledV1.js';
|
|
455
457
|
export * from './AuditLogsTelemetryDataSourceQueriedV1.js';
|
|
456
458
|
export * from './AuditLogsTelemetryDataSourceQueriedV2.js';
|
|
@@ -892,6 +894,9 @@ export * from './ManagementMetaV2.js';
|
|
|
892
894
|
export * from './NewSlackUserGroupPayloadV2.js';
|
|
893
895
|
export * from './OnCallNotificationMethodPhoneDetailsPublicV2.js';
|
|
894
896
|
export * from './OnCallNotificationMethodPublicV2.js';
|
|
897
|
+
export * from './OnCallNotificationPauseV2.js';
|
|
898
|
+
export * from './OnCallNotificationPausesListResultV2.js';
|
|
899
|
+
export * from './OnCallNotificationPausesShowResultV2.js';
|
|
895
900
|
export * from './OnCallNotificationRuleAppDetailsPublicV2.js';
|
|
896
901
|
export * from './OnCallNotificationRuleMethodTargetPublicV2.js';
|
|
897
902
|
export * from './OnCallNotificationRuleMethodTargetSpecificPublicV2.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -248,6 +248,7 @@ __exportStar(require("./AuditLogScheduleOverrideMetadataV2.js"), exports);
|
|
|
248
248
|
__exportStar(require("./AuditLogTargetV2.js"), exports);
|
|
249
249
|
__exportStar(require("./AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js"), exports);
|
|
250
250
|
__exportStar(require("./AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js"), exports);
|
|
251
|
+
__exportStar(require("./AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js"), exports);
|
|
251
252
|
__exportStar(require("./AuditLogTelemetryDataSourceQueriedMetadataV2.js"), exports);
|
|
252
253
|
__exportStar(require("./AuditLogTelemetryDataSourceQueriedMetadataV2V2.js"), exports);
|
|
253
254
|
__exportStar(require("./AuditLogTelemetryDataSourceRequestedMetadataV2.js"), exports);
|
|
@@ -469,6 +470,7 @@ __exportStar(require("./AuditLogsTeamRoleUpdatedV1.js"), exports);
|
|
|
469
470
|
__exportStar(require("./AuditLogsTeamSettingsUpdatedV1.js"), exports);
|
|
470
471
|
__exportStar(require("./AuditLogsTelemetryDataSourceAccessModeChangedV1.js"), exports);
|
|
471
472
|
__exportStar(require("./AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js"), exports);
|
|
473
|
+
__exportStar(require("./AuditLogsTelemetryDataSourceAccessPolicyChangedV2.js"), exports);
|
|
472
474
|
__exportStar(require("./AuditLogsTelemetryDataSourceInstalledV1.js"), exports);
|
|
473
475
|
__exportStar(require("./AuditLogsTelemetryDataSourceQueriedV1.js"), exports);
|
|
474
476
|
__exportStar(require("./AuditLogsTelemetryDataSourceQueriedV2.js"), exports);
|
|
@@ -910,6 +912,9 @@ __exportStar(require("./ManagementMetaV2.js"), exports);
|
|
|
910
912
|
__exportStar(require("./NewSlackUserGroupPayloadV2.js"), exports);
|
|
911
913
|
__exportStar(require("./OnCallNotificationMethodPhoneDetailsPublicV2.js"), exports);
|
|
912
914
|
__exportStar(require("./OnCallNotificationMethodPublicV2.js"), exports);
|
|
915
|
+
__exportStar(require("./OnCallNotificationPauseV2.js"), exports);
|
|
916
|
+
__exportStar(require("./OnCallNotificationPausesListResultV2.js"), exports);
|
|
917
|
+
__exportStar(require("./OnCallNotificationPausesShowResultV2.js"), exports);
|
|
913
918
|
__exportStar(require("./OnCallNotificationRuleAppDetailsPublicV2.js"), exports);
|
|
914
919
|
__exportStar(require("./OnCallNotificationRuleMethodTargetPublicV2.js"), exports);
|
|
915
920
|
__exportStar(require("./OnCallNotificationRuleMethodTargetSpecificPublicV2.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.17.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -0,0 +1,71 @@
|
|
|
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 * as runtime from '../runtime.js';
|
|
13
|
+
import { type OnCallNotificationPausesListResultV2 } from '../models/OnCallNotificationPausesListResultV2.js';
|
|
14
|
+
import { type OnCallNotificationPausesShowResultV2 } from '../models/OnCallNotificationPausesShowResultV2.js';
|
|
15
|
+
export interface OnCallNotificationPausesV2ListRequest {
|
|
16
|
+
/**
|
|
17
|
+
* Only return pauses that end after this time. Defaults to now, so by default only active and upcoming pauses are returned.
|
|
18
|
+
*/
|
|
19
|
+
from?: Date;
|
|
20
|
+
/**
|
|
21
|
+
* Only return pauses that start before this time
|
|
22
|
+
*/
|
|
23
|
+
to?: Date;
|
|
24
|
+
/**
|
|
25
|
+
* Integer number of records to return
|
|
26
|
+
*/
|
|
27
|
+
page_size?: number;
|
|
28
|
+
/**
|
|
29
|
+
* A pause's ID. This endpoint will return a list of pauses after this ID in relation to the API response order.
|
|
30
|
+
*/
|
|
31
|
+
after?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface OnCallNotificationPausesV2ShowRequest {
|
|
34
|
+
/**
|
|
35
|
+
* The pause's ID
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare class OnCallNotificationPausesV2Api extends runtime.BaseAPI {
|
|
43
|
+
/**
|
|
44
|
+
* Creates request options for onCallNotificationPausesV2List without sending the request
|
|
45
|
+
*/
|
|
46
|
+
onCallNotificationPausesV2ListRequestOpts(requestParameters: OnCallNotificationPausesV2ListRequest): Promise<runtime.RequestOpts>;
|
|
47
|
+
/**
|
|
48
|
+
* List on-call notification pauses across the organisation. By default this returns pauses that are active now or scheduled for the future. Cancelled pauses are never returned, and pauses that were resumed early have ends_at set to when they were resumed.
|
|
49
|
+
* List On-call Notification Pauses V2
|
|
50
|
+
*/
|
|
51
|
+
onCallNotificationPausesV2ListRaw(requestParameters: OnCallNotificationPausesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OnCallNotificationPausesListResultV2>>;
|
|
52
|
+
/**
|
|
53
|
+
* List on-call notification pauses across the organisation. By default this returns pauses that are active now or scheduled for the future. Cancelled pauses are never returned, and pauses that were resumed early have ends_at set to when they were resumed.
|
|
54
|
+
* List On-call Notification Pauses V2
|
|
55
|
+
*/
|
|
56
|
+
onCallNotificationPausesV2List(requestParameters?: OnCallNotificationPausesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OnCallNotificationPausesListResultV2>;
|
|
57
|
+
/**
|
|
58
|
+
* Creates request options for onCallNotificationPausesV2Show without sending the request
|
|
59
|
+
*/
|
|
60
|
+
onCallNotificationPausesV2ShowRequestOpts(requestParameters: OnCallNotificationPausesV2ShowRequest): Promise<runtime.RequestOpts>;
|
|
61
|
+
/**
|
|
62
|
+
* Show a single on-call notification pause. Cancelled pauses are not found.
|
|
63
|
+
* Show On-call Notification Pauses V2
|
|
64
|
+
*/
|
|
65
|
+
onCallNotificationPausesV2ShowRaw(requestParameters: OnCallNotificationPausesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OnCallNotificationPausesShowResultV2>>;
|
|
66
|
+
/**
|
|
67
|
+
* Show a single on-call notification pause. Cancelled pauses are not found.
|
|
68
|
+
* Show On-call Notification Pauses V2
|
|
69
|
+
*/
|
|
70
|
+
onCallNotificationPausesV2Show(requestParameters: OnCallNotificationPausesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OnCallNotificationPausesShowResultV2>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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 * as runtime from '../runtime.js';
|
|
15
|
+
import { OnCallNotificationPausesListResultV2FromJSON, } from '../models/OnCallNotificationPausesListResultV2.js';
|
|
16
|
+
import { OnCallNotificationPausesShowResultV2FromJSON, } from '../models/OnCallNotificationPausesShowResultV2.js';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export class OnCallNotificationPausesV2Api extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Creates request options for onCallNotificationPausesV2List without sending the request
|
|
23
|
+
*/
|
|
24
|
+
async onCallNotificationPausesV2ListRequestOpts(requestParameters) {
|
|
25
|
+
const queryParameters = {};
|
|
26
|
+
if (requestParameters['from'] != null) {
|
|
27
|
+
queryParameters['from'] = runtime.serializeDateTime(requestParameters['from']);
|
|
28
|
+
}
|
|
29
|
+
if (requestParameters['to'] != null) {
|
|
30
|
+
queryParameters['to'] = runtime.serializeDateTime(requestParameters['to']);
|
|
31
|
+
}
|
|
32
|
+
if (requestParameters['page_size'] != null) {
|
|
33
|
+
queryParameters['page_size'] = requestParameters['page_size'];
|
|
34
|
+
}
|
|
35
|
+
if (requestParameters['after'] != null) {
|
|
36
|
+
queryParameters['after'] = requestParameters['after'];
|
|
37
|
+
}
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
40
|
+
const token = this.configuration.accessToken;
|
|
41
|
+
const tokenString = await token("BearerAuth", []);
|
|
42
|
+
if (tokenString) {
|
|
43
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
let urlPath = `/v2/on_call_notification_pauses`;
|
|
47
|
+
return {
|
|
48
|
+
path: urlPath,
|
|
49
|
+
method: 'GET',
|
|
50
|
+
headers: headerParameters,
|
|
51
|
+
query: queryParameters,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* List on-call notification pauses across the organisation. By default this returns pauses that are active now or scheduled for the future. Cancelled pauses are never returned, and pauses that were resumed early have ends_at set to when they were resumed.
|
|
56
|
+
* List On-call Notification Pauses V2
|
|
57
|
+
*/
|
|
58
|
+
async onCallNotificationPausesV2ListRaw(requestParameters, initOverrides) {
|
|
59
|
+
const requestOptions = await this.onCallNotificationPausesV2ListRequestOpts(requestParameters);
|
|
60
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
61
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OnCallNotificationPausesListResultV2FromJSON(jsonValue));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* List on-call notification pauses across the organisation. By default this returns pauses that are active now or scheduled for the future. Cancelled pauses are never returned, and pauses that were resumed early have ends_at set to when they were resumed.
|
|
65
|
+
* List On-call Notification Pauses V2
|
|
66
|
+
*/
|
|
67
|
+
async onCallNotificationPausesV2List(requestParameters = {}, initOverrides) {
|
|
68
|
+
const response = await this.onCallNotificationPausesV2ListRaw(requestParameters, initOverrides);
|
|
69
|
+
return await response.value();
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Creates request options for onCallNotificationPausesV2Show without sending the request
|
|
73
|
+
*/
|
|
74
|
+
async onCallNotificationPausesV2ShowRequestOpts(requestParameters) {
|
|
75
|
+
if (requestParameters['id'] == null) {
|
|
76
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling onCallNotificationPausesV2Show().');
|
|
77
|
+
}
|
|
78
|
+
const queryParameters = {};
|
|
79
|
+
const headerParameters = {};
|
|
80
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
81
|
+
const token = this.configuration.accessToken;
|
|
82
|
+
const tokenString = await token("BearerAuth", []);
|
|
83
|
+
if (tokenString) {
|
|
84
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
let urlPath = `/v2/on_call_notification_pauses/{id}`;
|
|
88
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
89
|
+
return {
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'GET',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Show a single on-call notification pause. Cancelled pauses are not found.
|
|
98
|
+
* Show On-call Notification Pauses V2
|
|
99
|
+
*/
|
|
100
|
+
async onCallNotificationPausesV2ShowRaw(requestParameters, initOverrides) {
|
|
101
|
+
const requestOptions = await this.onCallNotificationPausesV2ShowRequestOpts(requestParameters);
|
|
102
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
103
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OnCallNotificationPausesShowResultV2FromJSON(jsonValue));
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Show a single on-call notification pause. Cancelled pauses are not found.
|
|
107
|
+
* Show On-call Notification Pauses V2
|
|
108
|
+
*/
|
|
109
|
+
async onCallNotificationPausesV2Show(requestParameters, initOverrides) {
|
|
110
|
+
const response = await this.onCallNotificationPausesV2ShowRaw(requestParameters, initOverrides);
|
|
111
|
+
return await response.value();
|
|
112
|
+
}
|
|
113
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export * from './IncidentUpdatesV2Api.js';
|
|
|
44
44
|
export * from './IncidentsV1Api.js';
|
|
45
45
|
export * from './IncidentsV2Api.js';
|
|
46
46
|
export * from './MaintenanceWindowsV1Api.js';
|
|
47
|
+
export * from './OnCallNotificationPausesV2Api.js';
|
|
47
48
|
export * from './PayConfigsV2Api.js';
|
|
48
49
|
export * from './PayReportsV2Api.js';
|
|
49
50
|
export * from './PoliciesV2Api.js';
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -46,6 +46,7 @@ export * from './IncidentUpdatesV2Api.js';
|
|
|
46
46
|
export * from './IncidentsV1Api.js';
|
|
47
47
|
export * from './IncidentsV2Api.js';
|
|
48
48
|
export * from './MaintenanceWindowsV1Api.js';
|
|
49
|
+
export * from './OnCallNotificationPausesV2Api.js';
|
|
49
50
|
export * from './PayConfigsV2Api.js';
|
|
50
51
|
export * from './PayReportsV2Api.js';
|
|
51
52
|
export * from './PoliciesV2Api.js';
|
|
@@ -0,0 +1,50 @@
|
|
|
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 AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2 {
|
|
18
|
+
/**
|
|
19
|
+
* The policy after the change, as JSON
|
|
20
|
+
*/
|
|
21
|
+
after: string;
|
|
22
|
+
/**
|
|
23
|
+
* The policy before the change, as JSON; empty when the connector had no access policy
|
|
24
|
+
*/
|
|
25
|
+
before: string;
|
|
26
|
+
/**
|
|
27
|
+
* Shared by every entry the same save produced, so the decision that changed and the access it reached can be read together
|
|
28
|
+
*/
|
|
29
|
+
change_id: string;
|
|
30
|
+
/**
|
|
31
|
+
* The default notification channels after the change, as JSON; absent when they did not change, empty when there are none
|
|
32
|
+
*/
|
|
33
|
+
notification_channels_after?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The default notification channels before the change, as JSON; absent when they did not change, empty when there were none
|
|
36
|
+
*/
|
|
37
|
+
notification_channels_before?: string;
|
|
38
|
+
/**
|
|
39
|
+
* ID of the user who saved the policy, absent when staff tooling saved it
|
|
40
|
+
*/
|
|
41
|
+
set_by?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2 interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2(value: object): value is AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2;
|
|
47
|
+
export declare function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2FromJSON(json: any): AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2;
|
|
48
|
+
export declare function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2;
|
|
49
|
+
export declare function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2ToJSON(json: any): AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2;
|
|
50
|
+
export declare function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2ToJSONTyped(value?: AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2(value) {
|
|
18
|
+
if (!('after' in value) || value['after'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('before' in value) || value['before'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('change_id' in value) || value['change_id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2FromJSON(json) {
|
|
27
|
+
return AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2FromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2FromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'after': json['after'],
|
|
35
|
+
'before': json['before'],
|
|
36
|
+
'change_id': json['change_id'],
|
|
37
|
+
'notification_channels_after': json['notification_channels_after'] == null ? undefined : json['notification_channels_after'],
|
|
38
|
+
'notification_channels_before': json['notification_channels_before'] == null ? undefined : json['notification_channels_before'],
|
|
39
|
+
'set_by': json['set_by'] == null ? undefined : json['set_by'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2ToJSON(json) {
|
|
43
|
+
return AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2ToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'after': value['after'],
|
|
51
|
+
'before': value['before'],
|
|
52
|
+
'change_id': value['change_id'],
|
|
53
|
+
'notification_channels_after': value['notification_channels_after'],
|
|
54
|
+
'notification_channels_before': value['notification_channels_before'],
|
|
55
|
+
'set_by': value['set_by'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 { AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2 } from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsTelemetryDataSourceAccessPolicyChangedV2
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsTelemetryDataSourceAccessPolicyChangedV2 {
|
|
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: AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2;
|
|
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 AuditLogsTelemetryDataSourceAccessPolicyChangedV2 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsTelemetryDataSourceAccessPolicyChangedV2(value: object): value is AuditLogsTelemetryDataSourceAccessPolicyChangedV2;
|
|
55
|
+
export declare function AuditLogsTelemetryDataSourceAccessPolicyChangedV2FromJSON(json: any): AuditLogsTelemetryDataSourceAccessPolicyChangedV2;
|
|
56
|
+
export declare function AuditLogsTelemetryDataSourceAccessPolicyChangedV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsTelemetryDataSourceAccessPolicyChangedV2;
|
|
57
|
+
export declare function AuditLogsTelemetryDataSourceAccessPolicyChangedV2ToJSON(json: any): AuditLogsTelemetryDataSourceAccessPolicyChangedV2;
|
|
58
|
+
export declare function AuditLogsTelemetryDataSourceAccessPolicyChangedV2ToJSONTyped(value?: AuditLogsTelemetryDataSourceAccessPolicyChangedV2 | 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 { AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2FromJSON, AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2ToJSON, } from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
|
|
17
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsTelemetryDataSourceAccessPolicyChangedV2 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsTelemetryDataSourceAccessPolicyChangedV2(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 AuditLogsTelemetryDataSourceAccessPolicyChangedV2FromJSON(json) {
|
|
40
|
+
return AuditLogsTelemetryDataSourceAccessPolicyChangedV2FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsTelemetryDataSourceAccessPolicyChangedV2FromJSONTyped(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': AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2FromJSON(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 AuditLogsTelemetryDataSourceAccessPolicyChangedV2ToJSON(json) {
|
|
57
|
+
return AuditLogsTelemetryDataSourceAccessPolicyChangedV2ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsTelemetryDataSourceAccessPolicyChangedV2ToJSONTyped(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': AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2ToJSON(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
|
+
}
|