@datadog/datadog-api-client 1.57.0 → 1.58.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 (887) hide show
  1. package/dist/packages/datadog-api-client-common/configuration.js +20 -12
  2. package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
  3. package/dist/packages/datadog-api-client-v1/index.d.ts +11 -0
  4. package/dist/packages/datadog-api-client-v1/index.js +27 -15
  5. package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
  6. package/dist/packages/datadog-api-client-v1/models/AzureAccount.d.ts +4 -0
  7. package/dist/packages/datadog-api-client-v1/models/AzureAccount.js +4 -0
  8. package/dist/packages/datadog-api-client-v1/models/AzureAccount.js.map +1 -1
  9. package/dist/packages/{datadog-api-client-v2/models/IncidentTeamResponse.d.ts → datadog-api-client-v1/models/DataProjectionQuery.d.ts} +14 -8
  10. package/dist/packages/datadog-api-client-v1/models/DataProjectionQuery.js +49 -0
  11. package/dist/packages/datadog-api-client-v1/models/DataProjectionQuery.js.map +1 -0
  12. package/dist/packages/{datadog-api-client-v2/models/IncidentTeamIncludedItems.d.ts → datadog-api-client-v1/models/DataProjectionRequestType.d.ts} +3 -3
  13. package/dist/packages/{datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsLearningDuration.js → datadog-api-client-v1/models/DataProjectionRequestType.js} +3 -5
  14. package/dist/packages/datadog-api-client-v1/models/DataProjectionRequestType.js.map +1 -0
  15. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.d.ts +1 -1
  16. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.js +1 -1
  17. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.d.ts +2 -1
  18. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js +2 -1
  19. package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js.map +1 -1
  20. package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.d.ts +2 -1
  21. package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js +3 -2
  22. package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js.map +1 -1
  23. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.d.ts +3 -1
  24. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js +5 -3
  25. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js.map +1 -1
  26. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.d.ts +8 -0
  27. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js +10 -0
  28. package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js.map +1 -1
  29. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +22 -0
  30. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
  31. package/dist/packages/datadog-api-client-v1/models/PointPlotDimension.d.ts +14 -0
  32. package/dist/packages/datadog-api-client-v1/models/PointPlotDimension.js +13 -0
  33. package/dist/packages/datadog-api-client-v1/models/PointPlotDimension.js.map +1 -0
  34. package/dist/packages/{datadog-api-client-v2/models/IncidentTeamCreateData.d.ts → datadog-api-client-v1/models/PointPlotProjection.d.ts} +10 -11
  35. package/dist/packages/datadog-api-client-v1/models/PointPlotProjection.js +40 -0
  36. package/dist/packages/datadog-api-client-v1/models/PointPlotProjection.js.map +1 -0
  37. package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionDimension.d.ts +45 -0
  38. package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionDimension.js +40 -0
  39. package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionDimension.js.map +1 -0
  40. package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionType.d.ts +11 -0
  41. package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionType.js +10 -0
  42. package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionType.js.map +1 -0
  43. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinition.d.ts +84 -0
  44. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinition.js +72 -0
  45. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinition.js.map +1 -0
  46. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinitionType.d.ts +11 -0
  47. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinitionType.js +10 -0
  48. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinitionType.js.map +1 -0
  49. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegend.d.ts +37 -0
  50. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegend.js +31 -0
  51. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegend.js.map +1 -0
  52. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegendType.d.ts +12 -0
  53. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegendType.js +11 -0
  54. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegendType.js.map +1 -0
  55. package/dist/packages/{datadog-api-client-v2/models/IncidentTeamUpdateData.d.ts → datadog-api-client-v1/models/PointPlotWidgetRequest.d.ts} +13 -13
  56. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetRequest.js +46 -0
  57. package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetRequest.js.map +1 -0
  58. package/dist/packages/datadog-api-client-v1/models/SankeyRumDataSource.d.ts +1 -1
  59. package/dist/packages/datadog-api-client-v1/models/SankeyRumQuery.d.ts +3 -3
  60. package/dist/packages/datadog-api-client-v1/models/SankeyRumQuery.js +1 -1
  61. package/dist/packages/datadog-api-client-v1/models/SankeyRumQueryMode.d.ts +1 -1
  62. package/dist/packages/datadog-api-client-v1/models/SankeyRumRequest.d.ts +2 -2
  63. package/dist/packages/datadog-api-client-v1/models/SankeyRumRequest.js +1 -1
  64. package/dist/packages/datadog-api-client-v1/models/SunburstWidgetRequest.d.ts +5 -0
  65. package/dist/packages/datadog-api-client-v1/models/SunburstWidgetRequest.js +4 -0
  66. package/dist/packages/datadog-api-client-v1/models/SunburstWidgetRequest.js.map +1 -1
  67. package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.d.ts +10 -0
  68. package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.js +8 -0
  69. package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.js.map +1 -1
  70. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +48 -0
  71. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +60 -0
  72. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
  73. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +48 -0
  74. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +60 -0
  75. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
  76. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +48 -0
  77. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +60 -0
  78. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
  79. package/dist/packages/datadog-api-client-v1/models/WidgetDefinition.d.ts +2 -1
  80. package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.d.ts +219 -0
  81. package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.js +816 -47
  82. package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.js.map +1 -1
  83. package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.d.ts +615 -0
  84. package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js +2069 -407
  85. package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js.map +1 -1
  86. package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.d.ts +66 -0
  87. package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.js +147 -0
  88. package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.js.map +1 -0
  89. package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.d.ts +33 -0
  90. package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js +154 -0
  91. package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js.map +1 -1
  92. package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.d.ts +59 -5
  93. package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.js +204 -5
  94. package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.js.map +1 -1
  95. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.d.ts +14 -6
  96. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js +9 -3
  97. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js.map +1 -1
  98. package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.d.ts +22 -0
  99. package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js +75 -0
  100. package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js.map +1 -1
  101. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +47 -0
  102. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +185 -0
  103. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
  104. package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.d.ts +63 -1
  105. package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.js +177 -1
  106. package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.js.map +1 -1
  107. package/dist/packages/datadog-api-client-v2/apis/StorageManagementApi.d.ts +35 -0
  108. package/dist/packages/datadog-api-client-v2/apis/StorageManagementApi.js +126 -0
  109. package/dist/packages/datadog-api-client-v2/apis/StorageManagementApi.js.map +1 -0
  110. package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.d.ts +168 -0
  111. package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js +629 -0
  112. package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js.map +1 -1
  113. package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js +0 -28
  114. package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js.map +1 -1
  115. package/dist/packages/datadog-api-client-v2/apis/UsersApi.d.ts +64 -0
  116. package/dist/packages/datadog-api-client-v2/apis/UsersApi.js +233 -0
  117. package/dist/packages/datadog-api-client-v2/apis/UsersApi.js.map +1 -1
  118. package/dist/packages/datadog-api-client-v2/apis/WebIntegrationsApi.d.ts +145 -0
  119. package/dist/packages/datadog-api-client-v2/apis/{IncidentTeamsApi.js → WebIntegrationsApi.js} +141 -119
  120. package/dist/packages/datadog-api-client-v2/apis/WebIntegrationsApi.js.map +1 -0
  121. package/dist/packages/datadog-api-client-v2/apis/WidgetsApi.d.ts +27 -5
  122. package/dist/packages/datadog-api-client-v2/apis/WidgetsApi.js +10 -1
  123. package/dist/packages/datadog-api-client-v2/apis/WidgetsApi.js.map +1 -1
  124. package/dist/packages/datadog-api-client-v2/index.d.ts +210 -24
  125. package/dist/packages/datadog-api-client-v2/index.js +404 -105
  126. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  127. package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.d.ts +4 -0
  128. package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.js +4 -0
  129. package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.js.map +1 -1
  130. package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.d.ts +4 -0
  131. package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.js +4 -0
  132. package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.js.map +1 -1
  133. package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.d.ts +4 -0
  134. package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.js +4 -0
  135. package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.js.map +1 -1
  136. package/dist/packages/datadog-api-client-v2/models/AppFavoriteType.d.ts +11 -0
  137. package/dist/packages/datadog-api-client-v2/models/AppFavoriteType.js +10 -0
  138. package/dist/packages/datadog-api-client-v2/models/AppFavoriteType.js.map +1 -0
  139. package/dist/packages/datadog-api-client-v2/models/AppProtectionLevel.d.ts +12 -0
  140. package/dist/packages/datadog-api-client-v2/models/AppProtectionLevel.js +11 -0
  141. package/dist/packages/datadog-api-client-v2/models/AppProtectionLevel.js.map +1 -0
  142. package/dist/packages/datadog-api-client-v2/models/AppProtectionLevelType.d.ts +11 -0
  143. package/dist/packages/datadog-api-client-v2/models/AppProtectionLevelType.js +10 -0
  144. package/dist/packages/datadog-api-client-v2/models/AppProtectionLevelType.js.map +1 -0
  145. package/dist/packages/datadog-api-client-v2/models/AppSelfServiceType.d.ts +11 -0
  146. package/dist/packages/datadog-api-client-v2/models/AppSelfServiceType.js +10 -0
  147. package/dist/packages/datadog-api-client-v2/models/AppSelfServiceType.js.map +1 -0
  148. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamType.d.ts → AppTagsType.d.ts} +3 -3
  149. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamType.js → AppTagsType.js} +3 -3
  150. package/dist/packages/datadog-api-client-v2/models/AppTagsType.js.map +1 -0
  151. package/dist/packages/datadog-api-client-v2/models/AppVersion.d.ts +46 -0
  152. package/dist/packages/datadog-api-client-v2/models/AppVersion.js +39 -0
  153. package/dist/packages/datadog-api-client-v2/models/AppVersion.js.map +1 -0
  154. package/dist/packages/datadog-api-client-v2/models/AppVersionAttributes.d.ts +68 -0
  155. package/dist/packages/datadog-api-client-v2/models/AppVersionAttributes.js +73 -0
  156. package/dist/packages/datadog-api-client-v2/models/AppVersionAttributes.js.map +1 -0
  157. package/dist/packages/datadog-api-client-v2/models/AppVersionNameType.d.ts +11 -0
  158. package/dist/packages/datadog-api-client-v2/models/AppVersionNameType.js +10 -0
  159. package/dist/packages/datadog-api-client-v2/models/AppVersionNameType.js.map +1 -0
  160. package/dist/packages/datadog-api-client-v2/models/AppVersionType.d.ts +11 -0
  161. package/dist/packages/datadog-api-client-v2/models/AppVersionType.js +10 -0
  162. package/dist/packages/datadog-api-client-v2/models/AppVersionType.js.map +1 -0
  163. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseArray.d.ts +37 -0
  164. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseArray.js +31 -0
  165. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseArray.js.map +1 -0
  166. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseData.d.ts +46 -0
  167. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseData.js +41 -0
  168. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseData.js.map +1 -0
  169. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateRequest.d.ts → ArbitraryRuleStatusResponseDataAttributes.d.ts} +4 -5
  170. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataAttributes.js +36 -0
  171. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataAttributes.js.map +1 -0
  172. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataType.d.ts +11 -0
  173. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataType.js +10 -0
  174. package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataType.js.map +1 -0
  175. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.d.ts +4 -0
  176. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.js +4 -0
  177. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.js.map +1 -1
  178. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.d.ts +4 -0
  179. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.js +5 -0
  180. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.js.map +1 -1
  181. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.d.ts +4 -0
  182. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.js +4 -0
  183. package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.js.map +1 -1
  184. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.d.ts +4 -0
  185. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.js +4 -0
  186. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.js.map +1 -1
  187. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.d.ts +4 -0
  188. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.js +4 -0
  189. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.js.map +1 -1
  190. package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderId.d.ts +13 -0
  191. package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderId.js +12 -0
  192. package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderId.js.map +1 -0
  193. package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderRequestType.d.ts +11 -0
  194. package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderRequestType.js +10 -0
  195. package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderRequestType.js.map +1 -0
  196. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamsResponse.d.ts → CloudInventorySyncConfigAWSRequestAttributes.d.ts} +12 -11
  197. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAWSRequestAttributes.js +50 -0
  198. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAWSRequestAttributes.js.map +1 -0
  199. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAttributes.d.ts +89 -0
  200. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAttributes.js +96 -0
  201. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAttributes.js.map +1 -0
  202. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAzureRequestAttributes.d.ts +56 -0
  203. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAzureRequestAttributes.js +61 -0
  204. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAzureRequestAttributes.js.map +1 -0
  205. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigGCPRequestAttributes.d.ts +48 -0
  206. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigGCPRequestAttributes.js +51 -0
  207. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigGCPRequestAttributes.js.map +1 -0
  208. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResourceType.d.ts +11 -0
  209. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResourceType.js +10 -0
  210. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResourceType.js.map +1 -0
  211. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponse.d.ts +37 -0
  212. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponse.js +31 -0
  213. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponse.js.map +1 -0
  214. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponseData.d.ts +46 -0
  215. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponseData.js +41 -0
  216. package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponseData.js.map +1 -0
  217. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsEC2RICommitment.d.ts +84 -0
  218. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsEC2RICommitment.js +93 -0
  219. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsEC2RICommitment.js.map +1 -0
  220. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsElasticacheRICommitment.d.ts +76 -0
  221. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsElasticacheRICommitment.js +84 -0
  222. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsElasticacheRICommitment.js.map +1 -0
  223. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsRDSRICommitment.d.ts +80 -0
  224. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsRDSRICommitment.js +88 -0
  225. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsRDSRICommitment.js.map +1 -0
  226. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsSPCommitment.d.ts +64 -0
  227. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsSPCommitment.js +69 -0
  228. package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsSPCommitment.js.map +1 -0
  229. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureComputeSPCommitment.d.ts +60 -0
  230. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureComputeSPCommitment.js +64 -0
  231. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureComputeSPCommitment.js.map +1 -0
  232. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRICommitment.d.ts +73 -0
  233. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRICommitment.js +74 -0
  234. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRICommitment.js.map +1 -0
  235. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRIStatus.d.ts +13 -0
  236. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRIStatus.js +12 -0
  237. package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRIStatus.js.map +1 -0
  238. package/dist/packages/datadog-api-client-v2/models/CommitmentsCommitmentType.d.ts +12 -0
  239. package/dist/packages/datadog-api-client-v2/models/CommitmentsCommitmentType.js +11 -0
  240. package/dist/packages/datadog-api-client-v2/models/CommitmentsCommitmentType.js.map +1 -0
  241. package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageScalarResponse.d.ts +37 -0
  242. package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageScalarResponse.js +31 -0
  243. package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageScalarResponse.js.map +1 -0
  244. package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageTimeseriesResponse.d.ts +41 -0
  245. package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageTimeseriesResponse.js +36 -0
  246. package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageTimeseriesResponse.js.map +1 -0
  247. package/dist/packages/datadog-api-client-v2/models/CommitmentsListItem.d.ts +16 -0
  248. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamIncludedItems.js → CommitmentsListItem.js} +1 -1
  249. package/dist/packages/datadog-api-client-v2/models/CommitmentsListItem.js.map +1 -0
  250. package/dist/packages/datadog-api-client-v2/models/CommitmentsListMeta.d.ts +37 -0
  251. package/dist/packages/datadog-api-client-v2/models/CommitmentsListMeta.js +30 -0
  252. package/dist/packages/datadog-api-client-v2/models/CommitmentsListMeta.js.map +1 -0
  253. package/dist/packages/datadog-api-client-v2/models/CommitmentsListResponse.d.ts +42 -0
  254. package/dist/packages/datadog-api-client-v2/models/CommitmentsListResponse.js +35 -0
  255. package/dist/packages/datadog-api-client-v2/models/CommitmentsListResponse.js.map +1 -0
  256. package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarMeta.d.ts +36 -0
  257. package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarMeta.js +36 -0
  258. package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarMeta.js.map +1 -0
  259. package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarResponse.d.ts +46 -0
  260. package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarResponse.js +40 -0
  261. package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarResponse.js.map +1 -0
  262. package/dist/packages/datadog-api-client-v2/models/CommitmentsProvider.d.ts +12 -0
  263. package/dist/packages/datadog-api-client-v2/models/CommitmentsProvider.js +11 -0
  264. package/dist/packages/datadog-api-client-v2/models/CommitmentsProvider.js.map +1 -0
  265. package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsScalarResponse.d.ts +37 -0
  266. package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsScalarResponse.js +31 -0
  267. package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsScalarResponse.js.map +1 -0
  268. package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsTimeseriesResponse.d.ts +49 -0
  269. package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsTimeseriesResponse.js +46 -0
  270. package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsTimeseriesResponse.js.map +1 -0
  271. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumn.d.ts +50 -0
  272. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumn.js +45 -0
  273. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumn.js.map +1 -0
  274. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnMeta.d.ts +37 -0
  275. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnMeta.js +31 -0
  276. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnMeta.js.map +1 -0
  277. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnType.d.ts +12 -0
  278. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnType.js +11 -0
  279. package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnType.js.map +1 -0
  280. package/dist/packages/datadog-api-client-v2/models/CommitmentsTimeseriesMetric.d.ts +47 -0
  281. package/dist/packages/datadog-api-client-v2/models/CommitmentsTimeseriesMetric.js +40 -0
  282. package/dist/packages/datadog-api-client-v2/models/CommitmentsTimeseriesMetric.js.map +1 -0
  283. package/dist/packages/datadog-api-client-v2/models/CommitmentsUnit.d.ts +56 -0
  284. package/dist/packages/datadog-api-client-v2/models/CommitmentsUnit.js +63 -0
  285. package/dist/packages/datadog-api-client-v2/models/CommitmentsUnit.js.map +1 -0
  286. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamRelationships.d.ts → CommitmentsUtilizationScalarProductBreakdownEntry.d.ts} +6 -7
  287. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarProductBreakdownEntry.js +42 -0
  288. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarProductBreakdownEntry.js.map +1 -0
  289. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarResponse.d.ts +42 -0
  290. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarResponse.js +35 -0
  291. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarResponse.js.map +1 -0
  292. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationTimeseriesResponse.d.ts +47 -0
  293. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationTimeseriesResponse.js +40 -0
  294. package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationTimeseriesResponse.js.map +1 -0
  295. package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.d.ts +4 -0
  296. package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.js +4 -0
  297. package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.js.map +1 -1
  298. package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.d.ts +4 -0
  299. package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.js +4 -0
  300. package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.js.map +1 -1
  301. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponse.d.ts +37 -0
  302. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponse.js +30 -0
  303. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponse.js.map +1 -0
  304. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseData.d.ts +46 -0
  305. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseData.js +41 -0
  306. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseData.js.map +1 -0
  307. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataAttributes.d.ts +53 -0
  308. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataAttributes.js +55 -0
  309. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataAttributes.js.map +1 -0
  310. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataType.d.ts +11 -0
  311. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataType.js +10 -0
  312. package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataType.js.map +1 -0
  313. package/dist/packages/datadog-api-client-v2/models/CostAnomaly.d.ts +81 -0
  314. package/dist/packages/datadog-api-client-v2/models/CostAnomaly.js +85 -0
  315. package/dist/packages/datadog-api-client-v2/models/CostAnomaly.js.map +1 -0
  316. package/dist/packages/datadog-api-client-v2/models/CostAnomalyDismissal.d.ts +52 -0
  317. package/dist/packages/datadog-api-client-v2/models/CostAnomalyDismissal.js +57 -0
  318. package/dist/packages/datadog-api-client-v2/models/CostAnomalyDismissal.js.map +1 -0
  319. package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponse.d.ts +37 -0
  320. package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponse.js +30 -0
  321. package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponse.js.map +1 -0
  322. package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponseData.d.ts +46 -0
  323. package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponseData.js +41 -0
  324. package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponseData.js.map +1 -0
  325. package/dist/packages/datadog-api-client-v2/models/CostTag.d.ts +46 -0
  326. package/dist/packages/datadog-api-client-v2/models/CostTag.js +41 -0
  327. package/dist/packages/datadog-api-client-v2/models/CostTag.js.map +1 -0
  328. package/dist/packages/datadog-api-client-v2/models/CostTagAttributes.d.ts +40 -0
  329. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateAttributes.js → CostTagAttributes.js} +14 -9
  330. package/dist/packages/datadog-api-client-v2/models/CostTagAttributes.js.map +1 -0
  331. package/dist/packages/datadog-api-client-v2/models/CostTagDescription.d.ts +46 -0
  332. package/dist/packages/datadog-api-client-v2/models/CostTagDescription.js +41 -0
  333. package/dist/packages/datadog-api-client-v2/models/CostTagDescription.js.map +1 -0
  334. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionAttributes.d.ts +57 -0
  335. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionAttributes.js +56 -0
  336. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionAttributes.js.map +1 -0
  337. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionSource.d.ts +13 -0
  338. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionSource.js +12 -0
  339. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionSource.js.map +1 -0
  340. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionType.d.ts +11 -0
  341. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionType.js +10 -0
  342. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionType.js.map +1 -0
  343. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionsResponse.d.ts +37 -0
  344. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionsResponse.js +31 -0
  345. package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionsResponse.js.map +1 -0
  346. package/dist/packages/datadog-api-client-v2/models/CostTagKey.d.ts +46 -0
  347. package/dist/packages/datadog-api-client-v2/models/CostTagKey.js +41 -0
  348. package/dist/packages/datadog-api-client-v2/models/CostTagKey.js.map +1 -0
  349. package/dist/packages/datadog-api-client-v2/models/CostTagKeyAttributes.d.ts +45 -0
  350. package/dist/packages/datadog-api-client-v2/models/CostTagKeyAttributes.js +40 -0
  351. package/dist/packages/datadog-api-client-v2/models/CostTagKeyAttributes.js.map +1 -0
  352. package/dist/packages/datadog-api-client-v2/models/CostTagKeyDetails.d.ts +40 -0
  353. package/dist/packages/datadog-api-client-v2/models/CostTagKeyDetails.js +41 -0
  354. package/dist/packages/datadog-api-client-v2/models/CostTagKeyDetails.js.map +1 -0
  355. package/dist/packages/datadog-api-client-v2/models/CostTagKeyResponse.d.ts +37 -0
  356. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateRequest.js → CostTagKeyResponse.js} +8 -8
  357. package/dist/packages/datadog-api-client-v2/models/CostTagKeyResponse.js.map +1 -0
  358. package/dist/packages/datadog-api-client-v2/models/CostTagKeyType.d.ts +11 -0
  359. package/dist/packages/datadog-api-client-v2/models/CostTagKeyType.js +10 -0
  360. package/dist/packages/datadog-api-client-v2/models/CostTagKeyType.js.map +1 -0
  361. package/dist/packages/datadog-api-client-v2/models/CostTagKeysResponse.d.ts +37 -0
  362. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateRequest.js → CostTagKeysResponse.js} +8 -8
  363. package/dist/packages/datadog-api-client-v2/models/CostTagKeysResponse.js.map +1 -0
  364. package/dist/packages/datadog-api-client-v2/models/CostTagType.d.ts +11 -0
  365. package/dist/packages/datadog-api-client-v2/models/CostTagType.js +10 -0
  366. package/dist/packages/datadog-api-client-v2/models/CostTagType.js.map +1 -0
  367. package/dist/packages/datadog-api-client-v2/models/CostTagsResponse.d.ts +37 -0
  368. package/dist/packages/datadog-api-client-v2/models/CostTagsResponse.js +31 -0
  369. package/dist/packages/datadog-api-client-v2/models/CostTagsResponse.js.map +1 -0
  370. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequest.d.ts +37 -0
  371. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequest.js +30 -0
  372. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequest.js.map +1 -0
  373. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestData.d.ts +42 -0
  374. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestData.js +35 -0
  375. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestData.js.map +1 -0
  376. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributes.d.ts +41 -0
  377. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributes.js +36 -0
  378. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributes.js.map +1 -0
  379. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributesUpdatesItems.d.ts +50 -0
  380. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributesUpdatesItems.js +45 -0
  381. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributesUpdatesItems.js.map +1 -0
  382. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequest.d.ts +37 -0
  383. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequest.js +30 -0
  384. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequest.js.map +1 -0
  385. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestData.d.ts +42 -0
  386. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestData.js +35 -0
  387. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestData.js.map +1 -0
  388. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributes.d.ts +44 -0
  389. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributes.js +36 -0
  390. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributes.js.map +1 -0
  391. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.d.ts +50 -0
  392. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.js +47 -0
  393. package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.js.map +1 -0
  394. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributes.d.ts +2 -0
  395. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributes.js +4 -0
  396. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributes.js.map +1 -1
  397. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItems.d.ts +50 -0
  398. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItems.js +47 -0
  399. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItems.js.map +1 -0
  400. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems.d.ts +45 -0
  401. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems.js +40 -0
  402. package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems.js.map +1 -0
  403. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.d.ts +2 -0
  404. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js +4 -0
  405. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js.map +1 -1
  406. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItems.d.ts +50 -0
  407. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItems.js +47 -0
  408. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItems.js.map +1 -0
  409. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems.d.ts +45 -0
  410. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems.js +40 -0
  411. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems.js.map +1 -0
  412. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus.d.ts +12 -0
  413. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus.js +11 -0
  414. package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus.js.map +1 -0
  415. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequest.d.ts +37 -0
  416. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequest.js +30 -0
  417. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequest.js.map +1 -0
  418. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestData.d.ts +42 -0
  419. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestData.js +34 -0
  420. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestData.js.map +1 -0
  421. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestDataAttributes.d.ts +40 -0
  422. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestDataAttributes.js +40 -0
  423. package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestDataAttributes.js.map +1 -0
  424. package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.d.ts +0 -4
  425. package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.js +0 -5
  426. package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.js.map +1 -1
  427. package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.d.ts +4 -0
  428. package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.js +4 -0
  429. package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.js.map +1 -1
  430. package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.d.ts +4 -0
  431. package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.js +4 -0
  432. package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.js.map +1 -1
  433. package/dist/packages/datadog-api-client-v2/models/FeatureFlagAttributes.d.ts +4 -0
  434. package/dist/packages/datadog-api-client-v2/models/FeatureFlagAttributes.js +4 -0
  435. package/dist/packages/datadog-api-client-v2/models/FeatureFlagAttributes.js.map +1 -1
  436. package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironment.d.ts +0 -10
  437. package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironment.js +0 -9
  438. package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironment.js.map +1 -1
  439. package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironmentListItem.d.ts +77 -0
  440. package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironmentListItem.js +73 -0
  441. package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironmentListItem.js.map +1 -0
  442. package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItem.d.ts +46 -0
  443. package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItem.js +42 -0
  444. package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItem.js.map +1 -0
  445. package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItemAttributes.d.ts +99 -0
  446. package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItemAttributes.js +100 -0
  447. package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItemAttributes.js.map +1 -0
  448. package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsDataAttributes.d.ts +4 -0
  449. package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsDataAttributes.js +4 -0
  450. package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsDataAttributes.js.map +1 -1
  451. package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsInputUpdateDataAttributes.d.ts +4 -0
  452. package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsInputUpdateDataAttributes.js +4 -0
  453. package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsInputUpdateDataAttributes.js.map +1 -1
  454. package/dist/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.d.ts +1 -0
  455. package/dist/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.js.map +1 -1
  456. package/dist/packages/datadog-api-client-v2/models/IssueAttributes.d.ts +5 -0
  457. package/dist/packages/datadog-api-client-v2/models/IssueAttributes.js +4 -0
  458. package/dist/packages/datadog-api-client-v2/models/IssueAttributes.js.map +1 -1
  459. package/dist/packages/datadog-api-client-v2/models/IssueRegression.d.ts +44 -0
  460. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseAttributes.js → IssueRegression.js} +17 -15
  461. package/dist/packages/datadog-api-client-v2/models/IssueRegression.js.map +1 -0
  462. package/dist/packages/datadog-api-client-v2/models/IssuesSearchRequestDataAttributes.d.ts +5 -0
  463. package/dist/packages/datadog-api-client-v2/models/IssuesSearchRequestDataAttributes.js +4 -0
  464. package/dist/packages/datadog-api-client-v2/models/IssuesSearchRequestDataAttributes.js.map +1 -1
  465. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotatedInteractionItem.d.ts +1 -1
  466. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.d.ts +5 -0
  467. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.js +4 -5
  468. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.js.map +1 -1
  469. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesResponse.d.ts +5 -0
  470. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesResponse.js +4 -5
  471. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesResponse.js.map +1 -1
  472. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueInteractionItem.d.ts +1 -1
  473. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueInteractionResponseItem.d.ts +1 -1
  474. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaAttributes.d.ts +37 -0
  475. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaAttributes.js +31 -0
  476. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaAttributes.js.map +1 -0
  477. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaData.d.ts +46 -0
  478. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaData.js +41 -0
  479. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaData.js.map +1 -0
  480. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaResponse.d.ts +37 -0
  481. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaResponse.js +31 -0
  482. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaResponse.js.map +1 -0
  483. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateAttributes.d.ts +37 -0
  484. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateAttributes.js +31 -0
  485. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateAttributes.js.map +1 -0
  486. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateData.d.ts +42 -0
  487. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateData.js +36 -0
  488. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateData.js.map +1 -0
  489. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateRequest.d.ts +37 -0
  490. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateRequest.js +31 -0
  491. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateRequest.js.map +1 -0
  492. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueUpdateDataAttributesRequest.d.ts +5 -0
  493. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueUpdateDataAttributesRequest.js +4 -5
  494. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueUpdateDataAttributesRequest.js.map +1 -1
  495. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationSchema.d.ts +37 -0
  496. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationSchema.js +31 -0
  497. package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationSchema.js.map +1 -0
  498. package/dist/packages/datadog-api-client-v2/models/LLMObsInteractionType.d.ts +2 -1
  499. package/dist/packages/datadog-api-client-v2/models/LLMObsInteractionType.js +2 -1
  500. package/dist/packages/datadog-api-client-v2/models/LLMObsInteractionType.js.map +1 -1
  501. package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchema.d.ts +81 -0
  502. package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchema.js +78 -0
  503. package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchema.js.map +1 -0
  504. package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchemaType.d.ts +14 -0
  505. package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchemaType.js +13 -0
  506. package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchemaType.js.map +1 -0
  507. package/dist/packages/datadog-api-client-v2/models/ListAppVersionsResponse.d.ts +42 -0
  508. package/dist/packages/datadog-api-client-v2/models/ListAppVersionsResponse.js +34 -0
  509. package/dist/packages/datadog-api-client-v2/models/ListAppVersionsResponse.js.map +1 -0
  510. package/dist/packages/datadog-api-client-v2/models/ListFeatureFlagsResponse.d.ts +2 -2
  511. package/dist/packages/datadog-api-client-v2/models/ListFeatureFlagsResponse.js +1 -1
  512. package/dist/packages/datadog-api-client-v2/models/ListFeatureFlagsResponse.js.map +1 -1
  513. package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributes.d.ts +5 -0
  514. package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributes.js +4 -0
  515. package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributes.js.map +1 -1
  516. package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributesCompressionMethod.d.ts +12 -0
  517. package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributesCompressionMethod.js +11 -0
  518. package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributesCompressionMethod.js.map +1 -0
  519. package/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.d.ts +5 -0
  520. package/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.js +4 -0
  521. package/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.js.map +1 -1
  522. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsData.d.ts +46 -0
  523. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsData.js +42 -0
  524. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsData.js.map +1 -0
  525. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrg.d.ts +37 -0
  526. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrg.js +31 -0
  527. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrg.js.map +1 -0
  528. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrgs.d.ts +37 -0
  529. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrgs.js +31 -0
  530. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrgs.js.map +1 -0
  531. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationships.d.ts +42 -0
  532. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationships.js +36 -0
  533. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationships.js.map +1 -0
  534. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsResponse.d.ts +42 -0
  535. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponse.js → ManagedOrgsResponse.js} +10 -9
  536. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsResponse.js.map +1 -0
  537. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsType.d.ts +11 -0
  538. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsType.js +10 -0
  539. package/dist/packages/datadog-api-client-v2/models/ManagedOrgsType.js.map +1 -0
  540. package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.d.ts +4 -0
  541. package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.js +4 -0
  542. package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.js.map +1 -1
  543. package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.d.ts +4 -0
  544. package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.js +4 -0
  545. package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.js.map +1 -1
  546. package/dist/packages/datadog-api-client-v2/models/MuteDataType.d.ts +11 -0
  547. package/dist/packages/datadog-api-client-v2/models/MuteDataType.js +10 -0
  548. package/dist/packages/datadog-api-client-v2/models/MuteDataType.js.map +1 -0
  549. package/dist/packages/datadog-api-client-v2/models/MuteFindingsMuteAttributes.d.ts +49 -0
  550. package/dist/packages/datadog-api-client-v2/models/MuteFindingsMuteAttributes.js +45 -0
  551. package/dist/packages/datadog-api-client-v2/models/MuteFindingsMuteAttributes.js.map +1 -0
  552. package/dist/packages/datadog-api-client-v2/models/MuteFindingsReason.d.ts +19 -0
  553. package/dist/packages/datadog-api-client-v2/models/MuteFindingsReason.js +18 -0
  554. package/dist/packages/datadog-api-client-v2/models/MuteFindingsReason.js.map +1 -0
  555. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequest.d.ts +37 -0
  556. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequest.js +31 -0
  557. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequest.js.map +1 -0
  558. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseData.d.ts → MuteFindingsRequestData.d.ts} +12 -12
  559. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateData.js → MuteFindingsRequestData.js} +12 -10
  560. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestData.js.map +1 -0
  561. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataAttributes.d.ts +37 -0
  562. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataAttributes.js +31 -0
  563. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataAttributes.js.map +1 -0
  564. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataRelationships.d.ts +37 -0
  565. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataRelationships.js +31 -0
  566. package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataRelationships.js.map +1 -0
  567. package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponse.d.ts +37 -0
  568. package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponse.js +30 -0
  569. package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponse.js.map +1 -0
  570. package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponseData.d.ts +41 -0
  571. package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponseData.js +36 -0
  572. package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponseData.js.map +1 -0
  573. package/dist/packages/datadog-api-client-v2/models/OCIConfig.d.ts +46 -0
  574. package/dist/packages/datadog-api-client-v2/models/OCIConfig.js +41 -0
  575. package/dist/packages/datadog-api-client-v2/models/OCIConfig.js.map +1 -0
  576. package/dist/packages/datadog-api-client-v2/models/OCIConfigAttributes.d.ts +56 -0
  577. package/dist/packages/datadog-api-client-v2/models/OCIConfigAttributes.js +60 -0
  578. package/dist/packages/datadog-api-client-v2/models/OCIConfigAttributes.js.map +1 -0
  579. package/dist/packages/datadog-api-client-v2/models/OCIConfigType.d.ts +11 -0
  580. package/dist/packages/datadog-api-client-v2/models/OCIConfigType.js +10 -0
  581. package/dist/packages/datadog-api-client-v2/models/OCIConfigType.js.map +1 -0
  582. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateAttributes.d.ts → OCIConfigsResponse.d.ts} +5 -4
  583. package/dist/packages/datadog-api-client-v2/models/OCIConfigsResponse.js +31 -0
  584. package/dist/packages/datadog-api-client-v2/models/OCIConfigsResponse.js.map +1 -0
  585. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +387 -28
  586. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  587. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigDestinationItem.d.ts +2 -1
  588. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestination.d.ts +69 -0
  589. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestination.js +67 -0
  590. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestination.js.map +1 -0
  591. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationAuth.d.ts +40 -0
  592. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationAuth.js +40 -0
  593. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationAuth.js.map +1 -0
  594. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationType.d.ts +11 -0
  595. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationType.js +10 -0
  596. package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationType.js.map +1 -0
  597. package/dist/packages/datadog-api-client-v2/models/OrgAttributes.d.ts +64 -0
  598. package/dist/packages/datadog-api-client-v2/models/OrgAttributes.js +73 -0
  599. package/dist/packages/datadog-api-client-v2/models/OrgAttributes.js.map +1 -0
  600. package/dist/packages/datadog-api-client-v2/models/OrgData.d.ts +46 -0
  601. package/dist/packages/datadog-api-client-v2/models/OrgData.js +42 -0
  602. package/dist/packages/datadog-api-client-v2/models/OrgData.js.map +1 -0
  603. package/dist/packages/datadog-api-client-v2/models/OrgGroupListResponse.d.ts +6 -1
  604. package/dist/packages/datadog-api-client-v2/models/OrgGroupListResponse.js +4 -0
  605. package/dist/packages/datadog-api-client-v2/models/OrgGroupListResponse.js.map +1 -1
  606. package/dist/packages/datadog-api-client-v2/models/OrgGroupMembershipListResponse.d.ts +6 -1
  607. package/dist/packages/datadog-api-client-v2/models/OrgGroupMembershipListResponse.js +4 -0
  608. package/dist/packages/datadog-api-client-v2/models/OrgGroupMembershipListResponse.js.map +1 -1
  609. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationLinks.d.ts +52 -0
  610. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationLinks.js +51 -0
  611. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationLinks.js.map +1 -0
  612. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMeta.d.ts +3 -3
  613. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMeta.js +1 -2
  614. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMeta.js.map +1 -1
  615. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMetaPage.d.ts +31 -3
  616. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMetaPage.js +37 -4
  617. package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMetaPage.js.map +1 -1
  618. package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyListResponse.d.ts +6 -1
  619. package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyListResponse.js +4 -0
  620. package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyListResponse.js.map +1 -1
  621. package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideListResponse.d.ts +6 -1
  622. package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideListResponse.js +4 -0
  623. package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideListResponse.js.map +1 -1
  624. package/dist/packages/datadog-api-client-v2/models/OrgRelationshipData.d.ts +41 -0
  625. package/dist/packages/datadog-api-client-v2/models/OrgRelationshipData.js +37 -0
  626. package/dist/packages/datadog-api-client-v2/models/OrgRelationshipData.js.map +1 -0
  627. package/dist/packages/datadog-api-client-v2/models/OrgResourceType.d.ts +11 -0
  628. package/dist/packages/datadog-api-client-v2/models/OrgResourceType.js +10 -0
  629. package/dist/packages/datadog-api-client-v2/models/OrgResourceType.js.map +1 -0
  630. package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.d.ts +4 -0
  631. package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.js +4 -0
  632. package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.js.map +1 -1
  633. package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.d.ts +4 -0
  634. package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.js +4 -0
  635. package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.js.map +1 -1
  636. package/dist/packages/datadog-api-client-v2/models/PublishRequestType.d.ts +11 -0
  637. package/dist/packages/datadog-api-client-v2/models/PublishRequestType.js +10 -0
  638. package/dist/packages/datadog-api-client-v2/models/PublishRequestType.js.map +1 -0
  639. package/dist/packages/datadog-api-client-v2/models/RoutingRuleAction.d.ts +2 -1
  640. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewAttributes.d.ts +41 -0
  641. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewAttributes.js +37 -0
  642. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewAttributes.js.map +1 -0
  643. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewComplianceFramework.d.ts +56 -0
  644. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewComplianceFramework.js +55 -0
  645. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewComplianceFramework.js.map +1 -0
  646. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewData.d.ts +46 -0
  647. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewData.js +41 -0
  648. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewData.js.map +1 -0
  649. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewResponse.d.ts +37 -0
  650. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewResponse.js +31 -0
  651. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewResponse.js.map +1 -0
  652. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRule.d.ts +79 -0
  653. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRule.js +81 -0
  654. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRule.js.map +1 -0
  655. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleCategory.d.ts +13 -0
  656. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleCategory.js +12 -0
  657. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleCategory.js.map +1 -0
  658. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleStats.d.ts +44 -0
  659. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleStats.js +49 -0
  660. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleStats.js.map +1 -0
  661. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewType.d.ts +11 -0
  662. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewType.js +10 -0
  663. package/dist/packages/datadog-api-client-v2/models/RuleBasedViewType.js.map +1 -0
  664. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespArray.d.ts +37 -0
  665. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespArray.js +31 -0
  666. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespArray.js.map +1 -0
  667. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespData.d.ts +46 -0
  668. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespData.js +41 -0
  669. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespData.js.map +1 -0
  670. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataAttributes.d.ts +36 -0
  671. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataAttributes.js +36 -0
  672. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataAttributes.js.map +1 -0
  673. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataType.d.ts +11 -0
  674. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataType.js +10 -0
  675. package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataType.js.map +1 -0
  676. package/dist/packages/datadog-api-client-v2/models/SecurityEntityRiskScoreAttributes.js +2 -2
  677. package/dist/packages/datadog-api-client-v2/models/SecurityEntityRiskScoreAttributes.js.map +1 -1
  678. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteAttributes.d.ts +36 -0
  679. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteAttributes.js +36 -0
  680. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteAttributes.js.map +1 -0
  681. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteData.d.ts +42 -0
  682. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteData.js +36 -0
  683. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteData.js.map +1 -0
  684. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeletePayload.d.ts +37 -0
  685. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeletePayload.js +31 -0
  686. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeletePayload.js.map +1 -0
  687. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteRequestDataType.d.ts +11 -0
  688. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteRequestDataType.js +10 -0
  689. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteRequestDataType.js.map +1 -0
  690. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteResponse.d.ts +40 -0
  691. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteResponse.js +39 -0
  692. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteResponse.js.map +1 -0
  693. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.d.ts +2 -4
  694. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js +2 -2
  695. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js.map +1 -1
  696. package/dist/packages/datadog-api-client-v2/models/SloQuery.d.ts +4 -0
  697. package/dist/packages/datadog-api-client-v2/models/SloQuery.js +4 -0
  698. package/dist/packages/datadog-api-client-v2/models/SloQuery.js.map +1 -1
  699. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeData.d.ts +46 -0
  700. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeData.js +41 -0
  701. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeData.js.map +1 -0
  702. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesRequest.d.ts +57 -0
  703. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesRequest.js +54 -0
  704. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesRequest.js.map +1 -0
  705. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesResponse.d.ts +81 -0
  706. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesResponse.js +88 -0
  707. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesResponse.js.map +1 -0
  708. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataRequest.d.ts +42 -0
  709. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataRequest.js +36 -0
  710. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataRequest.js.map +1 -0
  711. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeFrequency.d.ts +14 -0
  712. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeFrequency.js +13 -0
  713. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeFrequency.js.map +1 -0
  714. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeRequest.d.ts +37 -0
  715. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeRequest.js +31 -0
  716. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateRequest.js.map → SyntheticsDowntimeRequest.js.map} +1 -1
  717. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResourceType.d.ts +11 -0
  718. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResourceType.js +10 -0
  719. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResourceType.js.map +1 -0
  720. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateRequest.d.ts → SyntheticsDowntimeResponse.d.ts} +5 -5
  721. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResponse.js +31 -0
  722. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResponse.js.map +1 -0
  723. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotDate.d.ts +52 -0
  724. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotDate.js +61 -0
  725. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotDate.js.map +1 -0
  726. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceRequest.d.ts +51 -0
  727. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceRequest.js +44 -0
  728. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceRequest.js.map +1 -0
  729. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceResponse.d.ts +51 -0
  730. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceResponse.js +46 -0
  731. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceResponse.js.map +1 -0
  732. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRequest.d.ts +54 -0
  733. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRequest.js +50 -0
  734. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRequest.js.map +1 -0
  735. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotResponse.d.ts +58 -0
  736. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotResponse.js +55 -0
  737. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotResponse.js.map +1 -0
  738. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeWeekday.d.ts +17 -0
  739. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeWeekday.js +16 -0
  740. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeWeekday.js.map +1 -0
  741. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimesResponse.d.ts +37 -0
  742. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimesResponse.js +31 -0
  743. package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimesResponse.js.map +1 -0
  744. package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationAction.d.ts +41 -0
  745. package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationAction.js +36 -0
  746. package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationAction.js.map +1 -0
  747. package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationActionType.d.ts +11 -0
  748. package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationActionType.js +10 -0
  749. package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationActionType.js.map +1 -0
  750. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequest.d.ts +37 -0
  751. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequest.js +30 -0
  752. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequest.js.map +1 -0
  753. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestData.d.ts +42 -0
  754. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestData.js +34 -0
  755. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestData.js.map +1 -0
  756. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestDataAttributes.d.ts +36 -0
  757. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestDataAttributes.js +36 -0
  758. package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestDataAttributes.js.map +1 -0
  759. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequest.d.ts +37 -0
  760. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequest.js +30 -0
  761. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequest.js.map +1 -0
  762. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestData.d.ts +42 -0
  763. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestData.js +34 -0
  764. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestData.js.map +1 -0
  765. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestDataAttributes.d.ts +37 -0
  766. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestDataAttributes.js +31 -0
  767. package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestDataAttributes.js.map +1 -0
  768. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequest.d.ts +37 -0
  769. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequest.js +30 -0
  770. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequest.js.map +1 -0
  771. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestData.d.ts +42 -0
  772. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestData.js +34 -0
  773. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestData.js.map +1 -0
  774. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestDataAttributes.d.ts +36 -0
  775. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestDataAttributes.js +36 -0
  776. package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestDataAttributes.js.map +1 -0
  777. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequest.d.ts +37 -0
  778. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequest.js +30 -0
  779. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequest.js.map +1 -0
  780. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestData.d.ts +42 -0
  781. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestData.js +34 -0
  782. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestData.js.map +1 -0
  783. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestDataAttributes.d.ts +36 -0
  784. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestDataAttributes.js +36 -0
  785. package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestDataAttributes.js.map +1 -0
  786. package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequest.d.ts +37 -0
  787. package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequest.js +30 -0
  788. package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequest.js.map +1 -0
  789. package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestData.d.ts +42 -0
  790. package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestData.js +34 -0
  791. package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestData.js.map +1 -0
  792. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateAttributes.d.ts → UpdateAppVersionNameRequestDataAttributes.d.ts} +3 -3
  793. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateAttributes.js → UpdateAppVersionNameRequestDataAttributes.js} +7 -7
  794. package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestDataAttributes.js.map +1 -0
  795. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequest.d.ts +37 -0
  796. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequest.js +31 -0
  797. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequest.js.map +1 -0
  798. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestAttributes.d.ts +47 -0
  799. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestAttributes.js +38 -0
  800. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestAttributes.js.map +1 -0
  801. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestData.d.ts +47 -0
  802. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestData.js +41 -0
  803. package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestData.js.map +1 -0
  804. package/dist/packages/datadog-api-client-v2/models/UserAttributes.d.ts +15 -14
  805. package/dist/packages/datadog-api-client-v2/models/UserAttributes.js.map +1 -1
  806. package/dist/packages/datadog-api-client-v2/models/UserUpdateAttributes.d.ts +10 -3
  807. package/dist/packages/datadog-api-client-v2/models/UserUpdateAttributes.js +4 -0
  808. package/dist/packages/datadog-api-client-v2/models/UserUpdateAttributes.js.map +1 -1
  809. package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyResponse.d.ts +37 -0
  810. package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyResponse.js +31 -0
  811. package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyResponse.js.map +1 -0
  812. package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyStatus.d.ts +11 -0
  813. package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyStatus.js +10 -0
  814. package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyStatus.js.map +1 -0
  815. package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseAttributes.d.ts → ValidateV2Attributes.d.ts} +8 -8
  816. package/dist/packages/datadog-api-client-v2/models/ValidateV2Attributes.js +46 -0
  817. package/dist/packages/datadog-api-client-v2/models/ValidateV2Attributes.js.map +1 -0
  818. package/dist/packages/datadog-api-client-v2/models/ValidateV2Data.d.ts +46 -0
  819. package/dist/packages/datadog-api-client-v2/models/ValidateV2Data.js +41 -0
  820. package/dist/packages/datadog-api-client-v2/models/ValidateV2Data.js.map +1 -0
  821. package/dist/packages/datadog-api-client-v2/models/ValidateV2Response.d.ts +37 -0
  822. package/dist/packages/datadog-api-client-v2/models/ValidateV2Response.js +31 -0
  823. package/dist/packages/datadog-api-client-v2/models/ValidateV2Response.js.map +1 -0
  824. package/dist/packages/datadog-api-client-v2/models/ValidateV2Type.d.ts +11 -0
  825. package/dist/packages/datadog-api-client-v2/models/ValidateV2Type.js +10 -0
  826. package/dist/packages/datadog-api-client-v2/models/ValidateV2Type.js.map +1 -0
  827. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequest.d.ts +37 -0
  828. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequest.js +31 -0
  829. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequest.js.map +1 -0
  830. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestAttributes.d.ts +49 -0
  831. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestAttributes.js +46 -0
  832. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestAttributes.js.map +1 -0
  833. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestData.d.ts +42 -0
  834. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestData.js +36 -0
  835. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestData.js.map +1 -0
  836. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponse.d.ts +37 -0
  837. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponse.js +30 -0
  838. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponse.js.map +1 -0
  839. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseAttributes.d.ts +42 -0
  840. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseAttributes.js +40 -0
  841. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseAttributes.js.map +1 -0
  842. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseData.d.ts +46 -0
  843. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseData.js +41 -0
  844. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseData.js.map +1 -0
  845. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountType.d.ts +11 -0
  846. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountType.js +10 -0
  847. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountType.js.map +1 -0
  848. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequest.d.ts +37 -0
  849. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequest.js +31 -0
  850. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequest.js.map +1 -0
  851. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestAttributes.d.ts +49 -0
  852. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestAttributes.js +43 -0
  853. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestAttributes.js.map +1 -0
  854. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestData.d.ts +42 -0
  855. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestData.js +36 -0
  856. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestData.js.map +1 -0
  857. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountsResponse.d.ts +37 -0
  858. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountsResponse.js +30 -0
  859. package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountsResponse.js.map +1 -0
  860. package/dist/packages/datadog-api-client-v2/models/WidgetAttributes.d.ts +5 -1
  861. package/dist/packages/datadog-api-client-v2/models/WidgetAttributes.js.map +1 -1
  862. package/dist/version.d.ts +1 -1
  863. package/dist/version.js +1 -1
  864. package/package.json +1 -1
  865. package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.d.ts +0 -149
  866. package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.js.map +0 -1
  867. package/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateAttributes.js.map +0 -1
  868. package/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateData.js +0 -39
  869. package/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateData.js.map +0 -1
  870. package/dist/packages/datadog-api-client-v2/models/IncidentTeamIncludedItems.js.map +0 -1
  871. package/dist/packages/datadog-api-client-v2/models/IncidentTeamRelationships.js +0 -34
  872. package/dist/packages/datadog-api-client-v2/models/IncidentTeamRelationships.js.map +0 -1
  873. package/dist/packages/datadog-api-client-v2/models/IncidentTeamResponse.js.map +0 -1
  874. package/dist/packages/datadog-api-client-v2/models/IncidentTeamResponseAttributes.js.map +0 -1
  875. package/dist/packages/datadog-api-client-v2/models/IncidentTeamResponseData.js +0 -42
  876. package/dist/packages/datadog-api-client-v2/models/IncidentTeamResponseData.js.map +0 -1
  877. package/dist/packages/datadog-api-client-v2/models/IncidentTeamType.js.map +0 -1
  878. package/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateAttributes.js.map +0 -1
  879. package/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateData.js.map +0 -1
  880. package/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateRequest.js.map +0 -1
  881. package/dist/packages/datadog-api-client-v2/models/IncidentTeamsResponse.js +0 -39
  882. package/dist/packages/datadog-api-client-v2/models/IncidentTeamsResponse.js.map +0 -1
  883. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsForgetAfter.d.ts +0 -16
  884. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsForgetAfter.js +0 -15
  885. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsForgetAfter.js.map +0 -1
  886. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsLearningDuration.d.ts +0 -14
  887. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsLearningDuration.js.map +0 -1
