@incident-io/sdk 2.45.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 (33) 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/StatusPageCustomerPageComponentV2.d.ts +57 -0
  4. package/dist/cjs/models/StatusPageCustomerPageComponentV2.js +75 -0
  5. package/dist/cjs/models/StatusPageCustomerPageGroupV2.d.ts +47 -0
  6. package/dist/cjs/models/StatusPageCustomerPageGroupV2.js +65 -0
  7. package/dist/cjs/models/StatusPageCustomerPageItemV2.d.ts +36 -0
  8. package/dist/cjs/models/StatusPageCustomerPageItemV2.js +52 -0
  9. package/dist/cjs/models/StatusPageCustomerPageV2.d.ts +68 -0
  10. package/dist/cjs/models/StatusPageCustomerPageV2.js +88 -0
  11. package/dist/cjs/models/StatusPagesShowStatusPageCustomerPageResultV2.d.ts +31 -0
  12. package/dist/cjs/models/StatusPagesShowStatusPageCustomerPageResultV2.js +51 -0
  13. package/dist/cjs/models/index.d.ts +5 -0
  14. package/dist/cjs/models/index.js +5 -0
  15. package/dist/cjs/version.d.ts +1 -1
  16. package/dist/cjs/version.js +1 -1
  17. package/dist/esm/apis/StatusPagesV2Api.d.ts +25 -0
  18. package/dist/esm/apis/StatusPagesV2Api.js +47 -0
  19. package/dist/esm/models/StatusPageCustomerPageComponentV2.d.ts +57 -0
  20. package/dist/esm/models/StatusPageCustomerPageComponentV2.js +67 -0
  21. package/dist/esm/models/StatusPageCustomerPageGroupV2.d.ts +47 -0
  22. package/dist/esm/models/StatusPageCustomerPageGroupV2.js +58 -0
  23. package/dist/esm/models/StatusPageCustomerPageItemV2.d.ts +36 -0
  24. package/dist/esm/models/StatusPageCustomerPageItemV2.js +45 -0
  25. package/dist/esm/models/StatusPageCustomerPageV2.d.ts +68 -0
  26. package/dist/esm/models/StatusPageCustomerPageV2.js +80 -0
  27. package/dist/esm/models/StatusPagesShowStatusPageCustomerPageResultV2.d.ts +31 -0
  28. package/dist/esm/models/StatusPagesShowStatusPageCustomerPageResultV2.js +44 -0
  29. package/dist/esm/models/index.d.ts +5 -0
  30. package/dist/esm/models/index.js +5 -0
  31. package/dist/esm/version.d.ts +1 -1
  32. package/dist/esm/version.js +1 -1
  33. package/package.json +1 -1
@@ -0,0 +1,80 @@
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 { StatusPageMaintenanceV2FromJSON, StatusPageMaintenanceV2ToJSON, } from './StatusPageMaintenanceV2.js';
15
+ import { StatusPageCustomerPageItemV2FromJSON, StatusPageCustomerPageItemV2ToJSON, } from './StatusPageCustomerPageItemV2.js';
16
+ import { StatusPageIncidentV2FromJSON, StatusPageIncidentV2ToJSON, } from './StatusPageIncidentV2.js';
17
+ /**
18
+ * @export
19
+ */
20
+ export const StatusPageCustomerPageV2StatusEnum = {
21
+ Operational: 'operational',
22
+ UnderMaintenance: 'under_maintenance',
23
+ DegradedPerformance: 'degraded_performance',
24
+ PartialOutage: 'partial_outage',
25
+ FullOutage: 'full_outage',
26
+ };
27
+ /**
28
+ * Check if a given object implements the StatusPageCustomerPageV2 interface.
29
+ */
30
+ export function instanceOfStatusPageCustomerPageV2(value) {
31
+ if (!('components' in value) || value['components'] === undefined)
32
+ return false;
33
+ if (!('customer_id' in value) || value['customer_id'] === undefined)
34
+ return false;
35
+ if (!('maintenances' in value) || value['maintenances'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('ongoing_incidents' in value) || value['ongoing_incidents'] === undefined)
40
+ return false;
41
+ if (!('recent_incidents' in value) || value['recent_incidents'] === undefined)
42
+ return false;
43
+ if (!('status' in value) || value['status'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ export function StatusPageCustomerPageV2FromJSON(json) {
48
+ return StatusPageCustomerPageV2FromJSONTyped(json, false);
49
+ }
50
+ export function StatusPageCustomerPageV2FromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'components': (json['components'].map(StatusPageCustomerPageItemV2FromJSON)),
56
+ 'customer_id': json['customer_id'],
57
+ 'maintenances': (json['maintenances'].map(StatusPageMaintenanceV2FromJSON)),
58
+ 'name': json['name'],
59
+ 'ongoing_incidents': (json['ongoing_incidents'].map(StatusPageIncidentV2FromJSON)),
60
+ 'recent_incidents': (json['recent_incidents'].map(StatusPageIncidentV2FromJSON)),
61
+ 'status': json['status'],
62
+ };
63
+ }
64
+ export function StatusPageCustomerPageV2ToJSON(json) {
65
+ return StatusPageCustomerPageV2ToJSONTyped(json, false);
66
+ }
67
+ export function StatusPageCustomerPageV2ToJSONTyped(value, ignoreDiscriminator = false) {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'components': (value['components'].map(StatusPageCustomerPageItemV2ToJSON)),
73
+ 'customer_id': value['customer_id'],
74
+ 'maintenances': (value['maintenances'].map(StatusPageMaintenanceV2ToJSON)),
75
+ 'name': value['name'],
76
+ 'ongoing_incidents': (value['ongoing_incidents'].map(StatusPageIncidentV2ToJSON)),
77
+ 'recent_incidents': (value['recent_incidents'].map(StatusPageIncidentV2ToJSON)),
78
+ 'status': value['status'],
79
+ };
80
+ }
@@ -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,44 @@
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 { StatusPageCustomerPageV2FromJSON, StatusPageCustomerPageV2ToJSON, } from './StatusPageCustomerPageV2.js';
15
+ /**
16
+ * Check if a given object implements the StatusPagesShowStatusPageCustomerPageResultV2 interface.
17
+ */
18
+ export function instanceOfStatusPagesShowStatusPageCustomerPageResultV2(value) {
19
+ if (!('customer_page' in value) || value['customer_page'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function StatusPagesShowStatusPageCustomerPageResultV2FromJSON(json) {
24
+ return StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json, false);
25
+ }
26
+ export function StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'customer_page': StatusPageCustomerPageV2FromJSON(json['customer_page']),
32
+ };
33
+ }
34
+ export function StatusPagesShowStatusPageCustomerPageResultV2ToJSON(json) {
35
+ return StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(json, false);
36
+ }
37
+ export function StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'customer_page': StatusPageCustomerPageV2ToJSON(value['customer_page']),
43
+ };
44
+ }
@@ -1342,6 +1342,10 @@ export * from './StatusPageComponentsListResultV2.js';
1342
1342
  export * from './StatusPageComponentsShowResultV2.js';
