@incident-io/sdk 2.44.0 → 2.46.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 (41) hide show
  1. package/dist/cjs/apis/StatusPagesV2Api.d.ts +25 -0
  2. package/dist/cjs/apis/StatusPagesV2Api.js +47 -0
  3. package/dist/cjs/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.d.ts +30 -0
  4. package/dist/cjs/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js +50 -0
  5. package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.d.ts +58 -0
  6. package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js +79 -0
  7. package/dist/cjs/models/StatusPageCustomerPageComponentV2.d.ts +57 -0
  8. package/dist/cjs/models/StatusPageCustomerPageComponentV2.js +75 -0
  9. package/dist/cjs/models/StatusPageCustomerPageGroupV2.d.ts +47 -0
  10. package/dist/cjs/models/StatusPageCustomerPageGroupV2.js +65 -0
  11. package/dist/cjs/models/StatusPageCustomerPageItemV2.d.ts +36 -0
  12. package/dist/cjs/models/StatusPageCustomerPageItemV2.js +52 -0
  13. package/dist/cjs/models/StatusPageCustomerPageV2.d.ts +68 -0
  14. package/dist/cjs/models/StatusPageCustomerPageV2.js +88 -0
  15. package/dist/cjs/models/StatusPagesShowStatusPageCustomerPageResultV2.d.ts +31 -0
  16. package/dist/cjs/models/StatusPagesShowStatusPageCustomerPageResultV2.js +51 -0
  17. package/dist/cjs/models/index.d.ts +7 -0
  18. package/dist/cjs/models/index.js +7 -0
  19. package/dist/cjs/version.d.ts +1 -1
  20. package/dist/cjs/version.js +1 -1
  21. package/dist/esm/apis/StatusPagesV2Api.d.ts +25 -0
  22. package/dist/esm/apis/StatusPagesV2Api.js +47 -0
  23. package/dist/esm/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.d.ts +30 -0
  24. package/dist/esm/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js +43 -0
  25. package/dist/esm/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.d.ts +58 -0
  26. package/dist/esm/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js +72 -0
  27. package/dist/esm/models/StatusPageCustomerPageComponentV2.d.ts +57 -0
  28. package/dist/esm/models/StatusPageCustomerPageComponentV2.js +67 -0
  29. package/dist/esm/models/StatusPageCustomerPageGroupV2.d.ts +47 -0
  30. package/dist/esm/models/StatusPageCustomerPageGroupV2.js +58 -0
  31. package/dist/esm/models/StatusPageCustomerPageItemV2.d.ts +36 -0
  32. package/dist/esm/models/StatusPageCustomerPageItemV2.js +45 -0
  33. package/dist/esm/models/StatusPageCustomerPageV2.d.ts +68 -0
  34. package/dist/esm/models/StatusPageCustomerPageV2.js +80 -0
  35. package/dist/esm/models/StatusPagesShowStatusPageCustomerPageResultV2.d.ts +31 -0
  36. package/dist/esm/models/StatusPagesShowStatusPageCustomerPageResultV2.js +44 -0
  37. package/dist/esm/models/index.d.ts +7 -0
  38. package/dist/esm/models/index.js +7 -0
  39. package/dist/esm/version.d.ts +1 -1
  40. package/dist/esm/version.js +1 -1
  41. package/package.json +1 -1
