levelfour 1.7.0 → 1.8.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 (216) hide show
  1. package/dist/api/resources/anthropic/client/Client.d.mts +150 -7
  2. package/dist/api/resources/anthropic/client/Client.d.ts +150 -7
  3. package/dist/api/resources/anthropic/client/Client.js +761 -85
  4. package/dist/api/resources/anthropic/client/Client.mjs +761 -85
  5. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.d.mts +19 -0
  6. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.d.ts +19 -0
  7. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.js +17 -0
  8. package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.mjs +1 -0
  9. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.d.mts +13 -0
  10. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.d.ts +13 -0
  11. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.js +17 -0
  12. package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.mjs +1 -0
  13. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.d.mts +13 -0
  14. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.d.ts +13 -0
  15. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.js +17 -0
  16. package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.mjs +1 -0
  17. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.d.mts +13 -0
  18. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.d.ts +13 -0
  19. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.js +17 -0
  20. package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.mjs +1 -0
  21. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.mts +2 -0
  22. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.ts +2 -0
  23. package/dist/api/resources/anthropic/client/requests/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequest.d.mts +3 -0
  24. package/dist/api/resources/anthropic/client/requests/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequest.d.ts +3 -0
  25. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.d.mts +11 -0
  26. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.d.ts +11 -0
  27. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.js +17 -0
  28. package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.mjs +1 -0
  29. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.d.mts +15 -0
  30. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.d.ts +15 -0
  31. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.js +17 -0
  32. package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.mjs +1 -0
  33. package/dist/api/resources/anthropic/client/requests/index.d.mts +6 -0
  34. package/dist/api/resources/anthropic/client/requests/index.d.ts +6 -0
  35. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.mts +1 -0
  36. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.ts +1 -0
  37. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.js +2 -1
  38. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.mjs +2 -1
  39. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.d.mts +10 -0
  40. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.d.ts +10 -0
  41. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.js +37 -0
  42. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.mjs +13 -0
  43. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.d.mts +6 -0
  44. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.d.ts +6 -0
  45. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.js +32 -0
  46. package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.mjs +8 -0
  47. package/dist/api/resources/anthropic/types/index.d.mts +2 -0
  48. package/dist/api/resources/anthropic/types/index.d.ts +2 -0
  49. package/dist/api/resources/anthropic/types/index.js +5 -1
  50. package/dist/api/resources/anthropic/types/index.mjs +2 -0
  51. package/dist/api/types/AiBreakdownData.d.mts +28 -0
  52. package/dist/api/types/AiBreakdownData.d.ts +28 -0
  53. package/dist/api/types/AiBreakdownData.js +44 -0
  54. package/dist/api/types/AiBreakdownData.mjs +20 -0
  55. package/dist/api/types/AiBreakdownDay.d.mts +5 -0
  56. package/dist/api/types/AiBreakdownDay.d.ts +5 -0
  57. package/dist/api/types/{AnthropicUsageMeasures.js → AiBreakdownDay.js} +3 -3
  58. package/dist/api/types/AiBreakdownDay.mjs +1 -0
  59. package/dist/api/types/AiBreakdownItem.d.mts +12 -0
  60. package/dist/api/types/AiBreakdownItem.d.ts +12 -0
  61. package/dist/api/types/AiBreakdownItem.js +17 -0
  62. package/dist/api/types/AiBreakdownItem.mjs +1 -0
  63. package/dist/api/types/AiBreakdownResponse.d.mts +6 -0
  64. package/dist/api/types/AiBreakdownResponse.d.ts +6 -0
  65. package/dist/api/types/AiBreakdownResponse.js +17 -0
  66. package/dist/api/types/AiBreakdownResponse.mjs +1 -0
  67. package/dist/api/types/AiFailureKind.d.mts +14 -0
  68. package/dist/api/types/AiFailureKind.d.ts +14 -0
  69. package/dist/api/types/AiFailureKind.js +38 -0
  70. package/dist/api/types/AiFailureKind.mjs +14 -0
  71. package/dist/api/types/AiFailuresData.d.mts +9 -0
  72. package/dist/api/types/AiFailuresData.d.ts +9 -0
  73. package/dist/api/types/AiFailuresData.js +17 -0
  74. package/dist/api/types/AiFailuresData.mjs +1 -0
  75. package/dist/api/types/AiFailuresResponse.d.mts +6 -0
  76. package/dist/api/types/AiFailuresResponse.d.ts +6 -0
  77. package/dist/api/types/AiFailuresResponse.js +17 -0
  78. package/dist/api/types/AiFailuresResponse.mjs +1 -0
  79. package/dist/api/types/AiMcpConnections.d.mts +8 -0
  80. package/dist/api/types/AiMcpConnections.d.ts +8 -0
  81. package/dist/api/types/AiMcpConnections.js +17 -0
  82. package/dist/api/types/AiMcpConnections.mjs +1 -0
  83. package/dist/api/types/AiMcpServer.d.mts +12 -0
  84. package/dist/api/types/AiMcpServer.d.ts +12 -0
  85. package/dist/api/types/AiMcpServer.js +17 -0
  86. package/dist/api/types/AiMcpServer.mjs +1 -0
  87. package/dist/api/types/AiMcpServersData.d.mts +5 -0
  88. package/dist/api/types/AiMcpServersData.d.ts +5 -0
  89. package/dist/api/types/AiMcpServersData.js +17 -0
  90. package/dist/api/types/AiMcpServersData.mjs +1 -0
  91. package/dist/api/types/AiMcpServersResponse.d.mts +6 -0
  92. package/dist/api/types/AiMcpServersResponse.d.ts +6 -0
  93. package/dist/api/types/AiMcpServersResponse.js +17 -0
  94. package/dist/api/types/AiMcpServersResponse.mjs +1 -0
  95. package/dist/api/types/AiPermissionMode.d.mts +5 -0
  96. package/dist/api/types/AiPermissionMode.d.ts +5 -0
  97. package/dist/api/types/AiPermissionMode.js +17 -0
  98. package/dist/api/types/AiPermissionMode.mjs +1 -0
  99. package/dist/api/types/AiPermissionModesData.d.mts +5 -0
  100. package/dist/api/types/AiPermissionModesData.d.ts +5 -0
  101. package/dist/api/types/AiPermissionModesData.js +17 -0
  102. package/dist/api/types/AiPermissionModesData.mjs +1 -0
  103. package/dist/api/types/AiPermissionModesResponse.d.mts +6 -0
  104. package/dist/api/types/AiPermissionModesResponse.d.ts +6 -0
  105. package/dist/api/types/AiPermissionModesResponse.js +17 -0
  106. package/dist/api/types/AiPermissionModesResponse.mjs +1 -0
  107. package/dist/api/types/AiPersonData.d.mts +20 -0
  108. package/dist/api/types/AiPersonData.d.ts +20 -0
  109. package/dist/api/types/AiPersonData.js +5 -0
  110. package/dist/api/types/AiPersonData.mjs +5 -0
  111. package/dist/api/types/AiPersonFailing.d.mts +17 -0
  112. package/dist/api/types/AiPersonFailing.d.ts +17 -0
  113. package/dist/api/types/AiPersonFailing.js +38 -0
  114. package/dist/api/types/AiPersonFailing.mjs +14 -0
  115. package/dist/api/types/AiPersonFailures.d.mts +17 -0
  116. package/dist/api/types/AiPersonFailures.d.ts +17 -0
  117. package/dist/api/types/AiPersonFailures.js +38 -0
  118. package/dist/api/types/AiPersonFailures.mjs +14 -0
  119. package/dist/api/types/AiPersonModel.d.mts +9 -0
  120. package/dist/api/types/AiPersonModel.d.ts +9 -0
  121. package/dist/api/types/AiPersonModel.js +17 -0
  122. package/dist/api/types/AiPersonModel.mjs +1 -0
  123. package/dist/api/types/AiPersonToolUse.d.mts +10 -0
  124. package/dist/api/types/AiPersonToolUse.d.ts +10 -0
  125. package/dist/api/types/AiPersonToolUse.js +17 -0
  126. package/dist/api/types/AiPersonToolUse.mjs +1 -0
  127. package/dist/api/types/AiPersonToolsData.d.mts +7 -0
  128. package/dist/api/types/AiPersonToolsData.d.ts +7 -0
  129. package/dist/api/types/AiPersonToolsData.js +17 -0
  130. package/dist/api/types/AiPersonToolsData.mjs +1 -0
  131. package/dist/api/types/AiPersonToolsResponse.d.mts +6 -0
  132. package/dist/api/types/AiPersonToolsResponse.d.ts +6 -0
  133. package/dist/api/types/AiPersonToolsResponse.js +17 -0
  134. package/dist/api/types/AiPersonToolsResponse.mjs +1 -0
  135. package/dist/api/types/AiSession.d.mts +23 -2
  136. package/dist/api/types/AiSession.d.ts +23 -2
  137. package/dist/api/types/AiSession.js +20 -0
  138. package/dist/api/types/AiSession.mjs +12 -0
  139. package/dist/api/types/AiSessionBucket.d.mts +8 -0
  140. package/dist/api/types/AiSessionBucket.d.ts +8 -0
  141. package/dist/api/types/AiSessionBucket.js +17 -0
  142. package/dist/api/types/AiSessionBucket.mjs +1 -0
  143. package/dist/api/types/AiSessionDetail.d.mts +45 -0
  144. package/dist/api/types/AiSessionDetail.d.ts +45 -0
  145. package/dist/api/types/AiSessionDetail.js +37 -0
  146. package/dist/api/types/AiSessionDetail.mjs +13 -0
  147. package/dist/api/types/AiSessionDetailResponse.d.mts +6 -0
  148. package/dist/api/types/AiSessionDetailResponse.d.ts +6 -0
  149. package/dist/api/types/AiSessionDetailResponse.js +17 -0
  150. package/dist/api/types/AiSessionDetailResponse.mjs +1 -0
  151. package/dist/api/types/AiSessionFailing.d.mts +28 -0
  152. package/dist/api/types/AiSessionFailing.d.ts +28 -0
  153. package/dist/api/types/AiSessionFailing.js +44 -0
  154. package/dist/api/types/AiSessionFailing.mjs +20 -0
  155. package/dist/api/types/AiSessionTool.d.mts +8 -0
  156. package/dist/api/types/AiSessionTool.d.ts +8 -0
  157. package/dist/api/types/AiSessionTool.js +17 -0
  158. package/dist/api/types/AiSessionTool.mjs +1 -0
  159. package/dist/api/types/AiTokensByType.d.mts +9 -0
  160. package/dist/api/types/AiTokensByType.d.ts +9 -0
  161. package/dist/api/types/AiTokensByType.js +17 -0
  162. package/dist/api/types/AiTokensByType.mjs +1 -0
  163. package/dist/api/types/AnthropicActivityData.d.mts +2 -0
  164. package/dist/api/types/AnthropicActivityData.d.ts +2 -0
  165. package/dist/api/types/AnthropicOverallResponseTimes.d.mts +10 -0
  166. package/dist/api/types/AnthropicOverallResponseTimes.d.ts +10 -0
  167. package/dist/api/types/AnthropicOverallResponseTimes.js +17 -0
  168. package/dist/api/types/AnthropicOverallResponseTimes.mjs +1 -0
  169. package/dist/api/types/AnthropicUsageBand.d.mts +8 -4
  170. package/dist/api/types/AnthropicUsageBand.d.ts +8 -4
  171. package/dist/api/types/AnthropicUsageData.d.mts +1 -1
  172. package/dist/api/types/AnthropicUsageData.d.ts +1 -1
  173. package/dist/api/types/AnthropicUsageDistributionData.d.mts +1 -1
  174. package/dist/api/types/AnthropicUsageDistributionData.d.ts +1 -1
  175. package/dist/api/types/AnthropicUsageTotals.d.mts +15 -0
  176. package/dist/api/types/AnthropicUsageTotals.d.ts +15 -0
  177. package/dist/api/types/AnthropicUsageTotals.js +17 -0
  178. package/dist/api/types/AnthropicUsageTotals.mjs +1 -0
  179. package/dist/api/types/BreakdownAsked.d.mts +36 -0
  180. package/dist/api/types/BreakdownAsked.d.ts +36 -0
  181. package/dist/api/types/BreakdownAsked.js +48 -0
  182. package/dist/api/types/BreakdownAsked.mjs +24 -0
  183. package/dist/api/types/ClaudeTeamAdoption.d.mts +11 -0
  184. package/dist/api/types/ClaudeTeamAdoption.d.ts +11 -0
  185. package/dist/api/types/ClaudeTeamAdoption.js +17 -0
  186. package/dist/api/types/ClaudeTeamAdoption.mjs +1 -0
  187. package/dist/api/types/ClaudeTeamAdoptionDay.d.mts +9 -0
  188. package/dist/api/types/ClaudeTeamAdoptionDay.d.ts +9 -0
  189. package/dist/api/types/ClaudeTeamAdoptionDay.js +17 -0
  190. package/dist/api/types/ClaudeTeamAdoptionDay.mjs +1 -0
  191. package/dist/api/types/ClaudeTeamPeopleData.d.mts +4 -0
  192. package/dist/api/types/ClaudeTeamPeopleData.d.ts +4 -0
  193. package/dist/api/types/ClaudeTeamPerson.d.mts +31 -0
  194. package/dist/api/types/ClaudeTeamPerson.d.ts +31 -0
  195. package/dist/api/types/ClaudeTeamPerson.js +17 -0
  196. package/dist/api/types/ClaudeTeamPerson.mjs +17 -0
  197. package/dist/api/types/ClaudeTeamStates.d.mts +11 -0
  198. package/dist/api/types/ClaudeTeamStates.d.ts +11 -0
  199. package/dist/api/types/ClaudeTeamStates.js +17 -0
  200. package/dist/api/types/ClaudeTeamStates.mjs +1 -0
  201. package/dist/api/types/ClaudeTeamSummaryData.d.mts +10 -0
  202. package/dist/api/types/ClaudeTeamSummaryData.d.ts +10 -0
  203. package/dist/api/types/SessionsAsked.d.mts +4 -0
  204. package/dist/api/types/SessionsAsked.d.ts +4 -0
  205. package/dist/api/types/index.d.mts +32 -1
  206. package/dist/api/types/index.d.ts +32 -1
  207. package/dist/api/types/index.js +64 -2
  208. package/dist/api/types/index.mjs +32 -1
  209. package/dist/version.d.mts +1 -1
  210. package/dist/version.d.ts +1 -1
  211. package/dist/version.js +1 -1
  212. package/dist/version.mjs +1 -1
  213. package/package.json +1 -1
  214. package/dist/api/types/AnthropicUsageMeasures.d.mts +0 -9
  215. package/dist/api/types/AnthropicUsageMeasures.d.ts +0 -9
  216. package/dist/api/types/AnthropicUsageMeasures.mjs +0 -1
