levelfour 1.5.0 → 1.7.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 +113 -0
- package/dist/api/resources/anthropic/client/Client.d.ts +113 -0
- package/dist/api/resources/anthropic/client/Client.js +554 -1
- package/dist/api/resources/anthropic/client/Client.mjs +555 -2
- package/dist/api/resources/anthropic/client/requests/BodyPreviewTeamAreasApiV1ProvidersAnthropicTeamAreasPreviewPost.d.mts +11 -0
- package/dist/api/resources/anthropic/client/requests/BodyPreviewTeamAreasApiV1ProvidersAnthropicTeamAreasPreviewPost.d.ts +11 -0
- package/dist/api/resources/anthropic/client/requests/BodyPreviewTeamAreasApiV1ProvidersAnthropicTeamAreasPreviewPost.js +17 -0
- package/dist/api/resources/anthropic/client/requests/BodyPreviewTeamAreasApiV1ProvidersAnthropicTeamAreasPreviewPost.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/GetUsagePeopleApiV1ProvidersAnthropicUsagePeopleGetRequest.d.mts +16 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePeopleApiV1ProvidersAnthropicUsagePeopleGetRequest.d.ts +16 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePeopleApiV1ProvidersAnthropicUsagePeopleGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePeopleApiV1ProvidersAnthropicUsagePeopleGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonApiV1ProvidersAnthropicUsagePeoplePersonGetRequest.d.mts +9 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonApiV1ProvidersAnthropicUsagePeoplePersonGetRequest.d.ts +9 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonApiV1ProvidersAnthropicUsagePeoplePersonGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonApiV1ProvidersAnthropicUsagePeoplePersonGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionsApiV1ProvidersAnthropicUsagePeoplePersonSessionsGetRequest.d.mts +18 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionsApiV1ProvidersAnthropicUsagePeoplePersonSessionsGetRequest.d.ts +18 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionsApiV1ProvidersAnthropicUsagePeoplePersonSessionsGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetUsagePersonSessionsApiV1ProvidersAnthropicUsagePeoplePersonSessionsGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/index.d.mts +4 -0
- package/dist/api/resources/anthropic/client/requests/index.d.ts +4 -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 +1 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.mjs +1 -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/resources/boards/client/requests/ListBoardsRequest.js +17 -0
- 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/AiPersonData.d.mts +29 -0
- package/dist/api/types/AiPersonData.d.ts +29 -0
- package/dist/api/types/AiPersonData.js +35 -0
- package/dist/api/types/AiPersonData.mjs +11 -0
- package/dist/api/types/AiPersonRecommendation.d.mts +19 -0
- package/dist/api/types/AiPersonRecommendation.d.ts +19 -0
- package/dist/api/types/AiPersonRecommendation.js +36 -0
- package/dist/api/types/AiPersonRecommendation.mjs +12 -0
- package/dist/api/types/AiPersonResponse.d.mts +6 -0
- package/dist/api/types/AiPersonResponse.d.ts +6 -0
- package/dist/api/types/AiPersonResponse.js +17 -0
- package/dist/api/types/AiPersonResponse.mjs +1 -0
- package/dist/api/types/AiPersonWeek.d.mts +6 -0
- package/dist/api/types/AiPersonWeek.d.ts +6 -0
- package/dist/api/types/AiPersonWeek.js +17 -0
- package/dist/api/types/AiPersonWeek.mjs +1 -0
- package/dist/api/types/AiSession.d.mts +15 -0
- package/dist/api/types/AiSession.d.ts +15 -0
- package/dist/api/types/AiSession.js +17 -0
- package/dist/api/types/AiSession.mjs +1 -0
- package/dist/api/types/AiSessionsData.d.mts +5 -0
- package/dist/api/types/AiSessionsData.d.ts +5 -0
- package/dist/api/types/AiSessionsData.js +17 -0
- package/dist/api/types/AiSessionsData.mjs +1 -0
- package/dist/api/types/AiSessionsResponse.d.mts +6 -0
- package/dist/api/types/AiSessionsResponse.d.ts +6 -0
- package/dist/api/types/AiSessionsResponse.js +17 -0
- package/dist/api/types/AiSessionsResponse.mjs +1 -0
- package/dist/api/types/AnthropicDeveloper.d.mts +28 -0
- package/dist/api/types/AnthropicDeveloper.d.ts +28 -0
- package/dist/api/types/AnthropicDeveloper.js +17 -0
- package/dist/api/types/AnthropicDeveloper.mjs +1 -0
- package/dist/api/types/AnthropicDeveloperGroup.d.mts +6 -0
- package/dist/api/types/AnthropicDeveloperGroup.d.ts +6 -0
- package/dist/api/types/AnthropicDeveloperGroup.js +17 -0
- package/dist/api/types/AnthropicDeveloperGroup.mjs +1 -0
- package/dist/api/types/AnthropicDeveloperSummary.d.mts +9 -0
- package/dist/api/types/AnthropicDeveloperSummary.d.ts +9 -0
- package/dist/api/types/AnthropicDeveloperSummary.js +17 -0
- package/dist/api/types/AnthropicDeveloperSummary.mjs +1 -0
- package/dist/api/types/AnthropicDevelopersData.d.mts +8 -0
- package/dist/api/types/AnthropicDevelopersData.d.ts +8 -0
- package/dist/api/types/AnthropicDevelopersData.js +17 -0
- package/dist/api/types/AnthropicDevelopersData.mjs +1 -0
- package/dist/api/types/AnthropicDevelopersResponse.d.mts +6 -0
- package/dist/api/types/AnthropicDevelopersResponse.d.ts +6 -0
- package/dist/api/types/AnthropicDevelopersResponse.js +17 -0
- package/dist/api/types/AnthropicDevelopersResponse.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/BodyPutTeamAreasApiV1ProvidersAnthropicTeamAreasPut.d.mts +4 -0
- package/dist/api/types/BodyPutTeamAreasApiV1ProvidersAnthropicTeamAreasPut.d.ts +4 -0
- package/dist/api/types/BodyPutTeamAreasApiV1ProvidersAnthropicTeamAreasPut.js +17 -0
- package/dist/api/types/BodyPutTeamAreasApiV1ProvidersAnthropicTeamAreasPut.mjs +1 -0
- 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/ClaudeTeamArea.d.mts +20 -0
- package/dist/api/types/ClaudeTeamArea.d.ts +20 -0
- package/dist/api/types/ClaudeTeamArea.js +17 -0
- package/dist/api/types/ClaudeTeamArea.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreaFigures.d.mts +18 -0
- package/dist/api/types/ClaudeTeamAreaFigures.d.ts +18 -0
- package/dist/api/types/ClaudeTeamAreaFigures.js +17 -0
- package/dist/api/types/ClaudeTeamAreaFigures.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreaPreview.d.mts +6 -0
- package/dist/api/types/ClaudeTeamAreaPreview.d.ts +6 -0
- package/dist/api/types/ClaudeTeamAreaPreview.js +17 -0
- package/dist/api/types/ClaudeTeamAreaPreview.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreasData.d.mts +7 -0
- package/dist/api/types/ClaudeTeamAreasData.d.ts +7 -0
- package/dist/api/types/ClaudeTeamAreasData.js +17 -0
- package/dist/api/types/ClaudeTeamAreasData.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreasPreviewData.d.mts +13 -0
- package/dist/api/types/ClaudeTeamAreasPreviewData.d.ts +13 -0
- package/dist/api/types/ClaudeTeamAreasPreviewData.js +17 -0
- package/dist/api/types/ClaudeTeamAreasPreviewData.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreasPreviewResponse.d.mts +6 -0
- package/dist/api/types/ClaudeTeamAreasPreviewResponse.d.ts +6 -0
- package/dist/api/types/ClaudeTeamAreasPreviewResponse.js +17 -0
- package/dist/api/types/ClaudeTeamAreasPreviewResponse.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreasResponse.d.mts +6 -0
- package/dist/api/types/ClaudeTeamAreasResponse.d.ts +6 -0
- package/dist/api/types/ClaudeTeamAreasResponse.js +17 -0
- package/dist/api/types/ClaudeTeamAreasResponse.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreasSaved.d.mts +7 -0
- package/dist/api/types/ClaudeTeamAreasSaved.d.ts +7 -0
- package/dist/api/types/ClaudeTeamAreasSaved.js +17 -0
- package/dist/api/types/ClaudeTeamAreasSaved.mjs +1 -0
- package/dist/api/types/ClaudeTeamAreasSavedResponse.d.mts +6 -0
- package/dist/api/types/ClaudeTeamAreasSavedResponse.d.ts +6 -0
- package/dist/api/types/ClaudeTeamAreasSavedResponse.js +17 -0
- package/dist/api/types/ClaudeTeamAreasSavedResponse.mjs +1 -0
- package/dist/api/types/ClaudeTeamDowngradeRule.d.mts +2 -0
- package/dist/api/types/ClaudeTeamDowngradeRule.d.ts +2 -0
- package/dist/api/types/ClaudeTeamRemoveRule.d.mts +2 -0
- package/dist/api/types/ClaudeTeamRemoveRule.d.ts +2 -0
- package/dist/api/types/ClaudeTeamUpgradeRule.d.mts +2 -0
- package/dist/api/types/ClaudeTeamUpgradeRule.d.ts +2 -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 +3 -1
- package/dist/api/types/ResourceEfficiency.d.ts +3 -1
- 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/RosterAsked.d.mts +21 -0
- package/dist/api/types/RosterAsked.d.ts +21 -0
- package/dist/api/types/RosterAsked.js +35 -0
- package/dist/api/types/RosterAsked.mjs +11 -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/SessionsAsked.js +17 -0
- package/dist/api/types/SessionsAsked.mjs +1 -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 +78 -0
- package/dist/api/types/index.d.ts +78 -0
- package/dist/api/types/index.js +156 -0
- package/dist/api/types/index.mjs +78 -0
- package/dist/core/exports.d.mts +1 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/exports.js +2 -0
- package/dist/core/exports.mjs +1 -0
- package/dist/core/file/exports.d.mts +1 -0
- package/dist/core/file/exports.d.ts +1 -0
- package/dist/core/file/exports.js +17 -0
- package/dist/core/file/exports.mjs +1 -0
- package/dist/core/file/file.d.mts +10 -0
- package/dist/core/file/file.d.ts +10 -0
- package/dist/core/file/file.js +199 -0
- package/dist/core/file/file.mjs +164 -0
- package/dist/core/file/index.d.mts +2 -0
- package/dist/core/file/index.d.ts +2 -0
- package/dist/core/file/index.js +25 -0
- package/dist/core/file/index.mjs +3 -0
- package/dist/core/file/types.d.mts +66 -0
- package/dist/core/file/types.d.ts +66 -0
- package/dist/core/file/types.js +17 -0
- package/dist/core/file/types.mjs +1 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.mts +15 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +15 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +143 -0
- package/dist/core/form-data-utils/FormDataWrapper.mjs +108 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.d.mts +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +37 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.mjs +13 -0
- package/dist/core/form-data-utils/index.d.mts +2 -0
- package/dist/core/form-data-utils/index.d.ts +2 -0
- package/dist/core/form-data-utils/index.js +32 -0
- package/dist/core/form-data-utils/index.mjs +6 -0
- package/dist/core/index.d.mts +2 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +5 -0
- package/dist/core/index.mjs +3 -0
- 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
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var Client_exports = {};
|
|
30
|
+
__export(Client_exports, {
|
|
31
|
+
KubernetesClient: () => KubernetesClient
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(Client_exports);
|
|
34
|
+
var import_BaseClient = require("../../../../BaseClient.js");
|
|
35
|
+
var import_headers = require("../../../../core/headers.js");
|
|
36
|
+
var core = __toESM(require("../../../../core/index.js"));
|
|
37
|
+
var import_handleNonStatusCodeError = require("../../../../errors/handleNonStatusCodeError.js");
|
|
38
|
+
var errors = __toESM(require("../../../../errors/index.js"));
|
|
39
|
+
var LevelFour = __toESM(require("../../../index.js"));
|
|
40
|
+
class KubernetesClient {
|
|
41
|
+
_options;
|
|
42
|
+
constructor(options) {
|
|
43
|
+
this._options = (0, import_BaseClient.normalizeClientOptionsWithAuth)(options);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
|
|
47
|
+
*
|
|
48
|
+
* @param {LevelFour.GetClusterEksApiV1K8SClustersClusterIdEksGetRequest} request
|
|
49
|
+
* @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link LevelFour.BadRequestError}
|
|
52
|
+
* @throws {@link LevelFour.UnauthorizedError}
|
|
53
|
+
* @throws {@link LevelFour.ForbiddenError}
|
|
54
|
+
* @throws {@link LevelFour.NotFoundError}
|
|
55
|
+
* @throws {@link LevelFour.ConflictError}
|
|
56
|
+
* @throws {@link LevelFour.UnprocessableEntityError}
|
|
57
|
+
* @throws {@link LevelFour.TooManyRequestsError}
|
|
58
|
+
* @throws {@link LevelFour.InternalServerError}
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* await client.kubernetes.getClusterEks({
|
|
62
|
+
* cluster_id: "cluster_id"
|
|
63
|
+
* })
|
|
64
|
+
*/
|
|
65
|
+
getClusterEks(request, requestOptions) {
|
|
66
|
+
return core.HttpResponsePromise.fromPromise(this.__getClusterEks(request, requestOptions));
|
|
67
|
+
}
|
|
68
|
+
async __getClusterEks(request, requestOptions) {
|
|
69
|
+
const { cluster_id: clusterId } = request;
|
|
70
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
71
|
+
const _headers = (0, import_headers.mergeHeaders)(
|
|
72
|
+
_authRequest.headers,
|
|
73
|
+
this._options?.headers,
|
|
74
|
+
requestOptions?.headers
|
|
75
|
+
);
|
|
76
|
+
const _response = await core.fetcher({
|
|
77
|
+
url: core.url.join(
|
|
78
|
+
await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
|
|
79
|
+
`api/v1/k8s/clusters/${core.url.encodePathParam(clusterId)}/eks`
|
|
80
|
+
),
|
|
81
|
+
method: "GET",
|
|
82
|
+
headers: _headers,
|
|
83
|
+
queryParameters: requestOptions?.queryParams,
|
|
84
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
85
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
86
|
+
abortSignal: requestOptions?.abortSignal,
|
|
87
|
+
fetchFn: this._options?.fetch,
|
|
88
|
+
logging: this._options.logging
|
|
89
|
+
});
|
|
90
|
+
if (_response.ok) {
|
|
91
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
92
|
+
}
|
|
93
|
+
if (_response.error.reason === "status-code") {
|
|
94
|
+
switch (_response.error.statusCode) {
|
|
95
|
+
case 400:
|
|
96
|
+
throw new LevelFour.BadRequestError(
|
|
97
|
+
_response.error.body,
|
|
98
|
+
_response.rawResponse
|
|
99
|
+
);
|
|
100
|
+
case 401:
|
|
101
|
+
throw new LevelFour.UnauthorizedError(
|
|
102
|
+
_response.error.body,
|
|
103
|
+
_response.rawResponse
|
|
104
|
+
);
|
|
105
|
+
case 403:
|
|
106
|
+
throw new LevelFour.ForbiddenError(
|
|
107
|
+
_response.error.body,
|
|
108
|
+
_response.rawResponse
|
|
109
|
+
);
|
|
110
|
+
case 404:
|
|
111
|
+
throw new LevelFour.NotFoundError(
|
|
112
|
+
_response.error.body,
|
|
113
|
+
_response.rawResponse
|
|
114
|
+
);
|
|
115
|
+
case 409:
|
|
116
|
+
throw new LevelFour.ConflictError(
|
|
117
|
+
_response.error.body,
|
|
118
|
+
_response.rawResponse
|
|
119
|
+
);
|
|
120
|
+
case 422:
|
|
121
|
+
throw new LevelFour.UnprocessableEntityError(
|
|
122
|
+
_response.error.body,
|
|
123
|
+
_response.rawResponse
|
|
124
|
+
);
|
|
125
|
+
case 429:
|
|
126
|
+
throw new LevelFour.TooManyRequestsError(
|
|
127
|
+
_response.error.body,
|
|
128
|
+
_response.rawResponse
|
|
129
|
+
);
|
|
130
|
+
case 500:
|
|
131
|
+
throw new LevelFour.InternalServerError(
|
|
132
|
+
_response.error.body,
|
|
133
|
+
_response.rawResponse
|
|
134
|
+
);
|
|
135
|
+
default:
|
|
136
|
+
throw new errors.LevelFourError({
|
|
137
|
+
statusCode: _response.error.statusCode,
|
|
138
|
+
body: _response.error.body,
|
|
139
|
+
rawResponse: _response.rawResponse
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(
|
|
144
|
+
_response.error,
|
|
145
|
+
_response.rawResponse,
|
|
146
|
+
"GET",
|
|
147
|
+
"/api/v1/k8s/clusters/{cluster_id}/eks"
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The fleet's upgrade and support columns, one record per cluster the EKS collector has read.
|
|
152
|
+
*
|
|
153
|
+
* @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link LevelFour.BadRequestError}
|
|
156
|
+
* @throws {@link LevelFour.UnauthorizedError}
|
|
157
|
+
* @throws {@link LevelFour.ForbiddenError}
|
|
158
|
+
* @throws {@link LevelFour.NotFoundError}
|
|
159
|
+
* @throws {@link LevelFour.ConflictError}
|
|
160
|
+
* @throws {@link LevelFour.UnprocessableEntityError}
|
|
161
|
+
* @throws {@link LevelFour.TooManyRequestsError}
|
|
162
|
+
* @throws {@link LevelFour.InternalServerError}
|
|
163
|
+
*
|
|
164
|
+
* @example
|
|
165
|
+
* await client.kubernetes.listEksClusters()
|
|
166
|
+
*/
|
|
167
|
+
listEksClusters(requestOptions) {
|
|
168
|
+
return core.HttpResponsePromise.fromPromise(this.__listEksClusters(requestOptions));
|
|
169
|
+
}
|
|
170
|
+
async __listEksClusters(requestOptions) {
|
|
171
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
172
|
+
const _headers = (0, import_headers.mergeHeaders)(
|
|
173
|
+
_authRequest.headers,
|
|
174
|
+
this._options?.headers,
|
|
175
|
+
requestOptions?.headers
|
|
176
|
+
);
|
|
177
|
+
const _response = await core.fetcher({
|
|
178
|
+
url: core.url.join(
|
|
179
|
+
await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
|
|
180
|
+
"api/v1/k8s/eks-clusters"
|
|
181
|
+
),
|
|
182
|
+
method: "GET",
|
|
183
|
+
headers: _headers,
|
|
184
|
+
queryParameters: requestOptions?.queryParams,
|
|
185
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
186
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
187
|
+
abortSignal: requestOptions?.abortSignal,
|
|
188
|
+
fetchFn: this._options?.fetch,
|
|
189
|
+
logging: this._options.logging
|
|
190
|
+
});
|
|
191
|
+
if (_response.ok) {
|
|
192
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
193
|
+
}
|
|
194
|
+
if (_response.error.reason === "status-code") {
|
|
195
|
+
switch (_response.error.statusCode) {
|
|
196
|
+
case 400:
|
|
197
|
+
throw new LevelFour.BadRequestError(
|
|
198
|
+
_response.error.body,
|
|
199
|
+
_response.rawResponse
|
|
200
|
+
);
|
|
201
|
+
case 401:
|
|
202
|
+
throw new LevelFour.UnauthorizedError(
|
|
203
|
+
_response.error.body,
|
|
204
|
+
_response.rawResponse
|
|
205
|
+
);
|
|
206
|
+
case 403:
|
|
207
|
+
throw new LevelFour.ForbiddenError(
|
|
208
|
+
_response.error.body,
|
|
209
|
+
_response.rawResponse
|
|
210
|
+
);
|
|
211
|
+
case 404:
|
|
212
|
+
throw new LevelFour.NotFoundError(
|
|
213
|
+
_response.error.body,
|
|
214
|
+
_response.rawResponse
|
|
215
|
+
);
|
|
216
|
+
case 409:
|
|
217
|
+
throw new LevelFour.ConflictError(
|
|
218
|
+
_response.error.body,
|
|
219
|
+
_response.rawResponse
|
|
220
|
+
);
|
|
221
|
+
case 422:
|
|
222
|
+
throw new LevelFour.UnprocessableEntityError(
|
|
223
|
+
_response.error.body,
|
|
224
|
+
_response.rawResponse
|
|
225
|
+
);
|
|
226
|
+
case 429:
|
|
227
|
+
throw new LevelFour.TooManyRequestsError(
|
|
228
|
+
_response.error.body,
|
|
229
|
+
_response.rawResponse
|
|
230
|
+
);
|
|
231
|
+
case 500:
|
|
232
|
+
throw new LevelFour.InternalServerError(
|
|
233
|
+
_response.error.body,
|
|
234
|
+
_response.rawResponse
|
|
235
|
+
);
|
|
236
|
+
default:
|
|
237
|
+
throw new errors.LevelFourError({
|
|
238
|
+
statusCode: _response.error.statusCode,
|
|
239
|
+
body: _response.error.body,
|
|
240
|
+
rawResponse: _response.rawResponse
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/v1/k8s/eks-clusters");
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
248
|
+
0 && (module.exports = {
|
|
249
|
+
KubernetesClient
|
|
250
|
+
});
|
|
251
|
+
//# sourceMappingURL=Client.js.map
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
2
|
+
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
3
|
+
import * as core from "../../../../core/index.mjs";
|
|
4
|
+
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
5
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
6
|
+
import * as LevelFour from "../../../index.mjs";
|
|
7
|
+
class KubernetesClient {
|
|
8
|
+
_options;
|
|
9
|
+
constructor(options) {
|
|
10
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
|
|
14
|
+
*
|
|
15
|
+
* @param {LevelFour.GetClusterEksApiV1K8SClustersClusterIdEksGetRequest} request
|
|
16
|
+
* @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link LevelFour.BadRequestError}
|
|
19
|
+
* @throws {@link LevelFour.UnauthorizedError}
|
|
20
|
+
* @throws {@link LevelFour.ForbiddenError}
|
|
21
|
+
* @throws {@link LevelFour.NotFoundError}
|
|
22
|
+
* @throws {@link LevelFour.ConflictError}
|
|
23
|
+
* @throws {@link LevelFour.UnprocessableEntityError}
|
|
24
|
+
* @throws {@link LevelFour.TooManyRequestsError}
|
|
25
|
+
* @throws {@link LevelFour.InternalServerError}
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* await client.kubernetes.getClusterEks({
|
|
29
|
+
* cluster_id: "cluster_id"
|
|
30
|
+
* })
|
|
31
|
+
*/
|
|
32
|
+
getClusterEks(request, requestOptions) {
|
|
33
|
+
return core.HttpResponsePromise.fromPromise(this.__getClusterEks(request, requestOptions));
|
|
34
|
+
}
|
|
35
|
+
async __getClusterEks(request, requestOptions) {
|
|
36
|
+
const { cluster_id: clusterId } = request;
|
|
37
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
38
|
+
const _headers = mergeHeaders(
|
|
39
|
+
_authRequest.headers,
|
|
40
|
+
this._options?.headers,
|
|
41
|
+
requestOptions?.headers
|
|
42
|
+
);
|
|
43
|
+
const _response = await core.fetcher({
|
|
44
|
+
url: core.url.join(
|
|
45
|
+
await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
|
|
46
|
+
`api/v1/k8s/clusters/${core.url.encodePathParam(clusterId)}/eks`
|
|
47
|
+
),
|
|
48
|
+
method: "GET",
|
|
49
|
+
headers: _headers,
|
|
50
|
+
queryParameters: requestOptions?.queryParams,
|
|
51
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
52
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
53
|
+
abortSignal: requestOptions?.abortSignal,
|
|
54
|
+
fetchFn: this._options?.fetch,
|
|
55
|
+
logging: this._options.logging
|
|
56
|
+
});
|
|
57
|
+
if (_response.ok) {
|
|
58
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
59
|
+
}
|
|
60
|
+
if (_response.error.reason === "status-code") {
|
|
61
|
+
switch (_response.error.statusCode) {
|
|
62
|
+
case 400:
|
|
63
|
+
throw new LevelFour.BadRequestError(
|
|
64
|
+
_response.error.body,
|
|
65
|
+
_response.rawResponse
|
|
66
|
+
);
|
|
67
|
+
case 401:
|
|
68
|
+
throw new LevelFour.UnauthorizedError(
|
|
69
|
+
_response.error.body,
|
|
70
|
+
_response.rawResponse
|
|
71
|
+
);
|
|
72
|
+
case 403:
|
|
73
|
+
throw new LevelFour.ForbiddenError(
|
|
74
|
+
_response.error.body,
|
|
75
|
+
_response.rawResponse
|
|
76
|
+
);
|
|
77
|
+
case 404:
|
|
78
|
+
throw new LevelFour.NotFoundError(
|
|
79
|
+
_response.error.body,
|
|
80
|
+
_response.rawResponse
|
|
81
|
+
);
|
|
82
|
+
case 409:
|
|
83
|
+
throw new LevelFour.ConflictError(
|
|
84
|
+
_response.error.body,
|
|
85
|
+
_response.rawResponse
|
|
86
|
+
);
|
|
87
|
+
case 422:
|
|
88
|
+
throw new LevelFour.UnprocessableEntityError(
|
|
89
|
+
_response.error.body,
|
|
90
|
+
_response.rawResponse
|
|
91
|
+
);
|
|
92
|
+
case 429:
|
|
93
|
+
throw new LevelFour.TooManyRequestsError(
|
|
94
|
+
_response.error.body,
|
|
95
|
+
_response.rawResponse
|
|
96
|
+
);
|
|
97
|
+
case 500:
|
|
98
|
+
throw new LevelFour.InternalServerError(
|
|
99
|
+
_response.error.body,
|
|
100
|
+
_response.rawResponse
|
|
101
|
+
);
|
|
102
|
+
default:
|
|
103
|
+
throw new errors.LevelFourError({
|
|
104
|
+
statusCode: _response.error.statusCode,
|
|
105
|
+
body: _response.error.body,
|
|
106
|
+
rawResponse: _response.rawResponse
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return handleNonStatusCodeError(
|
|
111
|
+
_response.error,
|
|
112
|
+
_response.rawResponse,
|
|
113
|
+
"GET",
|
|
114
|
+
"/api/v1/k8s/clusters/{cluster_id}/eks"
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The fleet's upgrade and support columns, one record per cluster the EKS collector has read.
|
|
119
|
+
*
|
|
120
|
+
* @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link LevelFour.BadRequestError}
|
|
123
|
+
* @throws {@link LevelFour.UnauthorizedError}
|
|
124
|
+
* @throws {@link LevelFour.ForbiddenError}
|
|
125
|
+
* @throws {@link LevelFour.NotFoundError}
|
|
126
|
+
* @throws {@link LevelFour.ConflictError}
|
|
127
|
+
* @throws {@link LevelFour.UnprocessableEntityError}
|
|
128
|
+
* @throws {@link LevelFour.TooManyRequestsError}
|
|
129
|
+
* @throws {@link LevelFour.InternalServerError}
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* await client.kubernetes.listEksClusters()
|
|
133
|
+
*/
|
|
134
|
+
listEksClusters(requestOptions) {
|
|
135
|
+
return core.HttpResponsePromise.fromPromise(this.__listEksClusters(requestOptions));
|
|
136
|
+
}
|
|
137
|
+
async __listEksClusters(requestOptions) {
|
|
138
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
139
|
+
const _headers = mergeHeaders(
|
|
140
|
+
_authRequest.headers,
|
|
141
|
+
this._options?.headers,
|
|
142
|
+
requestOptions?.headers
|
|
143
|
+
);
|
|
144
|
+
const _response = await core.fetcher({
|
|
145
|
+
url: core.url.join(
|
|
146
|
+
await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
|
|
147
|
+
"api/v1/k8s/eks-clusters"
|
|
148
|
+
),
|
|
149
|
+
method: "GET",
|
|
150
|
+
headers: _headers,
|
|
151
|
+
queryParameters: requestOptions?.queryParams,
|
|
152
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
153
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
154
|
+
abortSignal: requestOptions?.abortSignal,
|
|
155
|
+
fetchFn: this._options?.fetch,
|
|
156
|
+
logging: this._options.logging
|
|
157
|
+
});
|
|
158
|
+
if (_response.ok) {
|
|
159
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
160
|
+
}
|
|
161
|
+
if (_response.error.reason === "status-code") {
|
|
162
|
+
switch (_response.error.statusCode) {
|
|
163
|
+
case 400:
|
|
164
|
+
throw new LevelFour.BadRequestError(
|
|
165
|
+
_response.error.body,
|
|
166
|
+
_response.rawResponse
|
|
167
|
+
);
|
|
168
|
+
case 401:
|
|
169
|
+
throw new LevelFour.UnauthorizedError(
|
|
170
|
+
_response.error.body,
|
|
171
|
+
_response.rawResponse
|
|
172
|
+
);
|
|
173
|
+
case 403:
|
|
174
|
+
throw new LevelFour.ForbiddenError(
|
|
175
|
+
_response.error.body,
|
|
176
|
+
_response.rawResponse
|
|
177
|
+
);
|
|
178
|
+
case 404:
|
|
179
|
+
throw new LevelFour.NotFoundError(
|
|
180
|
+
_response.error.body,
|
|
181
|
+
_response.rawResponse
|
|
182
|
+
);
|
|
183
|
+
case 409:
|
|
184
|
+
throw new LevelFour.ConflictError(
|
|
185
|
+
_response.error.body,
|
|
186
|
+
_response.rawResponse
|
|
187
|
+
);
|
|
188
|
+
case 422:
|
|
189
|
+
throw new LevelFour.UnprocessableEntityError(
|
|
190
|
+
_response.error.body,
|
|
191
|
+
_response.rawResponse
|
|
192
|
+
);
|
|
193
|
+
case 429:
|
|
194
|
+
throw new LevelFour.TooManyRequestsError(
|
|
195
|
+
_response.error.body,
|
|
196
|
+
_response.rawResponse
|
|
197
|
+
);
|
|
198
|
+
case 500:
|
|
199
|
+
throw new LevelFour.InternalServerError(
|
|
200
|
+
_response.error.body,
|
|
201
|
+
_response.rawResponse
|
|
202
|
+
);
|
|
203
|
+
default:
|
|
204
|
+
throw new errors.LevelFourError({
|
|
205
|
+
statusCode: _response.error.statusCode,
|
|
206
|
+
body: _response.error.body,
|
|
207
|
+
rawResponse: _response.rawResponse
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/api/v1/k8s/eks-clusters");
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
export {
|
|
215
|
+
KubernetesClient
|
|
216
|
+
};
|
|
217
|
+
//# sourceMappingURL=Client.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var client_exports = {};
|
|
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
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.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 GetClusterEksApiV1K8SClustersClusterIdEksGetRequest_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(GetClusterEksApiV1K8SClustersClusterIdEksGetRequest_exports);
|
|
17
|
+
//# sourceMappingURL=GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetClusterEksApiV1K8SClustersClusterIdEksGetRequest } from "./GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetClusterEksApiV1K8SClustersClusterIdEksGetRequest } from "./GetClusterEksApiV1K8SClustersClusterIdEksGetRequest.js";
|
|
@@ -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 requests_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(requests_exports);
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,32 @@
|
|
|
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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var exports_exports = {};
|
|
21
|
+
__export(exports_exports, {
|
|
22
|
+
KubernetesClient: () => import_Client.KubernetesClient
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(exports_exports);
|
|
25
|
+
var import_Client = require("./client/Client.js");
|
|
26
|
+
__reExport(exports_exports, require("./client/index.js"), module.exports);
|
|
27
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
+
0 && (module.exports = {
|
|
29
|
+
KubernetesClient,
|
|
30
|
+
...require("./client/index.js")
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=exports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var kubernetes_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(kubernetes_exports);
|
|
18
|
+
__reExport(kubernetes_exports, require("./client/index.js"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./client/index.js")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -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
|
}
|