@datadog/datadog-api-client 1.42.0 → 1.44.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 (647) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/packages/datadog-api-client-common/configuration.js +8 -8
  3. package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
  4. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.d.ts +2 -7
  5. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +3 -6
  6. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js.map +1 -1
  7. package/dist/packages/datadog-api-client-v1/index.d.ts +2 -0
  8. package/dist/packages/datadog-api-client-v1/index.js +14 -12
  9. package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
  10. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.d.ts +2 -1
  11. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js +2 -1
  12. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js.map +1 -1
  13. package/dist/packages/datadog-api-client-v1/models/GCPAccount.d.ts +10 -3
  14. package/dist/packages/datadog-api-client-v1/models/GCPAccount.js +4 -5
  15. package/dist/packages/datadog-api-client-v1/models/GCPAccount.js.map +1 -1
  16. package/dist/packages/datadog-api-client-v1/models/GCPMonitoredResourceConfig.d.ts +42 -0
  17. package/dist/packages/datadog-api-client-v1/models/GCPMonitoredResourceConfig.js +34 -0
  18. package/dist/packages/datadog-api-client-v1/models/GCPMonitoredResourceConfig.js.map +1 -0
  19. package/dist/packages/datadog-api-client-v1/models/GCPMonitoredResourceConfigType.d.ts +13 -0
  20. package/dist/packages/datadog-api-client-v1/models/GCPMonitoredResourceConfigType.js +12 -0
  21. package/dist/packages/datadog-api-client-v1/models/GCPMonitoredResourceConfigType.js.map +1 -0
  22. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +8 -0
  23. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
  24. package/dist/packages/datadog-api-client-v2/apis/AWSIntegrationApi.d.ts +28 -0
  25. package/dist/packages/datadog-api-client-v2/apis/AWSIntegrationApi.js +136 -28
  26. package/dist/packages/datadog-api-client-v2/apis/AWSIntegrationApi.js.map +1 -1
  27. package/dist/packages/datadog-api-client-v2/apis/AWSLogsIntegrationApi.js +0 -4
  28. package/dist/packages/datadog-api-client-v2/apis/AWSLogsIntegrationApi.js.map +1 -1
  29. package/dist/packages/datadog-api-client-v2/apis/ActionsDatastoresApi.d.ts +247 -0
  30. package/dist/packages/datadog-api-client-v2/apis/ActionsDatastoresApi.js +840 -0
  31. package/dist/packages/datadog-api-client-v2/apis/ActionsDatastoresApi.js.map +1 -0
  32. package/dist/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.d.ts +2 -0
  33. package/dist/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.js +2 -0
  34. package/dist/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.js.map +1 -1
  35. package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.d.ts +375 -6
  36. package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js +1366 -126
  37. package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js.map +1 -1
  38. package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.d.ts +42 -0
  39. package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.js +164 -0
  40. package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.js.map +1 -1
  41. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.d.ts +214 -0
  42. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js +777 -79
  43. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js.map +1 -1
  44. package/dist/packages/datadog-api-client-v2/apis/OrgConnectionsApi.d.ts +24 -2
  45. package/dist/packages/datadog-api-client-v2/apis/OrgConnectionsApi.js +16 -3
  46. package/dist/packages/datadog-api-client-v2/apis/OrgConnectionsApi.js.map +1 -1
  47. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +9 -2
  48. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +7 -3
  49. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
  50. package/dist/packages/datadog-api-client-v2/index.d.ts +174 -6
  51. package/dist/packages/datadog-api-client-v2/index.js +331 -48
  52. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  53. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequest.d.ts +37 -0
  54. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequest.js +30 -0
  55. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequest.js.map +1 -0
  56. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestData.d.ts +46 -0
  57. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestData.js +39 -0
  58. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestData.js.map +1 -0
  59. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributes.d.ts +66 -0
  60. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributes.js +64 -0
  61. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributes.js.map +1 -0
  62. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems.d.ts +48 -0
  63. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems.js +49 -0
  64. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems.js.map +1 -0
  65. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategy.d.ts +74 -0
  66. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategy.js +63 -0
  67. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategy.js.map +1 -0
  68. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByFiltersItems.d.ts +48 -0
  69. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByFiltersItems.js +49 -0
  70. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByFiltersItems.js.map +1 -0
  71. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByItems.d.ts +41 -0
  72. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByItems.js +37 -0
  73. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByItems.js.map +1 -0
  74. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByItemsAllocatedTagsItems.d.ts +40 -0
  75. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByItemsAllocatedTagsItems.js +41 -0
  76. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyAllocatedByItemsAllocatedTagsItems.js.map +1 -0
  77. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyBasedOnCostsItems.d.ts +48 -0
  78. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyBasedOnCostsItems.js +49 -0
  79. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyBasedOnCostsItems.js.map +1 -0
  80. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyEvaluateGroupedByFiltersItems.d.ts +48 -0
  81. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyEvaluateGroupedByFiltersItems.js +49 -0
  82. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataAttributesStrategyEvaluateGroupedByFiltersItems.js.map +1 -0
  83. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataType.d.ts +11 -0
  84. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataType.js +10 -0
  85. package/dist/packages/datadog-api-client-v2/models/ArbitraryCostUpsertRequestDataType.js.map +1 -0
  86. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponse.d.ts +37 -0
  87. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponse.js +30 -0
  88. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponse.js.map +1 -0
  89. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseArray.d.ts +37 -0
  90. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseArray.js +31 -0
  91. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseArray.js.map +1 -0
  92. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseData.d.ts +46 -0
  93. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseData.js +39 -0
  94. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseData.js.map +1 -0
  95. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributes.d.ts +82 -0
  96. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributes.js +89 -0
  97. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributes.js.map +1 -0
  98. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesCostsToAllocateItems.d.ts +48 -0
  99. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesCostsToAllocateItems.js +49 -0
  100. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesCostsToAllocateItems.js.map +1 -0
  101. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategy.d.ts +74 -0
  102. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategy.js +63 -0
  103. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategy.js.map +1 -0
  104. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByFiltersItems.d.ts +48 -0
  105. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByFiltersItems.js +49 -0
  106. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByFiltersItems.js.map +1 -0
  107. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems.d.ts +41 -0
  108. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems.js +37 -0
  109. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems.js.map +1 -0
  110. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems.d.ts +40 -0
  111. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems.js +41 -0
  112. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems.js.map +1 -0
  113. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyBasedOnCostsItems.d.ts +48 -0
  114. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyBasedOnCostsItems.js +49 -0
  115. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyBasedOnCostsItems.js.map +1 -0
  116. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyEvaluateGroupedByFiltersItems.d.ts +48 -0
  117. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyEvaluateGroupedByFiltersItems.js +49 -0
  118. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataAttributesStrategyEvaluateGroupedByFiltersItems.js.map +1 -0
  119. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataType.d.ts +11 -0
  120. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataType.js +10 -0
  121. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleResponseDataType.js.map +1 -0
  122. package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPostData.d.ts +1 -1
  123. package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPostData.js +0 -1
  124. package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPostData.js.map +1 -1
  125. package/dist/packages/datadog-api-client-v2/models/AwsCURConfigsResponse.d.ts +1 -1
  126. package/dist/packages/datadog-api-client-v2/models/AwsCURConfigsResponse.js +1 -0
  127. package/dist/packages/datadog-api-client-v2/models/AwsCURConfigsResponse.js.map +1 -1
  128. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponse.d.ts +37 -0
  129. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponse.js +30 -0
  130. package/dist/packages/datadog-api-client-v2/models/{AwsCURConfigResponse.js.map → AwsCurConfigResponse.js.map} +1 -1
  131. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseData.d.ts +46 -0
  132. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseData.js +39 -0
  133. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseData.js.map +1 -0
  134. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataAttributes.d.ts +81 -0
  135. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataAttributes.js +75 -0
  136. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataAttributes.js.map +1 -0
  137. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataAttributesAccountFilters.d.ts +44 -0
  138. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataAttributesAccountFilters.js +43 -0
  139. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataAttributesAccountFilters.js.map +1 -0
  140. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataType.d.ts +11 -0
  141. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataType.js +10 -0
  142. package/dist/packages/datadog-api-client-v2/models/AwsCurConfigResponseDataType.js.map +1 -0
  143. package/dist/packages/datadog-api-client-v2/models/AzureUCConfig.d.ts +1 -1
  144. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPatchData.d.ts +1 -1
  145. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPatchData.js +0 -1
  146. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPatchData.js.map +1 -1
  147. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPostData.d.ts +1 -1
  148. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPostData.js +0 -1
  149. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPostData.js.map +1 -1
  150. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPostRequestAttributes.d.ts +2 -6
  151. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPostRequestAttributes.js +0 -4
  152. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigPostRequestAttributes.js.map +1 -1
  153. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigsResponse.d.ts +1 -1
  154. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigsResponse.js +1 -0
  155. package/dist/packages/datadog-api-client-v2/models/AzureUCConfigsResponse.js.map +1 -1
  156. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequest.d.ts +37 -0
  157. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequest.js +30 -0
  158. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequest.js.map +1 -0
  159. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequestData.d.ts +42 -0
  160. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequestData.js +35 -0
  161. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequestData.js.map +1 -0
  162. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequestDataAttributes.d.ts +43 -0
  163. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequestDataAttributes.js +35 -0
  164. package/dist/packages/datadog-api-client-v2/models/BulkPutAppsDatastoreItemsRequestDataAttributes.js.map +1 -0
  165. package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.d.ts +3 -3
  166. package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.js +1 -1
  167. package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.js.map +1 -1
  168. package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataSingleOrArray.d.ts +11 -0
  169. package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataSingleOrArray.js +3 -0
  170. package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataSingleOrArray.js.map +1 -0
  171. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequest.d.ts +37 -0
  172. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequest.js +30 -0
  173. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequest.js.map +1 -0
  174. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestData.d.ts +46 -0
  175. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestData.js +39 -0
  176. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestData.js.map +1 -0
  177. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestDataAttributes.d.ts +56 -0
  178. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestDataAttributes.js +48 -0
  179. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestDataAttributes.js.map +1 -0
  180. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestDataAttributesOrgAccess.d.ts +13 -0
  181. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestDataAttributesOrgAccess.js +12 -0
  182. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreRequestDataAttributesOrgAccess.js.map +1 -0
  183. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreResponse.d.ts +37 -0
  184. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreResponse.js +30 -0
  185. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreResponse.js.map +1 -0
  186. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreResponseData.d.ts +41 -0
  187. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreResponseData.js +35 -0
  188. package/dist/packages/datadog-api-client-v2/models/CreateAppsDatastoreResponseData.js.map +1 -0
  189. package/dist/packages/datadog-api-client-v2/models/CreateIncidentNotificationRuleRequest.d.ts +37 -0
  190. package/dist/packages/datadog-api-client-v2/models/CreateIncidentNotificationRuleRequest.js +31 -0
  191. package/dist/packages/datadog-api-client-v2/models/CreateIncidentNotificationRuleRequest.js.map +1 -0
  192. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequest.d.ts +37 -0
  193. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequest.js +30 -0
  194. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequest.js.map +1 -0
  195. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestData.d.ts +46 -0
  196. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestData.js +39 -0
  197. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestData.js.map +1 -0
  198. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributes.d.ts +41 -0
  199. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributes.js +35 -0
  200. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributes.js.map +1 -0
  201. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItems.d.ts +61 -0
  202. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItems.js +52 -0
  203. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItems.js.map +1 -0
  204. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsMapping.d.ts +44 -0
  205. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsMapping.js +46 -0
  206. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsMapping.js.map +1 -0
  207. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsQuery.d.ts +49 -0
  208. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsQuery.js +45 -0
  209. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsQuery.js.map +1 -0
  210. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsQueryAddition.d.ts +40 -0
  211. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsQueryAddition.js +41 -0
  212. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsQueryAddition.js.map +1 -0
  213. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsReferenceTable.d.ts +53 -0
  214. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsReferenceTable.js +49 -0
  215. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsReferenceTable.js.map +1 -0
  216. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsReferenceTableFieldPairsItems.d.ts +40 -0
  217. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsReferenceTableFieldPairsItems.js +41 -0
  218. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataAttributesRulesItemsReferenceTableFieldPairsItems.js.map +1 -0
  219. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataType.d.ts +11 -0
  220. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataType.js +10 -0
  221. package/dist/packages/datadog-api-client-v2/models/CreateRulesetRequestDataType.js.map +1 -0
  222. package/dist/packages/datadog-api-client-v2/models/DORAFailureRequestAttributes.d.ts +1 -1
  223. package/dist/packages/datadog-api-client-v2/models/Datastore.d.ts +37 -0
  224. package/dist/packages/datadog-api-client-v2/models/{AwsCURConfigResponse.js → Datastore.js} +8 -8
  225. package/dist/packages/datadog-api-client-v2/models/Datastore.js.map +1 -0
  226. package/dist/packages/datadog-api-client-v2/models/DatastoreArray.d.ts +37 -0
  227. package/dist/packages/datadog-api-client-v2/models/DatastoreArray.js +31 -0
  228. package/dist/packages/datadog-api-client-v2/models/DatastoreArray.js.map +1 -0
  229. package/dist/packages/datadog-api-client-v2/models/DatastoreData.d.ts +46 -0
  230. package/dist/packages/datadog-api-client-v2/models/DatastoreData.js +39 -0
  231. package/dist/packages/datadog-api-client-v2/models/DatastoreData.js.map +1 -0
  232. package/dist/packages/datadog-api-client-v2/models/DatastoreDataAttributes.d.ts +71 -0
  233. package/dist/packages/datadog-api-client-v2/models/DatastoreDataAttributes.js +66 -0
  234. package/dist/packages/datadog-api-client-v2/models/DatastoreDataAttributes.js.map +1 -0
  235. package/dist/packages/datadog-api-client-v2/models/DatastoreDataType.d.ts +11 -0
  236. package/dist/packages/datadog-api-client-v2/models/DatastoreDataType.js +10 -0
  237. package/dist/packages/datadog-api-client-v2/models/DatastoreDataType.js.map +1 -0
  238. package/dist/packages/datadog-api-client-v2/models/DatastoreItemConflictMode.d.ts +12 -0
  239. package/dist/packages/datadog-api-client-v2/models/DatastoreItemConflictMode.js +11 -0
  240. package/dist/packages/datadog-api-client-v2/models/DatastoreItemConflictMode.js.map +1 -0
  241. package/dist/packages/datadog-api-client-v2/models/DatastoreItemsDataType.d.ts +11 -0
  242. package/dist/packages/datadog-api-client-v2/models/DatastoreItemsDataType.js +10 -0
  243. package/dist/packages/datadog-api-client-v2/models/DatastoreItemsDataType.js.map +1 -0
  244. package/dist/packages/datadog-api-client-v2/models/DatastorePrimaryKeyGenerationStrategy.d.ts +12 -0
  245. package/dist/packages/datadog-api-client-v2/models/DatastorePrimaryKeyGenerationStrategy.js +11 -0
  246. package/dist/packages/datadog-api-client-v2/models/DatastorePrimaryKeyGenerationStrategy.js.map +1 -0
  247. package/dist/packages/datadog-api-client-v2/models/DatastoreTrigger.d.ts +37 -0
  248. package/dist/packages/datadog-api-client-v2/models/DatastoreTrigger.js +30 -0
  249. package/dist/packages/datadog-api-client-v2/models/DatastoreTrigger.js.map +1 -0
  250. package/dist/packages/datadog-api-client-v2/models/DatastoreTriggerWrapper.d.ts +41 -0
  251. package/dist/packages/datadog-api-client-v2/models/DatastoreTriggerWrapper.js +35 -0
  252. package/dist/packages/datadog-api-client-v2/models/DatastoreTriggerWrapper.js.map +1 -0
  253. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequest.d.ts +37 -0
  254. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequest.js +30 -0
  255. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequest.js.map +1 -0
  256. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequestData.d.ts +42 -0
  257. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequestData.js +35 -0
  258. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequestData.js.map +1 -0
  259. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequestDataAttributes.d.ts +40 -0
  260. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequestDataAttributes.js +40 -0
  261. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemRequestDataAttributes.js.map +1 -0
  262. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemResponse.d.ts +37 -0
  263. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemResponse.js +30 -0
  264. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemResponse.js.map +1 -0
  265. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemResponseData.d.ts +41 -0
  266. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemResponseData.js +35 -0
  267. package/dist/packages/datadog-api-client-v2/models/DeleteAppsDatastoreItemResponseData.js.map +1 -0
  268. package/dist/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.d.ts +4 -0
  269. package/dist/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.js +5 -0
  270. package/dist/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.js.map +1 -1
  271. package/dist/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.d.ts +4 -0
  272. package/dist/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.js +5 -0
  273. package/dist/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.js.map +1 -1
  274. package/dist/packages/datadog-api-client-v2/models/GCPMonitoredResourceConfig.d.ts +42 -0
  275. package/dist/packages/datadog-api-client-v2/models/GCPMonitoredResourceConfig.js +34 -0
  276. package/dist/packages/datadog-api-client-v2/models/GCPMonitoredResourceConfig.js.map +1 -0
  277. package/dist/packages/datadog-api-client-v2/models/GCPMonitoredResourceConfigType.d.ts +13 -0
  278. package/dist/packages/datadog-api-client-v2/models/GCPMonitoredResourceConfigType.js +12 -0
  279. package/dist/packages/datadog-api-client-v2/models/GCPMonitoredResourceConfigType.js.map +1 -0
  280. package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.d.ts +9 -1
  281. package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.js +4 -0
  282. package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.js.map +1 -1
  283. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfig.d.ts +4 -4
  284. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfig.js +1 -1
  285. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigAttributes.d.ts +13 -13
  286. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigAttributes.js +1 -1
  287. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPatchData.d.ts +3 -3
  288. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPatchData.js +1 -1
  289. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPatchRequest.d.ts +2 -2
  290. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPatchRequest.js +1 -1
  291. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPatchRequestAttributes.d.ts +1 -1
  292. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPatchRequestAttributes.js +1 -1
  293. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPatchRequestType.d.ts +1 -1
  294. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostData.d.ts +4 -4
  295. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostData.js +1 -2
  296. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostData.js.map +1 -1
  297. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostRequest.d.ts +2 -2
  298. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostRequest.js +1 -1
  299. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostRequestAttributes.d.ts +7 -7
  300. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostRequestAttributes.js +1 -1
  301. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigPostRequestType.d.ts +1 -1
  302. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigResponse.d.ts +2 -2
  303. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigResponse.js +1 -1
  304. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigType.d.ts +1 -1
  305. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigsResponse.d.ts +3 -3
  306. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigsResponse.js +2 -1
  307. package/dist/packages/datadog-api-client-v2/models/GCPUsageCostConfigsResponse.js.map +1 -1
  308. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponse.d.ts +37 -0
  309. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponse.js +30 -0
  310. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponse.js.map +1 -0
  311. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseData.d.ts +46 -0
  312. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseData.js +39 -0
  313. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseData.js.map +1 -0
  314. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseDataAttributes.d.ts +84 -0
  315. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseDataAttributes.js +84 -0
  316. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseDataAttributes.js.map +1 -0
  317. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseDataType.d.ts +11 -0
  318. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseDataType.js +10 -0
  319. package/dist/packages/datadog-api-client-v2/models/GcpUcConfigResponseDataType.js.map +1 -0
  320. package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.d.ts +5 -0
  321. package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.js +4 -0
  322. package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.js.map +1 -1
  323. package/dist/packages/datadog-api-client-v2/models/IncidentImpactAttributes.d.ts +62 -0
  324. package/dist/packages/datadog-api-client-v2/models/IncidentImpactAttributes.js +65 -0
  325. package/dist/packages/datadog-api-client-v2/models/IncidentImpactAttributes.js.map +1 -0
  326. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateAttributes.d.ts +50 -0
  327. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateAttributes.js +51 -0
  328. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateAttributes.js.map +1 -0
  329. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateData.d.ts +42 -0
  330. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateData.js +36 -0
  331. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateData.js.map +1 -0
  332. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateRequest.d.ts +37 -0
  333. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateRequest.js +31 -0
  334. package/dist/packages/datadog-api-client-v2/models/IncidentImpactCreateRequest.js.map +1 -0
  335. package/dist/packages/datadog-api-client-v2/models/IncidentImpactRelatedObject.d.ts +13 -0
  336. package/dist/packages/datadog-api-client-v2/models/IncidentImpactRelatedObject.js +12 -0
  337. package/dist/packages/datadog-api-client-v2/models/IncidentImpactRelatedObject.js.map +1 -0
  338. package/dist/packages/datadog-api-client-v2/models/IncidentImpactRelationships.d.ts +46 -0
  339. package/dist/packages/datadog-api-client-v2/models/IncidentImpactRelationships.js +38 -0
  340. package/dist/packages/datadog-api-client-v2/models/IncidentImpactRelationships.js.map +1 -0
  341. package/dist/packages/datadog-api-client-v2/models/IncidentImpactResponse.d.ts +42 -0
  342. package/dist/packages/datadog-api-client-v2/models/IncidentImpactResponse.js +35 -0
  343. package/dist/packages/datadog-api-client-v2/models/IncidentImpactResponse.js.map +1 -0
  344. package/dist/packages/datadog-api-client-v2/models/IncidentImpactResponseData.d.ts +51 -0
  345. package/dist/packages/datadog-api-client-v2/models/IncidentImpactResponseData.js +44 -0
  346. package/dist/packages/datadog-api-client-v2/models/IncidentImpactResponseData.js.map +1 -0
  347. package/dist/packages/datadog-api-client-v2/models/IncidentImpactType.d.ts +11 -0
  348. package/dist/packages/datadog-api-client-v2/models/IncidentImpactType.js +10 -0
  349. package/dist/packages/datadog-api-client-v2/models/IncidentImpactType.js.map +1 -0
  350. package/dist/packages/datadog-api-client-v2/models/IncidentImpactsResponse.d.ts +42 -0
  351. package/dist/packages/datadog-api-client-v2/models/IncidentImpactsResponse.js +35 -0
  352. package/dist/packages/datadog-api-client-v2/models/IncidentImpactsResponse.js.map +1 -0
  353. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRule.d.ts +42 -0
  354. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRule.js +35 -0
  355. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRule.js.map +1 -0
  356. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArray.d.ts +47 -0
  357. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArray.js +39 -0
  358. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArray.js.map +1 -0
  359. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArrayMeta.d.ts +37 -0
  360. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArrayMeta.js +30 -0
  361. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArrayMeta.js.map +1 -0
  362. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArrayMetaPage.d.ts +44 -0
  363. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArrayMetaPage.js +46 -0
  364. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleArrayMetaPage.js.map +1 -0
  365. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleAttributes.d.ts +66 -0
  366. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleAttributes.js +67 -0
  367. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleAttributes.js.map +1 -0
  368. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleAttributesVisibility.d.ts +13 -0
  369. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleAttributesVisibility.js +12 -0
  370. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleAttributesVisibility.js.map +1 -0
  371. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleConditionsItems.d.ts +40 -0
  372. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleConditionsItems.js +41 -0
  373. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleConditionsItems.js.map +1 -0
  374. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateAttributes.d.ts +58 -0
  375. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateAttributes.js +53 -0
  376. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateAttributes.js.map +1 -0
  377. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateAttributesVisibility.d.ts +13 -0
  378. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateAttributesVisibility.js +12 -0
  379. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateAttributesVisibility.js.map +1 -0
  380. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateData.d.ts +47 -0
  381. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateData.js +40 -0
  382. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateData.js.map +1 -0
  383. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateDataRelationships.d.ts +42 -0
  384. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateDataRelationships.js +34 -0
  385. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleCreateDataRelationships.js.map +1 -0
  386. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleIncludedItems.d.ts +13 -0
  387. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleIncludedItems.js +3 -0
  388. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleIncludedItems.js.map +1 -0
  389. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleRelationships.d.ts +51 -0
  390. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleRelationships.js +42 -0
  391. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleRelationships.js.map +1 -0
  392. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleResponseData.d.ts +51 -0
  393. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleResponseData.js +45 -0
  394. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleResponseData.js.map +1 -0
  395. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleType.d.ts +11 -0
  396. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleType.js +10 -0
  397. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleType.js.map +1 -0
  398. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleUpdateData.d.ts +51 -0
  399. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleUpdateData.js +46 -0
  400. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationRuleUpdateData.js.map +1 -0
  401. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationTemplateObject.d.ts +51 -0
  402. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationTemplateObject.js +45 -0
  403. package/dist/packages/datadog-api-client-v2/models/IncidentNotificationTemplateObject.js.map +1 -0
  404. package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.d.ts +12 -0
  405. package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.js +13 -0
  406. package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.js.map +1 -1
  407. package/dist/packages/datadog-api-client-v2/models/IncidentResponseRelationships.d.ts +4 -0
  408. package/dist/packages/datadog-api-client-v2/models/IncidentResponseRelationships.js +4 -0
  409. package/dist/packages/datadog-api-client-v2/models/IncidentResponseRelationships.js.map +1 -1
  410. package/dist/packages/datadog-api-client-v2/models/ItemApiPayload.d.ts +37 -0
  411. package/dist/packages/datadog-api-client-v2/models/ItemApiPayload.js +30 -0
  412. package/dist/packages/datadog-api-client-v2/models/ItemApiPayload.js.map +1 -0
  413. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadArray.d.ts +42 -0
  414. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadArray.js +35 -0
  415. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadArray.js.map +1 -0
  416. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadData.d.ts +46 -0
  417. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadData.js +39 -0
  418. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadData.js.map +1 -0
  419. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadDataAttributes.d.ts +64 -0
  420. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadDataAttributes.js +62 -0
  421. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadDataAttributes.js.map +1 -0
  422. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMeta.d.ts +42 -0
  423. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMeta.js +34 -0
  424. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMeta.js.map +1 -0
  425. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaPage.d.ts +44 -0
  426. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaPage.js +45 -0
  427. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaPage.js.map +1 -0
  428. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaSchema.d.ts +41 -0
  429. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaSchema.js +34 -0
  430. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaSchema.js.map +1 -0
  431. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaSchemaField.d.ts +40 -0
  432. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaSchemaField.js +41 -0
  433. package/dist/packages/datadog-api-client-v2/models/ItemApiPayloadMetaSchemaField.js.map +1 -0
  434. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +338 -2
  435. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  436. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigDestinationItem.d.ts +2 -1
  437. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestination.d.ts +68 -0
  438. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestination.js +64 -0
  439. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestination.js.map +1 -0
  440. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestinationEncoding.d.ts +12 -0
  441. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestinationEncoding.js +11 -0
  442. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestinationEncoding.js.map +1 -0
  443. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestinationType.d.ts +11 -0
  444. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestinationType.js +10 -0
  445. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGooglePubSubDestinationType.js.map +1 -0
  446. package/dist/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.d.ts +4 -0
  447. package/dist/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.js +5 -0
  448. package/dist/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.js.map +1 -1
  449. package/dist/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.d.ts +4 -0
  450. package/dist/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.js +4 -0
  451. package/dist/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.js.map +1 -1
  452. package/dist/packages/datadog-api-client-v2/models/PutAppsDatastoreItemResponseArray.d.ts +37 -0
  453. package/dist/packages/datadog-api-client-v2/models/PutAppsDatastoreItemResponseArray.js +31 -0
  454. package/dist/packages/datadog-api-client-v2/models/PutAppsDatastoreItemResponseArray.js.map +1 -0
  455. package/dist/packages/datadog-api-client-v2/models/PutAppsDatastoreItemResponseData.d.ts +41 -0
  456. package/dist/packages/datadog-api-client-v2/models/PutAppsDatastoreItemResponseData.js +35 -0
  457. package/dist/packages/datadog-api-client-v2/models/PutAppsDatastoreItemResponseData.js.map +1 -0
  458. package/dist/packages/datadog-api-client-v2/models/PutIncidentNotificationRuleRequest.d.ts +37 -0
  459. package/dist/packages/datadog-api-client-v2/models/PutIncidentNotificationRuleRequest.js +31 -0
  460. package/dist/packages/datadog-api-client-v2/models/PutIncidentNotificationRuleRequest.js.map +1 -0
  461. package/dist/packages/datadog-api-client-v2/models/RUMApplicationAttributes.d.ts +4 -0
  462. package/dist/packages/datadog-api-client-v2/models/RUMApplicationAttributes.js +5 -0
  463. package/dist/packages/datadog-api-client-v2/models/RUMApplicationAttributes.js.map +1 -1
  464. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncident.d.ts +37 -0
  465. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncident.js +31 -0
  466. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncident.js.map +1 -0
  467. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentData.d.ts +41 -0
  468. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentData.js +36 -0
  469. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentData.js.map +1 -0
  470. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentNotificationTemplate.d.ts +37 -0
  471. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentNotificationTemplate.js +31 -0
  472. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentNotificationTemplate.js.map +1 -0
  473. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentNotificationTemplateData.d.ts +41 -0
  474. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentNotificationTemplateData.js +37 -0
  475. package/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentNotificationTemplateData.js.map +1 -0
  476. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceArray.d.ts +37 -0
  477. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceArray.js +31 -0
  478. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceArray.js.map +1 -0
  479. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceData.d.ts +41 -0
  480. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceData.js +35 -0
  481. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceData.js.map +1 -0
  482. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceDataType.d.ts +11 -0
  483. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceDataType.js +10 -0
  484. package/dist/packages/datadog-api-client-v2/models/ReorderRuleResourceDataType.js.map +1 -0
  485. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceArray.d.ts +37 -0
  486. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceArray.js +31 -0
  487. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceArray.js.map +1 -0
  488. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceData.d.ts +41 -0
  489. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceData.js +35 -0
  490. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceData.js.map +1 -0
  491. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceDataType.d.ts +11 -0
  492. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceDataType.js +10 -0
  493. package/dist/packages/datadog-api-client-v2/models/ReorderRulesetResourceDataType.js.map +1 -0
  494. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequest.d.ts +37 -0
  495. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequest.js +30 -0
  496. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequest.js.map +1 -0
  497. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestData.d.ts +46 -0
  498. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestData.js +39 -0
  499. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestData.js.map +1 -0
  500. package/dist/packages/datadog-api-client-v2/models/{AwsCURConfigResponse.d.ts → RulesValidateQueryRequestDataAttributes.d.ts} +4 -5
  501. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestDataAttributes.js +36 -0
  502. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestDataAttributes.js.map +1 -0
  503. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestDataType.d.ts +11 -0
  504. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestDataType.js +10 -0
  505. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryRequestDataType.js.map +1 -0
  506. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponse.d.ts +37 -0
  507. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponse.js +30 -0
  508. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponse.js.map +1 -0
  509. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseData.d.ts +46 -0
  510. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseData.js +39 -0
  511. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseData.js.map +1 -0
  512. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseDataAttributes.d.ts +36 -0
  513. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseDataAttributes.js +36 -0
  514. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseDataAttributes.js.map +1 -0
  515. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseDataType.d.ts +11 -0
  516. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseDataType.js +10 -0
  517. package/dist/packages/datadog-api-client-v2/models/RulesValidateQueryResponseDataType.js.map +1 -0
  518. package/dist/packages/datadog-api-client-v2/models/RulesetResp.d.ts +37 -0
  519. package/dist/packages/datadog-api-client-v2/models/RulesetResp.js +30 -0
  520. package/dist/packages/datadog-api-client-v2/models/RulesetResp.js.map +1 -0
  521. package/dist/packages/datadog-api-client-v2/models/RulesetRespArray.d.ts +37 -0
  522. package/dist/packages/datadog-api-client-v2/models/RulesetRespArray.js +31 -0
  523. package/dist/packages/datadog-api-client-v2/models/RulesetRespArray.js.map +1 -0
  524. package/dist/packages/datadog-api-client-v2/models/RulesetRespData.d.ts +46 -0
  525. package/dist/packages/datadog-api-client-v2/models/RulesetRespData.js +39 -0
  526. package/dist/packages/datadog-api-client-v2/models/RulesetRespData.js.map +1 -0
  527. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributes.d.ts +67 -0
  528. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributes.js +68 -0
  529. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributes.js.map +1 -0
  530. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesCreated.d.ts +40 -0
  531. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesCreated.js +41 -0
  532. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesCreated.js.map +1 -0
  533. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesModified.d.ts +40 -0
  534. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesModified.js +41 -0
  535. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesModified.js.map +1 -0
  536. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItems.d.ts +61 -0
  537. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItems.js +52 -0
  538. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItems.js.map +1 -0
  539. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsMapping.d.ts +44 -0
  540. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsMapping.js +46 -0
  541. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsMapping.js.map +1 -0
  542. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsQuery.d.ts +49 -0
  543. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsQuery.js +45 -0
  544. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsQuery.js.map +1 -0
  545. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsQueryAddition.d.ts +40 -0
  546. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsQueryAddition.js +41 -0
  547. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsQueryAddition.js.map +1 -0
  548. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsReferenceTable.d.ts +53 -0
  549. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsReferenceTable.js +49 -0
  550. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsReferenceTable.js.map +1 -0
  551. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems.d.ts +40 -0
  552. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems.js +41 -0
  553. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems.js.map +1 -0
  554. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataType.d.ts +11 -0
  555. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataType.js +10 -0
  556. package/dist/packages/datadog-api-client-v2/models/RulesetRespDataType.js.map +1 -0
  557. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertResponse.d.ts +4 -0
  558. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertResponse.js +4 -0
  559. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertResponse.js.map +1 -1
  560. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.d.ts +2 -1
  561. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.js +2 -1
  562. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.js.map +1 -1
  563. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.d.ts +5 -0
  564. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js +4 -0
  565. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js.map +1 -1
  566. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionOptions.d.ts +42 -0
  567. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionOptions.js +34 -0
  568. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionOptions.js.map +1 -0
  569. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionStep.d.ts +46 -0
  570. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionStep.js +38 -0
  571. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionStep.js.map +1 -0
  572. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionStepTransition.d.ts +46 -0
  573. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionStepTransition.js +38 -0
  574. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleSequenceDetectionStepTransition.js.map +1 -0
  575. package/dist/packages/datadog-api-client-v2/models/Trigger.d.ts +2 -1
  576. package/dist/packages/datadog-api-client-v2/models/UCConfigPair.d.ts +37 -0
  577. package/dist/packages/datadog-api-client-v2/models/UCConfigPair.js +30 -0
  578. package/dist/packages/datadog-api-client-v2/models/UCConfigPair.js.map +1 -0
  579. package/dist/packages/datadog-api-client-v2/models/UCConfigPairData.d.ts +46 -0
  580. package/dist/packages/datadog-api-client-v2/models/UCConfigPairData.js +39 -0
  581. package/dist/packages/datadog-api-client-v2/models/UCConfigPairData.js.map +1 -0
  582. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataAttributes.d.ts +37 -0
  583. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataAttributes.js +30 -0
  584. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataAttributes.js.map +1 -0
  585. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataAttributesConfigsItems.d.ts +92 -0
  586. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataAttributesConfigsItems.js +92 -0
  587. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataAttributesConfigsItems.js.map +1 -0
  588. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataType.d.ts +11 -0
  589. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataType.js +10 -0
  590. package/dist/packages/datadog-api-client-v2/models/UCConfigPairDataType.js.map +1 -0
  591. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequest.d.ts +37 -0
  592. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequest.js +30 -0
  593. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequest.js.map +1 -0
  594. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestData.d.ts +46 -0
  595. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestData.js +39 -0
  596. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestData.js.map +1 -0
  597. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataAttributes.d.ts +45 -0
  598. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataAttributes.js +40 -0
  599. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataAttributes.js.map +1 -0
  600. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataAttributesItemChanges.d.ts +38 -0
  601. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataAttributesItemChanges.js +35 -0
  602. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataAttributesItemChanges.js.map +1 -0
  603. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataType.d.ts +11 -0
  604. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataType.js +10 -0
  605. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreItemRequestDataType.js.map +1 -0
  606. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequest.d.ts +37 -0
  607. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequest.js +30 -0
  608. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequest.js.map +1 -0
  609. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequestData.d.ts +46 -0
  610. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequestData.js +39 -0
  611. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequestData.js.map +1 -0
  612. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequestDataAttributes.d.ts +40 -0
  613. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequestDataAttributes.js +39 -0
  614. package/dist/packages/datadog-api-client-v2/models/UpdateAppsDatastoreRequestDataAttributes.js.map +1 -0
  615. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequest.d.ts +37 -0
  616. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequest.js +30 -0
  617. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequest.js.map +1 -0
  618. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestData.d.ts +46 -0
  619. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestData.js +39 -0
  620. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestData.js.map +1 -0
  621. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributes.d.ts +45 -0
  622. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributes.js +41 -0
  623. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributes.js.map +1 -0
  624. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItems.d.ts +61 -0
  625. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItems.js +52 -0
  626. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItems.js.map +1 -0
  627. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsMapping.d.ts +44 -0
  628. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsMapping.js +46 -0
  629. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsMapping.js.map +1 -0
  630. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsQuery.d.ts +49 -0
  631. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsQuery.js +45 -0
  632. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsQuery.js.map +1 -0
  633. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsQueryAddition.d.ts +40 -0
  634. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsQueryAddition.js +41 -0
  635. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsQueryAddition.js.map +1 -0
  636. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsReferenceTable.d.ts +53 -0
  637. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsReferenceTable.js +49 -0
  638. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsReferenceTable.js.map +1 -0
  639. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsReferenceTableFieldPairsItems.d.ts +40 -0
  640. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsReferenceTableFieldPairsItems.js +41 -0
  641. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataAttributesRulesItemsReferenceTableFieldPairsItems.js.map +1 -0
  642. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataType.d.ts +11 -0
  643. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataType.js +10 -0
  644. package/dist/packages/datadog-api-client-v2/models/UpdateRulesetRequestDataType.js.map +1 -0
  645. package/dist/version.d.ts +1 -1
  646. package/dist/version.js +1 -1
  647. package/package.json +1 -1
