@datadog/datadog-api-client 1.48.0 → 1.50.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 (672) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/packages/datadog-api-client-common/configuration.js +6 -9
  3. package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
  4. package/dist/packages/datadog-api-client-common/servers.js +14 -0
  5. package/dist/packages/datadog-api-client-common/servers.js.map +1 -1
  6. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.d.ts +4 -3
  7. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +2 -2
  8. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js.map +1 -1
  9. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.d.ts +3 -1
  10. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js +2 -0
  11. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js.map +1 -1
  12. package/dist/packages/datadog-api-client-v1/index.d.ts +3 -0
  13. package/dist/packages/datadog-api-client-v1/index.js +16 -12
  14. package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
  15. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.d.ts +5 -0
  16. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.js +4 -0
  17. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.js.map +1 -1
  18. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricSemanticMode.d.ts +12 -0
  19. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricSemanticMode.js +11 -0
  20. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricSemanticMode.js.map +1 -0
  21. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.d.ts +2 -3
  22. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.js +1 -1
  23. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.js.map +1 -1
  24. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.d.ts +1 -1
  25. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.d.ts +15 -0
  26. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.js +12 -0
  27. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.js.map +1 -1
  28. package/dist/packages/{datadog-api-client-v2/models/DORAListResponse.d.ts → datadog-api-client-v1/models/GeomapWidgetRequestStyle.d.ts} +4 -5
  29. package/dist/packages/{datadog-api-client-v2/models/DORAEvent.js → datadog-api-client-v1/models/GeomapWidgetRequestStyle.js} +9 -17
  30. package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequestStyle.js.map +1 -0
  31. package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.d.ts +4 -1
  32. package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js +5 -2
  33. package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js.map +1 -1
  34. package/dist/packages/datadog-api-client-v1/models/MonitorSearchResponse.d.ts +1 -1
  35. package/dist/packages/datadog-api-client-v1/models/MonitorSearchResponse.js +1 -1
  36. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.d.ts +7 -1
  37. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js +10 -4
  38. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js.map +1 -1
  39. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.d.ts +24 -0
  40. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js +30 -0
  41. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js.map +1 -1
  42. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +14 -0
  43. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
  44. package/dist/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.d.ts +2 -2
  45. package/dist/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.js +1 -1
  46. package/dist/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.js.map +1 -1
  47. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetails.d.ts +1 -1
  48. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetailsWithoutSteps.d.ts +88 -0
  49. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetailsWithoutSteps.js +75 -0
  50. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetailsWithoutSteps.js.map +1 -0
  51. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +16 -0
  52. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +20 -0
  53. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
  54. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +16 -0
  55. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +20 -0
  56. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
  57. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +16 -0
  58. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +20 -0
  59. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
  60. package/dist/packages/datadog-api-client-v2/apis/APMApi.d.ts +27 -0
  61. package/dist/packages/datadog-api-client-v2/apis/APMApi.js +102 -0
  62. package/dist/packages/datadog-api-client-v2/apis/APMApi.js.map +1 -0
  63. package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.d.ts +12 -10
  64. package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.js +8 -8
  65. package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.js.map +1 -1
  66. package/dist/packages/datadog-api-client-v2/apis/DeploymentGatesApi.d.ts +22 -0
  67. package/dist/packages/datadog-api-client-v2/apis/DeploymentGatesApi.js +102 -0
  68. package/dist/packages/datadog-api-client-v2/apis/DeploymentGatesApi.js.map +1 -1
  69. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.d.ts +84 -27
  70. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js +211 -45
  71. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js.map +1 -1
  72. package/dist/packages/datadog-api-client-v2/apis/OnCallApi.d.ts +248 -0
  73. package/dist/packages/datadog-api-client-v2/apis/OnCallApi.js +837 -73
  74. package/dist/packages/datadog-api-client-v2/apis/OnCallApi.js.map +1 -1
  75. package/dist/packages/datadog-api-client-v2/apis/ProductAnalyticsApi.d.ts +63 -0
  76. package/dist/packages/datadog-api-client-v2/apis/ProductAnalyticsApi.js +146 -0
  77. package/dist/packages/datadog-api-client-v2/apis/ProductAnalyticsApi.js.map +1 -0
  78. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +50 -8
  79. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +106 -8
  80. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
  81. package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.d.ts +12 -2
  82. package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.js +12 -6
  83. package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.js.map +1 -1
  84. package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.d.ts +35 -0
  85. package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js +92 -0
  86. package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js.map +1 -1
  87. package/dist/packages/datadog-api-client-v2/apis/TeamsApi.d.ts +132 -0
  88. package/dist/packages/datadog-api-client-v2/apis/TeamsApi.js +415 -20
  89. package/dist/packages/datadog-api-client-v2/apis/TeamsApi.js.map +1 -1
  90. package/dist/packages/datadog-api-client-v2/index.d.ts +138 -32
  91. package/dist/packages/datadog-api-client-v2/index.js +263 -91
  92. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  93. package/dist/packages/datadog-api-client-v2/models/AWSAccountCreateRequestAttributes.d.ts +5 -0
  94. package/dist/packages/datadog-api-client-v2/models/AWSAccountCreateRequestAttributes.js +4 -0
  95. package/dist/packages/datadog-api-client-v2/models/AWSAccountCreateRequestAttributes.js.map +1 -1
  96. package/dist/packages/datadog-api-client-v2/models/AWSAccountResponseAttributes.d.ts +5 -0
  97. package/dist/packages/datadog-api-client-v2/models/AWSAccountResponseAttributes.js +4 -0
  98. package/dist/packages/datadog-api-client-v2/models/AWSAccountResponseAttributes.js.map +1 -1
  99. package/dist/packages/datadog-api-client-v2/models/AWSAccountUpdateRequestAttributes.d.ts +5 -0
  100. package/dist/packages/datadog-api-client-v2/models/AWSAccountUpdateRequestAttributes.js +4 -0
  101. package/dist/packages/datadog-api-client-v2/models/AWSAccountUpdateRequestAttributes.js.map +1 -1
  102. package/dist/packages/datadog-api-client-v2/models/AWSCCMConfig.d.ts +37 -0
  103. package/dist/packages/datadog-api-client-v2/models/AWSCCMConfig.js +30 -0
  104. package/dist/packages/datadog-api-client-v2/models/AWSCCMConfig.js.map +1 -0
  105. package/dist/packages/datadog-api-client-v2/models/AttachCaseRequestData.d.ts +1 -1
  106. package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestData.d.ts +0 -4
  107. package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestData.js +0 -4
  108. package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestData.js.map +1 -1
  109. package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestDataAttributes.d.ts +1 -1
  110. package/dist/packages/datadog-api-client-v2/models/Attachment.d.ts +33 -0
  111. package/dist/packages/datadog-api-client-v2/models/{DORAFetchResponse.js → Attachment.js} +11 -10
  112. package/dist/packages/datadog-api-client-v2/models/Attachment.js.map +1 -0
  113. package/dist/packages/datadog-api-client-v2/models/AttachmentArray.d.ts +33 -0
  114. package/dist/packages/datadog-api-client-v2/models/AttachmentArray.js +32 -0
  115. package/dist/packages/datadog-api-client-v2/models/AttachmentArray.js.map +1 -0
  116. package/dist/packages/datadog-api-client-v2/models/AttachmentData.d.ts +39 -0
  117. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentData.js → AttachmentData.js} +8 -11
  118. package/dist/packages/datadog-api-client-v2/models/AttachmentData.js.map +1 -0
  119. package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestDataAttributesFields.d.ts → AttachmentDataAttributes.d.ts} +6 -5
  120. package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributes.js +36 -0
  121. package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributes.js.map +1 -0
  122. package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributesAttachment.d.ts +31 -0
  123. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttributesAttachmentObject.js → AttachmentDataAttributesAttachment.js} +6 -11
  124. package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributesAttachment.js.map +1 -0
  125. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentAttachmentType.d.ts → AttachmentDataAttributesAttachmentType.d.ts} +2 -5
  126. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentAttachmentType.js → AttachmentDataAttributesAttachmentType.js} +3 -3
  127. package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributesAttachmentType.js.map +1 -0
  128. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationships.d.ts +31 -0
  129. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationships.js +27 -0
  130. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationships.js.map +1 -0
  131. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUser.d.ts +31 -0
  132. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUser.js +28 -0
  133. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUser.js.map +1 -0
  134. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUserData.d.ts +35 -0
  135. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUserData.js +33 -0
  136. package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUserData.js.map +1 -0
  137. package/dist/packages/datadog-api-client-v2/models/AttachmentIncluded.d.ts +8 -0
  138. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentAttributes.js → AttachmentIncluded.js} +1 -1
  139. package/dist/packages/datadog-api-client-v2/models/AttachmentIncluded.js.map +1 -0
  140. package/dist/packages/datadog-api-client-v2/models/CaseCreateAttributes.d.ts +7 -0
  141. package/dist/packages/datadog-api-client-v2/models/CaseCreateAttributes.js +4 -0
  142. package/dist/packages/datadog-api-client-v2/models/CaseCreateAttributes.js.map +1 -1
  143. package/dist/packages/datadog-api-client-v2/models/CaseInsightsItems.d.ts +3 -3
  144. package/dist/packages/datadog-api-client-v2/models/CaseManagementProjectData.d.ts +1 -1
  145. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyAttributes.d.ts +4 -0
  146. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyAttributes.js +4 -0
  147. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyAttributes.js.map +1 -1
  148. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyVersion.js +2 -2
  149. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.d.ts +3 -4
  150. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.js +1 -1
  151. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.js.map +1 -1
  152. package/dist/packages/datadog-api-client-v2/models/{DORAFetchResponse.d.ts → CloudWorkloadSecurityAgentRuleActionHash.d.ts} +4 -5
  153. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionHash.js +35 -0
  154. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionHash.js.map +1 -0
  155. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSet.d.ts +2 -1
  156. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSet.js +1 -6
  157. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSet.js.map +1 -1
  158. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttachmentType.d.ts → CloudWorkloadSecurityAgentRuleActionSetValue.d.ts} +2 -3
  159. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttachmentType.js → CloudWorkloadSecurityAgentRuleActionSetValue.js} +1 -3
  160. package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSetValue.js.map +1 -0
  161. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequest.d.ts +31 -0
  162. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequest.js +27 -0
  163. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequest.js.map +1 -0
  164. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentUpdateData.d.ts → CreateAttachmentRequestData.d.ts} +3 -12
  165. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentUpdateData.js → CreateAttachmentRequestData.js} +7 -10
  166. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestData.js.map +1 -0
  167. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributes.d.ts +33 -0
  168. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributes.js +31 -0
  169. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributes.js.map +1 -0
  170. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributesAttachment.d.ts +31 -0
  171. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsPostmortemAttributesAttachmentObject.js → CreateAttachmentRequestDataAttributesAttachment.js} +6 -11
  172. package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributesAttachment.js.map +1 -0
  173. package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestData.d.ts +0 -4
  174. package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestData.js +0 -4
  175. package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestData.js.map +1 -1
  176. package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestDataAttributes.d.ts +3 -3
  177. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttributes.d.ts → CreateEmailNotificationChannelConfig.d.ts} +10 -10
  178. package/dist/packages/datadog-api-client-v2/models/CreateEmailNotificationChannelConfig.js +41 -0
  179. package/dist/packages/datadog-api-client-v2/models/CreateEmailNotificationChannelConfig.js.map +1 -0
  180. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArray.d.ts +0 -2
  181. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArray.js +0 -4
  182. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArray.js.map +1 -1
  183. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestData.d.ts +0 -4
  184. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestData.js +0 -4
  185. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestData.js.map +1 -1
  186. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributes.d.ts +20 -2
  187. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributes.js +17 -1
  188. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributes.js.map +1 -1
  189. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationships.d.ts +8 -3
  190. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationships.js +8 -3
  191. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationships.js.map +1 -1
  192. package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestDataRelationshipsCase.d.ts → CreateNotificationChannelAttributes.d.ts} +5 -5
  193. package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelAttributes.js +30 -0
  194. package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelAttributes.js.map +1 -0
  195. package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelConfig.d.ts +12 -0
  196. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentUpdateAttributes.js → CreateNotificationChannelConfig.js} +1 -1
  197. package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelConfig.js.map +1 -0
  198. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsResponse.d.ts → CreateNotificationChannelData.d.ts} +8 -8
  199. package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelData.js +35 -0
  200. package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelData.js.map +1 -0
  201. package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequest.d.ts +37 -0
  202. package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequest.js +31 -0
  203. package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequest.js.map +1 -0
  204. package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequestData.d.ts +47 -0
  205. package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequestData.js +39 -0
  206. package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequestData.js.map +1 -0
  207. package/dist/packages/datadog-api-client-v2/models/CreatePhoneNotificationChannelConfig.d.ts +41 -0
  208. package/dist/packages/datadog-api-client-v2/models/CreatePhoneNotificationChannelConfig.js +36 -0
  209. package/dist/packages/datadog-api-client-v2/models/CreatePhoneNotificationChannelConfig.js.map +1 -0
  210. package/dist/packages/datadog-api-client-v2/models/CreateUserNotificationChannelRequest.d.ts +37 -0
  211. package/dist/packages/datadog-api-client-v2/models/CreateUserNotificationChannelRequest.js +31 -0
  212. package/dist/packages/datadog-api-client-v2/models/CreateUserNotificationChannelRequest.js.map +1 -0
  213. package/dist/packages/datadog-api-client-v2/models/CustomAttributeType.d.ts +2 -1
  214. package/dist/packages/datadog-api-client-v2/models/CustomAttributeType.js +2 -1
  215. package/dist/packages/datadog-api-client-v2/models/CustomAttributeType.js.map +1 -1
  216. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentRelationships.d.ts → DORADeploymentFetchResponse.d.ts} +5 -5
  217. package/dist/packages/datadog-api-client-v2/models/DORADeploymentFetchResponse.js +30 -0
  218. package/dist/packages/datadog-api-client-v2/models/DORADeploymentFetchResponse.js.map +1 -0
  219. package/dist/packages/datadog-api-client-v2/models/DORADeploymentObject.d.ts +46 -0
  220. package/dist/packages/datadog-api-client-v2/models/DORADeploymentObject.js +38 -0
  221. package/dist/packages/datadog-api-client-v2/models/DORADeploymentObject.js.map +1 -0
  222. package/dist/packages/datadog-api-client-v2/models/DORADeploymentObjectAttributes.d.ts +65 -0
  223. package/dist/packages/datadog-api-client-v2/models/DORADeploymentObjectAttributes.js +63 -0
  224. package/dist/packages/datadog-api-client-v2/models/DORADeploymentObjectAttributes.js.map +1 -0
  225. package/dist/packages/datadog-api-client-v2/models/DORADeploymentRequestAttributes.d.ts +1 -1
  226. package/dist/packages/datadog-api-client-v2/models/DORADeploymentsListResponse.d.ts +37 -0
  227. package/dist/packages/datadog-api-client-v2/models/DORADeploymentsListResponse.js +30 -0
  228. package/dist/packages/datadog-api-client-v2/models/DORADeploymentsListResponse.js.map +1 -0
  229. package/dist/packages/datadog-api-client-v2/models/DORAFailureFetchResponse.d.ts +37 -0
  230. package/dist/packages/datadog-api-client-v2/models/DORAFailureFetchResponse.js +30 -0
  231. package/dist/packages/datadog-api-client-v2/models/DORAFailureFetchResponse.js.map +1 -0
  232. package/dist/packages/datadog-api-client-v2/models/DORAFailureRequestAttributes.d.ts +1 -1
  233. package/dist/packages/datadog-api-client-v2/models/DORAFailuresListResponse.d.ts +37 -0
  234. package/dist/packages/datadog-api-client-v2/models/DORAFailuresListResponse.js +30 -0
  235. package/dist/packages/datadog-api-client-v2/models/DORAFailuresListResponse.js.map +1 -0
  236. package/dist/packages/datadog-api-client-v2/models/DORAIncidentObject.d.ts +46 -0
  237. package/dist/packages/datadog-api-client-v2/models/DORAIncidentObject.js +38 -0
  238. package/dist/packages/datadog-api-client-v2/models/DORAIncidentObject.js.map +1 -0
  239. package/dist/packages/datadog-api-client-v2/models/DORAIncidentObjectAttributes.d.ts +73 -0
  240. package/dist/packages/datadog-api-client-v2/models/DORAIncidentObjectAttributes.js +69 -0
  241. package/dist/packages/datadog-api-client-v2/models/DORAIncidentObjectAttributes.js.map +1 -0
  242. package/dist/packages/datadog-api-client-v2/models/DataExportConfig.d.ts +52 -0
  243. package/dist/packages/datadog-api-client-v2/models/DataExportConfig.js +51 -0
  244. package/dist/packages/datadog-api-client-v2/models/DataExportConfig.js.map +1 -0
  245. package/dist/packages/datadog-api-client-v2/models/DeploymentGateRulesResponse.d.ts +37 -0
  246. package/dist/packages/datadog-api-client-v2/models/DeploymentGateRulesResponse.js +30 -0
  247. package/dist/packages/datadog-api-client-v2/models/DeploymentGateRulesResponse.js.map +1 -0
  248. package/dist/packages/datadog-api-client-v2/models/DetachCaseRequestData.d.ts +0 -4
  249. package/dist/packages/datadog-api-client-v2/models/DetachCaseRequestData.js +0 -4
  250. package/dist/packages/datadog-api-client-v2/models/DetachCaseRequestData.js.map +1 -1
  251. package/dist/packages/datadog-api-client-v2/models/EventPayload.d.ts +4 -0
  252. package/dist/packages/datadog-api-client-v2/models/EventPayload.js +4 -0
  253. package/dist/packages/datadog-api-client-v2/models/EventPayload.js.map +1 -1
  254. package/dist/packages/datadog-api-client-v2/models/FindingCaseResponseData.d.ts +1 -1
  255. package/dist/packages/datadog-api-client-v2/models/FindingData.d.ts +1 -1
  256. package/dist/packages/datadog-api-client-v2/models/FindingJiraIssue.d.ts +2 -2
  257. package/dist/packages/datadog-api-client-v2/models/FindingJiraIssueResult.d.ts +4 -4
  258. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryData.d.ts +46 -0
  259. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryData.js +38 -0
  260. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryData.js.map +1 -0
  261. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryDataType.d.ts +11 -0
  262. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryDataType.js +10 -0
  263. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryDataType.js.map +1 -0
  264. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryResponse.d.ts +37 -0
  265. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryResponse.js +30 -0
  266. package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryResponse.js.map +1 -0
  267. package/dist/packages/datadog-api-client-v2/models/GlobalVariableData.d.ts +46 -0
  268. package/dist/packages/datadog-api-client-v2/models/GlobalVariableData.js +38 -0
  269. package/dist/packages/datadog-api-client-v2/models/GlobalVariableData.js.map +1 -0
  270. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequest.d.ts +34 -0
  271. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequest.js +31 -0
  272. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequest.js.map +1 -0
  273. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestData.d.ts +36 -0
  274. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestData.js +31 -0
  275. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestData.js.map +1 -0
  276. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestDataAttributes.d.ts +34 -0
  277. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestDataAttributes.js +27 -0
  278. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestDataAttributes.js.map +1 -0
  279. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchType.d.ts +11 -0
  280. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchType.js +10 -0
  281. package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchType.js.map +1 -0
  282. package/dist/packages/datadog-api-client-v2/models/GlobalVariableResponse.d.ts +37 -0
  283. package/dist/packages/datadog-api-client-v2/models/GlobalVariableResponse.js +30 -0
  284. package/dist/packages/datadog-api-client-v2/models/GlobalVariableResponse.js.map +1 -0
  285. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsResponseIncludedItem.d.ts → GlobalVariableType.d.ts} +3 -3
  286. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentPostmortemAttachmentType.js → GlobalVariableType.js} +3 -3
  287. package/dist/packages/datadog-api-client-v2/models/GlobalVariableType.js.map +1 -0
  288. package/dist/packages/datadog-api-client-v2/models/IncidentResponseIncludedItem.d.ts +2 -2
  289. package/dist/packages/datadog-api-client-v2/models/JsonPatchOperation.d.ts +45 -0
  290. package/dist/packages/datadog-api-client-v2/models/JsonPatchOperation.js +40 -0
  291. package/dist/packages/datadog-api-client-v2/models/JsonPatchOperation.js.map +1 -0
  292. package/dist/packages/datadog-api-client-v2/models/JsonPatchOperationOp.d.ts +16 -0
  293. package/dist/packages/datadog-api-client-v2/models/JsonPatchOperationOp.js +15 -0
  294. package/dist/packages/datadog-api-client-v2/models/JsonPatchOperationOp.js.map +1 -0
  295. package/dist/packages/datadog-api-client-v2/models/Library.d.ts +4 -0
  296. package/dist/packages/datadog-api-client-v2/models/Library.js +4 -0
  297. package/dist/packages/datadog-api-client-v2/models/Library.js.map +1 -1
  298. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRuleResponseData.d.ts +43 -0
  299. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRuleResponseData.js +41 -0
  300. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRuleResponseData.js.map +1 -0
  301. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesDataType.d.ts +11 -0
  302. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesDataType.js +10 -0
  303. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesDataType.js.map +1 -0
  304. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesResponseDataAttributes.d.ts +31 -0
  305. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesResponseDataAttributes.js +27 -0
  306. package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesResponseDataAttributes.js.map +1 -0
  307. package/dist/packages/datadog-api-client-v2/models/ListNotificationChannelsResponse.d.ts +34 -0
  308. package/dist/packages/datadog-api-client-v2/models/ListNotificationChannelsResponse.js +30 -0
  309. package/dist/packages/datadog-api-client-v2/models/ListNotificationChannelsResponse.js.map +1 -0
  310. package/dist/packages/datadog-api-client-v2/models/ListOnCallNotificationRulesResponse.d.ts +36 -0
  311. package/dist/packages/datadog-api-client-v2/models/ListOnCallNotificationRulesResponse.js +34 -0
  312. package/dist/packages/datadog-api-client-v2/models/ListOnCallNotificationRulesResponse.js.map +1 -0
  313. package/dist/packages/datadog-api-client-v2/models/NotificationChannel.d.ts +37 -0
  314. package/dist/packages/datadog-api-client-v2/models/NotificationChannel.js +30 -0
  315. package/dist/packages/datadog-api-client-v2/models/NotificationChannel.js.map +1 -0
  316. package/dist/packages/datadog-api-client-v2/models/NotificationChannelAttributes.d.ts +41 -0
  317. package/dist/packages/datadog-api-client-v2/models/NotificationChannelAttributes.js +34 -0
  318. package/dist/packages/datadog-api-client-v2/models/NotificationChannelAttributes.js.map +1 -0
  319. package/dist/packages/datadog-api-client-v2/models/NotificationChannelConfig.d.ts +13 -0
  320. package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestArrayIncluded.js → NotificationChannelConfig.js} +1 -1
  321. package/dist/packages/datadog-api-client-v2/models/NotificationChannelConfig.js.map +1 -0
  322. package/dist/packages/datadog-api-client-v2/models/NotificationChannelData.d.ts +46 -0
  323. package/dist/packages/datadog-api-client-v2/models/NotificationChannelData.js +39 -0
  324. package/dist/packages/datadog-api-client-v2/models/NotificationChannelData.js.map +1 -0
  325. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentPostmortemAttributes.d.ts → NotificationChannelEmailConfig.d.ts} +12 -8
  326. package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfig.js +41 -0
  327. package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfig.js.map +1 -0
  328. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentPostmortemAttachmentType.d.ts → NotificationChannelEmailConfigType.d.ts} +3 -3
  329. package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfigType.js +10 -0
  330. package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfigType.js.map +1 -0
  331. package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailFormatType.d.ts +12 -0
  332. package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailFormatType.js +11 -0
  333. package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailFormatType.js.map +1 -0
  334. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfig.d.ts +57 -0
  335. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfig.js +56 -0
  336. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfig.js.map +1 -0
  337. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfigType.d.ts +11 -0
  338. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfigType.js +10 -0
  339. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfigType.js.map +1 -0
  340. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfig.d.ts +45 -0
  341. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfig.js +41 -0
  342. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfig.js.map +1 -0
  343. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfigType.d.ts +11 -0
  344. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfigType.js +10 -0
  345. package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfigType.js.map +1 -0
  346. package/dist/packages/datadog-api-client-v2/models/NotificationChannelType.d.ts +11 -0
  347. package/dist/packages/datadog-api-client-v2/models/NotificationChannelType.js +10 -0
  348. package/dist/packages/datadog-api-client-v2/models/NotificationChannelType.js.map +1 -0
  349. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +258 -56
  350. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  351. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.d.ts +8 -4
  352. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.js +9 -5
  353. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.js.map +1 -1
  354. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.d.ts +8 -4
  355. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.js +9 -5
  356. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.js.map +1 -1
  357. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.d.ts +3 -3
  358. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.js +1 -1
  359. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.js.map +1 -1
  360. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.d.ts +57 -0
  361. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.js +55 -0
  362. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.js.map +1 -0
  363. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.d.ts +8 -4
  364. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.js +9 -5
  365. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.js.map +1 -1
  366. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.d.ts +1 -1
  367. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.js +0 -1
  368. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.js.map +1 -1
  369. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.d.ts +8 -4
  370. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.js +9 -5
  371. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.js.map +1 -1
  372. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.d.ts +8 -4
  373. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.js +9 -5
  374. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.js.map +1 -1
  375. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.d.ts +8 -4
  376. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.js +9 -5
  377. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.js.map +1 -1
  378. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.d.ts +8 -4
  379. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.js +9 -5
  380. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.js.map +1 -1
  381. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.d.ts +10 -6
  382. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.js +9 -7
  383. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.js.map +1 -1
  384. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.d.ts +8 -4
  385. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.js +9 -5
  386. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.js.map +1 -1
  387. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.d.ts +8 -4
  388. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.js +9 -5
  389. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.js.map +1 -1
  390. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.d.ts +8 -4
  391. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.js +9 -5
  392. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.js.map +1 -1
  393. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.d.ts +9 -5
  394. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.js +8 -5
  395. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.js.map +1 -1
  396. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.d.ts +8 -4
  397. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.js +9 -5
  398. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.js.map +1 -1
  399. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.d.ts +8 -4
  400. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.js +9 -5
  401. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.js.map +1 -1
  402. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.d.ts +8 -4
  403. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.js +9 -5
  404. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.js.map +1 -1
  405. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.d.ts +8 -4
  406. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.js +9 -5
  407. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.js.map +1 -1
  408. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.d.ts +8 -4
  409. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.js +9 -5
  410. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.js.map +1 -1
  411. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.d.ts +8 -4
  412. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.js +9 -5
  413. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.js.map +1 -1
  414. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRule.d.ts +39 -0
  415. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRule.js +35 -0
  416. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRule.js.map +1 -0
  417. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleAttributes.d.ts +46 -0
  418. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleAttributes.js +39 -0
  419. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleAttributes.js.map +1 -0
  420. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleCategory.d.ts +12 -0
  421. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleCategory.js +11 -0
  422. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleCategory.js.map +1 -0
  423. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationship.d.ts +37 -0
  424. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationship.js +31 -0
  425. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationship.js.map +1 -0
  426. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationshipData.d.ts +41 -0
  427. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationshipData.js +34 -0
  428. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationshipData.js.map +1 -0
  429. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelSettings.d.ts +11 -0
  430. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsResponseIncludedItem.js → OnCallNotificationRuleChannelSettings.js} +1 -1
  431. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelSettings.js.map +1 -0
  432. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleData.d.ts +51 -0
  433. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleData.js +43 -0
  434. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleData.js.map +1 -0
  435. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRelationships.d.ts +37 -0
  436. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRelationships.js +30 -0
  437. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRelationships.js.map +1 -0
  438. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentData.d.ts → OnCallNotificationRuleRequestAttributes.d.ts} +10 -15
  439. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRequestAttributes.js +39 -0
  440. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRequestAttributes.js.map +1 -0
  441. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleType.d.ts +11 -0
  442. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleType.js +10 -0
  443. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleType.js.map +1 -0
  444. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRulesIncluded.d.ts +11 -0
  445. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRulesIncluded.js +3 -0
  446. package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRulesIncluded.js.map +1 -0
  447. package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleMethod.d.ts +12 -0
  448. package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleMethod.js +11 -0
  449. package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleMethod.js.map +1 -0
  450. package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleSettings.d.ts +42 -0
  451. package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleSettings.js +36 -0
  452. package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleSettings.js.map +1 -0
  453. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequest.d.ts +31 -0
  454. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequest.js +27 -0
  455. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequest.js.map +1 -0
  456. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestData.d.ts +37 -0
  457. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestData.js +36 -0
  458. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestData.js.map +1 -0
  459. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributes.d.ts +31 -0
  460. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributes.js +27 -0
  461. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributes.js.map +1 -0
  462. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributesAttachment.d.ts +31 -0
  463. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributesAttachment.js +36 -0
  464. package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributesAttachment.js.map +1 -0
  465. package/dist/packages/datadog-api-client-v2/models/{DORAEvent.d.ts → ProductAnalyticsServerSideEventError.d.ts} +8 -8
  466. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventError.js +43 -0
  467. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventError.js.map +1 -0
  468. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventErrors.d.ts +37 -0
  469. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventErrors.js +30 -0
  470. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventErrors.js.map +1 -0
  471. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItem.d.ts +62 -0
  472. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItem.js +53 -0
  473. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItem.js.map +1 -0
  474. package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestDataRelationshipsCaseData.d.ts → ProductAnalyticsServerSideEventItemAccount.d.ts} +4 -6
  475. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemAccount.js +36 -0
  476. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemAccount.js.map +1 -0
  477. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemApplication.d.ts +37 -0
  478. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemApplication.js +36 -0
  479. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemApplication.js.map +1 -0
  480. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemEvent.d.ts +36 -0
  481. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemEvent.js +36 -0
  482. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemEvent.js.map +1 -0
  483. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemSession.d.ts +36 -0
  484. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemSession.js +36 -0
  485. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemSession.js.map +1 -0
  486. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemType.d.ts +11 -0
  487. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemType.js +10 -0
  488. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemType.js.map +1 -0
  489. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemUsr.d.ts +36 -0
  490. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemUsr.js +36 -0
  491. package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemUsr.js.map +1 -0
  492. package/dist/packages/datadog-api-client-v2/models/RuleVersions.d.ts +2 -2
  493. package/dist/packages/datadog-api-client-v2/models/RuleVersions.js +1 -1
  494. package/dist/packages/datadog-api-client-v2/models/RuleVersions.js.map +1 -1
  495. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptions.d.ts +53 -0
  496. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptions.js +43 -0
  497. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptions.js.map +1 -0
  498. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration.d.ts +17 -0
  499. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration.js +15 -0
  500. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration.js.map +1 -0
  501. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance.d.ts +16 -0
  502. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance.js +14 -0
  503. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance.js.map +1 -0
  504. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration.d.ts +17 -0
  505. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration.js +16 -0
  506. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration.js.map +1 -0
  507. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.d.ts +4 -0
  508. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js +4 -0
  509. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js.map +1 -1
  510. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.d.ts +5 -0
  511. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js +4 -0
  512. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js.map +1 -1
  513. package/dist/packages/datadog-api-client-v2/models/ServiceList.d.ts +31 -0
  514. package/dist/packages/datadog-api-client-v2/models/{DORAListResponse.js → ServiceList.js} +7 -10
  515. package/dist/packages/datadog-api-client-v2/models/ServiceList.js.map +1 -0
  516. package/dist/packages/datadog-api-client-v2/models/ServiceListData.d.ts +37 -0
  517. package/dist/packages/datadog-api-client-v2/models/ServiceListData.js +36 -0
  518. package/dist/packages/datadog-api-client-v2/models/ServiceListData.js.map +1 -0
  519. package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributes.d.ts +32 -0
  520. package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributes.js +31 -0
  521. package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributes.js.map +1 -0
  522. package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributesMetadataItems.d.ts +31 -0
  523. package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributesMetadataItems.js +36 -0
  524. package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributesMetadataItems.js.map +1 -0
  525. package/dist/packages/datadog-api-client-v2/models/ServiceListDataType.d.ts +11 -0
  526. package/dist/packages/datadog-api-client-v2/models/ServiceListDataType.js +10 -0
  527. package/dist/packages/datadog-api-client-v2/models/ServiceListDataType.js.map +1 -0
  528. package/dist/packages/datadog-api-client-v2/models/SuppressionVersionHistory.d.ts +43 -0
  529. package/dist/packages/datadog-api-client-v2/models/SuppressionVersionHistory.js +35 -0
  530. package/dist/packages/datadog-api-client-v2/models/SuppressionVersionHistory.js.map +1 -0
  531. package/dist/packages/datadog-api-client-v2/models/SuppressionVersions.d.ts +42 -0
  532. package/dist/packages/datadog-api-client-v2/models/SuppressionVersions.js +34 -0
  533. package/dist/packages/datadog-api-client-v2/models/SuppressionVersions.js.map +1 -0
  534. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariable.d.ts +75 -0
  535. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariable.js +70 -0
  536. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariable.js.map +1 -0
  537. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableAttributes.d.ts +36 -0
  538. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableAttributes.js +35 -0
  539. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableAttributes.js.map +1 -0
  540. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableOptions.d.ts +37 -0
  541. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableOptions.js +30 -0
  542. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableOptions.js.map +1 -0
  543. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptions.d.ts +50 -0
  544. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptions.js +43 -0
  545. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptions.js.map +1 -0
  546. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptionsType.d.ts +14 -0
  547. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptionsType.js +13 -0
  548. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptionsType.js.map +1 -0
  549. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParserType.d.ts +14 -0
  550. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParserType.js +13 -0
  551. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParserType.js.map +1 -0
  552. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsPostmortemAttributesAttachmentObject.d.ts → SyntheticsGlobalVariableTOTPParameters.d.ts} +6 -6
  553. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableTOTPParameters.js +41 -0
  554. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableTOTPParameters.js.map +1 -0
  555. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableValue.d.ts +46 -0
  556. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableValue.js +38 -0
  557. package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableValue.js.map +1 -0
  558. package/dist/packages/datadog-api-client-v2/models/SyntheticsVariableParser.d.ts +41 -0
  559. package/dist/packages/datadog-api-client-v2/models/SyntheticsVariableParser.js +35 -0
  560. package/dist/packages/datadog-api-client-v2/models/SyntheticsVariableParser.js.map +1 -0
  561. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRule.d.ts +46 -0
  562. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRule.js +40 -0
  563. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRule.js.map +1 -0
  564. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributes.d.ts +52 -0
  565. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributes.js +42 -0
  566. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributes.js.map +1 -0
  567. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesEmail.d.ts +36 -0
  568. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesEmail.js +35 -0
  569. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesEmail.js.map +1 -0
  570. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesMsTeams.d.ts +36 -0
  571. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesMsTeams.js +35 -0
  572. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesMsTeams.js.map +1 -0
  573. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesPagerduty.d.ts +36 -0
  574. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesPagerduty.js +35 -0
  575. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesPagerduty.js.map +1 -0
  576. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttributesAttachmentObject.d.ts → TeamNotificationRuleAttributesSlack.d.ts} +6 -6
  577. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesSlack.js +39 -0
  578. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesSlack.js.map +1 -0
  579. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleRequest.d.ts +37 -0
  580. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleRequest.js +31 -0
  581. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleRequest.js.map +1 -0
  582. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleResponse.d.ts +37 -0
  583. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleResponse.js +30 -0
  584. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleResponse.js.map +1 -0
  585. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleType.d.ts +11 -0
  586. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleType.js +10 -0
  587. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleType.js.map +1 -0
  588. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponse.d.ts +42 -0
  589. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponse.js +34 -0
  590. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponse.js.map +1 -0
  591. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMeta.d.ts +37 -0
  592. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMeta.js +30 -0
  593. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMeta.js.map +1 -0
  594. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMetaPage.d.ts +64 -0
  595. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMetaPage.js +70 -0
  596. package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMetaPage.js.map +1 -0
  597. package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.d.ts +5 -0
  598. package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.js +4 -0
  599. package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.js.map +1 -1
  600. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequest.d.ts +37 -0
  601. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequest.js +31 -0
  602. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequest.js.map +1 -0
  603. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestAttributes.d.ts +46 -0
  604. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestAttributes.js +39 -0
  605. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestAttributes.js.map +1 -0
  606. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestData.d.ts +51 -0
  607. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestData.js +43 -0
  608. package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestData.js.map +1 -0
  609. package/dist/packages/datadog-api-client-v2/models/User140420082644000.d.ts +40 -0
  610. package/dist/packages/datadog-api-client-v2/models/User140420082644000.js +36 -0
  611. package/dist/packages/datadog-api-client-v2/models/User140420082644000.js.map +1 -0
  612. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentRelatedObject.d.ts → UserType.d.ts} +2 -2
  613. package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentRelatedObject.js → UserType.js} +1 -1
  614. package/dist/packages/datadog-api-client-v2/models/UserType.js.map +1 -0
  615. package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdate.d.ts → VersionHistoryUpdate.d.ts} +3 -3
  616. package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdate.js → VersionHistoryUpdate.js} +7 -7
  617. package/dist/packages/datadog-api-client-v2/models/VersionHistoryUpdate.js.map +1 -0
  618. package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdateType.d.ts → VersionHistoryUpdateType.d.ts} +1 -1
  619. package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdateType.js → VersionHistoryUpdateType.js} +1 -1
  620. package/dist/packages/datadog-api-client-v2/models/VersionHistoryUpdateType.js.map +1 -0
  621. package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.d.ts +4 -0
  622. package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.js +4 -0
  623. package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.js.map +1 -1
  624. package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.d.ts +7 -2
  625. package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.js +7 -2
  626. package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.js.map +1 -1
  627. package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.d.ts +2 -1
  628. package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.js +2 -1
  629. package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.js.map +1 -1
  630. package/dist/version.d.ts +1 -1
  631. package/dist/version.js +1 -1
  632. package/package.json +1 -1
  633. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArrayIncluded.d.ts +0 -13
  634. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArrayIncluded.js.map +0 -1
  635. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributesFields.js +0 -35
  636. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributesFields.js.map +0 -1
  637. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCase.js +0 -31
  638. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCase.js.map +0 -1
  639. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCaseData.js +0 -36
  640. package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCaseData.js.map +0 -1
  641. package/dist/packages/datadog-api-client-v2/models/DORAEvent.js.map +0 -1
  642. package/dist/packages/datadog-api-client-v2/models/DORAFetchResponse.js.map +0 -1
  643. package/dist/packages/datadog-api-client-v2/models/DORAListResponse.js.map +0 -1
  644. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentAttachmentType.js.map +0 -1
  645. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentAttributes.d.ts +0 -12
  646. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentAttributes.js.map +0 -1
  647. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentData.js.map +0 -1
  648. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttachmentType.js.map +0 -1
  649. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.js +0 -41
  650. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.js.map +0 -1
  651. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributesAttachmentObject.js.map +0 -1
  652. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttachmentType.js.map +0 -1
  653. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.js +0 -36
  654. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.js.map +0 -1
  655. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentRelatedObject.js.map +0 -1
  656. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.js +0 -30
  657. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.js.map +0 -1
  658. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateAttributes.d.ts +0 -12
  659. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateAttributes.js.map +0 -1
  660. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateData.js.map +0 -1
  661. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.d.ts +0 -40
  662. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.js +0 -31
  663. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.js.map +0 -1
  664. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.d.ts +0 -43
  665. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.js +0 -35
  666. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.js.map +0 -1
  667. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsPostmortemAttributesAttachmentObject.js.map +0 -1
  668. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.js +0 -35
  669. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.js.map +0 -1
  670. package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsResponseIncludedItem.js.map +0 -1
  671. package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdate.js.map +0 -1
  672. package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdateType.js.map +0 -1