@@ -0,0 +1,52 @@
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.instanceOfStatusPageCustomerPageItemV2 = instanceOfStatusPageCustomerPageItemV2;
17
+ exports.StatusPageCustomerPageItemV2FromJSON = StatusPageCustomerPageItemV2FromJSON;
18
+ exports.StatusPageCustomerPageItemV2FromJSONTyped = StatusPageCustomerPageItemV2FromJSONTyped;
19
+ exports.StatusPageCustomerPageItemV2ToJSON = StatusPageCustomerPageItemV2ToJSON;
20
+ exports.StatusPageCustomerPageItemV2ToJSONTyped = StatusPageCustomerPageItemV2ToJSONTyped;
21
+ const StatusPageCustomerPageComponentV2_js_1 = require("./StatusPageCustomerPageComponentV2.js");
22
+ const StatusPageCustomerPageGroupV2_js_1 = require("./StatusPageCustomerPageGroupV2.js");
23
+ /**
24
+ * Check if a given object implements the StatusPageCustomerPageItemV2 interface.
25
+ */
26
+ function instanceOfStatusPageCustomerPageItemV2(value) {
27
+ return true;
28
+ }
29
+ function StatusPageCustomerPageItemV2FromJSON(json) {
30
+ return StatusPageCustomerPageItemV2FromJSONTyped(json, false);
31
+ }
32
+ function StatusPageCustomerPageItemV2FromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'component': json['component'] == null ? undefined : (0, StatusPageCustomerPageComponentV2_js_1.StatusPageCustomerPageComponentV2FromJSON)(json['component']),
38
+ 'group': json['group'] == null ? undefined : (0, StatusPageCustomerPageGroupV2_js_1.StatusPageCustomerPageGroupV2FromJSON)(json['group']),
39
+ };
40
+ }
41
+ function StatusPageCustomerPageItemV2ToJSON(json) {
42
+ return StatusPageCustomerPageItemV2ToJSONTyped(json, false);
43
+ }
44
+ function StatusPageCustomerPageItemV2ToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'component': (0, StatusPageCustomerPageComponentV2_js_1.StatusPageCustomerPageComponentV2ToJSON)(value['component']),
50
+ 'group': (0, StatusPageCustomerPageGroupV2_js_1.StatusPageCustomerPageGroupV2ToJSON)(value['group']),
51
+ };
52
+ }
@@ -0,0 +1,68 @@
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 { StatusPageMaintenanceV2 } from './StatusPageMaintenanceV2.js';
13
+ import type { StatusPageCustomerPageItemV2 } from './StatusPageCustomerPageItemV2.js';
14
+ import type { StatusPageIncidentV2 } from './StatusPageIncidentV2.js';
15
+ /**
16
+ * One customer's page on a customer status page: its status, components and incidents.
17
+ * @export
18
+ * @interface StatusPageCustomerPageV2
19
+ */
20
+ export interface StatusPageCustomerPageV2 {
21
+ /**
22
+ * Components and groups shown on this page, in display order
23
+ */
24
+ components: Array<StatusPageCustomerPageItemV2>;
25
+ /**
26
+ * The external ID of the catalog entry that defines this customer's page
27
+ */
28
+ customer_id: string;
29
+ /**
30
+ * Maintenance windows in progress or scheduled for this customer
31
+ */
32
+ maintenances: Array<StatusPageMaintenanceV2>;
33
+ /**
34
+ * The name of this customer's page
35
+ */
36
+ name: string;
37
+ /**
38
+ * Incidents currently affecting this customer
39
+ */
40
+ ongoing_incidents: Array<StatusPageIncidentV2>;
41
+ /**
42
+ * Incidents from this page's history window, including ongoing incidents
43
+ */
44
+ recent_incidents: Array<StatusPageIncidentV2>;
45
+ /**
46
+ * The worst current status of any component on this page, or operational when nothing is affected
47
+ */
48
+ status: StatusPageCustomerPageV2StatusEnum;
49
+ }
50
+ /**
51
+ * @export
52
+ */
53
+ export declare const StatusPageCustomerPageV2StatusEnum: {
54
+ readonly Operational: "operational";
55
+ readonly UnderMaintenance: "under_maintenance";
56
+ readonly DegradedPerformance: "degraded_performance";
57
+ readonly PartialOutage: "partial_outage";
58
+ readonly FullOutage: "full_outage";
59
+ };
60
+ export type StatusPageCustomerPageV2StatusEnum = typeof StatusPageCustomerPageV2StatusEnum[keyof typeof StatusPageCustomerPageV2StatusEnum];
61
+ /**
62
+ * Check if a given object implements the StatusPageCustomerPageV2 interface.
63
+ */
64
+ export declare function instanceOfStatusPageCustomerPageV2(value: object): value is StatusPageCustomerPageV2;
65
+ export declare function StatusPageCustomerPageV2FromJSON(json: any): StatusPageCustomerPageV2;
66
+ export declare function StatusPageCustomerPageV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageCustomerPageV2;
67
+ export declare function StatusPageCustomerPageV2ToJSON(json: any): StatusPageCustomerPageV2;
68
+ export declare function StatusPageCustomerPageV2ToJSONTyped(value?: StatusPageCustomerPageV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,88 @@
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.StatusPageCustomerPageV2StatusEnum = void 0;
17
+ exports.instanceOfStatusPageCustomerPageV2 = instanceOfStatusPageCustomerPageV2;
18
+ exports.StatusPageCustomerPageV2FromJSON = StatusPageCustomerPageV2FromJSON;
19
+ exports.StatusPageCustomerPageV2FromJSONTyped = StatusPageCustomerPageV2FromJSONTyped;
20
+ exports.StatusPageCustomerPageV2ToJSON = StatusPageCustomerPageV2ToJSON;
21
+ exports.StatusPageCustomerPageV2ToJSONTyped = StatusPageCustomerPageV2ToJSONTyped;
22
+ const StatusPageMaintenanceV2_js_1 = require("./StatusPageMaintenanceV2.js");
23
+ const StatusPageCustomerPageItemV2_js_1 = require("./StatusPageCustomerPageItemV2.js");
24
+ const StatusPageIncidentV2_js_1 = require("./StatusPageIncidentV2.js");
25
+ /**
26
+ * @export
27
+ */
28
+ exports.StatusPageCustomerPageV2StatusEnum = {
29
+ Operational: 'operational',
30
+ UnderMaintenance: 'under_maintenance',
31
+ DegradedPerformance: 'degraded_performance',
32
+ PartialOutage: 'partial_outage',
33
+ FullOutage: 'full_outage',
34
+ };
35
+ /**
36
+ * Check if a given object implements the StatusPageCustomerPageV2 interface.
37
+ */
38
+ function instanceOfStatusPageCustomerPageV2(value) {
39
+ if (!('components' in value) || value['components'] === undefined)
40
+ return false;
41
+ if (!('customer_id' in value) || value['customer_id'] === undefined)
42
+ return false;
43
+ if (!('maintenances' in value) || value['maintenances'] === undefined)
44
+ return false;
45
+ if (!('name' in value) || value['name'] === undefined)
46
+ return false;
47
+ if (!('ongoing_incidents' in value) || value['ongoing_incidents'] === undefined)
48
+ return false;
49
+ if (!('recent_incidents' in value) || value['recent_incidents'] === undefined)
50
+ return false;
51
+ if (!('status' in value) || value['status'] === undefined)
52
+ return false;
53
+ return true;
54
+ }
55
+ function StatusPageCustomerPageV2FromJSON(json) {
56
+ return StatusPageCustomerPageV2FromJSONTyped(json, false);
57
+ }
58
+ function StatusPageCustomerPageV2FromJSONTyped(json, ignoreDiscriminator) {
59
+ if (json == null) {
60
+ return json;
61
+ }
62
+ return {
63
+ 'components': (json['components'].map(StatusPageCustomerPageItemV2_js_1.StatusPageCustomerPageItemV2FromJSON)),
64
+ 'customer_id': json['customer_id'],
65
+ 'maintenances': (json['maintenances'].map(StatusPageMaintenanceV2_js_1.StatusPageMaintenanceV2FromJSON)),
66
+ 'name': json['name'],
67
+ 'ongoing_incidents': (json['ongoing_incidents'].map(StatusPageIncidentV2_js_1.StatusPageIncidentV2FromJSON)),
68
+ 'recent_incidents': (json['recent_incidents'].map(StatusPageIncidentV2_js_1.StatusPageIncidentV2FromJSON)),
69
+ 'status': json['status'],
70
+ };
71
+ }
72
+ function StatusPageCustomerPageV2ToJSON(json) {
73
+ return StatusPageCustomerPageV2ToJSONTyped(json, false);
74
+ }
75
+ function StatusPageCustomerPageV2ToJSONTyped(value, ignoreDiscriminator = false) {
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+ return {
80
+ 'components': (value['components'].map(StatusPageCustomerPageItemV2_js_1.StatusPageCustomerPageItemV2ToJSON)),
81
+ 'customer_id': value['customer_id'],
82
+ 'maintenances': (value['maintenances'].map(StatusPageMaintenanceV2_js_1.StatusPageMaintenanceV2ToJSON)),
83
+ 'name': value['name'],
84
+ 'ongoing_incidents': (value['ongoing_incidents'].map(StatusPageIncidentV2_js_1.StatusPageIncidentV2ToJSON)),
85
+ 'recent_incidents': (value['recent_incidents'].map(StatusPageIncidentV2_js_1.StatusPageIncidentV2ToJSON)),
86
+ 'status': value['status'],
87
+ };
88
+ }
@@ -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 { StatusPageCustomerPageV2 } from './StatusPageCustomerPageV2.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StatusPagesShowStatusPageCustomerPageResultV2
17
+ */
18
+ export interface StatusPagesShowStatusPageCustomerPageResultV2 {
19
+ /**
20
+ *
21
+ */
22
+ customer_page: StatusPageCustomerPageV2;
23
+ }
24
+ /**
25
+ * Check if a given object implements the StatusPagesShowStatusPageCustomerPageResultV2 interface.
26
+ */
27
+ export declare function instanceOfStatusPagesShowStatusPageCustomerPageResultV2(value: object): value is StatusPagesShowStatusPageCustomerPageResultV2;
28
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2FromJSON(json: any): StatusPagesShowStatusPageCustomerPageResultV2;
29
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPagesShowStatusPageCustomerPageResultV2;
30
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2ToJSON(json: any): StatusPagesShowStatusPageCustomerPageResultV2;
31
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(value?: StatusPagesShowStatusPageCustomerPageResultV2 | 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.instanceOfStatusPagesShowStatusPageCustomerPageResultV2 = instanceOfStatusPagesShowStatusPageCustomerPageResultV2;
17
+ exports.StatusPagesShowStatusPageCustomerPageResultV2FromJSON = StatusPagesShowStatusPageCustomerPageResultV2FromJSON;
18
+ exports.StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped = StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped;
19
+ exports.StatusPagesShowStatusPageCustomerPageResultV2ToJSON = StatusPagesShowStatusPageCustomerPageResultV2ToJSON;
20
+ exports.StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped = StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped;
21
+ const StatusPageCustomerPageV2_js_1 = require("./StatusPageCustomerPageV2.js");
22
+ /**
23
+ * Check if a given object implements the StatusPagesShowStatusPageCustomerPageResultV2 interface.
24
+ */
25
+ function instanceOfStatusPagesShowStatusPageCustomerPageResultV2(value) {
26
+ if (!('customer_page' in value) || value['customer_page'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function StatusPagesShowStatusPageCustomerPageResultV2FromJSON(json) {
31
+ return StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json, false);
32
+ }
33
+ function StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'customer_page': (0, StatusPageCustomerPageV2_js_1.StatusPageCustomerPageV2FromJSON)(json['customer_page']),
39
+ };
40
+ }
41
+ function StatusPagesShowStatusPageCustomerPageResultV2ToJSON(json) {
42
+ return StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(json, false);
43
+ }
44
+ function StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'customer_page': (0, StatusPageCustomerPageV2_js_1.StatusPageCustomerPageV2ToJSON)(value['customer_page']),
50
+ };
51
+ }
@@ -243,6 +243,7 @@ export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
243
243
  export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