@@ -362,21 +362,56 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
362
362
  return requestContext;
363
363
  });
364
364
  }
365
- getCostAWSCURConfig(cloudAccountId, _options) {
365
+ getCommitmentsCommitmentList(provider, product, start, end, filterBy, commitmentType, _options) {
366
366
  return __awaiter(this, void 0, void 0, function* () {
367
367
  const _config = _options || this.configuration;
368
- // verify required parameter 'cloudAccountId' is not null or undefined
369
- if (cloudAccountId === null || cloudAccountId === undefined) {
370
- throw new baseapi_1.RequiredError("cloudAccountId", "getCostAWSCURConfig");
368
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsCommitmentList'");
369
+ if (!_config.unstableOperations["v2.getCommitmentsCommitmentList"]) {
370
+ throw new Error("Unstable operation 'getCommitmentsCommitmentList' is disabled");
371
+ }
372
+ // verify required parameter 'provider' is not null or undefined
373
+ if (provider === null || provider === undefined) {
374
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsCommitmentList");
375
+ }
376
+ // verify required parameter 'product' is not null or undefined
377
+ if (product === null || product === undefined) {
378
+ throw new baseapi_1.RequiredError("product", "getCommitmentsCommitmentList");
379
+ }
380
+ // verify required parameter 'start' is not null or undefined
381
+ if (start === null || start === undefined) {
382
+ throw new baseapi_1.RequiredError("start", "getCommitmentsCommitmentList");
383
+ }
384
+ // verify required parameter 'end' is not null or undefined
385
+ if (end === null || end === undefined) {
386
+ throw new baseapi_1.RequiredError("end", "getCommitmentsCommitmentList");
371
387
  }
372
388
  // Path Params
373
- const localVarPath = "/api/v2/cost/aws_cur_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
389
+ const localVarPath = "/api/v2/cost/commitments/commitment-list";
374
390
  // Make Request Context
375
391
  const requestContext = _config
376
- .getServer("v2.CloudCostManagementApi.getCostAWSCURConfig")
392
+ .getServer("v2.CloudCostManagementApi.getCommitmentsCommitmentList")
377
393
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
378
394
  requestContext.setHeaderParam("Accept", "application/json");
379
395
  requestContext.setHttpConfig(_config.httpConfig);
396
+ // Query Params
397
+ if (provider !== undefined) {
398
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
399
+ }
400
+ if (product !== undefined) {
401
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
402
+ }
403
+ if (start !== undefined) {
404
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
405
+ }
406
+ if (end !== undefined) {
407
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
408
+ }
409
+ if (filterBy !== undefined) {
410
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
411
+ }
412
+ if (commitmentType !== undefined) {
413
+ requestContext.setQueryParam("commitmentType", ObjectSerializer_1.ObjectSerializer.serialize(commitmentType, "CommitmentsCommitmentType", ""), "");
414
+ }
380
415
  // Apply auth methods
381
416
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
382
417
  "apiKeyAuth",
@@ -386,21 +421,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
386
421
  return requestContext;
387
422
  });
388
423
  }
389
- getCostAzureUCConfig(cloudAccountId, _options) {
424
+ getCommitmentsCoverageScalar(provider, product, start, end, filterBy, _options) {
390
425
  return __awaiter(this, void 0, void 0, function* () {
391
426
  const _config = _options || this.configuration;
392
- // verify required parameter 'cloudAccountId' is not null or undefined
393
- if (cloudAccountId === null || cloudAccountId === undefined) {
394
- throw new baseapi_1.RequiredError("cloudAccountId", "getCostAzureUCConfig");
427
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsCoverageScalar'");
428
+ if (!_config.unstableOperations["v2.getCommitmentsCoverageScalar"]) {
429
+ throw new Error("Unstable operation 'getCommitmentsCoverageScalar' is disabled");
430
+ }
431
+ // verify required parameter 'provider' is not null or undefined
432
+ if (provider === null || provider === undefined) {
433
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsCoverageScalar");
434
+ }
435
+ // verify required parameter 'product' is not null or undefined
436
+ if (product === null || product === undefined) {
437
+ throw new baseapi_1.RequiredError("product", "getCommitmentsCoverageScalar");
438
+ }
439
+ // verify required parameter 'start' is not null or undefined
440
+ if (start === null || start === undefined) {
441
+ throw new baseapi_1.RequiredError("start", "getCommitmentsCoverageScalar");
442
+ }
443
+ // verify required parameter 'end' is not null or undefined
444
+ if (end === null || end === undefined) {
445
+ throw new baseapi_1.RequiredError("end", "getCommitmentsCoverageScalar");
395
446
  }
396
447
  // Path Params
397
- const localVarPath = "/api/v2/cost/azure_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
448
+ const localVarPath = "/api/v2/cost/commitments/coverage/scalar";
398
449
  // Make Request Context
399
450
  const requestContext = _config
400
- .getServer("v2.CloudCostManagementApi.getCostAzureUCConfig")
451
+ .getServer("v2.CloudCostManagementApi.getCommitmentsCoverageScalar")
401
452
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
402
453
  requestContext.setHeaderParam("Accept", "application/json");
403
454
  requestContext.setHttpConfig(_config.httpConfig);
455
+ // Query Params
456
+ if (provider !== undefined) {
457
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
458
+ }
459
+ if (product !== undefined) {
460
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
461
+ }
462
+ if (start !== undefined) {
463
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
464
+ }
465
+ if (end !== undefined) {
466
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
467
+ }
468
+ if (filterBy !== undefined) {
469
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
470
+ }
404
471
  // Apply auth methods
405
472
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
406
473
  "apiKeyAuth",
@@ -410,21 +477,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
410
477
  return requestContext;
411
478
  });
412
479
  }
413
- getCostGCPUsageCostConfig(cloudAccountId, _options) {
480
+ getCommitmentsCoverageTimeseries(provider, product, start, end, filterBy, _options) {
414
481
  return __awaiter(this, void 0, void 0, function* () {
415
482
  const _config = _options || this.configuration;
416
- // verify required parameter 'cloudAccountId' is not null or undefined
417
- if (cloudAccountId === null || cloudAccountId === undefined) {
418
- throw new baseapi_1.RequiredError("cloudAccountId", "getCostGCPUsageCostConfig");
483
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsCoverageTimeseries'");
484
+ if (!_config.unstableOperations["v2.getCommitmentsCoverageTimeseries"]) {
485
+ throw new Error("Unstable operation 'getCommitmentsCoverageTimeseries' is disabled");
486
+ }
487
+ // verify required parameter 'provider' is not null or undefined
488
+ if (provider === null || provider === undefined) {
489
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsCoverageTimeseries");
490
+ }
491
+ // verify required parameter 'product' is not null or undefined
492
+ if (product === null || product === undefined) {
493
+ throw new baseapi_1.RequiredError("product", "getCommitmentsCoverageTimeseries");
494
+ }
495
+ // verify required parameter 'start' is not null or undefined
496
+ if (start === null || start === undefined) {
497
+ throw new baseapi_1.RequiredError("start", "getCommitmentsCoverageTimeseries");
498
+ }
499
+ // verify required parameter 'end' is not null or undefined
500
+ if (end === null || end === undefined) {
501
+ throw new baseapi_1.RequiredError("end", "getCommitmentsCoverageTimeseries");
419
502
  }
420
503
  // Path Params
421
- const localVarPath = "/api/v2/cost/gcp_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
504
+ const localVarPath = "/api/v2/cost/commitments/coverage/timeseries";
422
505
  // Make Request Context
423
506
  const requestContext = _config
424
- .getServer("v2.CloudCostManagementApi.getCostGCPUsageCostConfig")
507
+ .getServer("v2.CloudCostManagementApi.getCommitmentsCoverageTimeseries")
425
508
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
426
509
  requestContext.setHeaderParam("Accept", "application/json");
427
510
  requestContext.setHttpConfig(_config.httpConfig);
511
+ // Query Params
512
+ if (provider !== undefined) {
513
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
514
+ }
515
+ if (product !== undefined) {
516
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
517
+ }
518
+ if (start !== undefined) {
519
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
520
+ }
521
+ if (end !== undefined) {
522
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
523
+ }
524
+ if (filterBy !== undefined) {
525
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
526
+ }
428
527
  // Apply auth methods
429
528
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
430
529
  "apiKeyAuth",
@@ -434,21 +533,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
434
533
  return requestContext;
435
534
  });
436
535
  }
437
- getCustomAllocationRule(ruleId, _options) {
536
+ getCommitmentsOnDemandHotspotsScalar(provider, product, start, end, filterBy, _options) {
438
537
  return __awaiter(this, void 0, void 0, function* () {
439
538
  const _config = _options || this.configuration;
440
- // verify required parameter 'ruleId' is not null or undefined
441
- if (ruleId === null || ruleId === undefined) {
442
- throw new baseapi_1.RequiredError("ruleId", "getCustomAllocationRule");
539
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsOnDemandHotspotsScalar'");
540
+ if (!_config.unstableOperations["v2.getCommitmentsOnDemandHotspotsScalar"]) {
541
+ throw new Error("Unstable operation 'getCommitmentsOnDemandHotspotsScalar' is disabled");
542
+ }
543
+ // verify required parameter 'provider' is not null or undefined
544
+ if (provider === null || provider === undefined) {
545
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsOnDemandHotspotsScalar");
546
+ }
547
+ // verify required parameter 'product' is not null or undefined
548
+ if (product === null || product === undefined) {
549
+ throw new baseapi_1.RequiredError("product", "getCommitmentsOnDemandHotspotsScalar");
550
+ }
551
+ // verify required parameter 'start' is not null or undefined
552
+ if (start === null || start === undefined) {
553
+ throw new baseapi_1.RequiredError("start", "getCommitmentsOnDemandHotspotsScalar");
554
+ }
555
+ // verify required parameter 'end' is not null or undefined
556
+ if (end === null || end === undefined) {
557
+ throw new baseapi_1.RequiredError("end", "getCommitmentsOnDemandHotspotsScalar");
443
558
  }
444
559
  // Path Params
445
- const localVarPath = "/api/v2/cost/arbitrary_rule/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
560
+ const localVarPath = "/api/v2/cost/commitments/on-demand-hot-spots/scalar";
446
561
  // Make Request Context
447
562
  const requestContext = _config
448
- .getServer("v2.CloudCostManagementApi.getCustomAllocationRule")
563
+ .getServer("v2.CloudCostManagementApi.getCommitmentsOnDemandHotspotsScalar")
449
564
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
450
565
  requestContext.setHeaderParam("Accept", "application/json");
451
566
  requestContext.setHttpConfig(_config.httpConfig);
567
+ // Query Params
568
+ if (provider !== undefined) {
569
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
570
+ }
571
+ if (product !== undefined) {
572
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
573
+ }
574
+ if (start !== undefined) {
575
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
576
+ }
577
+ if (end !== undefined) {
578
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
579
+ }
580
+ if (filterBy !== undefined) {
581
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
582
+ }
452
583
  // Apply auth methods
453
584
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
454
585
  "apiKeyAuth",
@@ -458,21 +589,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
458
589
  return requestContext;
459
590
  });
460
591
  }
461
- getCustomCostsFile(fileId, _options) {
592
+ getCommitmentsSavingsScalar(provider, product, start, end, filterBy, _options) {
462
593
  return __awaiter(this, void 0, void 0, function* () {
463
594
  const _config = _options || this.configuration;
464
- // verify required parameter 'fileId' is not null or undefined
465
- if (fileId === null || fileId === undefined) {
466
- throw new baseapi_1.RequiredError("fileId", "getCustomCostsFile");
595
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsSavingsScalar'");
596
+ if (!_config.unstableOperations["v2.getCommitmentsSavingsScalar"]) {
597
+ throw new Error("Unstable operation 'getCommitmentsSavingsScalar' is disabled");
598
+ }
599
+ // verify required parameter 'provider' is not null or undefined
600
+ if (provider === null || provider === undefined) {
601
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsSavingsScalar");
602
+ }
603
+ // verify required parameter 'product' is not null or undefined
604
+ if (product === null || product === undefined) {
605
+ throw new baseapi_1.RequiredError("product", "getCommitmentsSavingsScalar");
606
+ }
607
+ // verify required parameter 'start' is not null or undefined
608
+ if (start === null || start === undefined) {
609
+ throw new baseapi_1.RequiredError("start", "getCommitmentsSavingsScalar");
610
+ }
611
+ // verify required parameter 'end' is not null or undefined
612
+ if (end === null || end === undefined) {
613
+ throw new baseapi_1.RequiredError("end", "getCommitmentsSavingsScalar");
467
614
  }
468
615
  // Path Params
469
- const localVarPath = "/api/v2/cost/custom_costs/{file_id}".replace("{file_id}", encodeURIComponent(String(fileId)));
616
+ const localVarPath = "/api/v2/cost/commitments/savings/scalar";
470
617
  // Make Request Context
471
618
  const requestContext = _config
472
- .getServer("v2.CloudCostManagementApi.getCustomCostsFile")
619
+ .getServer("v2.CloudCostManagementApi.getCommitmentsSavingsScalar")
473
620
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
474
621
  requestContext.setHeaderParam("Accept", "application/json");
475
622
  requestContext.setHttpConfig(_config.httpConfig);
623
+ // Query Params
624
+ if (provider !== undefined) {
625
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
626
+ }
627
+ if (product !== undefined) {
628
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
629
+ }
630
+ if (start !== undefined) {
631
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
632
+ }
633
+ if (end !== undefined) {
634
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
635
+ }
636
+ if (filterBy !== undefined) {
637
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
638
+ }
476
639
  // Apply auth methods
477
640
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
478
641
  "apiKeyAuth",
@@ -482,21 +645,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
482
645
  return requestContext;
483
646
  });
484
647
  }
485
- getTagPipelinesRuleset(rulesetId, _options) {
648
+ getCommitmentsSavingsTimeseries(provider, product, start, end, filterBy, _options) {
486
649
  return __awaiter(this, void 0, void 0, function* () {
487
650
  const _config = _options || this.configuration;
488
- // verify required parameter 'rulesetId' is not null or undefined
489
- if (rulesetId === null || rulesetId === undefined) {
490
- throw new baseapi_1.RequiredError("rulesetId", "getTagPipelinesRuleset");
651
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsSavingsTimeseries'");
652
+ if (!_config.unstableOperations["v2.getCommitmentsSavingsTimeseries"]) {
653
+ throw new Error("Unstable operation 'getCommitmentsSavingsTimeseries' is disabled");
654
+ }
655
+ // verify required parameter 'provider' is not null or undefined
656
+ if (provider === null || provider === undefined) {
657
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsSavingsTimeseries");
658
+ }
659
+ // verify required parameter 'product' is not null or undefined
660
+ if (product === null || product === undefined) {
661
+ throw new baseapi_1.RequiredError("product", "getCommitmentsSavingsTimeseries");
662
+ }
663
+ // verify required parameter 'start' is not null or undefined
664
+ if (start === null || start === undefined) {
665
+ throw new baseapi_1.RequiredError("start", "getCommitmentsSavingsTimeseries");
666
+ }
667
+ // verify required parameter 'end' is not null or undefined
668
+ if (end === null || end === undefined) {
669
+ throw new baseapi_1.RequiredError("end", "getCommitmentsSavingsTimeseries");
491
670
  }
492
671
  // Path Params
493
- const localVarPath = "/api/v2/tags/enrichment/{ruleset_id}".replace("{ruleset_id}", encodeURIComponent(String(rulesetId)));
672
+ const localVarPath = "/api/v2/cost/commitments/savings/timeseries";
494
673
  // Make Request Context
495
674
  const requestContext = _config
496
- .getServer("v2.CloudCostManagementApi.getTagPipelinesRuleset")
675
+ .getServer("v2.CloudCostManagementApi.getCommitmentsSavingsTimeseries")
497
676
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
498
677
  requestContext.setHeaderParam("Accept", "application/json");
499
678
  requestContext.setHttpConfig(_config.httpConfig);
679
+ // Query Params
680
+ if (provider !== undefined) {
681
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
682
+ }
683
+ if (product !== undefined) {
684
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
685
+ }
686
+ if (start !== undefined) {
687
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
688
+ }
689
+ if (end !== undefined) {
690
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
691
+ }
692
+ if (filterBy !== undefined) {
693
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
694
+ }
500
695
  // Apply auth methods
501
696
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
502
697
  "apiKeyAuth",
@@ -506,36 +701,115 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
506
701
  return requestContext;
507
702
  });
508
703
  }
509
- listBudgets(_options) {
704
+ getCommitmentsUtilizationScalar(provider, product, start, end, filterBy, commitmentType, _options) {
510
705
  return __awaiter(this, void 0, void 0, function* () {
511
706
  const _config = _options || this.configuration;
707
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsUtilizationScalar'");
708
+ if (!_config.unstableOperations["v2.getCommitmentsUtilizationScalar"]) {
709
+ throw new Error("Unstable operation 'getCommitmentsUtilizationScalar' is disabled");
710
+ }
711
+ // verify required parameter 'provider' is not null or undefined
712
+ if (provider === null || provider === undefined) {
713
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsUtilizationScalar");
714
+ }
715
+ // verify required parameter 'product' is not null or undefined
716
+ if (product === null || product === undefined) {
717
+ throw new baseapi_1.RequiredError("product", "getCommitmentsUtilizationScalar");
718
+ }
719
+ // verify required parameter 'start' is not null or undefined
720
+ if (start === null || start === undefined) {
721
+ throw new baseapi_1.RequiredError("start", "getCommitmentsUtilizationScalar");
722
+ }
723
+ // verify required parameter 'end' is not null or undefined
724
+ if (end === null || end === undefined) {
725
+ throw new baseapi_1.RequiredError("end", "getCommitmentsUtilizationScalar");
726
+ }
512
727
  // Path Params
513
- const localVarPath = "/api/v2/cost/budgets";
728
+ const localVarPath = "/api/v2/cost/commitments/utilization/scalar";
514
729
  // Make Request Context
515
730
  const requestContext = _config
516
- .getServer("v2.CloudCostManagementApi.listBudgets")
731
+ .getServer("v2.CloudCostManagementApi.getCommitmentsUtilizationScalar")
517
732
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
518
733
  requestContext.setHeaderParam("Accept", "application/json");
519
734
  requestContext.setHttpConfig(_config.httpConfig);
735
+ // Query Params
736
+ if (provider !== undefined) {
737
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
738
+ }
739
+ if (product !== undefined) {
740
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
741
+ }
742
+ if (start !== undefined) {
743
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
744
+ }
745
+ if (end !== undefined) {
746
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
747
+ }
748
+ if (filterBy !== undefined) {
749
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
750
+ }
751
+ if (commitmentType !== undefined) {
752
+ requestContext.setQueryParam("commitmentType", ObjectSerializer_1.ObjectSerializer.serialize(commitmentType, "CommitmentsCommitmentType", ""), "");
753
+ }
520
754
  // Apply auth methods
521
755
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
522
756
  "apiKeyAuth",
523
757
  "appKeyAuth",
758
+ "AuthZ",
524
759
  ]);
525
760
  return requestContext;
526
761
  });
527
762
  }
528
- listCostAWSCURConfigs(_options) {
763
+ getCommitmentsUtilizationTimeseries(provider, product, start, end, filterBy, commitmentType, _options) {
529
764
  return __awaiter(this, void 0, void 0, function* () {
530
765
  const _config = _options || this.configuration;
766
+ logger_1.logger.warn("Using unstable operation 'getCommitmentsUtilizationTimeseries'");
767
+ if (!_config.unstableOperations["v2.getCommitmentsUtilizationTimeseries"]) {
768
+ throw new Error("Unstable operation 'getCommitmentsUtilizationTimeseries' is disabled");
769
+ }
770
+ // verify required parameter 'provider' is not null or undefined
771
+ if (provider === null || provider === undefined) {
772
+ throw new baseapi_1.RequiredError("provider", "getCommitmentsUtilizationTimeseries");
773
+ }
774
+ // verify required parameter 'product' is not null or undefined
775
+ if (product === null || product === undefined) {
776
+ throw new baseapi_1.RequiredError("product", "getCommitmentsUtilizationTimeseries");
777
+ }
778
+ // verify required parameter 'start' is not null or undefined
779
+ if (start === null || start === undefined) {
780
+ throw new baseapi_1.RequiredError("start", "getCommitmentsUtilizationTimeseries");
781
+ }
782
+ // verify required parameter 'end' is not null or undefined
783
+ if (end === null || end === undefined) {
784
+ throw new baseapi_1.RequiredError("end", "getCommitmentsUtilizationTimeseries");
785
+ }
531
786
  // Path Params
532
- const localVarPath = "/api/v2/cost/aws_cur_config";
787
+ const localVarPath = "/api/v2/cost/commitments/utilization/timeseries";
533
788
  // Make Request Context
534
789
  const requestContext = _config
535
- .getServer("v2.CloudCostManagementApi.listCostAWSCURConfigs")
790
+ .getServer("v2.CloudCostManagementApi.getCommitmentsUtilizationTimeseries")
536
791
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
537
792
  requestContext.setHeaderParam("Accept", "application/json");
538
793
  requestContext.setHttpConfig(_config.httpConfig);
794
+ // Query Params
795
+ if (provider !== undefined) {
796
+ requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
797
+ }
798
+ if (product !== undefined) {
799
+ requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
800
+ }
801
+ if (start !== undefined) {
802
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
803
+ }
804
+ if (end !== undefined) {
805
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
806
+ }
807
+ if (filterBy !== undefined) {
808
+ requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
809
+ }
810
+ if (commitmentType !== undefined) {
811
+ requestContext.setQueryParam("commitmentType", ObjectSerializer_1.ObjectSerializer.serialize(commitmentType, "CommitmentsCommitmentType", ""), "");
812
+ }
539
813
  // Apply auth methods
540
814
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
541
815
  "apiKeyAuth",
@@ -545,14 +819,22 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
545
819
  return requestContext;
546
820
  });
547
821
  }
548
- listCostAzureUCConfigs(_options) {
822
+ getCostAnomaly(anomalyId, _options) {
549
823
  return __awaiter(this, void 0, void 0, function* () {
550
824
  const _config = _options || this.configuration;
825
+ logger_1.logger.warn("Using unstable operation 'getCostAnomaly'");
826
+ if (!_config.unstableOperations["v2.getCostAnomaly"]) {
827
+ throw new Error("Unstable operation 'getCostAnomaly' is disabled");
828
+ }
829
+ // verify required parameter 'anomalyId' is not null or undefined
830
+ if (anomalyId === null || anomalyId === undefined) {
831
+ throw new baseapi_1.RequiredError("anomalyId", "getCostAnomaly");
832
+ }
551
833
  // Path Params
552
- const localVarPath = "/api/v2/cost/azure_uc_config";
834
+ const localVarPath = "/api/v2/cost/anomalies/{anomaly_id}".replace("{anomaly_id}", encodeURIComponent(String(anomalyId)));
553
835
  // Make Request Context
554
836
  const requestContext = _config
555
- .getServer("v2.CloudCostManagementApi.listCostAzureUCConfigs")
837
+ .getServer("v2.CloudCostManagementApi.getCostAnomaly")
556
838
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
557
839
  requestContext.setHeaderParam("Accept", "application/json");
558
840
  requestContext.setHttpConfig(_config.httpConfig);
@@ -565,14 +847,18 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
565
847
  return requestContext;
566
848
  });
567
849
  }
568
- listCostGCPUsageCostConfigs(_options) {
850
+ getCostAWSCURConfig(cloudAccountId, _options) {
569
851
  return __awaiter(this, void 0, void 0, function* () {
570
852
  const _config = _options || this.configuration;
853
+ // verify required parameter 'cloudAccountId' is not null or undefined
854
+ if (cloudAccountId === null || cloudAccountId === undefined) {
855
+ throw new baseapi_1.RequiredError("cloudAccountId", "getCostAWSCURConfig");
856
+ }
571
857
  // Path Params
572
- const localVarPath = "/api/v2/cost/gcp_uc_config";
858
+ const localVarPath = "/api/v2/cost/aws_cur_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
573
859
  // Make Request Context
574
860
  const requestContext = _config
575
- .getServer("v2.CloudCostManagementApi.listCostGCPUsageCostConfigs")
861
+ .getServer("v2.CloudCostManagementApi.getCostAWSCURConfig")
576
862
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
577
863
  requestContext.setHeaderParam("Accept", "application/json");
578
864
  requestContext.setHttpConfig(_config.httpConfig);
@@ -585,14 +871,18 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
585
871
  return requestContext;
586
872
  });
587
873
  }
588
- listCustomAllocationRules(_options) {
874
+ getCostAzureUCConfig(cloudAccountId, _options) {
589
875
  return __awaiter(this, void 0, void 0, function* () {
590
876
  const _config = _options || this.configuration;
877
+ // verify required parameter 'cloudAccountId' is not null or undefined
878
+ if (cloudAccountId === null || cloudAccountId === undefined) {
879
+ throw new baseapi_1.RequiredError("cloudAccountId", "getCostAzureUCConfig");
880
+ }
591
881
  // Path Params
592
- const localVarPath = "/api/v2/cost/arbitrary_rule";
882
+ const localVarPath = "/api/v2/cost/azure_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
593
883
  // Make Request Context
594
884
  const requestContext = _config
595
- .getServer("v2.CloudCostManagementApi.listCustomAllocationRules")
885
+ .getServer("v2.CloudCostManagementApi.getCostAzureUCConfig")
596
886
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
597
887
  requestContext.setHeaderParam("Accept", "application/json");
598
888
  requestContext.setHttpConfig(_config.httpConfig);
@@ -605,36 +895,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
605
895
  return requestContext;
606
896
  });
607
897
  }
608
- listCustomCostsFiles(pageNumber, pageSize, filterStatus, filterName, filterProvider, sort, _options) {
898
+ getCostGCPUsageCostConfig(cloudAccountId, _options) {
609
899
  return __awaiter(this, void 0, void 0, function* () {
610
900
  const _config = _options || this.configuration;
901
+ // verify required parameter 'cloudAccountId' is not null or undefined
902
+ if (cloudAccountId === null || cloudAccountId === undefined) {
903
+ throw new baseapi_1.RequiredError("cloudAccountId", "getCostGCPUsageCostConfig");
904
+ }
611
905
  // Path Params
612
- const localVarPath = "/api/v2/cost/custom_costs";
906
+ const localVarPath = "/api/v2/cost/gcp_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
613
907
  // Make Request Context
614
908
  const requestContext = _config
615
- .getServer("v2.CloudCostManagementApi.listCustomCostsFiles")
909
+ .getServer("v2.CloudCostManagementApi.getCostGCPUsageCostConfig")
616
910
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
617
911
  requestContext.setHeaderParam("Accept", "application/json");
618
912
  requestContext.setHttpConfig(_config.httpConfig);
619
- // Query Params
620
- if (pageNumber !== undefined) {
621
- requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
622
- }
623
- if (pageSize !== undefined) {
624
- requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
625
- }
626
- if (filterStatus !== undefined) {
627
- requestContext.setQueryParam("filter[status]", ObjectSerializer_1.ObjectSerializer.serialize(filterStatus, "string", ""), "");
628
- }
629
- if (filterName !== undefined) {
630
- requestContext.setQueryParam("filter[name]", ObjectSerializer_1.ObjectSerializer.serialize(filterName, "string", ""), "");
631
- }
632
- if (filterProvider !== undefined) {
633
- requestContext.setQueryParam("filter[provider]", ObjectSerializer_1.ObjectSerializer.serialize(filterProvider, "Array<string>", ""), "multi");
634
- }
635
- if (sort !== undefined) {
636
- requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
637
- }
638
913
  // Apply auth methods
639
914
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
640
915
  "apiKeyAuth",
@@ -644,17 +919,28 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
644
919
  return requestContext;
645
920
  });
646
921
  }
647
- listTagPipelinesRulesets(_options) {
922
+ getCostTagKey(tagKey, filterMetric, pageSize, _options) {
648
923
  return __awaiter(this, void 0, void 0, function* () {
649
924
  const _config = _options || this.configuration;
925
+ // verify required parameter 'tagKey' is not null or undefined
926
+ if (tagKey === null || tagKey === undefined) {
927
+ throw new baseapi_1.RequiredError("tagKey", "getCostTagKey");
928
+ }
650
929
  // Path Params
651
- const localVarPath = "/api/v2/tags/enrichment";
930
+ const localVarPath = "/api/v2/cost/tag_keys/{tag_key}".replace("{tag_key}", encodeURIComponent(String(tagKey)));
652
931
  // Make Request Context
653
932
  const requestContext = _config
654
- .getServer("v2.CloudCostManagementApi.listTagPipelinesRulesets")
933
+ .getServer("v2.CloudCostManagementApi.getCostTagKey")
655
934
  .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
656
935
  requestContext.setHeaderParam("Accept", "application/json");
657
936
  requestContext.setHttpConfig(_config.httpConfig);
937
+ // Query Params
938
+ if (filterMetric !== undefined) {
939
+ requestContext.setQueryParam("filter[metric]", ObjectSerializer_1.ObjectSerializer.serialize(filterMetric, "string", ""), "");
940
+ }
941
+ if (pageSize !== undefined) {
942
+ requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int32"), "");
943
+ }
658
944
  // Apply auth methods
659
945
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
660
946
  "apiKeyAuth",
@@ -664,28 +950,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
664
950
  return requestContext;
665
951
  });
666
952
  }
667
- reorderCustomAllocationRules(body, _options) {
953
+ getCustomAllocationRule(ruleId, _options) {
668
954
  return __awaiter(this, void 0, void 0, function* () {
669
955
  const _config = _options || this.configuration;
670
- // verify required parameter 'body' is not null or undefined
671
- if (body === null || body === undefined) {
672
- throw new baseapi_1.RequiredError("body", "reorderCustomAllocationRules");
956
+ // verify required parameter 'ruleId' is not null or undefined
957
+ if (ruleId === null || ruleId === undefined) {
958
+ throw new baseapi_1.RequiredError("ruleId", "getCustomAllocationRule");
673
959
  }
674
960
  // Path Params
675
- const localVarPath = "/api/v2/cost/arbitrary_rule/reorder";
961
+ const localVarPath = "/api/v2/cost/arbitrary_rule/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
676
962
  // Make Request Context
677
963
  const requestContext = _config
678
- .getServer("v2.CloudCostManagementApi.reorderCustomAllocationRules")
679
- .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
680
- requestContext.setHeaderParam("Accept", "*/*");
964
+ .getServer("v2.CloudCostManagementApi.getCustomAllocationRule")
965
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
966
+ requestContext.setHeaderParam("Accept", "application/json");
681
967
  requestContext.setHttpConfig(_config.httpConfig);
682
- // Body Params
683
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
684
- "application/json",
685
- ]);
686
- requestContext.setHeaderParam("Content-Type", contentType);
687
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRuleResourceArray", ""), contentType);
688
- requestContext.setBody(serializedBody);
689
968
  // Apply auth methods
690
969
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
691
970
  "apiKeyAuth",
@@ -695,28 +974,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
695
974
  return requestContext;
696
975
  });
697
976
  }
698
- reorderTagPipelinesRulesets(body, _options) {
977
+ getCustomCostsFile(fileId, _options) {
699
978
  return __awaiter(this, void 0, void 0, function* () {
700
979
  const _config = _options || this.configuration;
701
- // verify required parameter 'body' is not null or undefined
702
- if (body === null || body === undefined) {
703
- throw new baseapi_1.RequiredError("body", "reorderTagPipelinesRulesets");
980
+ // verify required parameter 'fileId' is not null or undefined
981
+ if (fileId === null || fileId === undefined) {
982
+ throw new baseapi_1.RequiredError("fileId", "getCustomCostsFile");
704
983
  }
705
984
  // Path Params
706
- const localVarPath = "/api/v2/tags/enrichment/reorder";
985
+ const localVarPath = "/api/v2/cost/custom_costs/{file_id}".replace("{file_id}", encodeURIComponent(String(fileId)));
707
986
  // Make Request Context
708
987
  const requestContext = _config
709
- .getServer("v2.CloudCostManagementApi.reorderTagPipelinesRulesets")
710
- .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
711
- requestContext.setHeaderParam("Accept", "*/*");
988
+ .getServer("v2.CloudCostManagementApi.getCustomCostsFile")
989
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
990
+ requestContext.setHeaderParam("Accept", "application/json");
712
991
  requestContext.setHttpConfig(_config.httpConfig);
713
- // Body Params
714
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
715
- "application/json",
716
- ]);
717
- requestContext.setHeaderParam("Content-Type", contentType);
718
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRulesetResourceArray", ""), contentType);
719
- requestContext.setBody(serializedBody);
720
992
  // Apply auth methods
721
993
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
722
994
  "apiKeyAuth",
@@ -726,32 +998,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
726
998
  return requestContext;
727
999
  });
728
1000
  }
729
- updateCostAWSCURConfig(cloudAccountId, body, _options) {
1001
+ getTagPipelinesRuleset(rulesetId, _options) {
730
1002
  return __awaiter(this, void 0, void 0, function* () {
731
1003
  const _config = _options || this.configuration;
732
- // verify required parameter 'cloudAccountId' is not null or undefined
733
- if (cloudAccountId === null || cloudAccountId === undefined) {
734
- throw new baseapi_1.RequiredError("cloudAccountId", "updateCostAWSCURConfig");
735
- }
736
- // verify required parameter 'body' is not null or undefined
737
- if (body === null || body === undefined) {
738
- throw new baseapi_1.RequiredError("body", "updateCostAWSCURConfig");
1004
+ // verify required parameter 'rulesetId' is not null or undefined
1005
+ if (rulesetId === null || rulesetId === undefined) {
1006
+ throw new baseapi_1.RequiredError("rulesetId", "getTagPipelinesRuleset");
739
1007
  }
740
1008
  // Path Params
741
- const localVarPath = "/api/v2/cost/aws_cur_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
1009
+ const localVarPath = "/api/v2/tags/enrichment/{ruleset_id}".replace("{ruleset_id}", encodeURIComponent(String(rulesetId)));
742
1010
  // Make Request Context
743
1011
  const requestContext = _config
744
- .getServer("v2.CloudCostManagementApi.updateCostAWSCURConfig")
745
- .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1012
+ .getServer("v2.CloudCostManagementApi.getTagPipelinesRuleset")
1013
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
746
1014
  requestContext.setHeaderParam("Accept", "application/json");
747
1015
  requestContext.setHttpConfig(_config.httpConfig);
748
- // Body Params
749
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
750
- "application/json",
751
- ]);
752
- requestContext.setHeaderParam("Content-Type", contentType);
753
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AwsCURConfigPatchRequest", ""), contentType);
754
- requestContext.setBody(serializedBody);
755
1016
  // Apply auth methods
756
1017
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
757
1018
  "apiKeyAuth",
@@ -761,67 +1022,74 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
761
1022
  return requestContext;
762
1023
  });
763
1024
  }
764
- updateCostAzureUCConfigs(cloudAccountId, body, _options) {
1025
+ listBudgets(_options) {
765
1026
  return __awaiter(this, void 0, void 0, function* () {
766
1027
  const _config = _options || this.configuration;
767
- // verify required parameter 'cloudAccountId' is not null or undefined
768
- if (cloudAccountId === null || cloudAccountId === undefined) {
769
- throw new baseapi_1.RequiredError("cloudAccountId", "updateCostAzureUCConfigs");
770
- }
771
- // verify required parameter 'body' is not null or undefined
772
- if (body === null || body === undefined) {
773
- throw new baseapi_1.RequiredError("body", "updateCostAzureUCConfigs");
774
- }
775
1028
  // Path Params
776
- const localVarPath = "/api/v2/cost/azure_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
1029
+ const localVarPath = "/api/v2/cost/budgets";
777
1030
  // Make Request Context
778
1031
  const requestContext = _config
779
- .getServer("v2.CloudCostManagementApi.updateCostAzureUCConfigs")
780
- .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1032
+ .getServer("v2.CloudCostManagementApi.listBudgets")
1033
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
781
1034
  requestContext.setHeaderParam("Accept", "application/json");
782
1035
  requestContext.setHttpConfig(_config.httpConfig);
783
- // Body Params
784
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
785
- "application/json",
786
- ]);
787
- requestContext.setHeaderParam("Content-Type", contentType);
788
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureUCConfigPatchRequest", ""), contentType);
789
- requestContext.setBody(serializedBody);
790
1036
  // Apply auth methods
791
1037
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
792
1038
  "apiKeyAuth",
793
1039
  "appKeyAuth",
794
- "AuthZ",
795
1040
  ]);
796
1041
  return requestContext;
797
1042
  });
798
1043
  }
799
- updateCostGCPUsageCostConfig(cloudAccountId, body, _options) {
1044
+ listCostAnomalies(start, end, filter, minAnomalousThreshold, minCostThreshold, dismissalCause, orderBy, order, limit, offset, providerIds, _options) {
800
1045
  return __awaiter(this, void 0, void 0, function* () {
801
1046
  const _config = _options || this.configuration;
802
- // verify required parameter 'cloudAccountId' is not null or undefined
803
- if (cloudAccountId === null || cloudAccountId === undefined) {
804
- throw new baseapi_1.RequiredError("cloudAccountId", "updateCostGCPUsageCostConfig");
805
- }
806
- // verify required parameter 'body' is not null or undefined
807
- if (body === null || body === undefined) {
808
- throw new baseapi_1.RequiredError("body", "updateCostGCPUsageCostConfig");
1047
+ logger_1.logger.warn("Using unstable operation 'listCostAnomalies'");
1048
+ if (!_config.unstableOperations["v2.listCostAnomalies"]) {
1049
+ throw new Error("Unstable operation 'listCostAnomalies' is disabled");
809
1050
  }
810
1051
  // Path Params
811
- const localVarPath = "/api/v2/cost/gcp_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
1052
+ const localVarPath = "/api/v2/cost/anomalies";
812
1053
  // Make Request Context
813
1054
  const requestContext = _config
814
- .getServer("v2.CloudCostManagementApi.updateCostGCPUsageCostConfig")
815
- .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1055
+ .getServer("v2.CloudCostManagementApi.listCostAnomalies")
1056
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
816
1057
  requestContext.setHeaderParam("Accept", "application/json");
817
1058
  requestContext.setHttpConfig(_config.httpConfig);
818
- // Body Params
819
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
820
- "application/json",
821
- ]);
822
- requestContext.setHeaderParam("Content-Type", contentType);
823
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPUsageCostConfigPatchRequest", ""), contentType);
824
- requestContext.setBody(serializedBody);
1059
+ // Query Params
1060
+ if (start !== undefined) {
1061
+ requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
1062
+ }
1063
+ if (end !== undefined) {
1064
+ requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
1065
+ }
1066
+ if (filter !== undefined) {
1067
+ requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", ""), "");
1068
+ }
1069
+ if (minAnomalousThreshold !== undefined) {
1070
+ requestContext.setQueryParam("min_anomalous_threshold", ObjectSerializer_1.ObjectSerializer.serialize(minAnomalousThreshold, "string", ""), "");
1071
+ }
1072
+ if (minCostThreshold !== undefined) {
1073
+ requestContext.setQueryParam("min_cost_threshold", ObjectSerializer_1.ObjectSerializer.serialize(minCostThreshold, "string", ""), "");
1074
+ }
1075
+ if (dismissalCause !== undefined) {
1076
+ requestContext.setQueryParam("dismissal_cause", ObjectSerializer_1.ObjectSerializer.serialize(dismissalCause, "string", ""), "");
1077
+ }
1078
+ if (orderBy !== undefined) {
1079
+ requestContext.setQueryParam("order_by", ObjectSerializer_1.ObjectSerializer.serialize(orderBy, "string", ""), "");
1080
+ }
1081
+ if (order !== undefined) {
1082
+ requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "string", ""), "");
1083
+ }
1084
+ if (limit !== undefined) {
1085
+ requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""), "");
1086
+ }
1087
+ if (offset !== undefined) {
1088
+ requestContext.setQueryParam("offset", ObjectSerializer_1.ObjectSerializer.serialize(offset, "number", ""), "");
1089
+ }
1090
+ if (providerIds !== undefined) {
1091
+ requestContext.setQueryParam("provider_ids", ObjectSerializer_1.ObjectSerializer.serialize(providerIds, "Array<string>", ""), "multi");
1092
+ }
825
1093
  // Apply auth methods
826
1094
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
827
1095
  "apiKeyAuth",
@@ -831,32 +1099,17 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
831
1099
  return requestContext;
832
1100
  });
833
1101
  }
834
- updateCustomAllocationRule(ruleId, body, _options) {
1102
+ listCostAWSCURConfigs(_options) {
835
1103
  return __awaiter(this, void 0, void 0, function* () {
836
1104
  const _config = _options || this.configuration;
837
- // verify required parameter 'ruleId' is not null or undefined
838
- if (ruleId === null || ruleId === undefined) {
839
- throw new baseapi_1.RequiredError("ruleId", "updateCustomAllocationRule");
840
- }
841
- // verify required parameter 'body' is not null or undefined
842
- if (body === null || body === undefined) {
843
- throw new baseapi_1.RequiredError("body", "updateCustomAllocationRule");
844
- }
845
1105
  // Path Params
846
- const localVarPath = "/api/v2/cost/arbitrary_rule/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
1106
+ const localVarPath = "/api/v2/cost/aws_cur_config";
847
1107
  // Make Request Context
848
1108
  const requestContext = _config
849
- .getServer("v2.CloudCostManagementApi.updateCustomAllocationRule")
850
- .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1109
+ .getServer("v2.CloudCostManagementApi.listCostAWSCURConfigs")
1110
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
851
1111
  requestContext.setHeaderParam("Accept", "application/json");
852
1112
  requestContext.setHttpConfig(_config.httpConfig);
853
- // Body Params
854
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
855
- "application/json",
856
- ]);
857
- requestContext.setHeaderParam("Content-Type", contentType);
858
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ArbitraryCostUpsertRequest", ""), contentType);
859
- requestContext.setBody(serializedBody);
860
1113
  // Apply auth methods
861
1114
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
862
1115
  "apiKeyAuth",
@@ -866,32 +1119,17 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
866
1119
  return requestContext;
867
1120
  });
868
1121
  }
869
- updateTagPipelinesRuleset(rulesetId, body, _options) {
1122
+ listCostAzureUCConfigs(_options) {
870
1123
  return __awaiter(this, void 0, void 0, function* () {
871
1124
  const _config = _options || this.configuration;
872
- // verify required parameter 'rulesetId' is not null or undefined
873
- if (rulesetId === null || rulesetId === undefined) {
874
- throw new baseapi_1.RequiredError("rulesetId", "updateTagPipelinesRuleset");
875
- }
876
- // verify required parameter 'body' is not null or undefined
877
- if (body === null || body === undefined) {
878
- throw new baseapi_1.RequiredError("body", "updateTagPipelinesRuleset");
879
- }
880
1125
  // Path Params
881
- const localVarPath = "/api/v2/tags/enrichment/{ruleset_id}".replace("{ruleset_id}", encodeURIComponent(String(rulesetId)));
1126
+ const localVarPath = "/api/v2/cost/azure_uc_config";
882
1127
  // Make Request Context
883
1128
  const requestContext = _config
884
- .getServer("v2.CloudCostManagementApi.updateTagPipelinesRuleset")
885
- .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1129
+ .getServer("v2.CloudCostManagementApi.listCostAzureUCConfigs")
1130
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
886
1131
  requestContext.setHeaderParam("Accept", "application/json");
887
1132
  requestContext.setHttpConfig(_config.httpConfig);
888
- // Body Params
889
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
890
- "application/json",
891
- ]);
892
- requestContext.setHeaderParam("Content-Type", contentType);
893
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UpdateRulesetRequest", ""), contentType);
894
- requestContext.setBody(serializedBody);
895
1133
  // Apply auth methods
896
1134
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
897
1135
  "apiKeyAuth",
@@ -901,28 +1139,17 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
901
1139
  return requestContext;
902
1140
  });
903
1141
  }
904
- uploadCustomCostsFile(body, _options) {
1142
+ listCostGCPUsageCostConfigs(_options) {
905
1143
  return __awaiter(this, void 0, void 0, function* () {
906
1144
  const _config = _options || this.configuration;
907
- // verify required parameter 'body' is not null or undefined
908
- if (body === null || body === undefined) {
909
- throw new baseapi_1.RequiredError("body", "uploadCustomCostsFile");
910
- }
911
1145
  // Path Params
912
- const localVarPath = "/api/v2/cost/custom_costs";
1146
+ const localVarPath = "/api/v2/cost/gcp_uc_config";
913
1147
  // Make Request Context
914
1148
  const requestContext = _config
915
- .getServer("v2.CloudCostManagementApi.uploadCustomCostsFile")
916
- .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
1149
+ .getServer("v2.CloudCostManagementApi.listCostGCPUsageCostConfigs")
1150
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
917
1151
  requestContext.setHeaderParam("Accept", "application/json");
918
1152
  requestContext.setHttpConfig(_config.httpConfig);
919
- // Body Params
920
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
921
- "application/json",
922
- ]);
923
- requestContext.setHeaderParam("Content-Type", contentType);
924
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array<CustomCostsFileLineItem>", ""), contentType);
925
- requestContext.setBody(serializedBody);
926
1153
  // Apply auth methods
927
1154
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
928
1155
  "apiKeyAuth",
@@ -932,102 +1159,144 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
932
1159
  return requestContext;
933
1160
  });
934
1161
  }
935
- upsertBudget(body, _options) {
1162
+ listCostOCIConfigs(_options) {
936
1163
  return __awaiter(this, void 0, void 0, function* () {
937
1164
  const _config = _options || this.configuration;
938
- // verify required parameter 'body' is not null or undefined
939
- if (body === null || body === undefined) {
940
- throw new baseapi_1.RequiredError("body", "upsertBudget");
941
- }
942
1165
  // Path Params
943
- const localVarPath = "/api/v2/cost/budget";
1166
+ const localVarPath = "/api/v2/cost/oci_config";
944
1167
  // Make Request Context
945
1168
  const requestContext = _config
946
- .getServer("v2.CloudCostManagementApi.upsertBudget")
947
- .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
1169
+ .getServer("v2.CloudCostManagementApi.listCostOCIConfigs")
1170
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
948
1171
  requestContext.setHeaderParam("Accept", "application/json");
949
1172
  requestContext.setHttpConfig(_config.httpConfig);
950
- // Body Params
951
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
952
- "application/json",
953
- ]);
954
- requestContext.setHeaderParam("Content-Type", contentType);
955
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BudgetWithEntries", ""), contentType);
956
- requestContext.setBody(serializedBody);
957
1173
  // Apply auth methods
958
1174
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
959
1175
  "apiKeyAuth",
960
1176
  "appKeyAuth",
1177
+ "AuthZ",
961
1178
  ]);
962
1179
  return requestContext;
963
1180
  });
964
1181
  }
965
- validateBudget(body, _options) {
1182
+ listCostTagDescriptions(filterCloud, _options) {
966
1183
  return __awaiter(this, void 0, void 0, function* () {
967
1184
  const _config = _options || this.configuration;
968
- // verify required parameter 'body' is not null or undefined
969
- if (body === null || body === undefined) {
970
- throw new baseapi_1.RequiredError("body", "validateBudget");
971
- }
972
1185
  // Path Params
973
- const localVarPath = "/api/v2/cost/budget/validate";
1186
+ const localVarPath = "/api/v2/cost/tag_descriptions";
974
1187
  // Make Request Context
975
1188
  const requestContext = _config
976
- .getServer("v2.CloudCostManagementApi.validateBudget")
977
- .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1189
+ .getServer("v2.CloudCostManagementApi.listCostTagDescriptions")
1190
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
978
1191
  requestContext.setHeaderParam("Accept", "application/json");
979
1192
  requestContext.setHttpConfig(_config.httpConfig);
980
- // Body Params
981
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
982
- "application/json",
983
- ]);
984
- requestContext.setHeaderParam("Content-Type", contentType);
985
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BudgetValidationRequest", ""), contentType);
986
- requestContext.setBody(serializedBody);
1193
+ // Query Params
1194
+ if (filterCloud !== undefined) {
1195
+ requestContext.setQueryParam("filter[cloud]", ObjectSerializer_1.ObjectSerializer.serialize(filterCloud, "string", ""), "");
1196
+ }
987
1197
  // Apply auth methods
988
1198
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
989
1199
  "apiKeyAuth",
990
1200
  "appKeyAuth",
1201
+ "AuthZ",
991
1202
  ]);
992
1203
  return requestContext;
993
1204
  });
994
1205
  }
995
- validateCsvBudget(_options) {
1206
+ listCostTagKeys(filterMetric, filterTags, _options) {
996
1207
  return __awaiter(this, void 0, void 0, function* () {
997
1208
  const _config = _options || this.configuration;
998
1209
  // Path Params
999
- const localVarPath = "/api/v2/cost/budget/csv/validate";
1210
+ const localVarPath = "/api/v2/cost/tag_keys";
1000
1211
  // Make Request Context
1001
1212
  const requestContext = _config
1002
- .getServer("v2.CloudCostManagementApi.validateCsvBudget")
1003
- .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1213
+ .getServer("v2.CloudCostManagementApi.listCostTagKeys")
1214
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1004
1215
  requestContext.setHeaderParam("Accept", "application/json");
1005
1216
  requestContext.setHttpConfig(_config.httpConfig);
1217
+ // Query Params
1218
+ if (filterMetric !== undefined) {
1219
+ requestContext.setQueryParam("filter[metric]", ObjectSerializer_1.ObjectSerializer.serialize(filterMetric, "string", ""), "");
1220
+ }
1221
+ if (filterTags !== undefined) {
1222
+ requestContext.setQueryParam("filter[tags]", ObjectSerializer_1.ObjectSerializer.serialize(filterTags, "Array<string>", ""), "multi");
1223
+ }
1224
+ // Apply auth methods
1225
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1226
+ "apiKeyAuth",
1227
+ "appKeyAuth",
1228
+ "AuthZ",
1229
+ ]);
1006
1230
  return requestContext;
1007
1231
  });
1008
1232
  }