@@ -87,6 +87,76 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
87
87
  return requestContext;
88
88
  });
89
89
  }
90
+ createUserNotificationChannel(userId, body, _options) {
91
+ return __awaiter(this, void 0, void 0, function* () {
92
+ const _config = _options || this.configuration;
93
+ // verify required parameter 'userId' is not null or undefined
94
+ if (userId === null || userId === undefined) {
95
+ throw new baseapi_1.RequiredError("userId", "createUserNotificationChannel");
96
+ }
97
+ // verify required parameter 'body' is not null or undefined
98
+ if (body === null || body === undefined) {
99
+ throw new baseapi_1.RequiredError("body", "createUserNotificationChannel");
100
+ }
101
+ // Path Params
102
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels".replace("{user_id}", encodeURIComponent(String(userId)));
103
+ // Make Request Context
104
+ const requestContext = _config
105
+ .getServer("v2.OnCallApi.createUserNotificationChannel")
106
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
107
+ requestContext.setHeaderParam("Accept", "application/json");
108
+ requestContext.setHttpConfig(_config.httpConfig);
109
+ // Body Params
110
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
111
+ "application/json",
112
+ ]);
113
+ requestContext.setHeaderParam("Content-Type", contentType);
114
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CreateUserNotificationChannelRequest", ""), contentType);
115
+ requestContext.setBody(serializedBody);
116
+ // Apply auth methods
117
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
118
+ "apiKeyAuth",
119
+ "appKeyAuth",
120
+ "AuthZ",
121
+ ]);
122
+ return requestContext;
123
+ });
124
+ }
125
+ createUserNotificationRule(userId, body, _options) {
126
+ return __awaiter(this, void 0, void 0, function* () {
127
+ const _config = _options || this.configuration;
128
+ // verify required parameter 'userId' is not null or undefined
129
+ if (userId === null || userId === undefined) {
130
+ throw new baseapi_1.RequiredError("userId", "createUserNotificationRule");
131
+ }
132
+ // verify required parameter 'body' is not null or undefined
133
+ if (body === null || body === undefined) {
134
+ throw new baseapi_1.RequiredError("body", "createUserNotificationRule");
135
+ }
136
+ // Path Params
137
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules".replace("{user_id}", encodeURIComponent(String(userId)));
138
+ // Make Request Context
139
+ const requestContext = _config
140
+ .getServer("v2.OnCallApi.createUserNotificationRule")
141
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
142
+ requestContext.setHeaderParam("Accept", "application/json");
143
+ requestContext.setHttpConfig(_config.httpConfig);
144
+ // Body Params
145
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
146
+ "application/json",
147
+ ]);
148
+ requestContext.setHeaderParam("Content-Type", contentType);
149
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CreateOnCallNotificationRuleRequest", ""), contentType);
150
+ requestContext.setBody(serializedBody);
151
+ // Apply auth methods
152
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
153
+ "apiKeyAuth",
154
+ "appKeyAuth",
155
+ "AuthZ",
156
+ ]);
157
+ return requestContext;
158
+ });
159
+ }
90
160
  deleteOnCallEscalationPolicy(policyId, _options) {
91
161
  return __awaiter(this, void 0, void 0, function* () {
92
162
  const _config = _options || this.configuration;
@@ -135,6 +205,66 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
135
205
  return requestContext;
136
206
  });
137
207
  }