@@ -64,6 +64,49 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
64
64
  return requestContext;
65
65
  });
66
66
  }
67
+ createIncidentImpact(incidentId, body, include, _options) {
68
+ return __awaiter(this, void 0, void 0, function* () {
69
+ const _config = _options || this.configuration;
70
+ logger_1.logger.warn("Using unstable operation 'createIncidentImpact'");
71
+ if (!_config.unstableOperations["v2.createIncidentImpact"]) {
72
+ throw new Error("Unstable operation 'createIncidentImpact' is disabled");
73
+ }
74
+ // verify required parameter 'incidentId' is not null or undefined
75
+ if (incidentId === null || incidentId === undefined) {
76
+ throw new baseapi_1.RequiredError("incidentId", "createIncidentImpact");
77
+ }
78
+ // verify required parameter 'body' is not null or undefined
79
+ if (body === null || body === undefined) {
80
+ throw new baseapi_1.RequiredError("body", "createIncidentImpact");
81
+ }
82
+ // Path Params
83
+ const localVarPath = "/api/v2/incidents/{incident_id}/impacts".replace("{incident_id}", encodeURIComponent(String(incidentId)));
84
+ // Make Request Context
85
+ const requestContext = _config
86
+ .getServer("v2.IncidentsApi.createIncidentImpact")
87
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
88
+ requestContext.setHeaderParam("Accept", "application/json");
89
+ requestContext.setHttpConfig(_config.httpConfig);
90
+ // Query Params
91
+ if (include !== undefined) {
92
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "Array<IncidentImpactRelatedObject>", ""), "csv");
93
+ }
94
+ // Body Params
95
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
96
+ "application/json",
97
+ ]);
98
+ requestContext.setHeaderParam("Content-Type", contentType);
99
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "IncidentImpactCreateRequest", ""), contentType);
100
+ requestContext.setBody(serializedBody);
101
+ // Apply auth methods
102
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
103
+ "apiKeyAuth",
104
+ "appKeyAuth",
105
+ "AuthZ",
106
+ ]);
107
+ return requestContext;
108
+ });
109
+ }
67
110
  createIncidentIntegration(incidentId, body, _options) {
68
111
  return __awaiter(this, void 0, void 0, function* () {
69
112
  const _config = _options || this.configuration;
@@ -103,6 +146,41 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
103
146
  return requestContext;
104
147
  });
105
148
  }
