@datadog/datadog-api-client 1.4.0 → 1.5.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 (304) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +0 -2
  3. package/dist/packages/datadog-api-client-common/exception.js +3 -0
  4. package/dist/packages/datadog-api-client-common/exception.js.map +1 -1
  5. package/dist/packages/datadog-api-client-v1/apis/AWSIntegrationApi.js +9 -18
  6. package/dist/packages/datadog-api-client-v1/apis/AWSIntegrationApi.js.map +1 -1
  7. package/dist/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.js +7 -14
  8. package/dist/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.js.map +1 -1
  9. package/dist/packages/datadog-api-client-v1/apis/AuthenticationApi.js +1 -2
  10. package/dist/packages/datadog-api-client-v1/apis/AuthenticationApi.js.map +1 -1
  11. package/dist/packages/datadog-api-client-v1/apis/AzureIntegrationApi.js +5 -10
  12. package/dist/packages/datadog-api-client-v1/apis/AzureIntegrationApi.js.map +1 -1
  13. package/dist/packages/datadog-api-client-v1/apis/DashboardListsApi.js +5 -10
  14. package/dist/packages/datadog-api-client-v1/apis/DashboardListsApi.js.map +1 -1
  15. package/dist/packages/datadog-api-client-v1/apis/DashboardsApi.js +7 -14
  16. package/dist/packages/datadog-api-client-v1/apis/DashboardsApi.js.map +1 -1
  17. package/dist/packages/datadog-api-client-v1/apis/DowntimesApi.js +7 -14
  18. package/dist/packages/datadog-api-client-v1/apis/DowntimesApi.js.map +1 -1
  19. package/dist/packages/datadog-api-client-v1/apis/EventsApi.js +3 -6
  20. package/dist/packages/datadog-api-client-v1/apis/EventsApi.js.map +1 -1
  21. package/dist/packages/datadog-api-client-v1/apis/GCPIntegrationApi.js +4 -8
  22. package/dist/packages/datadog-api-client-v1/apis/GCPIntegrationApi.js.map +1 -1
  23. package/dist/packages/datadog-api-client-v1/apis/HostsApi.js +4 -8
  24. package/dist/packages/datadog-api-client-v1/apis/HostsApi.js.map +1 -1
  25. package/dist/packages/datadog-api-client-v1/apis/IPRangesApi.js +1 -2
  26. package/dist/packages/datadog-api-client-v1/apis/IPRangesApi.js.map +1 -1
  27. package/dist/packages/datadog-api-client-v1/apis/KeyManagementApi.js +10 -20
  28. package/dist/packages/datadog-api-client-v1/apis/KeyManagementApi.js.map +1 -1
  29. package/dist/packages/datadog-api-client-v1/apis/LogsApi.js +4 -8
  30. package/dist/packages/datadog-api-client-v1/apis/LogsApi.js.map +1 -1
  31. package/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.js +10 -20
  32. package/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.js.map +1 -1
  33. package/dist/packages/datadog-api-client-v1/apis/LogsPipelinesApi.js +12 -24
  34. package/dist/packages/datadog-api-client-v1/apis/LogsPipelinesApi.js.map +1 -1
  35. package/dist/packages/datadog-api-client-v1/apis/MetricsApi.js +7 -14
  36. package/dist/packages/datadog-api-client-v1/apis/MetricsApi.js.map +1 -1
  37. package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js +10 -20
  38. package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js.map +1 -1
  39. package/dist/packages/datadog-api-client-v1/apis/NotebooksApi.js +5 -10
  40. package/dist/packages/datadog-api-client-v1/apis/NotebooksApi.js.map +1 -1
  41. package/dist/packages/datadog-api-client-v1/apis/OrganizationsApi.js +6 -12
  42. package/dist/packages/datadog-api-client-v1/apis/OrganizationsApi.js.map +1 -1
  43. package/dist/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.js +4 -8
  44. package/dist/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.js.map +1 -1
  45. package/dist/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.js +3 -6
  46. package/dist/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.js.map +1 -1
  47. package/dist/packages/datadog-api-client-v1/apis/ServiceChecksApi.js +1 -2
  48. package/dist/packages/datadog-api-client-v1/apis/ServiceChecksApi.js.map +1 -1
  49. package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.js +5 -10
  50. package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.js.map +1 -1
  51. package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.js +10 -20
  52. package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.js.map +1 -1
  53. package/dist/packages/datadog-api-client-v1/apis/SlackIntegrationApi.js +5 -10
  54. package/dist/packages/datadog-api-client-v1/apis/SlackIntegrationApi.js.map +1 -1
  55. package/dist/packages/datadog-api-client-v1/apis/SnapshotsApi.js +1 -2
  56. package/dist/packages/datadog-api-client-v1/apis/SnapshotsApi.js.map +1 -1
  57. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +27 -54
  58. package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js.map +1 -1
  59. package/dist/packages/datadog-api-client-v1/apis/TagsApi.js +5 -10
  60. package/dist/packages/datadog-api-client-v1/apis/TagsApi.js.map +1 -1
  61. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.d.ts +1 -1
  62. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js +39 -77
  63. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js.map +1 -1
  64. package/dist/packages/datadog-api-client-v1/apis/UsersApi.js +5 -10
  65. package/dist/packages/datadog-api-client-v1/apis/UsersApi.js.map +1 -1
  66. package/dist/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.js +8 -16
  67. package/dist/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.js.map +1 -1
  68. package/dist/packages/datadog-api-client-v1/models/MonitorOptions.d.ts +9 -0
  69. package/dist/packages/datadog-api-client-v1/models/MonitorOptions.js +4 -0
  70. package/dist/packages/datadog-api-client-v1/models/MonitorOptions.js.map +1 -1
  71. package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTest.d.ts +1 -1
  72. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.js +4 -0
  73. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.js.map +1 -1
  74. package/dist/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.js +1 -0
  75. package/dist/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.js.map +1 -1
  76. package/dist/packages/datadog-api-client-v2/apis/AuditApi.js +2 -4
  77. package/dist/packages/datadog-api-client-v2/apis/AuditApi.js.map +1 -1
  78. package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.js +5 -10
  79. package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.js.map +1 -1
  80. package/dist/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.js +6 -12
  81. package/dist/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.js.map +1 -1
  82. package/dist/packages/datadog-api-client-v2/apis/ConfluentCloudApi.d.ts +253 -0
  83. package/dist/packages/datadog-api-client-v2/apis/ConfluentCloudApi.js +1064 -0
  84. package/dist/packages/datadog-api-client-v2/apis/ConfluentCloudApi.js.map +1 -0
  85. package/dist/packages/datadog-api-client-v2/apis/DashboardListsApi.js +4 -8
  86. package/dist/packages/datadog-api-client-v2/apis/DashboardListsApi.js.map +1 -1
  87. package/dist/packages/datadog-api-client-v2/apis/EventsApi.js +2 -4
  88. package/dist/packages/datadog-api-client-v2/apis/EventsApi.js.map +1 -1
  89. package/dist/packages/datadog-api-client-v2/apis/IncidentServicesApi.js +5 -10
  90. package/dist/packages/datadog-api-client-v2/apis/IncidentServicesApi.js.map +1 -1
  91. package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.js +5 -10
  92. package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.js.map +1 -1
  93. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js +7 -14
  94. package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js.map +1 -1
  95. package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js +14 -28
  96. package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js.map +1 -1
  97. package/dist/packages/datadog-api-client-v2/apis/LogsApi.js +4 -8
  98. package/dist/packages/datadog-api-client-v2/apis/LogsApi.js.map +1 -1
  99. package/dist/packages/datadog-api-client-v2/apis/LogsArchivesApi.js +10 -20
  100. package/dist/packages/datadog-api-client-v2/apis/LogsArchivesApi.js.map +1 -1
  101. package/dist/packages/datadog-api-client-v2/apis/LogsMetricsApi.js +5 -10
  102. package/dist/packages/datadog-api-client-v2/apis/LogsMetricsApi.js.map +1 -1
  103. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.d.ts +1 -1
  104. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js +16 -28
  105. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js.map +1 -1
  106. package/dist/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.js +5 -10
  107. package/dist/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.js.map +1 -1
  108. package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js +1 -2
  109. package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js.map +1 -1
  110. package/dist/packages/datadog-api-client-v2/apis/ProcessesApi.js +1 -2
  111. package/dist/packages/datadog-api-client-v2/apis/ProcessesApi.js.map +1 -1
  112. package/dist/packages/datadog-api-client-v2/apis/RUMApi.js +8 -16
  113. package/dist/packages/datadog-api-client-v2/apis/RUMApi.js.map +1 -1
  114. package/dist/packages/datadog-api-client-v2/apis/RolesApi.js +13 -26
  115. package/dist/packages/datadog-api-client-v2/apis/RolesApi.js.map +1 -1
  116. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +16 -32
  117. package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
  118. package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js +5 -10
  119. package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js.map +1 -1
  120. package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.d.ts +94 -0
  121. package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.js +456 -0
  122. package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.js.map +1 -0
  123. package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js +7 -14
  124. package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js.map +1 -1
  125. package/dist/packages/datadog-api-client-v2/apis/UsersApi.js +10 -20
  126. package/dist/packages/datadog-api-client-v2/apis/UsersApi.js.map +1 -1
  127. package/dist/packages/datadog-api-client-v2/index.d.ts +53 -0
  128. package/dist/packages/datadog-api-client-v2/index.js +92 -9
  129. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  130. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.d.ts +29 -0
  131. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.js +29 -0
  132. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.js.map +1 -0
  133. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.d.ts +41 -0
  134. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.js +42 -0
  135. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.js.map +1 -0
  136. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.d.ts +34 -0
  137. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.js +34 -0
  138. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.js.map +1 -0
  139. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.d.ts +36 -0
  140. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.js +41 -0
  141. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.js.map +1 -0
  142. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponse.d.ts +29 -0
  143. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponse.js +28 -0
  144. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponse.js.map +1 -0
  145. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.d.ts +37 -0
  146. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.js +37 -0
  147. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.js.map +1 -0
  148. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.d.ts +38 -0
  149. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.js +39 -0
  150. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.js.map +1 -0
  151. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountType.d.ts +7 -0
  152. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountType.js +10 -0
  153. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountType.js.map +1 -0
  154. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.d.ts +29 -0
  155. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.js +29 -0
  156. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.js.map +1 -0
  157. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.d.ts +36 -0
  158. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.js +43 -0
  159. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.js.map +1 -0
  160. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.d.ts +34 -0
  161. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.js +34 -0
  162. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.js.map +1 -0
  163. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.d.ts +29 -0
  164. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.js +28 -0
  165. package/dist/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.js.map +1 -0
  166. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequest.d.ts +29 -0
  167. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequest.js +29 -0
  168. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequest.js.map +1 -0
  169. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.d.ts +32 -0
  170. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.js +37 -0
  171. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.js.map +1 -0
  172. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.d.ts +38 -0
  173. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.js +39 -0
  174. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.js.map +1 -0
  175. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponse.d.ts +29 -0
  176. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponse.js +28 -0
  177. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponse.js.map +1 -0
  178. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.d.ts +32 -0
  179. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.js +38 -0
  180. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.js.map +1 -0
  181. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.d.ts +38 -0
  182. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.js +39 -0
  183. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.js.map +1 -0
  184. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceType.d.ts +7 -0
  185. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceType.js +10 -0
  186. package/dist/packages/datadog-api-client-v2/models/ConfluentResourceType.js.map +1 -0
  187. package/dist/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.d.ts +29 -0
  188. package/dist/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.js +28 -0
  189. package/dist/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.js.map +1 -0
  190. package/dist/packages/datadog-api-client-v2/models/Event.js +1 -0
  191. package/dist/packages/datadog-api-client-v2/models/Event.js.map +1 -1
  192. package/dist/packages/datadog-api-client-v2/models/EventAttributes.js +2 -0
  193. package/dist/packages/datadog-api-client-v2/models/EventAttributes.js.map +1 -1
  194. package/dist/packages/datadog-api-client-v2/models/HTTPLogItem.d.ts +3 -3
  195. package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.d.ts +1 -1
  196. package/dist/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.d.ts +0 -4
  197. package/dist/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.js +0 -5
  198. package/dist/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.js.map +1 -1
  199. package/dist/packages/datadog-api-client-v2/models/MonitorType.js +4 -0
  200. package/dist/packages/datadog-api-client-v2/models/MonitorType.js.map +1 -1
  201. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +113 -0
  202. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  203. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.d.ts +2 -2
  204. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.js +1 -1
  205. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.d.ts +2 -2
  206. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.js +1 -1
  207. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.js.map +1 -1
  208. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.d.ts +53 -0
  209. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.js +53 -0
  210. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.js.map +1 -0
  211. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleQuery.d.ts +3 -3
  212. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.d.ts +29 -0
  213. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.js +28 -0
  214. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.js.map +1 -0
  215. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionData.d.ts +33 -0
  216. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionData.js +32 -0
  217. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionData.js.map +1 -0
  218. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.d.ts +34 -0
  219. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.js +32 -0
  220. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.js.map +1 -0
  221. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.d.ts +29 -0
  222. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.js +28 -0
  223. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.js.map +1 -0
  224. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.d.ts +40 -0
  225. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.js +45 -0
  226. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.js.map +1 -0
  227. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchema.d.ts +12 -0
  228. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchema.js +3 -0
  229. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchema.js.map +1 -0
  230. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1.d.ts +64 -0
  231. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1.js +58 -0
  232. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1.js.map +1 -0
  233. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.d.ts +32 -0
  234. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.js +38 -0
  235. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.js.map +1 -0
  236. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.d.ts +40 -0
  237. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.js +46 -0
  238. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.js.map +1 -0
  239. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.d.ts +28 -0
  240. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.js +33 -0
  241. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.js.map +1 -0
  242. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.d.ts +32 -0
  243. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.js +37 -0
  244. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.js.map +1 -0
  245. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.d.ts +37 -0
  246. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.js +39 -0
  247. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.js.map +1 -0
  248. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1ResourceType.d.ts +15 -0
  249. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1ResourceType.js +18 -0
  250. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1ResourceType.js.map +1 -0
  251. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Version.d.ts +7 -0
  252. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Version.js +10 -0
  253. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Version.js.map +1 -0
  254. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2.d.ts +76 -0
  255. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2.js +70 -0
  256. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2.js.map +1 -0
  257. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Contact.d.ts +12 -0
  258. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Contact.js +3 -0
  259. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Contact.js.map +1 -0
  260. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.d.ts +36 -0
  261. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.js +43 -0
  262. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.js.map +1 -0
  263. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.d.ts +37 -0
  264. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.js +39 -0
  265. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.js.map +1 -0
  266. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2EmailType.d.ts +7 -0
  267. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2EmailType.js +10 -0
  268. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2EmailType.js.map +1 -0
  269. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.d.ts +33 -0
  270. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.js +32 -0
  271. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.js.map +1 -0
  272. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.d.ts +37 -0
  273. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.js +39 -0
  274. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.js.map +1 -0
  275. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2LinkType.d.ts +15 -0
  276. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2LinkType.js +18 -0
  277. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2LinkType.js.map +1 -0
  278. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.d.ts +33 -0
  279. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.js +33 -0
  280. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.js.map +1 -0
  281. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2OpsgenieRegion.d.ts +8 -0
  282. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2OpsgenieRegion.js +11 -0
  283. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2OpsgenieRegion.js.map +1 -0
  284. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.d.ts +36 -0
  285. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.js +43 -0
  286. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.js.map +1 -0
  287. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.d.ts +37 -0
  288. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.js +38 -0
  289. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.js.map +1 -0
  290. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2SlackType.d.ts +7 -0
  291. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2SlackType.js +10 -0
  292. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2SlackType.js.map +1 -0
  293. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Version.d.ts +7 -0
  294. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Version.js +10 -0
  295. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Version.js.map +1 -0
  296. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsCreateRequest.d.ts +11 -0
  297. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsCreateRequest.js +3 -0
  298. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsCreateRequest.js.map +1 -0
  299. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.d.ts +29 -0
  300. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.js +28 -0
  301. package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.js.map +1 -0
  302. package/dist/version.d.ts +1 -1
  303. package/dist/version.js +1 -1
  304. package/package.json +1 -1