208
+ deleteUserNotificationChannel(userId, channelId, _options) {
209
+ return __awaiter(this, void 0, void 0, function* () {
210
+ const _config = _options || this.configuration;
211
+ // verify required parameter 'userId' is not null or undefined
212
+ if (userId === null || userId === undefined) {
213
+ throw new baseapi_1.RequiredError("userId", "deleteUserNotificationChannel");
214
+ }
215
+ // verify required parameter 'channelId' is not null or undefined
216
+ if (channelId === null || channelId === undefined) {
217
+ throw new baseapi_1.RequiredError("channelId", "deleteUserNotificationChannel");
218
+ }
219
+ // Path Params
220
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels/{channel_id}"
221
+ .replace("{user_id}", encodeURIComponent(String(userId)))
222
+ .replace("{channel_id}", encodeURIComponent(String(channelId)));
223
+ // Make Request Context
224
+ const requestContext = _config
225
+ .getServer("v2.OnCallApi.deleteUserNotificationChannel")
226
+ .makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
227
+ requestContext.setHeaderParam("Accept", "*/*");
228
+ requestContext.setHttpConfig(_config.httpConfig);
229
+ // Apply auth methods
230
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
231
+ "apiKeyAuth",
232
+ "appKeyAuth",
233
+ "AuthZ",
234
+ ]);
235
+ return requestContext;
236
+ });
237
+ }
238
+ deleteUserNotificationRule(userId, ruleId, _options) {
239
+ return __awaiter(this, void 0, void 0, function* () {
240
+ const _config = _options || this.configuration;
241
+ // verify required parameter 'userId' is not null or undefined
242
+ if (userId === null || userId === undefined) {
243
+ throw new baseapi_1.RequiredError("userId", "deleteUserNotificationRule");
244
+ }
245
+ // verify required parameter 'ruleId' is not null or undefined
246
+ if (ruleId === null || ruleId === undefined) {
247
+ throw new baseapi_1.RequiredError("ruleId", "deleteUserNotificationRule");
248
+ }
249
+ // Path Params
250
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules/{rule_id}"
251
+ .replace("{user_id}", encodeURIComponent(String(userId)))
252
+ .replace("{rule_id}", encodeURIComponent(String(ruleId)));
253
+ // Make Request Context
254
+ const requestContext = _config
255
+ .getServer("v2.OnCallApi.deleteUserNotificationRule")
256
+ .makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
257
+ requestContext.setHeaderParam("Accept", "*/*");
258
+ requestContext.setHttpConfig(_config.httpConfig);
259
+ // Apply auth methods
260
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
261
+ "apiKeyAuth",
262
+ "appKeyAuth",
263
+ "AuthZ",
264
+ ]);
265
+ return requestContext;
266
+ });
267
+ }
138
268
  getOnCallEscalationPolicy(policyId, include, _options) {
139
269
  return __awaiter(this, void 0, void 0, function* () {
140
270
  const _config = _options || this.configuration;
@@ -278,6 +408,122 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
278
408
  return requestContext;
279
409
  });
280
410
  }
