@sst-provider/incident-io 5.32.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 (114) hide show
  1. package/README.md +3 -0
  2. package/bin/alertAttribute.d.ts +96 -0
  3. package/bin/alertAttribute.js +63 -0
  4. package/bin/alertAttribute.js.map +1 -0
  5. package/bin/alertRoute.d.ts +146 -0
  6. package/bin/alertRoute.js +95 -0
  7. package/bin/alertRoute.js.map +1 -0
  8. package/bin/alertSource.d.ts +127 -0
  9. package/bin/alertSource.js +73 -0
  10. package/bin/alertSource.js.map +1 -0
  11. package/bin/catalogEntries.d.ts +86 -0
  12. package/bin/catalogEntries.js +59 -0
  13. package/bin/catalogEntries.js.map +1 -0
  14. package/bin/catalogEntry.d.ts +125 -0
  15. package/bin/catalogEntry.js +67 -0
  16. package/bin/catalogEntry.js.map +1 -0
  17. package/bin/catalogType.d.ts +108 -0
  18. package/bin/catalogType.js +65 -0
  19. package/bin/catalogType.js.map +1 -0
  20. package/bin/catalogTypeAttribute.d.ts +126 -0
  21. package/bin/catalogTypeAttribute.js +67 -0
  22. package/bin/catalogTypeAttribute.js.map +1 -0
  23. package/bin/config/index.d.ts +1 -0
  24. package/bin/config/index.js +21 -0
  25. package/bin/config/index.js.map +1 -0
  26. package/bin/config/vars.d.ts +8 -0
  27. package/bin/config/vars.js +19 -0
  28. package/bin/config/vars.js.map +1 -0
  29. package/bin/customField.d.ts +113 -0
  30. package/bin/customField.js +67 -0
  31. package/bin/customField.js.map +1 -0
  32. package/bin/customFieldOption.d.ts +72 -0
  33. package/bin/customFieldOption.js +59 -0
  34. package/bin/customFieldOption.js.map +1 -0
  35. package/bin/escalationPath.d.ts +104 -0
  36. package/bin/escalationPath.js +60 -0
  37. package/bin/escalationPath.js.map +1 -0
  38. package/bin/getAlertAttribute.d.ts +26 -0
  39. package/bin/getAlertAttribute.js +22 -0
  40. package/bin/getAlertAttribute.js.map +1 -0
  41. package/bin/getAlertSources.d.ts +27 -0
  42. package/bin/getAlertSources.js +24 -0
  43. package/bin/getAlertSources.js.map +1 -0
  44. package/bin/getCatalogEntries.d.ts +27 -0
  45. package/bin/getCatalogEntries.js +22 -0
  46. package/bin/getCatalogEntries.js.map +1 -0
  47. package/bin/getCatalogEntry.d.ts +31 -0
  48. package/bin/getCatalogEntry.js +24 -0
  49. package/bin/getCatalogEntry.js.map +1 -0
  50. package/bin/getCatalogType.d.ts +31 -0
  51. package/bin/getCatalogType.js +28 -0
  52. package/bin/getCatalogType.js.map +1 -0
  53. package/bin/getCatalogTypeAttribute.d.ts +30 -0
  54. package/bin/getCatalogTypeAttribute.js +24 -0
  55. package/bin/getCatalogTypeAttribute.js.map +1 -0
  56. package/bin/getCustomField.d.ts +29 -0
  57. package/bin/getCustomField.js +22 -0
  58. package/bin/getCustomField.js.map +1 -0
  59. package/bin/getCustomFieldOption.d.ts +28 -0
  60. package/bin/getCustomFieldOption.js +26 -0
  61. package/bin/getCustomFieldOption.js.map +1 -0
  62. package/bin/getEscalationPath.d.ts +29 -0
  63. package/bin/getEscalationPath.js +26 -0
  64. package/bin/getEscalationPath.js.map +1 -0
  65. package/bin/getIncidentRole.d.ts +25 -0
  66. package/bin/getIncidentRole.js +22 -0
  67. package/bin/getIncidentRole.js.map +1 -0
  68. package/bin/getIncidentTypes.d.ts +14 -0
  69. package/bin/getIncidentTypes.js +18 -0
  70. package/bin/getIncidentTypes.js.map +1 -0
  71. package/bin/getSchedule.d.ts +26 -0
  72. package/bin/getSchedule.js +26 -0
  73. package/bin/getSchedule.js.map +1 -0
  74. package/bin/getUser.d.ts +28 -0
  75. package/bin/getUser.js +28 -0
  76. package/bin/getUser.js.map +1 -0
  77. package/bin/incidentRole.d.ts +84 -0
  78. package/bin/incidentRole.js +64 -0
  79. package/bin/incidentRole.js.map +1 -0
  80. package/bin/index.d.ts +91 -0
  81. package/bin/index.js +166 -0
  82. package/bin/index.js.map +1 -0
  83. package/bin/maintenanceWindow.d.ts +206 -0
  84. package/bin/maintenanceWindow.js +87 -0
  85. package/bin/maintenanceWindow.js.map +1 -0
  86. package/bin/package.json +35 -0
  87. package/bin/provider.d.ts +59 -0
  88. package/bin/provider.js +57 -0
  89. package/bin/provider.js.map +1 -0
  90. package/bin/schedule.d.ts +71 -0
  91. package/bin/schedule.js +63 -0
  92. package/bin/schedule.js.map +1 -0
  93. package/bin/severity.d.ts +72 -0
  94. package/bin/severity.js +56 -0
  95. package/bin/severity.js.map +1 -0
  96. package/bin/status.d.ts +72 -0
  97. package/bin/status.js +59 -0
  98. package/bin/status.js.map +1 -0
  99. package/bin/types/index.d.ts +3 -0
  100. package/bin/types/index.js +11 -0
  101. package/bin/types/index.js.map +1 -0
  102. package/bin/types/input.d.ts +6516 -0
  103. package/bin/types/input.js +5 -0
  104. package/bin/types/input.js.map +1 -0
  105. package/bin/types/output.d.ts +11481 -0
  106. package/bin/types/output.js +5 -0
  107. package/bin/types/output.js.map +1 -0
  108. package/bin/utilities.d.ts +5 -0
  109. package/bin/utilities.js +129 -0
  110. package/bin/utilities.js.map +1 -0
  111. package/bin/workflow.d.ts +218 -0
  112. package/bin/workflow.js +107 -0
  113. package/bin/workflow.js.map +1 -0
  114. package/package.json +35 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCustomFieldOption.js","sourceRoot":"","sources":["../getCustomFieldOption.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAPD,oDAOC;AAoBD,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAPD,gEAOC"}
