levelfour 1.7.0 → 1.9.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 (306) hide show
  1. package/dist/api/resources/accounts/client/Client.d.mts +34 -0
  2. package/dist/api/resources/accounts/client/Client.d.ts +34 -0
  3. package/dist/api/resources/accounts/client/Client.js +204 -0
  4. package/dist/api/resources/accounts/client/Client.mjs +204 -0
  5. package/dist/api/resources/anthropic/client/Client.d.mts +150 -7
  6. package/dist/api/resources/anthropic/client/Client.d.ts +150 -7
  7. package/dist/api/resources/anthropic/client/Client.js +761 -85
  8. package/dist/api/resources/anthropic/client/Client.mjs +761 -85
  9. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.d.mts +19 -0
  10. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.d.ts +19 -0
  11. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.js +17 -0
  12. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.mjs +1 -0
  13. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.d.mts +13 -0
  14. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.d.ts +13 -0
  15. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.js +17 -0
  16. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.mjs +1 -0
  17. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.d.mts +13 -0
  18. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.d.ts +13 -0
  19. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.js +17 -0
  20. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.mjs +1 -0
  21. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.d.mts +13 -0
  22. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.d.ts +13 -0
  23. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.js +17 -0
  24. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.mjs +1 -0
  25. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.mts +2 -0
  26. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.ts +2 -0
  27. package/dist/api/resources/anthropic/client/requests/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequest.d.mts +3 -0
  28. package/dist/api/resources/anthropic/client/requests/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequest.d.ts +3 -0
  29. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.d.mts +11 -0
  30. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.d.ts +11 -0
  31. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.js +17 -0
  32. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.mjs +1 -0
  33. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.d.mts +15 -0
  34. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.d.ts +15 -0
  35. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.js +17 -0
  36. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.mjs +1 -0
  37. package/dist/api/resources/anthropic/client/requests/index.d.mts +6 -0
  38. package/dist/api/resources/anthropic/client/requests/index.d.ts +6 -0
  39. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.mts +1 -0
  40. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.ts +1 -0
  41. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.js +2 -1
  42. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.mjs +2 -1
  43. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.d.mts +10 -0
  44. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.d.ts +10 -0
  45. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.js +37 -0
  46. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.mjs +13 -0
  47. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.d.mts +6 -0
  48. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.d.ts +6 -0
  49. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.js +32 -0
  50. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.mjs +8 -0
  51. package/dist/api/resources/anthropic/types/index.d.mts +2 -0
  52. package/dist/api/resources/anthropic/types/index.d.ts +2 -0
  53. package/dist/api/resources/anthropic/types/index.js +5 -1
  54. package/dist/api/resources/anthropic/types/index.mjs +2 -0
  55. package/dist/api/types/AiBreakdownData.d.mts +28 -0
  56. package/dist/api/types/AiBreakdownData.d.ts +28 -0
  57. package/dist/api/types/AiBreakdownData.js +44 -0
  58. package/dist/api/types/AiBreakdownData.mjs +20 -0
  59. package/dist/api/types/AiBreakdownDay.d.mts +5 -0
  60. package/dist/api/types/AiBreakdownDay.d.ts +5 -0
  61. package/dist/api/types/{AnthropicUsageMeasures.js → AiBreakdownDay.js} +3 -3
  62. package/dist/api/types/AiBreakdownDay.mjs +1 -0
  63. package/dist/api/types/AiBreakdownItem.d.mts +12 -0
  64. package/dist/api/types/AiBreakdownItem.d.ts +12 -0
  65. package/dist/api/types/AiBreakdownItem.js +17 -0
  66. package/dist/api/types/AiBreakdownItem.mjs +1 -0
  67. package/dist/api/types/AiBreakdownResponse.d.mts +6 -0
  68. package/dist/api/types/AiBreakdownResponse.d.ts +6 -0
  69. package/dist/api/types/AiBreakdownResponse.js +17 -0
  70. package/dist/api/types/AiBreakdownResponse.mjs +1 -0
  71. package/dist/api/types/AiFailureKind.d.mts +14 -0
  72. package/dist/api/types/AiFailureKind.d.ts +14 -0
  73. package/dist/api/types/AiFailureKind.js +38 -0
  74. package/dist/api/types/AiFailureKind.mjs +14 -0
  75. package/dist/api/types/AiFailuresData.d.mts +9 -0
  76. package/dist/api/types/AiFailuresData.d.ts +9 -0
  77. package/dist/api/types/AiFailuresData.js +17 -0
  78. package/dist/api/types/AiFailuresData.mjs +1 -0
  79. package/dist/api/types/AiFailuresResponse.d.mts +6 -0
  80. package/dist/api/types/AiFailuresResponse.d.ts +6 -0
  81. package/dist/api/types/AiFailuresResponse.js +17 -0
  82. package/dist/api/types/AiFailuresResponse.mjs +1 -0
  83. package/dist/api/types/AiMcpConnections.d.mts +8 -0
  84. package/dist/api/types/AiMcpConnections.d.ts +8 -0
  85. package/dist/api/types/AiMcpConnections.js +17 -0
  86. package/dist/api/types/AiMcpConnections.mjs +1 -0
  87. package/dist/api/types/AiMcpServer.d.mts +12 -0
  88. package/dist/api/types/AiMcpServer.d.ts +12 -0
  89. package/dist/api/types/AiMcpServer.js +17 -0
  90. package/dist/api/types/AiMcpServer.mjs +1 -0
  91. package/dist/api/types/AiMcpServersData.d.mts +5 -0
  92. package/dist/api/types/AiMcpServersData.d.ts +5 -0
  93. package/dist/api/types/AiMcpServersData.js +17 -0
  94. package/dist/api/types/AiMcpServersData.mjs +1 -0
  95. package/dist/api/types/AiMcpServersResponse.d.mts +6 -0
  96. package/dist/api/types/AiMcpServersResponse.d.ts +6 -0
  97. package/dist/api/types/AiMcpServersResponse.js +17 -0
  98. package/dist/api/types/AiMcpServersResponse.mjs +1 -0
  99. package/dist/api/types/AiPermissionMode.d.mts +5 -0
  100. package/dist/api/types/AiPermissionMode.d.ts +5 -0
  101. package/dist/api/types/AiPermissionMode.js +17 -0
  102. package/dist/api/types/AiPermissionMode.mjs +1 -0
  103. package/dist/api/types/AiPermissionModesData.d.mts +5 -0
  104. package/dist/api/types/AiPermissionModesData.d.ts +5 -0
  105. package/dist/api/types/AiPermissionModesData.js +17 -0
  106. package/dist/api/types/AiPermissionModesData.mjs +1 -0
  107. package/dist/api/types/AiPermissionModesResponse.d.mts +6 -0
  108. package/dist/api/types/AiPermissionModesResponse.d.ts +6 -0
  109. package/dist/api/types/AiPermissionModesResponse.js +17 -0
  110. package/dist/api/types/AiPermissionModesResponse.mjs +1 -0
  111. package/dist/api/types/AiPersonData.d.mts +20 -0
  112. package/dist/api/types/AiPersonData.d.ts +20 -0
  113. package/dist/api/types/AiPersonData.js +5 -0
  114. package/dist/api/types/AiPersonData.mjs +5 -0
  115. package/dist/api/types/AiPersonFailing.d.mts +17 -0
  116. package/dist/api/types/AiPersonFailing.d.ts +17 -0
  117. package/dist/api/types/AiPersonFailing.js +38 -0
  118. package/dist/api/types/AiPersonFailing.mjs +14 -0
  119. package/dist/api/types/AiPersonFailures.d.mts +17 -0
  120. package/dist/api/types/AiPersonFailures.d.ts +17 -0
  121. package/dist/api/types/AiPersonFailures.js +38 -0
  122. package/dist/api/types/AiPersonFailures.mjs +14 -0
  123. package/dist/api/types/AiPersonModel.d.mts +9 -0
  124. package/dist/api/types/AiPersonModel.d.ts +9 -0
  125. package/dist/api/types/AiPersonModel.js +17 -0
  126. package/dist/api/types/AiPersonModel.mjs +1 -0
  127. package/dist/api/types/AiPersonToolUse.d.mts +10 -0
  128. package/dist/api/types/AiPersonToolUse.d.ts +10 -0
  129. package/dist/api/types/AiPersonToolUse.js +17 -0
  130. package/dist/api/types/AiPersonToolUse.mjs +1 -0
  131. package/dist/api/types/AiPersonToolsData.d.mts +7 -0
  132. package/dist/api/types/AiPersonToolsData.d.ts +7 -0
  133. package/dist/api/types/AiPersonToolsData.js +17 -0
  134. package/dist/api/types/AiPersonToolsData.mjs +1 -0
  135. package/dist/api/types/AiPersonToolsResponse.d.mts +6 -0
  136. package/dist/api/types/AiPersonToolsResponse.d.ts +6 -0
  137. package/dist/api/types/AiPersonToolsResponse.js +17 -0
  138. package/dist/api/types/AiPersonToolsResponse.mjs +1 -0
  139. package/dist/api/types/AiSession.d.mts +23 -2
  140. package/dist/api/types/AiSession.d.ts +23 -2
  141. package/dist/api/types/AiSession.js +20 -0
  142. package/dist/api/types/AiSession.mjs +12 -0
  143. package/dist/api/types/AiSessionBucket.d.mts +8 -0
  144. package/dist/api/types/AiSessionBucket.d.ts +8 -0
  145. package/dist/api/types/AiSessionBucket.js +17 -0
  146. package/dist/api/types/AiSessionBucket.mjs +1 -0
  147. package/dist/api/types/AiSessionDetail.d.mts +45 -0
  148. package/dist/api/types/AiSessionDetail.d.ts +45 -0
  149. package/dist/api/types/AiSessionDetail.js +37 -0
  150. package/dist/api/types/AiSessionDetail.mjs +13 -0
  151. package/dist/api/types/AiSessionDetailResponse.d.mts +6 -0
  152. package/dist/api/types/AiSessionDetailResponse.d.ts +6 -0
  153. package/dist/api/types/AiSessionDetailResponse.js +17 -0
  154. package/dist/api/types/AiSessionDetailResponse.mjs +1 -0
  155. package/dist/api/types/AiSessionFailing.d.mts +28 -0
  156. package/dist/api/types/AiSessionFailing.d.ts +28 -0
  157. package/dist/api/types/AiSessionFailing.js +44 -0
  158. package/dist/api/types/AiSessionFailing.mjs +20 -0
  159. package/dist/api/types/AiSessionTool.d.mts +8 -0
  160. package/dist/api/types/AiSessionTool.d.ts +8 -0
  161. package/dist/api/types/AiSessionTool.js +17 -0
  162. package/dist/api/types/AiSessionTool.mjs +1 -0
  163. package/dist/api/types/AiTokensByType.d.mts +9 -0
  164. package/dist/api/types/AiTokensByType.d.ts +9 -0
  165. package/dist/api/types/AiTokensByType.js +17 -0
  166. package/dist/api/types/AiTokensByType.mjs +1 -0
  167. package/dist/api/types/AnthropicActivityData.d.mts +2 -0
  168. package/dist/api/types/AnthropicActivityData.d.ts +2 -0
  169. package/dist/api/types/AnthropicOverallResponseTimes.d.mts +10 -0
  170. package/dist/api/types/AnthropicOverallResponseTimes.d.ts +10 -0
  171. package/dist/api/types/AnthropicOverallResponseTimes.js +17 -0
  172. package/dist/api/types/AnthropicOverallResponseTimes.mjs +1 -0
  173. package/dist/api/types/AnthropicUsageBand.d.mts +8 -4
  174. package/dist/api/types/AnthropicUsageBand.d.ts +8 -4
  175. package/dist/api/types/AnthropicUsageData.d.mts +1 -1
  176. package/dist/api/types/AnthropicUsageData.d.ts +1 -1
  177. package/dist/api/types/AnthropicUsageDistributionData.d.mts +1 -1
  178. package/dist/api/types/AnthropicUsageDistributionData.d.ts +1 -1
  179. package/dist/api/types/AnthropicUsageTotals.d.mts +15 -0
  180. package/dist/api/types/AnthropicUsageTotals.d.ts +15 -0
  181. package/dist/api/types/AnthropicUsageTotals.js +17 -0
  182. package/dist/api/types/AnthropicUsageTotals.mjs +1 -0
  183. package/dist/api/types/AzureSubscriptionItem.d.mts +2 -0
  184. package/dist/api/types/AzureSubscriptionItem.d.ts +2 -0
  185. package/dist/api/types/BlockerTotals.d.mts +12 -0
  186. package/dist/api/types/BlockerTotals.d.ts +12 -0
  187. package/dist/api/types/BreakdownAsked.d.mts +36 -0
  188. package/dist/api/types/BreakdownAsked.d.ts +36 -0
  189. package/dist/api/types/BreakdownAsked.js +48 -0
  190. package/dist/api/types/BreakdownAsked.mjs +24 -0
  191. package/dist/api/types/ClaudeTeamAdoption.d.mts +11 -0
  192. package/dist/api/types/ClaudeTeamAdoption.d.ts +11 -0
  193. package/dist/api/types/ClaudeTeamAdoption.js +17 -0
  194. package/dist/api/types/ClaudeTeamAdoption.mjs +1 -0
  195. package/dist/api/types/ClaudeTeamAdoptionDay.d.mts +9 -0
  196. package/dist/api/types/ClaudeTeamAdoptionDay.d.ts +9 -0
  197. package/dist/api/types/ClaudeTeamAdoptionDay.js +17 -0
  198. package/dist/api/types/ClaudeTeamAdoptionDay.mjs +1 -0
  199. package/dist/api/types/ClaudeTeamPeopleData.d.mts +4 -0
  200. package/dist/api/types/ClaudeTeamPeopleData.d.ts +4 -0
  201. package/dist/api/types/ClaudeTeamPerson.d.mts +31 -0
  202. package/dist/api/types/ClaudeTeamPerson.d.ts +31 -0
  203. package/dist/api/types/ClaudeTeamPerson.js +17 -0
  204. package/dist/api/types/ClaudeTeamPerson.mjs +17 -0
  205. package/dist/api/types/ClaudeTeamStates.d.mts +11 -0
  206. package/dist/api/types/ClaudeTeamStates.d.ts +11 -0
  207. package/dist/api/types/ClaudeTeamStates.js +17 -0
  208. package/dist/api/types/ClaudeTeamStates.mjs +1 -0
  209. package/dist/api/types/ClaudeTeamSummaryData.d.mts +10 -0
  210. package/dist/api/types/ClaudeTeamSummaryData.d.ts +10 -0
  211. package/dist/api/types/ConsolidationBlocker.d.mts +13 -0
  212. package/dist/api/types/ConsolidationBlocker.d.ts +13 -0
  213. package/dist/api/types/ConsolidationBlocker.js +4 -0
  214. package/dist/api/types/ConsolidationBlocker.mjs +4 -0
  215. package/dist/api/types/ContainerDetail.d.mts +2 -0
  216. package/dist/api/types/ContainerDetail.d.ts +2 -0
  217. package/dist/api/types/ContainerJvmDay.d.mts +20 -0
  218. package/dist/api/types/ContainerJvmDay.d.ts +20 -0
  219. package/dist/api/types/ContainerJvmDay.js +17 -0
  220. package/dist/api/types/ContainerJvmDay.mjs +1 -0
  221. package/dist/api/types/ContainerJvmMeasured.d.mts +50 -0
  222. package/dist/api/types/ContainerJvmMeasured.d.ts +50 -0
  223. package/dist/api/types/ContainerJvmMeasured.js +41 -0
  224. package/dist/api/types/ContainerJvmMeasured.mjs +17 -0
  225. package/dist/api/types/FleetNodePool.d.mts +2 -0
  226. package/dist/api/types/FleetNodePool.d.ts +2 -0
  227. package/dist/api/types/FleetWorkloadFacets.d.mts +5 -0
  228. package/dist/api/types/FleetWorkloadFacets.d.ts +5 -0
  229. package/dist/api/types/FleetWorkloadFacets.js +17 -0
  230. package/dist/api/types/FleetWorkloadFacets.mjs +1 -0
  231. package/dist/api/types/FleetWorkloadListData.d.mts +1 -0
  232. package/dist/api/types/FleetWorkloadListData.d.ts +1 -0
  233. package/dist/api/types/Indicator.d.mts +1 -0
  234. package/dist/api/types/Indicator.d.ts +1 -0
  235. package/dist/api/types/Indicator.js +1 -0
  236. package/dist/api/types/Indicator.mjs +1 -0
  237. package/dist/api/types/IndicatorCount.d.mts +1 -0
  238. package/dist/api/types/IndicatorCount.d.ts +1 -0
  239. package/dist/api/types/IndicatorCount.js +1 -0
  240. package/dist/api/types/IndicatorCount.mjs +1 -0
  241. package/dist/api/types/JvmFlags.d.mts +38 -0
  242. package/dist/api/types/JvmFlags.d.ts +38 -0
  243. package/dist/api/types/JvmFlags.js +41 -0
  244. package/dist/api/types/JvmFlags.mjs +17 -0
  245. package/dist/api/types/JvmMeasured.d.mts +52 -0
  246. package/dist/api/types/JvmMeasured.d.ts +52 -0
  247. package/dist/api/types/JvmMeasured.js +41 -0
  248. package/dist/api/types/JvmMeasured.mjs +17 -0
  249. package/dist/api/types/JvmReaderHealth.d.mts +8 -0
  250. package/dist/api/types/JvmReaderHealth.d.ts +8 -0
  251. package/dist/api/types/JvmReaderHealth.js +17 -0
  252. package/dist/api/types/JvmReaderHealth.mjs +1 -0
  253. package/dist/api/types/JvmReaderNodeHealth.d.mts +21 -0
  254. package/dist/api/types/JvmReaderNodeHealth.d.ts +21 -0
  255. package/dist/api/types/JvmReaderNodeHealth.js +37 -0
  256. package/dist/api/types/JvmReaderNodeHealth.mjs +13 -0
  257. package/dist/api/types/JvmReaderResponse.d.mts +6 -0
  258. package/dist/api/types/JvmReaderResponse.d.ts +6 -0
  259. package/dist/api/types/JvmReaderResponse.js +17 -0
  260. package/dist/api/types/JvmReaderResponse.mjs +1 -0
  261. package/dist/api/types/KarpenterPool.d.mts +2 -0
  262. package/dist/api/types/KarpenterPool.d.ts +2 -0
  263. package/dist/api/types/NodePoolUsage.d.mts +2 -0
  264. package/dist/api/types/NodePoolUsage.d.ts +2 -0
  265. package/dist/api/types/ReliabilityFacetCount.d.mts +17 -0
  266. package/dist/api/types/ReliabilityFacetCount.d.ts +17 -0
  267. package/dist/api/types/ReliabilityFacetCount.js +41 -0
  268. package/dist/api/types/ReliabilityFacetCount.mjs +17 -0
  269. package/dist/api/types/ReliabilityTotals.d.mts +2 -2
  270. package/dist/api/types/ReliabilityTotals.d.ts +2 -2
  271. package/dist/api/types/SessionsAsked.d.mts +4 -0
  272. package/dist/api/types/SessionsAsked.d.ts +4 -0
  273. package/dist/api/types/TerraformIntegrationData.d.mts +13 -0
  274. package/dist/api/types/TerraformIntegrationData.d.ts +13 -0
  275. package/dist/api/types/TerraformIntegrationData.js +17 -0
  276. package/dist/api/types/TerraformIntegrationData.mjs +1 -0
  277. package/dist/api/types/TerraformIntegrationResponse.d.mts +6 -0
  278. package/dist/api/types/TerraformIntegrationResponse.d.ts +6 -0
  279. package/dist/api/types/TerraformIntegrationResponse.js +17 -0
  280. package/dist/api/types/TerraformIntegrationResponse.mjs +1 -0
  281. package/dist/api/types/UnhealthyReason.d.mts +16 -0
  282. package/dist/api/types/UnhealthyReason.d.ts +16 -0
  283. package/dist/api/types/UnhealthyReason.js +35 -0
  284. package/dist/api/types/UnhealthyReason.mjs +11 -0
  285. package/dist/api/types/WorkloadJvm.d.mts +15 -0
  286. package/dist/api/types/WorkloadJvm.d.ts +15 -0
  287. package/dist/api/types/WorkloadJvm.js +17 -0
  288. package/dist/api/types/WorkloadJvm.mjs +1 -0
  289. package/dist/api/types/WorkloadListData.d.mts +1 -1
  290. package/dist/api/types/WorkloadListData.d.ts +1 -1
  291. package/dist/api/types/WorkloadListItem.d.mts +94 -0
  292. package/dist/api/types/WorkloadListItem.d.ts +94 -0
  293. package/dist/api/types/WorkloadListItem.js +42 -0
  294. package/dist/api/types/WorkloadListItem.mjs +18 -0
  295. package/dist/api/types/index.d.mts +46 -1
  296. package/dist/api/types/index.d.ts +46 -1
  297. package/dist/api/types/index.js +92 -2
  298. package/dist/api/types/index.mjs +46 -1
  299. package/dist/version.d.mts +1 -1
  300. package/dist/version.d.ts +1 -1
  301. package/dist/version.js +1 -1
  302. package/dist/version.mjs +1 -1
  303. package/package.json +1 -1
  304. package/dist/api/types/AnthropicUsageMeasures.d.mts +0 -9
  305. package/dist/api/types/AnthropicUsageMeasures.d.ts +0 -9
  306. package/dist/api/types/AnthropicUsageMeasures.mjs +0 -1