149
+ createIncidentNotificationRule(body, _options) {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ const _config = _options || this.configuration;
152
+ logger_1.logger.warn("Using unstable operation 'createIncidentNotificationRule'");
153
+ if (!_config.unstableOperations["v2.createIncidentNotificationRule"]) {
154
+ throw new Error("Unstable operation 'createIncidentNotificationRule' is disabled");
155
+ }
156
+ // verify required parameter 'body' is not null or undefined
157
+ if (body === null || body === undefined) {
158
+ throw new baseapi_1.RequiredError("body", "createIncidentNotificationRule");
159
+ }
160
+ // Path Params
161
+ const localVarPath = "/api/v2/incidents/config/notification-rules";
162
+ // Make Request Context
163
+ const requestContext = _config
164
+ .getServer("v2.IncidentsApi.createIncidentNotificationRule")
165
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
166
+ requestContext.setHeaderParam("Accept", "application/json");
167
+ requestContext.setHttpConfig(_config.httpConfig);
168
+ // Body Params
169
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
170
+ "application/json",
171
+ ]);
172
+ requestContext.setHeaderParam("Content-Type", contentType);
173
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CreateIncidentNotificationRuleRequest", ""), contentType);
174
+ requestContext.setBody(serializedBody);
175
+ // Apply auth methods
176
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
177
+ "apiKeyAuth",
178
+ "appKeyAuth",
179
+ "AuthZ",
180
+ ]);
181
+ return requestContext;
182
+ });
183
+ }
106
184
  createIncidentNotificationTemplate(body, _options) {
107
185
  return __awaiter(this, void 0, void 0, function* () {
108
186
  const _config = _options || this.configuration;
@@ -240,6 +318,40 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
240
318
  return requestContext;
241
319
  });
242
320
  }