411
+ getUserNotificationChannel(userId, channelId, _options) {
412
+ return __awaiter(this, void 0, void 0, function* () {
413
+ const _config = _options || this.configuration;
414
+ // verify required parameter 'userId' is not null or undefined
415
+ if (userId === null || userId === undefined) {
416
+ throw new baseapi_1.RequiredError("userId", "getUserNotificationChannel");
417
+ }
418
+ // verify required parameter 'channelId' is not null or undefined
419
+ if (channelId === null || channelId === undefined) {
420
+ throw new baseapi_1.RequiredError("channelId", "getUserNotificationChannel");
421
+ }
422
+ // Path Params
423
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels/{channel_id}"
424
+ .replace("{user_id}", encodeURIComponent(String(userId)))
425
+ .replace("{channel_id}", encodeURIComponent(String(channelId)));
426
+ // Make Request Context
427
+ const requestContext = _config
428
+ .getServer("v2.OnCallApi.getUserNotificationChannel")
429
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
430
+ requestContext.setHeaderParam("Accept", "application/json");
431
+ requestContext.setHttpConfig(_config.httpConfig);
432
+ // Apply auth methods
433
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
434
+ "apiKeyAuth",
435
+ "appKeyAuth",
436
+ "AuthZ",
437
+ ]);
438
+ return requestContext;
439
+ });
440
+ }
441
+ getUserNotificationRule(userId, ruleId, include, _options) {
442
+ return __awaiter(this, void 0, void 0, function* () {
443
+ const _config = _options || this.configuration;
444
+ // verify required parameter 'userId' is not null or undefined
445
+ if (userId === null || userId === undefined) {
446
+ throw new baseapi_1.RequiredError("userId", "getUserNotificationRule");
447
+ }
448
+ // verify required parameter 'ruleId' is not null or undefined
449
+ if (ruleId === null || ruleId === undefined) {
450
+ throw new baseapi_1.RequiredError("ruleId", "getUserNotificationRule");
451
+ }
452
+ // Path Params
453
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules/{rule_id}"
454
+ .replace("{user_id}", encodeURIComponent(String(userId)))
455
+ .replace("{rule_id}", encodeURIComponent(String(ruleId)));
456
+ // Make Request Context
457
+ const requestContext = _config
458
+ .getServer("v2.OnCallApi.getUserNotificationRule")
459
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
460
+ requestContext.setHeaderParam("Accept", "application/json");
461
+ requestContext.setHttpConfig(_config.httpConfig);
462
+ // Query Params
463
+ if (include !== undefined) {
464
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
465
+ }
466
+ // Apply auth methods
467
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
468
+ "apiKeyAuth",
469
+ "appKeyAuth",
470
+ "AuthZ",
471
+ ]);
472
+ return requestContext;
473
+ });
474
+ }
475
+ listUserNotificationChannels(userId, _options) {
476
+ return __awaiter(this, void 0, void 0, function* () {
477
+ const _config = _options || this.configuration;
478
+ // verify required parameter 'userId' is not null or undefined
479
+ if (userId === null || userId === undefined) {
480
+ throw new baseapi_1.RequiredError("userId", "listUserNotificationChannels");
481
+ }
482
+ // Path Params
483
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels".replace("{user_id}", encodeURIComponent(String(userId)));
484
+ // Make Request Context
485
+ const requestContext = _config
486
+ .getServer("v2.OnCallApi.listUserNotificationChannels")
487
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
488
+ requestContext.setHeaderParam("Accept", "application/json");
489
+ requestContext.setHttpConfig(_config.httpConfig);
490
+ // Apply auth methods
491
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
492
+ "apiKeyAuth",
493
+ "appKeyAuth",
494
+ "AuthZ",
495
+ ]);
496
+ return requestContext;
497
+ });
498
+ }
499
+ listUserNotificationRules(userId, include, _options) {
500
+ return __awaiter(this, void 0, void 0, function* () {
501
+ const _config = _options || this.configuration;
502
+ // verify required parameter 'userId' is not null or undefined
503
+ if (userId === null || userId === undefined) {
504
+ throw new baseapi_1.RequiredError("userId", "listUserNotificationRules");
505
+ }
506
+ // Path Params
507
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules".replace("{user_id}", encodeURIComponent(String(userId)));
508
+ // Make Request Context
509
+ const requestContext = _config
510
+ .getServer("v2.OnCallApi.listUserNotificationRules")
511
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
512
+ requestContext.setHeaderParam("Accept", "application/json");
513
+ requestContext.setHttpConfig(_config.httpConfig);
514
+ // Query Params
515
+ if (include !== undefined) {
516
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
517
+ }
518
+ // Apply auth methods
519
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
520
+ "apiKeyAuth",
521
+ "appKeyAuth",
522
+ "AuthZ",
523
+ ]);
524
+ return requestContext;
525
+ });
526
+ }
281
527
  setOnCallTeamRoutingRules(teamId, body, include, _options) {
282
528
  return __awaiter(this, void 0, void 0, function* () {
283
529
  const _config = _options || this.configuration;
@@ -367,54 +613,400 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
367
613
  if (body === null || body === undefined) {
368
614
  throw new baseapi_1.RequiredError("body", "updateOnCallSchedule");
369
615
  }
370
- // Path Params
371
- const localVarPath = "/api/v2/on-call/schedules/{schedule_id}".replace("{schedule_id}", encodeURIComponent(String(scheduleId)));
372
- // Make Request Context
373
- const requestContext = _config
374
- .getServer("v2.OnCallApi.updateOnCallSchedule")
375
- .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
376
- requestContext.setHeaderParam("Accept", "application/json");
377
- requestContext.setHttpConfig(_config.httpConfig);
378
- // Query Params
379
- if (include !== undefined) {
380
- requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
616
+ // Path Params
617
+ const localVarPath = "/api/v2/on-call/schedules/{schedule_id}".replace("{schedule_id}", encodeURIComponent(String(scheduleId)));
618
+ // Make Request Context
619
+ const requestContext = _config
620
+ .getServer("v2.OnCallApi.updateOnCallSchedule")
621
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
622
+ requestContext.setHeaderParam("Accept", "application/json");
623
+ requestContext.setHttpConfig(_config.httpConfig);
624
+ // Query Params
625
+ if (include !== undefined) {
626
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
627
+ }
628
+ // Body Params
629
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
630
+ "application/json",
631
+ ]);
632
+ requestContext.setHeaderParam("Content-Type", contentType);
633
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ScheduleUpdateRequest", ""), contentType);
634
+ requestContext.setBody(serializedBody);
635
+ // Apply auth methods
636
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
637
+ "apiKeyAuth",
638
+ "appKeyAuth",
639
+ "AuthZ",
640
+ ]);
641
+ return requestContext;
642
+ });
643
+ }
644
+ updateUserNotificationRule(userId, ruleId, body, include, _options) {
645
+ return __awaiter(this, void 0, void 0, function* () {
646
+ const _config = _options || this.configuration;
647
+ // verify required parameter 'userId' is not null or undefined
648
+ if (userId === null || userId === undefined) {
649
+ throw new baseapi_1.RequiredError("userId", "updateUserNotificationRule");
650
+ }
651
+ // verify required parameter 'ruleId' is not null or undefined
652
+ if (ruleId === null || ruleId === undefined) {
653
+ throw new baseapi_1.RequiredError("ruleId", "updateUserNotificationRule");
654
+ }
655
+ // verify required parameter 'body' is not null or undefined
656
+ if (body === null || body === undefined) {
657
+ throw new baseapi_1.RequiredError("body", "updateUserNotificationRule");
658
+ }
659
+ // Path Params
660
+ const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules/{rule_id}"
661
+ .replace("{user_id}", encodeURIComponent(String(userId)))
662
+ .replace("{rule_id}", encodeURIComponent(String(ruleId)));
663
+ // Make Request Context
664
+ const requestContext = _config
665
+ .getServer("v2.OnCallApi.updateUserNotificationRule")
666
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
667
+ requestContext.setHeaderParam("Accept", "application/json");
668
+ requestContext.setHttpConfig(_config.httpConfig);
669
+ // Query Params
670
+ if (include !== undefined) {
671
+ requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
672
+ }
673
+ // Body Params
674
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
675
+ "application/json",
676
+ ]);
677
+ requestContext.setHeaderParam("Content-Type", contentType);
678
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UpdateOnCallNotificationRuleRequest", ""), contentType);
679
+ requestContext.setBody(serializedBody);
680
+ // Apply auth methods
681
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
682
+ "apiKeyAuth",
683
+ "appKeyAuth",
684
+ "AuthZ",
685
+ ]);
686
+ return requestContext;
687
+ });
688
+ }
689
+ }
690
+ exports.OnCallApiRequestFactory = OnCallApiRequestFactory;
691
+ class OnCallApiResponseProcessor {
692
+ /**
693
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
694
+ * to the expected objects
695
+ *
696
+ * @params response Response returned by the server for a request to createOnCallEscalationPolicy
697
+ * @throws ApiException if the response code was not in [200, 299]
698
+ */
699
+ createOnCallEscalationPolicy(response) {
700
+ return __awaiter(this, void 0, void 0, function* () {
701
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
702
+ if (response.httpStatusCode === 201) {
703
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy");
704
+ return body;
705
+ }
706
+ if (response.httpStatusCode === 400 ||
707
+ response.httpStatusCode === 401 ||
708
+ response.httpStatusCode === 403 ||
709
+ response.httpStatusCode === 429) {
710
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
711
+ let body;
712
+ try {
713
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
714
+ }
715
+ catch (error) {
716
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
717
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
718
+ }
719
+ throw new exception_1.ApiException(response.httpStatusCode, body);
720
+ }
721
+ // Work around for missing responses in specification, e.g. for petstore.yaml
722
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
723
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy", "");
724
+ return body;
725
+ }
726
+ const body = (yield response.body.text()) || "";
727
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
728
+ });
729
+ }
730
+ /**
731
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
732
+ * to the expected objects
733
+ *
734
+ * @params response Response returned by the server for a request to createOnCallSchedule
735
+ * @throws ApiException if the response code was not in [200, 299]
736
+ */
737
+ createOnCallSchedule(response) {
738
+ return __awaiter(this, void 0, void 0, function* () {
739
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
740
+ if (response.httpStatusCode === 201) {
741
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule");
742
+ return body;
743
+ }
744
+ if (response.httpStatusCode === 400 ||
745
+ response.httpStatusCode === 401 ||
746
+ response.httpStatusCode === 403 ||
747
+ response.httpStatusCode === 429) {
748
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
749
+ let body;
750
+ try {
751
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
752
+ }
753
+ catch (error) {
754
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
755
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
756
+ }
757
+ throw new exception_1.ApiException(response.httpStatusCode, body);
758
+ }
759
+ // Work around for missing responses in specification, e.g. for petstore.yaml
760
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
761
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule", "");
762
+ return body;
763
+ }
764
+ const body = (yield response.body.text()) || "";
765
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
766
+ });
767
+ }
768
+ /**
769
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
770
+ * to the expected objects
771
+ *
772
+ * @params response Response returned by the server for a request to createUserNotificationChannel
773
+ * @throws ApiException if the response code was not in [200, 299]
774
+ */
775
+ createUserNotificationChannel(response) {
776
+ return __awaiter(this, void 0, void 0, function* () {
777
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
778
+ if (response.httpStatusCode === 201) {
779
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel");
780
+ return body;
781
+ }
782
+ if (response.httpStatusCode === 400 ||
783
+ response.httpStatusCode === 401 ||
784
+ response.httpStatusCode === 403 ||
785
+ response.httpStatusCode === 404 ||
786
+ response.httpStatusCode === 429) {
787
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
788
+ let body;
789
+ try {
790
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
791
+ }
792
+ catch (error) {
793
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
794
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
795
+ }
796
+ throw new exception_1.ApiException(response.httpStatusCode, body);
797
+ }
798
+ // Work around for missing responses in specification, e.g. for petstore.yaml
799
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
800
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel", "");
801
+ return body;
802
+ }
803
+ const body = (yield response.body.text()) || "";
804
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
805
+ });
806
+ }
807
+ /**
808
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
809
+ * to the expected objects
810
+ *
811
+ * @params response Response returned by the server for a request to createUserNotificationRule
812
+ * @throws ApiException if the response code was not in [200, 299]
813
+ */
814
+ createUserNotificationRule(response) {
815
+ return __awaiter(this, void 0, void 0, function* () {
816
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
817
+ if (response.httpStatusCode === 201) {
818
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule");
819
+ return body;
820
+ }
821
+ if (response.httpStatusCode === 400 ||
822
+ response.httpStatusCode === 401 ||
823
+ response.httpStatusCode === 403 ||
824
+ response.httpStatusCode === 404 ||
825
+ response.httpStatusCode === 429) {
826
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
827
+ let body;
828
+ try {
829
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
830
+ }
831
+ catch (error) {
832
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
833
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
834
+ }
835
+ throw new exception_1.ApiException(response.httpStatusCode, body);
836
+ }
837
+ // Work around for missing responses in specification, e.g. for petstore.yaml
838
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
839
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule", "");
840
+ return body;
841
+ }
842
+ const body = (yield response.body.text()) || "";
843
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
844
+ });
845
+ }
846
+ /**
847
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
848
+ * to the expected objects
849
+ *
850
+ * @params response Response returned by the server for a request to deleteOnCallEscalationPolicy
851
+ * @throws ApiException if the response code was not in [200, 299]
852
+ */
853
+ deleteOnCallEscalationPolicy(response) {
854
+ return __awaiter(this, void 0, void 0, function* () {
855
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
856
+ if (response.httpStatusCode === 204) {
857
+ return;
858
+ }
859
+ if (response.httpStatusCode === 401 ||
860
+ response.httpStatusCode === 403 ||
861
+ response.httpStatusCode === 404 ||
862
+ response.httpStatusCode === 429) {
863
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
864
+ let body;
865
+ try {
866
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
867
+ }
868
+ catch (error) {
869
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
870
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
871
+ }
872
+ throw new exception_1.ApiException(response.httpStatusCode, body);
873
+ }
874
+ // Work around for missing responses in specification, e.g. for petstore.yaml
875
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
876
+ return;
877
+ }
878
+ const body = (yield response.body.text()) || "";
879
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
880
+ });
881
+ }
882
+ /**
883
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
884
+ * to the expected objects
885
+ *
886
+ * @params response Response returned by the server for a request to deleteOnCallSchedule
887
+ * @throws ApiException if the response code was not in [200, 299]
888
+ */
889
+ deleteOnCallSchedule(response) {
890
+ return __awaiter(this, void 0, void 0, function* () {
891
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
892
+ if (response.httpStatusCode === 204) {
893
+ return;
894
+ }
895
+ if (response.httpStatusCode === 401 ||
896
+ response.httpStatusCode === 403 ||
897
+ response.httpStatusCode === 404 ||
898
+ response.httpStatusCode === 429) {
899
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
900
+ let body;
901
+ try {
902
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
903
+ }
904
+ catch (error) {
905
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
906
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
907
+ }
908
+ throw new exception_1.ApiException(response.httpStatusCode, body);
909
+ }
910
+ // Work around for missing responses in specification, e.g. for petstore.yaml
911
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
912
+ return;
913
+ }
914
+ const body = (yield response.body.text()) || "";
915
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
916
+ });
917
+ }
918
+ /**
919
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
920
+ * to the expected objects
921
+ *
922
+ * @params response Response returned by the server for a request to deleteUserNotificationChannel
923
+ * @throws ApiException if the response code was not in [200, 299]
924
+ */
925
+ deleteUserNotificationChannel(response) {
926
+ return __awaiter(this, void 0, void 0, function* () {
927
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
928
+ if (response.httpStatusCode === 204) {
929
+ return;
930
+ }
931
+ if (response.httpStatusCode === 400 ||
932
+ response.httpStatusCode === 401 ||
933
+ response.httpStatusCode === 403 ||
934
+ response.httpStatusCode === 404 ||
935
+ response.httpStatusCode === 429) {
936
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
937
+ let body;
938
+ try {
939
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
940
+ }
941
+ catch (error) {
942
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
943
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
944
+ }
945
+ throw new exception_1.ApiException(response.httpStatusCode, body);
946
+ }
947
+ // Work around for missing responses in specification, e.g. for petstore.yaml
948
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
949
+ return;
950
+ }
951
+ const body = (yield response.body.text()) || "";
952
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
953
+ });
954
+ }
955
+ /**
956
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
957
+ * to the expected objects
958
+ *
959
+ * @params response Response returned by the server for a request to deleteUserNotificationRule
960
+ * @throws ApiException if the response code was not in [200, 299]
961
+ */
962
+ deleteUserNotificationRule(response) {
963
+ return __awaiter(this, void 0, void 0, function* () {
964
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
965
+ if (response.httpStatusCode === 204) {
966
+ return;
967
+ }
968
+ if (response.httpStatusCode === 400 ||
969
+ response.httpStatusCode === 401 ||
970
+ response.httpStatusCode === 403 ||
971
+ response.httpStatusCode === 404 ||
972
+ response.httpStatusCode === 429) {
973
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
974
+ let body;
975
+ try {
976
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
977
+ }
978
+ catch (error) {
979
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
980
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
981
+ }
982
+ throw new exception_1.ApiException(response.httpStatusCode, body);
381
983
  }
382
- // Body Params
383
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
384
- "application/json",
385
- ]);
386
- requestContext.setHeaderParam("Content-Type", contentType);
387
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ScheduleUpdateRequest", ""), contentType);
388
- requestContext.setBody(serializedBody);
389
- // Apply auth methods
390
- (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
391
- "apiKeyAuth",
392
- "appKeyAuth",
393
- "AuthZ",
394
- ]);
395
- return requestContext;
984
+ // Work around for missing responses in specification, e.g. for petstore.yaml
985
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
986
+ return;
987
+ }
988
+ const body = (yield response.body.text()) || "";
989
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
396
990
  });