@@ -0,0 +1,36 @@
1
+ /**
2
+ * What a measure is split by, and what keeps its rows, beside its range.
3
+ */
4
+ export interface BreakdownAsked {
5
+ measure: BreakdownAsked.Measure;
6
+ group_by: BreakdownAsked.GroupBy;
7
+ /** Keep one area, or none for the people with none */
8
+ area?: (string | null) | undefined;
9
+ /** Keep one repository, or none for no repository */
10
+ repository?: (string | null) | undefined;
11
+ /** daily adds the measure day by day */
12
+ granularity?: BreakdownAsked.Granularity | undefined;
13
+ }
14
+ export declare namespace BreakdownAsked {
15
+ const Measure: {
16
+ readonly PullRequests: "pull_requests";
17
+ readonly Commits: "commits";
18
+ readonly LinesAdded: "lines_added";
19
+ readonly LinesRemoved: "lines_removed";
20
+ readonly FailedRequests: "failed_requests";
21
+ readonly RateLimits: "rate_limits";
22
+ };
23
+ type Measure = (typeof Measure)[keyof typeof Measure];
24
+ const GroupBy: {
25
+ readonly Person: "person";
26
+ readonly Area: "area";
27
+ readonly Repository: "repository";
28
+ };
29
+ type GroupBy = (typeof GroupBy)[keyof typeof GroupBy];
30
+ /** daily adds the measure day by day */
31
+ const Granularity: {
32
+ readonly Total: "total";
33
+ readonly Daily: "daily";
34
+ };
35
+ type Granularity = (typeof Granularity)[keyof typeof Granularity];
36
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * What a measure is split by, and what keeps its rows, beside its range.
3
+ */
4
+ export interface BreakdownAsked {
5
+ measure: BreakdownAsked.Measure;
6
+ group_by: BreakdownAsked.GroupBy;
7
+ /** Keep one area, or none for the people with none */
8
+ area?: (string | null) | undefined;
9
+ /** Keep one repository, or none for no repository */
10
+ repository?: (string | null) | undefined;
11
+ /** daily adds the measure day by day */
12
+ granularity?: BreakdownAsked.Granularity | undefined;
13
+ }
14
+ export declare namespace BreakdownAsked {
15
+ const Measure: {
16
+ readonly PullRequests: "pull_requests";
17
+ readonly Commits: "commits";
18
+ readonly LinesAdded: "lines_added";
19
+ readonly LinesRemoved: "lines_removed";
20
+ readonly FailedRequests: "failed_requests";
21
+ readonly RateLimits: "rate_limits";
22
+ };
23
+ type Measure = (typeof Measure)[keyof typeof Measure];
24
+ const GroupBy: {
25
+ readonly Person: "person";
26
+ readonly Area: "area";
27
+ readonly Repository: "repository";
28
+ };
29
+ type GroupBy = (typeof GroupBy)[keyof typeof GroupBy];
30
+ /** daily adds the measure day by day */
31
+ const Granularity: {
32
+ readonly Total: "total";
33
+ readonly Daily: "daily";
34
+ };
35
+ type Granularity = (typeof Granularity)[keyof typeof Granularity];
36
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var BreakdownAsked_exports = {};
20
+ __export(BreakdownAsked_exports, {
21
+ BreakdownAsked: () => BreakdownAsked
22
+ });
23
+ module.exports = __toCommonJS(BreakdownAsked_exports);
24
+ var BreakdownAsked;
25
+ ((BreakdownAsked2) => {
26
+ BreakdownAsked2.Measure = {
27
+ PullRequests: "pull_requests",
28
+ Commits: "commits",
29
+ LinesAdded: "lines_added",
30
+ LinesRemoved: "lines_removed",
31
+ FailedRequests: "failed_requests",
32
+ RateLimits: "rate_limits"
33
+ };
34
+ BreakdownAsked2.GroupBy = {
35
+ Person: "person",
36
+ Area: "area",
37
+ Repository: "repository"
38
+ };
39
+ BreakdownAsked2.Granularity = {
40
+ Total: "total",
41
+ Daily: "daily"
42
+ };
43
+ })(BreakdownAsked || (BreakdownAsked = {}));
44
+ // Annotate the CommonJS export names for ESM import in node:
45
+ 0 && (module.exports = {
46
+ BreakdownAsked
47
+ });
48
+ //# sourceMappingURL=BreakdownAsked.js.map
@@ -0,0 +1,24 @@
1
+ var BreakdownAsked;
2
+ ((BreakdownAsked2) => {
3
+ BreakdownAsked2.Measure = {
4
+ PullRequests: "pull_requests",
5
+ Commits: "commits",
6
+ LinesAdded: "lines_added",
7
+ LinesRemoved: "lines_removed",
8
+ FailedRequests: "failed_requests",
9
+ RateLimits: "rate_limits"
10
+ };
11
+ BreakdownAsked2.GroupBy = {
12
+ Person: "person",
13
+ Area: "area",
14
+ Repository: "repository"
15
+ };
16
+ BreakdownAsked2.Granularity = {
17
+ Total: "total",
18
+ Daily: "daily"
19
+ };
20
+ })(BreakdownAsked || (BreakdownAsked = {}));
21
+ export {
22
+ BreakdownAsked
23
+ };
24
+ //# sourceMappingURL=BreakdownAsked.mjs.map
@@ -0,0 +1,11 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ClaudeTeamAdoption {
3
+ /** Seats on the latest Members list */
4
+ seats: number;
5
+ /** active_7d on the last day of the range */
6
+ active_7d: number;
7
+ /** engaged_7d on the last day of the range */
8
+ engaged_7d: number;
9
+ /** Every day of the range, the earliest first */
10
+ daily: LevelFour.ClaudeTeamAdoptionDay[];
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ClaudeTeamAdoption {
3
+ /** Seats on the latest Members list */
4
+ seats: number;
5
+ /** active_7d on the last day of the range */
6
+ active_7d: number;
7
+ /** engaged_7d on the last day of the range */
8
+ engaged_7d: number;
9
+ /** Every day of the range, the earliest first */
10
+ daily: LevelFour.ClaudeTeamAdoptionDay[];
11
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var ClaudeTeamAdoption_exports = {};
16
+ module.exports = __toCommonJS(ClaudeTeamAdoption_exports);
17
+ //# sourceMappingURL=ClaudeTeamAdoption.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClaudeTeamAdoption.mjs.map
@@ -0,0 +1,9 @@
1
+ export interface ClaudeTeamAdoptionDay {
2
+ day: string;
3
+ /** Seats the Members lists held that day, null before the first list */
4
+ seats: number | null;
5
+ /** People who sent a request in the 7 days that end that day */
6
+ active_7d: number;
7
+ /** People who sent a request on 3 or more of those 7 days */
8
+ engaged_7d: number;
9
+ }
@@ -0,0 +1,9 @@
1
+ export interface ClaudeTeamAdoptionDay {
2
+ day: string;
3
+ /** Seats the Members lists held that day, null before the first list */
4
+ seats: number | null;
5
+ /** People who sent a request in the 7 days that end that day */
6
+ active_7d: number;
7
+ /** People who sent a request on 3 or more of those 7 days */
8
+ engaged_7d: number;
9
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var ClaudeTeamAdoptionDay_exports = {};
16
+ module.exports = __toCommonJS(ClaudeTeamAdoptionDay_exports);
17
+ //# sourceMappingURL=ClaudeTeamAdoptionDay.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClaudeTeamAdoptionDay.mjs.map
@@ -3,4 +3,8 @@ export interface ClaudeTeamPeopleData {
3
3
  items: LevelFour.ClaudeTeamPerson[];
4
4
  pagination: LevelFour.PaginationMeta;
5
5
  rules: LevelFour.ClaudeTeamRules;
6
+ /** How many people each state names, counted before the state filter */
7
+ states: LevelFour.ClaudeTeamStates;
8
+ /** The newest version an install seen in the 30 days that end on the spend reports' last day is on */
9
+ latest_version: string | null;
6
10
  }
@@ -3,4 +3,8 @@ export interface ClaudeTeamPeopleData {
3
3
  items: LevelFour.ClaudeTeamPerson[];
4
4
  pagination: LevelFour.PaginationMeta;
5
5
  rules: LevelFour.ClaudeTeamRules;
6
+ /** How many people each state names, counted before the state filter */
7
+ states: LevelFour.ClaudeTeamStates;
8
+ /** The newest version an install seen in the 30 days that end on the spend reports' last day is on */
9
+ latest_version: string | null;
6
10
  }
@@ -22,6 +22,18 @@ export interface ClaudeTeamPerson {
22
22
  recommendation_id: string | null;
23
23
  /** What the recommendation saves a month */
24
24
  saving: number | null;
25
+ /** Claude Code and Cowork requests that failed them in 30 days */
26
+ failed_requests_30d: number;
27
+ /** Those that the API refused with 429, rate limited */
28
+ rate_limits_30d: number;
29
+ /** The version their install reported last, null before it did */
30
+ version: string | null;
31
+ /** current on latest_version, minor 1 to 5 releases behind it, old more */
32
+ version_state: ClaudeTeamPerson.VersionState | null;
33
+ /** Whether their install's settings are managed */
34
+ managed_settings: boolean | null;
35
+ /** What the row needs a look for: errors and rate_limited for a request that failed in 30 days, behind for a version under the newest, unmanaged, idle for more than two weeks without use, and upgrade or downgrade for the seat change it recommends */
36
+ states: ClaudeTeamPerson.States.Item[];
25
37
  }
26
38
  export declare namespace ClaudeTeamPerson {
27
39
  const Seat: {
@@ -35,4 +47,23 @@ export declare namespace ClaudeTeamPerson {
35
47
  readonly Remove: "remove";
36
48
  };
37
49
  type Recommendation = (typeof Recommendation)[keyof typeof Recommendation];
50
+ const VersionState: {
51
+ readonly Current: "current";
52
+ readonly Minor: "minor";
53
+ readonly Old: "old";
54
+ };
55
+ type VersionState = (typeof VersionState)[keyof typeof VersionState];
56
+ type States = States.Item[];
57
+ namespace States {
58
+ const Item: {
59
+ readonly Errors: "errors";
60
+ readonly RateLimited: "rate_limited";
61
+ readonly Behind: "behind";
62
+ readonly Unmanaged: "unmanaged";
63
+ readonly Idle: "idle";
64
+ readonly Upgrade: "upgrade";
65
+ readonly Downgrade: "downgrade";
66
+ };
67
+ type Item = (typeof Item)[keyof typeof Item];
68
+ }
38
69
  }
@@ -22,6 +22,18 @@ export interface ClaudeTeamPerson {
22
22
  recommendation_id: string | null;
23
23
  /** What the recommendation saves a month */
24
24
  saving: number | null;
25
+ /** Claude Code and Cowork requests that failed them in 30 days */
26
+ failed_requests_30d: number;
27
+ /** Those that the API refused with 429, rate limited */
28
+ rate_limits_30d: number;
29
+ /** The version their install reported last, null before it did */
30
+ version: string | null;
31
+ /** current on latest_version, minor 1 to 5 releases behind it, old more */
32
+ version_state: ClaudeTeamPerson.VersionState | null;
33
+ /** Whether their install's settings are managed */
34
+ managed_settings: boolean | null;
35
+ /** What the row needs a look for: errors and rate_limited for a request that failed in 30 days, behind for a version under the newest, unmanaged, idle for more than two weeks without use, and upgrade or downgrade for the seat change it recommends */
36
+ states: ClaudeTeamPerson.States.Item[];
25
37
  }
26
38
  export declare namespace ClaudeTeamPerson {
27
39
  const Seat: {
@@ -35,4 +47,23 @@ export declare namespace ClaudeTeamPerson {
35
47
  readonly Remove: "remove";
36
48
  };
37
49
  type Recommendation = (typeof Recommendation)[keyof typeof Recommendation];
50
+ const VersionState: {
51
+ readonly Current: "current";
52
+ readonly Minor: "minor";
53
+ readonly Old: "old";
54
+ };
55
+ type VersionState = (typeof VersionState)[keyof typeof VersionState];
56
+ type States = States.Item[];
57
+ namespace States {
58
+ const Item: {
59
+ readonly Errors: "errors";
60
+ readonly RateLimited: "rate_limited";
61
+ readonly Behind: "behind";
62
+ readonly Unmanaged: "unmanaged";
63
+ readonly Idle: "idle";
64
+ readonly Upgrade: "upgrade";
65
+ readonly Downgrade: "downgrade";
66
+ };
67
+ type Item = (typeof Item)[keyof typeof Item];
68
+ }
38
69
  }
@@ -32,6 +32,23 @@ var ClaudeTeamPerson;
32
32
  Downgrade: "downgrade",
33
33
  Remove: "remove"
34
34
  };
35
+ ClaudeTeamPerson2.VersionState = {
36
+ Current: "current",
37
+ Minor: "minor",
38
+ Old: "old"
39
+ };
40
+ let States;
41
+ ((States2) => {
42
+ States2.Item = {
43
+ Errors: "errors",
44
+ RateLimited: "rate_limited",
45
+ Behind: "behind",
46
+ Unmanaged: "unmanaged",
47
+ Idle: "idle",
48
+ Upgrade: "upgrade",
49
+ Downgrade: "downgrade"
50
+ };
51
+ })(States = ClaudeTeamPerson2.States || (ClaudeTeamPerson2.States = {}));
35
52
  })(ClaudeTeamPerson || (ClaudeTeamPerson = {}));
36
53
  // Annotate the CommonJS export names for ESM import in node:
37
54
  0 && (module.exports = {
@@ -9,6 +9,23 @@ var ClaudeTeamPerson;
9
9
  Downgrade: "downgrade",
10
10
  Remove: "remove"
11
11
  };
12
+ ClaudeTeamPerson2.VersionState = {
13
+ Current: "current",
14
+ Minor: "minor",
15
+ Old: "old"
16
+ };
17
+ let States;
18
+ ((States2) => {
19
+ States2.Item = {
20
+ Errors: "errors",
21
+ RateLimited: "rate_limited",
22
+ Behind: "behind",
23
+ Unmanaged: "unmanaged",
24
+ Idle: "idle",
25
+ Upgrade: "upgrade",
26
+ Downgrade: "downgrade"
27
+ };
28
+ })(States = ClaudeTeamPerson2.States || (ClaudeTeamPerson2.States = {}));
12
29
  })(ClaudeTeamPerson || (ClaudeTeamPerson = {}));
13
30
  export {
14
31
  ClaudeTeamPerson
@@ -0,0 +1,11 @@
1
+ export interface ClaudeTeamStates {
2
+ /** The people every filter but state keeps */
3
+ all: number;
4
+ errors: number;
5
+ rate_limited: number;
6
+ behind: number;
7
+ unmanaged: number;
8
+ idle: number;
9
+ upgrade: number;
10
+ downgrade: number;
11
+ }
@@ -0,0 +1,11 @@
1
+ export interface ClaudeTeamStates {
2
+ /** The people every filter but state keeps */
3
+ all: number;
4
+ errors: number;
5
+ rate_limited: number;
6
+ behind: number;
7
+ unmanaged: number;
8
+ idle: number;
9
+ upgrade: number;
10
+ downgrade: number;
11
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var ClaudeTeamStates_exports = {};
16
+ module.exports = __toCommonJS(ClaudeTeamStates_exports);
17
+ //# sourceMappingURL=ClaudeTeamStates.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClaudeTeamStates.mjs.map
@@ -28,6 +28,16 @@ export interface ClaudeTeamSummaryData {
28
28
  price_gap: number;
29
29
  /** The last six months through the end of the range */
30
30
  monthly: LevelFour.ClaudeTeamMonth[];
31
+ /** The last day the month's bill is known through: the last day a spend report reaches, or the day before the month when none reaches into it yet */
32
+ reported_through: string;
33
+ /** The bill of the month the range ends in, through reported_through */
34
+ month_to_date: number;
35
+ /** month_to_date plus the daily average of the 7 days that end on reported_through for each day left in the month after it */
36
+ estimate: number;
37
+ /** The bill of the month before, in whole, null with no bill */
38
+ last_month: number | null;
39
+ /** Seats, and the people active and engaged in the 7 days that end each day, from Claude Code and Cowork telemetry */
40
+ adoption: LevelFour.ClaudeTeamAdoption;
31
41
  }
32
42
  export declare namespace ClaudeTeamSummaryData {
33
43
  const Coverage: {
@@ -28,6 +28,16 @@ export interface ClaudeTeamSummaryData {
28
28
  price_gap: number;
29
29
  /** The last six months through the end of the range */
30
30
  monthly: LevelFour.ClaudeTeamMonth[];
31
+ /** The last day the month's bill is known through: the last day a spend report reaches, or the day before the month when none reaches into it yet */
32
+ reported_through: string;
33
+ /** The bill of the month the range ends in, through reported_through */
34
+ month_to_date: number;
35
+ /** month_to_date plus the daily average of the 7 days that end on reported_through for each day left in the month after it */
36
+ estimate: number;
37
+ /** The bill of the month before, in whole, null with no bill */
38
+ last_month: number | null;
39
+ /** Seats, and the people active and engaged in the 7 days that end each day, from Claude Code and Cowork telemetry */
40
+ adoption: LevelFour.ClaudeTeamAdoption;
31
41
  }
32
42
  export declare namespace ClaudeTeamSummaryData {
33
43
  const Coverage: {
@@ -1,4 +1,8 @@
1
1
  export interface SessionsAsked {
2
2
  page?: number | undefined;
3
3
  page_size?: number | undefined;
4
+ /** Keep the sessions with a request that day */
5
+ day?: (string | null) | undefined;
6
+ /** Keep the sessions with a failed request */
7
+ failed?: boolean | undefined;
4
8
  }
@@ -1,4 +1,8 @@
1
1
  export interface SessionsAsked {
2
2
  page?: number | undefined;
3
3
  page_size?: number | undefined;
4
+ /** Keep the sessions with a request that day */
5
+ day?: (string | null) | undefined;
6
+ /** Keep the sessions with a failed request */
7
+ failed?: boolean | undefined;
4
8
  }
@@ -9,15 +9,41 @@ export * from "./AccountItem.mjs";
9
9
  export * from "./AccountListData.mjs";
10
10
  export * from "./AccountListResponse.mjs";
11
11
  export * from "./AddReactionRequest.mjs";
12
+ export * from "./AiBreakdownData.mjs";
13
+ export * from "./AiBreakdownDay.mjs";
14
+ export * from "./AiBreakdownItem.mjs";
15
+ export * from "./AiBreakdownResponse.mjs";
12
16
  export * from "./AiDataAvailabilityData.mjs";
13
17
  export * from "./AiDataAvailabilityResponse.mjs";
18
+ export * from "./AiFailureKind.mjs";
19
+ export * from "./AiFailuresData.mjs";
20
+ export * from "./AiFailuresResponse.mjs";
21
+ export * from "./AiMcpConnections.mjs";
22
+ export * from "./AiMcpServer.mjs";
23
+ export * from "./AiMcpServersData.mjs";
24
+ export * from "./AiMcpServersResponse.mjs";
25
+ export * from "./AiPermissionMode.mjs";
26
+ export * from "./AiPermissionModesData.mjs";
27
+ export * from "./AiPermissionModesResponse.mjs";
14
28
  export * from "./AiPersonData.mjs";
29
+ export * from "./AiPersonFailing.mjs";
30
+ export * from "./AiPersonFailures.mjs";
31
+ export * from "./AiPersonModel.mjs";
15
32
  export * from "./AiPersonRecommendation.mjs";
16
33
  export * from "./AiPersonResponse.mjs";
34
+ export * from "./AiPersonToolsData.mjs";
35
+ export * from "./AiPersonToolsResponse.mjs";
36
+ export * from "./AiPersonToolUse.mjs";
17
37
  export * from "./AiPersonWeek.mjs";
18
38
  export * from "./AiSession.mjs";
39
+ export * from "./AiSessionBucket.mjs";
40
+ export * from "./AiSessionDetail.mjs";
41
+ export * from "./AiSessionDetailResponse.mjs";
42
+ export * from "./AiSessionFailing.mjs";
19
43
  export * from "./AiSessionsData.mjs";
20
44
  export * from "./AiSessionsResponse.mjs";
45
+ export * from "./AiSessionTool.mjs";
46
+ export * from "./AiTokensByType.mjs";
21
47
  export * from "./AlertDeletedResponse.mjs";
22
48
  export * from "./AlertEvent.mjs";
23
49
  export * from "./AlertEventListResponse.mjs";
@@ -91,6 +117,7 @@ export * from "./AnthropicMostCommits.mjs";
91
117
  export * from "./AnthropicMostErrors.mjs";
92
118
  export * from "./AnthropicMostLines.mjs";
93
119
  export * from "./AnthropicOrganizations.mjs";
120
+ export * from "./AnthropicOverallResponseTimes.mjs";
94
121
  export * from "./AnthropicPersonNamed.mjs";
95
122
  export * from "./AnthropicPersonOnVersion.mjs";
96
123
  export * from "./AnthropicResponseTimes.mjs";
@@ -103,8 +130,8 @@ export * from "./AnthropicUsageDay.mjs";
103
130
  export * from "./AnthropicUsageDistributionData.mjs";
104
131
  export * from "./AnthropicUsageDistributionResponse.mjs";
105
132
  export * from "./AnthropicUsageGroup.mjs";
106
- export * from "./AnthropicUsageMeasures.mjs";
107
133
  export * from "./AnthropicUsageResponse.mjs";
134
+ export * from "./AnthropicUsageTotals.mjs";
108
135
  export * from "./AnthropicWithoutManagedSettings.mjs";
109
136
  export * from "./ApiKeyCreatedData.mjs";
110
137
  export * from "./ApiKeyData.mjs";
@@ -162,6 +189,7 @@ export * from "./BodyUploadAttachmentApiV1CommitmentsDetailCommitmentIdAttachmen
162
189
  export * from "./BodyUploadAttachmentApiV1RecommendationsRecommendationIdAttachmentsPost.mjs";
163
190
  export * from "./BothBasesTotals.mjs";
164
191
  export * from "./BoughtOutside.mjs";
192
+ export * from "./BreakdownAsked.mjs";
165
193
  export * from "./BudgetItem.mjs";
166
194
  export * from "./BudgetParamsInput.mjs";
167
195
  export * from "./BudgetParamsOutput.mjs";
@@ -182,6 +210,8 @@ export * from "./ChangesParamsOutput.mjs";
182
210
  export * from "./ChartForecast.mjs";
183
211
  export * from "./ChildrenSavings.mjs";
184
212
  export * from "./ClaimDay.mjs";
213
+ export * from "./ClaudeTeamAdoption.mjs";
214
+ export * from "./ClaudeTeamAdoptionDay.mjs";
185
215
  export * from "./ClaudeTeamArea.mjs";
186
216
  export * from "./ClaudeTeamAreaFigures.mjs";
187
217
  export * from "./ClaudeTeamAreaPreview.mjs";
@@ -201,6 +231,7 @@ export * from "./ClaudeTeamRules.mjs";
201
231
  export * from "./ClaudeTeamSeats.mjs";
202
232
  export * from "./ClaudeTeamSettingsData.mjs";
203
233
  export * from "./ClaudeTeamSettingsResponse.mjs";
234
+ export * from "./ClaudeTeamStates.mjs";
204
235
  export * from "./ClaudeTeamSummaryData.mjs";
205
236
  export * from "./ClaudeTeamSummaryResponse.mjs";
206
237
  export * from "./ClaudeTeamUpgradeRule.mjs";