244
244
  export * from './AuditLogScheduleOverrideMetadataV2.js';
245
245
  export * from './AuditLogTargetV2.js';
246
+ export * from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
246
247
  export * from './AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js';
247
248
  export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js';
248
249
  export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
@@ -667,6 +668,7 @@ export * from './AuditLogsTeamRoleUpdatedV1.js';
667
668
  export * from './AuditLogsTeamRoleUpdatedV2.js';
668
669
  export * from './AuditLogsTeamSettingsUpdatedV1.js';
669
670
  export * from './AuditLogsTeamSettingsUpdatedV2.js';
671
+ export * from './AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js';
670
672
  export * from './AuditLogsTelemetryDataSourceAccessModeChangedV1.js';
671
673
  export * from './AuditLogsTelemetryDataSourceAccessModeChangedV2.js';
672
674
  export * from './AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js';
@@ -1340,6 +1342,10 @@ export * from './StatusPageComponentsListResultV2.js';
1340
1342
  export * from './StatusPageComponentsShowResultV2.js';
1341
1343
  export * from './StatusPageComponentsUpdatePayloadV2.js';
1342
1344
  export * from './StatusPageComponentsUpdateResultV2.js';
1345
+ export * from './StatusPageCustomerPageComponentV2.js';
1346
+ export * from './StatusPageCustomerPageGroupV2.js';
1347
+ export * from './StatusPageCustomerPageItemV2.js';
1348
+ export * from './StatusPageCustomerPageV2.js';
1343
1349
  export * from './StatusPageIncidentAffectedComponentV2.js';