397
991
  }
398
- }
399
- exports.OnCallApiRequestFactory = OnCallApiRequestFactory;
400
- class OnCallApiResponseProcessor {
401
992
  /**
402
993
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
403
994
  * to the expected objects
404
995
  *
405
- * @params response Response returned by the server for a request to createOnCallEscalationPolicy
996
+ * @params response Response returned by the server for a request to getOnCallEscalationPolicy
406
997
  * @throws ApiException if the response code was not in [200, 299]
407
998
  */
408
- createOnCallEscalationPolicy(response) {
999
+ getOnCallEscalationPolicy(response) {
409
1000
  return __awaiter(this, void 0, void 0, function* () {
410
1001
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
411
- if (response.httpStatusCode === 201) {
1002
+ if (response.httpStatusCode === 200) {
412
1003
  const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy");
413
1004
  return body;
414
1005
  }
415
1006
  if (response.httpStatusCode === 400 ||
416
1007
  response.httpStatusCode === 401 ||
417
1008
  response.httpStatusCode === 403 ||
1009
+ response.httpStatusCode === 404 ||
418
1010
  response.httpStatusCode === 429) {
419
1011
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
420
1012
  let body;
@@ -440,19 +1032,19 @@ class OnCallApiResponseProcessor {
440
1032
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
441
1033
  * to the expected objects
442
1034
  *
443
- * @params response Response returned by the server for a request to createOnCallSchedule
1035
+ * @params response Response returned by the server for a request to getOnCallSchedule
444
1036
  * @throws ApiException if the response code was not in [200, 299]
445
1037
  */
446
- createOnCallSchedule(response) {
1038
+ getOnCallSchedule(response) {
447
1039
  return __awaiter(this, void 0, void 0, function* () {
448
1040
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
449
- if (response.httpStatusCode === 201) {
1041
+ if (response.httpStatusCode === 200) {
450
1042
  const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule");
451
1043
  return body;
452
1044
  }
453
- if (response.httpStatusCode === 400 ||
454
- response.httpStatusCode === 401 ||
1045
+ if (response.httpStatusCode === 401 ||
455
1046
  response.httpStatusCode === 403 ||
1047
+ response.httpStatusCode === 404 ||
456
1048
  response.httpStatusCode === 429) {
457
1049
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
458
1050
  let body;
@@ -478,19 +1070,17 @@ class OnCallApiResponseProcessor {
478
1070
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
479
1071
  * to the expected objects
480
1072
  *
481
- * @params response Response returned by the server for a request to deleteOnCallEscalationPolicy
1073
+ * @params response Response returned by the server for a request to getOnCallTeamRoutingRules
482
1074
  * @throws ApiException if the response code was not in [200, 299]
483
1075
  */
484
- deleteOnCallEscalationPolicy(response) {
1076
+ getOnCallTeamRoutingRules(response) {
485
1077
  return __awaiter(this, void 0, void 0, function* () {
486
1078
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
487
- if (response.httpStatusCode === 204) {
488
- return;
1079
+ if (response.httpStatusCode === 200) {
1080
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamRoutingRules");
1081
+ return body;
489
1082
  }
490
- if (response.httpStatusCode === 401 ||
491
- response.httpStatusCode === 403 ||
492
- response.httpStatusCode === 404 ||
493
- response.httpStatusCode === 429) {
1083
+ if (response.httpStatusCode === 429) {
494
1084
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
495
1085
  let body;
496
1086
  try {
@@ -504,7 +1094,8 @@ class OnCallApiResponseProcessor {
504
1094
  }
505
1095
  // Work around for missing responses in specification, e.g. for petstore.yaml
506
1096
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
507
- return;
1097
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamRoutingRules", "");
1098
+ return body;
508
1099
  }
509
1100
  const body = (yield response.body.text()) || "";
510
1101
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -514,16 +1105,18 @@ class OnCallApiResponseProcessor {
514
1105
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
515
1106
  * to the expected objects
516
1107
  *
517
- * @params response Response returned by the server for a request to deleteOnCallSchedule
1108
+ * @params response Response returned by the server for a request to getScheduleOnCallUser
518
1109
  * @throws ApiException if the response code was not in [200, 299]
519
1110
  */
520
- deleteOnCallSchedule(response) {
1111
+ getScheduleOnCallUser(response) {
521
1112
  return __awaiter(this, void 0, void 0, function* () {
522
1113
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
523
- if (response.httpStatusCode === 204) {
524
- return;
1114
+ if (response.httpStatusCode === 200) {
1115
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Shift");
1116
+ return body;
525
1117
  }
526
- if (response.httpStatusCode === 401 ||
1118
+ if (response.httpStatusCode === 400 ||
1119
+ response.httpStatusCode === 401 ||
527
1120
  response.httpStatusCode === 403 ||
528
1121
  response.httpStatusCode === 404 ||
529
1122
  response.httpStatusCode === 429) {
@@ -540,7 +1133,8 @@ class OnCallApiResponseProcessor {
540
1133
  }
541
1134
  // Work around for missing responses in specification, e.g. for petstore.yaml
542
1135
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
543
- return;
1136
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Shift", "");
1137
+ return body;
544
1138
  }
545
1139
  const body = (yield response.body.text()) || "";
546
1140
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -550,14 +1144,14 @@ class OnCallApiResponseProcessor {
550
1144
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
551
1145
  * to the expected objects
552
1146
  *
553
- * @params response Response returned by the server for a request to getOnCallEscalationPolicy
1147
+ * @params response Response returned by the server for a request to getTeamOnCallUsers
554
1148
  * @throws ApiException if the response code was not in [200, 299]
555
1149
  */
556
- getOnCallEscalationPolicy(response) {
1150
+ getTeamOnCallUsers(response) {
557
1151
  return __awaiter(this, void 0, void 0, function* () {
558
1152
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
559
1153
  if (response.httpStatusCode === 200) {
560
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy");
1154
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamOnCallResponders");
561
1155
  return body;
562
1156
  }
563
1157
  if (response.httpStatusCode === 400 ||
@@ -578,7 +1172,7 @@ class OnCallApiResponseProcessor {
578
1172
  }
579
1173
  // Work around for missing responses in specification, e.g. for petstore.yaml
580
1174
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
581
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy", "");
1175
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamOnCallResponders", "");
582
1176
  return body;
583
1177
  }
584
1178
  const body = (yield response.body.text()) || "";
@@ -589,17 +1183,18 @@ class OnCallApiResponseProcessor {
589
1183
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
590
1184
  * to the expected objects
591
1185
  *
592
- * @params response Response returned by the server for a request to getOnCallSchedule
1186
+ * @params response Response returned by the server for a request to getUserNotificationChannel
593
1187
  * @throws ApiException if the response code was not in [200, 299]
594
1188
  */
595
- getOnCallSchedule(response) {
1189
+ getUserNotificationChannel(response) {
596
1190
  return __awaiter(this, void 0, void 0, function* () {
597
1191
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
598
1192
  if (response.httpStatusCode === 200) {
599
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule");
1193
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel");
600
1194
  return body;
601
1195
  }
602
- if (response.httpStatusCode === 401 ||
1196
+ if (response.httpStatusCode === 400 ||
1197
+ response.httpStatusCode === 401 ||
603
1198
  response.httpStatusCode === 403 ||
604
1199
  response.httpStatusCode === 404 ||
605
1200
  response.httpStatusCode === 429) {
@@ -616,7 +1211,7 @@ class OnCallApiResponseProcessor {
616
1211
  }
617
1212
  // Work around for missing responses in specification, e.g. for petstore.yaml
618
1213
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
619
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule", "");
1214
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel", "");
620
1215
  return body;
621
1216
  }
622
1217
  const body = (yield response.body.text()) || "";
@@ -627,17 +1222,21 @@ class OnCallApiResponseProcessor {
627
1222
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
628
1223
  * to the expected objects
629
1224
  *
630
- * @params response Response returned by the server for a request to getOnCallTeamRoutingRules
1225
+ * @params response Response returned by the server for a request to getUserNotificationRule
631
1226
  * @throws ApiException if the response code was not in [200, 299]
632
1227
  */
633
- getOnCallTeamRoutingRules(response) {
1228
+ getUserNotificationRule(response) {
634
1229
  return __awaiter(this, void 0, void 0, function* () {
635
1230
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
636
1231
  if (response.httpStatusCode === 200) {
637
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamRoutingRules");
1232
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule");
638
1233
  return body;
639
1234
  }
640
- if (response.httpStatusCode === 429) {
1235
+ if (response.httpStatusCode === 400 ||
1236
+ response.httpStatusCode === 401 ||
1237
+ response.httpStatusCode === 403 ||
1238
+ response.httpStatusCode === 404 ||
1239
+ response.httpStatusCode === 429) {
641
1240
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
642
1241
  let body;
643
1242
  try {
@@ -651,7 +1250,7 @@ class OnCallApiResponseProcessor {
651
1250
  }
652
1251
  // Work around for missing responses in specification, e.g. for petstore.yaml
653
1252
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
654
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamRoutingRules", "");
1253
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule", "");
655
1254
  return body;
656
1255
  }
657
1256
  const body = (yield response.body.text()) || "";
@@ -662,14 +1261,14 @@ class OnCallApiResponseProcessor {
662
1261
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
663
1262
  * to the expected objects
664
1263
  *
665
- * @params response Response returned by the server for a request to getScheduleOnCallUser
1264
+ * @params response Response returned by the server for a request to listUserNotificationChannels
666
1265
  * @throws ApiException if the response code was not in [200, 299]
667
1266
  */
668
- getScheduleOnCallUser(response) {
1267
+ listUserNotificationChannels(response) {
669
1268
  return __awaiter(this, void 0, void 0, function* () {
670
1269
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
671
1270
  if (response.httpStatusCode === 200) {
672
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Shift");
1271
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListNotificationChannelsResponse");
673
1272
  return body;
674
1273
  }
675
1274
  if (response.httpStatusCode === 400 ||
@@ -690,7 +1289,7 @@ class OnCallApiResponseProcessor {
690
1289
  }
691
1290
  // Work around for missing responses in specification, e.g. for petstore.yaml
692
1291
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
693
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Shift", "");
1292
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListNotificationChannelsResponse", "");
694
1293
  return body;
695
1294
  }
696
1295
  const body = (yield response.body.text()) || "";
@@ -701,14 +1300,14 @@ class OnCallApiResponseProcessor {
701
1300
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
702
1301
  * to the expected objects
703
1302
  *
704
- * @params response Response returned by the server for a request to getTeamOnCallUsers
1303
+ * @params response Response returned by the server for a request to listUserNotificationRules
705
1304
  * @throws ApiException if the response code was not in [200, 299]
706
1305
  */
707
- getTeamOnCallUsers(response) {
1306
+ listUserNotificationRules(response) {
708
1307
  return __awaiter(this, void 0, void 0, function* () {
709
1308
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
710
1309
  if (response.httpStatusCode === 200) {
711
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamOnCallResponders");
1310
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListOnCallNotificationRulesResponse");
712
1311
  return body;
713
1312
  }
714
1313
  if (response.httpStatusCode === 400 ||
@@ -729,7 +1328,7 @@ class OnCallApiResponseProcessor {
729
1328
  }
730
1329
  // Work around for missing responses in specification, e.g. for petstore.yaml
731
1330
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
732
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamOnCallResponders", "");
1331
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListOnCallNotificationRulesResponse", "");
733
1332
  return body;
734
1333
  }
735
1334
  const body = (yield response.body.text()) || "";
@@ -849,6 +1448,45 @@ class OnCallApiResponseProcessor {
849
1448
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
850
1449
  });
851
1450
  }
1451
+ /**
1452
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1453
+ * to the expected objects
1454
+ *
1455
+ * @params response Response returned by the server for a request to updateUserNotificationRule
1456
+ * @throws ApiException if the response code was not in [200, 299]
1457
+ */
1458
+ updateUserNotificationRule(response) {
1459
+ return __awaiter(this, void 0, void 0, function* () {
1460
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1461
+ if (response.httpStatusCode === 200) {
1462
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule");
1463
+ return body;
1464
+ }
1465
+ if (response.httpStatusCode === 400 ||
1466
+ response.httpStatusCode === 401 ||
1467
+ response.httpStatusCode === 403 ||
1468
+ response.httpStatusCode === 404 ||
1469
+ response.httpStatusCode === 429) {
1470
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1471
+ let body;
1472
+ try {
1473
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1474
+ }
1475
+ catch (error) {
1476
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1477
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1478
+ }
1479
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1480
+ }
1481
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1482
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1483
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule", "");
1484
+ return body;
1485
+ }
1486
+ const body = (yield response.body.text()) || "";
1487
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1488
+ });
1489
+ }
852
1490
  }
853
1491
  exports.OnCallApiResponseProcessor = OnCallApiResponseProcessor;
854
1492
  class OnCallApi {
@@ -887,6 +1525,34 @@ class OnCallApi {
887
1525
  });
888
1526
  });
889
1527
  }
1528
+ /**
1529
+ * Create a new notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1530
+ * @param param The request object
1531
+ */
1532
+ createUserNotificationChannel(param, options) {
1533
+ const requestContextPromise = this.requestFactory.createUserNotificationChannel(param.userId, param.body, options);
1534
+ return requestContextPromise.then((requestContext) => {
1535
+ return this.configuration.httpApi
1536
+ .send(requestContext)
1537
+ .then((responseContext) => {
1538
+ return this.responseProcessor.createUserNotificationChannel(responseContext);
1539
+ });
1540
+ });
1541
+ }
1542
+ /**
1543
+ * Create a new notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1544
+ * @param param The request object
1545
+ */
1546
+ createUserNotificationRule(param, options) {
1547
+ const requestContextPromise = this.requestFactory.createUserNotificationRule(param.userId, param.body, options);
1548
+ return requestContextPromise.then((requestContext) => {
1549
+ return this.configuration.httpApi
1550
+ .send(requestContext)
1551
+ .then((responseContext) => {
1552
+ return this.responseProcessor.createUserNotificationRule(responseContext);
1553
+ });
1554
+ });
1555
+ }
890
1556
  /**
891
1557
  * Delete an On-Call escalation policy
892
1558
  * @param param The request object
@@ -915,6 +1581,34 @@ class OnCallApi {
915
1581
  });
916
1582
  });
917
1583
  }
1584
+ /**
1585
+ * Delete a notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1586
+ * @param param The request object
1587
+ */
1588
+ deleteUserNotificationChannel(param, options) {
1589
+ const requestContextPromise = this.requestFactory.deleteUserNotificationChannel(param.userId, param.channelId, options);
1590
+ return requestContextPromise.then((requestContext) => {
1591
+ return this.configuration.httpApi
1592
+ .send(requestContext)
1593
+ .then((responseContext) => {
1594
+ return this.responseProcessor.deleteUserNotificationChannel(responseContext);
1595
+ });
1596
+ });
1597
+ }
1598
+ /**
1599
+ * Delete a notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1600
+ * @param param The request object
1601
+ */
1602
+ deleteUserNotificationRule(param, options) {
1603
+ const requestContextPromise = this.requestFactory.deleteUserNotificationRule(param.userId, param.ruleId, options);
1604
+ return requestContextPromise.then((requestContext) => {
1605
+ return this.configuration.httpApi
1606
+ .send(requestContext)
1607
+ .then((responseContext) => {
1608
+ return this.responseProcessor.deleteUserNotificationRule(responseContext);
1609
+ });
1610
+ });
1611
+ }
918
1612
  /**
919
1613
  * Get an On-Call escalation policy
920
1614
  * @param param The request object
@@ -985,6 +1679,62 @@ class OnCallApi {
985
1679
  });
986
1680
  });
987
1681
  }
1682
+ /**
1683
+ * Get a notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1684
+ * @param param The request object
1685
+ */
1686
+ getUserNotificationChannel(param, options) {
1687
+ const requestContextPromise = this.requestFactory.getUserNotificationChannel(param.userId, param.channelId, options);
1688
+ return requestContextPromise.then((requestContext) => {
1689
+ return this.configuration.httpApi
1690
+ .send(requestContext)
1691
+ .then((responseContext) => {
1692
+ return this.responseProcessor.getUserNotificationChannel(responseContext);
1693
+ });
1694
+ });
1695
+ }
1696
+ /**
1697
+ * Get a notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1698
+ * @param param The request object
1699
+ */
1700
+ getUserNotificationRule(param, options) {
1701
+ const requestContextPromise = this.requestFactory.getUserNotificationRule(param.userId, param.ruleId, param.include, options);
1702
+ return requestContextPromise.then((requestContext) => {
1703
+ return this.configuration.httpApi
1704
+ .send(requestContext)
1705
+ .then((responseContext) => {
1706
+ return this.responseProcessor.getUserNotificationRule(responseContext);
1707
+ });
1708
+ });
1709
+ }
1710
+ /**
1711
+ * List the notification channels for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1712
+ * @param param The request object
1713
+ */
1714
+ listUserNotificationChannels(param, options) {
1715
+ const requestContextPromise = this.requestFactory.listUserNotificationChannels(param.userId, options);
1716
+ return requestContextPromise.then((requestContext) => {
1717
+ return this.configuration.httpApi
1718
+ .send(requestContext)
1719
+ .then((responseContext) => {
1720
+ return this.responseProcessor.listUserNotificationChannels(responseContext);
1721
+ });
1722
+ });
1723
+ }
1724
+ /**
1725
+ * List the notification rules for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1726
+ * @param param The request object
1727
+ */
1728
+ listUserNotificationRules(param, options) {
1729
+ const requestContextPromise = this.requestFactory.listUserNotificationRules(param.userId, param.include, options);
1730
+ return requestContextPromise.then((requestContext) => {
1731
+ return this.configuration.httpApi
1732
+ .send(requestContext)
1733
+ .then((responseContext) => {
1734
+ return this.responseProcessor.listUserNotificationRules(responseContext);
1735
+ });
1736
+ });
1737
+ }
988
1738
  /**
989
1739
  * Set a team's On-Call routing rules
990
1740
  * @param param The request object
@@ -1027,6 +1777,20 @@ class OnCallApi {
1027
1777
  });
1028
1778
  });
1029
1779
  }
1780
+ /**
1781
+ * Update a notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
1782
+ * @param param The request object
1783
+ */
1784
+ updateUserNotificationRule(param, options) {
1785
+ const requestContextPromise = this.requestFactory.updateUserNotificationRule(param.userId, param.ruleId, param.body, param.include, options);
1786
+ return requestContextPromise.then((requestContext) => {
1787
+ return this.configuration.httpApi
1788
+ .send(requestContext)
1789
+ .then((responseContext) => {
1790
+ return this.responseProcessor.updateUserNotificationRule(responseContext);
1791
+ });
1792
+ });
1793
+ }
1030
1794
  }
1031
1795
  exports.OnCallApi = OnCallApi;
1032
1796
  //# sourceMappingURL=OnCallApi.js.map