1009
- validateQuery(body, _options) {
1233
+ listCostTags(filterMetric, filterMatch, filterTags, filterTagKeys, pageSize, _options) {
1010
1234
  return __awaiter(this, void 0, void 0, function* () {
1011
1235
  const _config = _options || this.configuration;
1012
- // verify required parameter 'body' is not null or undefined
1013
- if (body === null || body === undefined) {
1014
- throw new baseapi_1.RequiredError("body", "validateQuery");
1236
+ // Path Params
1237
+ const localVarPath = "/api/v2/cost/tags";
1238
+ // Make Request Context
1239
+ const requestContext = _config
1240
+ .getServer("v2.CloudCostManagementApi.listCostTags")
1241
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1242
+ requestContext.setHeaderParam("Accept", "application/json");
1243
+ requestContext.setHttpConfig(_config.httpConfig);
1244
+ // Query Params
1245
+ if (filterMetric !== undefined) {
1246
+ requestContext.setQueryParam("filter[metric]", ObjectSerializer_1.ObjectSerializer.serialize(filterMetric, "string", ""), "");
1247
+ }
1248
+ if (filterMatch !== undefined) {
1249
+ requestContext.setQueryParam("filter[match]", ObjectSerializer_1.ObjectSerializer.serialize(filterMatch, "string", ""), "");
1250
+ }
1251
+ if (filterTags !== undefined) {
1252
+ requestContext.setQueryParam("filter[tags]", ObjectSerializer_1.ObjectSerializer.serialize(filterTags, "Array<string>", ""), "multi");
1015
1253
  }
1254
+ if (filterTagKeys !== undefined) {
1255
+ requestContext.setQueryParam("filter[tag_keys]", ObjectSerializer_1.ObjectSerializer.serialize(filterTagKeys, "Array<string>", ""), "multi");
1256
+ }
1257
+ if (pageSize !== undefined) {
1258
+ requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int32"), "");
1259
+ }
1260
+ // Apply auth methods
1261
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1262
+ "apiKeyAuth",
1263
+ "appKeyAuth",
1264
+ "AuthZ",
1265
+ ]);
1266
+ return requestContext;
1267
+ });
1268
+ }
1269
+ listCustomAllocationRules(_options) {
1270
+ return __awaiter(this, void 0, void 0, function* () {
1271
+ const _config = _options || this.configuration;
1016
1272
  // Path Params
1017
- const localVarPath = "/api/v2/tags/enrichment/validate-query";
1273
+ const localVarPath = "/api/v2/cost/arbitrary_rule";
1018
1274
  // Make Request Context
1019
1275
  const requestContext = _config
1020
- .getServer("v2.CloudCostManagementApi.validateQuery")
1021
- .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1276
+ .getServer("v2.CloudCostManagementApi.listCustomAllocationRules")
1277
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1022
1278
  requestContext.setHeaderParam("Accept", "application/json");
1023
1279
  requestContext.setHttpConfig(_config.httpConfig);
1024
- // Body Params
1025
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1026
- "application/json",
1280
+ // Apply auth methods
1281
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1282
+ "apiKeyAuth",
1283
+ "appKeyAuth",
1284
+ "AuthZ",
1027
1285
  ]);
1028
- requestContext.setHeaderParam("Content-Type", contentType);
1029
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RulesValidateQueryRequest", ""), contentType);
1030
- requestContext.setBody(serializedBody);
1286
+ return requestContext;
1287
+ });
1288
+ }
1289
+ listCustomAllocationRulesStatus(_options) {
1290
+ return __awaiter(this, void 0, void 0, function* () {
1291
+ const _config = _options || this.configuration;
1292
+ // Path Params
1293
+ const localVarPath = "/api/v2/cost/arbitrary_rule/status";
1294
+ // Make Request Context
1295
+ const requestContext = _config
1296
+ .getServer("v2.CloudCostManagementApi.listCustomAllocationRulesStatus")
1297
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1298
+ requestContext.setHeaderParam("Accept", "application/json");
1299
+ requestContext.setHttpConfig(_config.httpConfig);
1031
1300
  // Apply auth methods
1032
1301
  (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1033
1302
  "apiKeyAuth",
@@ -1037,26 +1306,1084 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
1037
1306
  return requestContext;
1038
1307
  });
1039
1308
  }
1040
- }
1041
- exports.CloudCostManagementApiRequestFactory = CloudCostManagementApiRequestFactory;
1042
- class CloudCostManagementApiResponseProcessor {
1309
+ listCustomCostsFiles(pageNumber, pageSize, filterStatus, filterName, filterProvider, sort, _options) {
1310
+ return __awaiter(this, void 0, void 0, function* () {
1311
+ const _config = _options || this.configuration;
1312
+ // Path Params
1313
+ const localVarPath = "/api/v2/cost/custom_costs";
1314
+ // Make Request Context
1315
+ const requestContext = _config
1316
+ .getServer("v2.CloudCostManagementApi.listCustomCostsFiles")
1317
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1318
+ requestContext.setHeaderParam("Accept", "application/json");
1319
+ requestContext.setHttpConfig(_config.httpConfig);
1320
+ // Query Params
1321
+ if (pageNumber !== undefined) {
1322
+ requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
1323
+ }
1324
+ if (pageSize !== undefined) {
1325
+ requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
1326
+ }
1327
+ if (filterStatus !== undefined) {
1328
+ requestContext.setQueryParam("filter[status]", ObjectSerializer_1.ObjectSerializer.serialize(filterStatus, "string", ""), "");
1329
+ }
1330
+ if (filterName !== undefined) {
1331
+ requestContext.setQueryParam("filter[name]", ObjectSerializer_1.ObjectSerializer.serialize(filterName, "string", ""), "");
1332
+ }
1333
+ if (filterProvider !== undefined) {
1334
+ requestContext.setQueryParam("filter[provider]", ObjectSerializer_1.ObjectSerializer.serialize(filterProvider, "Array<string>", ""), "multi");
1335
+ }
1336
+ if (sort !== undefined) {
1337
+ requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
1338
+ }
1339
+ // Apply auth methods
1340
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1341
+ "apiKeyAuth",
1342
+ "appKeyAuth",
1343
+ "AuthZ",
1344
+ ]);
1345
+ return requestContext;
1346
+ });
1347
+ }
1348
+ listTagPipelinesRulesets(_options) {
1349
+ return __awaiter(this, void 0, void 0, function* () {
1350
+ const _config = _options || this.configuration;
1351
+ // Path Params
1352
+ const localVarPath = "/api/v2/tags/enrichment";
1353
+ // Make Request Context
1354
+ const requestContext = _config
1355
+ .getServer("v2.CloudCostManagementApi.listTagPipelinesRulesets")
1356
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1357
+ requestContext.setHeaderParam("Accept", "application/json");
1358
+ requestContext.setHttpConfig(_config.httpConfig);
1359
+ // Apply auth methods
1360
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1361
+ "apiKeyAuth",
1362
+ "appKeyAuth",
1363
+ "AuthZ",
1364
+ ]);
1365
+ return requestContext;
1366
+ });
1367
+ }
1368
+ listTagPipelinesRulesetsStatus(_options) {
1369
+ return __awaiter(this, void 0, void 0, function* () {
1370
+ const _config = _options || this.configuration;
1371
+ // Path Params
1372
+ const localVarPath = "/api/v2/tags/enrichment/status";
1373
+ // Make Request Context
1374
+ const requestContext = _config
1375
+ .getServer("v2.CloudCostManagementApi.listTagPipelinesRulesetsStatus")
1376
+ .makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1377
+ requestContext.setHeaderParam("Accept", "application/json");
1378
+ requestContext.setHttpConfig(_config.httpConfig);
1379
+ // Apply auth methods
1380
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1381
+ "apiKeyAuth",
1382
+ "appKeyAuth",
1383
+ "AuthZ",
1384
+ ]);
1385
+ return requestContext;
1386
+ });
1387
+ }
1388
+ reorderCustomAllocationRules(body, _options) {
1389
+ return __awaiter(this, void 0, void 0, function* () {
1390
+ const _config = _options || this.configuration;
1391
+ // verify required parameter 'body' is not null or undefined
1392
+ if (body === null || body === undefined) {
1393
+ throw new baseapi_1.RequiredError("body", "reorderCustomAllocationRules");
1394
+ }
1395
+ // Path Params
1396
+ const localVarPath = "/api/v2/cost/arbitrary_rule/reorder";
1397
+ // Make Request Context
1398
+ const requestContext = _config
1399
+ .getServer("v2.CloudCostManagementApi.reorderCustomAllocationRules")
1400
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1401
+ requestContext.setHeaderParam("Accept", "*/*");
1402
+ requestContext.setHttpConfig(_config.httpConfig);
1403
+ // Body Params
1404
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1405
+ "application/json",
1406
+ ]);
1407
+ requestContext.setHeaderParam("Content-Type", contentType);
1408
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRuleResourceArray", ""), contentType);
1409
+ requestContext.setBody(serializedBody);
1410
+ // Apply auth methods
1411
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1412
+ "apiKeyAuth",
1413
+ "appKeyAuth",
1414
+ "AuthZ",
1415
+ ]);
1416
+ return requestContext;
1417
+ });
1418
+ }
1419
+ reorderTagPipelinesRulesets(body, _options) {
1420
+ return __awaiter(this, void 0, void 0, function* () {
1421
+ const _config = _options || this.configuration;
1422
+ // verify required parameter 'body' is not null or undefined
1423
+ if (body === null || body === undefined) {
1424
+ throw new baseapi_1.RequiredError("body", "reorderTagPipelinesRulesets");
1425
+ }
1426
+ // Path Params
1427
+ const localVarPath = "/api/v2/tags/enrichment/reorder";
1428
+ // Make Request Context
1429
+ const requestContext = _config
1430
+ .getServer("v2.CloudCostManagementApi.reorderTagPipelinesRulesets")
1431
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1432
+ requestContext.setHeaderParam("Accept", "*/*");
1433
+ requestContext.setHttpConfig(_config.httpConfig);
1434
+ // Body Params
1435
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1436
+ "application/json",
1437
+ ]);
1438
+ requestContext.setHeaderParam("Content-Type", contentType);
1439
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRulesetResourceArray", ""), contentType);
1440
+ requestContext.setBody(serializedBody);
1441
+ // Apply auth methods
1442
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1443
+ "apiKeyAuth",
1444
+ "appKeyAuth",
1445
+ "AuthZ",
1446
+ ]);
1447
+ return requestContext;
1448
+ });
1449
+ }
1450
+ updateCostAWSCURConfig(cloudAccountId, body, _options) {
1451
+ return __awaiter(this, void 0, void 0, function* () {
1452
+ const _config = _options || this.configuration;
1453
+ // verify required parameter 'cloudAccountId' is not null or undefined
1454
+ if (cloudAccountId === null || cloudAccountId === undefined) {
1455
+ throw new baseapi_1.RequiredError("cloudAccountId", "updateCostAWSCURConfig");
1456
+ }
1457
+ // verify required parameter 'body' is not null or undefined
1458
+ if (body === null || body === undefined) {
1459
+ throw new baseapi_1.RequiredError("body", "updateCostAWSCURConfig");
1460
+ }
1461
+ // Path Params
1462
+ const localVarPath = "/api/v2/cost/aws_cur_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
1463
+ // Make Request Context
1464
+ const requestContext = _config
1465
+ .getServer("v2.CloudCostManagementApi.updateCostAWSCURConfig")
1466
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1467
+ requestContext.setHeaderParam("Accept", "application/json");
1468
+ requestContext.setHttpConfig(_config.httpConfig);
1469
+ // Body Params
1470
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1471
+ "application/json",
1472
+ ]);
1473
+ requestContext.setHeaderParam("Content-Type", contentType);
1474
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AwsCURConfigPatchRequest", ""), contentType);
1475
+ requestContext.setBody(serializedBody);
1476
+ // Apply auth methods
1477
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1478
+ "apiKeyAuth",
1479
+ "appKeyAuth",
1480
+ "AuthZ",
1481
+ ]);
1482
+ return requestContext;
1483
+ });
1484
+ }
1485
+ updateCostAzureUCConfigs(cloudAccountId, body, _options) {
1486
+ return __awaiter(this, void 0, void 0, function* () {
1487
+ const _config = _options || this.configuration;
1488
+ // verify required parameter 'cloudAccountId' is not null or undefined
1489
+ if (cloudAccountId === null || cloudAccountId === undefined) {
1490
+ throw new baseapi_1.RequiredError("cloudAccountId", "updateCostAzureUCConfigs");
1491
+ }
1492
+ // verify required parameter 'body' is not null or undefined
1493
+ if (body === null || body === undefined) {
1494
+ throw new baseapi_1.RequiredError("body", "updateCostAzureUCConfigs");
1495
+ }
1496
+ // Path Params
1497
+ const localVarPath = "/api/v2/cost/azure_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
1498
+ // Make Request Context
1499
+ const requestContext = _config
1500
+ .getServer("v2.CloudCostManagementApi.updateCostAzureUCConfigs")
1501
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1502
+ requestContext.setHeaderParam("Accept", "application/json");
1503
+ requestContext.setHttpConfig(_config.httpConfig);
1504
+ // Body Params
1505
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1506
+ "application/json",
1507
+ ]);
1508
+ requestContext.setHeaderParam("Content-Type", contentType);
1509
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureUCConfigPatchRequest", ""), contentType);
1510
+ requestContext.setBody(serializedBody);
1511
+ // Apply auth methods
1512
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1513
+ "apiKeyAuth",
1514
+ "appKeyAuth",
1515
+ "AuthZ",
1516
+ ]);
1517
+ return requestContext;
1518
+ });
1519
+ }
1520
+ updateCostGCPUsageCostConfig(cloudAccountId, body, _options) {
1521
+ return __awaiter(this, void 0, void 0, function* () {
1522
+ const _config = _options || this.configuration;
1523
+ // verify required parameter 'cloudAccountId' is not null or undefined
1524
+ if (cloudAccountId === null || cloudAccountId === undefined) {
1525
+ throw new baseapi_1.RequiredError("cloudAccountId", "updateCostGCPUsageCostConfig");
1526
+ }
1527
+ // verify required parameter 'body' is not null or undefined
1528
+ if (body === null || body === undefined) {
1529
+ throw new baseapi_1.RequiredError("body", "updateCostGCPUsageCostConfig");
1530
+ }
1531
+ // Path Params
1532
+ const localVarPath = "/api/v2/cost/gcp_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
1533
+ // Make Request Context
1534
+ const requestContext = _config
1535
+ .getServer("v2.CloudCostManagementApi.updateCostGCPUsageCostConfig")
1536
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1537
+ requestContext.setHeaderParam("Accept", "application/json");
1538
+ requestContext.setHttpConfig(_config.httpConfig);
1539
+ // Body Params
1540
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1541
+ "application/json",
1542
+ ]);
1543
+ requestContext.setHeaderParam("Content-Type", contentType);
1544
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPUsageCostConfigPatchRequest", ""), contentType);
1545
+ requestContext.setBody(serializedBody);
1546
+ // Apply auth methods
1547
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1548
+ "apiKeyAuth",
1549
+ "appKeyAuth",
1550
+ "AuthZ",
1551
+ ]);
1552
+ return requestContext;
1553
+ });
1554
+ }
1555
+ updateCustomAllocationRule(ruleId, body, _options) {
1556
+ return __awaiter(this, void 0, void 0, function* () {
1557
+ const _config = _options || this.configuration;
1558
+ // verify required parameter 'ruleId' is not null or undefined
1559
+ if (ruleId === null || ruleId === undefined) {
1560
+ throw new baseapi_1.RequiredError("ruleId", "updateCustomAllocationRule");
1561
+ }
1562
+ // verify required parameter 'body' is not null or undefined
1563
+ if (body === null || body === undefined) {
1564
+ throw new baseapi_1.RequiredError("body", "updateCustomAllocationRule");
1565
+ }
1566
+ // Path Params
1567
+ const localVarPath = "/api/v2/cost/arbitrary_rule/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
1568
+ // Make Request Context
1569
+ const requestContext = _config
1570
+ .getServer("v2.CloudCostManagementApi.updateCustomAllocationRule")
1571
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1572
+ requestContext.setHeaderParam("Accept", "application/json");
1573
+ requestContext.setHttpConfig(_config.httpConfig);
1574
+ // Body Params
1575
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1576
+ "application/json",
1577
+ ]);
1578
+ requestContext.setHeaderParam("Content-Type", contentType);
1579
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ArbitraryCostUpsertRequest", ""), contentType);
1580
+ requestContext.setBody(serializedBody);
1581
+ // Apply auth methods
1582
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1583
+ "apiKeyAuth",
1584
+ "appKeyAuth",
1585
+ "AuthZ",
1586
+ ]);
1587
+ return requestContext;
1588
+ });
1589
+ }
1590
+ updateTagPipelinesRuleset(rulesetId, body, _options) {
1591
+ return __awaiter(this, void 0, void 0, function* () {
1592
+ const _config = _options || this.configuration;
1593
+ // verify required parameter 'rulesetId' is not null or undefined
1594
+ if (rulesetId === null || rulesetId === undefined) {
1595
+ throw new baseapi_1.RequiredError("rulesetId", "updateTagPipelinesRuleset");
1596
+ }
1597
+ // verify required parameter 'body' is not null or undefined
1598
+ if (body === null || body === undefined) {
1599
+ throw new baseapi_1.RequiredError("body", "updateTagPipelinesRuleset");
1600
+ }
1601
+ // Path Params
1602
+ const localVarPath = "/api/v2/tags/enrichment/{ruleset_id}".replace("{ruleset_id}", encodeURIComponent(String(rulesetId)));
1603
+ // Make Request Context
1604
+ const requestContext = _config
1605
+ .getServer("v2.CloudCostManagementApi.updateTagPipelinesRuleset")
1606
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
1607
+ requestContext.setHeaderParam("Accept", "application/json");
1608
+ requestContext.setHttpConfig(_config.httpConfig);
1609
+ // Body Params
1610
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1611
+ "application/json",
1612
+ ]);
1613
+ requestContext.setHeaderParam("Content-Type", contentType);
1614
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UpdateRulesetRequest", ""), contentType);
1615
+ requestContext.setBody(serializedBody);
1616
+ // Apply auth methods
1617
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1618
+ "apiKeyAuth",
1619
+ "appKeyAuth",
1620
+ "AuthZ",
1621
+ ]);
1622
+ return requestContext;
1623
+ });
1624
+ }
1625
+ uploadCustomCostsFile(body, _options) {
1626
+ return __awaiter(this, void 0, void 0, function* () {
1627
+ const _config = _options || this.configuration;
1628
+ // verify required parameter 'body' is not null or undefined
1629
+ if (body === null || body === undefined) {
1630
+ throw new baseapi_1.RequiredError("body", "uploadCustomCostsFile");
1631
+ }
1632
+ // Path Params
1633
+ const localVarPath = "/api/v2/cost/custom_costs";
1634
+ // Make Request Context
1635
+ const requestContext = _config
1636
+ .getServer("v2.CloudCostManagementApi.uploadCustomCostsFile")
1637
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
1638
+ requestContext.setHeaderParam("Accept", "application/json");
1639
+ requestContext.setHttpConfig(_config.httpConfig);
1640
+ // Body Params
1641
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1642
+ "application/json",
1643
+ ]);
1644
+ requestContext.setHeaderParam("Content-Type", contentType);
1645
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array<CustomCostsFileLineItem>", ""), contentType);
1646
+ requestContext.setBody(serializedBody);
1647
+ // Apply auth methods
1648
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1649
+ "apiKeyAuth",
1650
+ "appKeyAuth",
1651
+ "AuthZ",
1652
+ ]);
1653
+ return requestContext;
1654
+ });
1655
+ }
1656
+ upsertBudget(body, _options) {
1657
+ return __awaiter(this, void 0, void 0, function* () {
1658
+ const _config = _options || this.configuration;
1659
+ // verify required parameter 'body' is not null or undefined
1660
+ if (body === null || body === undefined) {
1661
+ throw new baseapi_1.RequiredError("body", "upsertBudget");
1662
+ }
1663
+ // Path Params
1664
+ const localVarPath = "/api/v2/cost/budget";
1665
+ // Make Request Context
1666
+ const requestContext = _config
1667
+ .getServer("v2.CloudCostManagementApi.upsertBudget")
1668
+ .makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
1669
+ requestContext.setHeaderParam("Accept", "application/json");
1670
+ requestContext.setHttpConfig(_config.httpConfig);
1671
+ // Body Params
1672
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1673
+ "application/json",
1674
+ ]);
1675
+ requestContext.setHeaderParam("Content-Type", contentType);
1676
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BudgetWithEntries", ""), contentType);
1677
+ requestContext.setBody(serializedBody);
1678
+ // Apply auth methods
1679
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1680
+ "apiKeyAuth",
1681
+ "appKeyAuth",
1682
+ ]);
1683
+ return requestContext;
1684
+ });
1685
+ }
1686
+ validateBudget(body, _options) {
1687
+ return __awaiter(this, void 0, void 0, function* () {
1688
+ const _config = _options || this.configuration;
1689
+ // verify required parameter 'body' is not null or undefined
1690
+ if (body === null || body === undefined) {
1691
+ throw new baseapi_1.RequiredError("body", "validateBudget");
1692
+ }
1693
+ // Path Params
1694
+ const localVarPath = "/api/v2/cost/budget/validate";
1695
+ // Make Request Context
1696
+ const requestContext = _config
1697
+ .getServer("v2.CloudCostManagementApi.validateBudget")
1698
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1699
+ requestContext.setHeaderParam("Accept", "application/json");
1700
+ requestContext.setHttpConfig(_config.httpConfig);
1701
+ // Body Params
1702
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1703
+ "application/json",
1704
+ ]);
1705
+ requestContext.setHeaderParam("Content-Type", contentType);
1706
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BudgetValidationRequest", ""), contentType);
1707
+ requestContext.setBody(serializedBody);
1708
+ // Apply auth methods
1709
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1710
+ "apiKeyAuth",
1711
+ "appKeyAuth",
1712
+ ]);
1713
+ return requestContext;
1714
+ });
1715
+ }
1716
+ validateCsvBudget(_options) {
1717
+ return __awaiter(this, void 0, void 0, function* () {
1718
+ const _config = _options || this.configuration;
1719
+ // Path Params
1720
+ const localVarPath = "/api/v2/cost/budget/csv/validate";
1721
+ // Make Request Context
1722
+ const requestContext = _config
1723
+ .getServer("v2.CloudCostManagementApi.validateCsvBudget")
1724
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1725
+ requestContext.setHeaderParam("Accept", "application/json");
1726
+ requestContext.setHttpConfig(_config.httpConfig);
1727
+ return requestContext;
1728
+ });
1729
+ }
1730
+ validateQuery(body, _options) {
1731
+ return __awaiter(this, void 0, void 0, function* () {
1732
+ const _config = _options || this.configuration;
1733
+ // verify required parameter 'body' is not null or undefined
1734
+ if (body === null || body === undefined) {
1735
+ throw new baseapi_1.RequiredError("body", "validateQuery");
1736
+ }
1737
+ // Path Params
1738
+ const localVarPath = "/api/v2/tags/enrichment/validate-query";
1739
+ // Make Request Context
1740
+ const requestContext = _config
1741
+ .getServer("v2.CloudCostManagementApi.validateQuery")
1742
+ .makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1743
+ requestContext.setHeaderParam("Accept", "application/json");
1744
+ requestContext.setHttpConfig(_config.httpConfig);
1745
+ // Body Params
1746
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1747
+ "application/json",
1748
+ ]);
1749
+ requestContext.setHeaderParam("Content-Type", contentType);
1750
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RulesValidateQueryRequest", ""), contentType);
1751
+ requestContext.setBody(serializedBody);
1752
+ // Apply auth methods
1753
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
1754
+ "apiKeyAuth",
1755
+ "appKeyAuth",
1756
+ "AuthZ",
1757
+ ]);
1758
+ return requestContext;
1759
+ });
1760
+ }
1761
+ }
1762
+ exports.CloudCostManagementApiRequestFactory = CloudCostManagementApiRequestFactory;
1763
+ class CloudCostManagementApiResponseProcessor {
1764
+ /**
1765
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1766
+ * to the expected objects
1767
+ *
1768
+ * @params response Response returned by the server for a request to createCostAWSCURConfig
1769
+ * @throws ApiException if the response code was not in [200, 299]
1770
+ */
1771
+ createCostAWSCURConfig(response) {
1772
+ return __awaiter(this, void 0, void 0, function* () {
1773
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1774
+ if (response.httpStatusCode === 200) {
1775
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse");
1776
+ return body;
1777
+ }
1778
+ if (response.httpStatusCode === 400 ||
1779
+ response.httpStatusCode === 403 ||
1780
+ response.httpStatusCode === 429) {
1781
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1782
+ let body;
1783
+ try {
1784
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1785
+ }
1786
+ catch (error) {
1787
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1788
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1789
+ }
1790
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1791
+ }
1792
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1793
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1794
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse", "");
1795
+ return body;
1796
+ }
1797
+ const body = (yield response.body.text()) || "";
1798
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1799
+ });
1800
+ }
1801
+ /**
1802
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1803
+ * to the expected objects
1804
+ *
1805
+ * @params response Response returned by the server for a request to createCostAzureUCConfigs
1806
+ * @throws ApiException if the response code was not in [200, 299]
1807
+ */
1808
+ createCostAzureUCConfigs(response) {
1809
+ return __awaiter(this, void 0, void 0, function* () {
1810
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1811
+ if (response.httpStatusCode === 200) {
1812
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigPairsResponse");
1813
+ return body;
1814
+ }
1815
+ if (response.httpStatusCode === 400 ||
1816
+ response.httpStatusCode === 403 ||
1817
+ response.httpStatusCode === 429) {
1818
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1819
+ let body;
1820
+ try {
1821
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1822
+ }
1823
+ catch (error) {
1824
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1825
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1826
+ }
1827
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1828
+ }
1829
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1830
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1831
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigPairsResponse", "");
1832
+ return body;
1833
+ }
1834
+ const body = (yield response.body.text()) || "";
1835
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1836
+ });
1837
+ }
1838
+ /**
1839
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1840
+ * to the expected objects
1841
+ *
1842
+ * @params response Response returned by the server for a request to createCostGCPUsageCostConfig
1843
+ * @throws ApiException if the response code was not in [200, 299]
1844
+ */
1845
+ createCostGCPUsageCostConfig(response) {
1846
+ return __awaiter(this, void 0, void 0, function* () {
1847
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1848
+ if (response.httpStatusCode === 200) {
1849
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigResponse");
1850
+ return body;
1851
+ }
1852
+ if (response.httpStatusCode === 400 ||
1853
+ response.httpStatusCode === 403 ||
1854
+ response.httpStatusCode === 429) {
1855
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1856
+ let body;
1857
+ try {
1858
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1859
+ }
1860
+ catch (error) {
1861
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1862
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1863
+ }
1864
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1865
+ }
1866
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1867
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1868
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigResponse", "");
1869
+ return body;
1870
+ }
1871
+ const body = (yield response.body.text()) || "";
1872
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1873
+ });
1874
+ }
1875
+ /**
1876
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1877
+ * to the expected objects
1878
+ *
1879
+ * @params response Response returned by the server for a request to createCustomAllocationRule
1880
+ * @throws ApiException if the response code was not in [200, 299]
1881
+ */
1882
+ createCustomAllocationRule(response) {
1883
+ return __awaiter(this, void 0, void 0, function* () {
1884
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1885
+ if (response.httpStatusCode === 200) {
1886
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse");
1887
+ return body;
1888
+ }
1889
+ if (response.httpStatusCode === 429) {
1890
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1891
+ let body;
1892
+ try {
1893
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1894
+ }
1895
+ catch (error) {
1896
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1897
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1898
+ }
1899
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1900
+ }
1901
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1902
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1903
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse", "");
1904
+ return body;
1905
+ }
1906
+ const body = (yield response.body.text()) || "";
1907
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1908
+ });
1909
+ }
1910
+ /**
1911
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1912
+ * to the expected objects
1913
+ *
1914
+ * @params response Response returned by the server for a request to createTagPipelinesRuleset
1915
+ * @throws ApiException if the response code was not in [200, 299]
1916
+ */
1917
+ createTagPipelinesRuleset(response) {
1918
+ return __awaiter(this, void 0, void 0, function* () {
1919
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1920
+ if (response.httpStatusCode === 200) {
1921
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp");
1922
+ return body;
1923
+ }
1924
+ if (response.httpStatusCode === 429) {
1925
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1926
+ let body;
1927
+ try {
1928
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1929
+ }
1930
+ catch (error) {
1931
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1932
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1933
+ }
1934
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1935
+ }
1936
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1937
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1938
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp", "");
1939
+ return body;
1940
+ }
1941
+ const body = (yield response.body.text()) || "";
1942
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1943
+ });
1944
+ }
1945
+ /**
1946
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1947
+ * to the expected objects
1948
+ *
1949
+ * @params response Response returned by the server for a request to deleteBudget
1950
+ * @throws ApiException if the response code was not in [200, 299]
1951
+ */
1952
+ deleteBudget(response) {
1953
+ return __awaiter(this, void 0, void 0, function* () {
1954
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1955
+ if (response.httpStatusCode === 204) {
1956
+ return;
1957
+ }
1958
+ if (response.httpStatusCode === 429) {
1959
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1960
+ let body;
1961
+ try {
1962
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1963
+ }
1964
+ catch (error) {
1965
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
1966
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1967
+ }
1968
+ throw new exception_1.ApiException(response.httpStatusCode, body);
1969
+ }
1970
+ // Work around for missing responses in specification, e.g. for petstore.yaml
1971
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1972
+ return;
1973
+ }
1974
+ const body = (yield response.body.text()) || "";
1975
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
1976
+ });
1977
+ }
1978
+ /**
1979
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
1980
+ * to the expected objects
1981
+ *
1982
+ * @params response Response returned by the server for a request to deleteCostAWSCURConfig
1983
+ * @throws ApiException if the response code was not in [200, 299]
1984
+ */
1985
+ deleteCostAWSCURConfig(response) {
1986
+ return __awaiter(this, void 0, void 0, function* () {
1987
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1988
+ if (response.httpStatusCode === 204) {
1989
+ return;
1990
+ }
1991
+ if (response.httpStatusCode === 400 ||
1992
+ response.httpStatusCode === 404 ||
1993
+ response.httpStatusCode === 429) {
1994
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1995
+ let body;
1996
+ try {
1997
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1998
+ }
1999
+ catch (error) {
2000
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2001
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2002
+ }
2003
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2004
+ }
2005
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2006
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2007
+ return;
2008
+ }
2009
+ const body = (yield response.body.text()) || "";
2010
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2011
+ });
2012
+ }
2013
+ /**
2014
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2015
+ * to the expected objects
2016
+ *
2017
+ * @params response Response returned by the server for a request to deleteCostAzureUCConfig
2018
+ * @throws ApiException if the response code was not in [200, 299]
2019
+ */
2020
+ deleteCostAzureUCConfig(response) {
2021
+ return __awaiter(this, void 0, void 0, function* () {
2022
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2023
+ if (response.httpStatusCode === 204) {
2024
+ return;
2025
+ }
2026
+ if (response.httpStatusCode === 400 ||
2027
+ response.httpStatusCode === 404 ||
2028
+ response.httpStatusCode === 429) {
2029
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2030
+ let body;
2031
+ try {
2032
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2033
+ }
2034
+ catch (error) {
2035
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2036
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2037
+ }
2038
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2039
+ }
2040
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2041
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2042
+ return;
2043
+ }
2044
+ const body = (yield response.body.text()) || "";
2045
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2046
+ });
2047
+ }
2048
+ /**
2049
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2050
+ * to the expected objects
2051
+ *
2052
+ * @params response Response returned by the server for a request to deleteCostGCPUsageCostConfig
2053
+ * @throws ApiException if the response code was not in [200, 299]
2054
+ */
2055
+ deleteCostGCPUsageCostConfig(response) {
2056
+ return __awaiter(this, void 0, void 0, function* () {
2057
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2058
+ if (response.httpStatusCode === 204) {
2059
+ return;
2060
+ }
2061
+ if (response.httpStatusCode === 400 ||
2062
+ response.httpStatusCode === 404 ||
2063
+ response.httpStatusCode === 429) {
2064
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2065
+ let body;
2066
+ try {
2067
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2068
+ }
2069
+ catch (error) {
2070
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2071
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2072
+ }
2073
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2074
+ }
2075
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2076
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2077
+ return;
2078
+ }
2079
+ const body = (yield response.body.text()) || "";
2080
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2081
+ });
2082
+ }
2083
+ /**
2084
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2085
+ * to the expected objects
2086
+ *
2087
+ * @params response Response returned by the server for a request to deleteCustomAllocationRule
2088
+ * @throws ApiException if the response code was not in [200, 299]
2089
+ */
2090
+ deleteCustomAllocationRule(response) {
2091
+ return __awaiter(this, void 0, void 0, function* () {
2092
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2093
+ if (response.httpStatusCode === 204) {
2094
+ return;
2095
+ }
2096
+ if (response.httpStatusCode === 429) {
2097
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2098
+ let body;
2099
+ try {
2100
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2101
+ }
2102
+ catch (error) {
2103
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2104
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2105
+ }
2106
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2107
+ }
2108
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2109
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2110
+ return;
2111
+ }
2112
+ const body = (yield response.body.text()) || "";
2113
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2114
+ });
2115
+ }
2116
+ /**
2117
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2118
+ * to the expected objects
2119
+ *
2120
+ * @params response Response returned by the server for a request to deleteCustomCostsFile
2121
+ * @throws ApiException if the response code was not in [200, 299]
2122
+ */
2123
+ deleteCustomCostsFile(response) {
2124
+ return __awaiter(this, void 0, void 0, function* () {
2125
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2126
+ if (response.httpStatusCode === 204) {
2127
+ return;
2128
+ }
2129
+ if (response.httpStatusCode === 403 ||
2130
+ response.httpStatusCode === 404 ||
2131
+ response.httpStatusCode === 429) {
2132
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2133
+ let body;
2134
+ try {
2135
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2136
+ }
2137
+ catch (error) {
2138
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2139
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2140
+ }
2141
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2142
+ }
2143
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2144
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2145
+ return;
2146
+ }
2147
+ const body = (yield response.body.text()) || "";
2148
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2149
+ });
2150
+ }
2151
+ /**
2152
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2153
+ * to the expected objects
2154
+ *
2155
+ * @params response Response returned by the server for a request to deleteTagPipelinesRuleset
2156
+ * @throws ApiException if the response code was not in [200, 299]
2157
+ */
2158
+ deleteTagPipelinesRuleset(response) {
2159
+ return __awaiter(this, void 0, void 0, function* () {
2160
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2161
+ if (response.httpStatusCode === 204) {
2162
+ return;
2163
+ }
2164
+ if (response.httpStatusCode === 429) {
2165
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2166
+ let body;
2167
+ try {
2168
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2169
+ }
2170
+ catch (error) {
2171
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2172
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2173
+ }
2174
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2175
+ }
2176
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2177
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2178
+ return;
2179
+ }
2180
+ const body = (yield response.body.text()) || "";
2181
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2182
+ });
2183
+ }
2184
+ /**
2185
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2186
+ * to the expected objects
2187
+ *
2188
+ * @params response Response returned by the server for a request to getBudget
2189
+ * @throws ApiException if the response code was not in [200, 299]
2190
+ */
2191
+ getBudget(response) {
2192
+ return __awaiter(this, void 0, void 0, function* () {
2193
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2194
+ if (response.httpStatusCode === 200) {
2195
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetWithEntries");
2196
+ return body;
2197
+ }
2198
+ if (response.httpStatusCode === 429) {
2199
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2200
+ let body;
2201
+ try {
2202
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2203
+ }
2204
+ catch (error) {
2205
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2206
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2207
+ }
2208
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2209
+ }
2210
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2211
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2212
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetWithEntries", "");
2213
+ return body;
2214
+ }
2215
+ const body = (yield response.body.text()) || "";
2216
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2217
+ });
2218
+ }
2219
+ /**
2220
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2221
+ * to the expected objects
2222
+ *
2223
+ * @params response Response returned by the server for a request to getCommitmentsCommitmentList
2224
+ * @throws ApiException if the response code was not in [200, 299]
2225
+ */
2226
+ getCommitmentsCommitmentList(response) {
2227
+ return __awaiter(this, void 0, void 0, function* () {
2228
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2229
+ if (response.httpStatusCode === 200) {
2230
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsListResponse");
2231
+ return body;
2232
+ }
2233
+ if (response.httpStatusCode === 400) {
2234
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2235
+ let body;
2236
+ try {
2237
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2238
+ }
2239
+ catch (error) {
2240
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2241
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2242
+ }
2243
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2244
+ }
2245
+ if (response.httpStatusCode === 429) {
2246
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2247
+ let body;
2248
+ try {
2249
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2250
+ }
2251
+ catch (error) {
2252
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2253
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2254
+ }
2255
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2256
+ }
2257
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2258
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2259
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsListResponse", "");
2260
+ return body;
2261
+ }
2262
+ const body = (yield response.body.text()) || "";
2263
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2264
+ });
2265
+ }
2266
+ /**
2267
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2268
+ * to the expected objects
2269
+ *
2270
+ * @params response Response returned by the server for a request to getCommitmentsCoverageScalar
2271
+ * @throws ApiException if the response code was not in [200, 299]
2272
+ */
2273
+ getCommitmentsCoverageScalar(response) {
2274
+ return __awaiter(this, void 0, void 0, function* () {
2275
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2276
+ if (response.httpStatusCode === 200) {
2277
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageScalarResponse");
2278
+ return body;
2279
+ }
2280
+ if (response.httpStatusCode === 400) {
2281
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2282
+ let body;
2283
+ try {
2284
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2285
+ }
2286
+ catch (error) {
2287
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2288
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2289
+ }
2290
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2291
+ }
2292
+ if (response.httpStatusCode === 429) {
2293
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2294
+ let body;
2295
+ try {
2296
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2297
+ }
2298
+ catch (error) {
2299
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2300
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2301
+ }
2302
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2303
+ }
2304
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2305
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2306
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageScalarResponse", "");
2307
+ return body;
2308
+ }
2309
+ const body = (yield response.body.text()) || "";
2310
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2311
+ });
2312
+ }
2313
+ /**
2314
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2315
+ * to the expected objects
2316
+ *
2317
+ * @params response Response returned by the server for a request to getCommitmentsCoverageTimeseries
2318
+ * @throws ApiException if the response code was not in [200, 299]
2319
+ */
2320
+ getCommitmentsCoverageTimeseries(response) {
2321
+ return __awaiter(this, void 0, void 0, function* () {
2322
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2323
+ if (response.httpStatusCode === 200) {
2324
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageTimeseriesResponse");
2325
+ return body;
2326
+ }
2327
+ if (response.httpStatusCode === 400) {
2328
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2329
+ let body;
2330
+ try {
2331
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2332
+ }
2333
+ catch (error) {
2334
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2335
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2336
+ }
2337
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2338
+ }
2339
+ if (response.httpStatusCode === 429) {
2340
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2341
+ let body;
2342
+ try {
2343
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2344
+ }
2345
+ catch (error) {
2346
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2347
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2348
+ }
2349
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2350
+ }
2351
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2352
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2353
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageTimeseriesResponse", "");
2354
+ return body;
2355
+ }
2356
+ const body = (yield response.body.text()) || "";
2357
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2358
+ });
2359
+ }
1043
2360
  /**
1044
2361
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1045
2362
  * to the expected objects
1046
2363
  *
1047
- * @params response Response returned by the server for a request to createCostAWSCURConfig
2364
+ * @params response Response returned by the server for a request to getCommitmentsOnDemandHotspotsScalar
1048
2365
  * @throws ApiException if the response code was not in [200, 299]
1049
2366
  */