321
+ deleteIncidentImpact(incidentId, impactId, _options) {
322
+ return __awaiter(this, void 0, void 0, function* () {
323
+ const _config = _options || this.configuration;
324
+ logger_1.logger.warn("Using unstable operation 'deleteIncidentImpact'");
325
+ if (!_config.unstableOperations["v2.deleteIncidentImpact"]) {
326
+ throw new Error("Unstable operation 'deleteIncidentImpact' is disabled");
327
+ }
328
+ // verify required parameter 'incidentId' is not null or undefined
329
+ if (incidentId === null || incidentId === undefined) {
330
+ throw new baseapi_1.RequiredError("incidentId", "deleteIncidentImpact");
331
+ }
332
+ // verify required parameter 'impactId' is not null or undefined
333
+ if (impactId === null || impactId === undefined) {
334
+ throw new baseapi_1.RequiredError("impactId", "deleteIncidentImpact");
335
+ }
336
+ // Path Params
337
+ const localVarPath = "/api/v2/incidents/{incident_id}/impacts/{impact_id}"
338
+ .replace("{incident_id}", encodeURIComponent(String(incidentId)))
339
+ .replace("{impact_id}", encodeURIComponent(String(impactId)));
340
+ // Make Request Context
341
+ const requestContext = _config
342
+ .getServer("v2.IncidentsApi.deleteIncidentImpact")
343
+ .makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
344
+ requestContext.setHeaderParam("Accept", "*/*");
345
+ requestContext.setHttpConfig(_config.httpConfig);
346
+ // Apply auth methods
347
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
348
+ "apiKeyAuth",
349
+ "appKeyAuth",
350
+ "AuthZ",
351
+ ]);
352
+ return requestContext;
353
+ });
354
+ }
243
355
  deleteIncidentIntegration(incidentId, integrationMetadataId, _options) {
244
356
  return __awaiter(this, void 0, void 0, function* () {
245
357
  const _config = _options || this.configuration;
@@ -274,6 +386,38 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
274
386
  return requestContext;
275
387
  });
276
388
  }
