levelfour 1.6.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.
- package/dist/Client.d.mts +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +25 -20
- package/dist/Client.mjs +5 -0
- package/dist/api/resources/anthropic/client/Client.d.mts +150 -7
- package/dist/api/resources/anthropic/client/Client.d.ts +150 -7
- package/dist/api/resources/anthropic/client/Client.js +761 -85
- package/dist/api/resources/anthropic/client/Client.mjs +761 -85
- package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.d.mts +19 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.d.ts +19 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityBreakdownApiV1ProvidersAnthropicActivityBreakdownGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.d.mts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.d.ts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityFailuresApiV1ProvidersAnthropicActivityFailuresGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.d.mts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.d.ts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityMcpApiV1ProvidersAnthropicActivityMcpGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.d.mts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.d.ts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetActivityPermissionModesApiV1ProvidersAnthropicActivityPermissionModesGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.mts +2 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.ts +2 -0
- package/dist/api/resources/anthropic/client/requests/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequest.d.mts +3 -0
- package/dist/api/resources/anthropic/client/requests/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequest.d.ts +3 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.d.mts +11 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.d.ts +11 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionApiV1ProvidersAnthropicUsagePeoplePersonSessionsSessionGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.d.mts +15 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.d.ts +15 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonToolsApiV1ProvidersAnthropicUsagePeoplePersonToolsGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/index.d.mts +6 -0
- package/dist/api/resources/anthropic/client/requests/index.d.ts +6 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.mts +1 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.ts +1 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.js +2 -1
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.mjs +2 -1
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.d.mts +10 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.d.ts +10 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.js +37 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestState.mjs +13 -0
- package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.d.mts +6 -0
- package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.d.ts +6 -0
- package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.js +32 -0
- package/dist/api/resources/anthropic/types/GetUsageDistributionApiV1ProvidersAnthropicUsageDistributionGetRequestBasis.mjs +8 -0
- package/dist/api/resources/anthropic/types/index.d.mts +2 -0
- package/dist/api/resources/anthropic/types/index.d.ts +2 -0
- package/dist/api/resources/anthropic/types/index.js +5 -1
- package/dist/api/resources/anthropic/types/index.mjs +2 -0
- package/dist/api/resources/boards/client/Client.d.mts +3 -2
- package/dist/api/resources/boards/client/Client.d.ts +3 -2
- package/dist/api/resources/boards/client/Client.js +10 -5
- package/dist/api/resources/boards/client/Client.mjs +10 -5
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.mts +8 -0
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.d.ts +8 -0
- package/dist/api/{types/AnthropicUsageMeasures.js → resources/boards/client/requests/ListBoardsRequest.js} +3 -3
- package/dist/api/resources/boards/client/requests/ListBoardsRequest.mjs +1 -0
- package/dist/api/resources/boards/client/requests/index.d.mts +1 -0
- package/dist/api/resources/boards/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.mts +3 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +8 -1
- package/dist/api/resources/index.mjs +4 -0
- package/dist/api/resources/kubernetes/client/Client.d.mts +54 -0
- package/dist/api/resources/kubernetes/client/Client.d.ts +54 -0
- package/dist/api/resources/kubernetes/client/Client.js +251 -0
- package/dist/api/resources/kubernetes/client/Client.mjs +217 -0
- package/dist/api/resources/kubernetes/client/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/client/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/client/index.js +23 -0
- package/dist/api/resources/kubernetes/client/index.mjs +2 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.mts +9 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.d.ts +9 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.js +17 -0
- package/dist/api/resources/kubernetes/client/requests/GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.mjs +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/client/requests/index.js +17 -0
- package/dist/api/resources/kubernetes/client/requests/index.mjs +1 -0
- package/dist/api/resources/kubernetes/exports.d.mts +2 -0
- package/dist/api/resources/kubernetes/exports.d.ts +2 -0
- package/dist/api/resources/kubernetes/exports.js +32 -0
- package/dist/api/resources/kubernetes/exports.mjs +6 -0
- package/dist/api/resources/kubernetes/index.d.mts +1 -0
- package/dist/api/resources/kubernetes/index.d.ts +1 -0
- package/dist/api/resources/kubernetes/index.js +23 -0
- package/dist/api/resources/kubernetes/index.mjs +2 -0
- package/dist/api/resources/workspace/client/Client.d.mts +2 -1
- package/dist/api/resources/workspace/client/Client.d.ts +2 -1
- package/dist/api/resources/workspace/client/Client.js +7 -3
- package/dist/api/resources/workspace/client/Client.mjs +7 -3
- package/dist/api/resources/workspace/client/index.d.mts +1 -1
- package/dist/api/resources/workspace/client/index.d.ts +1 -1
- package/dist/api/resources/workspace/client/index.js +6 -0
- package/dist/api/resources/workspace/client/index.mjs +1 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.mts +23 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.d.ts +23 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.js +39 -0
- package/dist/api/resources/workspace/client/requests/CreateWorkspaceRequest.mjs +15 -0
- package/dist/api/resources/workspace/client/requests/index.d.mts +1 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspace/client/requests/index.js +29 -0
- package/dist/api/resources/workspace/client/requests/index.mjs +5 -0
- package/dist/api/types/AccountItem.d.mts +4 -0
- package/dist/api/types/AccountItem.d.ts +4 -0
- package/dist/api/types/AiBreakdownData.d.mts +28 -0
- package/dist/api/types/AiBreakdownData.d.ts +28 -0
- package/dist/api/types/AiBreakdownData.js +44 -0
- package/dist/api/types/AiBreakdownData.mjs +20 -0
- package/dist/api/types/AiBreakdownDay.d.mts +5 -0
- package/dist/api/types/AiBreakdownDay.d.ts +5 -0
- package/dist/api/types/AiBreakdownDay.js +17 -0
- package/dist/api/types/AiBreakdownDay.mjs +1 -0
- package/dist/api/types/AiBreakdownItem.d.mts +12 -0
- package/dist/api/types/AiBreakdownItem.d.ts +12 -0
- package/dist/api/types/AiBreakdownItem.js +17 -0
- package/dist/api/types/AiBreakdownItem.mjs +1 -0
- package/dist/api/types/AiBreakdownResponse.d.mts +6 -0
- package/dist/api/types/AiBreakdownResponse.d.ts +6 -0
- package/dist/api/types/AiBreakdownResponse.js +17 -0
- package/dist/api/types/AiBreakdownResponse.mjs +1 -0
- package/dist/api/types/AiFailureKind.d.mts +14 -0
- package/dist/api/types/AiFailureKind.d.ts +14 -0
- package/dist/api/types/AiFailureKind.js +38 -0
- package/dist/api/types/AiFailureKind.mjs +14 -0
- package/dist/api/types/AiFailuresData.d.mts +9 -0
- package/dist/api/types/AiFailuresData.d.ts +9 -0
- package/dist/api/types/AiFailuresData.js +17 -0
- package/dist/api/types/AiFailuresData.mjs +1 -0
- package/dist/api/types/AiFailuresResponse.d.mts +6 -0
- package/dist/api/types/AiFailuresResponse.d.ts +6 -0
- package/dist/api/types/AiFailuresResponse.js +17 -0
- package/dist/api/types/AiFailuresResponse.mjs +1 -0
- package/dist/api/types/AiMcpConnections.d.mts +8 -0
- package/dist/api/types/AiMcpConnections.d.ts +8 -0
- package/dist/api/types/AiMcpConnections.js +17 -0
- package/dist/api/types/AiMcpConnections.mjs +1 -0
- package/dist/api/types/AiMcpServer.d.mts +12 -0
- package/dist/api/types/AiMcpServer.d.ts +12 -0
- package/dist/api/types/AiMcpServer.js +17 -0
- package/dist/api/types/AiMcpServer.mjs +1 -0
- package/dist/api/types/AiMcpServersData.d.mts +5 -0
- package/dist/api/types/AiMcpServersData.d.ts +5 -0
- package/dist/api/types/AiMcpServersData.js +17 -0
- package/dist/api/types/AiMcpServersData.mjs +1 -0
- package/dist/api/types/AiMcpServersResponse.d.mts +6 -0
- package/dist/api/types/AiMcpServersResponse.d.ts +6 -0
- package/dist/api/types/AiMcpServersResponse.js +17 -0
- package/dist/api/types/AiMcpServersResponse.mjs +1 -0
- package/dist/api/types/AiPermissionMode.d.mts +5 -0
- package/dist/api/types/AiPermissionMode.d.ts +5 -0
- package/dist/api/types/AiPermissionMode.js +17 -0
- package/dist/api/types/AiPermissionMode.mjs +1 -0
- package/dist/api/types/AiPermissionModesData.d.mts +5 -0
- package/dist/api/types/AiPermissionModesData.d.ts +5 -0
- package/dist/api/types/AiPermissionModesData.js +17 -0
- package/dist/api/types/AiPermissionModesData.mjs +1 -0
- package/dist/api/types/AiPermissionModesResponse.d.mts +6 -0
- package/dist/api/types/AiPermissionModesResponse.d.ts +6 -0
- package/dist/api/types/AiPermissionModesResponse.js +17 -0
- package/dist/api/types/AiPermissionModesResponse.mjs +1 -0
- package/dist/api/types/AiPersonData.d.mts +20 -0
- package/dist/api/types/AiPersonData.d.ts +20 -0
- package/dist/api/types/AiPersonData.js +5 -0
- package/dist/api/types/AiPersonData.mjs +5 -0
- package/dist/api/types/AiPersonFailing.d.mts +17 -0
- package/dist/api/types/AiPersonFailing.d.ts +17 -0
- package/dist/api/types/AiPersonFailing.js +38 -0
- package/dist/api/types/AiPersonFailing.mjs +14 -0
- package/dist/api/types/AiPersonFailures.d.mts +17 -0
- package/dist/api/types/AiPersonFailures.d.ts +17 -0
- package/dist/api/types/AiPersonFailures.js +38 -0
- package/dist/api/types/AiPersonFailures.mjs +14 -0
- package/dist/api/types/AiPersonModel.d.mts +9 -0
- package/dist/api/types/AiPersonModel.d.ts +9 -0
- package/dist/api/types/AiPersonModel.js +17 -0
- package/dist/api/types/AiPersonModel.mjs +1 -0
- package/dist/api/types/AiPersonToolUse.d.mts +10 -0
- package/dist/api/types/AiPersonToolUse.d.ts +10 -0
- package/dist/api/types/AiPersonToolUse.js +17 -0
- package/dist/api/types/AiPersonToolUse.mjs +1 -0
- package/dist/api/types/AiPersonToolsData.d.mts +7 -0
- package/dist/api/types/AiPersonToolsData.d.ts +7 -0
- package/dist/api/types/AiPersonToolsData.js +17 -0
- package/dist/api/types/AiPersonToolsData.mjs +1 -0
- package/dist/api/types/AiPersonToolsResponse.d.mts +6 -0
- package/dist/api/types/AiPersonToolsResponse.d.ts +6 -0
- package/dist/api/types/AiPersonToolsResponse.js +17 -0
- package/dist/api/types/AiPersonToolsResponse.mjs +1 -0
- package/dist/api/types/AiSession.d.mts +23 -2
- package/dist/api/types/AiSession.d.ts +23 -2
- package/dist/api/types/AiSession.js +20 -0
- package/dist/api/types/AiSession.mjs +12 -0
- package/dist/api/types/AiSessionBucket.d.mts +8 -0
- package/dist/api/types/AiSessionBucket.d.ts +8 -0
- package/dist/api/types/AiSessionBucket.js +17 -0
- package/dist/api/types/AiSessionBucket.mjs +1 -0
- package/dist/api/types/AiSessionDetail.d.mts +45 -0
- package/dist/api/types/AiSessionDetail.d.ts +45 -0
- package/dist/api/types/AiSessionDetail.js +37 -0
- package/dist/api/types/AiSessionDetail.mjs +13 -0
- package/dist/api/types/AiSessionDetailResponse.d.mts +6 -0
- package/dist/api/types/AiSessionDetailResponse.d.ts +6 -0
- package/dist/api/types/AiSessionDetailResponse.js +17 -0
- package/dist/api/types/AiSessionDetailResponse.mjs +1 -0
- package/dist/api/types/AiSessionFailing.d.mts +28 -0
- package/dist/api/types/AiSessionFailing.d.ts +28 -0
- package/dist/api/types/AiSessionFailing.js +44 -0
- package/dist/api/types/AiSessionFailing.mjs +20 -0
- package/dist/api/types/AiSessionTool.d.mts +8 -0
- package/dist/api/types/AiSessionTool.d.ts +8 -0
- package/dist/api/types/AiSessionTool.js +17 -0
- package/dist/api/types/AiSessionTool.mjs +1 -0
- package/dist/api/types/AiTokensByType.d.mts +9 -0
- package/dist/api/types/AiTokensByType.d.ts +9 -0
- package/dist/api/types/AiTokensByType.js +17 -0
- package/dist/api/types/AiTokensByType.mjs +1 -0
- package/dist/api/types/AnthropicActivityData.d.mts +2 -0
- package/dist/api/types/AnthropicActivityData.d.ts +2 -0
- package/dist/api/types/AnthropicOverallResponseTimes.d.mts +10 -0
- package/dist/api/types/AnthropicOverallResponseTimes.d.ts +10 -0
- package/dist/api/types/AnthropicOverallResponseTimes.js +17 -0
- package/dist/api/types/AnthropicOverallResponseTimes.mjs +1 -0
- package/dist/api/types/AnthropicUsageBand.d.mts +8 -4
- package/dist/api/types/AnthropicUsageBand.d.ts +8 -4
- package/dist/api/types/AnthropicUsageData.d.mts +1 -1
- package/dist/api/types/AnthropicUsageData.d.ts +1 -1
- package/dist/api/types/AnthropicUsageDistributionData.d.mts +1 -1
- package/dist/api/types/AnthropicUsageDistributionData.d.ts +1 -1
- package/dist/api/types/AnthropicUsageTotals.d.mts +15 -0
- package/dist/api/types/AnthropicUsageTotals.d.ts +15 -0
- package/dist/api/types/AnthropicUsageTotals.js +17 -0
- package/dist/api/types/AnthropicUsageTotals.mjs +1 -0
- package/dist/api/types/AutomationAction.d.mts +33 -1
- package/dist/api/types/AutomationAction.d.ts +33 -1
- package/dist/api/types/AutomationAction.js +31 -3
- package/dist/api/types/AutomationAction.mjs +31 -3
- package/dist/api/types/AutomationComponent.d.mts +6 -0
- package/dist/api/types/AutomationComponent.d.ts +6 -0
- package/dist/api/types/AutomationEvent.d.mts +13 -0
- package/dist/api/types/AutomationEvent.d.ts +13 -0
- package/dist/api/types/AutomationEvent.js +21 -0
- package/dist/api/types/AutomationEvent.mjs +13 -0
- package/dist/api/types/AutomationEventList.d.mts +3 -1
- package/dist/api/types/AutomationEventList.d.ts +3 -1
- package/dist/api/types/AutomationSettings.d.mts +9 -0
- package/dist/api/types/AutomationSettings.d.ts +9 -0
- package/dist/api/types/AutoscalerCounts.d.mts +8 -0
- package/dist/api/types/AutoscalerCounts.d.ts +8 -0
- package/dist/api/types/AutoscalerCounts.js +17 -0
- package/dist/api/types/AutoscalerCounts.mjs +1 -0
- package/dist/api/types/Board.d.mts +1 -1
- package/dist/api/types/Board.d.ts +1 -1
- package/dist/api/types/BothBasesTotals.d.mts +5 -0
- package/dist/api/types/BothBasesTotals.d.ts +5 -0
- package/dist/api/types/BothBasesTotals.js +17 -0
- package/dist/api/types/BothBasesTotals.mjs +1 -0
- package/dist/api/types/BreakdownAsked.d.mts +36 -0
- package/dist/api/types/BreakdownAsked.d.ts +36 -0
- package/dist/api/types/BreakdownAsked.js +48 -0
- package/dist/api/types/BreakdownAsked.mjs +24 -0
- package/dist/api/types/ClaudeTeamAdoption.d.mts +11 -0
- package/dist/api/types/ClaudeTeamAdoption.d.ts +11 -0
- package/dist/api/types/ClaudeTeamAdoption.js +17 -0
- package/dist/api/types/ClaudeTeamAdoption.mjs +1 -0
- package/dist/api/types/ClaudeTeamAdoptionDay.d.mts +9 -0
- package/dist/api/types/ClaudeTeamAdoptionDay.d.ts +9 -0
- package/dist/api/types/ClaudeTeamAdoptionDay.js +17 -0
- package/dist/api/types/ClaudeTeamAdoptionDay.mjs +1 -0
- package/dist/api/types/ClaudeTeamPeopleData.d.mts +4 -0
- package/dist/api/types/ClaudeTeamPeopleData.d.ts +4 -0
- package/dist/api/types/ClaudeTeamPerson.d.mts +31 -0
- package/dist/api/types/ClaudeTeamPerson.d.ts +31 -0
- package/dist/api/types/ClaudeTeamPerson.js +17 -0
- package/dist/api/types/ClaudeTeamPerson.mjs +17 -0
- package/dist/api/types/ClaudeTeamStates.d.mts +11 -0
- package/dist/api/types/ClaudeTeamStates.d.ts +11 -0
- package/dist/api/types/ClaudeTeamStates.js +17 -0
- package/dist/api/types/ClaudeTeamStates.mjs +1 -0
- package/dist/api/types/ClaudeTeamSummaryData.d.mts +10 -0
- package/dist/api/types/ClaudeTeamSummaryData.d.ts +10 -0
- package/dist/api/types/ClusterAutomation.d.mts +1 -0
- package/dist/api/types/ClusterAutomation.d.ts +1 -0
- package/dist/api/types/ClusterConfig.d.mts +15 -0
- package/dist/api/types/ClusterConfig.d.ts +15 -0
- package/dist/api/types/ClusterConfig.js +17 -0
- package/dist/api/types/ClusterConfig.mjs +1 -0
- package/dist/api/types/ClusterFilterOptions.d.mts +5 -0
- package/dist/api/types/ClusterFilterOptions.d.ts +5 -0
- package/dist/api/types/ClusterItem.d.mts +22 -0
- package/dist/api/types/ClusterItem.d.ts +22 -0
- package/dist/api/types/ClusterSummary.d.mts +16 -0
- package/dist/api/types/ClusterSummary.d.ts +16 -0
- package/dist/api/types/ComputeMonth.d.mts +10 -0
- package/dist/api/types/ComputeMonth.d.ts +10 -0
- package/dist/api/types/ComputeMonth.js +17 -0
- package/dist/api/types/ComputeMonth.mjs +1 -0
- package/dist/api/types/ConfigLock.d.mts +6 -0
- package/dist/api/types/ConfigLock.d.ts +6 -0
- package/dist/api/types/ConfigLock.js +17 -0
- package/dist/api/types/ConfigLock.mjs +1 -0
- package/dist/api/types/ConfigObjectView.d.mts +41 -0
- package/dist/api/types/ConfigObjectView.d.ts +41 -0
- package/dist/api/types/ConfigObjectView.js +48 -0
- package/dist/api/types/ConfigObjectView.mjs +24 -0
- package/dist/api/types/ConfigTarget.d.mts +12 -0
- package/dist/api/types/ConfigTarget.d.ts +12 -0
- package/dist/api/types/ConfigTarget.js +36 -0
- package/dist/api/types/ConfigTarget.mjs +12 -0
- package/dist/api/types/ContainerDetail.d.mts +2 -0
- package/dist/api/types/ContainerDetail.d.ts +2 -0
- package/dist/api/types/CostGroup.d.mts +2 -0
- package/dist/api/types/CostGroup.d.ts +2 -0
- package/dist/api/types/CostPair.d.mts +6 -0
- package/dist/api/types/CostPair.d.ts +6 -0
- package/dist/api/types/CostPair.js +17 -0
- package/dist/api/types/CostPair.mjs +1 -0
- package/dist/api/types/DatadogHygieneData.d.mts +1 -1
- package/dist/api/types/DatadogHygieneData.d.ts +1 -1
- package/dist/api/types/DatadogHygieneRule.d.mts +3 -1
- package/dist/api/types/DatadogHygieneRule.d.ts +3 -1
- package/dist/api/types/EfficiencyPoint.d.mts +6 -0
- package/dist/api/types/EfficiencyPoint.d.ts +6 -0
- package/dist/api/types/EksAddon.d.mts +7 -0
- package/dist/api/types/EksAddon.d.ts +7 -0
- package/dist/api/types/EksAddon.js +17 -0
- package/dist/api/types/EksAddon.mjs +1 -0
- package/dist/api/types/EksCluster.d.mts +34 -0
- package/dist/api/types/EksCluster.d.ts +34 -0
- package/dist/api/types/EksCluster.js +42 -0
- package/dist/api/types/EksCluster.mjs +18 -0
- package/dist/api/types/EksClusterConfig.d.mts +29 -0
- package/dist/api/types/EksClusterConfig.d.ts +29 -0
- package/dist/api/types/EksClusterConfig.js +17 -0
- package/dist/api/types/EksClusterConfig.mjs +1 -0
- package/dist/api/types/EksClusterResponse.d.mts +6 -0
- package/dist/api/types/EksClusterResponse.d.ts +6 -0
- package/dist/api/types/EksClusterResponse.js +17 -0
- package/dist/api/types/EksClusterResponse.mjs +1 -0
- package/dist/api/types/EksFleetData.d.mts +4 -0
- package/dist/api/types/EksFleetData.d.ts +4 -0
- package/dist/api/types/EksFleetData.js +17 -0
- package/dist/api/types/EksFleetData.mjs +1 -0
- package/dist/api/types/EksFleetResponse.d.mts +6 -0
- package/dist/api/types/EksFleetResponse.d.ts +6 -0
- package/dist/api/types/EksFleetResponse.js +17 -0
- package/dist/api/types/EksFleetResponse.mjs +1 -0
- package/dist/api/types/EksHealthIssue.d.mts +4 -0
- package/dist/api/types/EksHealthIssue.d.ts +4 -0
- package/dist/api/types/EksHealthIssue.js +17 -0
- package/dist/api/types/EksHealthIssue.mjs +1 -0
- package/dist/api/types/EksInsight.d.mts +9 -0
- package/dist/api/types/EksInsight.d.ts +9 -0
- package/dist/api/types/EksInsight.js +17 -0
- package/dist/api/types/EksInsight.mjs +1 -0
- package/dist/api/types/EksLogging.d.mts +7 -0
- package/dist/api/types/EksLogging.d.ts +7 -0
- package/dist/api/types/EksLogging.js +17 -0
- package/dist/api/types/EksLogging.mjs +1 -0
- package/dist/api/types/EksNetworking.d.mts +9 -0
- package/dist/api/types/EksNetworking.d.ts +9 -0
- package/dist/api/types/EksNetworking.js +17 -0
- package/dist/api/types/EksNetworking.mjs +1 -0
- package/dist/api/types/EksPodIdentity.d.mts +4 -0
- package/dist/api/types/EksPodIdentity.d.ts +4 -0
- package/dist/api/types/EksPodIdentity.js +17 -0
- package/dist/api/types/EksPodIdentity.mjs +1 -0
- package/dist/api/types/EksSupport.d.mts +8 -0
- package/dist/api/types/EksSupport.d.ts +8 -0
- package/dist/api/types/EksSupport.js +17 -0
- package/dist/api/types/EksSupport.mjs +1 -0
- package/dist/api/types/EksUnreadable.d.mts +5 -0
- package/dist/api/types/EksUnreadable.d.ts +5 -0
- package/dist/api/types/EksUnreadable.js +17 -0
- package/dist/api/types/EksUnreadable.mjs +1 -0
- package/dist/api/types/FleetNamespace.d.mts +78 -0
- package/dist/api/types/FleetNamespace.d.ts +78 -0
- package/dist/api/types/FleetNamespace.js +49 -0
- package/dist/api/types/FleetNamespace.mjs +25 -0
- package/dist/api/types/FleetNamespaceListData.d.mts +7 -0
- package/dist/api/types/FleetNamespaceListData.d.ts +7 -0
- package/dist/api/types/FleetNamespaceListData.js +17 -0
- package/dist/api/types/FleetNamespaceListData.mjs +1 -0
- package/dist/api/types/FleetNamespaceListResponse.d.mts +6 -0
- package/dist/api/types/FleetNamespaceListResponse.d.ts +6 -0
- package/dist/api/types/FleetNamespaceListResponse.js +17 -0
- package/dist/api/types/FleetNamespaceListResponse.mjs +1 -0
- package/dist/api/types/FleetNetworkDestinations.d.mts +5 -0
- package/dist/api/types/FleetNetworkDestinations.d.ts +5 -0
- package/dist/api/types/FleetNetworkDestinations.js +17 -0
- package/dist/api/types/FleetNetworkDestinations.mjs +1 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.d.mts +6 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.d.ts +6 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.js +17 -0
- package/dist/api/types/FleetNetworkDestinationsResponse.mjs +1 -0
- package/dist/api/types/FleetStorage.d.mts +14 -0
- package/dist/api/types/FleetStorage.d.ts +14 -0
- package/dist/api/types/FleetStorage.js +17 -0
- package/dist/api/types/FleetStorage.mjs +1 -0
- package/dist/api/types/FleetSummary.d.mts +10 -0
- package/dist/api/types/FleetSummary.d.ts +10 -0
- package/dist/api/types/FleetTotals.d.mts +4 -0
- package/dist/api/types/FleetTotals.d.ts +4 -0
- package/dist/api/types/FleetWorkload.d.mts +18 -0
- package/dist/api/types/FleetWorkload.d.ts +18 -0
- package/dist/api/types/FleetWorkload.js +20 -0
- package/dist/api/types/FleetWorkload.mjs +12 -0
- package/dist/api/types/FleetWorkloadListData.d.mts +1 -1
- package/dist/api/types/FleetWorkloadListData.d.ts +1 -1
- package/dist/api/types/FleetWorkloadPair.d.mts +10 -0
- package/dist/api/types/FleetWorkloadPair.d.ts +10 -0
- package/dist/api/types/FleetWorkloadPair.js +17 -0
- package/dist/api/types/FleetWorkloadPair.mjs +1 -0
- package/dist/api/types/HardLimits.d.mts +7 -0
- package/dist/api/types/HardLimits.d.ts +7 -0
- package/dist/api/types/HardLimits.js +17 -0
- package/dist/api/types/HardLimits.mjs +1 -0
- package/dist/api/types/KubernetesDataAvailability.d.mts +2 -0
- package/dist/api/types/KubernetesDataAvailability.d.ts +2 -0
- package/dist/api/types/LensTotals.d.mts +12 -0
- package/dist/api/types/LensTotals.d.ts +12 -0
- package/dist/api/types/NamespaceAutomation.d.mts +17 -0
- package/dist/api/types/NamespaceAutomation.d.ts +17 -0
- package/dist/api/types/NamespaceAutomation.js +6 -0
- package/dist/api/types/NamespaceAutomation.mjs +6 -0
- package/dist/api/types/NamespaceItem.d.mts +14 -1
- package/dist/api/types/NamespaceItem.d.ts +14 -1
- package/dist/api/types/NamespaceItem.js +1 -0
- package/dist/api/types/NamespaceItem.mjs +1 -0
- package/dist/api/types/NamespaceScope.d.mts +3 -2
- package/dist/api/types/NamespaceScope.d.ts +3 -2
- package/dist/api/types/NamespaceScope.js +1 -0
- package/dist/api/types/NamespaceScope.mjs +1 -0
- package/dist/api/types/NetworkDayUsage.d.mts +2 -0
- package/dist/api/types/NetworkDayUsage.d.ts +2 -0
- package/dist/api/types/NodeConditionItem.d.mts +7 -0
- package/dist/api/types/NodeConditionItem.d.ts +7 -0
- package/dist/api/types/NodeConditionItem.js +17 -0
- package/dist/api/types/NodeConditionItem.mjs +1 -0
- package/dist/api/types/NodeDetail.d.mts +6 -0
- package/dist/api/types/NodeDetail.d.ts +6 -0
- package/dist/api/types/NodeFacets.d.mts +2 -0
- package/dist/api/types/NodeFacets.d.ts +2 -0
- package/dist/api/types/NodeInfoItem.d.mts +8 -0
- package/dist/api/types/NodeInfoItem.d.ts +8 -0
- package/dist/api/types/NodeInfoItem.js +17 -0
- package/dist/api/types/NodeInfoItem.mjs +1 -0
- package/dist/api/types/PodPhases.d.mts +6 -0
- package/dist/api/types/PodPhases.d.ts +6 -0
- package/dist/api/types/PodPhases.js +17 -0
- package/dist/api/types/PodPhases.mjs +1 -0
- package/dist/api/types/PoolBillEffect.d.mts +25 -0
- package/dist/api/types/PoolBillEffect.d.ts +25 -0
- package/dist/api/types/PoolBillEffect.js +35 -0
- package/dist/api/types/PoolBillEffect.mjs +11 -0
- package/dist/api/types/PotentialSavings.d.mts +5 -0
- package/dist/api/types/PotentialSavings.d.ts +5 -0
- package/dist/api/types/ProviderShare.d.mts +9 -0
- package/dist/api/types/ProviderShare.d.ts +9 -0
- package/dist/api/types/ProviderShare.js +17 -0
- package/dist/api/types/ProviderShare.mjs +1 -0
- package/dist/api/types/PurchaseTypeShare.d.mts +4 -0
- package/dist/api/types/PurchaseTypeShare.d.ts +4 -0
- package/dist/api/types/RealizedBlocker.d.mts +5 -0
- package/dist/api/types/RealizedBlocker.d.ts +5 -0
- package/dist/api/types/RealizedBlocker.js +17 -0
- package/dist/api/types/RealizedBlocker.mjs +1 -0
- package/dist/api/types/RealizedPool.d.mts +6 -0
- package/dist/api/types/RealizedPool.d.ts +6 -0
- package/dist/api/types/RealizedPool.js +17 -0
- package/dist/api/types/RealizedPool.mjs +1 -0
- package/dist/api/types/RealizedRightsizing.d.mts +12 -0
- package/dist/api/types/RealizedRightsizing.d.ts +12 -0
- package/dist/api/types/RealizedRightsizing.js +17 -0
- package/dist/api/types/RealizedRightsizing.mjs +1 -0
- package/dist/api/types/RealizedRightsizingResponse.d.mts +6 -0
- package/dist/api/types/RealizedRightsizingResponse.d.ts +6 -0
- package/dist/api/types/RealizedRightsizingResponse.js +17 -0
- package/dist/api/types/RealizedRightsizingResponse.mjs +1 -0
- package/dist/api/types/RealizedTotal.d.mts +4 -0
- package/dist/api/types/RealizedTotal.d.ts +4 -0
- package/dist/api/types/RealizedTotal.js +17 -0
- package/dist/api/types/RealizedTotal.mjs +1 -0
- package/dist/api/types/ReliabilityEventDay.d.mts +6 -0
- package/dist/api/types/ReliabilityEventDay.d.ts +6 -0
- package/dist/api/types/ReliabilityEventDay.js +17 -0
- package/dist/api/types/ReliabilityEventDay.mjs +1 -0
- package/dist/api/types/ReliabilityGroup.d.mts +9 -0
- package/dist/api/types/ReliabilityGroup.d.ts +9 -0
- package/dist/api/types/ReliabilityGroup.js +17 -0
- package/dist/api/types/ReliabilityGroup.mjs +1 -0
- package/dist/api/types/ReliabilityLens.d.mts +2 -0
- package/dist/api/types/ReliabilityLens.d.ts +2 -0
- package/dist/api/types/ResourceCapacity.d.mts +12 -0
- package/dist/api/types/ResourceCapacity.d.ts +12 -0
- package/dist/api/types/ResourceCapacity.js +17 -0
- package/dist/api/types/ResourceCapacity.mjs +1 -0
- package/dist/api/types/ResourceEfficiency.d.mts +2 -0
- package/dist/api/types/ResourceEfficiency.d.ts +2 -0
- package/dist/api/types/RightsizeGuardrails.d.mts +9 -0
- package/dist/api/types/RightsizeGuardrails.d.ts +9 -0
- package/dist/api/types/RightsizeGuardrails.js +17 -0
- package/dist/api/types/RightsizeGuardrails.mjs +1 -0
- package/dist/api/types/RightsizeGuardrailsChange.d.mts +9 -0
- package/dist/api/types/RightsizeGuardrailsChange.d.ts +9 -0
- package/dist/api/types/RightsizeGuardrailsChange.js +17 -0
- package/dist/api/types/RightsizeGuardrailsChange.mjs +1 -0
- package/dist/api/types/RightsizedContainer.d.mts +132 -0
- package/dist/api/types/RightsizedContainer.d.ts +132 -0
- package/dist/api/types/RightsizedContainer.js +99 -0
- package/dist/api/types/RightsizedContainer.mjs +75 -0
- package/dist/api/types/RightsizedContainerList.d.mts +5 -0
- package/dist/api/types/RightsizedContainerList.d.ts +5 -0
- package/dist/api/types/RightsizedContainerList.js +17 -0
- package/dist/api/types/RightsizedContainerList.mjs +1 -0
- package/dist/api/types/RightsizedContainerListResponse.d.mts +6 -0
- package/dist/api/types/RightsizedContainerListResponse.d.ts +6 -0
- package/dist/api/types/RightsizedContainerListResponse.js +17 -0
- package/dist/api/types/RightsizedContainerListResponse.mjs +1 -0
- package/dist/api/types/SavingsByKind.d.mts +11 -0
- package/dist/api/types/SavingsByKind.d.ts +11 -0
- package/dist/api/types/SavingsByKind.js +17 -0
- package/dist/api/types/SavingsByKind.mjs +1 -0
- package/dist/api/types/SessionsAsked.d.mts +4 -0
- package/dist/api/types/SessionsAsked.d.ts +4 -0
- package/dist/api/types/SetAutomationRequest.d.mts +5 -2
- package/dist/api/types/SetAutomationRequest.d.ts +5 -2
- package/dist/api/types/SetNamespaceAutomationRequest.d.mts +8 -0
- package/dist/api/types/SetNamespaceAutomationRequest.d.ts +8 -0
- package/dist/api/types/SetNamespaceAutomationRequest.js +5 -0
- package/dist/api/types/SetNamespaceAutomationRequest.mjs +5 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.mts +12 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.ts +12 -0
- package/dist/api/types/SetWorkloadAutomationRequest.js +35 -0
- package/dist/api/types/SetWorkloadAutomationRequest.mjs +11 -0
- package/dist/api/types/SourcedValue.d.mts +11 -0
- package/dist/api/types/SourcedValue.d.ts +11 -0
- package/dist/api/types/SourcedValue.js +17 -0
- package/dist/api/types/SourcedValue.mjs +1 -0
- package/dist/api/types/SpendDay.d.mts +14 -0
- package/dist/api/types/SpendDay.d.ts +14 -0
- package/dist/api/types/SpendKpis.d.mts +12 -0
- package/dist/api/types/SpendKpis.d.ts +12 -0
- package/dist/api/types/SpendUnitCost.d.mts +6 -0
- package/dist/api/types/SpendUnitCost.d.ts +6 -0
- package/dist/api/types/StopAndRevertRequest.d.mts +3 -0
- package/dist/api/types/StopAndRevertRequest.d.ts +3 -0
- package/dist/api/types/StopAndRevertRequest.js +17 -0
- package/dist/api/types/StopAndRevertRequest.mjs +1 -0
- package/dist/api/types/StorageClassTotals.d.mts +14 -0
- package/dist/api/types/StorageClassTotals.d.ts +14 -0
- package/dist/api/types/StorageClassTotals.js +17 -0
- package/dist/api/types/StorageClassTotals.mjs +1 -0
- package/dist/api/types/StorageClassUsage.d.mts +2 -0
- package/dist/api/types/StorageClassUsage.d.ts +2 -0
- package/dist/api/types/Traffic.d.mts +2 -0
- package/dist/api/types/Traffic.d.ts +2 -0
- package/dist/api/types/Waste.d.mts +6 -0
- package/dist/api/types/Waste.d.ts +6 -0
- package/dist/api/types/WasteDay.d.mts +6 -0
- package/dist/api/types/WasteDay.d.ts +6 -0
- package/dist/api/types/WasteTotal.d.mts +2 -0
- package/dist/api/types/WasteTotal.d.ts +2 -0
- package/dist/api/types/WorkloadAutomation.d.mts +15 -0
- package/dist/api/types/WorkloadAutomation.d.ts +15 -0
- package/dist/api/types/WorkloadAutomation.js +35 -0
- package/dist/api/types/WorkloadAutomation.mjs +11 -0
- package/dist/api/types/WorkloadAutomationResponse.d.mts +6 -0
- package/dist/api/types/WorkloadAutomationResponse.d.ts +6 -0
- package/dist/api/types/WorkloadAutomationResponse.js +17 -0
- package/dist/api/types/WorkloadAutomationResponse.mjs +1 -0
- package/dist/api/types/WorkloadDay.d.mts +8 -0
- package/dist/api/types/WorkloadDay.d.ts +8 -0
- package/dist/api/types/WorkloadItem.d.mts +14 -0
- package/dist/api/types/WorkloadItem.d.ts +14 -0
- package/dist/api/types/WorkloadVolume.d.mts +2 -0
- package/dist/api/types/WorkloadVolume.d.ts +2 -0
- package/dist/api/types/index.d.mts +86 -1
- package/dist/api/types/index.d.ts +86 -1
- package/dist/api/types/index.js +172 -2
- package/dist/api/types/index.mjs +86 -1
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/api/types/AnthropicUsageMeasures.d.mts +0 -9
- package/dist/api/types/AnthropicUsageMeasures.d.ts +0 -9
- package/dist/api/types/AnthropicUsageMeasures.mjs +0 -1
|
@@ -28,6 +28,7 @@ export declare class WorkspaceClient {
|
|
|
28
28
|
getWorkspace(requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<LevelFour.WorkspaceResponse>;
|
|
29
29
|
private __getWorkspace;
|
|
30
30
|
/**
|
|
31
|
+
* @param {LevelFour.CreateWorkspaceRequest} request
|
|
31
32
|
* @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
33
|
*
|
|
33
34
|
* @throws {@link LevelFour.BadRequestError}
|
|
@@ -42,6 +43,6 @@ export declare class WorkspaceClient {
|
|
|
42
43
|
* @example
|
|
43
44
|
* await client.workspace.createWorkspace()
|
|
44
45
|
*/
|
|
45
|
-
createWorkspace(requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<LevelFour.WorkspaceResponse>;
|
|
46
|
+
createWorkspace(request?: LevelFour.CreateWorkspaceRequest, requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<LevelFour.WorkspaceResponse>;
|
|
46
47
|
private __createWorkspace;
|
|
47
48
|
}
|
|
@@ -137,6 +137,7 @@ class WorkspaceClient {
|
|
|
137
137
|
return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/v1/workspace");
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
|
+
* @param {LevelFour.CreateWorkspaceRequest} request
|
|
140
141
|
* @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
141
142
|
*
|
|
142
143
|
* @throws {@link LevelFour.BadRequestError}
|
|
@@ -151,10 +152,10 @@ class WorkspaceClient {
|
|
|
151
152
|
* @example
|
|
152
153
|
* await client.workspace.createWorkspace()
|
|
153
154
|
*/
|
|
154
|
-
createWorkspace(requestOptions) {
|
|
155
|
-
return core.HttpResponsePromise.fromPromise(this.__createWorkspace(requestOptions));
|
|
155
|
+
createWorkspace(request = {}, requestOptions) {
|
|
156
|
+
return core.HttpResponsePromise.fromPromise(this.__createWorkspace(request, requestOptions));
|
|
156
157
|
}
|
|
157
|
-
async __createWorkspace(requestOptions) {
|
|
158
|
+
async __createWorkspace(request = {}, requestOptions) {
|
|
158
159
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
159
160
|
const _headers = (0, import_headers.mergeHeaders)(
|
|
160
161
|
_authRequest.headers,
|
|
@@ -168,7 +169,10 @@ class WorkspaceClient {
|
|
|
168
169
|
),
|
|
169
170
|
method: "POST",
|
|
170
171
|
headers: _headers,
|
|
172
|
+
contentType: "application/json",
|
|
171
173
|
queryParameters: requestOptions?.queryParams,
|
|
174
|
+
requestType: "json",
|
|
175
|
+
body: request,
|
|
172
176
|
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
173
177
|
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
174
178
|
abortSignal: requestOptions?.abortSignal,
|
|
@@ -104,6 +104,7 @@ class WorkspaceClient {
|
|
|
104
104
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/api/v1/workspace");
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
+
* @param {LevelFour.CreateWorkspaceRequest} request
|
|
107
108
|
* @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
108
109
|
*
|
|
109
110
|
* @throws {@link LevelFour.BadRequestError}
|
|
@@ -118,10 +119,10 @@ class WorkspaceClient {
|
|
|
118
119
|
* @example
|
|
119
120
|
* await client.workspace.createWorkspace()
|
|
120
121
|
*/
|
|
121
|
-
createWorkspace(requestOptions) {
|
|
122
|
-
return core.HttpResponsePromise.fromPromise(this.__createWorkspace(requestOptions));
|
|
122
|
+
createWorkspace(request = {}, requestOptions) {
|
|
123
|
+
return core.HttpResponsePromise.fromPromise(this.__createWorkspace(request, requestOptions));
|
|
123
124
|
}
|
|
124
|
-
async __createWorkspace(requestOptions) {
|
|
125
|
+
async __createWorkspace(request = {}, requestOptions) {
|
|
125
126
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
126
127
|
const _headers = mergeHeaders(
|
|
127
128
|
_authRequest.headers,
|
|
@@ -135,7 +136,10 @@ class WorkspaceClient {
|
|
|
135
136
|
),
|
|
136
137
|
method: "POST",
|
|
137
138
|
headers: _headers,
|
|
139
|
+
contentType: "application/json",
|
|
138
140
|
queryParameters: requestOptions?.queryParams,
|
|
141
|
+
requestType: "json",
|
|
142
|
+
body: request,
|
|
139
143
|
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
140
144
|
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
141
145
|
abortSignal: requestOptions?.abortSignal,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -11,7 +11,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
11
|
}
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
15
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
16
|
var client_exports = {};
|
|
16
17
|
module.exports = __toCommonJS(client_exports);
|
|
18
|
+
__reExport(client_exports, require("./requests/index.js"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./requests/index.js")
|
|
22
|
+
});
|
|
17
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {}
|
|
4
|
+
*/
|
|
5
|
+
export interface CreateWorkspaceRequest {
|
|
6
|
+
/** The company's name */
|
|
7
|
+
company?: string | null;
|
|
8
|
+
/** The person's job title */
|
|
9
|
+
job_title?: string | null;
|
|
10
|
+
/** What the company spends on, each category at most once */
|
|
11
|
+
spend?: CreateWorkspaceRequest.Spend.Item[] | null;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace CreateWorkspaceRequest {
|
|
14
|
+
type Spend = Spend.Item[];
|
|
15
|
+
namespace Spend {
|
|
16
|
+
const Item: {
|
|
17
|
+
readonly Cloud: "cloud";
|
|
18
|
+
readonly Saas: "saas";
|
|
19
|
+
readonly Ai: "ai";
|
|
20
|
+
};
|
|
21
|
+
type Item = (typeof Item)[keyof typeof Item];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {}
|
|
4
|
+
*/
|
|
5
|
+
export interface CreateWorkspaceRequest {
|
|
6
|
+
/** The company's name */
|
|
7
|
+
company?: string | null;
|
|
8
|
+
/** The person's job title */
|
|
9
|
+
job_title?: string | null;
|
|
10
|
+
/** What the company spends on, each category at most once */
|
|
11
|
+
spend?: CreateWorkspaceRequest.Spend.Item[] | null;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace CreateWorkspaceRequest {
|
|
14
|
+
type Spend = Spend.Item[];
|
|
15
|
+
namespace Spend {
|
|
16
|
+
const Item: {
|
|
17
|
+
readonly Cloud: "cloud";
|
|
18
|
+
readonly Saas: "saas";
|
|
19
|
+
readonly Ai: "ai";
|
|
20
|
+
};
|
|
21
|
+
type Item = (typeof Item)[keyof typeof Item];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 CreateWorkspaceRequest_exports = {};
|
|
20
|
+
__export(CreateWorkspaceRequest_exports, {
|
|
21
|
+
CreateWorkspaceRequest: () => CreateWorkspaceRequest
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(CreateWorkspaceRequest_exports);
|
|
24
|
+
var CreateWorkspaceRequest;
|
|
25
|
+
((CreateWorkspaceRequest2) => {
|
|
26
|
+
let Spend;
|
|
27
|
+
((Spend2) => {
|
|
28
|
+
Spend2.Item = {
|
|
29
|
+
Cloud: "cloud",
|
|
30
|
+
Saas: "saas",
|
|
31
|
+
Ai: "ai"
|
|
32
|
+
};
|
|
33
|
+
})(Spend = CreateWorkspaceRequest2.Spend || (CreateWorkspaceRequest2.Spend = {}));
|
|
34
|
+
})(CreateWorkspaceRequest || (CreateWorkspaceRequest = {}));
|
|
35
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
+
0 && (module.exports = {
|
|
37
|
+
CreateWorkspaceRequest
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=CreateWorkspaceRequest.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var CreateWorkspaceRequest;
|
|
2
|
+
((CreateWorkspaceRequest2) => {
|
|
3
|
+
let Spend;
|
|
4
|
+
((Spend2) => {
|
|
5
|
+
Spend2.Item = {
|
|
6
|
+
Cloud: "cloud",
|
|
7
|
+
Saas: "saas",
|
|
8
|
+
Ai: "ai"
|
|
9
|
+
};
|
|
10
|
+
})(Spend = CreateWorkspaceRequest2.Spend || (CreateWorkspaceRequest2.Spend = {}));
|
|
11
|
+
})(CreateWorkspaceRequest || (CreateWorkspaceRequest = {}));
|
|
12
|
+
export {
|
|
13
|
+
CreateWorkspaceRequest
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CreateWorkspaceRequest.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateWorkspaceRequest } from "./CreateWorkspaceRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateWorkspaceRequest } from "./CreateWorkspaceRequest.js";
|
|
@@ -0,0 +1,29 @@
|
|
|
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 requests_exports = {};
|
|
20
|
+
__export(requests_exports, {
|
|
21
|
+
CreateWorkspaceRequest: () => import_CreateWorkspaceRequest.CreateWorkspaceRequest
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(requests_exports);
|
|
24
|
+
var import_CreateWorkspaceRequest = require("./CreateWorkspaceRequest.js");
|
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
+
0 && (module.exports = {
|
|
27
|
+
CreateWorkspaceRequest
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -4,6 +4,10 @@ export interface AccountItem {
|
|
|
4
4
|
cluster_count: number;
|
|
5
5
|
cost?: (number | null) | undefined;
|
|
6
6
|
idle_cost?: (number | null) | undefined;
|
|
7
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
8
|
+
cost_net?: (number | null) | undefined;
|
|
9
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
|
+
idle_cost_net?: (number | null) | undefined;
|
|
7
11
|
/** CPU and memory efficiency weighted by what each cost */
|
|
8
12
|
efficiency?: (number | null) | undefined;
|
|
9
13
|
namespaces_enabled: number;
|
|
@@ -4,6 +4,10 @@ export interface AccountItem {
|
|
|
4
4
|
cluster_count: number;
|
|
5
5
|
cost?: (number | null) | undefined;
|
|
6
6
|
idle_cost?: (number | null) | undefined;
|
|
7
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
8
|
+
cost_net?: (number | null) | undefined;
|
|
9
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
|
+
idle_cost_net?: (number | null) | undefined;
|
|
7
11
|
/** CPU and memory efficiency weighted by what each cost */
|
|
8
12
|
efficiency?: (number | null) | undefined;
|
|
9
13
|
namespaces_enabled: number;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface AiBreakdownData {
|
|
3
|
+
measure: AiBreakdownData.Measure;
|
|
4
|
+
group_by: AiBreakdownData.GroupBy;
|
|
5
|
+
/** The 50 largest keys, the largest first */
|
|
6
|
+
items: LevelFour.AiBreakdownItem[];
|
|
7
|
+
/** Every day of the range, on granularity=daily alone, null otherwise */
|
|
8
|
+
days: LevelFour.AiBreakdownDay[] | null;
|
|
9
|
+
/** The measure over the range for every key, listed or not */
|
|
10
|
+
total: number;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace AiBreakdownData {
|
|
13
|
+
const Measure: {
|
|
14
|
+
readonly PullRequests: "pull_requests";
|
|
15
|
+
readonly Commits: "commits";
|
|
16
|
+
readonly LinesAdded: "lines_added";
|
|
17
|
+
readonly LinesRemoved: "lines_removed";
|
|
18
|
+
readonly FailedRequests: "failed_requests";
|
|
19
|
+
readonly RateLimits: "rate_limits";
|
|
20
|
+
};
|
|
21
|
+
type Measure = (typeof Measure)[keyof typeof Measure];
|
|
22
|
+
const GroupBy: {
|
|
23
|
+
readonly Person: "person";
|
|
24
|
+
readonly Area: "area";
|
|
25
|
+
readonly Repository: "repository";
|
|
26
|
+
};
|
|
27
|
+
type GroupBy = (typeof GroupBy)[keyof typeof GroupBy];
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface AiBreakdownData {
|
|
3
|
+
measure: AiBreakdownData.Measure;
|
|
4
|
+
group_by: AiBreakdownData.GroupBy;
|
|
5
|
+
/** The 50 largest keys, the largest first */
|
|
6
|
+
items: LevelFour.AiBreakdownItem[];
|
|
7
|
+
/** Every day of the range, on granularity=daily alone, null otherwise */
|
|
8
|
+
days: LevelFour.AiBreakdownDay[] | null;
|
|
9
|
+
/** The measure over the range for every key, listed or not */
|
|
10
|
+
total: number;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace AiBreakdownData {
|
|
13
|
+
const Measure: {
|
|
14
|
+
readonly PullRequests: "pull_requests";
|
|
15
|
+
readonly Commits: "commits";
|
|
16
|
+
readonly LinesAdded: "lines_added";
|
|
17
|
+
readonly LinesRemoved: "lines_removed";
|
|
18
|
+
readonly FailedRequests: "failed_requests";
|
|
19
|
+
readonly RateLimits: "rate_limits";
|
|
20
|
+
};
|
|
21
|
+
type Measure = (typeof Measure)[keyof typeof Measure];
|
|
22
|
+
const GroupBy: {
|
|
23
|
+
readonly Person: "person";
|
|
24
|
+
readonly Area: "area";
|
|
25
|
+
readonly Repository: "repository";
|
|
26
|
+
};
|
|
27
|
+
type GroupBy = (typeof GroupBy)[keyof typeof GroupBy];
|
|
28
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AiBreakdownData_exports = {};
|
|
20
|
+
__export(AiBreakdownData_exports, {
|
|
21
|
+
AiBreakdownData: () => AiBreakdownData
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(AiBreakdownData_exports);
|
|
24
|
+
var AiBreakdownData;
|
|
25
|
+
((AiBreakdownData2) => {
|
|
26
|
+
AiBreakdownData2.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
|
+
AiBreakdownData2.GroupBy = {
|
|
35
|
+
Person: "person",
|
|
36
|
+
Area: "area",
|
|
37
|
+
Repository: "repository"
|
|
38
|
+
};
|
|
39
|
+
})(AiBreakdownData || (AiBreakdownData = {}));
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
AiBreakdownData
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=AiBreakdownData.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var AiBreakdownData;
|
|
2
|
+
((AiBreakdownData2) => {
|
|
3
|
+
AiBreakdownData2.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
|
+
AiBreakdownData2.GroupBy = {
|
|
12
|
+
Person: "person",
|
|
13
|
+
Area: "area",
|
|
14
|
+
Repository: "repository"
|
|
15
|
+
};
|
|
16
|
+
})(AiBreakdownData || (AiBreakdownData = {}));
|
|
17
|
+
export {
|
|
18
|
+
AiBreakdownData
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=AiBreakdownData.mjs.map
|
|
@@ -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 AiBreakdownDay_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(AiBreakdownDay_exports);
|
|
17
|
+
//# sourceMappingURL=AiBreakdownDay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=AiBreakdownDay.mjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AiBreakdownItem {
|
|
2
|
+
/** The person, the area or the repository, null for no area or no repository */
|
|
3
|
+
key: string | null;
|
|
4
|
+
/** The key as the board shows it: No area or No repository for a null key */
|
|
5
|
+
label: string;
|
|
6
|
+
/** The measure over the range */
|
|
7
|
+
value: number;
|
|
8
|
+
/** The measure over the range of the same length just before it */
|
|
9
|
+
previous: number;
|
|
10
|
+
/** The people whose measure it holds */
|
|
11
|
+
people: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AiBreakdownItem {
|
|
2
|
+
/** The person, the area or the repository, null for no area or no repository */
|
|
3
|
+
key: string | null;
|
|
4
|
+
/** The key as the board shows it: No area or No repository for a null key */
|
|
5
|
+
label: string;
|
|
6
|
+
/** The measure over the range */
|
|
7
|
+
value: number;
|
|
8
|
+
/** The measure over the range of the same length just before it */
|
|
9
|
+
previous: number;
|
|
10
|
+
/** The people whose measure it holds */
|
|
11
|
+
people: number;
|
|
12
|
+
}
|
|
@@ -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 AiBreakdownItem_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(AiBreakdownItem_exports);
|
|
17
|
+
//# sourceMappingURL=AiBreakdownItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=AiBreakdownItem.mjs.map
|
|
@@ -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 AiBreakdownResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(AiBreakdownResponse_exports);
|
|
17
|
+
//# sourceMappingURL=AiBreakdownResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=AiBreakdownResponse.mjs.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface AiFailureKind {
|
|
2
|
+
kind: AiFailureKind.Kind;
|
|
3
|
+
requests: number;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace AiFailureKind {
|
|
6
|
+
const Kind: {
|
|
7
|
+
readonly FourHundred: "400";
|
|
8
|
+
readonly FourHundredTwentyNine: "429";
|
|
9
|
+
readonly FiveHundredTwentyNine: "529";
|
|
10
|
+
readonly Connection: "connection";
|
|
11
|
+
readonly Other: "other";
|
|
12
|
+
};
|
|
13
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface AiFailureKind {
|
|
2
|
+
kind: AiFailureKind.Kind;
|
|
3
|
+
requests: number;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace AiFailureKind {
|
|
6
|
+
const Kind: {
|
|
7
|
+
readonly FourHundred: "400";
|
|
8
|
+
readonly FourHundredTwentyNine: "429";
|
|
9
|
+
readonly FiveHundredTwentyNine: "529";
|
|
10
|
+
readonly Connection: "connection";
|
|
11
|
+
readonly Other: "other";
|
|
12
|
+
};
|
|
13
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AiFailureKind_exports = {};
|
|
20
|
+
__export(AiFailureKind_exports, {
|
|
21
|
+
AiFailureKind: () => AiFailureKind
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(AiFailureKind_exports);
|
|
24
|
+
var AiFailureKind;
|
|
25
|
+
((AiFailureKind2) => {
|
|
26
|
+
AiFailureKind2.Kind = {
|
|
27
|
+
FourHundred: "400",
|
|
28
|
+
FourHundredTwentyNine: "429",
|
|
29
|
+
FiveHundredTwentyNine: "529",
|
|
30
|
+
Connection: "connection",
|
|
31
|
+
Other: "other"
|
|
32
|
+
};
|
|
33
|
+
})(AiFailureKind || (AiFailureKind = {}));
|
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
+
0 && (module.exports = {
|
|
36
|
+
AiFailureKind
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=AiFailureKind.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var AiFailureKind;
|
|
2
|
+
((AiFailureKind2) => {
|
|
3
|
+
AiFailureKind2.Kind = {
|
|
4
|
+
FourHundred: "400",
|
|
5
|
+
FourHundredTwentyNine: "429",
|
|
6
|
+
FiveHundredTwentyNine: "529",
|
|
7
|
+
Connection: "connection",
|
|
8
|
+
Other: "other"
|
|
9
|
+
};
|
|
10
|
+
})(AiFailureKind || (AiFailureKind = {}));
|
|
11
|
+
export {
|
|
12
|
+
AiFailureKind
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=AiFailureKind.mjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface AiFailuresData {
|
|
3
|
+
/** Each kind that failed in the range, the most first */
|
|
4
|
+
kinds: LevelFour.AiFailureKind[];
|
|
5
|
+
/** The 100 people with the most failed requests, the most first */
|
|
6
|
+
people: LevelFour.AiPersonFailing[];
|
|
7
|
+
/** The 100 sessions with the most failed requests, the most first */
|
|
8
|
+
sessions: LevelFour.AiSessionFailing[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface AiFailuresData {
|
|
3
|
+
/** Each kind that failed in the range, the most first */
|
|
4
|
+
kinds: LevelFour.AiFailureKind[];
|
|
5
|
+
/** The 100 people with the most failed requests, the most first */
|
|
6
|
+
people: LevelFour.AiPersonFailing[];
|
|
7
|
+
/** The 100 sessions with the most failed requests, the most first */
|
|
8
|
+
sessions: LevelFour.AiSessionFailing[];
|
|
9
|
+
}
|