@@ -0,0 +1,29 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getEscalationPath(args?: GetEscalationPathArgs, opts?: pulumi.InvokeOptions): Promise<GetEscalationPathResult>;
4
+ /**
5
+ * A collection of arguments for invoking getEscalationPath.
6
+ */
7
+ export interface GetEscalationPathArgs {
8
+ id?: string;
9
+ name?: string;
10
+ }
11
+ /**
12
+ * A collection of values returned by getEscalationPath.
13
+ */
14
+ export interface GetEscalationPathResult {
15
+ readonly id: string;
16
+ readonly name: string;
17
+ readonly paths: outputs.GetEscalationPathPath[];
18
+ readonly repeatConfig: outputs.GetEscalationPathRepeatConfig;
19
+ readonly teamIds: string[];
20
+ readonly workingHours: outputs.GetEscalationPathWorkingHour[];
21
+ }
22
+ export declare function getEscalationPathOutput(args?: GetEscalationPathOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEscalationPathResult>;
23
+ /**
24
+ * A collection of arguments for invoking getEscalationPath.
25
+ */
26
+ export interface GetEscalationPathOutputArgs {
27
+ id?: pulumi.Input<string>;
28
+ name?: pulumi.Input<string>;
29
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getEscalationPathOutput = exports.getEscalationPath = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getEscalationPath(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("incident:index/getEscalationPath:getEscalationPath", {
12
+ "id": args.id,
13
+ "name": args.name,
14
+ }, opts, utilities.getPackage());
15
+ }
16
+ exports.getEscalationPath = getEscalationPath;
17
+ function getEscalationPathOutput(args, opts) {
18
+ args = args || {};
19
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
20
+ return pulumi.runtime.invokeOutput("incident:index/getEscalationPath:getEscalationPath", {
21
+ "id": args.id,
22
+ "name": args.name,
23
+ }, opts, utilities.getPackage());
24
+ }
25
+ exports.getEscalationPathOutput = getEscalationPathOutput;
26
+ //# sourceMappingURL=getEscalationPath.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEscalationPath.js","sourceRoot":"","sources":["../getEscalationPath.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAPD,8CAOC;AAqBD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAPD,0DAOC"}
@@ -0,0 +1,25 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getIncidentRole(args: GetIncidentRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetIncidentRoleResult>;
3
+ /**
4
+ * A collection of arguments for invoking getIncidentRole.
5
+ */
6
+ export interface GetIncidentRoleArgs {
7
+ id: string;
8
+ }
9
+ /**
10
+ * A collection of values returned by getIncidentRole.
11
+ */
12
+ export interface GetIncidentRoleResult {
13
+ readonly description: string;
14
+ readonly id: string;
15
+ readonly instructions: string;
16
+ readonly name: string;
17
+ readonly shortform: string;
18
+ }
19
+ export declare function getIncidentRoleOutput(args: GetIncidentRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIncidentRoleResult>;
20
+ /**
21
+ * A collection of arguments for invoking getIncidentRole.
22
+ */
23
+ export interface GetIncidentRoleOutputArgs {
24
+ id: pulumi.Input<string>;
25
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getIncidentRoleOutput = exports.getIncidentRole = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getIncidentRole(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("incident:index/getIncidentRole:getIncidentRole", {
11
+ "id": args.id,
12
+ }, opts, utilities.getPackage());
13
+ }
14
+ exports.getIncidentRole = getIncidentRole;
15
+ function getIncidentRoleOutput(args, opts) {
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invokeOutput("incident:index/getIncidentRole:getIncidentRole", {
18
+ "id": args.id,
19
+ }, opts, utilities.getPackage());
20
+ }
21
+ exports.getIncidentRoleOutput = getIncidentRoleOutput;
22
+ //# sourceMappingURL=getIncidentRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIncidentRole.js","sourceRoot":"","sources":["../getIncidentRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AALD,0CAKC;AAmBD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AALD,sDAKC"}
@@ -0,0 +1,14 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getIncidentTypes(opts?: pulumi.InvokeOptions): Promise<GetIncidentTypesResult>;
4
+ /**
5
+ * A collection of values returned by getIncidentTypes.
6
+ */
7
+ export interface GetIncidentTypesResult {
8
+ /**
9
+ * The provider-assigned unique ID for this managed resource.
10
+ */
11
+ readonly id: string;
12
+ readonly incidentTypes: outputs.GetIncidentTypesIncidentType[];
13
+ }
14
+ export declare function getIncidentTypesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIncidentTypesResult>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getIncidentTypesOutput = exports.getIncidentTypes = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getIncidentTypes(opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("incident:index/getIncidentTypes:getIncidentTypes", {}, opts, utilities.getPackage());
11
+ }
12
+ exports.getIncidentTypes = getIncidentTypes;
13
+ function getIncidentTypesOutput(opts) {
14
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
15
+ return pulumi.runtime.invokeOutput("incident:index/getIncidentTypes:getIncidentTypes", {}, opts, utilities.getPackage());
16
+ }
17
+ exports.getIncidentTypesOutput = getIncidentTypesOutput;
18
+ //# sourceMappingURL=getIncidentTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIncidentTypes.js","sourceRoot":"","sources":["../getIncidentTypes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAJD,4CAIC;AAYD,SAAgB,sBAAsB,CAAC,IAAiC;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE,EACtF,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAJD,wDAIC"}
@@ -0,0 +1,26 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getSchedule(args?: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduleResult>;
3
+ /**
4
+ * A collection of arguments for invoking getSchedule.
5
+ */
6
+ export interface GetScheduleArgs {
7
+ id?: string;
8
+ name?: string;
9
+ }
10
+ /**
11
+ * A collection of values returned by getSchedule.
12
+ */
13
+ export interface GetScheduleResult {
14
+ readonly id: string;
15
+ readonly name: string;
16
+ readonly teamIds: string[];
17
+ readonly timezone: string;
18
+ }
19
+ export declare function getScheduleOutput(args?: GetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduleResult>;
20
+ /**
21
+ * A collection of arguments for invoking getSchedule.
22
+ */
23
+ export interface GetScheduleOutputArgs {
24
+ id?: pulumi.Input<string>;
25
+ name?: pulumi.Input<string>;
26
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getScheduleOutput = exports.getSchedule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getSchedule(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("incident:index/getSchedule:getSchedule", {
12
+ "id": args.id,
13
+ "name": args.name,
14
+ }, opts, utilities.getPackage());
15
+ }
16
+ exports.getSchedule = getSchedule;
17
+ function getScheduleOutput(args, opts) {
18
+ args = args || {};
19
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
20
+ return pulumi.runtime.invokeOutput("incident:index/getSchedule:getSchedule", {
21
+ "id": args.id,
22
+ "name": args.name,
23
+ }, opts, utilities.getPackage());
24
+ }
25
+ exports.getScheduleOutput = getScheduleOutput;
26
+ //# sourceMappingURL=getSchedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchedule.js","sourceRoot":"","sources":["../getSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAPD,kCAOC;AAmBD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAPD,8CAOC"}
@@ -0,0 +1,28 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
3
+ /**
4
+ * A collection of arguments for invoking getUser.
5
+ */
6
+ export interface GetUserArgs {
7
+ email?: string;
8
+ id?: string;
9
+ slackUserId?: string;
10
+ }
11
+ /**
12
+ * A collection of values returned by getUser.
13
+ */
14
+ export interface GetUserResult {
15
+ readonly email?: string;
16
+ readonly id?: string;
17
+ readonly name: string;
18
+ readonly slackUserId?: string;
19
+ }
20
+ export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>;
21
+ /**
22
+ * A collection of arguments for invoking getUser.
23
+ */
24
+ export interface GetUserOutputArgs {
25
+ email?: pulumi.Input<string>;
26
+ id?: pulumi.Input<string>;
27
+ slackUserId?: pulumi.Input<string>;
28
+ }
package/bin/getUser.js ADDED
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getUserOutput = exports.getUser = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getUser(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("incident:index/getUser:getUser", {
12
+ "email": args.email,
13
+ "id": args.id,
14
+ "slackUserId": args.slackUserId,
15
+ }, opts, utilities.getPackage());
16
+ }
17
+ exports.getUser = getUser;
18
+ function getUserOutput(args, opts) {
19
+ args = args || {};
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("incident:index/getUser:getUser", {
22
+ "email": args.email,
23
+ "id": args.id,
24
+ "slackUserId": args.slackUserId,
25
+ }, opts, utilities.getPackage());
26
+ }
27
+ exports.getUserOutput = getUserOutput;
28
+ //# sourceMappingURL=getUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AARD,0BAQC;AAoBD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AARD,sCAQC"}
@@ -0,0 +1,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class IncidentRole extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing IncidentRole resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IncidentRoleState, opts?: pulumi.CustomResourceOptions): IncidentRole;
13
+ /**
14
+ * Returns true if the given object is an instance of IncidentRole. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is IncidentRole;
18
+ /**
19
+ * Describes the purpose of the role
20
+ */
21
+ readonly description: pulumi.Output<string>;
22
+ /**
23
+ * Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
24
+ */
25
+ readonly instructions: pulumi.Output<string>;
26
+ /**
27
+ * Human readable name of the incident role
28
+ */
29
+ readonly name: pulumi.Output<string>;
30
+ /**
31
+ * Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
32
+ */
33
+ readonly shortform: pulumi.Output<string>;
34
+ /**
35
+ * Create a IncidentRole resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name: string, args: IncidentRoleArgs, opts?: pulumi.CustomResourceOptions);
42
+ }
43
+ /**
44
+ * Input properties used for looking up and filtering IncidentRole resources.
45
+ */
46
+ export interface IncidentRoleState {
47
+ /**
48
+ * Describes the purpose of the role
49
+ */
50
+ description?: pulumi.Input<string>;
51
+ /**
52
+ * Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
53
+ */
54
+ instructions?: pulumi.Input<string>;
55
+ /**
56
+ * Human readable name of the incident role
57
+ */
58
+ name?: pulumi.Input<string>;
59
+ /**
60
+ * Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
61
+ */
62
+ shortform?: pulumi.Input<string>;
63
+ }
64
+ /**
65
+ * The set of arguments for constructing a IncidentRole resource.
66
+ */
67
+ export interface IncidentRoleArgs {
68
+ /**
69
+ * Describes the purpose of the role
70
+ */
71
+ description: pulumi.Input<string>;
72
+ /**
73
+ * Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
74
+ */
75
+ instructions: pulumi.Input<string>;
76
+ /**
77
+ * Human readable name of the incident role
78
+ */
79
+ name?: pulumi.Input<string>;
80
+ /**
81
+ * Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
82
+ */
83
+ shortform: pulumi.Input<string>;
84
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.IncidentRole = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class IncidentRole extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing IncidentRole resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new IncidentRole(name, state, { ...opts, id: id });
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of IncidentRole. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === IncidentRole.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["description"] = state?.description;
37
+ resourceInputs["instructions"] = state?.instructions;
38
+ resourceInputs["name"] = state?.name;
39
+ resourceInputs["shortform"] = state?.shortform;
40
+ }
41
+ else {
42
+ const args = argsOrState;
43
+ if (args?.description === undefined && !opts.urn) {
44
+ throw new Error("Missing required property 'description'");
45
+ }
46
+ if (args?.instructions === undefined && !opts.urn) {
47
+ throw new Error("Missing required property 'instructions'");
48
+ }
49
+ if (args?.shortform === undefined && !opts.urn) {
50
+ throw new Error("Missing required property 'shortform'");
51
+ }
52
+ resourceInputs["description"] = args?.description;
53
+ resourceInputs["instructions"] = args?.instructions;
54
+ resourceInputs["name"] = args?.name;
55
+ resourceInputs["shortform"] = args?.shortform;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ super(IncidentRole.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
59
+ }
60
+ }
61
+ exports.IncidentRole = IncidentRole;
62
+ /** @internal */
63
+ IncidentRole.__pulumiType = 'incident:index/incidentRole:IncidentRole';
64
+ //# sourceMappingURL=incidentRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incidentRole.js","sourceRoot":"","sources":["../incidentRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AAhFL,oCAiFC;AAnEG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
package/bin/index.d.ts ADDED
@@ -0,0 +1,91 @@
1
+ export { AlertAttributeArgs, AlertAttributeState } from "./alertAttribute";
2
+ export type AlertAttribute = import("./alertAttribute").AlertAttribute;
3
+ export declare const AlertAttribute: typeof import("./alertAttribute").AlertAttribute;
4
+ export { AlertRouteArgs, AlertRouteState } from "./alertRoute";
5
+ export type AlertRoute = import("./alertRoute").AlertRoute;
6
+ export declare const AlertRoute: typeof import("./alertRoute").AlertRoute;
7
+ export { AlertSourceArgs, AlertSourceState } from "./alertSource";
8
+ export type AlertSource = import("./alertSource").AlertSource;
9
+ export declare const AlertSource: typeof import("./alertSource").AlertSource;
10
+ export { CatalogEntriesArgs, CatalogEntriesState } from "./catalogEntries";
11
+ export type CatalogEntries = import("./catalogEntries").CatalogEntries;
12
+ export declare const CatalogEntries: typeof import("./catalogEntries").CatalogEntries;
13
+ export { CatalogEntryArgs, CatalogEntryState } from "./catalogEntry";
14
+ export type CatalogEntry = import("./catalogEntry").CatalogEntry;
15
+ export declare const CatalogEntry: typeof import("./catalogEntry").CatalogEntry;
16
+ export { CatalogTypeArgs, CatalogTypeState } from "./catalogType";
17
+ export type CatalogType = import("./catalogType").CatalogType;
18
+ export declare const CatalogType: typeof import("./catalogType").CatalogType;
19
+ export { CatalogTypeAttributeArgs, CatalogTypeAttributeState } from "./catalogTypeAttribute";
20
+ export type CatalogTypeAttribute = import("./catalogTypeAttribute").CatalogTypeAttribute;
21
+ export declare const CatalogTypeAttribute: typeof import("./catalogTypeAttribute").CatalogTypeAttribute;
22
+ export { CustomFieldArgs, CustomFieldState } from "./customField";
23
+ export type CustomField = import("./customField").CustomField;
24
+ export declare const CustomField: typeof import("./customField").CustomField;
25
+ export { CustomFieldOptionArgs, CustomFieldOptionState } from "./customFieldOption";
26
+ export type CustomFieldOption = import("./customFieldOption").CustomFieldOption;
27
+ export declare const CustomFieldOption: typeof import("./customFieldOption").CustomFieldOption;
28
+ export { EscalationPathArgs, EscalationPathState } from "./escalationPath";
29
+ export type EscalationPath = import("./escalationPath").EscalationPath;
30
+ export declare const EscalationPath: typeof import("./escalationPath").EscalationPath;
31
+ export { GetAlertAttributeArgs, GetAlertAttributeResult, GetAlertAttributeOutputArgs } from "./getAlertAttribute";
32
+ export declare const getAlertAttribute: typeof import("./getAlertAttribute").getAlertAttribute;
33
+ export declare const getAlertAttributeOutput: typeof import("./getAlertAttribute").getAlertAttributeOutput;
34
+ export { GetAlertSourcesArgs, GetAlertSourcesResult, GetAlertSourcesOutputArgs } from "./getAlertSources";
35
+ export declare const getAlertSources: typeof import("./getAlertSources").getAlertSources;
36
+ export declare const getAlertSourcesOutput: typeof import("./getAlertSources").getAlertSourcesOutput;
37
+ export { GetCatalogEntriesArgs, GetCatalogEntriesResult, GetCatalogEntriesOutputArgs } from "./getCatalogEntries";
38
+ export declare const getCatalogEntries: typeof import("./getCatalogEntries").getCatalogEntries;
39
+ export declare const getCatalogEntriesOutput: typeof import("./getCatalogEntries").getCatalogEntriesOutput;
40
+ export { GetCatalogEntryArgs, GetCatalogEntryResult, GetCatalogEntryOutputArgs } from "./getCatalogEntry";
41
+ export declare const getCatalogEntry: typeof import("./getCatalogEntry").getCatalogEntry;
42
+ export declare const getCatalogEntryOutput: typeof import("./getCatalogEntry").getCatalogEntryOutput;
43
+ export { GetCatalogTypeArgs, GetCatalogTypeResult, GetCatalogTypeOutputArgs } from "./getCatalogType";
44
+ export declare const getCatalogType: typeof import("./getCatalogType").getCatalogType;
45
+ export declare const getCatalogTypeOutput: typeof import("./getCatalogType").getCatalogTypeOutput;
46
+ export { GetCatalogTypeAttributeArgs, GetCatalogTypeAttributeResult, GetCatalogTypeAttributeOutputArgs } from "./getCatalogTypeAttribute";
47
+ export declare const getCatalogTypeAttribute: typeof import("./getCatalogTypeAttribute").getCatalogTypeAttribute;
48
+ export declare const getCatalogTypeAttributeOutput: typeof import("./getCatalogTypeAttribute").getCatalogTypeAttributeOutput;
49
+ export { GetCustomFieldArgs, GetCustomFieldResult, GetCustomFieldOutputArgs } from "./getCustomField";
50
+ export declare const getCustomField: typeof import("./getCustomField").getCustomField;
51
+ export declare const getCustomFieldOutput: typeof import("./getCustomField").getCustomFieldOutput;
52
+ export { GetCustomFieldOptionArgs, GetCustomFieldOptionResult, GetCustomFieldOptionOutputArgs } from "./getCustomFieldOption";
53
+ export declare const getCustomFieldOption: typeof import("./getCustomFieldOption").getCustomFieldOption;
54
+ export declare const getCustomFieldOptionOutput: typeof import("./getCustomFieldOption").getCustomFieldOptionOutput;
55
+ export { GetEscalationPathArgs, GetEscalationPathResult, GetEscalationPathOutputArgs } from "./getEscalationPath";
56
+ export declare const getEscalationPath: typeof import("./getEscalationPath").getEscalationPath;
57
+ export declare const getEscalationPathOutput: typeof import("./getEscalationPath").getEscalationPathOutput;
58
+ export { GetIncidentRoleArgs, GetIncidentRoleResult, GetIncidentRoleOutputArgs } from "./getIncidentRole";
59
+ export declare const getIncidentRole: typeof import("./getIncidentRole").getIncidentRole;
60
+ export declare const getIncidentRoleOutput: typeof import("./getIncidentRole").getIncidentRoleOutput;
61
+ export { GetIncidentTypesResult } from "./getIncidentTypes";
62
+ export declare const getIncidentTypes: typeof import("./getIncidentTypes").getIncidentTypes;
63
+ export declare const getIncidentTypesOutput: typeof import("./getIncidentTypes").getIncidentTypesOutput;
64
+ export { GetScheduleArgs, GetScheduleResult, GetScheduleOutputArgs } from "./getSchedule";
65
+ export declare const getSchedule: typeof import("./getSchedule").getSchedule;
66
+ export declare const getScheduleOutput: typeof import("./getSchedule").getScheduleOutput;
67
+ export { GetUserArgs, GetUserResult, GetUserOutputArgs } from "./getUser";
68
+ export declare const getUser: typeof import("./getUser").getUser;
69
+ export declare const getUserOutput: typeof import("./getUser").getUserOutput;
70
+ export { IncidentRoleArgs, IncidentRoleState } from "./incidentRole";
71
+ export type IncidentRole = import("./incidentRole").IncidentRole;
72
+ export declare const IncidentRole: typeof import("./incidentRole").IncidentRole;
73
+ export { MaintenanceWindowArgs, MaintenanceWindowState } from "./maintenanceWindow";
74
+ export type MaintenanceWindow = import("./maintenanceWindow").MaintenanceWindow;
75
+ export declare const MaintenanceWindow: typeof import("./maintenanceWindow").MaintenanceWindow;
76
+ export * from "./provider";
77
+ export { ScheduleArgs, ScheduleState } from "./schedule";
78
+ export type Schedule = import("./schedule").Schedule;
79
+ export declare const Schedule: typeof import("./schedule").Schedule;
80
+ export { SeverityArgs, SeverityState } from "./severity";
81
+ export type Severity = import("./severity").Severity;
82
+ export declare const Severity: typeof import("./severity").Severity;
83
+ export { StatusArgs, StatusState } from "./status";
84
+ export type Status = import("./status").Status;
85
+ export declare const Status: typeof import("./status").Status;
86
+ export { WorkflowArgs, WorkflowState } from "./workflow";
87
+ export type Workflow = import("./workflow").Workflow;
88
+ export declare const Workflow: typeof import("./workflow").Workflow;
89
+ import * as config from "./config";
90
+ import * as types from "./types";
91
+ export { config, types, };