@@ -30,6 +30,40 @@ export declare class AccountsClient {
30
30
  */
31
31
  createIntegration(request: LevelFour.CreateIntegrationRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.CreateIntegrationResponse>;
32
32
  private __createIntegration;
33
+ /**
34
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link LevelFour.BadRequestError}
37
+ * @throws {@link LevelFour.UnauthorizedError}
38
+ * @throws {@link LevelFour.ForbiddenError}
39
+ * @throws {@link LevelFour.NotFoundError}
40
+ * @throws {@link LevelFour.ConflictError}
41
+ * @throws {@link LevelFour.UnprocessableEntityError}
42
+ * @throws {@link LevelFour.TooManyRequestsError}
43
+ * @throws {@link LevelFour.InternalServerError}
44
+ *
45
+ * @example
46
+ * await client.accounts.ensureTerraformIntegration()
47
+ */
48
+ ensureTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
49
+ private __ensureTerraformIntegration;
50
+ /**
51
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
52
+ *
53
+ * @throws {@link LevelFour.BadRequestError}
54
+ * @throws {@link LevelFour.UnauthorizedError}
55
+ * @throws {@link LevelFour.ForbiddenError}
56
+ * @throws {@link LevelFour.NotFoundError}
57
+ * @throws {@link LevelFour.ConflictError}
58
+ * @throws {@link LevelFour.UnprocessableEntityError}
59
+ * @throws {@link LevelFour.TooManyRequestsError}
60
+ * @throws {@link LevelFour.InternalServerError}
61
+ *
62
+ * @example
63
+ * await client.accounts.rotateTerraformIntegration()
64
+ */
65
+ rotateTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
66
+ private __rotateTerraformIntegration;
33
67
  /**
34
68
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
35
69
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -30,6 +30,40 @@ export declare class AccountsClient {
30
30
  */
31
31
  createIntegration(request: LevelFour.CreateIntegrationRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.CreateIntegrationResponse>;
32
32
  private __createIntegration;
33
+ /**
34
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link LevelFour.BadRequestError}
37
+ * @throws {@link LevelFour.UnauthorizedError}
38
+ * @throws {@link LevelFour.ForbiddenError}
39
+ * @throws {@link LevelFour.NotFoundError}
40
+ * @throws {@link LevelFour.ConflictError}
41
+ * @throws {@link LevelFour.UnprocessableEntityError}
42
+ * @throws {@link LevelFour.TooManyRequestsError}
43
+ * @throws {@link LevelFour.InternalServerError}
44
+ *
45
+ * @example
46
+ * await client.accounts.ensureTerraformIntegration()
47
+ */
48
+ ensureTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
49
+ private __ensureTerraformIntegration;
50
+ /**
51
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
52
+ *
53
+ * @throws {@link LevelFour.BadRequestError}
54
+ * @throws {@link LevelFour.UnauthorizedError}
55
+ * @throws {@link LevelFour.ForbiddenError}
56
+ * @throws {@link LevelFour.NotFoundError}
57
+ * @throws {@link LevelFour.ConflictError}
58
+ * @throws {@link LevelFour.UnprocessableEntityError}
59
+ * @throws {@link LevelFour.TooManyRequestsError}
60
+ * @throws {@link LevelFour.InternalServerError}
61
+ *
62
+ * @example
63
+ * await client.accounts.rotateTerraformIntegration()
64
+ */
65
+ rotateTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
66
+ private __rotateTerraformIntegration;
33
67
  /**
34
68
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
35
69
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -147,6 +147,210 @@ class AccountsClient {
147
147
  "/api/v1/accounts/integrations"
148
148
  );
149
149
  }
150
+ /**
151
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
152
+ *
153
+ * @throws {@link LevelFour.BadRequestError}
154
+ * @throws {@link LevelFour.UnauthorizedError}
155
+ * @throws {@link LevelFour.ForbiddenError}
156
+ * @throws {@link LevelFour.NotFoundError}
157
+ * @throws {@link LevelFour.ConflictError}
158
+ * @throws {@link LevelFour.UnprocessableEntityError}
159
+ * @throws {@link LevelFour.TooManyRequestsError}
160
+ * @throws {@link LevelFour.InternalServerError}
161
+ *
162
+ * @example
163
+ * await client.accounts.ensureTerraformIntegration()
164
+ */
165
+ ensureTerraformIntegration(requestOptions) {
166
+ return core.HttpResponsePromise.fromPromise(this.__ensureTerraformIntegration(requestOptions));
167
+ }
168
+ async __ensureTerraformIntegration(requestOptions) {
169
+ const _authRequest = await this._options.authProvider.getAuthRequest();
170
+ const _headers = (0, import_headers.mergeHeaders)(
171
+ _authRequest.headers,
172
+ this._options?.headers,
173
+ requestOptions?.headers
174
+ );
175
+ const _response = await core.fetcher({
176
+ url: core.url.join(
177
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
178
+ "api/v1/accounts/integrations/terraform"
179
+ ),
180
+ method: "POST",
181
+ headers: _headers,
182
+ queryParameters: requestOptions?.queryParams,
183
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
184
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
185
+ abortSignal: requestOptions?.abortSignal,
186
+ fetchFn: this._options?.fetch,
187
+ logging: this._options.logging
188
+ });
189
+ if (_response.ok) {
190
+ return {
191
+ data: _response.body,
192
+ rawResponse: _response.rawResponse
193
+ };
194
+ }
195
+ if (_response.error.reason === "status-code") {
196
+ switch (_response.error.statusCode) {
197
+ case 400:
198
+ throw new LevelFour.BadRequestError(
199
+ _response.error.body,
200
+ _response.rawResponse
201
+ );
202
+ case 401:
203
+ throw new LevelFour.UnauthorizedError(
204
+ _response.error.body,
205
+ _response.rawResponse
206
+ );
207
+ case 403:
208
+ throw new LevelFour.ForbiddenError(
209
+ _response.error.body,
210
+ _response.rawResponse
211
+ );
212
+ case 404:
213
+ throw new LevelFour.NotFoundError(
214
+ _response.error.body,
215
+ _response.rawResponse
216
+ );
217
+ case 409:
218
+ throw new LevelFour.ConflictError(
219
+ _response.error.body,
220
+ _response.rawResponse
221
+ );
222
+ case 422:
223
+ throw new LevelFour.UnprocessableEntityError(
224
+ _response.error.body,
225
+ _response.rawResponse
226
+ );
227
+ case 429:
228
+ throw new LevelFour.TooManyRequestsError(
229
+ _response.error.body,
230
+ _response.rawResponse
231
+ );
232
+ case 500:
233
+ throw new LevelFour.InternalServerError(
234
+ _response.error.body,
235
+ _response.rawResponse
236
+ );
237
+ default:
238
+ throw new errors.LevelFourError({
239
+ statusCode: _response.error.statusCode,
240
+ body: _response.error.body,
241
+ rawResponse: _response.rawResponse
242
+ });
243
+ }
244
+ }
245
+ return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(
246
+ _response.error,
247
+ _response.rawResponse,
248
+ "POST",
249
+ "/api/v1/accounts/integrations/terraform"
250
+ );
251
+ }
252
+ /**
253
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
254
+ *
255
+ * @throws {@link LevelFour.BadRequestError}
256
+ * @throws {@link LevelFour.UnauthorizedError}
257
+ * @throws {@link LevelFour.ForbiddenError}
258
+ * @throws {@link LevelFour.NotFoundError}
259
+ * @throws {@link LevelFour.ConflictError}
260
+ * @throws {@link LevelFour.UnprocessableEntityError}
261
+ * @throws {@link LevelFour.TooManyRequestsError}
262
+ * @throws {@link LevelFour.InternalServerError}
263
+ *
264
+ * @example
265
+ * await client.accounts.rotateTerraformIntegration()
266
+ */
267
+ rotateTerraformIntegration(requestOptions) {
268
+ return core.HttpResponsePromise.fromPromise(this.__rotateTerraformIntegration(requestOptions));
269
+ }
270
+ async __rotateTerraformIntegration(requestOptions) {
271
+ const _authRequest = await this._options.authProvider.getAuthRequest();
272
+ const _headers = (0, import_headers.mergeHeaders)(
273
+ _authRequest.headers,
274
+ this._options?.headers,
275
+ requestOptions?.headers
276
+ );
277
+ const _response = await core.fetcher({
278
+ url: core.url.join(
279
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
280
+ "api/v1/accounts/integrations/terraform/rotate"
281
+ ),
282
+ method: "POST",
283
+ headers: _headers,
284
+ queryParameters: requestOptions?.queryParams,
285
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
286
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
287
+ abortSignal: requestOptions?.abortSignal,
288
+ fetchFn: this._options?.fetch,
289
+ logging: this._options.logging
290
+ });
291
+ if (_response.ok) {
292
+ return {
293
+ data: _response.body,
294
+ rawResponse: _response.rawResponse
295
+ };
296
+ }
297
+ if (_response.error.reason === "status-code") {
298
+ switch (_response.error.statusCode) {
299
+ case 400:
300
+ throw new LevelFour.BadRequestError(
301
+ _response.error.body,
302
+ _response.rawResponse
303
+ );
304
+ case 401:
305
+ throw new LevelFour.UnauthorizedError(
306
+ _response.error.body,
307
+ _response.rawResponse
308
+ );
309
+ case 403:
310
+ throw new LevelFour.ForbiddenError(
311
+ _response.error.body,
312
+ _response.rawResponse
313
+ );
314
+ case 404:
315
+ throw new LevelFour.NotFoundError(
316
+ _response.error.body,
317
+ _response.rawResponse
318
+ );
319
+ case 409:
320
+ throw new LevelFour.ConflictError(
321
+ _response.error.body,
322
+ _response.rawResponse
323
+ );
324
+ case 422:
325
+ throw new LevelFour.UnprocessableEntityError(
326
+ _response.error.body,
327
+ _response.rawResponse
328
+ );
329
+ case 429:
330
+ throw new LevelFour.TooManyRequestsError(
331
+ _response.error.body,
332
+ _response.rawResponse
333
+ );
334
+ case 500:
335
+ throw new LevelFour.InternalServerError(
336
+ _response.error.body,
337
+ _response.rawResponse
338
+ );
339
+ default:
340
+ throw new errors.LevelFourError({
341
+ statusCode: _response.error.statusCode,
342
+ body: _response.error.body,
343
+ rawResponse: _response.rawResponse
344
+ });
345
+ }
346
+ }
347
+ return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(
348
+ _response.error,
349
+ _response.rawResponse,
350
+ "POST",
351
+ "/api/v1/accounts/integrations/terraform/rotate"
352
+ );
353
+ }
150
354
  /**
151
355
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
152
356
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -114,6 +114,210 @@ class AccountsClient {
114
114
  "/api/v1/accounts/integrations"
115
115
  );
116
116
  }
117
+ /**
118
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
119
+ *
120
+ * @throws {@link LevelFour.BadRequestError}
121
+ * @throws {@link LevelFour.UnauthorizedError}
122
+ * @throws {@link LevelFour.ForbiddenError}
123
+ * @throws {@link LevelFour.NotFoundError}
124
+ * @throws {@link LevelFour.ConflictError}
125
+ * @throws {@link LevelFour.UnprocessableEntityError}
126
+ * @throws {@link LevelFour.TooManyRequestsError}
127
+ * @throws {@link LevelFour.InternalServerError}
128
+ *
129
+ * @example
130
+ * await client.accounts.ensureTerraformIntegration()
131
+ */
132
+ ensureTerraformIntegration(requestOptions) {
133
+ return core.HttpResponsePromise.fromPromise(this.__ensureTerraformIntegration(requestOptions));
134
+ }
135
+ async __ensureTerraformIntegration(requestOptions) {
136
+ const _authRequest = await this._options.authProvider.getAuthRequest();
137
+ const _headers = mergeHeaders(
138
+ _authRequest.headers,
139
+ this._options?.headers,
140
+ requestOptions?.headers
141
+ );
142
+ const _response = await core.fetcher({
143
+ url: core.url.join(
144
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
145
+ "api/v1/accounts/integrations/terraform"
146
+ ),
147
+ method: "POST",
148
+ headers: _headers,
149
+ queryParameters: requestOptions?.queryParams,
150
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
151
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
152
+ abortSignal: requestOptions?.abortSignal,
153
+ fetchFn: this._options?.fetch,
154
+ logging: this._options.logging
155
+ });
156
+ if (_response.ok) {
157
+ return {
158
+ data: _response.body,
159
+ rawResponse: _response.rawResponse
160
+ };
161
+ }
162
+ if (_response.error.reason === "status-code") {
163
+ switch (_response.error.statusCode) {
164
+ case 400:
165
+ throw new LevelFour.BadRequestError(
166
+ _response.error.body,
167
+ _response.rawResponse
168
+ );
169
+ case 401:
170
+ throw new LevelFour.UnauthorizedError(
171
+ _response.error.body,
172
+ _response.rawResponse
173
+ );
174
+ case 403:
175
+ throw new LevelFour.ForbiddenError(
176
+ _response.error.body,
177
+ _response.rawResponse
178
+ );
179
+ case 404:
180
+ throw new LevelFour.NotFoundError(
181
+ _response.error.body,
182
+ _response.rawResponse
183
+ );
184
+ case 409:
185
+ throw new LevelFour.ConflictError(
186
+ _response.error.body,
187
+ _response.rawResponse
188
+ );
189
+ case 422:
190
+ throw new LevelFour.UnprocessableEntityError(
191
+ _response.error.body,
192
+ _response.rawResponse
193
+ );
194
+ case 429:
195
+ throw new LevelFour.TooManyRequestsError(
196
+ _response.error.body,
197
+ _response.rawResponse
198
+ );
199
+ case 500:
200
+ throw new LevelFour.InternalServerError(
201
+ _response.error.body,
202
+ _response.rawResponse
203
+ );
204
+ default:
205
+ throw new errors.LevelFourError({
206
+ statusCode: _response.error.statusCode,
207
+ body: _response.error.body,
208
+ rawResponse: _response.rawResponse
209
+ });
210
+ }
211
+ }
212
+ return handleNonStatusCodeError(
213
+ _response.error,
214
+ _response.rawResponse,
215
+ "POST",
216
+ "/api/v1/accounts/integrations/terraform"
217
+ );
218
+ }
219
+ /**
220
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
221
+ *
222
+ * @throws {@link LevelFour.BadRequestError}
223
+ * @throws {@link LevelFour.UnauthorizedError}
224
+ * @throws {@link LevelFour.ForbiddenError}
225
+ * @throws {@link LevelFour.NotFoundError}
226
+ * @throws {@link LevelFour.ConflictError}
227
+ * @throws {@link LevelFour.UnprocessableEntityError}
228
+ * @throws {@link LevelFour.TooManyRequestsError}
229
+ * @throws {@link LevelFour.InternalServerError}
230
+ *
231
+ * @example
232
+ * await client.accounts.rotateTerraformIntegration()
233
+ */
234
+ rotateTerraformIntegration(requestOptions) {
235
+ return core.HttpResponsePromise.fromPromise(this.__rotateTerraformIntegration(requestOptions));
236
+ }
237
+ async __rotateTerraformIntegration(requestOptions) {
238
+ const _authRequest = await this._options.authProvider.getAuthRequest();
239
+ const _headers = mergeHeaders(
240
+ _authRequest.headers,
241
+ this._options?.headers,
242
+ requestOptions?.headers
243
+ );
244
+ const _response = await core.fetcher({
245
+ url: core.url.join(
246
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
247
+ "api/v1/accounts/integrations/terraform/rotate"
248
+ ),
249
+ method: "POST",
250
+ headers: _headers,
251
+ queryParameters: requestOptions?.queryParams,
252
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
253
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
254
+ abortSignal: requestOptions?.abortSignal,
255
+ fetchFn: this._options?.fetch,
256
+ logging: this._options.logging
257
+ });
258
+ if (_response.ok) {
259
+ return {
260
+ data: _response.body,
261
+ rawResponse: _response.rawResponse
262
+ };
263
+ }
264
+ if (_response.error.reason === "status-code") {
265
+ switch (_response.error.statusCode) {
266
+ case 400:
267
+ throw new LevelFour.BadRequestError(
268
+ _response.error.body,
269
+ _response.rawResponse
270
+ );
271
+ case 401:
272
+ throw new LevelFour.UnauthorizedError(
273
+ _response.error.body,
274
+ _response.rawResponse
275
+ );
276
+ case 403:
277
+ throw new LevelFour.ForbiddenError(
278
+ _response.error.body,
279
+ _response.rawResponse
280
+ );
281
+ case 404:
282
+ throw new LevelFour.NotFoundError(
283
+ _response.error.body,
284
+ _response.rawResponse
285
+ );
286
+ case 409:
287
+ throw new LevelFour.ConflictError(
288
+ _response.error.body,
289
+ _response.rawResponse
290
+ );
291
+ case 422:
292
+ throw new LevelFour.UnprocessableEntityError(
293
+ _response.error.body,
294
+ _response.rawResponse
295
+ );
296
+ case 429:
297
+ throw new LevelFour.TooManyRequestsError(
298
+ _response.error.body,
299
+ _response.rawResponse
300
+ );
301
+ case 500:
302
+ throw new LevelFour.InternalServerError(
303
+ _response.error.body,
304
+ _response.rawResponse
305
+ );
306
+ default:
307
+ throw new errors.LevelFourError({
308
+ statusCode: _response.error.statusCode,
309
+ body: _response.error.body,
310
+ rawResponse: _response.rawResponse
311
+ });
312
+ }
313
+ }
314
+ return handleNonStatusCodeError(
315
+ _response.error,
316
+ _response.rawResponse,
317
+ "POST",
318
+ "/api/v1/accounts/integrations/terraform/rotate"
319
+ );
320
+ }
117
321
  /**
118
322
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
119
323
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.