389
+ deleteIncidentNotificationRule(id, include, _options) {
390
+ return __awaiter(this, void 0, void 0, function* () {
391
+ const _config = _options || this.configuration;
392
+ logger_1.logger.warn("Using unstable operation 'deleteIncidentNotificationRule'");
393
+ if (!_config.unstableOperations["v2.deleteIncidentNotificationRule"]) {
394
+ throw new Error("Unstable operation 'deleteIncidentNotificationRule' is disabled");
395
+ }
396
+ // verify required parameter 'id' is not null or undefined
397
+ if (id === null || id === undefined) {
398
+ throw new baseapi_1.RequiredError("id", "deleteIncidentNotificationRule");
399
+ }
400
+ // Path Params
401
+ const localVarPath = "/api/v2/incidents/config/notification-rules/{id}".replace("{id}", encodeURIComponent(String(id)));
402
+ // Make Request Context
403
+ const requestContext = _config
404
+ .getServer("v2.IncidentsApi.deleteIncidentNotificationRule")
405
+ .makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
406
+ requestContext.setHeaderParam("Accept", "*/*");
407
+ requestContext.setHttpConfig(_config.httpConfig);
408
+ // Query Params
409
+ if (include !== undefined) {
410
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
411
+ }
412
+ // Apply auth methods
413
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
414
+ "apiKeyAuth",
415
+ "appKeyAuth",
416
+ "AuthZ",
417
+ ]);
418
+ return requestContext;
419
+ });
420
+ }
277
421
  deleteIncidentNotificationTemplate(id, include, _options) {
278
422
  return __awaiter(this, void 0, void 0, function* () {
279
423
  const _config = _options || this.configuration;
@@ -434,6 +578,38 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
434
578
  return requestContext;
435
579
  });
436
580
  }
581
+ getIncidentNotificationRule(id, include, _options) {
582
+ return __awaiter(this, void 0, void 0, function* () {
583
+ const _config = _options || this.configuration;
584
+ logger_1.logger.warn("Using unstable operation 'getIncidentNotificationRule'");
585
+ if (!_config.unstableOperations["v2.getIncidentNotificationRule"]) {
586
+ throw new Error("Unstable operation 'getIncidentNotificationRule' is disabled");
587
+ }
588
+ // verify required parameter 'id' is not null or undefined
589
+ if (id === null || id === undefined) {
590
+ throw new baseapi_1.RequiredError("id", "getIncidentNotificationRule");
591
+ }
592
+ // Path Params
593
+ const localVarPath = "/api/v2/incidents/config/notification-rules/{id}".replace("{id}", encodeURIComponent(String(id)));
594
+ // Make Request Context
595
+ const requestContext = _config
596
+ .getServer("v2.IncidentsApi.getIncidentNotificationRule")
597
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
598
+ requestContext.setHeaderParam("Accept", "application/json");
599
+ requestContext.setHttpConfig(_config.httpConfig);
600
+ // Query Params
601
+ if (include !== undefined) {
602
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
603
+ }
604
+ // Apply auth methods
605
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
606
+ "apiKeyAuth",
607
+ "appKeyAuth",
608
+ "AuthZ",
609
+ ]);
610
+ return requestContext;
611
+ });
612
+ }
437
613
  getIncidentNotificationTemplate(id, include, _options) {
438
614
  return __awaiter(this, void 0, void 0, function* () {
439
615
  const _config = _options || this.configuration;
@@ -562,6 +738,38 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
562
738
  return requestContext;
563
739
  });
564
740
  }
741
+ listIncidentImpacts(incidentId, include, _options) {
742
+ return __awaiter(this, void 0, void 0, function* () {
743
+ const _config = _options || this.configuration;
744
+ logger_1.logger.warn("Using unstable operation 'listIncidentImpacts'");
745
+ if (!_config.unstableOperations["v2.listIncidentImpacts"]) {
746
+ throw new Error("Unstable operation 'listIncidentImpacts' is disabled");
747
+ }
748
+ // verify required parameter 'incidentId' is not null or undefined
749
+ if (incidentId === null || incidentId === undefined) {
750
+ throw new baseapi_1.RequiredError("incidentId", "listIncidentImpacts");
751
+ }
752
+ // Path Params
753
+ const localVarPath = "/api/v2/incidents/{incident_id}/impacts".replace("{incident_id}", encodeURIComponent(String(incidentId)));
754
+ // Make Request Context
755
+ const requestContext = _config
756
+ .getServer("v2.IncidentsApi.listIncidentImpacts")
757
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
758
+ requestContext.setHeaderParam("Accept", "application/json");
759
+ requestContext.setHttpConfig(_config.httpConfig);
760
+ // Query Params
761
+ if (include !== undefined) {
762
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "Array<IncidentImpactRelatedObject>", ""), "csv");
763
+ }
764
+ // Apply auth methods
765
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
766
+ "apiKeyAuth",
767
+ "appKeyAuth",
768
+ "AuthZ",
769
+ ]);
770
+ return requestContext;
771
+ });
772
+ }
565
773
  listIncidentIntegrations(incidentId, _options) {
566
774
  return __awaiter(this, void 0, void 0, function* () {
567
775
  const _config = _options || this.configuration;
@@ -590,6 +798,34 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
590
798
  return requestContext;
591
799
  });
592
800
  }
801
+ listIncidentNotificationRules(include, _options) {
802
+ return __awaiter(this, void 0, void 0, function* () {
803
+ const _config = _options || this.configuration;
804
+ logger_1.logger.warn("Using unstable operation 'listIncidentNotificationRules'");
805
+ if (!_config.unstableOperations["v2.listIncidentNotificationRules"]) {
806
+ throw new Error("Unstable operation 'listIncidentNotificationRules' is disabled");
807
+ }
808
+ // Path Params
809
+ const localVarPath = "/api/v2/incidents/config/notification-rules";
810
+ // Make Request Context
811
+ const requestContext = _config
812
+ .getServer("v2.IncidentsApi.listIncidentNotificationRules")
813
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
814
+ requestContext.setHeaderParam("Accept", "application/json");
815
+ requestContext.setHttpConfig(_config.httpConfig);
816
+ // Query Params
817
+ if (include !== undefined) {
818
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
819
+ }
820
+ // Apply auth methods
821
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
822
+ "apiKeyAuth",
823
+ "appKeyAuth",
824
+ "AuthZ",
825
+ ]);
826
+ return requestContext;
827
+ });
828
+ }
593
829
  listIncidentNotificationTemplates(filterIncidentType, include, _options) {
594
830
  return __awaiter(this, void 0, void 0, function* () {
595
831
  const _config = _options || this.configuration;
@@ -885,6 +1121,49 @@ class IncidentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
885
1121
  return requestContext;
886
1122
  });
887
1123
  }