1343
1343
  export * from './StatusPageComponentsUpdatePayloadV2.js';
1344
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';
1345
1349
  export * from './StatusPageIncidentAffectedComponentV2.js';
1346
1350
  export * from './StatusPageIncidentComponentImpactV2.js';
1347
1351
  export * from './StatusPageIncidentUpdateV2.js';
@@ -1375,6 +1379,7 @@ export * from './StatusPagesListStatusPageIncidentsResultV2.js';
1375
1379
  export * from './StatusPagesListStatusPageMaintenancesResultV2.js';
1376
1380
  export * from './StatusPagesListStatusPagesResultV2.js';
1377
1381
  export * from './StatusPagesShowStatusPageComponentAvailabilityResultV2.js';
1382
+ export * from './StatusPagesShowStatusPageCustomerPageResultV2.js';
1378
1383
  export * from './StatusPagesShowStatusPageIncidentResultV2.js';
1379
1384
  export * from './StatusPagesShowStatusPageMaintenanceResultV2.js';
1380
1385
  export * from './StatusPagesShowStatusPageResultV2.js';
@@ -1344,6 +1344,10 @@ export * from './StatusPageComponentsListResultV2.js';
1344
1344
  export * from './StatusPageComponentsShowResultV2.js';
1345
1345
  export * from './StatusPageComponentsUpdatePayloadV2.js';
1346
1346
  export * from './StatusPageComponentsUpdateResultV2.js';
1347
+ export * from './StatusPageCustomerPageComponentV2.js';
1348
+ export * from './StatusPageCustomerPageGroupV2.js';
1349
+ export * from './StatusPageCustomerPageItemV2.js';
1350
+ export * from './StatusPageCustomerPageV2.js';
1347
1351
  export * from './StatusPageIncidentAffectedComponentV2.js';
1348
1352
  export * from './StatusPageIncidentComponentImpactV2.js';
1349
1353
  export * from './StatusPageIncidentUpdateV2.js';
@@ -1377,6 +1381,7 @@ export * from './StatusPagesListStatusPageIncidentsResultV2.js';
1377
1381
  export * from './StatusPagesListStatusPageMaintenancesResultV2.js';
1378
1382
  export * from './StatusPagesListStatusPagesResultV2.js';
1379
1383
  export * from './StatusPagesShowStatusPageComponentAvailabilityResultV2.js';
1384
+ export * from './StatusPagesShowStatusPageCustomerPageResultV2.js';
1380
1385
  export * from './StatusPagesShowStatusPageIncidentResultV2.js';
1381
1386
  export * from './StatusPagesShowStatusPageMaintenanceResultV2.js';
1382
1387
  export * from './StatusPagesShowStatusPageResultV2.js';
@@ -1 +1 @@
1
- export declare const VERSION = "2.45.0";
1
+ export declare const VERSION = "2.46.0";
@@ -1,2 +1,2 @@
1
1
  // Written by `make build` from package.json. Do not edit.
2
- export const VERSION = "2.45.0";
2
+ export const VERSION = "2.46.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incident-io/sdk",
3
- "version": "2.45.0",
3
+ "version": "2.46.0",
4
4
  "description": "TypeScript SDK for the incident.io API",
5
5
  "license": "MIT",
6
6
  "author": "incident.io <support@incident.io>",