1050
- createCostAWSCURConfig(response) {
2367
+ getCommitmentsOnDemandHotspotsScalar(response) {
1051
2368
  return __awaiter(this, void 0, void 0, function* () {
1052
2369
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1053
2370
  if (response.httpStatusCode === 200) {
1054
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse");
2371
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsOnDemandHotspotsScalarResponse");
1055
2372
  return body;
1056
2373
  }
1057
- if (response.httpStatusCode === 400 ||
1058
- response.httpStatusCode === 403 ||
1059
- response.httpStatusCode === 429) {
2374
+ if (response.httpStatusCode === 400) {
2375
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2376
+ let body;
2377
+ try {
2378
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2379
+ }
2380
+ catch (error) {
2381
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2382
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2383
+ }
2384
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2385
+ }
2386
+ if (response.httpStatusCode === 429) {
1060
2387
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1061
2388
  let body;
1062
2389
  try {
@@ -1070,7 +2397,7 @@ class CloudCostManagementApiResponseProcessor {
1070
2397
  }
1071
2398
  // Work around for missing responses in specification, e.g. for petstore.yaml
1072
2399
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1073
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse", "");
2400
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsOnDemandHotspotsScalarResponse", "");
1074
2401
  return body;
1075
2402
  }
1076
2403
  const body = (yield response.body.text()) || "";
@@ -1081,19 +2408,29 @@ class CloudCostManagementApiResponseProcessor {
1081
2408
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1082
2409
  * to the expected objects
1083
2410
  *
1084
- * @params response Response returned by the server for a request to createCostAzureUCConfigs
2411
+ * @params response Response returned by the server for a request to getCommitmentsSavingsScalar
1085
2412
  * @throws ApiException if the response code was not in [200, 299]
1086
2413
  */
1087
- createCostAzureUCConfigs(response) {
2414
+ getCommitmentsSavingsScalar(response) {
1088
2415
  return __awaiter(this, void 0, void 0, function* () {
1089
2416
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1090
2417
  if (response.httpStatusCode === 200) {
1091
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigPairsResponse");
2418
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsScalarResponse");
1092
2419
  return body;
1093
2420
  }
1094
- if (response.httpStatusCode === 400 ||
1095
- response.httpStatusCode === 403 ||
1096
- response.httpStatusCode === 429) {
2421
+ if (response.httpStatusCode === 400) {
2422
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2423
+ let body;
2424
+ try {
2425
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2426
+ }
2427
+ catch (error) {
2428
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2429
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2430
+ }
2431
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2432
+ }
2433
+ if (response.httpStatusCode === 429) {
1097
2434
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1098
2435
  let body;
1099
2436
  try {
@@ -1107,7 +2444,7 @@ class CloudCostManagementApiResponseProcessor {
1107
2444
  }
1108
2445
  // Work around for missing responses in specification, e.g. for petstore.yaml
1109
2446
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1110
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigPairsResponse", "");
2447
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsScalarResponse", "");
1111
2448
  return body;
1112
2449
  }
1113
2450
  const body = (yield response.body.text()) || "";
@@ -1118,19 +2455,29 @@ class CloudCostManagementApiResponseProcessor {
1118
2455
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1119
2456
  * to the expected objects
1120
2457
  *
1121
- * @params response Response returned by the server for a request to createCostGCPUsageCostConfig
2458
+ * @params response Response returned by the server for a request to getCommitmentsSavingsTimeseries
1122
2459
  * @throws ApiException if the response code was not in [200, 299]
1123
2460
  */
1124
- createCostGCPUsageCostConfig(response) {
2461
+ getCommitmentsSavingsTimeseries(response) {
1125
2462
  return __awaiter(this, void 0, void 0, function* () {
1126
2463
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1127
2464
  if (response.httpStatusCode === 200) {
1128
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigResponse");
2465
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsTimeseriesResponse");
1129
2466
  return body;
1130
2467
  }
1131
- if (response.httpStatusCode === 400 ||
1132
- response.httpStatusCode === 403 ||
1133
- response.httpStatusCode === 429) {
2468
+ if (response.httpStatusCode === 400) {
2469
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2470
+ let body;
2471
+ try {
2472
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2473
+ }
2474
+ catch (error) {
2475
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2476
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2477
+ }
2478
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2479
+ }
2480
+ if (response.httpStatusCode === 429) {
1134
2481
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1135
2482
  let body;
1136
2483
  try {
@@ -1144,7 +2491,7 @@ class CloudCostManagementApiResponseProcessor {
1144
2491
  }
1145
2492
  // Work around for missing responses in specification, e.g. for petstore.yaml
1146
2493
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1147
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigResponse", "");
2494
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsTimeseriesResponse", "");
1148
2495
  return body;
1149
2496
  }
1150
2497
  const body = (yield response.body.text()) || "";
@@ -1155,16 +2502,28 @@ class CloudCostManagementApiResponseProcessor {
1155
2502
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1156
2503
  * to the expected objects
1157
2504
  *
1158
- * @params response Response returned by the server for a request to createCustomAllocationRule
2505
+ * @params response Response returned by the server for a request to getCommitmentsUtilizationScalar
1159
2506
  * @throws ApiException if the response code was not in [200, 299]
1160
2507
  */
1161
- createCustomAllocationRule(response) {
2508
+ getCommitmentsUtilizationScalar(response) {
1162
2509
  return __awaiter(this, void 0, void 0, function* () {
1163
2510
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1164
2511
  if (response.httpStatusCode === 200) {
1165
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse");
2512
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationScalarResponse");
1166
2513
  return body;
1167
2514
  }
2515
+ if (response.httpStatusCode === 400) {
2516
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2517
+ let body;
2518
+ try {
2519
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2520
+ }
2521
+ catch (error) {
2522
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2523
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2524
+ }
2525
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2526
+ }
1168
2527
  if (response.httpStatusCode === 429) {
1169
2528
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1170
2529
  let body;
@@ -1179,7 +2538,7 @@ class CloudCostManagementApiResponseProcessor {
1179
2538
  }
1180
2539
  // Work around for missing responses in specification, e.g. for petstore.yaml
1181
2540
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1182
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse", "");
2541
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationScalarResponse", "");
1183
2542
  return body;
1184
2543
  }
1185
2544
  const body = (yield response.body.text()) || "";
@@ -1190,16 +2549,28 @@ class CloudCostManagementApiResponseProcessor {
1190
2549
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1191
2550
  * to the expected objects
1192
2551
  *
1193
- * @params response Response returned by the server for a request to createTagPipelinesRuleset
2552
+ * @params response Response returned by the server for a request to getCommitmentsUtilizationTimeseries
1194
2553
  * @throws ApiException if the response code was not in [200, 299]
1195
2554
  */
1196
- createTagPipelinesRuleset(response) {
2555
+ getCommitmentsUtilizationTimeseries(response) {
1197
2556
  return __awaiter(this, void 0, void 0, function* () {
1198
2557
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1199
2558
  if (response.httpStatusCode === 200) {
1200
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp");
2559
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationTimeseriesResponse");
1201
2560
  return body;
1202
2561
  }
2562
+ if (response.httpStatusCode === 400) {
2563
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2564
+ let body;
2565
+ try {
2566
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
2567
+ }
2568
+ catch (error) {
2569
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2570
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2571
+ }
2572
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2573
+ }
1203
2574
  if (response.httpStatusCode === 429) {
1204
2575
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1205
2576
  let body;
@@ -1214,7 +2585,7 @@ class CloudCostManagementApiResponseProcessor {
1214
2585
  }
1215
2586
  // Work around for missing responses in specification, e.g. for petstore.yaml
1216
2587
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1217
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp", "");
2588
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationTimeseriesResponse", "");
1218
2589
  return body;
1219
2590
  }
1220
2591
  const body = (yield response.body.text()) || "";
@@ -1225,14 +2596,53 @@ class CloudCostManagementApiResponseProcessor {
1225
2596
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1226
2597
  * to the expected objects
1227
2598
  *
1228
- * @params response Response returned by the server for a request to deleteBudget
2599
+ * @params response Response returned by the server for a request to getCostAnomaly
1229
2600
  * @throws ApiException if the response code was not in [200, 299]
1230
2601
  */
1231
- deleteBudget(response) {
2602
+ getCostAnomaly(response) {
1232
2603
  return __awaiter(this, void 0, void 0, function* () {
1233
2604
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1234
- if (response.httpStatusCode === 204) {
1235
- return;
2605
+ if (response.httpStatusCode === 200) {
2606
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomalyResponse");
2607
+ return body;
2608
+ }
2609
+ if (response.httpStatusCode === 400 ||
2610
+ response.httpStatusCode === 403 ||
2611
+ response.httpStatusCode === 404 ||
2612
+ response.httpStatusCode === 429) {
2613
+ const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
2614
+ let body;
2615
+ try {
2616
+ body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2617
+ }
2618
+ catch (error) {
2619
+ logger_1.logger.debug(`Got error deserializing error: ${error}`);
2620
+ throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2621
+ }
2622
+ throw new exception_1.ApiException(response.httpStatusCode, body);
2623
+ }
2624
+ // Work around for missing responses in specification, e.g. for petstore.yaml
2625
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
2626
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomalyResponse", "");
2627
+ return body;
2628
+ }
2629
+ const body = (yield response.body.text()) || "";
2630
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
2631
+ });
2632
+ }
2633
+ /**
2634
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
2635
+ * to the expected objects
2636
+ *
2637
+ * @params response Response returned by the server for a request to getCostAWSCURConfig
2638
+ * @throws ApiException if the response code was not in [200, 299]
2639
+ */
2640
+ getCostAWSCURConfig(response) {
2641
+ return __awaiter(this, void 0, void 0, function* () {
2642
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2643
+ if (response.httpStatusCode === 200) {
2644
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse");
2645
+ return body;
1236
2646
  }
1237
2647
  if (response.httpStatusCode === 429) {
1238
2648
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
@@ -1248,7 +2658,8 @@ class CloudCostManagementApiResponseProcessor {
1248
2658
  }
1249
2659
  // Work around for missing responses in specification, e.g. for petstore.yaml
1250
2660
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1251
- return;
2661
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse", "");
2662
+ return body;
1252
2663
  }
1253
2664
  const body = (yield response.body.text()) || "";
1254
2665
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1258,18 +2669,17 @@ class CloudCostManagementApiResponseProcessor {
1258
2669
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1259
2670
  * to the expected objects
1260
2671
  *
1261
- * @params response Response returned by the server for a request to deleteCostAWSCURConfig
2672
+ * @params response Response returned by the server for a request to getCostAzureUCConfig
1262
2673
  * @throws ApiException if the response code was not in [200, 299]
1263
2674
  */
1264
- deleteCostAWSCURConfig(response) {
2675
+ getCostAzureUCConfig(response) {
1265
2676
  return __awaiter(this, void 0, void 0, function* () {
1266
2677
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1267
- if (response.httpStatusCode === 204) {
1268
- return;
2678
+ if (response.httpStatusCode === 200) {
2679
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UCConfigPair");
2680
+ return body;
1269
2681
  }
1270
- if (response.httpStatusCode === 400 ||
1271
- response.httpStatusCode === 404 ||
1272
- response.httpStatusCode === 429) {
2682
+ if (response.httpStatusCode === 429) {
1273
2683
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1274
2684
  let body;
1275
2685
  try {
@@ -1283,7 +2693,8 @@ class CloudCostManagementApiResponseProcessor {
1283
2693
  }
1284
2694
  // Work around for missing responses in specification, e.g. for petstore.yaml
1285
2695
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1286
- return;
2696
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UCConfigPair", "");
2697
+ return body;
1287
2698
  }
1288
2699
  const body = (yield response.body.text()) || "";
1289
2700
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1293,18 +2704,17 @@ class CloudCostManagementApiResponseProcessor {
1293
2704
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1294
2705
  * to the expected objects
1295
2706
  *
1296
- * @params response Response returned by the server for a request to deleteCostAzureUCConfig
2707
+ * @params response Response returned by the server for a request to getCostGCPUsageCostConfig
1297
2708
  * @throws ApiException if the response code was not in [200, 299]
1298
2709
  */
1299
- deleteCostAzureUCConfig(response) {
2710
+ getCostGCPUsageCostConfig(response) {
1300
2711
  return __awaiter(this, void 0, void 0, function* () {
1301
2712
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1302
- if (response.httpStatusCode === 204) {
1303
- return;
2713
+ if (response.httpStatusCode === 200) {
2714
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GcpUcConfigResponse");
2715
+ return body;
1304
2716
  }
1305
- if (response.httpStatusCode === 400 ||
1306
- response.httpStatusCode === 404 ||
1307
- response.httpStatusCode === 429) {
2717
+ if (response.httpStatusCode === 429) {
1308
2718
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1309
2719
  let body;
1310
2720
  try {
@@ -1318,7 +2728,8 @@ class CloudCostManagementApiResponseProcessor {
1318
2728
  }
1319
2729
  // Work around for missing responses in specification, e.g. for petstore.yaml
1320
2730
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1321
- return;
2731
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GcpUcConfigResponse", "");
2732
+ return body;
1322
2733
  }
1323
2734
  const body = (yield response.body.text()) || "";
1324
2735
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1328,16 +2739,18 @@ class CloudCostManagementApiResponseProcessor {
1328
2739
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1329
2740
  * to the expected objects
1330
2741
  *
1331
- * @params response Response returned by the server for a request to deleteCostGCPUsageCostConfig
2742
+ * @params response Response returned by the server for a request to getCostTagKey
1332
2743
  * @throws ApiException if the response code was not in [200, 299]
1333
2744
  */
1334
- deleteCostGCPUsageCostConfig(response) {
2745
+ getCostTagKey(response) {
1335
2746
  return __awaiter(this, void 0, void 0, function* () {
1336
2747
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1337
- if (response.httpStatusCode === 204) {
1338
- return;
2748
+ if (response.httpStatusCode === 200) {
2749
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeyResponse");
2750
+ return body;
1339
2751
  }
1340
2752
  if (response.httpStatusCode === 400 ||
2753
+ response.httpStatusCode === 403 ||
1341
2754
  response.httpStatusCode === 404 ||
1342
2755
  response.httpStatusCode === 429) {
1343
2756
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
@@ -1353,7 +2766,8 @@ class CloudCostManagementApiResponseProcessor {
1353
2766
  }
1354
2767
  // Work around for missing responses in specification, e.g. for petstore.yaml
1355
2768
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1356
- return;
2769
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeyResponse", "");
2770
+ return body;
1357
2771
  }
1358
2772
  const body = (yield response.body.text()) || "";
1359
2773
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1363,14 +2777,15 @@ class CloudCostManagementApiResponseProcessor {
1363
2777
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1364
2778
  * to the expected objects
1365
2779
  *
1366
- * @params response Response returned by the server for a request to deleteCustomAllocationRule
2780
+ * @params response Response returned by the server for a request to getCustomAllocationRule
1367
2781
  * @throws ApiException if the response code was not in [200, 299]
1368
2782
  */
1369
- deleteCustomAllocationRule(response) {
2783
+ getCustomAllocationRule(response) {
1370
2784
  return __awaiter(this, void 0, void 0, function* () {
1371
2785
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1372
- if (response.httpStatusCode === 204) {
1373
- return;
2786
+ if (response.httpStatusCode === 200) {
2787
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse");
2788
+ return body;
1374
2789
  }
1375
2790
  if (response.httpStatusCode === 429) {
1376
2791
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
@@ -1386,7 +2801,8 @@ class CloudCostManagementApiResponseProcessor {
1386
2801
  }
1387
2802
  // Work around for missing responses in specification, e.g. for petstore.yaml
1388
2803
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1389
- return;
2804
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse", "");
2805
+ return body;
1390
2806
  }
1391
2807
  const body = (yield response.body.text()) || "";
1392
2808
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1396,14 +2812,15 @@ class CloudCostManagementApiResponseProcessor {
1396
2812
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1397
2813
  * to the expected objects
1398
2814
  *
1399
- * @params response Response returned by the server for a request to deleteCustomCostsFile
2815
+ * @params response Response returned by the server for a request to getCustomCostsFile
1400
2816
  * @throws ApiException if the response code was not in [200, 299]
1401
2817
  */
1402
- deleteCustomCostsFile(response) {
2818
+ getCustomCostsFile(response) {
1403
2819
  return __awaiter(this, void 0, void 0, function* () {
1404
2820
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1405
- if (response.httpStatusCode === 204) {
1406
- return;
2821
+ if (response.httpStatusCode === 200) {
2822
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse");
2823
+ return body;
1407
2824
  }
1408
2825
  if (response.httpStatusCode === 403 ||
1409
2826
  response.httpStatusCode === 404 ||
@@ -1421,7 +2838,8 @@ class CloudCostManagementApiResponseProcessor {
1421
2838
  }
1422
2839
  // Work around for missing responses in specification, e.g. for petstore.yaml
1423
2840
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1424
- return;
2841
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse", "");
2842
+ return body;
1425
2843
  }
1426
2844
  const body = (yield response.body.text()) || "";
1427
2845
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1431,14 +2849,15 @@ class CloudCostManagementApiResponseProcessor {
1431
2849
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1432
2850
  * to the expected objects
1433
2851
  *
1434
- * @params response Response returned by the server for a request to deleteTagPipelinesRuleset
2852
+ * @params response Response returned by the server for a request to getTagPipelinesRuleset
1435
2853
  * @throws ApiException if the response code was not in [200, 299]
1436
2854
  */
1437
- deleteTagPipelinesRuleset(response) {
2855
+ getTagPipelinesRuleset(response) {
1438
2856
  return __awaiter(this, void 0, void 0, function* () {
1439
2857
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1440
- if (response.httpStatusCode === 204) {
1441
- return;
2858
+ if (response.httpStatusCode === 200) {
2859
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp");
2860
+ return body;
1442
2861
  }
1443
2862
  if (response.httpStatusCode === 429) {
1444
2863
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
@@ -1454,7 +2873,8 @@ class CloudCostManagementApiResponseProcessor {
1454
2873
  }
1455
2874
  // Work around for missing responses in specification, e.g. for petstore.yaml
1456
2875
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1457
- return;
2876
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp", "");
2877
+ return body;
1458
2878
  }
1459
2879
  const body = (yield response.body.text()) || "";
1460
2880
  throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
@@ -1464,14 +2884,14 @@ class CloudCostManagementApiResponseProcessor {
1464
2884
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1465
2885
  * to the expected objects
1466
2886
  *
1467
- * @params response Response returned by the server for a request to getBudget
2887
+ * @params response Response returned by the server for a request to listBudgets
1468
2888
  * @throws ApiException if the response code was not in [200, 299]
1469
2889
  */
1470
- getBudget(response) {
2890
+ listBudgets(response) {
1471
2891
  return __awaiter(this, void 0, void 0, function* () {
1472
2892
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1473
2893
  if (response.httpStatusCode === 200) {
1474
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetWithEntries");
2894
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetArray");
1475
2895
  return body;
1476
2896
  }
1477
2897
  if (response.httpStatusCode === 429) {
@@ -1488,7 +2908,7 @@ class CloudCostManagementApiResponseProcessor {
1488
2908
  }
1489
2909
  // Work around for missing responses in specification, e.g. for petstore.yaml
1490
2910
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1491
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetWithEntries", "");
2911
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetArray", "");
1492
2912
  return body;
1493
2913
  }
1494
2914
  const body = (yield response.body.text()) || "";
@@ -1499,17 +2919,19 @@ class CloudCostManagementApiResponseProcessor {
1499
2919
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1500
2920
  * to the expected objects
1501
2921
  *
1502
- * @params response Response returned by the server for a request to getCostAWSCURConfig
2922
+ * @params response Response returned by the server for a request to listCostAnomalies
1503
2923
  * @throws ApiException if the response code was not in [200, 299]
1504
2924
  */
1505
- getCostAWSCURConfig(response) {
2925
+ listCostAnomalies(response) {
1506
2926
  return __awaiter(this, void 0, void 0, function* () {
1507
2927
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1508
2928
  if (response.httpStatusCode === 200) {
1509
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse");
2929
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomaliesResponse");
1510
2930
  return body;
1511
2931
  }
1512
- if (response.httpStatusCode === 429) {
2932
+ if (response.httpStatusCode === 400 ||
2933
+ response.httpStatusCode === 403 ||
2934
+ response.httpStatusCode === 429) {
1513
2935
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1514
2936
  let body;
1515
2937
  try {
@@ -1523,7 +2945,7 @@ class CloudCostManagementApiResponseProcessor {
1523
2945
  }
1524
2946
  // Work around for missing responses in specification, e.g. for petstore.yaml
1525
2947
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1526
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse", "");
2948
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomaliesResponse", "");
1527
2949
  return body;
1528
2950
  }
1529
2951
  const body = (yield response.body.text()) || "";
@@ -1534,17 +2956,17 @@ class CloudCostManagementApiResponseProcessor {
1534
2956
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1535
2957
  * to the expected objects
1536
2958
  *
1537
- * @params response Response returned by the server for a request to getCostAzureUCConfig
2959
+ * @params response Response returned by the server for a request to listCostAWSCURConfigs
1538
2960
  * @throws ApiException if the response code was not in [200, 299]
1539
2961
  */
1540
- getCostAzureUCConfig(response) {
2962
+ listCostAWSCURConfigs(response) {
1541
2963
  return __awaiter(this, void 0, void 0, function* () {
1542
2964
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1543
2965
  if (response.httpStatusCode === 200) {
1544
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UCConfigPair");
2966
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCURConfigsResponse");
1545
2967
  return body;
1546
2968
  }
1547
- if (response.httpStatusCode === 429) {
2969
+ if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
1548
2970
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1549
2971
  let body;
1550
2972
  try {
@@ -1558,7 +2980,7 @@ class CloudCostManagementApiResponseProcessor {
1558
2980
  }
1559
2981
  // Work around for missing responses in specification, e.g. for petstore.yaml
1560
2982
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1561
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UCConfigPair", "");
2983
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCURConfigsResponse", "");
1562
2984
  return body;
1563
2985
  }
1564
2986
  const body = (yield response.body.text()) || "";
@@ -1569,17 +2991,17 @@ class CloudCostManagementApiResponseProcessor {
1569
2991
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1570
2992
  * to the expected objects
1571
2993
  *
1572
- * @params response Response returned by the server for a request to getCostGCPUsageCostConfig
2994
+ * @params response Response returned by the server for a request to listCostAzureUCConfigs
1573
2995
  * @throws ApiException if the response code was not in [200, 299]
1574
2996
  */
1575
- getCostGCPUsageCostConfig(response) {
2997
+ listCostAzureUCConfigs(response) {
1576
2998
  return __awaiter(this, void 0, void 0, function* () {
1577
2999
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1578
3000
  if (response.httpStatusCode === 200) {
1579
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GcpUcConfigResponse");
3001
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigsResponse");
1580
3002
  return body;
1581
3003
  }
1582
- if (response.httpStatusCode === 429) {
3004
+ if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
1583
3005
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1584
3006
  let body;
1585
3007
  try {
@@ -1593,7 +3015,7 @@ class CloudCostManagementApiResponseProcessor {
1593
3015
  }
1594
3016
  // Work around for missing responses in specification, e.g. for petstore.yaml
1595
3017
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1596
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GcpUcConfigResponse", "");
3018
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigsResponse", "");
1597
3019
  return body;
1598
3020
  }
1599
3021
  const body = (yield response.body.text()) || "";
@@ -1604,17 +3026,17 @@ class CloudCostManagementApiResponseProcessor {
1604
3026
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1605
3027
  * to the expected objects
1606
3028
  *
1607
- * @params response Response returned by the server for a request to getCustomAllocationRule
3029
+ * @params response Response returned by the server for a request to listCostGCPUsageCostConfigs
1608
3030
  * @throws ApiException if the response code was not in [200, 299]
1609
3031
  */
1610
- getCustomAllocationRule(response) {
3032
+ listCostGCPUsageCostConfigs(response) {
1611
3033
  return __awaiter(this, void 0, void 0, function* () {
1612
3034
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1613
3035
  if (response.httpStatusCode === 200) {
1614
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse");
3036
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigsResponse");
1615
3037
  return body;
1616
3038
  }
1617
- if (response.httpStatusCode === 429) {
3039
+ if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
1618
3040
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1619
3041
  let body;
1620
3042
  try {
@@ -1628,7 +3050,7 @@ class CloudCostManagementApiResponseProcessor {
1628
3050
  }
1629
3051
  // Work around for missing responses in specification, e.g. for petstore.yaml
1630
3052
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1631
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse", "");
3053
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigsResponse", "");
1632
3054
  return body;
1633
3055
  }
1634
3056
  const body = (yield response.body.text()) || "";
@@ -1639,19 +3061,17 @@ class CloudCostManagementApiResponseProcessor {
1639
3061
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1640
3062
  * to the expected objects
1641
3063
  *
1642
- * @params response Response returned by the server for a request to getCustomCostsFile
3064
+ * @params response Response returned by the server for a request to listCostOCIConfigs
1643
3065
  * @throws ApiException if the response code was not in [200, 299]
1644
3066
  */
1645
- getCustomCostsFile(response) {
3067
+ listCostOCIConfigs(response) {
1646
3068
  return __awaiter(this, void 0, void 0, function* () {
1647
3069
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1648
3070
  if (response.httpStatusCode === 200) {
1649
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse");
3071
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OCIConfigsResponse");
1650
3072
  return body;
1651
3073
  }
1652
- if (response.httpStatusCode === 403 ||
1653
- response.httpStatusCode === 404 ||
1654
- response.httpStatusCode === 429) {
3074
+ if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
1655
3075
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1656
3076
  let body;
1657
3077
  try {
@@ -1665,7 +3085,7 @@ class CloudCostManagementApiResponseProcessor {
1665
3085
  }
1666
3086
  // Work around for missing responses in specification, e.g. for petstore.yaml
1667
3087
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1668
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse", "");
3088
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OCIConfigsResponse", "");
1669
3089
  return body;
1670
3090
  }
1671
3091
  const body = (yield response.body.text()) || "";
@@ -1676,17 +3096,17 @@ class CloudCostManagementApiResponseProcessor {
1676
3096
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1677
3097
  * to the expected objects
1678
3098
  *
1679
- * @params response Response returned by the server for a request to getTagPipelinesRuleset
3099
+ * @params response Response returned by the server for a request to listCostTagDescriptions
1680
3100
  * @throws ApiException if the response code was not in [200, 299]
1681
3101
  */
1682
- getTagPipelinesRuleset(response) {
3102
+ listCostTagDescriptions(response) {
1683
3103
  return __awaiter(this, void 0, void 0, function* () {
1684
3104
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1685
3105
  if (response.httpStatusCode === 200) {
1686
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp");
3106
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagDescriptionsResponse");
1687
3107
  return body;
1688
3108
  }
1689
- if (response.httpStatusCode === 429) {
3109
+ if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
1690
3110
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1691
3111
  let body;
1692
3112
  try {
@@ -1700,7 +3120,7 @@ class CloudCostManagementApiResponseProcessor {
1700
3120
  }
1701
3121
  // Work around for missing responses in specification, e.g. for petstore.yaml
1702
3122
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1703
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp", "");
3123
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagDescriptionsResponse", "");
1704
3124
  return body;
1705
3125
  }
1706
3126
  const body = (yield response.body.text()) || "";
@@ -1711,17 +3131,19 @@ class CloudCostManagementApiResponseProcessor {
1711
3131
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1712
3132
  * to the expected objects
1713
3133
  *
1714
- * @params response Response returned by the server for a request to listBudgets
3134
+ * @params response Response returned by the server for a request to listCostTagKeys
1715
3135
  * @throws ApiException if the response code was not in [200, 299]
1716
3136
  */
1717
- listBudgets(response) {
3137
+ listCostTagKeys(response) {
1718
3138
  return __awaiter(this, void 0, void 0, function* () {
1719
3139
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1720
3140
  if (response.httpStatusCode === 200) {
1721
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetArray");
3141
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeysResponse");
1722
3142
  return body;
1723
3143
  }
1724
- if (response.httpStatusCode === 429) {
3144
+ if (response.httpStatusCode === 400 ||
3145
+ response.httpStatusCode === 403 ||
3146
+ response.httpStatusCode === 429) {
1725
3147
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1726
3148
  let body;
1727
3149
  try {
@@ -1735,7 +3157,7 @@ class CloudCostManagementApiResponseProcessor {
1735
3157
  }
1736
3158
  // Work around for missing responses in specification, e.g. for petstore.yaml
1737
3159
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1738
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetArray", "");
3160
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeysResponse", "");
1739
3161
  return body;
1740
3162
  }
1741
3163
  const body = (yield response.body.text()) || "";
@@ -1746,17 +3168,19 @@ class CloudCostManagementApiResponseProcessor {
1746
3168
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1747
3169
  * to the expected objects
1748
3170
  *
1749
- * @params response Response returned by the server for a request to listCostAWSCURConfigs
3171
+ * @params response Response returned by the server for a request to listCostTags
1750
3172
  * @throws ApiException if the response code was not in [200, 299]
1751
3173
  */
1752
- listCostAWSCURConfigs(response) {
3174
+ listCostTags(response) {
1753
3175
  return __awaiter(this, void 0, void 0, function* () {
1754
3176
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1755
3177
  if (response.httpStatusCode === 200) {
1756
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCURConfigsResponse");
3178
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagsResponse");
1757
3179
  return body;
1758
3180
  }
1759
- if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
3181
+ if (response.httpStatusCode === 400 ||
3182
+ response.httpStatusCode === 403 ||
3183
+ response.httpStatusCode === 429) {
1760
3184
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1761
3185
  let body;
1762
3186
  try {
@@ -1770,7 +3194,7 @@ class CloudCostManagementApiResponseProcessor {
1770
3194
  }
1771
3195
  // Work around for missing responses in specification, e.g. for petstore.yaml
1772
3196
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1773
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCURConfigsResponse", "");
3197
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagsResponse", "");
1774
3198
  return body;
1775
3199
  }
1776
3200
  const body = (yield response.body.text()) || "";
@@ -1781,17 +3205,17 @@ class CloudCostManagementApiResponseProcessor {
1781
3205
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1782
3206
  * to the expected objects
1783
3207
  *
1784
- * @params response Response returned by the server for a request to listCostAzureUCConfigs
3208
+ * @params response Response returned by the server for a request to listCustomAllocationRules
1785
3209
  * @throws ApiException if the response code was not in [200, 299]
1786
3210
  */
1787
- listCostAzureUCConfigs(response) {
3211
+ listCustomAllocationRules(response) {
1788
3212
  return __awaiter(this, void 0, void 0, function* () {
1789
3213
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1790
3214
  if (response.httpStatusCode === 200) {
1791
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigsResponse");
3215
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponseArray");
1792
3216
  return body;
1793
3217
  }
1794
- if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
3218
+ if (response.httpStatusCode === 429) {
1795
3219
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1796
3220
  let body;
1797
3221
  try {
@@ -1805,7 +3229,7 @@ class CloudCostManagementApiResponseProcessor {
1805
3229
  }
1806
3230
  // Work around for missing responses in specification, e.g. for petstore.yaml
1807
3231
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1808
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigsResponse", "");
3232
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponseArray", "");
1809
3233
  return body;
1810
3234
  }
1811
3235
  const body = (yield response.body.text()) || "";
@@ -1816,17 +3240,17 @@ class CloudCostManagementApiResponseProcessor {
1816
3240
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1817
3241
  * to the expected objects
1818
3242
  *
1819
- * @params response Response returned by the server for a request to listCostGCPUsageCostConfigs
3243
+ * @params response Response returned by the server for a request to listCustomAllocationRulesStatus
1820
3244
  * @throws ApiException if the response code was not in [200, 299]
1821
3245
  */
1822
- listCostGCPUsageCostConfigs(response) {
3246
+ listCustomAllocationRulesStatus(response) {
1823
3247
  return __awaiter(this, void 0, void 0, function* () {
1824
3248
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1825
3249
  if (response.httpStatusCode === 200) {
1826
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigsResponse");
3250
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleStatusResponseArray");
1827
3251
  return body;
1828
3252
  }
1829
- if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
3253
+ if (response.httpStatusCode === 429) {
1830
3254
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1831
3255
  let body;
1832
3256
  try {
@@ -1840,7 +3264,7 @@ class CloudCostManagementApiResponseProcessor {
1840
3264
  }
1841
3265
  // Work around for missing responses in specification, e.g. for petstore.yaml
1842
3266
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1843
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigsResponse", "");
3267
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleStatusResponseArray", "");
1844
3268
  return body;
1845
3269
  }
1846
3270
  const body = (yield response.body.text()) || "";
@@ -1851,17 +3275,19 @@ class CloudCostManagementApiResponseProcessor {
1851
3275
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1852
3276
  * to the expected objects
1853
3277
  *
1854
- * @params response Response returned by the server for a request to listCustomAllocationRules
3278
+ * @params response Response returned by the server for a request to listCustomCostsFiles
1855
3279
  * @throws ApiException if the response code was not in [200, 299]
1856
3280
  */
1857
- listCustomAllocationRules(response) {
3281
+ listCustomCostsFiles(response) {
1858
3282
  return __awaiter(this, void 0, void 0, function* () {
1859
3283
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1860
3284
  if (response.httpStatusCode === 200) {
1861
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponseArray");
3285
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse");
1862
3286
  return body;
1863
3287
  }
1864
- if (response.httpStatusCode === 429) {
3288
+ if (response.httpStatusCode === 400 ||
3289
+ response.httpStatusCode === 403 ||
3290
+ response.httpStatusCode === 429) {
1865
3291
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1866
3292
  let body;
1867
3293
  try {
@@ -1875,7 +3301,7 @@ class CloudCostManagementApiResponseProcessor {
1875
3301
  }
1876
3302
  // Work around for missing responses in specification, e.g. for petstore.yaml
1877
3303
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1878
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponseArray", "");
3304
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse", "");
1879
3305
  return body;
1880
3306
  }
1881
3307
  const body = (yield response.body.text()) || "";
@@ -1886,19 +3312,17 @@ class CloudCostManagementApiResponseProcessor {
1886
3312
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1887
3313
  * to the expected objects
1888
3314
  *
1889
- * @params response Response returned by the server for a request to listCustomCostsFiles
3315
+ * @params response Response returned by the server for a request to listTagPipelinesRulesets
1890
3316
  * @throws ApiException if the response code was not in [200, 299]
1891
3317
  */
1892
- listCustomCostsFiles(response) {
3318
+ listTagPipelinesRulesets(response) {
1893
3319
  return __awaiter(this, void 0, void 0, function* () {
1894
3320
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1895
3321
  if (response.httpStatusCode === 200) {
1896
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse");
3322
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetRespArray");
1897
3323
  return body;
1898
3324
  }
1899
- if (response.httpStatusCode === 400 ||
1900
- response.httpStatusCode === 403 ||
1901
- response.httpStatusCode === 429) {
3325
+ if (response.httpStatusCode === 429) {
1902
3326
  const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
1903
3327
  let body;
1904
3328
  try {
@@ -1912,7 +3336,7 @@ class CloudCostManagementApiResponseProcessor {
1912
3336
  }
1913
3337
  // Work around for missing responses in specification, e.g. for petstore.yaml
1914
3338
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1915
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse", "");
3339
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetRespArray", "");
1916
3340
  return body;
1917
3341
  }
1918
3342
  const body = (yield response.body.text()) || "";
@@ -1923,14 +3347,14 @@ class CloudCostManagementApiResponseProcessor {
1923
3347
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
1924
3348
  * to the expected objects
1925
3349
  *
1926
- * @params response Response returned by the server for a request to listTagPipelinesRulesets
3350
+ * @params response Response returned by the server for a request to listTagPipelinesRulesetsStatus
1927
3351
  * @throws ApiException if the response code was not in [200, 299]
1928
3352
  */
1929
- listTagPipelinesRulesets(response) {
3353
+ listTagPipelinesRulesetsStatus(response) {
1930
3354
  return __awaiter(this, void 0, void 0, function* () {
1931
3355
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1932
3356
  if (response.httpStatusCode === 200) {
1933
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetRespArray");
3357
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetStatusRespArray");
1934
3358
  return body;
1935
3359
  }
1936
3360
  if (response.httpStatusCode === 429) {
@@ -1947,7 +3371,7 @@ class CloudCostManagementApiResponseProcessor {
1947
3371
  }
1948
3372
  // Work around for missing responses in specification, e.g. for petstore.yaml
1949
3373
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1950
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetRespArray", "");
3374
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetStatusRespArray", "");
1951
3375
  return body;
1952
3376
  }
1953
3377
  const body = (yield response.body.text()) || "";
@@ -2586,6 +4010,132 @@ class CloudCostManagementApi {
2586
4010
  });
2587
4011
  });
2588
4012
  }
4013
+ /**
4014
+ * Get a list of individual cloud commitments (Reserved Instances or Savings Plans) with their utilization details. The response schema varies based on the provider, product, and commitment type.
4015
+ * @param param The request object
4016
+ */
4017
+ getCommitmentsCommitmentList(param, options) {
4018
+ const requestContextPromise = this.requestFactory.getCommitmentsCommitmentList(param.provider, param.product, param.start, param.end, param.filterBy, param.commitmentType, options);
4019
+ return requestContextPromise.then((requestContext) => {
4020
+ return this.configuration.httpApi
4021
+ .send(requestContext)
4022
+ .then((responseContext) => {
4023
+ return this.responseProcessor.getCommitmentsCommitmentList(responseContext);
4024
+ });
4025
+ });
4026
+ }
4027
+ /**
4028
+ * Get scalar coverage metrics for cloud commitment programs, including hours and cost coverage percentages.
4029
+ * @param param The request object
4030
+ */
4031
+ getCommitmentsCoverageScalar(param, options) {
4032
+ const requestContextPromise = this.requestFactory.getCommitmentsCoverageScalar(param.provider, param.product, param.start, param.end, param.filterBy, options);
4033
+ return requestContextPromise.then((requestContext) => {
4034
+ return this.configuration.httpApi
4035
+ .send(requestContext)
4036
+ .then((responseContext) => {
4037
+ return this.responseProcessor.getCommitmentsCoverageScalar(responseContext);
4038
+ });
4039
+ });
4040
+ }
4041
+ /**
4042
+ * Get timeseries coverage metrics for cloud commitment programs, broken down by coverage type (Reserved Instances, Savings Plans, On-Demand, and Spot) for both hours and cost.
4043
+ * @param param The request object
4044
+ */
4045
+ getCommitmentsCoverageTimeseries(param, options) {
4046
+ const requestContextPromise = this.requestFactory.getCommitmentsCoverageTimeseries(param.provider, param.product, param.start, param.end, param.filterBy, options);
4047
+ return requestContextPromise.then((requestContext) => {
4048
+ return this.configuration.httpApi
4049
+ .send(requestContext)
4050
+ .then((responseContext) => {
4051
+ return this.responseProcessor.getCommitmentsCoverageTimeseries(responseContext);
4052
+ });
4053
+ });
4054
+ }
4055
+ /**
4056
+ * Get scalar on-demand hot-spots data for cloud commitment programs, showing per-dimension breakdowns of on-demand spending with coverage metrics and potential savings.
4057
+ * @param param The request object
4058
+ */
4059
+ getCommitmentsOnDemandHotspotsScalar(param, options) {
4060
+ const requestContextPromise = this.requestFactory.getCommitmentsOnDemandHotspotsScalar(param.provider, param.product, param.start, param.end, param.filterBy, options);
4061
+ return requestContextPromise.then((requestContext) => {
4062
+ return this.configuration.httpApi
4063
+ .send(requestContext)
4064
+ .then((responseContext) => {
4065
+ return this.responseProcessor.getCommitmentsOnDemandHotspotsScalar(responseContext);
4066
+ });
4067
+ });
4068
+ }
4069
+ /**
4070
+ * Get scalar savings metrics for cloud commitment programs, including realized savings and effective savings rate.
4071
+ * @param param The request object
4072
+ */
4073
+ getCommitmentsSavingsScalar(param, options) {
4074
+ const requestContextPromise = this.requestFactory.getCommitmentsSavingsScalar(param.provider, param.product, param.start, param.end, param.filterBy, options);
4075
+ return requestContextPromise.then((requestContext) => {
4076
+ return this.configuration.httpApi
4077
+ .send(requestContext)
4078
+ .then((responseContext) => {
4079
+ return this.responseProcessor.getCommitmentsSavingsScalar(responseContext);
4080
+ });
4081
+ });
4082
+ }
4083
+ /**
4084
+ * Get timeseries savings metrics for cloud commitment programs, including actual cost, on-demand equivalent cost, realized savings, and effective savings rate over time.
4085
+ * @param param The request object
4086
+ */
4087
+ getCommitmentsSavingsTimeseries(param, options) {
4088
+ const requestContextPromise = this.requestFactory.getCommitmentsSavingsTimeseries(param.provider, param.product, param.start, param.end, param.filterBy, options);
4089
+ return requestContextPromise.then((requestContext) => {
4090
+ return this.configuration.httpApi
4091
+ .send(requestContext)
4092
+ .then((responseContext) => {
4093
+ return this.responseProcessor.getCommitmentsSavingsTimeseries(responseContext);
4094
+ });
4095
+ });
4096
+ }
4097
+ /**
4098
+ * Get scalar utilization metrics for cloud commitment programs, including utilization percentage and unused cost.
4099
+ * @param param The request object
4100
+ */
4101
+ getCommitmentsUtilizationScalar(param, options) {
4102
+ const requestContextPromise = this.requestFactory.getCommitmentsUtilizationScalar(param.provider, param.product, param.start, param.end, param.filterBy, param.commitmentType, options);
4103
+ return requestContextPromise.then((requestContext) => {
4104
+ return this.configuration.httpApi
4105
+ .send(requestContext)
4106
+ .then((responseContext) => {
4107
+ return this.responseProcessor.getCommitmentsUtilizationScalar(responseContext);
4108
+ });
4109
+ });
4110
+ }
4111
+ /**
4112
+ * Get timeseries utilization metrics for cloud commitment programs, including used and unused cost series over time.
4113
+ * @param param The request object
4114
+ */
4115
+ getCommitmentsUtilizationTimeseries(param, options) {
4116
+ const requestContextPromise = this.requestFactory.getCommitmentsUtilizationTimeseries(param.provider, param.product, param.start, param.end, param.filterBy, param.commitmentType, options);
4117
+ return requestContextPromise.then((requestContext) => {
4118
+ return this.configuration.httpApi
4119
+ .send(requestContext)
4120
+ .then((responseContext) => {
4121
+ return this.responseProcessor.getCommitmentsUtilizationTimeseries(responseContext);
4122
+ });
4123
+ });
4124
+ }
4125
+ /**
4126
+ * Get a detected Cloud Cost Management anomaly by UUID.
4127
+ * @param param The request object
4128
+ */
4129
+ getCostAnomaly(param, options) {
4130
+ const requestContextPromise = this.requestFactory.getCostAnomaly(param.anomalyId, options);
4131
+ return requestContextPromise.then((requestContext) => {
4132
+ return this.configuration.httpApi
4133
+ .send(requestContext)
4134
+ .then((responseContext) => {
4135
+ return this.responseProcessor.getCostAnomaly(responseContext);
4136
+ });
4137
+ });
4138
+ }
2589
4139
  /**
2590
4140
  * Get a specific AWS CUR config.
2591
4141
  * @param param The request object
@@ -2628,6 +4178,20 @@ class CloudCostManagementApi {
2628
4178
  });
2629
4179
  });
2630
4180
  }
4181
+ /**
4182
+ * Get details for a specific Cloud Cost Management tag key, including example tag values and description.
4183
+ * @param param The request object
4184
+ */
4185
+ getCostTagKey(param, options) {
4186
+ const requestContextPromise = this.requestFactory.getCostTagKey(param.tagKey, param.filterMetric, param.pageSize, options);
4187
+ return requestContextPromise.then((requestContext) => {
4188
+ return this.configuration.httpApi
4189
+ .send(requestContext)
4190
+ .then((responseContext) => {
4191
+ return this.responseProcessor.getCostTagKey(responseContext);
4192
+ });
4193
+ });
4194
+ }
2631
4195
  /**
2632
4196
  * Get a specific custom allocation rule - Retrieve a specific custom allocation rule by its ID
2633
4197
  * @param param The request object
@@ -2684,6 +4248,20 @@ class CloudCostManagementApi {
2684
4248
  });
2685
4249
  });
2686
4250
  }
4251
+ /**
4252
+ * List detected Cloud Cost Management anomalies for the organization.
4253
+ * @param param The request object
4254
+ */
4255
+ listCostAnomalies(param = {}, options) {
4256
+ const requestContextPromise = this.requestFactory.listCostAnomalies(param.start, param.end, param.filter, param.minAnomalousThreshold, param.minCostThreshold, param.dismissalCause, param.orderBy, param.order, param.limit, param.offset, param.providerIds, options);
4257
+ return requestContextPromise.then((requestContext) => {
4258
+ return this.configuration.httpApi
4259
+ .send(requestContext)
4260
+ .then((responseContext) => {
4261
+ return this.responseProcessor.listCostAnomalies(responseContext);
4262
+ });
4263
+ });
4264
+ }
2687
4265
  /**
2688
4266
  * List the AWS CUR configs.
2689
4267
  * @param param The request object
@@ -2726,6 +4304,62 @@ class CloudCostManagementApi {
2726
4304
  });
2727
4305
  });
2728
4306
  }
4307
+ /**
4308
+ * List the OCI configs.
4309
+ * @param param The request object
4310
+ */
4311
+ listCostOCIConfigs(options) {
4312
+ const requestContextPromise = this.requestFactory.listCostOCIConfigs(options);
4313
+ return requestContextPromise.then((requestContext) => {
4314
+ return this.configuration.httpApi
4315
+ .send(requestContext)
4316
+ .then((responseContext) => {
4317
+ return this.responseProcessor.listCostOCIConfigs(responseContext);
4318
+ });
4319
+ });
4320
+ }
4321
+ /**
4322
+ * List Cloud Cost Management tag key descriptions for the organization. Use `filter[cloud]` to scope the result to a single cloud provider; when omitted, both cross-cloud defaults and cloud-specific descriptions are returned.
4323
+ * @param param The request object
4324
+ */
4325
+ listCostTagDescriptions(param = {}, options) {
4326
+ const requestContextPromise = this.requestFactory.listCostTagDescriptions(param.filterCloud, options);
4327
+ return requestContextPromise.then((requestContext) => {
4328
+ return this.configuration.httpApi
4329
+ .send(requestContext)
4330
+ .then((responseContext) => {
4331
+ return this.responseProcessor.listCostTagDescriptions(responseContext);
4332
+ });
4333
+ });
4334
+ }
4335
+ /**
4336
+ * List Cloud Cost Management tag keys.
4337
+ * @param param The request object
4338
+ */
4339
+ listCostTagKeys(param = {}, options) {
4340
+ const requestContextPromise = this.requestFactory.listCostTagKeys(param.filterMetric, param.filterTags, options);
4341
+ return requestContextPromise.then((requestContext) => {
4342
+ return this.configuration.httpApi
4343
+ .send(requestContext)
4344
+ .then((responseContext) => {
4345
+ return this.responseProcessor.listCostTagKeys(responseContext);
4346
+ });
4347
+ });
4348
+ }
4349
+ /**
4350
+ * List Cloud Cost Management tags for a given metric.
4351
+ * @param param The request object
4352
+ */
4353
+ listCostTags(param = {}, options) {
4354
+ const requestContextPromise = this.requestFactory.listCostTags(param.filterMetric, param.filterMatch, param.filterTags, param.filterTagKeys, param.pageSize, options);
4355
+ return requestContextPromise.then((requestContext) => {
4356
+ return this.configuration.httpApi
4357
+ .send(requestContext)
4358
+ .then((responseContext) => {
4359
+ return this.responseProcessor.listCostTags(responseContext);
4360
+ });
4361
+ });
4362
+ }
2729
4363
  /**
2730
4364
  * List all custom allocation rules - Retrieve a list of all custom allocation rules for the organization
2731
4365
  * @param param The request object
@@ -2740,6 +4374,20 @@ class CloudCostManagementApi {
2740
4374
  });
2741
4375
  });
2742
4376
  }
4377
+ /**
4378
+ * List the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.
4379
+ * @param param The request object
4380
+ */
4381
+ listCustomAllocationRulesStatus(options) {
4382
+ const requestContextPromise = this.requestFactory.listCustomAllocationRulesStatus(options);
4383
+ return requestContextPromise.then((requestContext) => {
4384
+ return this.configuration.httpApi
4385
+ .send(requestContext)
4386
+ .then((responseContext) => {
4387
+ return this.responseProcessor.listCustomAllocationRulesStatus(responseContext);
4388
+ });
4389
+ });
4390
+ }
2743
4391
  /**
2744
4392
  * List the Custom Costs files.
2745
4393
  * @param param The request object
@@ -2768,6 +4416,20 @@ class CloudCostManagementApi {
2768
4416
  });
2769
4417
  });
2770
4418
  }
4419
+ /**
4420
+ * List the processing status of all tag pipeline rulesets. Returns only the ID and processing status for each ruleset.
4421
+ * @param param The request object
4422
+ */
4423
+ listTagPipelinesRulesetsStatus(options) {
4424
+ const requestContextPromise = this.requestFactory.listTagPipelinesRulesetsStatus(options);
4425
+ return requestContextPromise.then((requestContext) => {
4426
+ return this.configuration.httpApi
4427
+ .send(requestContext)
4428
+ .then((responseContext) => {
4429
+ return this.responseProcessor.listTagPipelinesRulesetsStatus(responseContext);
4430
+ });
4431
+ });
4432
+ }
2771
4433
  /**
2772
4434
  * Reorder custom allocation rules - Change the execution order of custom allocation rules.
2773
4435
  *