1344
1350
  export * from './StatusPageIncidentComponentImpactV2.js';
1345
1351
  export * from './StatusPageIncidentUpdateV2.js';
@@ -1373,6 +1379,7 @@ export * from './StatusPagesListStatusPageIncidentsResultV2.js';
1373
1379
  export * from './StatusPagesListStatusPageMaintenancesResultV2.js';
1374
1380
  export * from './StatusPagesListStatusPagesResultV2.js';
1375
1381
  export * from './StatusPagesShowStatusPageComponentAvailabilityResultV2.js';
1382
+ export * from './StatusPagesShowStatusPageCustomerPageResultV2.js';
1376
1383
  export * from './StatusPagesShowStatusPageIncidentResultV2.js';
1377
1384
  export * from './StatusPagesShowStatusPageMaintenanceResultV2.js';
1378
1385
  export * from './StatusPagesShowStatusPageResultV2.js';
@@ -261,6 +261,7 @@ __exportStar(require("./AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js"
261
261
  __exportStar(require("./AuditLogSCIMGroupSeatMappingChangedMetadataV2.js"), exports);
262
262
  __exportStar(require("./AuditLogScheduleOverrideMetadataV2.js"), exports);
263
263
  __exportStar(require("./AuditLogTargetV2.js"), exports);
264
+ __exportStar(require("./AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js"), exports);
264
265
  __exportStar(require("./AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js"), exports);
265
266
  __exportStar(require("./AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js"), exports);
266
267
  __exportStar(require("./AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js"), exports);
@@ -685,6 +686,7 @@ __exportStar(require("./AuditLogsTeamRoleUpdatedV1.js"), exports);
685
686
  __exportStar(require("./AuditLogsTeamRoleUpdatedV2.js"), exports);
686
687
  __exportStar(require("./AuditLogsTeamSettingsUpdatedV1.js"), exports);
687
688
  __exportStar(require("./AuditLogsTeamSettingsUpdatedV2.js"), exports);
689
+ __exportStar(require("./AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js"), exports);
688
690
  __exportStar(require("./AuditLogsTelemetryDataSourceAccessModeChangedV1.js"), exports);
689
691
  __exportStar(require("./AuditLogsTelemetryDataSourceAccessModeChangedV2.js"), exports);
690
692
  __exportStar(require("./AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js"), exports);
@@ -1358,6 +1360,10 @@ __exportStar(require("./StatusPageComponentsListResultV2.js"), exports);
1358
1360
  __exportStar(require("./StatusPageComponentsShowResultV2.js"), exports);
1359
1361
  __exportStar(require("./StatusPageComponentsUpdatePayloadV2.js"), exports);
1360
1362
  __exportStar(require("./StatusPageComponentsUpdateResultV2.js"), exports);
1363
+ __exportStar(require("./StatusPageCustomerPageComponentV2.js"), exports);
1364
+ __exportStar(require("./StatusPageCustomerPageGroupV2.js"), exports);
1365
+ __exportStar(require("./StatusPageCustomerPageItemV2.js"), exports);
1366
+ __exportStar(require("./StatusPageCustomerPageV2.js"), exports);
1361
1367
  __exportStar(require("./StatusPageIncidentAffectedComponentV2.js"), exports);
1362
1368
  __exportStar(require("./StatusPageIncidentComponentImpactV2.js"), exports);
1363
1369
  __exportStar(require("./StatusPageIncidentUpdateV2.js"), exports);
@@ -1391,6 +1397,7 @@ __exportStar(require("./StatusPagesListStatusPageIncidentsResultV2.js"), exports
1391
1397
  __exportStar(require("./StatusPagesListStatusPageMaintenancesResultV2.js"), exports);
1392
1398
  __exportStar(require("./StatusPagesListStatusPagesResultV2.js"), exports);
1393
1399
  __exportStar(require("./StatusPagesShowStatusPageComponentAvailabilityResultV2.js"), exports);
1400
+ __exportStar(require("./StatusPagesShowStatusPageCustomerPageResultV2.js"), exports);
1394
1401
  __exportStar(require("./StatusPagesShowStatusPageIncidentResultV2.js"), exports);
1395
1402
  __exportStar(require("./StatusPagesShowStatusPageMaintenanceResultV2.js"), exports);
1396
1403
  __exportStar(require("./StatusPagesShowStatusPageResultV2.js"), exports);
@@ -1 +1 @@
1
- export declare const VERSION = "2.44.0";
1
+ export declare const VERSION = "2.46.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.44.0";
5
+ exports.VERSION = "2.46.0";
@@ -24,6 +24,7 @@ import { type StatusPagesListStatusPageIncidentsResultV2 } from '../models/Statu
24
24
  import { type StatusPagesListStatusPageMaintenancesResultV2 } from '../models/StatusPagesListStatusPageMaintenancesResultV2.js';
25
25
  import { type StatusPagesListStatusPagesResultV2 } from '../models/StatusPagesListStatusPagesResultV2.js';
26
26
  import { type StatusPagesShowStatusPageComponentAvailabilityResultV2 } from '../models/StatusPagesShowStatusPageComponentAvailabilityResultV2.js';
27
+ import { type StatusPagesShowStatusPageCustomerPageResultV2 } from '../models/StatusPagesShowStatusPageCustomerPageResultV2.js';
27
28
  import { type StatusPagesShowStatusPageIncidentResultV2 } from '../models/StatusPagesShowStatusPageIncidentResultV2.js';
28
29
  import { type StatusPagesShowStatusPageMaintenanceResultV2 } from '../models/StatusPagesShowStatusPageMaintenanceResultV2.js';
29
30
  import { type StatusPagesShowStatusPageResultV2 } from '../models/StatusPagesShowStatusPageResultV2.js';
@@ -170,6 +171,16 @@ export interface StatusPagesV2ShowStatusPageComponentAvailabilityRequest {
170
171
  */
171
172
  component_id: string;
172
173
  }
174
+ export interface StatusPagesV2ShowStatusPageCustomerPageRequest {
175
+ /**
176
+ * ID of the customer status page. You can find this by calling the ListStatusPages endpoint.
177
+ */
178
+ status_page_id: string;
179
+ /**
180
+ * The external_id of the customer's catalog entry
181
+ */
182
+ customer_id: string;
183
+ }
173
184
  export interface StatusPagesV2ShowStatusPageIncidentRequest {
174
185
  /**
175
186
  * ID of the status page incident
@@ -366,6 +377,20 @@ export declare class StatusPagesV2Api extends runtime.BaseAPI {
366
377
  * ShowStatusPageComponentAvailability Status Pages V2
367
378
  */
368
379
  statusPagesV2ShowStatusPageComponentAvailability(requestParameters: StatusPagesV2ShowStatusPageComponentAvailabilityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StatusPagesShowStatusPageComponentAvailabilityResultV2>;
380
+ /**
381
+ * Creates request options for statusPagesV2ShowStatusPageCustomerPage without sending the request
382
+ */
383
+ statusPagesV2ShowStatusPageCustomerPageRequestOpts(requestParameters: StatusPagesV2ShowStatusPageCustomerPageRequest): Promise<runtime.RequestOpts>;
384
+ /**
385
+ * Show one customer\'s page on a customer status page: its current status, its components, and the incidents and maintenance windows that customer sees. customer_id is the external_id of the catalog entry that defines the customer\'s page. That entry belongs to the catalog type the status page is split by. You can\'t use this endpoint for a customer whose catalog entry has no external_id. This endpoint requires a valid API key but no specific scopes. Responses can be up to 30 seconds old.
386
+ * ShowStatusPageCustomerPage Status Pages V2
387
+ */
388
+ statusPagesV2ShowStatusPageCustomerPageRaw(requestParameters: StatusPagesV2ShowStatusPageCustomerPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StatusPagesShowStatusPageCustomerPageResultV2>>;
389
+ /**
390
+ * Show one customer\'s page on a customer status page: its current status, its components, and the incidents and maintenance windows that customer sees. customer_id is the external_id of the catalog entry that defines the customer\'s page. That entry belongs to the catalog type the status page is split by. You can\'t use this endpoint for a customer whose catalog entry has no external_id. This endpoint requires a valid API key but no specific scopes. Responses can be up to 30 seconds old.
391
+ * ShowStatusPageCustomerPage Status Pages V2
392
+ */
393
+ statusPagesV2ShowStatusPageCustomerPage(requestParameters: StatusPagesV2ShowStatusPageCustomerPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StatusPagesShowStatusPageCustomerPageResultV2>;
369
394
  /**
370
395
  * Creates request options for statusPagesV2ShowStatusPageIncident without sending the request
371
396
  */
@@ -26,6 +26,7 @@ import { StatusPagesListStatusPageIncidentsResultV2FromJSON, } from '../models/S
26
26
  import { StatusPagesListStatusPageMaintenancesResultV2FromJSON, } from '../models/StatusPagesListStatusPageMaintenancesResultV2.js';
27
27
  import { StatusPagesListStatusPagesResultV2FromJSON, } from '../models/StatusPagesListStatusPagesResultV2.js';
28
28
  import { StatusPagesShowStatusPageComponentAvailabilityResultV2FromJSON, } from '../models/StatusPagesShowStatusPageComponentAvailabilityResultV2.js';
29
+ import { StatusPagesShowStatusPageCustomerPageResultV2FromJSON, } from '../models/StatusPagesShowStatusPageCustomerPageResultV2.js';
29
30
  import { StatusPagesShowStatusPageIncidentResultV2FromJSON, } from '../models/StatusPagesShowStatusPageIncidentResultV2.js';
30
31
  import { StatusPagesShowStatusPageMaintenanceResultV2FromJSON, } from '../models/StatusPagesShowStatusPageMaintenanceResultV2.js';
31
32
  import { StatusPagesShowStatusPageResultV2FromJSON, } from '../models/StatusPagesShowStatusPageResultV2.js';
@@ -568,6 +569,52 @@ export class StatusPagesV2Api extends runtime.BaseAPI {
568
569
  const response = await this.statusPagesV2ShowStatusPageComponentAvailabilityRaw(requestParameters, initOverrides);
569
570
  return await response.value();
570
571
  }
572
+ /**
573
+ * Creates request options for statusPagesV2ShowStatusPageCustomerPage without sending the request
574
+ */
575
+ async statusPagesV2ShowStatusPageCustomerPageRequestOpts(requestParameters) {
576
+ if (requestParameters['status_page_id'] == null) {
577
+ throw new runtime.RequiredError('status_page_id', 'Required parameter "status_page_id" was null or undefined when calling statusPagesV2ShowStatusPageCustomerPage().');
578
+ }
579
+ if (requestParameters['customer_id'] == null) {
580
+ throw new runtime.RequiredError('customer_id', 'Required parameter "customer_id" was null or undefined when calling statusPagesV2ShowStatusPageCustomerPage().');
581
+ }
582
+ const queryParameters = {};
583
+ const headerParameters = {};
584
+ if (this.configuration && this.configuration.accessToken) {
585
+ const token = this.configuration.accessToken;
586
+ const tokenString = await token("BearerAuth", []);
587
+ if (tokenString) {
588
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
589
+ }
590
+ }
591
+ let urlPath = `/v2/status_pages/{status_page_id}/customers/{customer_id}`;
592
+ urlPath = urlPath.replace('{status_page_id}', encodeURIComponent(String(requestParameters['status_page_id'])));
593
+ urlPath = urlPath.replace('{customer_id}', encodeURIComponent(String(requestParameters['customer_id'])));
594
+ return {
595
+ path: urlPath,
596
+ method: 'GET',
597
+ headers: headerParameters,
598
+ query: queryParameters,
599
+ };
600
+ }
601
+ /**
602
+ * Show one customer\'s page on a customer status page: its current status, its components, and the incidents and maintenance windows that customer sees. customer_id is the external_id of the catalog entry that defines the customer\'s page. That entry belongs to the catalog type the status page is split by. You can\'t use this endpoint for a customer whose catalog entry has no external_id. This endpoint requires a valid API key but no specific scopes. Responses can be up to 30 seconds old.
603
+ * ShowStatusPageCustomerPage Status Pages V2
604
+ */
605
+ async statusPagesV2ShowStatusPageCustomerPageRaw(requestParameters, initOverrides) {
606
+ const requestOptions = await this.statusPagesV2ShowStatusPageCustomerPageRequestOpts(requestParameters);
607
+ const response = await this.request(requestOptions, initOverrides);
608
+ return new runtime.JSONApiResponse(response, (jsonValue) => StatusPagesShowStatusPageCustomerPageResultV2FromJSON(jsonValue));
609
+ }
610
+ /**
611
+ * Show one customer\'s page on a customer status page: its current status, its components, and the incidents and maintenance windows that customer sees. customer_id is the external_id of the catalog entry that defines the customer\'s page. That entry belongs to the catalog type the status page is split by. You can\'t use this endpoint for a customer whose catalog entry has no external_id. This endpoint requires a valid API key but no specific scopes. Responses can be up to 30 seconds old.
612
+ * ShowStatusPageCustomerPage Status Pages V2
613
+ */
614
+ async statusPagesV2ShowStatusPageCustomerPage(requestParameters, initOverrides) {
615
+ const response = await this.statusPagesV2ShowStatusPageCustomerPageRaw(requestParameters, initOverrides);
616
+ return await response.value();
617
+ }
571
618
  /**
572
619
  * Creates request options for statusPagesV2ShowStatusPageIncident without sending the request
573
620
  */
@@ -0,0 +1,30 @@
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 AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2
16
+ */
17
+ export interface AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 {
18
+ /**
19
+ * Whether the data source takes its access mode and teams from its parent after the change (true, false)
20
+ */
21
+ inherits_access: string;
22
+ }
23
+ /**
24
+ * Check if a given object implements the AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 interface.
25
+ */
26
+ export declare function instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2(value: object): value is AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
27
+ export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(json: any): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
28
+ export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
29
+ export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(json: any): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
30
+ export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(value?: AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 interface.
16
+ */
17
+ export function instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2(value) {
18
+ if (!('inherits_access' in value) || value['inherits_access'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(json) {
23
+ return AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json, false);
24
+ }
25
+ export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'inherits_access': json['inherits_access'],
31
+ };
32
+ }
33
+ export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(json) {
34
+ return AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(json, false);
35
+ }
36
+ export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'inherits_access': value['inherits_access'],
42
+ };
43
+ }
@@ -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 { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
14
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
15
+ import type { AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 } from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsTelemetryDataSourceAccessInheritanceChangedV1
20
+ */
21
+ export interface AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 {
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: AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
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 AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1(value: object): value is AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
55
+ export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON(json: any): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
56
+ export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
57
+ export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON(json: any): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
58
+ export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(value?: AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 | null, ignoreDiscriminator?: boolean): any;