@@ -1296,13 +1296,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1296
1296
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1297
1297
  try {
1298
1298
  body_2 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1299
- throw new exception_1.ApiException(response.httpStatusCode, body_2);
1300
1299
  }
1301
1300
  catch (error) {
1302
1301
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1303
1302
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1304
1303
  }
1305
- _l.label = 4;
1304
+ throw new exception_1.ApiException(response.httpStatusCode, body_2);
1306
1305
  case 4:
1307
1306
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1308
1307
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1351,13 +1350,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1351
1350
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1352
1351
  try {
1353
1352
  body_5 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1354
- throw new exception_1.ApiException(response.httpStatusCode, body_5);
1355
1353
  }
1356
1354
  catch (error) {
1357
1355
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1358
1356
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1359
1357
  }
1360
- _l.label = 4;
1358
+ throw new exception_1.ApiException(response.httpStatusCode, body_5);
1361
1359
  case 4:
1362
1360
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1363
1361
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1408,13 +1406,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1408
1406
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1409
1407
  try {
1410
1408
  body_8 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1411
- throw new exception_1.ApiException(response.httpStatusCode, body_8);
1412
1409
  }
1413
1410
  catch (error) {
1414
1411
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1415
1412
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1416
1413
  }
1417
- _l.label = 4;
1414
+ throw new exception_1.ApiException(response.httpStatusCode, body_8);
1418
1415
  case 4:
1419
1416
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1420
1417
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1465,13 +1462,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1465
1462
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1466
1463
  try {
1467
1464
  body_11 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1468
- throw new exception_1.ApiException(response.httpStatusCode, body_11);
1469
1465
  }
1470
1466
  catch (error) {
1471
1467
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1472
1468
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1473
1469
  }
1474
- _l.label = 4;
1470
+ throw new exception_1.ApiException(response.httpStatusCode, body_11);
1475
1471
  case 4:
1476
1472
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1477
1473
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1520,13 +1516,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1520
1516
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1521
1517
  try {
1522
1518
  body_14 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1523
- throw new exception_1.ApiException(response.httpStatusCode, body_14);
1524
1519
  }
1525
1520
  catch (error) {
1526
1521
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1527
1522
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1528
1523
  }
1529
- _l.label = 4;
1524
+ throw new exception_1.ApiException(response.httpStatusCode, body_14);
1530
1525
  case 4:
1531
1526
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1532
1527
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1575,13 +1570,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1575
1570
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1576
1571
  try {
1577
1572
  body_17 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1578
- throw new exception_1.ApiException(response.httpStatusCode, body_17);
1579
1573
  }
1580
1574
  catch (error) {
1581
1575
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1582
1576
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1583
1577
  }
1584
- _l.label = 4;
1578
+ throw new exception_1.ApiException(response.httpStatusCode, body_17);
1585
1579
  case 4:
1586
1580
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1587
1581
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1632,13 +1626,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1632
1626
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1633
1627
  try {
1634
1628
  body_20 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1635
- throw new exception_1.ApiException(response.httpStatusCode, body_20);
1636
1629
  }
1637
1630
  catch (error) {
1638
1631
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1639
1632
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1640
1633
  }
1641
- _l.label = 4;
1634
+ throw new exception_1.ApiException(response.httpStatusCode, body_20);
1642
1635
  case 4:
1643
1636
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1644
1637
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1690,13 +1683,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1690
1683
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1691
1684
  try {
1692
1685
  body_23 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1693
- throw new exception_1.ApiException(response.httpStatusCode, body_23);
1694
1686
  }
1695
1687
  catch (error) {
1696
1688
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1697
1689
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1698
1690
  }
1699
- _l.label = 4;
1691
+ throw new exception_1.ApiException(response.httpStatusCode, body_23);
1700
1692
  case 4:
1701
1693
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1702
1694
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1747,13 +1739,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1747
1739
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1748
1740
  try {
1749
1741
  body_26 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1750
- throw new exception_1.ApiException(response.httpStatusCode, body_26);
1751
1742
  }
1752
1743
  catch (error) {
1753
1744
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1754
1745
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1755
1746
  }
1756
- _l.label = 4;
1747
+ throw new exception_1.ApiException(response.httpStatusCode, body_26);
1757
1748
  case 4:
1758
1749
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1759
1750
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1802,13 +1793,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1802
1793
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1803
1794
  try {
1804
1795
  body_29 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1805
- throw new exception_1.ApiException(response.httpStatusCode, body_29);
1806
1796
  }
1807
1797
  catch (error) {
1808
1798
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1809
1799
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1810
1800
  }
1811
- _l.label = 4;
1801
+ throw new exception_1.ApiException(response.httpStatusCode, body_29);
1812
1802
  case 4:
1813
1803
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1814
1804
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1859,13 +1849,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1859
1849
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1860
1850
  try {
1861
1851
  body_32 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1862
- throw new exception_1.ApiException(response.httpStatusCode, body_32);
1863
1852
  }
1864
1853
  catch (error) {
1865
1854
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1866
1855
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1867
1856
  }
1868
- _l.label = 4;
1857
+ throw new exception_1.ApiException(response.httpStatusCode, body_32);
1869
1858
  case 4:
1870
1859
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1871
1860
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1916,13 +1905,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1916
1905
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1917
1906
  try {
1918
1907
  body_35 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1919
- throw new exception_1.ApiException(response.httpStatusCode, body_35);
1920
1908
  }
1921
1909
  catch (error) {
1922
1910
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1923
1911
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1924
1912
  }
1925
- _l.label = 4;
1913
+ throw new exception_1.ApiException(response.httpStatusCode, body_35);
1926
1914
  case 4:
1927
1915
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1928
1916
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -1973,13 +1961,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
1973
1961
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
1974
1962
  try {
1975
1963
  body_38 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
1976
- throw new exception_1.ApiException(response.httpStatusCode, body_38);
1977
1964
  }
1978
1965
  catch (error) {
1979
1966
  logger_1.logger.info("Got error deserializing error: ".concat(error));
1980
1967
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
1981
1968
  }
1982
- _l.label = 4;
1969
+ throw new exception_1.ApiException(response.httpStatusCode, body_38);
1983
1970
  case 4:
1984
1971
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
1985
1972
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2030,13 +2017,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2030
2017
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2031
2018
  try {
2032
2019
  body_41 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2033
- throw new exception_1.ApiException(response.httpStatusCode, body_41);
2034
2020
  }
2035
2021
  catch (error) {
2036
2022
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2037
2023
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2038
2024
  }
2039
- _l.label = 4;
2025
+ throw new exception_1.ApiException(response.httpStatusCode, body_41);
2040
2026
  case 4:
2041
2027
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2042
2028
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2087,13 +2073,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2087
2073
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2088
2074
  try {
2089
2075
  body_44 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2090
- throw new exception_1.ApiException(response.httpStatusCode, body_44);
2091
2076
  }
2092
2077
  catch (error) {
2093
2078
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2094
2079
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2095
2080
  }
2096
- _l.label = 4;
2081
+ throw new exception_1.ApiException(response.httpStatusCode, body_44);
2097
2082
  case 4:
2098
2083
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2099
2084
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2144,13 +2129,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2144
2129
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2145
2130
  try {
2146
2131
  body_47 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2147
- throw new exception_1.ApiException(response.httpStatusCode, body_47);
2148
2132
  }
2149
2133
  catch (error) {
2150
2134
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2151
2135
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2152
2136
  }
2153
- _l.label = 4;
2137
+ throw new exception_1.ApiException(response.httpStatusCode, body_47);
2154
2138
  case 4:
2155
2139
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2156
2140
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2201,13 +2185,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2201
2185
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2202
2186
  try {
2203
2187
  body_50 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2204
- throw new exception_1.ApiException(response.httpStatusCode, body_50);
2205
2188
  }
2206
2189
  catch (error) {
2207
2190
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2208
2191
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2209
2192
  }
2210
- _l.label = 4;
2193
+ throw new exception_1.ApiException(response.httpStatusCode, body_50);
2211
2194
  case 4:
2212
2195
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2213
2196
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2258,13 +2241,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2258
2241
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2259
2242
  try {
2260
2243
  body_53 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2261
- throw new exception_1.ApiException(response.httpStatusCode, body_53);
2262
2244
  }
2263
2245
  catch (error) {
2264
2246
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2265
2247
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2266
2248
  }
2267
- _l.label = 4;
2249
+ throw new exception_1.ApiException(response.httpStatusCode, body_53);
2268
2250
  case 4:
2269
2251
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2270
2252
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2315,13 +2297,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2315
2297
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2316
2298
  try {
2317
2299
  body_56 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2318
- throw new exception_1.ApiException(response.httpStatusCode, body_56);
2319
2300
  }
2320
2301
  catch (error) {
2321
2302
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2322
2303
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2323
2304
  }
2324
- _l.label = 4;
2305
+ throw new exception_1.ApiException(response.httpStatusCode, body_56);
2325
2306
  case 4:
2326
2307
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2327
2308
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2372,13 +2353,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2372
2353
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2373
2354
  try {
2374
2355
  body_59 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2375
- throw new exception_1.ApiException(response.httpStatusCode, body_59);
2376
2356
  }
2377
2357
  catch (error) {
2378
2358
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2379
2359
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2380
2360
  }
2381
- _l.label = 4;
2361
+ throw new exception_1.ApiException(response.httpStatusCode, body_59);
2382
2362
  case 4:
2383
2363
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2384
2364
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2429,13 +2409,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2429
2409
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2430
2410
  try {
2431
2411
  body_62 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2432
- throw new exception_1.ApiException(response.httpStatusCode, body_62);
2433
2412
  }
2434
2413
  catch (error) {
2435
2414
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2436
2415
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2437
2416
  }
2438
- _l.label = 4;
2417
+ throw new exception_1.ApiException(response.httpStatusCode, body_62);
2439
2418
  case 4:
2440
2419
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2441
2420
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2486,13 +2465,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2486
2465
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2487
2466
  try {
2488
2467
  body_65 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2489
- throw new exception_1.ApiException(response.httpStatusCode, body_65);
2490
2468
  }
2491
2469
  catch (error) {
2492
2470
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2493
2471
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2494
2472
  }
2495
- _l.label = 4;
2473
+ throw new exception_1.ApiException(response.httpStatusCode, body_65);
2496
2474
  case 4:
2497
2475
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2498
2476
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2543,13 +2521,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2543
2521
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2544
2522
  try {
2545
2523
  body_68 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2546
- throw new exception_1.ApiException(response.httpStatusCode, body_68);
2547
2524
  }
2548
2525
  catch (error) {
2549
2526
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2550
2527
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2551
2528
  }
2552
- _l.label = 4;
2529
+ throw new exception_1.ApiException(response.httpStatusCode, body_68);
2553
2530
  case 4:
2554
2531
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2555
2532
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2600,13 +2577,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2600
2577
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2601
2578
  try {
2602
2579
  body_71 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2603
- throw new exception_1.ApiException(response.httpStatusCode, body_71);
2604
2580
  }
2605
2581
  catch (error) {
2606
2582
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2607
2583
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2608
2584
  }
2609
- _l.label = 4;
2585
+ throw new exception_1.ApiException(response.httpStatusCode, body_71);
2610
2586
  case 4:
2611
2587
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2612
2588
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2657,13 +2633,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2657
2633
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2658
2634
  try {
2659
2635
  body_74 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2660
- throw new exception_1.ApiException(response.httpStatusCode, body_74);
2661
2636
  }
2662
2637
  catch (error) {
2663
2638
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2664
2639
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2665
2640
  }
2666
- _l.label = 4;
2641
+ throw new exception_1.ApiException(response.httpStatusCode, body_74);
2667
2642
  case 4:
2668
2643
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2669
2644
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2714,13 +2689,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2714
2689
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2715
2690
  try {
2716
2691
  body_77 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2717
- throw new exception_1.ApiException(response.httpStatusCode, body_77);
2718
2692
  }
2719
2693
  catch (error) {
2720
2694
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2721
2695
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2722
2696
  }
2723
- _l.label = 4;
2697
+ throw new exception_1.ApiException(response.httpStatusCode, body_77);
2724
2698
  case 4:
2725
2699
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2726
2700
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2771,13 +2745,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2771
2745
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2772
2746
  try {
2773
2747
  body_80 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2774
- throw new exception_1.ApiException(response.httpStatusCode, body_80);
2775
2748
  }
2776
2749
  catch (error) {
2777
2750
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2778
2751
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2779
2752
  }
2780
- _l.label = 4;
2753
+ throw new exception_1.ApiException(response.httpStatusCode, body_80);
2781
2754
  case 4:
2782
2755
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2783
2756
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2828,13 +2801,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2828
2801
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2829
2802
  try {
2830
2803
  body_83 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2831
- throw new exception_1.ApiException(response.httpStatusCode, body_83);
2832
2804
  }
2833
2805
  catch (error) {
2834
2806
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2835
2807
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2836
2808
  }
2837
- _l.label = 4;
2809
+ throw new exception_1.ApiException(response.httpStatusCode, body_83);
2838
2810
  case 4:
2839
2811
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2840
2812
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2885,13 +2857,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2885
2857
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2886
2858
  try {
2887
2859
  body_86 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2888
- throw new exception_1.ApiException(response.httpStatusCode, body_86);
2889
2860
  }
2890
2861
  catch (error) {
2891
2862
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2892
2863
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2893
2864
  }
2894
- _l.label = 4;
2865
+ throw new exception_1.ApiException(response.httpStatusCode, body_86);
2895
2866
  case 4:
2896
2867
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2897
2868
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2942,13 +2913,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2942
2913
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
2943
2914
  try {
2944
2915
  body_89 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
2945
- throw new exception_1.ApiException(response.httpStatusCode, body_89);
2946
2916
  }
2947
2917
  catch (error) {
2948
2918
  logger_1.logger.info("Got error deserializing error: ".concat(error));
2949
2919
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
2950
2920
  }
2951
- _l.label = 4;
2921
+ throw new exception_1.ApiException(response.httpStatusCode, body_89);
2952
2922
  case 4:
2953
2923
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
2954
2924
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -2999,13 +2969,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2999
2969
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3000
2970
  try {
3001
2971
  body_92 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3002
- throw new exception_1.ApiException(response.httpStatusCode, body_92);
3003
2972
  }
3004
2973
  catch (error) {
3005
2974
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3006
2975
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3007
2976
  }
3008
- _l.label = 4;
2977
+ throw new exception_1.ApiException(response.httpStatusCode, body_92);
3009
2978
  case 4:
3010
2979
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3011
2980
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3056,13 +3025,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3056
3025
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3057
3026
  try {
3058
3027
  body_95 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3059
- throw new exception_1.ApiException(response.httpStatusCode, body_95);
3060
3028
  }
3061
3029
  catch (error) {
3062
3030
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3063
3031
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3064
3032
  }
3065
- _l.label = 4;
3033
+ throw new exception_1.ApiException(response.httpStatusCode, body_95);
3066
3034
  case 4:
3067
3035
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3068
3036
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3113,13 +3081,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3113
3081
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3114
3082
  try {
3115
3083
  body_98 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3116
- throw new exception_1.ApiException(response.httpStatusCode, body_98);
3117
3084
  }
3118
3085
  catch (error) {
3119
3086
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3120
3087
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3121
3088
  }
3122
- _l.label = 4;
3089
+ throw new exception_1.ApiException(response.httpStatusCode, body_98);
3123
3090
  case 4:
3124
3091
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3125
3092
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3170,13 +3137,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3170
3137
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3171
3138
  try {
3172
3139
  body_101 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3173
- throw new exception_1.ApiException(response.httpStatusCode, body_101);
3174
3140
  }
3175
3141
  catch (error) {
3176
3142
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3177
3143
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3178
3144
  }
3179
- _l.label = 4;
3145
+ throw new exception_1.ApiException(response.httpStatusCode, body_101);
3180
3146
  case 4:
3181
3147
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3182
3148
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3227,13 +3193,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3227
3193
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3228
3194
  try {
3229
3195
  body_104 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3230
- throw new exception_1.ApiException(response.httpStatusCode, body_104);
3231
3196
  }
3232
3197
  catch (error) {
3233
3198
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3234
3199
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3235
3200
  }
3236
- _l.label = 4;
3201
+ throw new exception_1.ApiException(response.httpStatusCode, body_104);
3237
3202
  case 4:
3238
3203
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3239
3204
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3284,13 +3249,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3284
3249
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3285
3250
  try {
3286
3251
  body_107 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3287
- throw new exception_1.ApiException(response.httpStatusCode, body_107);
3288
3252
  }
3289
3253
  catch (error) {
3290
3254
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3291
3255
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3292
3256
  }
3293
- _l.label = 4;
3257
+ throw new exception_1.ApiException(response.httpStatusCode, body_107);
3294
3258
  case 4:
3295
3259
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3296
3260
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3341,13 +3305,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3341
3305
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3342
3306
  try {
3343
3307
  body_110 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3344
- throw new exception_1.ApiException(response.httpStatusCode, body_110);
3345
3308
  }
3346
3309
  catch (error) {
3347
3310
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3348
3311
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3349
3312
  }
3350
- _l.label = 4;
3313
+ throw new exception_1.ApiException(response.httpStatusCode, body_110);
3351
3314
  case 4:
3352
3315
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3353
3316
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3398,13 +3361,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3398
3361
  bodyText = _f.apply(_e, [_l.sent(), contentType]);
3399
3362
  try {
3400
3363
  body_113 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
3401
- throw new exception_1.ApiException(response.httpStatusCode, body_113);
3402
3364
  }
3403
3365
  catch (error) {
3404
3366
  logger_1.logger.info("Got error deserializing error: ".concat(error));
3405
3367
  throw new exception_1.ApiException(response.httpStatusCode, bodyText);
3406
3368
  }
3407
- _l.label = 4;
3369
+ throw new exception_1.ApiException(response.httpStatusCode, body_113);
3408
3370
  case 4:
3409
3371
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
3410
3372
  _h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -3979,7 +3941,7 @@ var UsageMeteringApi = /** @class */ (function () {
3979
3941
  });
3980
3942
  };
3981
3943
  /**
3982
- * Get usage across your multi-org account. You must have the multi-org feature enabled.
3944
+ * Get all usage across your account.
3983
3945
  * @param param The request object
3984
3946
  */
3985
3947
  UsageMeteringApi.prototype.getUsageSummary = function (param, options) {