1124
+ updateIncidentNotificationRule(id, body, include, _options) {
1125
+ return __awaiter(this, void 0, void 0, function* () {
1126
+ const _config = _options || this.configuration;
1127
+ logger_1.logger.warn("Using unstable operation 'updateIncidentNotificationRule'");
1128
+ if (!_config.unstableOperations["v2.updateIncidentNotificationRule"]) {
1129
+ throw new Error("Unstable operation 'updateIncidentNotificationRule' is disabled");
1130
+ }
1131
+ // verify required parameter 'id' is not null or undefined
1132
+ if (id === null || id === undefined) {
1133
+ throw new baseapi_1.RequiredError("id", "updateIncidentNotificationRule");
1134
+ }
1135
+ // verify required parameter 'body' is not null or undefined
1136
+ if (body === null || body === undefined) {
1137
+ throw new baseapi_1.RequiredError("body", "updateIncidentNotificationRule");
1138
+ }
1139
+ // Path Params
1140
+ const localVarPath = "/api/v2/incidents/config/notification-rules/{id}".replace("{id}", encodeURIComponent(String(id)));
1141
+ // Make Request Context
1142
+ const requestContext = _config
1143
+ .getServer("v2.IncidentsApi.updateIncidentNotificationRule")
1144
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
1145
+ requestContext.setHeaderParam("Accept", "application/json");
1146
+ requestContext.setHttpConfig(_config.httpConfig);
1147
+ // Query Params
1148
+ if (include !== undefined) {
1149
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
1150
+ }
1151
+ // Body Params
1152
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1153
+ "application/json",
1154
+ ]);
1155
+ requestContext.setHeaderParam("Content-Type", contentType);
1156
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "PutIncidentNotificationRuleRequest", ""), contentType);
1157
+ requestContext.setBody(serializedBody);
1158
+ // Apply auth methods
1159
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1160
+ "apiKeyAuth",
1161
+ "appKeyAuth",
1162
+ "AuthZ",
1163
+ ]);
1164
+ return requestContext;
1165
+ });
1166
+ }
888
1167
  updateIncidentNotificationTemplate(id, body, include, _options) {
889
1168
  return __awaiter(this, void 0, void 0, function* () {
890
1169
  const _config = _options || this.configuration;
@@ -1047,8 +1326,279 @@ class IncidentsApiResponseProcessor {
1047
1326
  }
1048
1327
  // Work around for missing responses in specification, e.g. for petstore.yaml
1049
1328
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1050
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentResponse", "");
1051
- return body;
1329
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentResponse", "");
1330
+ return body;
1331
+ }
1332
+ const body = (yield response.body.text()) || "";
1333
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1334
+ });
1335
+ }
1336
+ /**
1337
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1338
+ * to the expected objects
1339
+ *
1340
+ * @params response Response returned by the server for a request to createIncidentImpact
1341
+ * @throws ApiException if the response code was not in [200, 299]
1342
+ */
1343
+ createIncidentImpact(response) {
1344
+ return __awaiter(this, void 0, void 0, function* () {
1345
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1346
+ if (response.httpStatusCode === 201) {
1347
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentImpactResponse");
1348
+ return body;
1349
+ }
1350
+ if (response.httpStatusCode === 400 ||
1351
+ response.httpStatusCode === 401 ||
1352
+ response.httpStatusCode === 403 ||
1353
+ response.httpStatusCode === 404 ||
1354
+ response.httpStatusCode === 429) {
1355
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1356
+ let body;
1357
+ try {
1358
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1359
+ }
1360
+ catch (error) {
1361
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1362
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1363
+ }
1364
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1365
+ }
1366
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1367
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1368
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentImpactResponse", "");
1369
+ return body;
1370
+ }
1371
+ const body = (yield response.body.text()) || "";
1372
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1373
+ });
1374
+ }
1375
+ /**
1376
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1377
+ * to the expected objects
1378
+ *
1379
+ * @params response Response returned by the server for a request to createIncidentIntegration
1380
+ * @throws ApiException if the response code was not in [200, 299]
1381
+ */
1382
+ createIncidentIntegration(response) {
1383
+ return __awaiter(this, void 0, void 0, function* () {
1384
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1385
+ if (response.httpStatusCode === 201) {
1386
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse");
1387
+ return body;
1388
+ }
1389
+ if (response.httpStatusCode === 400 ||
1390
+ response.httpStatusCode === 401 ||
1391
+ response.httpStatusCode === 403 ||
1392
+ response.httpStatusCode === 404 ||
1393
+ response.httpStatusCode === 429) {
1394
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1395
+ let body;
1396
+ try {
1397
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1398
+ }
1399
+ catch (error) {
1400
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1401
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1402
+ }
1403
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1404
+ }
1405
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1406
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1407
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse", "");
1408
+ return body;
1409
+ }
1410
+ const body = (yield response.body.text()) || "";
1411
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1412
+ });
1413
+ }
1414
+ /**
1415
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1416
+ * to the expected objects
1417
+ *
1418
+ * @params response Response returned by the server for a request to createIncidentNotificationRule
1419
+ * @throws ApiException if the response code was not in [200, 299]
1420
+ */
1421
+ createIncidentNotificationRule(response) {
1422
+ return __awaiter(this, void 0, void 0, function* () {
1423
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1424
+ if (response.httpStatusCode === 201) {
1425
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRule");
1426
+ return body;
1427
+ }
1428
+ if (response.httpStatusCode === 400 ||
1429
+ response.httpStatusCode === 401 ||
1430
+ response.httpStatusCode === 403 ||
1431
+ response.httpStatusCode === 404 ||
1432
+ response.httpStatusCode === 429) {
1433
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1434
+ let body;
1435
+ try {
1436
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1437
+ }
1438
+ catch (error) {
1439
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1440
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1441
+ }
1442
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1443
+ }
1444
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1445
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1446
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRule", "");
1447
+ return body;
1448
+ }
1449
+ const body = (yield response.body.text()) || "";
1450
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1451
+ });
1452
+ }
1453
+ /**
1454
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1455
+ * to the expected objects
1456
+ *
1457
+ * @params response Response returned by the server for a request to createIncidentNotificationTemplate
1458
+ * @throws ApiException if the response code was not in [200, 299]
1459
+ */
1460
+ createIncidentNotificationTemplate(response) {
1461
+ return __awaiter(this, void 0, void 0, function* () {
1462
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1463
+ if (response.httpStatusCode === 201) {
1464
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate");
1465
+ return body;
1466
+ }
1467
+ if (response.httpStatusCode === 400 ||
1468
+ response.httpStatusCode === 401 ||
1469
+ response.httpStatusCode === 403 ||
1470
+ response.httpStatusCode === 404 ||
1471
+ response.httpStatusCode === 429) {
1472
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1473
+ let body;
1474
+ try {
1475
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1476
+ }
1477
+ catch (error) {
1478
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1479
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1480
+ }
1481
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1482
+ }
1483
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1484
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1485
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate", "");
1486
+ return body;
1487
+ }
1488
+ const body = (yield response.body.text()) || "";
1489
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1490
+ });
1491
+ }
1492
+ /**
1493
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1494
+ * to the expected objects
1495
+ *
1496
+ * @params response Response returned by the server for a request to createIncidentTodo
1497
+ * @throws ApiException if the response code was not in [200, 299]
1498
+ */
1499
+ createIncidentTodo(response) {
1500
+ return __awaiter(this, void 0, void 0, function* () {
1501
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1502
+ if (response.httpStatusCode === 201) {
1503
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse");
1504
+ return body;
1505
+ }
1506
+ if (response.httpStatusCode === 400 ||
1507
+ response.httpStatusCode === 401 ||
1508
+ response.httpStatusCode === 403 ||
1509
+ response.httpStatusCode === 404 ||
1510
+ response.httpStatusCode === 429) {
1511
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1512
+ let body;
1513
+ try {
1514
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1515
+ }
1516
+ catch (error) {
1517
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1518
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1519
+ }
1520
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1521
+ }
1522
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1523
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1524
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse", "");
1525
+ return body;
1526
+ }
1527
+ const body = (yield response.body.text()) || "";
1528
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1529
+ });
1530
+ }
1531
+ /**
1532
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1533
+ * to the expected objects
1534
+ *
1535
+ * @params response Response returned by the server for a request to createIncidentType
1536
+ * @throws ApiException if the response code was not in [200, 299]
1537
+ */
1538
+ createIncidentType(response) {
1539
+ return __awaiter(this, void 0, void 0, function* () {
1540
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1541
+ if (response.httpStatusCode === 201) {
1542
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse");
1543
+ return body;
1544
+ }
1545
+ if (response.httpStatusCode === 400 ||
1546
+ response.httpStatusCode === 401 ||
1547
+ response.httpStatusCode === 403 ||
1548
+ response.httpStatusCode === 404 ||
1549
+ response.httpStatusCode === 429) {
1550
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1551
+ let body;
1552
+ try {
1553
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1554
+ }
1555
+ catch (error) {
1556
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1557
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1558
+ }
1559
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1560
+ }
1561
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1562
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1563
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse", "");
1564
+ return body;
1565
+ }
1566
+ const body = (yield response.body.text()) || "";
1567
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1568
+ });
1569
+ }
1570
+ /**
1571
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1572
+ * to the expected objects
1573
+ *
1574
+ * @params response Response returned by the server for a request to deleteIncident
1575
+ * @throws ApiException if the response code was not in [200, 299]
1576
+ */
1577
+ deleteIncident(response) {
1578
+ return __awaiter(this, void 0, void 0, function* () {
1579
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1580
+ if (response.httpStatusCode === 204) {
1581
+ return;
1582
+ }
1583
+ if (response.httpStatusCode === 400 ||
1584
+ response.httpStatusCode === 401 ||
1585
+ response.httpStatusCode === 403 ||
1586
+ response.httpStatusCode === 404 ||
1587
+ response.httpStatusCode === 429) {
1588
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1589
+ let body;
1590
+ try {
1591
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1592
+ }
1593
+ catch (error) {
1594
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1595
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1596
+ }
1597
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1598
+ }
1599
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1600
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1601
+ return;
1052
1602
  }
1053
1603
  const body = (yield response.body.text()) || "";
1054
1604
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1058,18 +1608,16 @@ class IncidentsApiResponseProcessor {
1058
1608
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1059
1609
  * to the expected objects
1060
1610
  *
1061
- * @params response Response returned by the server for a request to createIncidentIntegration
1611
+ * @params response Response returned by the server for a request to deleteIncidentImpact
1062
1612
  * @throws ApiException if the response code was not in [200, 299]
1063
1613
  */
1064
- createIncidentIntegration(response) {
1614
+ deleteIncidentImpact(response) {
1065
1615
  return __awaiter(this, void 0, void 0, function* () {
1066
1616
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1067
- if (response.httpStatusCode === 201) {
1068
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse");
1069
- return body;
1617
+ if (response.httpStatusCode === 204) {
1618
+ return;
1070
1619
  }
1071
- if (response.httpStatusCode === 400 ||
1072
- response.httpStatusCode === 401 ||
1620
+ if (response.httpStatusCode === 401 ||
1073
1621
  response.httpStatusCode === 403 ||
1074
1622
  response.httpStatusCode === 404 ||
1075
1623
  response.httpStatusCode === 429) {
@@ -1086,8 +1634,7 @@ class IncidentsApiResponseProcessor {
1086
1634
  }
1087
1635
  // Work around for missing responses in specification, e.g. for petstore.yaml
1088
1636
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1089
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse", "");
1090
- return body;
1637
+ return;
1091
1638
  }
1092
1639
  const body = (yield response.body.text()) || "";
1093
1640
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1097,15 +1644,14 @@ class IncidentsApiResponseProcessor {
1097
1644
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1098
1645
  * to the expected objects
1099
1646
  *
1100
- * @params response Response returned by the server for a request to createIncidentNotificationTemplate
1647
+ * @params response Response returned by the server for a request to deleteIncidentIntegration
1101
1648
  * @throws ApiException if the response code was not in [200, 299]
1102
1649
  */
1103
- createIncidentNotificationTemplate(response) {
1650
+ deleteIncidentIntegration(response) {
1104
1651
  return __awaiter(this, void 0, void 0, function* () {
1105
1652
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1106
- if (response.httpStatusCode === 201) {
1107
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate");
1108
- return body;
1653
+ if (response.httpStatusCode === 204) {
1654
+ return;
1109
1655
  }
1110
1656
  if (response.httpStatusCode === 400 ||
1111
1657
  response.httpStatusCode === 401 ||
@@ -1125,8 +1671,7 @@ class IncidentsApiResponseProcessor {
1125
1671
  }
1126
1672
  // Work around for missing responses in specification, e.g. for petstore.yaml
1127
1673
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1128
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate", "");
1129
- return body;
1674
+ return;
1130
1675
  }
1131
1676
  const body = (yield response.body.text()) || "";
1132
1677
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1136,15 +1681,14 @@ class IncidentsApiResponseProcessor {
1136
1681
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1137
1682
  * to the expected objects
1138
1683
  *
1139
- * @params response Response returned by the server for a request to createIncidentTodo
1684
+ * @params response Response returned by the server for a request to deleteIncidentNotificationRule
1140
1685
  * @throws ApiException if the response code was not in [200, 299]
1141
1686
  */
1142
- createIncidentTodo(response) {
1687
+ deleteIncidentNotificationRule(response) {
1143
1688
  return __awaiter(this, void 0, void 0, function* () {
1144
1689
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1145
- if (response.httpStatusCode === 201) {
1146
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse");
1147
- return body;
1690
+ if (response.httpStatusCode === 204) {
1691
+ return;
1148
1692
  }
1149
1693
  if (response.httpStatusCode === 400 ||
1150
1694
  response.httpStatusCode === 401 ||
@@ -1164,8 +1708,7 @@ class IncidentsApiResponseProcessor {
1164
1708
  }
1165
1709
  // Work around for missing responses in specification, e.g. for petstore.yaml
1166
1710
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1167
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse", "");
1168
- return body;
1711
+ return;
1169
1712
  }
1170
1713
  const body = (yield response.body.text()) || "";
1171
1714
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1175,15 +1718,14 @@ class IncidentsApiResponseProcessor {
1175
1718
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1176
1719
  * to the expected objects
1177
1720
  *
1178
- * @params response Response returned by the server for a request to createIncidentType
1721
+ * @params response Response returned by the server for a request to deleteIncidentNotificationTemplate
1179
1722
  * @throws ApiException if the response code was not in [200, 299]
1180
1723
  */
1181
- createIncidentType(response) {
1724
+ deleteIncidentNotificationTemplate(response) {
1182
1725
  return __awaiter(this, void 0, void 0, function* () {
1183
1726
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1184
- if (response.httpStatusCode === 201) {
1185
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse");
1186
- return body;
1727
+ if (response.httpStatusCode === 204) {
1728
+ return;
1187
1729
  }
1188
1730
  if (response.httpStatusCode === 400 ||
1189
1731
  response.httpStatusCode === 401 ||
@@ -1203,8 +1745,7 @@ class IncidentsApiResponseProcessor {
1203
1745
  }
1204
1746
  // Work around for missing responses in specification, e.g. for petstore.yaml
1205
1747
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1206
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse", "");
1207
- return body;
1748
+ return;
1208
1749
  }
1209
1750
  const body = (yield response.body.text()) || "";
1210
1751
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1214,10 +1755,10 @@ class IncidentsApiResponseProcessor {
1214
1755
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1215
1756
  * to the expected objects
1216
1757
  *
1217
- * @params response Response returned by the server for a request to deleteIncident
1758
+ * @params response Response returned by the server for a request to deleteIncidentTodo
1218
1759
  * @throws ApiException if the response code was not in [200, 299]
1219
1760
  */
1220
- deleteIncident(response) {
1761
+ deleteIncidentTodo(response) {
1221
1762
  return __awaiter(this, void 0, void 0, function* () {
1222
1763
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1223
1764
  if (response.httpStatusCode === 204) {
@@ -1251,10 +1792,10 @@ class IncidentsApiResponseProcessor {
1251
1792
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1252
1793
  * to the expected objects
1253
1794
  *
1254
- * @params response Response returned by the server for a request to deleteIncidentIntegration
1795
+ * @params response Response returned by the server for a request to deleteIncidentType
1255
1796
  * @throws ApiException if the response code was not in [200, 299]
1256
1797
  */
1257
- deleteIncidentIntegration(response) {
1798
+ deleteIncidentType(response) {
1258
1799
  return __awaiter(this, void 0, void 0, function* () {
1259
1800
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1260
1801
  if (response.httpStatusCode === 204) {
@@ -1288,14 +1829,15 @@ class IncidentsApiResponseProcessor {
1288
1829
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1289
1830
  * to the expected objects
1290
1831
  *
1291
- * @params response Response returned by the server for a request to deleteIncidentNotificationTemplate
1832
+ * @params response Response returned by the server for a request to getIncident
1292
1833
  * @throws ApiException if the response code was not in [200, 299]
1293
1834
  */
1294
- deleteIncidentNotificationTemplate(response) {
1835
+ getIncident(response) {
1295
1836
  return __awaiter(this, void 0, void 0, function* () {
1296
1837
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1297
- if (response.httpStatusCode === 204) {
1298
- return;
1838
+ if (response.httpStatusCode === 200) {
1839
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentResponse");
1840
+ return body;
1299
1841
  }
1300
1842
  if (response.httpStatusCode === 400 ||
1301
1843
  response.httpStatusCode === 401 ||
@@ -1315,7 +1857,8 @@ class IncidentsApiResponseProcessor {
1315
1857
  }
1316
1858
  // Work around for missing responses in specification, e.g. for petstore.yaml
1317
1859
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1318
- return;
1860
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentResponse", "");
1861
+ return body;
1319
1862
  }
1320
1863
  const body = (yield response.body.text()) || "";
1321
1864
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1325,14 +1868,15 @@ class IncidentsApiResponseProcessor {
1325
1868
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1326
1869
  * to the expected objects
1327
1870
  *
1328
- * @params response Response returned by the server for a request to deleteIncidentTodo
1871
+ * @params response Response returned by the server for a request to getIncidentIntegration
1329
1872
  * @throws ApiException if the response code was not in [200, 299]
1330
1873
  */
1331
- deleteIncidentTodo(response) {
1874
+ getIncidentIntegration(response) {
1332
1875
  return __awaiter(this, void 0, void 0, function* () {
1333
1876
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1334
- if (response.httpStatusCode === 204) {
1335
- return;
1877
+ if (response.httpStatusCode === 200) {
1878
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse");
1879
+ return body;
1336
1880
  }
1337
1881
  if (response.httpStatusCode === 400 ||
1338
1882
  response.httpStatusCode === 401 ||
@@ -1352,7 +1896,8 @@ class IncidentsApiResponseProcessor {
1352
1896
  }
1353
1897
  // Work around for missing responses in specification, e.g. for petstore.yaml
1354
1898
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1355
- return;
1899
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse", "");
1900
+ return body;
1356
1901
  }
1357
1902
  const body = (yield response.body.text()) || "";
1358
1903
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1362,14 +1907,15 @@ class IncidentsApiResponseProcessor {
1362
1907
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1363
1908
  * to the expected objects
1364
1909
  *
1365
- * @params response Response returned by the server for a request to deleteIncidentType
1910
+ * @params response Response returned by the server for a request to getIncidentNotificationRule
1366
1911
  * @throws ApiException if the response code was not in [200, 299]
1367
1912
  */
1368
- deleteIncidentType(response) {
1913
+ getIncidentNotificationRule(response) {
1369
1914
  return __awaiter(this, void 0, void 0, function* () {
1370
1915
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1371
- if (response.httpStatusCode === 204) {
1372
- return;
1916
+ if (response.httpStatusCode === 200) {
1917
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRule");
1918
+ return body;
1373
1919
  }
1374
1920
  if (response.httpStatusCode === 400 ||
1375
1921
  response.httpStatusCode === 401 ||
@@ -1389,7 +1935,8 @@ class IncidentsApiResponseProcessor {
1389
1935
  }
1390
1936
  // Work around for missing responses in specification, e.g. for petstore.yaml
1391
1937
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1392
- return;
1938
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRule", "");
1939
+ return body;
1393
1940
  }
1394
1941
  const body = (yield response.body.text()) || "";
1395
1942
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1399,14 +1946,14 @@ class IncidentsApiResponseProcessor {
1399
1946
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1400
1947
  * to the expected objects
1401
1948
  *
1402
- * @params response Response returned by the server for a request to getIncident
1949
+ * @params response Response returned by the server for a request to getIncidentNotificationTemplate
1403
1950
  * @throws ApiException if the response code was not in [200, 299]
1404
1951
  */
1405
- getIncident(response) {
1952
+ getIncidentNotificationTemplate(response) {
1406
1953
  return __awaiter(this, void 0, void 0, function* () {
1407
1954
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1408
1955
  if (response.httpStatusCode === 200) {
1409
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentResponse");
1956
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate");
1410
1957
  return body;
1411
1958
  }
1412
1959
  if (response.httpStatusCode === 400 ||
@@ -1427,7 +1974,7 @@ class IncidentsApiResponseProcessor {
1427
1974
  }
1428
1975
  // Work around for missing responses in specification, e.g. for petstore.yaml
1429
1976
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1430
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentResponse", "");
1977
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate", "");
1431
1978
  return body;
1432
1979
  }
1433
1980
  const body = (yield response.body.text()) || "";
@@ -1438,14 +1985,14 @@ class IncidentsApiResponseProcessor {
1438
1985
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1439
1986
  * to the expected objects
1440
1987
  *
1441
- * @params response Response returned by the server for a request to getIncidentIntegration
1988
+ * @params response Response returned by the server for a request to getIncidentTodo
1442
1989
  * @throws ApiException if the response code was not in [200, 299]
1443
1990
  */
1444
- getIncidentIntegration(response) {
1991
+ getIncidentTodo(response) {
1445
1992
  return __awaiter(this, void 0, void 0, function* () {
1446
1993
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1447
1994
  if (response.httpStatusCode === 200) {
1448
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse");
1995
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse");
1449
1996
  return body;
1450
1997
  }
1451
1998
  if (response.httpStatusCode === 400 ||
@@ -1466,7 +2013,7 @@ class IncidentsApiResponseProcessor {
1466
2013
  }
1467
2014
  // Work around for missing responses in specification, e.g. for petstore.yaml
1468
2015
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1469
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataResponse", "");
2016
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse", "");
1470
2017
  return body;
1471
2018
  }
1472
2019
  const body = (yield response.body.text()) || "";
@@ -1477,14 +2024,14 @@ class IncidentsApiResponseProcessor {
1477
2024
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1478
2025
  * to the expected objects
1479
2026
  *
1480
- * @params response Response returned by the server for a request to getIncidentNotificationTemplate
2027
+ * @params response Response returned by the server for a request to getIncidentType
1481
2028
  * @throws ApiException if the response code was not in [200, 299]
1482
2029
  */
1483
- getIncidentNotificationTemplate(response) {
2030
+ getIncidentType(response) {
1484
2031
  return __awaiter(this, void 0, void 0, function* () {
1485
2032
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1486
2033
  if (response.httpStatusCode === 200) {
1487
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate");
2034
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse");
1488
2035
  return body;
1489
2036
  }
1490
2037
  if (response.httpStatusCode === 400 ||
@@ -1505,7 +2052,7 @@ class IncidentsApiResponseProcessor {
1505
2052
  }
1506
2053
  // Work around for missing responses in specification, e.g. for petstore.yaml
1507
2054
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1508
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationTemplate", "");
2055
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse", "");
1509
2056
  return body;
1510
2057
  }
1511
2058
  const body = (yield response.body.text()) || "";
@@ -1516,14 +2063,14 @@ class IncidentsApiResponseProcessor {
1516
2063
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1517
2064
  * to the expected objects
1518
2065
  *
1519
- * @params response Response returned by the server for a request to getIncidentTodo
2066
+ * @params response Response returned by the server for a request to listIncidentAttachments
1520
2067
  * @throws ApiException if the response code was not in [200, 299]
1521
2068
  */
1522
- getIncidentTodo(response) {
2069
+ listIncidentAttachments(response) {
1523
2070
  return __awaiter(this, void 0, void 0, function* () {
1524
2071
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1525
2072
  if (response.httpStatusCode === 200) {
1526
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse");
2073
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentAttachmentsResponse");
1527
2074
  return body;
1528
2075
  }
1529
2076
  if (response.httpStatusCode === 400 ||
@@ -1544,7 +2091,7 @@ class IncidentsApiResponseProcessor {
1544
2091
  }
1545
2092
  // Work around for missing responses in specification, e.g. for petstore.yaml
1546
2093
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1547
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTodoResponse", "");
2094
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentAttachmentsResponse", "");
1548
2095
  return body;
1549
2096
  }
1550
2097
  const body = (yield response.body.text()) || "";
@@ -1555,14 +2102,14 @@ class IncidentsApiResponseProcessor {
1555
2102
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1556
2103
  * to the expected objects
1557
2104
  *
1558
- * @params response Response returned by the server for a request to getIncidentType
2105
+ * @params response Response returned by the server for a request to listIncidentImpacts
1559
2106
  * @throws ApiException if the response code was not in [200, 299]
1560
2107
  */
1561
- getIncidentType(response) {
2108
+ listIncidentImpacts(response) {
1562
2109
  return __awaiter(this, void 0, void 0, function* () {
1563
2110
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1564
2111
  if (response.httpStatusCode === 200) {
1565
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse");
2112
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentImpactsResponse");
1566
2113
  return body;
1567
2114
  }
1568
2115
  if (response.httpStatusCode === 400 ||
@@ -1583,7 +2130,7 @@ class IncidentsApiResponseProcessor {
1583
2130
  }
1584
2131
  // Work around for missing responses in specification, e.g. for petstore.yaml
1585
2132
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1586
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentTypeResponse", "");
2133
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentImpactsResponse", "");
1587
2134
  return body;
1588
2135
  }
1589
2136
  const body = (yield response.body.text()) || "";
@@ -1594,14 +2141,14 @@ class IncidentsApiResponseProcessor {
1594
2141
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1595
2142
  * to the expected objects
1596
2143
  *
1597
- * @params response Response returned by the server for a request to listIncidentAttachments
2144
+ * @params response Response returned by the server for a request to listIncidentIntegrations
1598
2145
  * @throws ApiException if the response code was not in [200, 299]
1599
2146
  */
1600
- listIncidentAttachments(response) {
2147
+ listIncidentIntegrations(response) {
1601
2148
  return __awaiter(this, void 0, void 0, function* () {
1602
2149
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1603
2150
  if (response.httpStatusCode === 200) {
1604
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentAttachmentsResponse");
2151
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataListResponse");
1605
2152
  return body;
1606
2153
  }
1607
2154
  if (response.httpStatusCode === 400 ||
@@ -1622,7 +2169,7 @@ class IncidentsApiResponseProcessor {
1622
2169
  }
1623
2170
  // Work around for missing responses in specification, e.g. for petstore.yaml
1624
2171
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1625
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentAttachmentsResponse", "");
2172
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataListResponse", "");
1626
2173
  return body;
1627
2174
  }
1628
2175
  const body = (yield response.body.text()) || "";
@@ -1633,14 +2180,14 @@ class IncidentsApiResponseProcessor {
1633
2180
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1634
2181
  * to the expected objects
1635
2182
  *
1636
- * @params response Response returned by the server for a request to listIncidentIntegrations
2183
+ * @params response Response returned by the server for a request to listIncidentNotificationRules
1637
2184
  * @throws ApiException if the response code was not in [200, 299]
1638
2185
  */
1639
- listIncidentIntegrations(response) {
2186
+ listIncidentNotificationRules(response) {
1640
2187
  return __awaiter(this, void 0, void 0, function* () {
1641
2188
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1642
2189
  if (response.httpStatusCode === 200) {
1643
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataListResponse");
2190
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRuleArray");
1644
2191
  return body;
1645
2192
  }
1646
2193
  if (response.httpStatusCode === 400 ||
@@ -1661,7 +2208,7 @@ class IncidentsApiResponseProcessor {
1661
2208
  }
1662
2209
  // Work around for missing responses in specification, e.g. for petstore.yaml
1663
2210
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1664
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentIntegrationMetadataListResponse", "");
2211
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRuleArray", "");
1665
2212
  return body;
1666
2213
  }
1667
2214
  const body = (yield response.body.text()) || "";
@@ -1979,6 +2526,45 @@ class IncidentsApiResponseProcessor {
1979
2526
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1980
2527
  });
1981
2528
  }
2529
+ /**
2530
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2531
+ * to the expected objects
2532
+ *
2533
+ * @params response Response returned by the server for a request to updateIncidentNotificationRule
2534
+ * @throws ApiException if the response code was not in [200, 299]
2535
+ */
2536
+ updateIncidentNotificationRule(response) {
2537
+ return __awaiter(this, void 0, void 0, function* () {
2538
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2539
+ if (response.httpStatusCode === 200) {
2540
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRule");
2541
+ return body;
2542
+ }
2543
+ if (response.httpStatusCode === 400 ||
2544
+ response.httpStatusCode === 401 ||
2545
+ response.httpStatusCode === 403 ||
2546
+ response.httpStatusCode === 404 ||
2547
+ response.httpStatusCode === 429) {
2548
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2549
+ let body;
2550
+ try {
2551
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2552
+ }
2553
+ catch (error) {
2554
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2555
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2556
+ }
2557
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2558
+ }
2559
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2560
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2561
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IncidentNotificationRule", "");
2562
+ return body;
2563
+ }
2564
+ const body = (yield response.body.text()) || "";
2565
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2566
+ });
2567
+ }
1982
2568
  /**
1983
2569
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1984
2570
  * to the expected objects
@@ -2120,6 +2706,20 @@ class IncidentsApi {
2120
2706
  });
2121
2707
  });
2122
2708
  }
2709
+ /**
2710
+ * Create an impact for an incident.
2711
+ * @param param The request object
2712
+ */
2713
+ createIncidentImpact(param, options) {
2714
+ const requestContextPromise = this.requestFactory.createIncidentImpact(param.incidentId, param.body, param.include, options);
2715
+ return requestContextPromise.then((requestContext) => {
2716
+ return this.configuration.httpApi
2717
+ .send(requestContext)
2718
+ .then((responseContext) => {
2719
+ return this.responseProcessor.createIncidentImpact(responseContext);
2720
+ });
2721
+ });
2722
+ }
2123
2723
  /**
2124
2724
  * Create an incident integration metadata.
2125
2725
  * @param param The request object
@@ -2134,6 +2734,20 @@ class IncidentsApi {
2134
2734
  });
2135
2735
  });
2136
2736
  }
2737
+ /**
2738
+ * Creates a new notification rule.
2739
+ * @param param The request object
2740
+ */
2741
+ createIncidentNotificationRule(param, options) {
2742
+ const requestContextPromise = this.requestFactory.createIncidentNotificationRule(param.body, options);
2743
+ return requestContextPromise.then((requestContext) => {
2744
+ return this.configuration.httpApi
2745
+ .send(requestContext)
2746
+ .then((responseContext) => {
2747
+ return this.responseProcessor.createIncidentNotificationRule(responseContext);
2748
+ });
2749
+ });
2750
+ }
2137
2751
  /**
2138
2752
  * Creates a new notification template.
2139
2753
  * @param param The request object
@@ -2190,6 +2804,20 @@ class IncidentsApi {
2190
2804
  });
2191
2805
  });
2192
2806
  }
2807
+ /**
2808
+ * Delete an incident impact.
2809
+ * @param param The request object
2810
+ */
2811
+ deleteIncidentImpact(param, options) {
2812
+ const requestContextPromise = this.requestFactory.deleteIncidentImpact(param.incidentId, param.impactId, options);
2813
+ return requestContextPromise.then((requestContext) => {
2814
+ return this.configuration.httpApi
2815
+ .send(requestContext)
2816
+ .then((responseContext) => {
2817
+ return this.responseProcessor.deleteIncidentImpact(responseContext);
2818
+ });
2819
+ });
2820
+ }
2193
2821
  /**
2194
2822
  * Delete an incident integration metadata.
2195
2823
  * @param param The request object
@@ -2204,6 +2832,20 @@ class IncidentsApi {
2204
2832
  });
2205
2833
  });
2206
2834
  }
2835
+ /**
2836
+ * Deletes a notification rule by its ID.
2837
+ * @param param The request object
2838
+ */
2839
+ deleteIncidentNotificationRule(param, options) {
2840
+ const requestContextPromise = this.requestFactory.deleteIncidentNotificationRule(param.id, param.include, options);
2841
+ return requestContextPromise.then((requestContext) => {
2842
+ return this.configuration.httpApi
2843
+ .send(requestContext)
2844
+ .then((responseContext) => {
2845
+ return this.responseProcessor.deleteIncidentNotificationRule(responseContext);
2846
+ });
2847
+ });
2848
+ }
2207
2849
  /**
2208
2850
  * Deletes a notification template by its ID.
2209
2851
  * @param param The request object
@@ -2274,6 +2916,20 @@ class IncidentsApi {
2274
2916
  });
2275
2917
  });
2276
2918
  }
2919
+ /**
2920
+ * Retrieves a specific notification rule by its ID.
2921
+ * @param param The request object
2922
+ */
2923
+ getIncidentNotificationRule(param, options) {
2924
+ const requestContextPromise = this.requestFactory.getIncidentNotificationRule(param.id, param.include, options);
2925
+ return requestContextPromise.then((requestContext) => {
2926
+ return this.configuration.httpApi
2927
+ .send(requestContext)
2928
+ .then((responseContext) => {
2929
+ return this.responseProcessor.getIncidentNotificationRule(responseContext);
2930
+ });
2931
+ });
2932
+ }
2277
2933
  /**
2278
2934
  * Retrieves a specific notification template by its ID.
2279
2935
  * @param param The request object
@@ -2330,6 +2986,20 @@ class IncidentsApi {
2330
2986
  });
2331
2987
  });
2332
2988
  }
2989
+ /**
2990
+ * Get all impacts for an incident.
2991
+ * @param param The request object
2992
+ */
2993
+ listIncidentImpacts(param, options) {
2994
+ const requestContextPromise = this.requestFactory.listIncidentImpacts(param.incidentId, param.include, options);
2995
+ return requestContextPromise.then((requestContext) => {
2996
+ return this.configuration.httpApi
2997
+ .send(requestContext)
2998
+ .then((responseContext) => {
2999
+ return this.responseProcessor.listIncidentImpacts(responseContext);
3000
+ });
3001
+ });
3002
+ }
2333
3003
  /**
2334
3004
  * Get all integration metadata for an incident.
2335
3005
  * @param param The request object
@@ -2344,6 +3014,20 @@ class IncidentsApi {
2344
3014
  });
2345
3015
  });
2346
3016
  }
3017
+ /**
3018
+ * Lists all notification rules for the organization. Optionally filter by incident type.
3019
+ * @param param The request object
3020
+ */
3021
+ listIncidentNotificationRules(param = {}, options) {
3022
+ const requestContextPromise = this.requestFactory.listIncidentNotificationRules(param.include, options);
3023
+ return requestContextPromise.then((requestContext) => {
3024
+ return this.configuration.httpApi
3025
+ .send(requestContext)
3026
+ .then((responseContext) => {
3027
+ return this.responseProcessor.listIncidentNotificationRules(responseContext);
3028
+ });
3029
+ });
3030
+ }
2347
3031
  /**
2348
3032
  * Lists all notification templates. Optionally filter by incident type.
2349
3033
  * @param param The request object
@@ -2532,6 +3216,20 @@ class IncidentsApi {
2532
3216
  });
2533
3217
  });
2534
3218
  }
3219
+ /**
3220
+ * Updates an existing notification rule with a complete replacement.
3221
+ * @param param The request object
3222
+ */
3223
+ updateIncidentNotificationRule(param, options) {
3224
+ const requestContextPromise = this.requestFactory.updateIncidentNotificationRule(param.id, param.body, param.include, options);
3225
+ return requestContextPromise.then((requestContext) => {
3226
+ return this.configuration.httpApi
3227
+ .send(requestContext)
3228
+ .then((responseContext) => {
3229
+ return this.responseProcessor.updateIncidentNotificationRule(responseContext);
3230
+ });
3231
+ });
3232
+ }
2535
3233
  /**
2536
3234
  * Updates an existing notification template's attributes.
2537
3235
  * @param param The request object