From f5c9f14b687ebd51234efded3804dbfa5dccccc3 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Wed, 29 Jul 2026 11:00:23 +0000
Subject: [PATCH 1/7] SDK regeneration
---
.fern/metadata.json | 2 +-
README.md | 42 +-
pnpm-lock.yaml | 557 +++++++++---------
reference.md | 467 ++++-----------
.../requests/TrueFoundryApplyRequest.ts | 2 +-
.../agentSkillVersions/client/Client.ts | 13 +-
...st.ts => ListAgentSkillVersionsRequest.ts} | 23 +-
.../client/requests/index.ts | 2 +-
.../resources/agentSkills/client/Client.ts | 12 +-
...stRequest.ts => ListAgentSkillsRequest.ts} | 20 +-
.../agentSkills/client/requests/index.ts | 2 +-
.../resources/agentVersions/client/Client.ts | 9 +-
...Request.ts => ListAgentVersionsRequest.ts} | 11 +-
.../agentVersions/client/requests/index.ts | 2 +-
src/api/resources/agents/client/Client.ts | 17 +-
.../requests/CreateOrUpdateAgentRequest.ts | 2 +-
...ntsListRequest.ts => ListAgentsRequest.ts} | 20 +-
.../resources/agents/client/requests/index.ts | 2 +-
...equestType.ts => ListAgentsRequestType.ts} | 4 +-
src/api/resources/agents/types/index.ts | 2 +-
src/api/resources/alerts/client/Client.ts | 14 +-
...rtsListRequest.ts => ListAlertsRequest.ts} | 18 +-
.../resources/alerts/client/requests/index.ts | 2 +-
.../applicationVersions/client/Client.ts | 6 +-
...t.ts => ListApplicationVersionsRequest.ts} | 10 +-
.../client/requests/index.ts | 2 +-
.../resources/applications/client/Client.ts | 33 +-
.../requests/CreateDeploymentRequest.ts | 14 +-
...tRequest.ts => ListApplicationsRequest.ts} | 51 +-
.../applications/client/requests/index.ts | 2 +-
...> CancelDeploymentApplicationsResponse.ts} | 2 +-
...istApplicationsRequestDeviceTypeFilter.ts} | 4 +-
... ListApplicationsRequestLifecycleStage.ts} | 4 +-
src/api/resources/applications/types/index.ts | 6 +-
.../artifactVersions/client/Client.ts | 22 +-
...uest.ts => ListArtifactVersionsRequest.ts} | 33 +-
.../artifactVersions/client/requests/index.ts | 2 +-
src/api/resources/artifacts/client/Client.ts | 13 +-
...ListRequest.ts => ListArtifactsRequest.ts} | 23 +-
.../artifacts/client/requests/index.ts | 2 +-
src/api/resources/clusters/client/Client.ts | 23 +-
.../requests/CreateOrUpdateClusterRequest.ts | 2 +-
...Request.ts => GetAddonsClustersRequest.ts} | 11 +-
...ddonsRequest.ts => ListClustersRequest.ts} | 11 +-
.../clusters/client/requests/index.ts | 4 +-
.../dataDirectories/client/Client.ts | 21 +-
...est.ts => DeleteDataDirectoriesRequest.ts} | 6 +-
...quest.ts => ListDataDirectoriesRequest.ts} | 17 +-
.../dataDirectories/client/requests/index.ts | 4 +-
.../resources/environments/client/Client.ts | 6 +-
.../CreateOrUpdateEnvironmentRequest.ts | 2 +-
...tRequest.ts => ListEnvironmentsRequest.ts} | 6 +-
.../environments/client/requests/index.ts | 2 +-
src/api/resources/events/client/Client.ts | 18 +-
...ventsGetRequest.ts => GetEventsRequest.ts} | 23 +-
.../resources/events/client/requests/index.ts | 2 +-
src/api/resources/internal/client/Client.ts | 6 +-
...uest.ts => GetIdFromFqnInternalRequest.ts} | 2 +-
.../internal/client/requests/index.ts | 2 +-
.../resources/aiGateway/client/Client.ts | 8 +-
...> GetGatewayConfigAiGatewayRequestType.ts} | 4 +-
.../resources/aiGateway/types/index.ts | 2 +-
.../resources/applications/client/Client.ts | 20 +-
...dTemplateHashToDeploymentVersionRequest.ts | 12 -
...hToDeploymentVersionApplicationsRequest.ts | 10 +
...s => PromoteRolloutApplicationsRequest.ts} | 8 +-
.../applications/client/requests/index.ts | 4 +-
.../artifactVersions/client/Client.ts | 24 +-
...uest.ts => ListArtifactVersionsRequest.ts} | 35 +-
.../artifactVersions/client/requests/index.ts | 2 +-
.../resources/buildLogs/client/Client.ts | 11 +-
...gsGetRequest.ts => GetBuildLogsRequest.ts} | 19 +-
.../buildLogs/client/requests/index.ts | 2 +-
.../resources/deployments/client/Client.ts | 11 +-
...GetSuggestedEndpointDeploymentsRequest.ts} | 13 +-
.../deployments/client/requests/index.ts | 2 +-
.../dockerRegistries/client/Client.ts | 11 +-
... GetCredentialsDockerRegistriesRequest.ts} | 11 +-
.../dockerRegistries/client/requests/index.ts | 2 +-
.../resources/metrics/client/Client.ts | 10 +-
...sRequest.ts => GetChartsMetricsRequest.ts} | 12 +-
.../metrics/client/requests/index.ts | 2 +-
...=> GetChartsMetricsRequestFilterEntity.ts} | 4 +-
.../internal/resources/metrics/types/index.ts | 2 +-
.../requests/GitRepositoryExistsRequest.ts | 2 +-
.../resources/workflows/client/Client.ts | 6 +-
.../client/requests/ExecuteWorkflowRequest.ts | 4 +-
...ts => ExecuteWorkflowWorkflowsResponse.ts} | 2 +-
.../resources/workflows/types/index.ts | 2 +-
src/api/resources/jobs/client/Client.ts | 25 +-
...tRunsRequest.ts => ListRunsJobsRequest.ts} | 20 +-
...nateRequest.ts => TerminateJobsRequest.ts} | 2 +-
.../jobs/client/requests/TriggerJobRequest.ts | 8 +-
.../resources/jobs/client/requests/index.ts | 4 +-
src/api/resources/logs/client/Client.ts | 25 +-
.../{LogsGetRequest.ts => GetLogsRequest.ts} | 46 +-
.../resources/logs/client/requests/index.ts | 2 +-
src/api/resources/mlRepos/client/Client.ts | 13 +-
.../client/requests/ApplyMlRepoRequest.ts | 2 +-
...osListRequest.ts => ListMlReposRequest.ts} | 14 +-
.../mlRepos/client/requests/index.ts | 2 +-
.../resources/modelVersions/client/Client.ts | 22 +-
.../requests/ApplyModelVersionTagsRequest.ts | 2 +-
...Request.ts => ListModelVersionsRequest.ts} | 35 +-
.../modelVersions/client/requests/index.ts | 2 +-
src/api/resources/models/client/Client.ts | 13 +-
...elsListRequest.ts => ListModelsRequest.ts} | 23 +-
.../resources/models/client/requests/index.ts | 2 +-
.../personalAccessTokens/client/Client.ts | 16 +-
.../CreatePersonalAccessTokenRequest.ts | 8 +-
...t.ts => GetPersonalAccessTokensRequest.ts} | 8 +-
....ts => ListPersonalAccessTokensRequest.ts} | 8 +-
.../client/requests/index.ts | 4 +-
.../resources/promptVersions/client/Client.ts | 14 +-
.../requests/ApplyPromptVersionTagsRequest.ts | 2 +-
...equest.ts => ListPromptVersionsRequest.ts} | 26 +-
.../promptVersions/client/requests/index.ts | 2 +-
src/api/resources/prompts/client/Client.ts | 12 +-
...tsListRequest.ts => ListPromptsRequest.ts} | 20 +-
.../prompts/client/requests/index.ts | 2 +-
src/api/resources/runs/client/Client.ts | 6 +-
.../runs/client/requests/CreateRunRequest.ts | 4 +-
...uest.ts => GetMetricHistoryRunsRequest.ts} | 2 +-
.../requests/ListMetricHistoryRequest.ts | 2 +-
.../runs/client/requests/SearchRunsRequest.ts | 14 +-
.../runs/client/requests/UpdateRunRequest.ts | 6 +-
.../resources/runs/client/requests/index.ts | 2 +-
.../resources/secretGroups/client/Client.ts | 24 +-
.../CreateOrUpdateSecretGroupRequest.ts | 2 +-
...equest.ts => DeleteSecretGroupsRequest.ts} | 8 +-
...tRequest.ts => ListSecretGroupsRequest.ts} | 17 +-
.../secretGroups/client/requests/index.ts | 4 +-
src/api/resources/secrets/client/Client.ts | 10 +-
...leteRequest.ts => DeleteSecretsRequest.ts} | 8 +-
.../client/requests/ListSecretsRequest.ts | 10 +-
.../secrets/client/requests/index.ts | 2 +-
src/api/resources/teams/client/Client.ts | 27 +-
.../teams/client/requests/ApplyTeamRequest.ts | 2 +-
...Request.ts => ListManagersTeamsRequest.ts} | 6 +-
...sRequest.ts => ListMembersTeamsRequest.ts} | 6 +-
...eamsListRequest.ts => ListTeamsRequest.ts} | 14 +-
.../resources/teams/client/requests/index.ts | 6 +-
.../client/requests/QuerySpansRequest.ts | 28 +-
src/api/resources/users/client/Client.ts | 19 +-
.../client/requests/ActivateUserRequest.ts | 2 +-
.../client/requests/DeactivateUserRequest.ts | 2 +-
...DeleteRequest.ts => DeleteUsersRequest.ts} | 8 +-
...sersListRequest.ts => ListUsersRequest.ts} | 13 +-
.../client/requests/RegisterUsersRequest.ts | 8 +-
.../client/requests/UpdateUserRolesRequest.ts | 2 +-
.../resources/users/client/requests/index.ts | 4 +-
.../virtualAccounts/client/Client.ts | 11 +-
.../requests/ApplyVirtualAccountRequest.ts | 2 +-
...quest.ts => ListVirtualAccountsRequest.ts} | 16 +-
.../virtualAccounts/client/requests/index.ts | 2 +-
src/api/resources/workspaces/client/Client.ts | 24 +-
.../CreateOrUpdateWorkspaceRequest.ts | 2 +-
...istRequest.ts => ListWorkspacesRequest.ts} | 22 +-
...hRequest.ts => SearchWorkspacesRequest.ts} | 13 +-
.../workspaces/client/requests/index.ts | 4 +-
src/api/types/Account.ts | 6 +-
src/api/types/AddonComponent.ts | 40 +-
src/api/types/AddonComponentStatus.ts | 4 +-
src/api/types/Agent.ts | 6 +-
src/api/types/AgentSkill.ts | 6 +-
src/api/types/AgentSkillVersion.ts | 4 +-
src/api/types/AgentVersion.ts | 6 +-
src/api/types/AgentVersionMetadata.ts | 2 +-
src/api/types/Alert.ts | 14 +-
src/api/types/Application.ts | 44 +-
src/api/types/ApplicationDebugInfo.ts | 8 +-
src/api/types/ApplicationMetadata.ts | 2 +-
src/api/types/ApplicationSummary.ts | 16 +-
src/api/types/Artifact.ts | 8 +-
src/api/types/ArtifactManifest.ts | 2 +-
src/api/types/ArtifactVersion.ts | 8 +-
src/api/types/BaseService.ts | 2 +-
src/api/types/BaseWorkbenchInput.ts | 2 +-
src/api/types/ChatPromptManifest.ts | 4 +-
src/api/types/Cluster.ts | 4 +-
src/api/types/ClusterGateway.ts | 4 +-
src/api/types/ContainerTaskConfig.ts | 2 +-
src/api/types/DataDirectory.ts | 2 +-
src/api/types/DataDirectoryManifest.ts | 2 +-
src/api/types/DatabricksJobTaskConfig.ts | 6 +-
src/api/types/Deployment.ts | 26 +-
src/api/types/DeploymentBuild.ts | 28 +-
src/api/types/DeploymentStatus.ts | 18 +-
src/api/types/Environment.ts | 8 +-
src/api/types/Event.ts | 6 +-
src/api/types/EventInvolvedObject.ts | 6 +-
src/api/types/FileInfo.ts | 6 +-
src/api/types/GatewayConfiguration.ts | 6 +-
.../types/GetAutoProvisioningStateResponse.ts | 2 +-
.../GetSuggestedDeploymentEndpointResponse.ts | 4 +-
src/api/types/GetVirtualAccountResponse.ts | 2 +-
src/api/types/GitRepositoryExistsResponse.ts | 2 +-
src/api/types/HttpError.ts | 4 +-
src/api/types/IChange.ts | 6 +-
src/api/types/InternalArtifactVersion.ts | 14 +-
src/api/types/InternalModelVersion.ts | 12 +-
src/api/types/Job.ts | 2 +-
src/api/types/JobRun.ts | 20 +-
src/api/types/JobTriggerInput.ts | 4 +-
src/api/types/Jwt.ts | 2 +-
src/api/types/ListFilesRequest.ts | 6 +-
src/api/types/Log.ts | 4 +-
src/api/types/Metadata.ts | 2 +-
src/api/types/Metric.ts | 6 +-
src/api/types/MlRepo.ts | 8 +-
src/api/types/Model.ts | 8 +-
src/api/types/ModelManifest.ts | 2 +-
src/api/types/ModelVersion.ts | 10 +-
src/api/types/MultiPartUpload.ts | 4 +-
src/api/types/Pagination.ts | 4 +-
src/api/types/PresignedUrlObject.ts | 2 +-
src/api/types/Prompt.ts | 8 +-
src/api/types/PromptVersion.ts | 6 +-
src/api/types/PySparkTaskConfig.ts | 4 +-
src/api/types/PythonTaskConfig.ts | 2 +-
src/api/types/Recommendation.ts | 16 +-
src/api/types/SearchRunsResponse.ts | 4 +-
src/api/types/Secret.ts | 14 +-
src/api/types/SecretGroup.ts | 10 +-
src/api/types/SecretVersion.ts | 12 +-
src/api/types/Session.ts | 26 +-
src/api/types/SessionActor.ts | 2 +-
src/api/types/SparkJob.ts | 4 +-
src/api/types/SparkJobTriggerInput.ts | 6 +-
src/api/types/Subject.ts | 10 +-
src/api/types/SubjectPermission.ts | 4 +-
src/api/types/SyncTokenInSecretStoreInfo.ts | 2 +-
src/api/types/Team.ts | 6 +-
src/api/types/TeamMetadata.ts | 4 +-
src/api/types/TokenPagination.ts | 6 +-
src/api/types/TraceSpan.ts | 2 +-
src/api/types/TransformersFramework.ts | 6 +-
src/api/types/TrueFoundryApplyResponse.ts | 6 +-
src/api/types/UpdateSecretInput.ts | 2 +-
src/api/types/UpgradeData.ts | 12 +-
src/api/types/UsageCodeSnippet.ts | 4 +-
src/api/types/User.ts | 8 +-
src/api/types/UserMetadata.ts | 26 +-
src/api/types/UserResource.ts | 2 +-
src/api/types/VirtualAccount.ts | 20 +-
src/api/types/Workspace.ts | 6 +-
.../requests/TrueFoundryApplyRequest.ts | 4 +-
.../requests/CreateOrUpdateAgentRequest.ts | 4 +-
...equestType.ts => ListAgentsRequestType.ts} | 4 +-
.../resources/agents/types/index.ts | 2 +-
.../requests/CreateDeploymentRequest.ts | 28 +-
...> CancelDeploymentApplicationsResponse.ts} | 4 +-
...istApplicationsRequestDeviceTypeFilter.ts} | 4 +-
... ListApplicationsRequestLifecycleStage.ts} | 4 +-
.../resources/applications/types/index.ts | 6 +-
.../requests/CreateOrUpdateClusterRequest.ts | 4 +-
.../CreateOrUpdateEnvironmentRequest.ts | 4 +-
...> GetGatewayConfigAiGatewayRequestType.ts} | 4 +-
.../resources/aiGateway/types/index.ts | 2 +-
...=> GetChartsMetricsRequestFilterEntity.ts} | 4 +-
.../internal/resources/metrics/types/index.ts | 2 +-
.../requests/GitRepositoryExistsRequest.ts | 4 +-
.../client/requests/ExecuteWorkflowRequest.ts | 8 +-
...ts => ExecuteWorkflowWorkflowsResponse.ts} | 4 +-
.../resources/workflows/types/index.ts | 2 +-
.../jobs/client/requests/TriggerJobRequest.ts | 16 +-
.../client/requests/ApplyMlRepoRequest.ts | 4 +-
.../requests/ApplyModelVersionTagsRequest.ts | 4 +-
.../CreatePersonalAccessTokenRequest.ts | 16 +-
.../requests/ApplyPromptVersionTagsRequest.ts | 4 +-
.../runs/client/requests/CreateRunRequest.ts | 8 +-
.../requests/ListMetricHistoryRequest.ts | 4 +-
.../runs/client/requests/SearchRunsRequest.ts | 28 +-
.../runs/client/requests/UpdateRunRequest.ts | 12 +-
.../CreateOrUpdateSecretGroupRequest.ts | 4 +-
.../client/requests/ListSecretsRequest.ts | 20 +-
.../teams/client/requests/ApplyTeamRequest.ts | 4 +-
.../client/requests/QuerySpansRequest.ts | 56 +-
.../client/requests/ActivateUserRequest.ts | 4 +-
.../client/requests/DeactivateUserRequest.ts | 4 +-
.../client/requests/RegisterUsersRequest.ts | 16 +-
.../client/requests/UpdateUserRolesRequest.ts | 4 +-
.../requests/ApplyVirtualAccountRequest.ts | 4 +-
.../CreateOrUpdateWorkspaceRequest.ts | 4 +-
src/serialization/types/Account.ts | 12 +-
src/serialization/types/AddonComponent.ts | 80 +--
.../types/AddonComponentStatus.ts | 8 +-
src/serialization/types/Agent.ts | 12 +-
src/serialization/types/AgentSkill.ts | 12 +-
src/serialization/types/AgentSkillVersion.ts | 8 +-
src/serialization/types/AgentVersion.ts | 12 +-
.../types/AgentVersionMetadata.ts | 4 +-
src/serialization/types/Alert.ts | 28 +-
src/serialization/types/Application.ts | 88 +--
.../types/ApplicationDebugInfo.ts | 16 +-
.../types/ApplicationMetadata.ts | 4 +-
src/serialization/types/ApplicationSummary.ts | 32 +-
src/serialization/types/Artifact.ts | 16 +-
src/serialization/types/ArtifactManifest.ts | 4 +-
src/serialization/types/ArtifactVersion.ts | 16 +-
src/serialization/types/BaseService.ts | 4 +-
src/serialization/types/BaseWorkbenchInput.ts | 4 +-
src/serialization/types/ChatPromptManifest.ts | 6 +-
src/serialization/types/Cluster.ts | 8 +-
src/serialization/types/ClusterGateway.ts | 8 +-
.../types/ContainerTaskConfig.ts | 4 +-
src/serialization/types/DataDirectory.ts | 4 +-
.../types/DataDirectoryManifest.ts | 4 +-
.../types/DatabricksJobTaskConfig.ts | 12 +-
src/serialization/types/Deployment.ts | 52 +-
src/serialization/types/DeploymentBuild.ts | 56 +-
src/serialization/types/DeploymentStatus.ts | 36 +-
src/serialization/types/Environment.ts | 16 +-
src/serialization/types/Event.ts | 12 +-
.../types/EventInvolvedObject.ts | 12 +-
src/serialization/types/FileInfo.ts | 12 +-
.../types/GatewayConfiguration.ts | 12 +-
.../types/GetAutoProvisioningStateResponse.ts | 4 +-
.../GetSuggestedDeploymentEndpointResponse.ts | 8 +-
.../types/GetVirtualAccountResponse.ts | 4 +-
.../types/GitRepositoryExistsResponse.ts | 4 +-
src/serialization/types/HttpError.ts | 8 +-
src/serialization/types/IChange.ts | 12 +-
.../types/InternalArtifactVersion.ts | 28 +-
.../types/InternalModelVersion.ts | 24 +-
src/serialization/types/Job.ts | 4 +-
src/serialization/types/JobRun.ts | 40 +-
src/serialization/types/JobTriggerInput.ts | 8 +-
src/serialization/types/Jwt.ts | 4 +-
src/serialization/types/ListFilesRequest.ts | 12 +-
src/serialization/types/Log.ts | 8 +-
src/serialization/types/Metadata.ts | 4 +-
src/serialization/types/Metric.ts | 12 +-
src/serialization/types/MlRepo.ts | 16 +-
src/serialization/types/Model.ts | 16 +-
src/serialization/types/ModelManifest.ts | 4 +-
src/serialization/types/ModelVersion.ts | 20 +-
src/serialization/types/MultiPartUpload.ts | 8 +-
src/serialization/types/Pagination.ts | 8 +-
src/serialization/types/PresignedUrlObject.ts | 4 +-
src/serialization/types/Prompt.ts | 16 +-
src/serialization/types/PromptVersion.ts | 12 +-
src/serialization/types/PySparkTaskConfig.ts | 8 +-
src/serialization/types/PythonTaskConfig.ts | 4 +-
src/serialization/types/Recommendation.ts | 32 +-
src/serialization/types/SearchRunsResponse.ts | 8 +-
src/serialization/types/Secret.ts | 28 +-
src/serialization/types/SecretGroup.ts | 20 +-
src/serialization/types/SecretVersion.ts | 24 +-
src/serialization/types/Session.ts | 52 +-
src/serialization/types/SessionActor.ts | 4 +-
src/serialization/types/SparkJob.ts | 8 +-
.../types/SparkJobTriggerInput.ts | 12 +-
src/serialization/types/Subject.ts | 20 +-
src/serialization/types/SubjectPermission.ts | 8 +-
.../types/SyncTokenInSecretStoreInfo.ts | 4 +-
src/serialization/types/Team.ts | 12 +-
src/serialization/types/TeamMetadata.ts | 8 +-
src/serialization/types/TokenPagination.ts | 12 +-
src/serialization/types/TraceSpan.ts | 4 +-
.../types/TransformersFramework.ts | 12 +-
.../types/TrueFoundryApplyResponse.ts | 12 +-
src/serialization/types/UpdateSecretInput.ts | 4 +-
src/serialization/types/UpgradeData.ts | 24 +-
src/serialization/types/UsageCodeSnippet.ts | 8 +-
src/serialization/types/User.ts | 16 +-
src/serialization/types/UserMetadata.ts | 52 +-
src/serialization/types/UserResource.ts | 4 +-
src/serialization/types/VirtualAccount.ts | 40 +-
src/serialization/types/Workspace.ts | 12 +-
tests/wire/agentSkillVersions.test.ts | 7 +-
tests/wire/agentSkills.test.ts | 6 +-
tests/wire/agentVersions.test.ts | 3 +-
tests/wire/agents.test.ts | 6 +-
tests/wire/alerts.test.ts | 8 +-
tests/wire/applications.test.ts | 17 +-
tests/wire/artifactVersions.test.ts | 11 +-
tests/wire/artifacts.test.ts | 7 +-
tests/wire/clusters.test.ts | 6 +-
tests/wire/dataDirectories.test.ts | 9 +-
tests/wire/events.test.ts | 9 +-
tests/wire/internal/applications.test.ts | 8 +-
tests/wire/internal/artifactVersions.test.ts | 13 +-
tests/wire/internal/buildLogs.test.ts | 5 +-
tests/wire/internal/deployments.test.ts | 5 +-
tests/wire/internal/dockerRegistries.test.ts | 5 +-
tests/wire/internal/metrics.test.ts | 2 -
tests/wire/jobs.test.ts | 8 +-
tests/wire/logs.test.ts | 16 +-
tests/wire/mlRepos.test.ts | 4 +-
tests/wire/modelVersions.test.ts | 11 +-
tests/wire/models.test.ts | 7 +-
tests/wire/personalAccessTokens.test.ts | 4 +-
tests/wire/promptVersions.test.ts | 8 +-
tests/wire/prompts.test.ts | 6 +-
tests/wire/secretGroups.test.ts | 9 +-
tests/wire/secrets.test.ts | 4 +-
tests/wire/teams.test.ts | 4 +-
tests/wire/users.test.ts | 7 +-
tests/wire/virtualAccounts.test.ts | 2 -
tests/wire/workspaces.test.ts | 9 +-
401 files changed, 2228 insertions(+), 2991 deletions(-)
rename src/api/resources/agentSkillVersions/client/requests/{AgentSkillVersionsListRequest.ts => ListAgentSkillVersionsRequest.ts} (59%)
rename src/api/resources/agentSkills/client/requests/{AgentSkillsListRequest.ts => ListAgentSkillsRequest.ts} (57%)
rename src/api/resources/agentVersions/client/requests/{AgentVersionsListRequest.ts => ListAgentVersionsRequest.ts} (60%)
rename src/api/resources/agents/client/requests/{AgentsListRequest.ts => ListAgentsRequest.ts} (69%)
rename src/api/resources/agents/types/{AgentsListRequestType.ts => ListAgentsRequestType.ts} (57%)
rename src/api/resources/alerts/client/requests/{AlertsListRequest.ts => ListAlertsRequest.ts} (61%)
rename src/api/resources/applicationVersions/client/requests/{ApplicationVersionsListRequest.ts => ListApplicationVersionsRequest.ts} (68%)
rename src/api/resources/applications/client/requests/{ApplicationsListRequest.ts => ListApplicationsRequest.ts} (52%)
rename src/api/resources/applications/types/{ApplicationsCancelDeploymentResponse.ts => CancelDeploymentApplicationsResponse.ts} (68%)
rename src/api/resources/applications/types/{ApplicationsListRequestDeviceTypeFilter.ts => ListApplicationsRequestDeviceTypeFilter.ts} (58%)
rename src/api/resources/applications/types/{ApplicationsListRequestLifecycleStage.ts => ListApplicationsRequestLifecycleStage.ts} (52%)
rename src/api/resources/artifactVersions/client/requests/{ArtifactVersionsListRequest.ts => ListArtifactVersionsRequest.ts} (57%)
rename src/api/resources/artifacts/client/requests/{ArtifactsListRequest.ts => ListArtifactsRequest.ts} (56%)
rename src/api/resources/clusters/client/requests/{ClustersListRequest.ts => GetAddonsClustersRequest.ts} (66%)
rename src/api/resources/clusters/client/requests/{ClustersGetAddonsRequest.ts => ListClustersRequest.ts} (65%)
rename src/api/resources/dataDirectories/client/requests/{DataDirectoriesDeleteRequest.ts => DeleteDataDirectoriesRequest.ts} (67%)
rename src/api/resources/dataDirectories/client/requests/{DataDirectoriesListRequest.ts => ListDataDirectoriesRequest.ts} (57%)
rename src/api/resources/environments/client/requests/{EnvironmentsListRequest.ts => ListEnvironmentsRequest.ts} (69%)
rename src/api/resources/events/client/requests/{EventsGetRequest.ts => GetEventsRequest.ts} (64%)
rename src/api/resources/internal/client/requests/{InternalGetIdFromFqnRequest.ts => GetIdFromFqnInternalRequest.ts} (78%)
rename src/api/resources/internal/resources/aiGateway/types/{AiGatewayGetGatewayConfigRequestType.ts => GetGatewayConfigAiGatewayRequestType.ts} (78%)
delete mode 100644 src/api/resources/internal/resources/applications/client/requests/ApplicationsGetPodTemplateHashToDeploymentVersionRequest.ts
create mode 100644 src/api/resources/internal/resources/applications/client/requests/GetPodTemplateHashToDeploymentVersionApplicationsRequest.ts
rename src/api/resources/internal/resources/applications/client/requests/{ApplicationsPromoteRolloutRequest.ts => PromoteRolloutApplicationsRequest.ts} (56%)
rename src/api/resources/internal/resources/artifactVersions/client/requests/{ArtifactVersionsListRequest.ts => ListArtifactVersionsRequest.ts} (61%)
rename src/api/resources/internal/resources/buildLogs/client/requests/{BuildLogsGetRequest.ts => GetBuildLogsRequest.ts} (70%)
rename src/api/resources/internal/resources/deployments/client/requests/{DeploymentsGetSuggestedEndpointRequest.ts => GetSuggestedEndpointDeploymentsRequest.ts} (65%)
rename src/api/resources/internal/resources/dockerRegistries/client/requests/{DockerRegistriesGetCredentialsRequest.ts => GetCredentialsDockerRegistriesRequest.ts} (54%)
rename src/api/resources/internal/resources/metrics/client/requests/{MetricsGetChartsRequest.ts => GetChartsMetricsRequest.ts} (75%)
rename src/api/resources/internal/resources/metrics/types/{MetricsGetChartsRequestFilterEntity.ts => GetChartsMetricsRequestFilterEntity.ts} (56%)
rename src/api/resources/internal/resources/workflows/types/{WorkflowsExecuteWorkflowResponse.ts => ExecuteWorkflowWorkflowsResponse.ts} (71%)
rename src/api/resources/jobs/client/requests/{JobsListRunsRequest.ts => ListRunsJobsRequest.ts} (60%)
rename src/api/resources/jobs/client/requests/{JobsTerminateRequest.ts => TerminateJobsRequest.ts} (88%)
rename src/api/resources/logs/client/requests/{LogsGetRequest.ts => GetLogsRequest.ts} (66%)
rename src/api/resources/mlRepos/client/requests/{MlReposListRequest.ts => ListMlReposRequest.ts} (63%)
rename src/api/resources/modelVersions/client/requests/{ModelVersionsListRequest.ts => ListModelVersionsRequest.ts} (53%)
rename src/api/resources/models/client/requests/{ModelsListRequest.ts => ListModelsRequest.ts} (55%)
rename src/api/resources/personalAccessTokens/client/requests/{PersonalAccessTokensGetRequest.ts => GetPersonalAccessTokensRequest.ts} (55%)
rename src/api/resources/personalAccessTokens/client/requests/{PersonalAccessTokensListRequest.ts => ListPersonalAccessTokensRequest.ts} (70%)
rename src/api/resources/promptVersions/client/requests/{PromptVersionsListRequest.ts => ListPromptVersionsRequest.ts} (59%)
rename src/api/resources/prompts/client/requests/{PromptsListRequest.ts => ListPromptsRequest.ts} (57%)
rename src/api/resources/runs/client/requests/{RunsGetMetricHistoryRequest.ts => GetMetricHistoryRunsRequest.ts} (81%)
rename src/api/resources/secretGroups/client/requests/{SecretGroupsDeleteRequest.ts => DeleteSecretGroupsRequest.ts} (63%)
rename src/api/resources/secretGroups/client/requests/{SecretGroupsListRequest.ts => ListSecretGroupsRequest.ts} (63%)
rename src/api/resources/secrets/client/requests/{SecretsDeleteRequest.ts => DeleteSecretsRequest.ts} (54%)
rename src/api/resources/teams/client/requests/{TeamsListMembersRequest.ts => ListManagersTeamsRequest.ts} (82%)
rename src/api/resources/teams/client/requests/{TeamsListManagersRequest.ts => ListMembersTeamsRequest.ts} (82%)
rename src/api/resources/teams/client/requests/{TeamsListRequest.ts => ListTeamsRequest.ts} (68%)
rename src/api/resources/users/client/requests/{UsersDeleteRequest.ts => DeleteUsersRequest.ts} (58%)
rename src/api/resources/users/client/requests/{UsersListRequest.ts => ListUsersRequest.ts} (62%)
rename src/api/resources/virtualAccounts/client/requests/{VirtualAccountsListRequest.ts => ListVirtualAccountsRequest.ts} (73%)
rename src/api/resources/workspaces/client/requests/{WorkspacesListRequest.ts => ListWorkspacesRequest.ts} (62%)
rename src/api/resources/workspaces/client/requests/{WorkspacesSearchRequest.ts => SearchWorkspacesRequest.ts} (75%)
rename src/serialization/resources/agents/types/{AgentsListRequestType.ts => ListAgentsRequestType.ts} (68%)
rename src/serialization/resources/applications/types/{ApplicationsCancelDeploymentResponse.ts => CancelDeploymentApplicationsResponse.ts} (60%)
rename src/serialization/resources/applications/types/{ApplicationsListRequestDeviceTypeFilter.ts => ListApplicationsRequestDeviceTypeFilter.ts} (64%)
rename src/serialization/resources/applications/types/{ApplicationsListRequestLifecycleStage.ts => ListApplicationsRequestLifecycleStage.ts} (58%)
rename src/serialization/resources/internal/resources/aiGateway/types/{AiGatewayGetGatewayConfigRequestType.ts => GetGatewayConfigAiGatewayRequestType.ts} (78%)
rename src/serialization/resources/internal/resources/metrics/types/{MetricsGetChartsRequestFilterEntity.ts => GetChartsMetricsRequestFilterEntity.ts} (61%)
rename src/serialization/resources/internal/resources/workflows/types/{WorkflowsExecuteWorkflowResponse.ts => ExecuteWorkflowWorkflowsResponse.ts} (62%)
diff --git a/.fern/metadata.json b/.fern/metadata.json
index 289609fc..39a381ba 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -20,7 +20,7 @@
"streamType": "web",
"useDefaultRequestParameterValues": true
},
- "originGitCommit": "32fe60c676059f66eca28ed6042c72b38db2ff04",
+ "originGitCommit": "68162af8093fdd989741251da8c28c5201afabec",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "0.0.0",
diff --git a/README.md b/README.md
index c601fad5..1c452251 100644
--- a/README.md
+++ b/README.md
@@ -53,22 +53,7 @@ import { TrueFoundryClient } from "truefoundry-sdk";
const client = new TrueFoundryClient({ environment: "YOUR_BASE_URL", apiKey: "YOUR_API_KEY" });
const pageableResponse = await client.applications.list({
limit: 10,
- offset: 0,
- applicationId: "applicationId",
- workspaceId: "workspaceId",
- applicationName: "applicationName",
- fqn: "fqn",
- workspaceFqn: "workspaceFqn",
- applicationType: "async-service",
- nameSearchQuery: "nameSearchQuery",
- environmentId: "environmentId",
- clusterId: "clusterId",
- applicationSetId: "applicationSetId",
- paused: true,
- deviceTypeFilter: "cpu",
- lastDeployedBySubjects: "lastDeployedBySubjects",
- lifecycleStage: "active",
- isRecommendationPresentAndVisible: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -77,22 +62,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.applications.list({
limit: 10,
- offset: 0,
- applicationId: "applicationId",
- workspaceId: "workspaceId",
- applicationName: "applicationName",
- fqn: "fqn",
- workspaceFqn: "workspaceFqn",
- applicationType: "async-service",
- nameSearchQuery: "nameSearchQuery",
- environmentId: "environmentId",
- clusterId: "clusterId",
- applicationSetId: "applicationSetId",
- paused: true,
- deviceTypeFilter: "cpu",
- lastDeployedBySubjects: "lastDeployedBySubjects",
- lifecycleStage: "active",
- isRecommendationPresentAndVisible: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -110,7 +80,7 @@ following namespace:
```typescript
import { TrueFoundry } from "truefoundry-sdk";
-const request: TrueFoundry.InternalGetIdFromFqnRequest = {
+const request: TrueFoundry.GetIdFromFqnInternalRequest = {
...
};
```
@@ -146,8 +116,7 @@ const client = new TrueFoundryClient({ environment: "YOUR_BASE_URL", apiKey: "YO
const pageableResponse = await client.users.list({
limit: 10,
offset: 0,
- query: "john@example.com",
- showInvalidUsers: true
+ query: "john@example.com"
});
for await (const item of pageableResponse) {
console.log(item);
@@ -157,8 +126,7 @@ for await (const item of pageableResponse) {
let page = await client.users.list({
limit: 10,
offset: 0,
- query: "john@example.com",
- showInvalidUsers: true
+ query: "john@example.com"
});
while (page.hasNextPage()) {
page = page.getNextPage();
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ea5ae6e9..806e7cba 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -19,16 +19,16 @@ importers:
version: 2.11.2(@types/node@20.19.43)(typescript@5.9.3)
ts-loader:
specifier: ^9.5.4
- version: 9.6.2(typescript@5.9.3)(webpack@5.108.3)
+ version: 9.6.2(typescript@5.9.3)(webpack@5.109.2)
typescript:
specifier: ~5.9.3
version: 5.9.3
vitest:
specifier: ^4.1.1
- version: 4.1.9(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0))
+ version: 4.1.10(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0))
webpack:
specifier: ^5.105.4
- version: 5.108.3
+ version: 5.109.2
packages:
@@ -159,11 +159,12 @@ packages:
resolution: {integrity: sha512-2+BzZbjRO7Ct61k8fMNHEtoKjeWI9pIlHFTqBwZ5icHpqszIgEZbjb1MW5Z0+bITTCTl3gk4PDBxs9tA/csXvA==}
engines: {node: '>=18'}
- '@napi-rs/wasm-runtime@1.1.6':
- resolution: {integrity: sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==}
+ '@napi-rs/wasm-runtime@1.2.0':
+ resolution: {integrity: sha512-kDoONqMa+VnZ4vvvu/ZUurpJ4gkZU57e7g69qpNgWhYcZFPUHZM2CEMKm+cG6ufDVALbjMvfmMjFVqaK7uEMnA==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0}
peerDependencies:
- '@emnapi/core': ^1.7.1
- '@emnapi/runtime': ^1.7.1
+ '@emnapi/core': ^2.0.0-alpha.3
+ '@emnapi/runtime': ^2.0.0-alpha.3
'@open-draft/deferred-promise@2.2.0':
resolution: {integrity: sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==}
@@ -174,100 +175,100 @@ packages:
'@open-draft/until@2.1.0':
resolution: {integrity: sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==}
- '@oxc-project/types@0.138.0':
- resolution: {integrity: sha512-1a7ZKmrRTCoN1XMZ4L0PyyqrMnrNlLyPuOkdSX2MZg7IiIGRUyurNhAm73ptDOraoBcIordsIGKNPKUzy3ZmfA==}
+ '@oxc-project/types@0.139.0':
+ resolution: {integrity: sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==}
- '@rolldown/binding-android-arm64@1.1.4':
- resolution: {integrity: sha512-EZLpf/8y7GXkkra90ML47kzik/GMP3EMcE9bPyHmRfxLC6z9+aW5A8poCsoxjrT5GfEcNAAvWwUHjvP1pUQkfw==}
+ '@rolldown/binding-android-arm64@1.1.5':
+ resolution: {integrity: sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [android]
- '@rolldown/binding-darwin-arm64@1.1.4':
- resolution: {integrity: sha512-aUi+HBvmYb7j8krl1+qJgkG8C17fO79gk3c+jPw4S8glRFc1DTija9S3EyaTSQUm5GJXYKDAsugBEhFHH2vYiQ==}
+ '@rolldown/binding-darwin-arm64@1.1.5':
+ resolution: {integrity: sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [darwin]
- '@rolldown/binding-darwin-x64@1.1.4':
- resolution: {integrity: sha512-F7hHC3gwY11+vByKPRWqwGbeXWVgKmL+pTGCinaEhdihzBV2aQ0fvZOch9cXYUOKuKKq429HeYXOqQLc7wFCEg==}
+ '@rolldown/binding-darwin-x64@1.1.5':
+ resolution: {integrity: sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [darwin]
- '@rolldown/binding-freebsd-x64@1.1.4':
- resolution: {integrity: sha512-sI5yw+7s92SK6odiEhD5lKCBlWcpjHS5qyqpVQbZAJ0fIzEUXrmbl3DH2ybR3PZogulNJF+COLtmA8hUfvkCCQ==}
+ '@rolldown/binding-freebsd-x64@1.1.5':
+ resolution: {integrity: sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [freebsd]
- '@rolldown/binding-linux-arm-gnueabihf@1.1.4':
- resolution: {integrity: sha512-mCi0OKgEieFircrtVYmQAFGszRtMnZ6fpZAXrxanXAu7lqZcsK1E1RAaZNG0uKAnxox3B1f4EyQNnoyMfN1vAA==}
+ '@rolldown/binding-linux-arm-gnueabihf@1.1.5':
+ resolution: {integrity: sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- '@rolldown/binding-linux-arm64-gnu@1.1.4':
- resolution: {integrity: sha512-B9Ial3Kv5sh0SHnB1g/QWcUQCEvCF6QKGAl4zXypYj65mVI+B4AhFBwPtSN7pDrJeIx8Z7zdy4ntx+wQABom7w==}
+ '@rolldown/binding-linux-arm64-gnu@1.1.5':
+ resolution: {integrity: sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [glibc]
- '@rolldown/binding-linux-arm64-musl@1.1.4':
- resolution: {integrity: sha512-lZVym0PuHE1KZ22gmFTC15lAkrg9iTszR617oYRB/iPY1A56ywoJzVKOJBKaot5RiikCObmur6pogpse3gRcng==}
+ '@rolldown/binding-linux-arm64-musl@1.1.5':
+ resolution: {integrity: sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [musl]
- '@rolldown/binding-linux-ppc64-gnu@1.1.4':
- resolution: {integrity: sha512-t2DNiLJWNTbnEHyUzTumldML6ET4/g16467LZoDDJ3tSxGvguL5/NyC2lCsNKuyRycg9XeDQF5SSv+TNOhQEXg==}
+ '@rolldown/binding-linux-ppc64-gnu@1.1.5':
+ resolution: {integrity: sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ppc64]
os: [linux]
libc: [glibc]
- '@rolldown/binding-linux-s390x-gnu@1.1.4':
- resolution: {integrity: sha512-0WIRnL1Uw4BvTZRLQt+PVgo6ZKTJadlC2btP+/EOXv2f/DWbY0rEgl+y834mIVwP1FkTlWVTrGGJXf12lru7EQ==}
+ '@rolldown/binding-linux-s390x-gnu@1.1.5':
+ resolution: {integrity: sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [s390x]
os: [linux]
libc: [glibc]
- '@rolldown/binding-linux-x64-gnu@1.1.4':
- resolution: {integrity: sha512-JWtGshGfX+oENAKonoNkqEJX+7hC8yfhi9GUyPX1VX4mdh1y5r+ZiJLR5XzAB0aoP6s/PcILsGjKq8O0mm24bw==}
+ '@rolldown/binding-linux-x64-gnu@1.1.5':
+ resolution: {integrity: sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
libc: [glibc]
- '@rolldown/binding-linux-x64-musl@1.1.4':
- resolution: {integrity: sha512-rT6yQcxUuXs4CnbofqwHRRV0iem349rLMYpTjkgQGLjrY4ado/eDzwPZPTCgTOlF6Nkp8NEv70yLMTn6qkWxsQ==}
+ '@rolldown/binding-linux-x64-musl@1.1.5':
+ resolution: {integrity: sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
libc: [musl]
- '@rolldown/binding-openharmony-arm64@1.1.4':
- resolution: {integrity: sha512-KXMGoboq5cyaCQjDA4GLuRiOwBQ0EyFnJoVViLeZ45/3rFItRODEr+NdsBcVpll40hhNArlm/speWGRvj08LzA==}
+ '@rolldown/binding-openharmony-arm64@1.1.5':
+ resolution: {integrity: sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [openharmony]
- '@rolldown/binding-wasm32-wasi@1.1.4':
- resolution: {integrity: sha512-5K83rb36oJiY7BCyE9zLZtGcPV4g5wvq+xwdO0XPIwDVZI8cyB/AUjkNXGb92/rnmezEkjMOpgY61rtwjQtFwg==}
+ '@rolldown/binding-wasm32-wasi@1.1.5':
+ resolution: {integrity: sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [wasm32]
- '@rolldown/binding-win32-arm64-msvc@1.1.4':
- resolution: {integrity: sha512-PnWBtw3TV5KOg69HQQDR0mnQuyCmSGR2pAB4DC1rPF808fgKeTUMj2EOEyKATpgiuxuR5APQmiDO7PDgEjTFSA==}
+ '@rolldown/binding-win32-arm64-msvc@1.1.5':
+ resolution: {integrity: sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [win32]
- '@rolldown/binding-win32-x64-msvc@1.1.4':
- resolution: {integrity: sha512-M1lpniBePobTfsa7Ks9a199e1akxsXn+GYBUKsEzv3YFzOm1HJAMNwKI3qr0Zq+mxwx9gOZoTdP1yXRYsZUocQ==}
+ '@rolldown/binding-win32-x64-msvc@1.1.5':
+ resolution: {integrity: sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [win32]
@@ -302,11 +303,11 @@ packages:
'@types/statuses@2.0.6':
resolution: {integrity: sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==}
- '@vitest/expect@4.1.9':
- resolution: {integrity: sha512-vl/rYsUKcBr3SnQn166+XR5ZQcgMx3DQhFWdfli/cWpLnLUmbxZvyrJZotLFUryib+LtArYMSTJ5RbQ57ZqrlA==}
+ '@vitest/expect@4.1.10':
+ resolution: {integrity: sha512-YsCn+qAk1GWjQOWFEsEcL2gNQ0zmVmQu3T03qP6UyjhtmdtwtbuI+DASn/7iQB3HGTXkdBwGddzxPlmiql5vlA==}
- '@vitest/mocker@4.1.9':
- resolution: {integrity: sha512-EVkXzBjrPGM+cK8/ANWgBrkUCfJfb38/EfTSO8h7pWvKkyPkpWxvR7BkD2MyItMF62C97zAEoqdpUixwR/e+Rw==}
+ '@vitest/mocker@4.1.10':
+ resolution: {integrity: sha512-v0xaezt+DKEmKfaxg133ldzADrwLGd7Ze1MfQQTYfvs8OqZIwbxyxaYURivwV7sWy5fqn3rH5uOrSp07bp44Ow==}
peerDependencies:
msw: ^2.4.9
vite: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -316,20 +317,20 @@ packages:
vite:
optional: true
- '@vitest/pretty-format@4.1.9':
- resolution: {integrity: sha512-s0iufns3iIFitdgm+YR7g1whCAaGtXz459VS9/PqyKDEEFgYIhsHOQmXgIgDuYCt7DeQmiZT0Qe2OA2p4ZPu5A==}
+ '@vitest/pretty-format@4.1.10':
+ resolution: {integrity: sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q==}
- '@vitest/runner@4.1.9':
- resolution: {integrity: sha512-KXLMDtc7oe70+3mJfGrPUWPesswH+3sTxAMAMl8DG7I8IUQT4XW718dY5ID3vPUcmlu27CcKfY4P3h3I29SLJg==}
+ '@vitest/runner@4.1.10':
+ resolution: {integrity: sha512-IKI6kpIH+LmpROplyLwBBaCfMgOZOMsygVa6BARD6ahA04VRuJSa6OaVG7kRvSEMD870Vd91rSSw0eegtWyLGg==}
- '@vitest/snapshot@4.1.9':
- resolution: {integrity: sha512-Jc7RKGNBo8Z28WYIm0Niej4xdSPByRf6mU58VpHQkd6Zh05rlnA+twjbK5HyeIGHxrzsc3mJgS43uM0CZKzaIA==}
+ '@vitest/snapshot@4.1.10':
+ resolution: {integrity: sha512-xRkfOT1qpTAi/Ti4Y1LtfRc3kEuqxGw59eN2jN9pRWMtS/XDevekhcFSqvQqjUNGksfjMJu3Y+oJ+4Ypn2OaJw==}
- '@vitest/spy@4.1.9':
- resolution: {integrity: sha512-fHpsS6mIi+PiEW+vcRVOMkX1oSaPKne3VOclSFICPcGOmfKgXPU5iAah+wcNcj2xPrCCmfq99IDGf+EojhhvhA==}
+ '@vitest/spy@4.1.10':
+ resolution: {integrity: sha512-PLf/Ugvoq5wO/b4rwYCR1h2PSIdXz7wnkQFMiUpLdtM7l6pqVFcQIBEHyT1+l+cj7mNwAfZHzqXqDyjvOuwbDw==}
- '@vitest/utils@4.1.9':
- resolution: {integrity: sha512-A51o8ymO5PpqlWNnBP9ZHPXDIpuMtTLlGSjN7la4US+LJzoUMyhwjA5QXlm39JexgwHKW4Xjs8Z2d3dLCXOeuA==}
+ '@vitest/utils@4.1.10':
+ resolution: {integrity: sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA==}
'@webassemblyjs/ast@1.14.1':
resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}
@@ -382,14 +383,8 @@ packages:
'@xtuc/long@4.2.2':
resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
- acorn-import-phases@1.0.4:
- resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==}
- engines: {node: '>=10.13.0'}
- peerDependencies:
- acorn: ^8.14.0
-
- acorn@8.17.0:
- resolution: {integrity: sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==}
+ acorn@8.18.0:
+ resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==}
engines: {node: '>=0.4.0'}
hasBin: true
@@ -421,21 +416,21 @@ packages:
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
- baseline-browser-mapping@2.10.41:
- resolution: {integrity: sha512-WwS7MHhqGHHlaVsqRZnhvCEMS0owDX+SxRlve7JkuH7My1Ara3ZriTmCQupPfYjxMZ8I/tgxtJYr2t7taHaH4A==}
+ baseline-browser-mapping@2.11.6:
+ resolution: {integrity: sha512-69D/imtToCsIcAl8WBS2YaRwA4jO/j0HhU+hELqMEu9f54MoUtI6+XH5mrKU8rEFNEk/Ui1I2MK4/JkWacclGw==}
engines: {node: '>=6.0.0'}
hasBin: true
- browserslist@4.28.4:
- resolution: {integrity: sha512-MTc8i/x9jBQd1iMw2CFGS+rwMa07eYjLR0CCTLDACl9xhxy+nIs3KeML/biicXtk9JrZ6dnnTatmc7ErPXIxqw==}
+ browserslist@4.28.7:
+ resolution: {integrity: sha512-JxV13hNrFxqjOc8alRbq9dK1MM79NEXYpma2B2J4wAtpWS5zIEIKqWPGCl7N4o7Uc7B7itylh7SuDujATRyyTw==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
buffer-from@1.1.2:
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- caniuse-lite@1.0.30001800:
- resolution: {integrity: sha512-MMHtuAz9Ys840zAY5F4k6fV5GaivZ9sPk+nz0mY+GYVzRBnYkN0mpqkSR92oWRQ19yQWo4HvBV/FnC16AJX8MA==}
+ caniuse-lite@1.0.30001806:
+ resolution: {integrity: sha512-72Cuvd95zbSYPKq6Fhg8eDJRlzgWDf7/mtoZv6Qe/DYNCEBdNxoA3+rZAU2ZhGCpZlns3EssFavaZomckT5Uuw==}
chai@6.2.2:
resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==}
@@ -478,18 +473,18 @@ packages:
resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
engines: {node: '>=8'}
- electron-to-chromium@1.5.385:
- resolution: {integrity: sha512-78sa/M08MNAYHQfjoWMvOlKQqZ0ElhSm/L5HNUc96VZ3b+KvDVnngFm8sYQy0XrhTRgAhggHr5abA7yTvRdo4Q==}
+ electron-to-chromium@1.5.398:
+ resolution: {integrity: sha512-AsvhAxopJGh6museTDMIjn6JpDYOfgu4RLlygomt87MUwBUqTfd/1EiPtx10/LZE8xpTvkP2E9Gafq7lkLtodQ==}
emoji-regex@8.0.0:
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
- enhanced-resolve@5.24.1:
- resolution: {integrity: sha512-7DdUaTjmNwMcH2gLr1qycesKII3BK4RLy/mdAb7x10Lq7bR4aNKHt1BR1ZALSv0rPM/hF5wYF0PhGop/rJm8vw==}
+ enhanced-resolve@5.24.4:
+ resolution: {integrity: sha512-GVoi+ICHocoOIU7qVVM48wOJziRsqrsyqlI0Ce0LdowRn6v3bcH2zUa9kp85ncx0nwIb9/HOCOLS3fdThDG/XQ==}
engines: {node: '>=10.13.0'}
- es-module-lexer@2.3.0:
- resolution: {integrity: sha512-KLdwQm2NvGLDkQDCGvmiQrhkd0JbMzXthwQAUgWjQuQdBLFa3eiBP5arXZyA+f8x+x7OXgud6bq2rxjGtHV2tw==}
+ es-module-lexer@2.3.1:
+ resolution: {integrity: sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA==}
escalade@3.2.0:
resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
@@ -525,8 +520,8 @@ packages:
fast-deep-equal@3.1.3:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
- fast-uri@3.1.3:
- resolution: {integrity: sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==}
+ fast-uri@3.1.4:
+ resolution: {integrity: sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==}
fdir@6.5.0:
resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
@@ -574,84 +569,80 @@ packages:
json-schema-traverse@1.0.0:
resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
- lightningcss-android-arm64@1.32.0:
- resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
+ lightningcss-android-arm64@1.33.0:
+ resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [android]
- lightningcss-darwin-arm64@1.32.0:
- resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
+ lightningcss-darwin-arm64@1.33.0:
+ resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [darwin]
- lightningcss-darwin-x64@1.32.0:
- resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
+ lightningcss-darwin-x64@1.33.0:
+ resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [darwin]
- lightningcss-freebsd-x64@1.32.0:
- resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
+ lightningcss-freebsd-x64@1.33.0:
+ resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [freebsd]
- lightningcss-linux-arm-gnueabihf@1.32.0:
- resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
+ lightningcss-linux-arm-gnueabihf@1.33.0:
+ resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==}
engines: {node: '>= 12.0.0'}
cpu: [arm]
os: [linux]
- lightningcss-linux-arm64-gnu@1.32.0:
- resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
+ lightningcss-linux-arm64-gnu@1.33.0:
+ resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- lightningcss-linux-arm64-musl@1.32.0:
- resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
+ lightningcss-linux-arm64-musl@1.33.0:
+ resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
libc: [musl]
- lightningcss-linux-x64-gnu@1.32.0:
- resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
+ lightningcss-linux-x64-gnu@1.33.0:
+ resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
libc: [glibc]
- lightningcss-linux-x64-musl@1.32.0:
- resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
+ lightningcss-linux-x64-musl@1.33.0:
+ resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
libc: [musl]
- lightningcss-win32-arm64-msvc@1.32.0:
- resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
+ lightningcss-win32-arm64-msvc@1.33.0:
+ resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [win32]
- lightningcss-win32-x64-msvc@1.32.0:
- resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
+ lightningcss-win32-x64-msvc@1.33.0:
+ resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [win32]
- lightningcss@1.32.0:
- resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
+ lightningcss@1.33.0:
+ resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==}
engines: {node: '>= 12.0.0'}
- loader-runner@4.3.2:
- resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==}
- engines: {node: '>=6.11.5'}
-
magic-string@0.30.21:
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
@@ -719,20 +710,20 @@ packages:
resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==}
engines: {node: ^18.17.0 || >=20.5.0}
- nanoid@3.3.15:
- resolution: {integrity: sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA==}
+ nanoid@3.3.16:
+ resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
neo-async@2.6.2:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
- node-releases@2.0.50:
- resolution: {integrity: sha512-J6l92tKHX6w8Jy5nO1Vuc01NoIiRGi/d6qBKVxh+IQ8Cr3b6HbVNfKiF8ZpFKufTwpwxMmce2W3iQZ861ZRyTg==}
+ node-releases@2.0.51:
+ resolution: {integrity: sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==}
engines: {node: '>=18'}
- obug@2.1.3:
- resolution: {integrity: sha512-9miFgM2OFba7hB+pRgvtV84pYTBaoTHohvmIgiRt6dRIzbwEOIaNaP+dIlGs2fNFoB0SeISs0Jz5WFVRid6Xyg==}
+ obug@2.1.4:
+ resolution: {integrity: sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==}
engines: {node: '>=12.20.0'}
outvariant@1.4.3:
@@ -751,8 +742,8 @@ packages:
resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==}
engines: {node: '>=12'}
- postcss@8.5.16:
- resolution: {integrity: sha512-vuwillviilfKZsg0VGj5R/YwwcHx4SLsIOI/7K6mQkWx+l5cUHTjj5g0AasTBcyXsbfTgrwsUNmVUb5xVwyPwg==}
+ postcss@8.5.24:
+ resolution: {integrity: sha512-8RyVklq0owXUTa4xlpzu4l9AaVKIdQvAcOHZWaMh98HgySsUtxRVf/chRe3dsSLqb6i40BzGRzEUddRaI+9TSw==}
engines: {node: ^10 || ^12 || >=14}
require-directory@2.1.1:
@@ -766,8 +757,8 @@ packages:
rettime@0.7.0:
resolution: {integrity: sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw==}
- rolldown@1.1.4:
- resolution: {integrity: sha512-IjZYiLxZwpnhwhdBH2ugdTGVSdhCQUmLxLoqyjiL0JxYjyRst+5a0P3xfrTxJ5F638j4Mvvw5FAX5XE6eHpXbA==}
+ rolldown@1.1.5:
+ resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
@@ -804,8 +795,8 @@ packages:
resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}
engines: {node: '>= 0.8'}
- std-env@4.1.0:
- resolution: {integrity: sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==}
+ std-env@4.2.0:
+ resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==}
strict-event-emitter@0.5.1:
resolution: {integrity: sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==}
@@ -830,8 +821,8 @@ packages:
resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}
engines: {node: '>=6'}
- terser@5.48.0:
- resolution: {integrity: sha512-J/9An6vs9Us6wKRriSFXBWdRZapREHqFzdNUKk0pmu804EMR6dr6winwo7e5JDxN4xahxQsuysyYFwlwj4XN/Q==}
+ terser@5.49.0:
+ resolution: {integrity: sha512-SNiDnXyHSrxVcIOtVbULzcTmniUiwcV7Nwdyj1twVubeTmbjoa8p69KKDpfkdoOavuM4/GRm1+ykI8qqnavHoA==}
engines: {node: '>=10'}
hasBin: true
@@ -846,19 +837,19 @@ packages:
resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}
engines: {node: '>=12.0.0'}
- tinyrainbow@3.1.0:
- resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}
+ tinyrainbow@3.1.1:
+ resolution: {integrity: sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==}
engines: {node: '>=14.0.0'}
- tldts-core@7.4.6:
- resolution: {integrity: sha512-TkQNGJIhlEphpHCjKodMTSe23egUZr/g+flI2qkLgiJ/maAzSgXypSLRTNH3nCmqgayEmtcJBiLcfODSAr1xoA==}
+ tldts-core@7.4.9:
+ resolution: {integrity: sha512-DxKfPBI52p2msTEu7MPhdpdDTBhhVQg1a/8PjQckeyAvO13eMYElX545grIp6nnTGIMZlRvFZPvFhvI/WIz2Vg==}
- tldts@7.4.6:
- resolution: {integrity: sha512-rbP0Gyx8b3Ae9yO//CU2wbSnQNoQ66m1nJdSbSHmnwKwzkkz/u8mERYU8T2rmlmy+bJvRNn84yNCW8gYqox44Q==}
+ tldts@7.4.9:
+ resolution: {integrity: sha512-3kZ8wQQ/k5DrChD4X4FVvr2D7E5uoRgAqkPyLpSCGUvqOvqu+JEdr3mwMUaVWb+vMHZaKhF5fp2PBigKsui7hA==}
hasBin: true
- tough-cookie@6.0.1:
- resolution: {integrity: sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==}
+ tough-cookie@6.0.2:
+ resolution: {integrity: sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==}
engines: {node: '>=16'}
ts-loader@9.6.2:
@@ -893,8 +884,8 @@ packages:
peerDependencies:
browserslist: '>= 4.21.0'
- vite@8.1.3:
- resolution: {integrity: sha512-Ds+gBRbj0lwRO2Y5hwnUBdxSwlAve9LeRyU4sNnAr0ewW0gWF0n5bgXgUzbgZ49MV9BVUAQUFYVcDUcilUExMA==}
+ vite@8.1.5:
+ resolution: {integrity: sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
peerDependencies:
@@ -936,20 +927,20 @@ packages:
yaml:
optional: true
- vitest@4.1.9:
- resolution: {integrity: sha512-nE3/LEyc0z87uHYLZebqCUOaJr2hdtuPp7BQ4BosVFnfltxgAvMG08NyrSGlPpOUWvR27c5flSmYFTNr78L9GQ==}
+ vitest@4.1.10:
+ resolution: {integrity: sha512-R9jUTe5S4Qb0HCd4TNqpC7oGcrMssMRGXLW80ubjWsW9VH5GF8y1Y0SFLY9AbqSk6nt0PnOx4H4WNJYZ13GUPw==}
engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@opentelemetry/api': ^1.9.0
'@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0
- '@vitest/browser-playwright': 4.1.9
- '@vitest/browser-preview': 4.1.9
- '@vitest/browser-webdriverio': 4.1.9
- '@vitest/coverage-istanbul': 4.1.9
- '@vitest/coverage-v8': 4.1.9
- '@vitest/ui': 4.1.9
+ '@vitest/browser-playwright': 4.1.10
+ '@vitest/browser-preview': 4.1.10
+ '@vitest/browser-webdriverio': 4.1.10
+ '@vitest/coverage-istanbul': 4.1.10
+ '@vitest/coverage-v8': 4.1.10
+ '@vitest/ui': 4.1.10
happy-dom: '*'
jsdom: '*'
vite: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -981,12 +972,12 @@ packages:
resolution: {integrity: sha512-6i/00NBjP4yGPs+caKSyRfpTF/8Torsu0MOW3mMzIbhgISFder8i7xbqgHlLMwJrdiN8ndBV3UA1/AfzPSr+jg==}
engines: {node: '>=10.13.0'}
- webpack-sources@3.5.0:
- resolution: {integrity: sha512-HPuy+uuoTCaaoEoI1LQ3JN9+vrPBvEesnnX1jADHy728cHSMlq4wUc4afYqahq2B1mhQVZxCXOkNTnXltr+2vQ==}
+ webpack-sources@3.5.1:
+ resolution: {integrity: sha512-jyuiGJdtvY434z5bUZrjz67v76/ePNvFZTp9Mdz29IlH4+GPsgyGjiv0fKI+M7BdkU6ADjulUcKAd3tUK3WlEw==}
engines: {node: '>=10.13.0'}
- webpack@5.108.3:
- resolution: {integrity: sha512-hOpaCHmQVVY66IVTjofnH14IgSdmod2aquSGHGuYig/OIdWge01Hk2Wt988DZcwXumFUT4+FvJY5N+ikl8o/ww==}
+ webpack@5.109.2:
+ resolution: {integrity: sha512-U9/cvLzxObKNEZ9+TtdqrHM5/9z3lgl2c+c4BzbqGxFQvQvBAq87yql5A8pQ+rrMbS496MZJeF5enVBndIy2hw==}
engines: {node: '>=10.13.0'}
hasBin: true
peerDependencies:
@@ -1141,7 +1132,7 @@ snapshots:
outvariant: 1.4.3
strict-event-emitter: 0.5.1
- '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)':
+ '@napi-rs/wasm-runtime@1.2.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)':
dependencies:
'@emnapi/core': 1.11.1
'@emnapi/runtime': 1.11.1
@@ -1157,55 +1148,55 @@ snapshots:
'@open-draft/until@2.1.0': {}
- '@oxc-project/types@0.138.0': {}
+ '@oxc-project/types@0.139.0': {}
- '@rolldown/binding-android-arm64@1.1.4':
+ '@rolldown/binding-android-arm64@1.1.5':
optional: true
- '@rolldown/binding-darwin-arm64@1.1.4':
+ '@rolldown/binding-darwin-arm64@1.1.5':
optional: true
- '@rolldown/binding-darwin-x64@1.1.4':
+ '@rolldown/binding-darwin-x64@1.1.5':
optional: true
- '@rolldown/binding-freebsd-x64@1.1.4':
+ '@rolldown/binding-freebsd-x64@1.1.5':
optional: true
- '@rolldown/binding-linux-arm-gnueabihf@1.1.4':
+ '@rolldown/binding-linux-arm-gnueabihf@1.1.5':
optional: true
- '@rolldown/binding-linux-arm64-gnu@1.1.4':
+ '@rolldown/binding-linux-arm64-gnu@1.1.5':
optional: true
- '@rolldown/binding-linux-arm64-musl@1.1.4':
+ '@rolldown/binding-linux-arm64-musl@1.1.5':
optional: true
- '@rolldown/binding-linux-ppc64-gnu@1.1.4':
+ '@rolldown/binding-linux-ppc64-gnu@1.1.5':
optional: true
- '@rolldown/binding-linux-s390x-gnu@1.1.4':
+ '@rolldown/binding-linux-s390x-gnu@1.1.5':
optional: true
- '@rolldown/binding-linux-x64-gnu@1.1.4':
+ '@rolldown/binding-linux-x64-gnu@1.1.5':
optional: true
- '@rolldown/binding-linux-x64-musl@1.1.4':
+ '@rolldown/binding-linux-x64-musl@1.1.5':
optional: true
- '@rolldown/binding-openharmony-arm64@1.1.4':
+ '@rolldown/binding-openharmony-arm64@1.1.5':
optional: true
- '@rolldown/binding-wasm32-wasi@1.1.4':
+ '@rolldown/binding-wasm32-wasi@1.1.5':
dependencies:
'@emnapi/core': 1.11.1
'@emnapi/runtime': 1.11.1
- '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)
+ '@napi-rs/wasm-runtime': 1.2.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)
optional: true
- '@rolldown/binding-win32-arm64-msvc@1.1.4':
+ '@rolldown/binding-win32-arm64-msvc@1.1.5':
optional: true
- '@rolldown/binding-win32-x64-msvc@1.1.4':
+ '@rolldown/binding-win32-x64-msvc@1.1.5':
optional: true
'@rolldown/pluginutils@1.0.1': {}
@@ -1236,47 +1227,47 @@ snapshots:
'@types/statuses@2.0.6': {}
- '@vitest/expect@4.1.9':
+ '@vitest/expect@4.1.10':
dependencies:
'@standard-schema/spec': 1.1.0
'@types/chai': 5.2.3
- '@vitest/spy': 4.1.9
- '@vitest/utils': 4.1.9
+ '@vitest/spy': 4.1.10
+ '@vitest/utils': 4.1.10
chai: 6.2.2
- tinyrainbow: 3.1.0
+ tinyrainbow: 3.1.1
- '@vitest/mocker@4.1.9(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0))':
+ '@vitest/mocker@4.1.10(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0))':
dependencies:
- '@vitest/spy': 4.1.9
+ '@vitest/spy': 4.1.10
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
msw: 2.11.2(@types/node@20.19.43)(typescript@5.9.3)
- vite: 8.1.3(@types/node@20.19.43)(terser@5.48.0)
+ vite: 8.1.5(@types/node@20.19.43)(terser@5.49.0)
- '@vitest/pretty-format@4.1.9':
+ '@vitest/pretty-format@4.1.10':
dependencies:
- tinyrainbow: 3.1.0
+ tinyrainbow: 3.1.1
- '@vitest/runner@4.1.9':
+ '@vitest/runner@4.1.10':
dependencies:
- '@vitest/utils': 4.1.9
+ '@vitest/utils': 4.1.10
pathe: 2.0.3
- '@vitest/snapshot@4.1.9':
+ '@vitest/snapshot@4.1.10':
dependencies:
- '@vitest/pretty-format': 4.1.9
- '@vitest/utils': 4.1.9
+ '@vitest/pretty-format': 4.1.10
+ '@vitest/utils': 4.1.10
magic-string: 0.30.21
pathe: 2.0.3
- '@vitest/spy@4.1.9': {}
+ '@vitest/spy@4.1.10': {}
- '@vitest/utils@4.1.9':
+ '@vitest/utils@4.1.10':
dependencies:
- '@vitest/pretty-format': 4.1.9
+ '@vitest/pretty-format': 4.1.10
convert-source-map: 2.0.0
- tinyrainbow: 3.1.0
+ tinyrainbow: 3.1.1
'@webassemblyjs/ast@1.14.1':
dependencies:
@@ -1358,11 +1349,7 @@ snapshots:
'@xtuc/long@4.2.2': {}
- acorn-import-phases@1.0.4(acorn@8.17.0):
- dependencies:
- acorn: 8.17.0
-
- acorn@8.17.0: {}
+ acorn@8.18.0: {}
ajv-formats@2.1.1(ajv@8.20.0):
optionalDependencies:
@@ -1376,7 +1363,7 @@ snapshots:
ajv@8.20.0:
dependencies:
fast-deep-equal: 3.1.3
- fast-uri: 3.1.3
+ fast-uri: 3.1.4
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
@@ -1388,19 +1375,19 @@ snapshots:
assertion-error@2.0.1: {}
- baseline-browser-mapping@2.10.41: {}
+ baseline-browser-mapping@2.11.6: {}
- browserslist@4.28.4:
+ browserslist@4.28.7:
dependencies:
- baseline-browser-mapping: 2.10.41
- caniuse-lite: 1.0.30001800
- electron-to-chromium: 1.5.385
- node-releases: 2.0.50
- update-browserslist-db: 1.2.3(browserslist@4.28.4)
+ baseline-browser-mapping: 2.11.6
+ caniuse-lite: 1.0.30001806
+ electron-to-chromium: 1.5.398
+ node-releases: 2.0.51
+ update-browserslist-db: 1.2.3(browserslist@4.28.7)
buffer-from@1.1.2: {}
- caniuse-lite@1.0.30001800: {}
+ caniuse-lite@1.0.30001806: {}
chai@6.2.2: {}
@@ -1433,16 +1420,16 @@ snapshots:
detect-libc@2.1.2: {}
- electron-to-chromium@1.5.385: {}
+ electron-to-chromium@1.5.398: {}
emoji-regex@8.0.0: {}
- enhanced-resolve@5.24.1:
+ enhanced-resolve@5.24.4:
dependencies:
graceful-fs: 4.2.11
tapable: 2.3.3
- es-module-lexer@2.3.0: {}
+ es-module-lexer@2.3.1: {}
escalade@3.2.0: {}
@@ -1469,7 +1456,7 @@ snapshots:
fast-deep-equal@3.1.3: {}
- fast-uri@3.1.3: {}
+ fast-uri@3.1.4: {}
fdir@6.5.0(picomatch@4.0.5):
optionalDependencies:
@@ -1500,56 +1487,54 @@ snapshots:
json-schema-traverse@1.0.0: {}
- lightningcss-android-arm64@1.32.0:
+ lightningcss-android-arm64@1.33.0:
optional: true
- lightningcss-darwin-arm64@1.32.0:
+ lightningcss-darwin-arm64@1.33.0:
optional: true
- lightningcss-darwin-x64@1.32.0:
+ lightningcss-darwin-x64@1.33.0:
optional: true
- lightningcss-freebsd-x64@1.32.0:
+ lightningcss-freebsd-x64@1.33.0:
optional: true
- lightningcss-linux-arm-gnueabihf@1.32.0:
+ lightningcss-linux-arm-gnueabihf@1.33.0:
optional: true
- lightningcss-linux-arm64-gnu@1.32.0:
+ lightningcss-linux-arm64-gnu@1.33.0:
optional: true
- lightningcss-linux-arm64-musl@1.32.0:
+ lightningcss-linux-arm64-musl@1.33.0:
optional: true
- lightningcss-linux-x64-gnu@1.32.0:
+ lightningcss-linux-x64-gnu@1.33.0:
optional: true
- lightningcss-linux-x64-musl@1.32.0:
+ lightningcss-linux-x64-musl@1.33.0:
optional: true
- lightningcss-win32-arm64-msvc@1.32.0:
+ lightningcss-win32-arm64-msvc@1.33.0:
optional: true
- lightningcss-win32-x64-msvc@1.32.0:
+ lightningcss-win32-x64-msvc@1.33.0:
optional: true
- lightningcss@1.32.0:
+ lightningcss@1.33.0:
dependencies:
detect-libc: 2.1.2
optionalDependencies:
- lightningcss-android-arm64: 1.32.0
- lightningcss-darwin-arm64: 1.32.0
- lightningcss-darwin-x64: 1.32.0
- lightningcss-freebsd-x64: 1.32.0
- lightningcss-linux-arm-gnueabihf: 1.32.0
- lightningcss-linux-arm64-gnu: 1.32.0
- lightningcss-linux-arm64-musl: 1.32.0
- lightningcss-linux-x64-gnu: 1.32.0
- lightningcss-linux-x64-musl: 1.32.0
- lightningcss-win32-arm64-msvc: 1.32.0
- lightningcss-win32-x64-msvc: 1.32.0
-
- loader-runner@4.3.2: {}
+ lightningcss-android-arm64: 1.33.0
+ lightningcss-darwin-arm64: 1.33.0
+ lightningcss-darwin-x64: 1.33.0
+ lightningcss-freebsd-x64: 1.33.0
+ lightningcss-linux-arm-gnueabihf: 1.33.0
+ lightningcss-linux-arm64-gnu: 1.33.0
+ lightningcss-linux-arm64-musl: 1.33.0
+ lightningcss-linux-x64-gnu: 1.33.0
+ lightningcss-linux-x64-musl: 1.33.0
+ lightningcss-win32-arm64-msvc: 1.33.0
+ lightningcss-win32-x64-msvc: 1.33.0
magic-string@0.30.21:
dependencies:
@@ -1559,13 +1544,13 @@ snapshots:
mime-db@1.54.0: {}
- minimizer-webpack-plugin@5.6.1(webpack@5.108.3):
+ minimizer-webpack-plugin@5.6.1(webpack@5.109.2):
dependencies:
'@jridgewell/trace-mapping': 0.3.31
jest-worker: 27.5.1
schema-utils: 4.3.3
- terser: 5.48.0
- webpack: 5.108.3
+ terser: 5.49.0
+ webpack: 5.109.2
msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3):
dependencies:
@@ -1585,7 +1570,7 @@ snapshots:
picocolors: 1.1.1
rettime: 0.7.0
strict-event-emitter: 0.5.1
- tough-cookie: 6.0.1
+ tough-cookie: 6.0.2
type-fest: 4.41.0
yargs: 17.7.3
optionalDependencies:
@@ -1595,13 +1580,13 @@ snapshots:
mute-stream@2.0.0: {}
- nanoid@3.3.15: {}
+ nanoid@3.3.16: {}
neo-async@2.6.2: {}
- node-releases@2.0.50: {}
+ node-releases@2.0.51: {}
- obug@2.1.3: {}
+ obug@2.1.4: {}
outvariant@1.4.3: {}
@@ -1613,9 +1598,9 @@ snapshots:
picomatch@4.0.5: {}
- postcss@8.5.16:
+ postcss@8.5.24:
dependencies:
- nanoid: 3.3.15
+ nanoid: 3.3.16
picocolors: 1.1.1
source-map-js: 1.2.1
@@ -1625,26 +1610,26 @@ snapshots:
rettime@0.7.0: {}
- rolldown@1.1.4:
+ rolldown@1.1.5:
dependencies:
- '@oxc-project/types': 0.138.0
+ '@oxc-project/types': 0.139.0
'@rolldown/pluginutils': 1.0.1
optionalDependencies:
- '@rolldown/binding-android-arm64': 1.1.4
- '@rolldown/binding-darwin-arm64': 1.1.4
- '@rolldown/binding-darwin-x64': 1.1.4
- '@rolldown/binding-freebsd-x64': 1.1.4
- '@rolldown/binding-linux-arm-gnueabihf': 1.1.4
- '@rolldown/binding-linux-arm64-gnu': 1.1.4
- '@rolldown/binding-linux-arm64-musl': 1.1.4
- '@rolldown/binding-linux-ppc64-gnu': 1.1.4
- '@rolldown/binding-linux-s390x-gnu': 1.1.4
- '@rolldown/binding-linux-x64-gnu': 1.1.4
- '@rolldown/binding-linux-x64-musl': 1.1.4
- '@rolldown/binding-openharmony-arm64': 1.1.4
- '@rolldown/binding-wasm32-wasi': 1.1.4
- '@rolldown/binding-win32-arm64-msvc': 1.1.4
- '@rolldown/binding-win32-x64-msvc': 1.1.4
+ '@rolldown/binding-android-arm64': 1.1.5
+ '@rolldown/binding-darwin-arm64': 1.1.5
+ '@rolldown/binding-darwin-x64': 1.1.5
+ '@rolldown/binding-freebsd-x64': 1.1.5
+ '@rolldown/binding-linux-arm-gnueabihf': 1.1.5
+ '@rolldown/binding-linux-arm64-gnu': 1.1.5
+ '@rolldown/binding-linux-arm64-musl': 1.1.5
+ '@rolldown/binding-linux-ppc64-gnu': 1.1.5
+ '@rolldown/binding-linux-s390x-gnu': 1.1.5
+ '@rolldown/binding-linux-x64-gnu': 1.1.5
+ '@rolldown/binding-linux-x64-musl': 1.1.5
+ '@rolldown/binding-openharmony-arm64': 1.1.5
+ '@rolldown/binding-wasm32-wasi': 1.1.5
+ '@rolldown/binding-win32-arm64-msvc': 1.1.5
+ '@rolldown/binding-win32-x64-msvc': 1.1.5
schema-utils@4.3.3:
dependencies:
@@ -1672,7 +1657,7 @@ snapshots:
statuses@2.0.2: {}
- std-env@4.1.0: {}
+ std-env@4.2.0: {}
strict-event-emitter@0.5.1: {}
@@ -1696,10 +1681,10 @@ snapshots:
tapable@2.3.3: {}
- terser@5.48.0:
+ terser@5.49.0:
dependencies:
'@jridgewell/source-map': 0.3.11
- acorn: 8.17.0
+ acorn: 8.18.0
commander: 2.20.3
source-map-support: 0.5.21
@@ -1712,25 +1697,25 @@ snapshots:
fdir: 6.5.0(picomatch@4.0.5)
picomatch: 4.0.5
- tinyrainbow@3.1.0: {}
+ tinyrainbow@3.1.1: {}
- tldts-core@7.4.6: {}
+ tldts-core@7.4.9: {}
- tldts@7.4.6:
+ tldts@7.4.9:
dependencies:
- tldts-core: 7.4.6
+ tldts-core: 7.4.9
- tough-cookie@6.0.1:
+ tough-cookie@6.0.2:
dependencies:
- tldts: 7.4.6
+ tldts: 7.4.9
- ts-loader@9.6.2(typescript@5.9.3)(webpack@5.108.3):
+ ts-loader@9.6.2(typescript@5.9.3)(webpack@5.109.2):
dependencies:
chalk: 4.1.2
picomatch: 4.0.5
source-map: 0.7.6
typescript: 5.9.3
- webpack: 5.108.3
+ webpack: 5.109.2
tslib@2.8.1:
optional: true
@@ -1741,45 +1726,45 @@ snapshots:
undici-types@6.21.0: {}
- update-browserslist-db@1.2.3(browserslist@4.28.4):
+ update-browserslist-db@1.2.3(browserslist@4.28.7):
dependencies:
- browserslist: 4.28.4
+ browserslist: 4.28.7
escalade: 3.2.0
picocolors: 1.1.1
- vite@8.1.3(@types/node@20.19.43)(terser@5.48.0):
+ vite@8.1.5(@types/node@20.19.43)(terser@5.49.0):
dependencies:
- lightningcss: 1.32.0
+ lightningcss: 1.33.0
picomatch: 4.0.5
- postcss: 8.5.16
- rolldown: 1.1.4
+ postcss: 8.5.24
+ rolldown: 1.1.5
tinyglobby: 0.2.17
optionalDependencies:
'@types/node': 20.19.43
fsevents: 2.3.3
- terser: 5.48.0
-
- vitest@4.1.9(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0)):
- dependencies:
- '@vitest/expect': 4.1.9
- '@vitest/mocker': 4.1.9(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0))
- '@vitest/pretty-format': 4.1.9
- '@vitest/runner': 4.1.9
- '@vitest/snapshot': 4.1.9
- '@vitest/spy': 4.1.9
- '@vitest/utils': 4.1.9
- es-module-lexer: 2.3.0
+ terser: 5.49.0
+
+ vitest@4.1.10(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0)):
+ dependencies:
+ '@vitest/expect': 4.1.10
+ '@vitest/mocker': 4.1.10(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0))
+ '@vitest/pretty-format': 4.1.10
+ '@vitest/runner': 4.1.10
+ '@vitest/snapshot': 4.1.10
+ '@vitest/spy': 4.1.10
+ '@vitest/utils': 4.1.10
+ es-module-lexer: 2.3.1
expect-type: 1.4.0
magic-string: 0.30.21
- obug: 2.1.3
+ obug: 2.1.4
pathe: 2.0.3
picomatch: 4.0.5
- std-env: 4.1.0
+ std-env: 4.2.0
tinybench: 2.9.0
tinyexec: 1.2.4
tinyglobby: 0.2.17
- tinyrainbow: 3.1.0
- vite: 8.1.3(@types/node@20.19.43)(terser@5.48.0)
+ tinyrainbow: 3.1.1
+ vite: 8.1.5(@types/node@20.19.43)(terser@5.49.0)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 20.19.43
@@ -1790,32 +1775,30 @@ snapshots:
dependencies:
graceful-fs: 4.2.11
- webpack-sources@3.5.0: {}
+ webpack-sources@3.5.1: {}
- webpack@5.108.3:
+ webpack@5.109.2:
dependencies:
'@types/estree': 1.0.9
'@types/json-schema': 7.0.15
'@webassemblyjs/ast': 1.14.1
'@webassemblyjs/wasm-edit': 1.14.1
'@webassemblyjs/wasm-parser': 1.14.1
- acorn: 8.17.0
- acorn-import-phases: 1.0.4(acorn@8.17.0)
- browserslist: 4.28.4
+ acorn: 8.18.0
+ browserslist: 4.28.7
chrome-trace-event: 1.0.4
- enhanced-resolve: 5.24.1
- es-module-lexer: 2.3.0
+ enhanced-resolve: 5.24.4
+ es-module-lexer: 2.3.1
eslint-scope: 5.1.1
events: 3.3.0
graceful-fs: 4.2.11
- loader-runner: 4.3.2
mime-db: 1.54.0
- minimizer-webpack-plugin: 5.6.1(webpack@5.108.3)
+ minimizer-webpack-plugin: 5.6.1(webpack@5.109.2)
neo-async: 2.6.2
schema-utils: 4.3.3
tapable: 2.3.3
watchpack: 2.5.2
- webpack-sources: 3.5.0
+ webpack-sources: 3.5.1
transitivePeerDependencies:
- '@minify-html/node'
- '@swc/core'
diff --git a/reference.md b/reference.md
index e2aa8ba5..91a2d816 100644
--- a/reference.md
+++ b/reference.md
@@ -199,7 +199,7 @@ await client.internal.getIdFromFqn("type", {
-
-**request:** `TrueFoundry.InternalGetIdFromFqnRequest`
+**request:** `TrueFoundry.GetIdFromFqnInternalRequest`
@@ -250,8 +250,7 @@ List users in the current tenant.
const pageableResponse = await client.users.list({
limit: 10,
offset: 0,
- query: "john@example.com",
- showInvalidUsers: true
+ query: "john@example.com"
});
for await (const item of pageableResponse) {
console.log(item);
@@ -261,8 +260,7 @@ for await (const item of pageableResponse) {
let page = await client.users.list({
limit: 10,
offset: 0,
- query: "john@example.com",
- showInvalidUsers: true
+ query: "john@example.com"
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -285,7 +283,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.UsersListRequest`
+**request:** `TrueFoundry.ListUsersRequest`
@@ -526,9 +524,7 @@ Permanently delete a user by ID. The user must not be a collaborator on any reso
```typescript
-await client.users.delete("jqfwg345gi25n5ju2yz5iz6m", {
- tenantName: "tenantName"
-});
+await client.users.delete("jqfwg345gi25n5ju2yz5iz6m");
```
@@ -552,7 +548,7 @@ await client.users.delete("jqfwg345gi25n5ju2yz5iz6m", {
-
-**request:** `TrueFoundry.UsersDeleteRequest`
+**request:** `TrueFoundry.DeleteUsersRequest`
@@ -1054,9 +1050,7 @@ List teams accessible to the current user.
```typescript
const pageableResponse = await client.teams.list({
limit: 10,
- offset: 0,
- role: "manager",
- attributes: ["attributes"]
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -1065,9 +1059,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.teams.list({
limit: 10,
- offset: 0,
- role: "manager",
- attributes: ["attributes"]
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -1090,7 +1082,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.TeamsListRequest`
+**request:** `TrueFoundry.ListTeamsRequest`
@@ -1250,7 +1242,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.TeamsListMembersRequest`
+**request:** `TrueFoundry.ListMembersTeamsRequest`
@@ -1341,7 +1333,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.TeamsListManagersRequest`
+**request:** `TrueFoundry.ListManagersTeamsRequest`
@@ -1614,7 +1606,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.PersonalAccessTokensListRequest`
+**request:** `TrueFoundry.ListPersonalAccessTokensRequest`
@@ -1854,9 +1846,7 @@ Get an existing personal access token by name. If none exists, a new one is crea
```typescript
-await client.personalAccessTokens.get("name", {
- teamName: "teamName"
-});
+await client.personalAccessTokens.get("name");
```
@@ -1880,7 +1870,7 @@ await client.personalAccessTokens.get("name", {
-
-**request:** `TrueFoundry.PersonalAccessTokensGetRequest`
+**request:** `TrueFoundry.GetPersonalAccessTokensRequest`
@@ -1932,8 +1922,6 @@ const pageableResponse = await client.virtualAccounts.list({
limit: 10,
offset: 0,
nameSearchQuery: "staging-bot",
- ownedByTeams: ["ownedByTeams"],
- isExpired: true,
filter: "{\"type\":\"AND\",\"children\":[{\"column\":\"name\",\"op\":\"STRING_CONTAINS\",\"value\":\"bot\"}]}"
});
for await (const item of pageableResponse) {
@@ -1945,8 +1933,6 @@ let page = await client.virtualAccounts.list({
limit: 10,
offset: 0,
nameSearchQuery: "staging-bot",
- ownedByTeams: ["ownedByTeams"],
- isExpired: true,
filter: "{\"type\":\"AND\",\"children\":[{\"column\":\"name\",\"op\":\"STRING_CONTAINS\",\"value\":\"bot\"}]}"
});
while (page.hasNextPage()) {
@@ -1970,7 +1956,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.VirtualAccountsListRequest`
+**request:** `TrueFoundry.ListVirtualAccountsRequest`
@@ -2489,8 +2475,7 @@ List clusters the caller can read.
```typescript
const pageableResponse = await client.clusters.list({
limit: 10,
- offset: 0,
- attributes: ["attributes"]
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -2499,8 +2484,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.clusters.list({
limit: 10,
- offset: 0,
- attributes: ["attributes"]
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -2523,7 +2507,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.ClustersListRequest`
+**request:** `TrueFoundry.ListClustersRequest`
@@ -2772,8 +2756,7 @@ List addons installed on the cluster.
```typescript
await client.clusters.getAddons("id", {
limit: 10,
- offset: 0,
- attributes: ["attributes"]
+ offset: 0
});
```
@@ -2798,7 +2781,7 @@ await client.clusters.getAddons("id", {
-
-**request:** `TrueFoundry.ClustersGetAddonsRequest`
+**request:** `TrueFoundry.GetAddonsClustersRequest`
@@ -2911,22 +2894,7 @@ List applications the caller can read.
```typescript
const pageableResponse = await client.applications.list({
limit: 10,
- offset: 0,
- applicationId: "applicationId",
- workspaceId: "workspaceId",
- applicationName: "applicationName",
- fqn: "fqn",
- workspaceFqn: "workspaceFqn",
- applicationType: "async-service",
- nameSearchQuery: "nameSearchQuery",
- environmentId: "environmentId",
- clusterId: "clusterId",
- applicationSetId: "applicationSetId",
- paused: true,
- deviceTypeFilter: "cpu",
- lastDeployedBySubjects: "lastDeployedBySubjects",
- lifecycleStage: "active",
- isRecommendationPresentAndVisible: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -2935,22 +2903,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.applications.list({
limit: 10,
- offset: 0,
- applicationId: "applicationId",
- workspaceId: "workspaceId",
- applicationName: "applicationName",
- fqn: "fqn",
- workspaceFqn: "workspaceFqn",
- applicationType: "async-service",
- nameSearchQuery: "nameSearchQuery",
- environmentId: "environmentId",
- clusterId: "clusterId",
- applicationSetId: "applicationSetId",
- paused: true,
- deviceTypeFilter: "cpu",
- lastDeployedBySubjects: "lastDeployedBySubjects",
- lifecycleStage: "active",
- isRecommendationPresentAndVisible: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -2973,7 +2926,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.ApplicationsListRequest`
+**request:** `TrueFoundry.ListApplicationsRequest`
@@ -3383,7 +3336,7 @@ await client.applications.scaleToOriginal("id");
-client.applications.cancelDeployment(id, deploymentId) -> TrueFoundry.ApplicationsCancelDeploymentResponse
+client.applications.cancelDeployment(id, deploymentId) -> TrueFoundry.CancelDeploymentApplicationsResponse
-
@@ -3528,7 +3481,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.ApplicationVersionsListRequest`
+**request:** `TrueFoundry.ListApplicationVersionsRequest`
@@ -3649,13 +3602,7 @@ List Job Runs for provided Job Id. Filter the data based on parameters passed in
```typescript
const pageableResponse = await client.jobs.listRuns("jobId", {
limit: 10,
- offset: 0,
- searchPrefix: "searchPrefix",
- sortBy: "startTime",
- order: "asc",
- triggeredBy: ["triggeredBy"],
- status: ["CREATED"],
- versionNumbers: [1.1]
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -3664,13 +3611,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.jobs.listRuns("jobId", {
limit: 10,
- offset: 0,
- searchPrefix: "searchPrefix",
- sortBy: "startTime",
- order: "asc",
- triggeredBy: ["triggeredBy"],
- status: ["CREATED"],
- versionNumbers: [1.1]
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -3701,7 +3642,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.JobsListRunsRequest`
+**request:** `TrueFoundry.ListRunsJobsRequest`
@@ -3972,7 +3913,7 @@ await client.jobs.terminate({
-
-**request:** `TrueFoundry.JobsTerminateRequest`
+**request:** `TrueFoundry.TerminateJobsRequest`
@@ -4023,11 +3964,7 @@ List workspaces the caller can read.
const pageableResponse = await client.workspaces.list({
limit: 10,
offset: 0,
- clusterId: "jqfwg345gi25n5ju2yz5iz6m",
- name: "name",
- fqn: "fqn",
- includeCluster: true,
- attributes: ["attributes"]
+ clusterId: "jqfwg345gi25n5ju2yz5iz6m"
});
for await (const item of pageableResponse) {
console.log(item);
@@ -4037,11 +3974,7 @@ for await (const item of pageableResponse) {
let page = await client.workspaces.list({
limit: 10,
offset: 0,
- clusterId: "jqfwg345gi25n5ju2yz5iz6m",
- name: "name",
- fqn: "fqn",
- includeCluster: true,
- attributes: ["attributes"]
+ clusterId: "jqfwg345gi25n5ju2yz5iz6m"
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -4064,7 +3997,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.WorkspacesListRequest`
+**request:** `TrueFoundry.ListWorkspacesRequest`
@@ -4183,8 +4116,7 @@ Search workspaces using a structured filter expression. Return a paginated list
const pageableResponse = await client.workspaces.search({
limit: 10,
offset: 0,
- filter: "[{\"type\":\"name\",\"operator\":\"STRING_CONTAINS\",\"value\":\"prod\"}]",
- includeCluster: true
+ filter: "[{\"type\":\"name\",\"operator\":\"STRING_CONTAINS\",\"value\":\"prod\"}]"
});
for await (const item of pageableResponse) {
console.log(item);
@@ -4194,8 +4126,7 @@ for await (const item of pageableResponse) {
let page = await client.workspaces.search({
limit: 10,
offset: 0,
- filter: "[{\"type\":\"name\",\"operator\":\"STRING_CONTAINS\",\"value\":\"prod\"}]",
- includeCluster: true
+ filter: "[{\"type\":\"name\",\"operator\":\"STRING_CONTAINS\",\"value\":\"prod\"}]"
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -4218,7 +4149,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.WorkspacesSearchRequest`
+**request:** `TrueFoundry.SearchWorkspacesRequest`
@@ -4426,7 +4357,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.EnvironmentsListRequest`
+**request:** `TrueFoundry.ListEnvironmentsRequest`
@@ -4809,9 +4740,7 @@ Delete the secret and all its versions permanently.
-
```typescript
-await client.secrets.delete("id", {
- forceDelete: true
-});
+await client.secrets.delete("id");
```
@@ -4835,7 +4764,7 @@ await client.secrets.delete("id", {
-
-**request:** `TrueFoundry.SecretsDeleteRequest`
+**request:** `TrueFoundry.DeleteSecretsRequest`
@@ -4885,10 +4814,7 @@ List secret groups the caller has access to, along with associated secrets for e
```typescript
const pageableResponse = await client.secretGroups.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- search: "search",
- attributes: ["attributes"]
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -4897,10 +4823,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.secretGroups.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- search: "search",
- attributes: ["attributes"]
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -4923,7 +4846,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.SecretGroupsListRequest`
+**request:** `TrueFoundry.ListSecretGroupsRequest`
@@ -5251,9 +5174,7 @@ Delete the secret group and all its associated secrets and secret versions perma
-
```typescript
-await client.secretGroups.delete("id", {
- forceDelete: true
-});
+await client.secretGroups.delete("id");
```
@@ -5277,7 +5198,7 @@ await client.secretGroups.delete("id", {
-
-**request:** `TrueFoundry.SecretGroupsDeleteRequest`
+**request:** `TrueFoundry.DeleteSecretGroupsRequest`
@@ -5325,14 +5246,7 @@ Get events for an application, filtered by pod names, job run, or time range.
-
```typescript
-await client.events.get({
- startTs: "startTs",
- endTs: "endTs",
- applicationId: "applicationId",
- applicationFqn: "applicationFqn",
- podNames: ["podNames"],
- jobRunName: "jobRunName"
-});
+await client.events.get();
```
@@ -5348,7 +5262,7 @@ await client.events.get({
-
-**request:** `TrueFoundry.EventsGetRequest`
+**request:** `TrueFoundry.GetEventsRequest`
@@ -5396,13 +5310,7 @@ Get alerts for a given application or cluster filtered by start and end timestam
-
```typescript
-await client.alerts.list({
- startTs: "startTs",
- endTs: "endTs",
- clusterId: "clusterId",
- applicationId: "applicationId",
- alertStatus: "firing"
-});
+await client.alerts.list();
```
@@ -5418,7 +5326,7 @@ await client.alerts.list({
-
-**request:** `TrueFoundry.AlertsListRequest`
+**request:** `TrueFoundry.ListAlertsRequest`
@@ -5468,11 +5376,7 @@ List all Agents for a tenant.
```typescript
const pageableResponse = await client.agents.list({
limit: 10,
- offset: 0,
- name: "name",
- namePrefix: "namePrefix",
- type: "remote-agent",
- attributes: ["attributes"]
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -5481,11 +5385,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.agents.list({
limit: 10,
- offset: 0,
- name: "name",
- namePrefix: "namePrefix",
- type: "remote-agent",
- attributes: ["attributes"]
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -5508,7 +5408,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.AgentsListRequest`
+**request:** `TrueFoundry.ListAgentsRequest`
@@ -5760,8 +5660,7 @@ List Agent Versions for the provided agent id
```typescript
const pageableResponse = await client.agentVersions.list({
limit: 10,
- offset: 0,
- id: "id"
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -5770,8 +5669,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.agentVersions.list({
limit: 10,
- offset: 0,
- id: "id"
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -5794,7 +5692,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.AgentVersionsListRequest`
+**request:** `TrueFoundry.ListAgentVersionsRequest`
@@ -5970,11 +5868,7 @@ List prompts with optional filtering by FQN, ML Repo, or name.
```typescript
const pageableResponse = await client.prompts.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- includeEmptyPrompts: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -5983,11 +5877,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.prompts.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- includeEmptyPrompts: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -6010,7 +5900,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.PromptsListRequest`
+**request:** `TrueFoundry.ListPromptsRequest`
@@ -6134,13 +6024,7 @@ List prompt versions with optional filtering by tag, FQN, prompt ID, ML Repo, na
```typescript
const pageableResponse = await client.promptVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- promptId: "prompt_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -6149,13 +6033,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.promptVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- promptId: "prompt_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -6178,7 +6056,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.PromptVersionsListRequest`
+**request:** `TrueFoundry.ListPromptVersionsRequest`
@@ -6546,12 +6424,7 @@ List artifacts with optional filtering by FQN, ML Repo, name, or run ID.
```typescript
const pageableResponse = await client.artifacts.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- runId: "run_id",
- includeEmptyArtifacts: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -6560,12 +6433,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.artifacts.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- runId: "run_id",
- includeEmptyArtifacts: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -6588,7 +6456,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.ArtifactsListRequest`
+**request:** `TrueFoundry.ListArtifactsRequest`
@@ -6712,16 +6580,7 @@ List artifact versions with optional filtering by tag, FQN, artifact ID, ML Repo
```typescript
const pageableResponse = await client.artifactVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- artifactId: "artifact_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1,
- runIds: ["run_ids"],
- runSteps: [1.1],
- includeInternalMetadata: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -6730,16 +6589,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.artifactVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- artifactId: "artifact_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1,
- runIds: ["run_ids"],
- runSteps: [1.1],
- includeInternalMetadata: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -6762,7 +6612,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.ArtifactVersionsListRequest`
+**request:** `TrueFoundry.ListArtifactVersionsRequest`
@@ -7482,9 +7332,7 @@ List ML Repos with optional filtering by name.
```typescript
const pageableResponse = await client.mlRepos.list({
limit: 10,
- offset: 0,
- name: "name",
- attributes: ["attributes"]
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -7493,9 +7341,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.mlRepos.list({
limit: 10,
- offset: 0,
- name: "name",
- attributes: ["attributes"]
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -7518,7 +7364,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.MlReposListRequest`
+**request:** `TrueFoundry.ListMlReposRequest`
@@ -7641,10 +7487,7 @@ List data directories with optional filtering by FQN, ML Repo, or name.
```typescript
const pageableResponse = await client.dataDirectories.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name"
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -7653,10 +7496,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.dataDirectories.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name"
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -7679,7 +7519,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.DataDirectoriesListRequest`
+**request:** `TrueFoundry.ListDataDirectoriesRequest`
@@ -8143,9 +7983,7 @@ Delete a data directory, optionally including its contents.
-
```typescript
-await client.dataDirectories.delete("id", {
- deleteContents: true
-});
+await client.dataDirectories.delete("id");
```
@@ -8169,7 +8007,7 @@ await client.dataDirectories.delete("id", {
-
-**request:** `TrueFoundry.DataDirectoriesDeleteRequest`
+**request:** `TrueFoundry.DeleteDataDirectoriesRequest`
@@ -8581,7 +8419,7 @@ await client.runs.getMetricHistory("id", {
-
-**request:** `TrueFoundry.RunsGetMetricHistoryRequest`
+**request:** `TrueFoundry.GetMetricHistoryRunsRequest`
@@ -9195,12 +9033,7 @@ List models with optional filtering by FQN, ML Repo, name, or run ID.
```typescript
const pageableResponse = await client.models.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- runId: "run_id",
- includeEmptyModels: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -9209,12 +9042,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.models.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- runId: "run_id",
- includeEmptyModels: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -9237,7 +9065,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.ModelsListRequest`
+**request:** `TrueFoundry.ListModelsRequest`
@@ -9361,16 +9189,7 @@ List model versions with optional filtering by tag, FQN, model ID, ML Repo, name
```typescript
const pageableResponse = await client.modelVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- modelId: "model_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1,
- runIds: ["run_ids"],
- runSteps: [1.1],
- includeInternalMetadata: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -9379,16 +9198,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.modelVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- modelId: "model_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1,
- runIds: ["run_ids"],
- runSteps: [1.1],
- includeInternalMetadata: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -9411,7 +9221,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.ModelVersionsListRequest`
+**request:** `TrueFoundry.ListModelVersionsRequest`
@@ -9654,21 +9464,7 @@ Get runtime logs (stdout/stderr) emitted by the pods of a deployed application.
await client.logs.get({
startTs: "1779262323000000000",
endTs: "1779348723000000000",
- limit: 1,
- direction: "asc",
- numLogsToIgnore: 1,
- applicationId: "applicationId",
- applicationFqn: "applicationFqn",
- deploymentId: "deploymentId",
- jobRunName: "jobRunName",
- podName: "podName",
- containerName: "containerName",
- podNames: ["podNames"],
- podNamesRegex: "podNamesRegex",
- searchFilters: "[{\"string\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}]",
- searchString: "searchString",
- searchType: "regex",
- searchOperator: "equal"
+ searchFilters: "[{\"string\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}]"
});
```
@@ -9685,7 +9481,7 @@ await client.logs.get({
-
-**request:** `TrueFoundry.LogsGetRequest`
+**request:** `TrueFoundry.GetLogsRequest`
@@ -9861,11 +9657,7 @@ List agent skills with optional filtering by FQN, ML Repo, or name.
```typescript
const pageableResponse = await client.agentSkills.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- includeEmptyAgentSkills: true
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -9874,11 +9666,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.agentSkills.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- mlRepoId: "ml_repo_id",
- name: "name",
- includeEmptyAgentSkills: true
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -9901,7 +9689,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.AgentSkillsListRequest`
+**request:** `TrueFoundry.ListAgentSkillsRequest`
@@ -10027,12 +9815,7 @@ List agent skill versions with optional filtering by FQN, agent skill ID, ML Rep
```typescript
const pageableResponse = await client.agentSkillVersions.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- agentSkillId: "agent_skill_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -10041,12 +9824,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.agentSkillVersions.list({
limit: 10,
- offset: 0,
- fqn: "fqn",
- agentSkillId: "agent_skill_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -10069,7 +9847,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.AgentSkillVersionsListRequest`
+**request:** `TrueFoundry.ListAgentSkillVersionsRequest`
@@ -10381,7 +10159,7 @@ await client.internal.aiGateway.getGatewayConfig("gateway-rate-limiting-config")
-
-**type:** `TrueFoundry.AiGatewayGetGatewayConfigRequestType` — The type of gateway configuration to retrieve or delete.
+**type:** `TrueFoundry.GetGatewayConfigAiGatewayRequestType` — The type of gateway configuration to retrieve or delete.
@@ -10759,10 +10537,7 @@ Generate deployment endpoint based on the provided query parameters.
await client.internal.deployments.getSuggestedEndpoint({
applicationType: "async-service",
applicationName: "applicationName",
- workspaceId: "workspaceId",
- baseDomain: "baseDomain",
- port: "port",
- preferWildcard: true
+ workspaceId: "workspaceId"
});
```
@@ -10779,7 +10554,7 @@ await client.internal.deployments.getSuggestedEndpoint({
-
-**request:** `TrueFoundry.internal.DeploymentsGetSuggestedEndpointRequest`
+**request:** `TrueFoundry.internal.GetSuggestedEndpointDeploymentsRequest`
@@ -10827,9 +10602,7 @@ Promote an application rollout for canary and blue-green.
-
```typescript
-await client.internal.applications.promoteRollout("id", {
- full: true
-});
+await client.internal.applications.promoteRollout("id");
```
@@ -10853,7 +10626,7 @@ await client.internal.applications.promoteRollout("id", {
-
-**request:** `TrueFoundry.internal.ApplicationsPromoteRolloutRequest`
+**request:** `TrueFoundry.internal.PromoteRolloutApplicationsRequest`
@@ -10900,9 +10673,7 @@ Get the pod template hash to deployment version map for a specific application.
-
```typescript
-await client.internal.applications.getPodTemplateHashToDeploymentVersion("id", {
- podTemplateHashes: "podTemplateHashes"
-});
+await client.internal.applications.getPodTemplateHashToDeploymentVersion("id");
```
@@ -10926,7 +10697,7 @@ await client.internal.applications.getPodTemplateHashToDeploymentVersion("id", {
-
-**request:** `TrueFoundry.internal.ApplicationsGetPodTemplateHashToDeploymentVersionRequest`
+**request:** `TrueFoundry.internal.GetPodTemplateHashToDeploymentVersionApplicationsRequest`
@@ -10976,8 +10747,6 @@ List metric charts available for an application.
```typescript
await client.internal.metrics.getCharts("workspaceId", {
applicationId: "applicationId",
- startTs: "startTs",
- endTs: "endTs",
filterEntity: "application",
filterQuery: "{\"pod\":\"my-app-abc123-xyz\"}"
});
@@ -11004,7 +10773,7 @@ await client.internal.metrics.getCharts("workspaceId", {
-
-**request:** `TrueFoundry.internal.MetricsGetChartsRequest`
+**request:** `TrueFoundry.internal.GetChartsMetricsRequest`
@@ -11157,18 +10926,7 @@ List artifact versions with internal metadata, optionally including model versio
```typescript
const pageableResponse = await client.internal.artifactVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- artifactId: "artifact_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1,
- runIds: ["run_ids"],
- runSteps: [1.1],
- includeInternalMetadata: true,
- includeModelVersions: true,
- artifactTypes: ["artifact_types"]
+ offset: 0
});
for await (const item of pageableResponse) {
console.log(item);
@@ -11177,18 +10935,7 @@ for await (const item of pageableResponse) {
// Or you can manually iterate page-by-page
let page = await client.internal.artifactVersions.list({
limit: 10,
- offset: 0,
- tag: "tag",
- fqn: "fqn",
- artifactId: "artifact_id",
- mlRepoId: "ml_repo_id",
- name: "name",
- version: 1,
- runIds: ["run_ids"],
- runSteps: [1.1],
- includeInternalMetadata: true,
- includeModelVersions: true,
- artifactTypes: ["artifact_types"]
+ offset: 0
});
while (page.hasNextPage()) {
page = page.getNextPage();
@@ -11211,7 +10958,7 @@ const response = page.response;
-
-**request:** `TrueFoundry.internal.ArtifactVersionsListRequest`
+**request:** `TrueFoundry.internal.ListArtifactVersionsRequest`
@@ -11326,10 +11073,7 @@ Get docker registry credentials for building and pushing an image.
-
```typescript
-await client.internal.dockerRegistries.getCredentials({
- fqn: "fqn",
- clusterId: "clusterId"
-});
+await client.internal.dockerRegistries.getCredentials();
```
@@ -11345,7 +11089,7 @@ await client.internal.dockerRegistries.getCredentials({
-
-**request:** `TrueFoundry.internal.DockerRegistriesGetCredentialsRequest`
+**request:** `TrueFoundry.internal.GetCredentialsDockerRegistriesRequest`
@@ -11366,7 +11110,7 @@ await client.internal.dockerRegistries.getCredentials({
## Internal Workflows
-client.internal.workflows.executeWorkflow(applicationId, { ...params }) -> TrueFoundry.WorkflowsExecuteWorkflowResponse
+client.internal.workflows.executeWorkflow(applicationId, { ...params }) -> TrueFoundry.ExecuteWorkflowWorkflowsResponse
-
@@ -11468,10 +11212,7 @@ Get logs emitted by the image build and deploy pipeline for a specific build of
await client.internal.buildLogs.get("pipelineRunName", {
startTs: "1635467890123456789",
endTs: "1635467891123456789",
- limit: "limit",
- direction: "direction",
- filterQuery: "{\"matchString\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}",
- numLogsToIgnore: 1.1
+ filterQuery: "{\"matchString\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}"
});
```
@@ -11496,7 +11237,7 @@ await client.internal.buildLogs.get("pipelineRunName", {
-
-**request:** `TrueFoundry.internal.BuildLogsGetRequest`
+**request:** `TrueFoundry.internal.GetBuildLogsRequest`
diff --git a/src/api/client/requests/TrueFoundryApplyRequest.ts b/src/api/client/requests/TrueFoundryApplyRequest.ts
index a129ffb7..cb42c392 100644
--- a/src/api/client/requests/TrueFoundryApplyRequest.ts
+++ b/src/api/client/requests/TrueFoundryApplyRequest.ts
@@ -20,5 +20,5 @@ export interface TrueFoundryApplyRequest {
/** Manifest of the resource to be created or updated */
manifest: TrueFoundry.TrueFoundryApplyRequestManifest;
/** Dry run the apply operation without actually applying */
- dryRun?: boolean;
+ dryRun?: boolean | null;
}
diff --git a/src/api/resources/agentSkillVersions/client/Client.ts b/src/api/resources/agentSkillVersions/client/Client.ts
index eb0376ad..31e3f80f 100644
--- a/src/api/resources/agentSkillVersions/client/Client.ts
+++ b/src/api/resources/agentSkillVersions/client/Client.ts
@@ -29,22 +29,17 @@ export class AgentSkillVersionsClient {
/**
* List agent skill versions with optional filtering by FQN, agent skill ID, ML Repo, name, or version.
*
- * @param {TrueFoundry.AgentSkillVersionsListRequest} request
+ * @param {TrueFoundry.ListAgentSkillVersionsRequest} request
* @param {AgentSkillVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.agentSkillVersions.list({
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * agentSkillId: "agent_skill_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.AgentSkillVersionsListRequest = {}, requestOptions?: AgentSkillVersionsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.AgentSkillVersionsListRequest): Promise> => { const { limit = 100, offset = 0, fqn, agentSkillId, mlRepoId, name, version } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListAgentSkillVersionsRequest = {}, requestOptions?: AgentSkillVersionsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListAgentSkillVersionsRequest): Promise> => { const { limit = 100, offset = 0, fqn, agentSkillId, mlRepoId, name, version } = request; const _queryParams: Record = {
limit,
offset,
fqn,
diff --git a/src/api/resources/agentSkillVersions/client/requests/AgentSkillVersionsListRequest.ts b/src/api/resources/agentSkillVersions/client/requests/ListAgentSkillVersionsRequest.ts
similarity index 59%
rename from src/api/resources/agentSkillVersions/client/requests/AgentSkillVersionsListRequest.ts
rename to src/api/resources/agentSkillVersions/client/requests/ListAgentSkillVersionsRequest.ts
index 2d8b9cbd..bac176f6 100644
--- a/src/api/resources/agentSkillVersions/client/requests/AgentSkillVersionsListRequest.ts
+++ b/src/api/resources/agentSkillVersions/client/requests/ListAgentSkillVersionsRequest.ts
@@ -4,27 +4,22 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * agentSkillId: "agent_skill_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1
+ * offset: 0
* }
*/
-export interface AgentSkillVersionsListRequest {
+export interface ListAgentSkillVersionsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Fully Qualified Name uniquely identifying the agent skill version. */
- fqn?: string;
+ fqn?: string | null;
/** Identifier of the agent skill whose versions are being listed. */
- agentSkillId?: string;
+ agentSkillId?: string | null;
/** Identifier of the ML Repo to filter agent skill versions by. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Name of the agent skill to filter versions by. */
- name?: string;
+ name?: string | null;
/** Version number (positive integer) to filter by. */
- version?: number;
+ version?: number | null;
}
diff --git a/src/api/resources/agentSkillVersions/client/requests/index.ts b/src/api/resources/agentSkillVersions/client/requests/index.ts
index 16123636..36fd70be 100644
--- a/src/api/resources/agentSkillVersions/client/requests/index.ts
+++ b/src/api/resources/agentSkillVersions/client/requests/index.ts
@@ -1 +1 @@
-export type { AgentSkillVersionsListRequest } from "./AgentSkillVersionsListRequest.js";
+export type { ListAgentSkillVersionsRequest } from "./ListAgentSkillVersionsRequest.js";
diff --git a/src/api/resources/agentSkills/client/Client.ts b/src/api/resources/agentSkills/client/Client.ts
index 00d731f3..9ce79b79 100644
--- a/src/api/resources/agentSkills/client/Client.ts
+++ b/src/api/resources/agentSkills/client/Client.ts
@@ -123,21 +123,17 @@ export class AgentSkillsClient {
/**
* List agent skills with optional filtering by FQN, ML Repo, or name.
*
- * @param {TrueFoundry.AgentSkillsListRequest} request
+ * @param {TrueFoundry.ListAgentSkillsRequest} request
* @param {AgentSkillsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.agentSkills.list({
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * includeEmptyAgentSkills: true
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.AgentSkillsListRequest = {}, requestOptions?: AgentSkillsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.AgentSkillsListRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, includeEmptyAgentSkills = true } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListAgentSkillsRequest = {}, requestOptions?: AgentSkillsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListAgentSkillsRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, includeEmptyAgentSkills = true } = request; const _queryParams: Record = {
limit,
offset,
fqn,
diff --git a/src/api/resources/agentSkills/client/requests/AgentSkillsListRequest.ts b/src/api/resources/agentSkills/client/requests/ListAgentSkillsRequest.ts
similarity index 57%
rename from src/api/resources/agentSkills/client/requests/AgentSkillsListRequest.ts
rename to src/api/resources/agentSkills/client/requests/ListAgentSkillsRequest.ts
index 013ba2f8..720f6e89 100644
--- a/src/api/resources/agentSkills/client/requests/AgentSkillsListRequest.ts
+++ b/src/api/resources/agentSkills/client/requests/ListAgentSkillsRequest.ts
@@ -4,24 +4,20 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * includeEmptyAgentSkills: true
+ * offset: 0
* }
*/
-export interface AgentSkillsListRequest {
+export interface ListAgentSkillsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Fully Qualified Name uniquely identifying the agent skill. */
- fqn?: string;
+ fqn?: string | null;
/** Identifier of the ML Repo to filter agent skills by. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Name of the agent skill to filter by. */
- name?: string;
+ name?: string | null;
/** Whether to include agent skills that have no versions. */
- includeEmptyAgentSkills?: boolean;
+ includeEmptyAgentSkills?: boolean | null;
}
diff --git a/src/api/resources/agentSkills/client/requests/index.ts b/src/api/resources/agentSkills/client/requests/index.ts
index b43f146a..b57c8645 100644
--- a/src/api/resources/agentSkills/client/requests/index.ts
+++ b/src/api/resources/agentSkills/client/requests/index.ts
@@ -1,2 +1,2 @@
-export type { AgentSkillsListRequest } from "./AgentSkillsListRequest.js";
export type { ApplyAgentSkillRequest } from "./ApplyAgentSkillRequest.js";
+export type { ListAgentSkillsRequest } from "./ListAgentSkillsRequest.js";
diff --git a/src/api/resources/agentVersions/client/Client.ts b/src/api/resources/agentVersions/client/Client.ts
index 5011ecc1..4c75fe00 100644
--- a/src/api/resources/agentVersions/client/Client.ts
+++ b/src/api/resources/agentVersions/client/Client.ts
@@ -29,18 +29,17 @@ export class AgentVersionsClient {
/**
* List Agent Versions for the provided agent id
*
- * @param {TrueFoundry.AgentVersionsListRequest} request
+ * @param {TrueFoundry.ListAgentVersionsRequest} request
* @param {AgentVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.agentVersions.list({
* limit: 10,
- * offset: 0,
- * id: "id"
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.AgentVersionsListRequest = {}, requestOptions?: AgentVersionsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.AgentVersionsListRequest): Promise> => { const { limit = 100, offset = 0, id } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListAgentVersionsRequest = {}, requestOptions?: AgentVersionsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListAgentVersionsRequest): Promise> => { const { limit = 100, offset = 0, id } = request; const _queryParams: Record = {
limit,
offset,
id
diff --git a/src/api/resources/agentVersions/client/requests/AgentVersionsListRequest.ts b/src/api/resources/agentVersions/client/requests/ListAgentVersionsRequest.ts
similarity index 60%
rename from src/api/resources/agentVersions/client/requests/AgentVersionsListRequest.ts
rename to src/api/resources/agentVersions/client/requests/ListAgentVersionsRequest.ts
index 027498f5..ddd7e989 100644
--- a/src/api/resources/agentVersions/client/requests/AgentVersionsListRequest.ts
+++ b/src/api/resources/agentVersions/client/requests/ListAgentVersionsRequest.ts
@@ -4,15 +4,14 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * id: "id"
+ * offset: 0
* }
*/
-export interface AgentVersionsListRequest {
+export interface ListAgentVersionsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Agent Id */
- id?: string;
+ id?: string | null;
}
diff --git a/src/api/resources/agentVersions/client/requests/index.ts b/src/api/resources/agentVersions/client/requests/index.ts
index 434dc607..f8e9b868 100644
--- a/src/api/resources/agentVersions/client/requests/index.ts
+++ b/src/api/resources/agentVersions/client/requests/index.ts
@@ -1 +1 @@
-export type { AgentVersionsListRequest } from "./AgentVersionsListRequest.js";
+export type { ListAgentVersionsRequest } from "./ListAgentVersionsRequest.js";
diff --git a/src/api/resources/agents/client/Client.ts b/src/api/resources/agents/client/Client.ts
index 5ddd65fc..08bd9b81 100644
--- a/src/api/resources/agents/client/Client.ts
+++ b/src/api/resources/agents/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,7 +30,7 @@ export class AgentsClient {
/**
* List all Agents for a tenant.
*
- * @param {TrueFoundry.AgentsListRequest} request
+ * @param {TrueFoundry.ListAgentsRequest} request
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.UnauthorizedError}
@@ -37,21 +38,17 @@ export class AgentsClient {
* @example
* await client.agents.list({
* limit: 10,
- * offset: 0,
- * name: "name",
- * namePrefix: "namePrefix",
- * type: "remote-agent",
- * attributes: ["attributes"]
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.AgentsListRequest = {}, requestOptions?: AgentsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.AgentsListRequest): Promise> => { const { limit = 100, offset = 0, name, namePrefix, "type": type_, attributes } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListAgentsRequest = {}, requestOptions?: AgentsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListAgentsRequest): Promise> => { const { limit = 100, offset = 0, name, namePrefix, "type": type_, attributes } = request; const _queryParams: Record = {
limit,
offset,
name,
namePrefix,
- type: type_ != null ? serializers.AgentsListRequestType.jsonOrThrow(type_, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
- attributes
+ type: type_ !== undefined ? serializers.ListAgentsRequestType.jsonOrThrow(type_, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
+ attributes: attributes !== undefined ? toJson(attributes) : undefined
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/agents"),
method: "GET",
diff --git a/src/api/resources/agents/client/requests/CreateOrUpdateAgentRequest.ts b/src/api/resources/agents/client/requests/CreateOrUpdateAgentRequest.ts
index c4eedc0e..0b1a31da 100644
--- a/src/api/resources/agents/client/requests/CreateOrUpdateAgentRequest.ts
+++ b/src/api/resources/agents/client/requests/CreateOrUpdateAgentRequest.ts
@@ -23,5 +23,5 @@ export interface CreateOrUpdateAgentRequest {
/** Agent Manifest */
manifest: TrueFoundry.AgentManifest;
/** Validate the manifest and collaborators without persisting or syncing to the gateway store */
- dryRun?: boolean;
+ dryRun?: boolean | null;
}
diff --git a/src/api/resources/agents/client/requests/AgentsListRequest.ts b/src/api/resources/agents/client/requests/ListAgentsRequest.ts
similarity index 69%
rename from src/api/resources/agents/client/requests/AgentsListRequest.ts
rename to src/api/resources/agents/client/requests/ListAgentsRequest.ts
index 964f6a53..e7b8c78f 100644
--- a/src/api/resources/agents/client/requests/AgentsListRequest.ts
+++ b/src/api/resources/agents/client/requests/ListAgentsRequest.ts
@@ -6,24 +6,20 @@ import * as TrueFoundry from "../../../../index.js";
* @example
* {
* limit: 10,
- * offset: 0,
- * name: "name",
- * namePrefix: "namePrefix",
- * type: "remote-agent",
- * attributes: ["attributes"]
+ * offset: 0
* }
*/
-export interface AgentsListRequest {
+export interface ListAgentsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Agent Name */
- name?: string;
+ name?: string | null;
/** When set, only agents whose name starts with this string (case-sensitive). Ignored when `name` is also provided. */
- namePrefix?: string;
+ namePrefix?: string | null;
/** Filter by latest manifest discriminator (`remote-agent`, `truefoundry-agent`, or `agent`). NOTE: `agent` is a legacy type and will be removed in the future. */
- type?: TrueFoundry.AgentsListRequestType;
+ type?: TrueFoundry.ListAgentsRequestType | null;
/** Comma-separated list of attributes to return (e.g. id,name). When provided, only the specified fields are fetched. `id` is always included. */
- attributes?: string | string[];
+ attributes?: string[] | null;
}
diff --git a/src/api/resources/agents/client/requests/index.ts b/src/api/resources/agents/client/requests/index.ts
index 6f0e31a0..97d7b333 100644
--- a/src/api/resources/agents/client/requests/index.ts
+++ b/src/api/resources/agents/client/requests/index.ts
@@ -1,2 +1,2 @@
-export type { AgentsListRequest } from "./AgentsListRequest.js";
export type { CreateOrUpdateAgentRequest } from "./CreateOrUpdateAgentRequest.js";
+export type { ListAgentsRequest } from "./ListAgentsRequest.js";
diff --git a/src/api/resources/agents/types/AgentsListRequestType.ts b/src/api/resources/agents/types/ListAgentsRequestType.ts
similarity index 57%
rename from src/api/resources/agents/types/AgentsListRequestType.ts
rename to src/api/resources/agents/types/ListAgentsRequestType.ts
index 12f69458..5dcf2788 100644
--- a/src/api/resources/agents/types/AgentsListRequestType.ts
+++ b/src/api/resources/agents/types/ListAgentsRequestType.ts
@@ -1,8 +1,8 @@
// This file was auto-generated by Fern from our API Definition.
-export const AgentsListRequestType = {
+export const ListAgentsRequestType = {
RemoteAgent: "remote-agent",
TruefoundryAgent: "truefoundry-agent",
Agent: "agent"
} as const;
-export type AgentsListRequestType = typeof AgentsListRequestType[keyof typeof AgentsListRequestType];
+export type ListAgentsRequestType = typeof ListAgentsRequestType[keyof typeof ListAgentsRequestType];
diff --git a/src/api/resources/agents/types/index.ts b/src/api/resources/agents/types/index.ts
index f9cb644c..51e547e5 100644
--- a/src/api/resources/agents/types/index.ts
+++ b/src/api/resources/agents/types/index.ts
@@ -1 +1 @@
-export * from "./AgentsListRequestType.js";
+export * from "./ListAgentsRequestType.js";
diff --git a/src/api/resources/alerts/client/Client.ts b/src/api/resources/alerts/client/Client.ts
index 8f12a56f..68df2b7e 100644
--- a/src/api/resources/alerts/client/Client.ts
+++ b/src/api/resources/alerts/client/Client.ts
@@ -29,26 +29,20 @@ export class AlertsClient {
/**
* Get alerts for a given application or cluster filtered by start and end timestamp
*
- * @param {TrueFoundry.AlertsListRequest} request
+ * @param {TrueFoundry.ListAlertsRequest} request
* @param {AlertsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
* @throws {@link TrueFoundry.ForbiddenError}
*
* @example
- * await client.alerts.list({
- * startTs: "startTs",
- * endTs: "endTs",
- * clusterId: "clusterId",
- * applicationId: "applicationId",
- * alertStatus: "firing"
- * })
+ * await client.alerts.list()
*/
- public list(request: TrueFoundry.AlertsListRequest = {}, requestOptions?: AlertsClient.RequestOptions): core.HttpResponsePromise {
+ public list(request: TrueFoundry.ListAlertsRequest = {}, requestOptions?: AlertsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
}
- private async __list(request: TrueFoundry.AlertsListRequest = {}, requestOptions?: AlertsClient.RequestOptions): Promise> {
+ private async __list(request: TrueFoundry.ListAlertsRequest = {}, requestOptions?: AlertsClient.RequestOptions): Promise> {
const { startTs, endTs, clusterId, applicationId, alertStatus } = request;
const _queryParams: Record = {
startTs,
diff --git a/src/api/resources/alerts/client/requests/AlertsListRequest.ts b/src/api/resources/alerts/client/requests/ListAlertsRequest.ts
similarity index 61%
rename from src/api/resources/alerts/client/requests/AlertsListRequest.ts
rename to src/api/resources/alerts/client/requests/ListAlertsRequest.ts
index dfdf0346..2919b254 100644
--- a/src/api/resources/alerts/client/requests/AlertsListRequest.ts
+++ b/src/api/resources/alerts/client/requests/ListAlertsRequest.ts
@@ -4,23 +4,17 @@ import * as TrueFoundry from "../../../../index.js";
/**
* @example
- * {
- * startTs: "startTs",
- * endTs: "endTs",
- * clusterId: "clusterId",
- * applicationId: "applicationId",
- * alertStatus: "firing"
- * }
+ * {}
*/
-export interface AlertsListRequest {
+export interface ListAlertsRequest {
/** Start timestamp for filtering alerts (ISO 8601 format, UTC). Must be before endTs. */
- startTs?: string;
+ startTs?: string | null;
/** End timestamp for filtering alerts (ISO 8601 format, UTC). Must be after startTs. */
- endTs?: string;
+ endTs?: string | null;
/** Unique identifier of the cluster. */
- clusterId?: string;
+ clusterId?: string | null;
/** Unique identifier of the application. */
- applicationId?: string;
+ applicationId?: string | null;
/** Filter by alert status. */
alertStatus?: TrueFoundry.AlertStatus;
}
diff --git a/src/api/resources/alerts/client/requests/index.ts b/src/api/resources/alerts/client/requests/index.ts
index 209e870f..b1cc6cb5 100644
--- a/src/api/resources/alerts/client/requests/index.ts
+++ b/src/api/resources/alerts/client/requests/index.ts
@@ -1 +1 @@
-export type { AlertsListRequest } from "./AlertsListRequest.js";
+export type { ListAlertsRequest } from "./ListAlertsRequest.js";
diff --git a/src/api/resources/applicationVersions/client/Client.ts b/src/api/resources/applicationVersions/client/Client.ts
index b8dd1da1..fb1183d1 100644
--- a/src/api/resources/applicationVersions/client/Client.ts
+++ b/src/api/resources/applicationVersions/client/Client.ts
@@ -30,7 +30,7 @@ export class ApplicationVersionsClient {
* List deployments for a given application. Each deployment is a new version of the application.
*
* @param {string} id - Unique identifier of the application
- * @param {TrueFoundry.ApplicationVersionsListRequest} request
+ * @param {TrueFoundry.ListApplicationVersionsRequest} request
* @param {ApplicationVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.ForbiddenError}
@@ -44,8 +44,8 @@ export class ApplicationVersionsClient {
* deploymentId: "deployment123"
* })
*/
- public async list(id: string, request: TrueFoundry.ApplicationVersionsListRequest = {}, requestOptions?: ApplicationVersionsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ApplicationVersionsListRequest): Promise> => { const { limit = 100, offset = 0, version, deploymentId } = request; const _queryParams: Record = {
+ public async list(id: string, request: TrueFoundry.ListApplicationVersionsRequest = {}, requestOptions?: ApplicationVersionsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListApplicationVersionsRequest): Promise> => { const { limit = 100, offset = 0, version, deploymentId } = request; const _queryParams: Record = {
limit,
offset,
version,
diff --git a/src/api/resources/applicationVersions/client/requests/ApplicationVersionsListRequest.ts b/src/api/resources/applicationVersions/client/requests/ListApplicationVersionsRequest.ts
similarity index 68%
rename from src/api/resources/applicationVersions/client/requests/ApplicationVersionsListRequest.ts
rename to src/api/resources/applicationVersions/client/requests/ListApplicationVersionsRequest.ts
index 64efddc7..61a8d0f6 100644
--- a/src/api/resources/applicationVersions/client/requests/ApplicationVersionsListRequest.ts
+++ b/src/api/resources/applicationVersions/client/requests/ListApplicationVersionsRequest.ts
@@ -9,13 +9,13 @@
* deploymentId: "deployment123"
* }
*/
-export interface ApplicationVersionsListRequest {
+export interface ListApplicationVersionsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Deployment version to filter by */
- version?: string;
+ version?: string | null;
/** Deployment ID to filter by */
- deploymentId?: string;
+ deploymentId?: string | null;
}
diff --git a/src/api/resources/applicationVersions/client/requests/index.ts b/src/api/resources/applicationVersions/client/requests/index.ts
index e498217f..436acc71 100644
--- a/src/api/resources/applicationVersions/client/requests/index.ts
+++ b/src/api/resources/applicationVersions/client/requests/index.ts
@@ -1 +1 @@
-export type { ApplicationVersionsListRequest } from "./ApplicationVersionsListRequest.js";
+export type { ListApplicationVersionsRequest } from "./ListApplicationVersionsRequest.js";
diff --git a/src/api/resources/applications/client/Client.ts b/src/api/resources/applications/client/Client.ts
index 389787a3..4cf5d6ee 100644
--- a/src/api/resources/applications/client/Client.ts
+++ b/src/api/resources/applications/client/Client.ts
@@ -29,7 +29,7 @@ export class ApplicationsClient {
/**
* List applications the caller can read.
*
- * @param {TrueFoundry.ApplicationsListRequest} request
+ * @param {TrueFoundry.ListApplicationsRequest} request
* @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -37,26 +37,11 @@ export class ApplicationsClient {
* @example
* await client.applications.list({
* limit: 10,
- * offset: 0,
- * applicationId: "applicationId",
- * workspaceId: "workspaceId",
- * applicationName: "applicationName",
- * fqn: "fqn",
- * workspaceFqn: "workspaceFqn",
- * applicationType: "async-service",
- * nameSearchQuery: "nameSearchQuery",
- * environmentId: "environmentId",
- * clusterId: "clusterId",
- * applicationSetId: "applicationSetId",
- * paused: true,
- * deviceTypeFilter: "cpu",
- * lastDeployedBySubjects: "lastDeployedBySubjects",
- * lifecycleStage: "active",
- * isRecommendationPresentAndVisible: true
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.ApplicationsListRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ApplicationsListRequest): Promise> => { const { limit = 100, offset = 0, applicationId, workspaceId, applicationName, fqn, workspaceFqn, applicationType, nameSearchQuery, environmentId, clusterId, applicationSetId, paused, deviceTypeFilter, lastDeployedBySubjects, lifecycleStage, isRecommendationPresentAndVisible } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListApplicationsRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListApplicationsRequest): Promise> => { const { limit = 100, offset = 0, applicationId, workspaceId, applicationName, fqn, workspaceFqn, applicationType, nameSearchQuery, environmentId, clusterId, applicationSetId, paused, deviceTypeFilter, lastDeployedBySubjects, lifecycleStage, isRecommendationPresentAndVisible } = request; const _queryParams: Record = {
limit,
offset,
applicationId,
@@ -70,9 +55,9 @@ export class ApplicationsClient {
clusterId,
applicationSetId,
paused,
- deviceTypeFilter: deviceTypeFilter != null ? serializers.ApplicationsListRequestDeviceTypeFilter.jsonOrThrow(deviceTypeFilter, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
+ deviceTypeFilter: deviceTypeFilter !== undefined ? serializers.ListApplicationsRequestDeviceTypeFilter.jsonOrThrow(deviceTypeFilter, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
lastDeployedBySubjects,
- lifecycleStage: lifecycleStage != null ? serializers.ApplicationsListRequestLifecycleStage.jsonOrThrow(lifecycleStage, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
+ lifecycleStage: lifecycleStage !== undefined ? serializers.ListApplicationsRequestLifecycleStage.jsonOrThrow(lifecycleStage, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
isRecommendationPresentAndVisible
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/apps"),
@@ -433,11 +418,11 @@ export class ApplicationsClient {
* @example
* await client.applications.cancelDeployment("id", "deploymentId")
*/
- public cancelDeployment(id: string, deploymentId: string, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise {
+ public cancelDeployment(id: string, deploymentId: string, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__cancelDeployment(id, deploymentId, requestOptions));
}
- private async __cancelDeployment(id: string, deploymentId: string, requestOptions?: ApplicationsClient.RequestOptions): Promise> {
+ private async __cancelDeployment(id: string, deploymentId: string, requestOptions?: ApplicationsClient.RequestOptions): Promise> {
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
const _response = await (this._options.fetcher ?? core.fetcher)({
@@ -452,7 +437,7 @@ export class ApplicationsClient {
logging: this._options.logging
});
if (_response.ok) {
- return { data: serializers.ApplicationsCancelDeploymentResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, skipValidation: true, breadcrumbsPrefix: ["response"] }), rawResponse: _response.rawResponse };
+ return { data: serializers.CancelDeploymentApplicationsResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, skipValidation: true, breadcrumbsPrefix: ["response"] }), rawResponse: _response.rawResponse };
}
if (_response.error.reason === "status-code") {
diff --git a/src/api/resources/applications/client/requests/CreateDeploymentRequest.ts b/src/api/resources/applications/client/requests/CreateDeploymentRequest.ts
index 0fe710a6..274d0772 100644
--- a/src/api/resources/applications/client/requests/CreateDeploymentRequest.ts
+++ b/src/api/resources/applications/client/requests/CreateDeploymentRequest.ts
@@ -12,17 +12,17 @@ export interface CreateDeploymentRequest {
/** Manifest of application */
manifest: Record;
/** Dry run */
- dryRun?: boolean;
+ dryRun?: boolean | null;
/** Cancels any ongoing deployments */
- forceDeploy?: boolean;
+ forceDeploy?: boolean | null;
/** Trigger on deploy */
- triggerOnDeploy?: boolean;
+ triggerOnDeploy?: boolean | null;
/** workspace id of the workspace */
- workspaceId?: string;
+ workspaceId?: string | null;
/** Id of the application */
- applicationId?: string;
+ applicationId?: string | null;
/** Name of application */
- name?: string;
+ name?: string | null;
/** Application Set Id */
- applicationSetId?: string;
+ applicationSetId?: string | null;
}
diff --git a/src/api/resources/applications/client/requests/ApplicationsListRequest.ts b/src/api/resources/applications/client/requests/ListApplicationsRequest.ts
similarity index 52%
rename from src/api/resources/applications/client/requests/ApplicationsListRequest.ts
rename to src/api/resources/applications/client/requests/ListApplicationsRequest.ts
index 3d7a848e..2555f598 100644
--- a/src/api/resources/applications/client/requests/ApplicationsListRequest.ts
+++ b/src/api/resources/applications/client/requests/ListApplicationsRequest.ts
@@ -6,57 +6,42 @@ import * as TrueFoundry from "../../../../index.js";
* @example
* {
* limit: 10,
- * offset: 0,
- * applicationId: "applicationId",
- * workspaceId: "workspaceId",
- * applicationName: "applicationName",
- * fqn: "fqn",
- * workspaceFqn: "workspaceFqn",
- * applicationType: "async-service",
- * nameSearchQuery: "nameSearchQuery",
- * environmentId: "environmentId",
- * clusterId: "clusterId",
- * applicationSetId: "applicationSetId",
- * paused: true,
- * deviceTypeFilter: "cpu",
- * lastDeployedBySubjects: "lastDeployedBySubjects",
- * lifecycleStage: "active",
- * isRecommendationPresentAndVisible: true
+ * offset: 0
* }
*/
-export interface ApplicationsListRequest {
+export interface ListApplicationsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Unique identifier of the application to filter by */
- applicationId?: string;
+ applicationId?: string | null;
/** Workspace IDs to filter by (comma-separated) */
- workspaceId?: string;
+ workspaceId?: string | null;
/** Exact application name to filter by. Takes precedence over nameSearchQuery if both are provided. */
- applicationName?: string;
+ applicationName?: string | null;
/** FQN of the application to filter by. */
- fqn?: string;
+ fqn?: string | null;
/** FQN of the workspace to filter by. */
- workspaceFqn?: string;
+ workspaceFqn?: string | null;
/** Application type to filter by (comma-separated). */
applicationType?: TrueFoundry.ApplicationType;
/** Substring search query for application name. Ignored if applicationName is also provided. */
- nameSearchQuery?: string;
+ nameSearchQuery?: string | null;
/** Environment IDs to filter by (comma-separated) */
- environmentId?: string;
+ environmentId?: string | null;
/** Cluster IDs to filter by (comma-separated) */
- clusterId?: string;
+ clusterId?: string | null;
/** Application set ID to filter by */
- applicationSetId?: string;
+ applicationSetId?: string | null;
/** Filter by explicit pause state (true = paused, false = not paused). Does not account for autoshutdown. */
- paused?: boolean;
+ paused?: boolean | null;
/** Device type to filter by (comma-separated). */
- deviceTypeFilter?: TrueFoundry.ApplicationsListRequestDeviceTypeFilter;
+ deviceTypeFilter?: TrueFoundry.ListApplicationsRequestDeviceTypeFilter | null;
/** Subject slugs of last deployers to filter by (comma-separated). Email for users (e.g. user@example.com), name for virtual accounts. */
- lastDeployedBySubjects?: string;
+ lastDeployedBySubjects?: string | null;
/** Application lifecycle stage to filter by */
- lifecycleStage?: TrueFoundry.ApplicationsListRequestLifecycleStage;
+ lifecycleStage?: TrueFoundry.ListApplicationsRequestLifecycleStage | null;
/** Whether the application has visible recommendations */
- isRecommendationPresentAndVisible?: boolean;
+ isRecommendationPresentAndVisible?: boolean | null;
}
diff --git a/src/api/resources/applications/client/requests/index.ts b/src/api/resources/applications/client/requests/index.ts
index b50ad798..f3ffc597 100644
--- a/src/api/resources/applications/client/requests/index.ts
+++ b/src/api/resources/applications/client/requests/index.ts
@@ -1,2 +1,2 @@
-export type { ApplicationsListRequest } from "./ApplicationsListRequest.js";
export type { CreateDeploymentRequest } from "./CreateDeploymentRequest.js";
+export type { ListApplicationsRequest } from "./ListApplicationsRequest.js";
diff --git a/src/api/resources/applications/types/ApplicationsCancelDeploymentResponse.ts b/src/api/resources/applications/types/CancelDeploymentApplicationsResponse.ts
similarity index 68%
rename from src/api/resources/applications/types/ApplicationsCancelDeploymentResponse.ts
rename to src/api/resources/applications/types/CancelDeploymentApplicationsResponse.ts
index c6c7b04a..099e5554 100644
--- a/src/api/resources/applications/types/ApplicationsCancelDeploymentResponse.ts
+++ b/src/api/resources/applications/types/CancelDeploymentApplicationsResponse.ts
@@ -1,6 +1,6 @@
// This file was auto-generated by Fern from our API Definition.
-export interface ApplicationsCancelDeploymentResponse {
+export interface CancelDeploymentApplicationsResponse {
/** Deployment cancelled */
message?: string;
}
diff --git a/src/api/resources/applications/types/ApplicationsListRequestDeviceTypeFilter.ts b/src/api/resources/applications/types/ListApplicationsRequestDeviceTypeFilter.ts
similarity index 58%
rename from src/api/resources/applications/types/ApplicationsListRequestDeviceTypeFilter.ts
rename to src/api/resources/applications/types/ListApplicationsRequestDeviceTypeFilter.ts
index c5e4f368..c4338c34 100644
--- a/src/api/resources/applications/types/ApplicationsListRequestDeviceTypeFilter.ts
+++ b/src/api/resources/applications/types/ListApplicationsRequestDeviceTypeFilter.ts
@@ -1,6 +1,6 @@
// This file was auto-generated by Fern from our API Definition.
-export const ApplicationsListRequestDeviceTypeFilter = {
+export const ListApplicationsRequestDeviceTypeFilter = {
Cpu: "cpu",
NvidiaGpu: "nvidia_gpu",
AwsInferentia: "aws_inferentia",
@@ -8,4 +8,4 @@ export const ApplicationsListRequestDeviceTypeFilter = {
NvidiaTimeslicingGpu: "nvidia_timeslicing_gpu",
GcpTpu: "gcp_tpu"
} as const;
-export type ApplicationsListRequestDeviceTypeFilter = typeof ApplicationsListRequestDeviceTypeFilter[keyof typeof ApplicationsListRequestDeviceTypeFilter];
+export type ListApplicationsRequestDeviceTypeFilter = typeof ListApplicationsRequestDeviceTypeFilter[keyof typeof ListApplicationsRequestDeviceTypeFilter];
diff --git a/src/api/resources/applications/types/ApplicationsListRequestLifecycleStage.ts b/src/api/resources/applications/types/ListApplicationsRequestLifecycleStage.ts
similarity index 52%
rename from src/api/resources/applications/types/ApplicationsListRequestLifecycleStage.ts
rename to src/api/resources/applications/types/ListApplicationsRequestLifecycleStage.ts
index 86f64ac2..d5f0ef23 100644
--- a/src/api/resources/applications/types/ApplicationsListRequestLifecycleStage.ts
+++ b/src/api/resources/applications/types/ListApplicationsRequestLifecycleStage.ts
@@ -1,8 +1,8 @@
// This file was auto-generated by Fern from our API Definition.
-export const ApplicationsListRequestLifecycleStage = {
+export const ListApplicationsRequestLifecycleStage = {
Active: "active",
Deleting: "deleting",
DeletionFailed: "deletion_failed"
} as const;
-export type ApplicationsListRequestLifecycleStage = typeof ApplicationsListRequestLifecycleStage[keyof typeof ApplicationsListRequestLifecycleStage];
+export type ListApplicationsRequestLifecycleStage = typeof ListApplicationsRequestLifecycleStage[keyof typeof ListApplicationsRequestLifecycleStage];
diff --git a/src/api/resources/applications/types/index.ts b/src/api/resources/applications/types/index.ts
index 758fdc1f..041c901a 100644
--- a/src/api/resources/applications/types/index.ts
+++ b/src/api/resources/applications/types/index.ts
@@ -1,3 +1,3 @@
-export * from "./ApplicationsCancelDeploymentResponse.js";
-export * from "./ApplicationsListRequestDeviceTypeFilter.js";
-export * from "./ApplicationsListRequestLifecycleStage.js";
+export * from "./CancelDeploymentApplicationsResponse.js";
+export * from "./ListApplicationsRequestDeviceTypeFilter.js";
+export * from "./ListApplicationsRequestLifecycleStage.js";
diff --git a/src/api/resources/artifactVersions/client/Client.ts b/src/api/resources/artifactVersions/client/Client.ts
index 74e746f8..04b64d36 100644
--- a/src/api/resources/artifactVersions/client/Client.ts
+++ b/src/api/resources/artifactVersions/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,26 +30,17 @@ export class ArtifactVersionsClient {
/**
* List artifact versions with optional filtering by tag, FQN, artifact ID, ML Repo, name, version, run IDs, or run steps.
*
- * @param {TrueFoundry.ArtifactVersionsListRequest} request
+ * @param {TrueFoundry.ListArtifactVersionsRequest} request
* @param {ArtifactVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.artifactVersions.list({
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * artifactId: "artifact_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1,
- * runIds: ["run_ids"],
- * runSteps: [1.1],
- * includeInternalMetadata: true
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.ArtifactVersionsListRequest = {}, requestOptions?: ArtifactVersionsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ArtifactVersionsListRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, artifactId, mlRepoId, name, version, runIds, runSteps, includeInternalMetadata = false } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListArtifactVersionsRequest = {}, requestOptions?: ArtifactVersionsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListArtifactVersionsRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, artifactId, mlRepoId, name, version, runIds, runSteps, includeInternalMetadata = false } = request; const _queryParams: Record = {
limit,
offset,
tag,
@@ -57,8 +49,8 @@ export class ArtifactVersionsClient {
ml_repo_id: mlRepoId,
name,
version,
- run_ids: runIds,
- run_steps: runSteps,
+ run_ids: runIds !== undefined ? toJson(runIds) : undefined,
+ run_steps: runSteps !== undefined ? toJson(runSteps) : undefined,
include_internal_metadata: includeInternalMetadata
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/artifact-versions"),
diff --git a/src/api/resources/artifactVersions/client/requests/ArtifactVersionsListRequest.ts b/src/api/resources/artifactVersions/client/requests/ListArtifactVersionsRequest.ts
similarity index 57%
rename from src/api/resources/artifactVersions/client/requests/ArtifactVersionsListRequest.ts
rename to src/api/resources/artifactVersions/client/requests/ListArtifactVersionsRequest.ts
index e368596e..bbb91255 100644
--- a/src/api/resources/artifactVersions/client/requests/ArtifactVersionsListRequest.ts
+++ b/src/api/resources/artifactVersions/client/requests/ListArtifactVersionsRequest.ts
@@ -4,39 +4,30 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * artifactId: "artifact_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1,
- * runIds: ["run_ids"],
- * runSteps: [1.1],
- * includeInternalMetadata: true
+ * offset: 0
* }
*/
-export interface ArtifactVersionsListRequest {
+export interface ListArtifactVersionsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Tag to filter artifact versions by. */
- tag?: string;
+ tag?: string | null;
/** Fully Qualified Name uniquely identifying the artifact version. */
- fqn?: string;
+ fqn?: string | null;
/** Identifier of the artifact whose versions to list. */
- artifactId?: string;
+ artifactId?: string | null;
/** Identifier of the ML Repo the artifact versions belong to. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Name of the artifact version. */
- name?: string;
+ name?: string | null;
/** Version number (positive integer) to filter by. */
- version?: number;
+ version?: number | null;
/** Run IDs to filter artifact versions by. */
- runIds?: string | string[];
+ runIds?: string[] | null;
/** Run steps to filter artifact versions by. */
- runSteps?: number | number[];
+ runSteps?: number[] | null;
/** Whether to include internal metadata in the response. */
includeInternalMetadata?: boolean;
}
diff --git a/src/api/resources/artifactVersions/client/requests/index.ts b/src/api/resources/artifactVersions/client/requests/index.ts
index e2b88a1e..50fa4f44 100644
--- a/src/api/resources/artifactVersions/client/requests/index.ts
+++ b/src/api/resources/artifactVersions/client/requests/index.ts
@@ -1,4 +1,4 @@
export type { ApplyArtifactVersionTagsRequest } from "./ApplyArtifactVersionTagsRequest.js";
-export type { ArtifactVersionsListRequest } from "./ArtifactVersionsListRequest.js";
+export type { ListArtifactVersionsRequest } from "./ListArtifactVersionsRequest.js";
export type { MarkStageArtifactFailureRequest } from "./MarkStageArtifactFailureRequest.js";
export type { StageArtifactRequest } from "./StageArtifactRequest.js";
diff --git a/src/api/resources/artifacts/client/Client.ts b/src/api/resources/artifacts/client/Client.ts
index 2c8bbfc8..db48adb6 100644
--- a/src/api/resources/artifacts/client/Client.ts
+++ b/src/api/resources/artifacts/client/Client.ts
@@ -123,22 +123,17 @@ export class ArtifactsClient {
/**
* List artifacts with optional filtering by FQN, ML Repo, name, or run ID.
*
- * @param {TrueFoundry.ArtifactsListRequest} request
+ * @param {TrueFoundry.ListArtifactsRequest} request
* @param {ArtifactsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.artifacts.list({
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * runId: "run_id",
- * includeEmptyArtifacts: true
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.ArtifactsListRequest = {}, requestOptions?: ArtifactsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ArtifactsListRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, runId, includeEmptyArtifacts = true } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListArtifactsRequest = {}, requestOptions?: ArtifactsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListArtifactsRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, runId, includeEmptyArtifacts = true } = request; const _queryParams: Record = {
limit,
offset,
fqn,
diff --git a/src/api/resources/artifacts/client/requests/ArtifactsListRequest.ts b/src/api/resources/artifacts/client/requests/ListArtifactsRequest.ts
similarity index 56%
rename from src/api/resources/artifacts/client/requests/ArtifactsListRequest.ts
rename to src/api/resources/artifacts/client/requests/ListArtifactsRequest.ts
index 6278a533..287df77a 100644
--- a/src/api/resources/artifacts/client/requests/ArtifactsListRequest.ts
+++ b/src/api/resources/artifacts/client/requests/ListArtifactsRequest.ts
@@ -4,27 +4,22 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * runId: "run_id",
- * includeEmptyArtifacts: true
+ * offset: 0
* }
*/
-export interface ArtifactsListRequest {
+export interface ListArtifactsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Human-readable Fully Qualified Name of the artifact. */
- fqn?: string;
+ fqn?: string | null;
/** Identifier of the ML Repo to filter artifacts by. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Name of the artifact to filter by. */
- name?: string;
+ name?: string | null;
/** Identifier of the run to filter artifacts by. */
- runId?: string;
+ runId?: string | null;
/** Whether to include artifacts that have no versions. */
- includeEmptyArtifacts?: boolean;
+ includeEmptyArtifacts?: boolean | null;
}
diff --git a/src/api/resources/artifacts/client/requests/index.ts b/src/api/resources/artifacts/client/requests/index.ts
index 0a61745d..93d8a2e4 100644
--- a/src/api/resources/artifacts/client/requests/index.ts
+++ b/src/api/resources/artifacts/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { ApplyArtifactRequest } from "./ApplyArtifactRequest.js";
-export type { ArtifactsListRequest } from "./ArtifactsListRequest.js";
+export type { ListArtifactsRequest } from "./ListArtifactsRequest.js";
diff --git a/src/api/resources/clusters/client/Client.ts b/src/api/resources/clusters/client/Client.ts
index 9502d522..3b754217 100644
--- a/src/api/resources/clusters/client/Client.ts
+++ b/src/api/resources/clusters/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,7 +30,7 @@ export class ClustersClient {
/**
* List clusters the caller can read.
*
- * @param {TrueFoundry.ClustersListRequest} request
+ * @param {TrueFoundry.ListClustersRequest} request
* @param {ClustersClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.UnauthorizedError}
@@ -37,15 +38,14 @@ export class ClustersClient {
* @example
* await client.clusters.list({
* limit: 10,
- * offset: 0,
- * attributes: ["attributes"]
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.ClustersListRequest = {}, requestOptions?: ClustersClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ClustersListRequest): Promise> => { const { limit = 100, offset = 0, attributes } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListClustersRequest = {}, requestOptions?: ClustersClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListClustersRequest): Promise> => { const { limit = 100, offset = 0, attributes } = request; const _queryParams: Record = {
limit,
offset,
- attributes
+ attributes: attributes !== undefined ? toJson(attributes) : undefined
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/clusters"),
method: "GET",
@@ -246,7 +246,7 @@ export class ClustersClient {
* List addons installed on the cluster.
*
* @param {string} id - Unique identifier of the cluster.
- * @param {TrueFoundry.ClustersGetAddonsRequest} request
+ * @param {TrueFoundry.GetAddonsClustersRequest} request
* @param {ClustersClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.UnauthorizedError}
@@ -255,20 +255,19 @@ export class ClustersClient {
* @example
* await client.clusters.getAddons("id", {
* limit: 10,
- * offset: 0,
- * attributes: ["attributes"]
+ * offset: 0
* })
*/
- public getAddons(id: string, request: TrueFoundry.ClustersGetAddonsRequest = {}, requestOptions?: ClustersClient.RequestOptions): core.HttpResponsePromise {
+ public getAddons(id: string, request: TrueFoundry.GetAddonsClustersRequest = {}, requestOptions?: ClustersClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__getAddons(id, request, requestOptions));
}
- private async __getAddons(id: string, request: TrueFoundry.ClustersGetAddonsRequest = {}, requestOptions?: ClustersClient.RequestOptions): Promise> {
+ private async __getAddons(id: string, request: TrueFoundry.GetAddonsClustersRequest = {}, requestOptions?: ClustersClient.RequestOptions): Promise> {
const { limit = 100, offset = 0, attributes } = request;
const _queryParams: Record = {
limit,
offset,
- attributes
+ attributes: attributes !== undefined ? toJson(attributes) : undefined
};
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
diff --git a/src/api/resources/clusters/client/requests/CreateOrUpdateClusterRequest.ts b/src/api/resources/clusters/client/requests/CreateOrUpdateClusterRequest.ts
index 5a26ee57..7ff34fe2 100644
--- a/src/api/resources/clusters/client/requests/CreateOrUpdateClusterRequest.ts
+++ b/src/api/resources/clusters/client/requests/CreateOrUpdateClusterRequest.ts
@@ -21,5 +21,5 @@ export interface CreateOrUpdateClusterRequest {
/** Full cluster manifest. */
manifest: TrueFoundry.ClusterManifest;
/** When true, validates the request without persisting changes. */
- dryRun?: boolean;
+ dryRun?: boolean | null;
}
diff --git a/src/api/resources/clusters/client/requests/ClustersListRequest.ts b/src/api/resources/clusters/client/requests/GetAddonsClustersRequest.ts
similarity index 66%
rename from src/api/resources/clusters/client/requests/ClustersListRequest.ts
rename to src/api/resources/clusters/client/requests/GetAddonsClustersRequest.ts
index ab4af632..ec7aeae9 100644
--- a/src/api/resources/clusters/client/requests/ClustersListRequest.ts
+++ b/src/api/resources/clusters/client/requests/GetAddonsClustersRequest.ts
@@ -4,15 +4,14 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * attributes: ["attributes"]
+ * offset: 0
* }
*/
-export interface ClustersListRequest {
+export interface GetAddonsClustersRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Comma-separated list of attributes to return (e.g. id,name). When provided, only the specified fields are fetched. `id` is always included. */
- attributes?: string | string[];
+ attributes?: string[] | null;
}
diff --git a/src/api/resources/clusters/client/requests/ClustersGetAddonsRequest.ts b/src/api/resources/clusters/client/requests/ListClustersRequest.ts
similarity index 65%
rename from src/api/resources/clusters/client/requests/ClustersGetAddonsRequest.ts
rename to src/api/resources/clusters/client/requests/ListClustersRequest.ts
index e39d522a..e1de8bb3 100644
--- a/src/api/resources/clusters/client/requests/ClustersGetAddonsRequest.ts
+++ b/src/api/resources/clusters/client/requests/ListClustersRequest.ts
@@ -4,15 +4,14 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * attributes: ["attributes"]
+ * offset: 0
* }
*/
-export interface ClustersGetAddonsRequest {
+export interface ListClustersRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Comma-separated list of attributes to return (e.g. id,name). When provided, only the specified fields are fetched. `id` is always included. */
- attributes?: string | string[];
+ attributes?: string[] | null;
}
diff --git a/src/api/resources/clusters/client/requests/index.ts b/src/api/resources/clusters/client/requests/index.ts
index 6d6817fd..c3b0beda 100644
--- a/src/api/resources/clusters/client/requests/index.ts
+++ b/src/api/resources/clusters/client/requests/index.ts
@@ -1,3 +1,3 @@
-export type { ClustersGetAddonsRequest } from "./ClustersGetAddonsRequest.js";
-export type { ClustersListRequest } from "./ClustersListRequest.js";
export type { CreateOrUpdateClusterRequest } from "./CreateOrUpdateClusterRequest.js";
+export type { GetAddonsClustersRequest } from "./GetAddonsClustersRequest.js";
+export type { ListClustersRequest } from "./ListClustersRequest.js";
diff --git a/src/api/resources/dataDirectories/client/Client.ts b/src/api/resources/dataDirectories/client/Client.ts
index 932aa29d..479fea97 100644
--- a/src/api/resources/dataDirectories/client/Client.ts
+++ b/src/api/resources/dataDirectories/client/Client.ts
@@ -29,20 +29,17 @@ export class DataDirectoriesClient {
/**
* List data directories with optional filtering by FQN, ML Repo, or name.
*
- * @param {TrueFoundry.DataDirectoriesListRequest} request
+ * @param {TrueFoundry.ListDataDirectoriesRequest} request
* @param {DataDirectoriesClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.dataDirectories.list({
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name"
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.DataDirectoriesListRequest = {}, requestOptions?: DataDirectoriesClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.DataDirectoriesListRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListDataDirectoriesRequest = {}, requestOptions?: DataDirectoriesClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListDataDirectoriesRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name } = request; const _queryParams: Record = {
limit,
offset,
fqn,
@@ -376,21 +373,19 @@ export class DataDirectoriesClient {
* Delete a data directory, optionally including its contents.
*
* @param {string} id - Data directory ID
- * @param {TrueFoundry.DataDirectoriesDeleteRequest} request
+ * @param {TrueFoundry.DeleteDataDirectoriesRequest} request
* @param {DataDirectoriesClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.NotFoundError}
*
* @example
- * await client.dataDirectories.delete("id", {
- * deleteContents: true
- * })
+ * await client.dataDirectories.delete("id")
*/
- public delete(id: string, request: TrueFoundry.DataDirectoriesDeleteRequest = {}, requestOptions?: DataDirectoriesClient.RequestOptions): core.HttpResponsePromise {
+ public delete(id: string, request: TrueFoundry.DeleteDataDirectoriesRequest = {}, requestOptions?: DataDirectoriesClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__delete(id, request, requestOptions));
}
- private async __delete(id: string, request: TrueFoundry.DataDirectoriesDeleteRequest = {}, requestOptions?: DataDirectoriesClient.RequestOptions): Promise> {
+ private async __delete(id: string, request: TrueFoundry.DeleteDataDirectoriesRequest = {}, requestOptions?: DataDirectoriesClient.RequestOptions): Promise> {
const { deleteContents = false } = request;
const _queryParams: Record = {
delete_contents: deleteContents
diff --git a/src/api/resources/dataDirectories/client/requests/DataDirectoriesDeleteRequest.ts b/src/api/resources/dataDirectories/client/requests/DeleteDataDirectoriesRequest.ts
similarity index 67%
rename from src/api/resources/dataDirectories/client/requests/DataDirectoriesDeleteRequest.ts
rename to src/api/resources/dataDirectories/client/requests/DeleteDataDirectoriesRequest.ts
index 5ae939be..039b6451 100644
--- a/src/api/resources/dataDirectories/client/requests/DataDirectoriesDeleteRequest.ts
+++ b/src/api/resources/dataDirectories/client/requests/DeleteDataDirectoriesRequest.ts
@@ -2,11 +2,9 @@
/**
* @example
- * {
- * deleteContents: true
- * }
+ * {}
*/
-export interface DataDirectoriesDeleteRequest {
+export interface DeleteDataDirectoriesRequest {
/** When true, also delete the contents (files) stored under the data directory. */
deleteContents?: boolean;
}
diff --git a/src/api/resources/dataDirectories/client/requests/DataDirectoriesListRequest.ts b/src/api/resources/dataDirectories/client/requests/ListDataDirectoriesRequest.ts
similarity index 57%
rename from src/api/resources/dataDirectories/client/requests/DataDirectoriesListRequest.ts
rename to src/api/resources/dataDirectories/client/requests/ListDataDirectoriesRequest.ts
index 2df45a79..5bda2f33 100644
--- a/src/api/resources/dataDirectories/client/requests/DataDirectoriesListRequest.ts
+++ b/src/api/resources/dataDirectories/client/requests/ListDataDirectoriesRequest.ts
@@ -4,21 +4,18 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name"
+ * offset: 0
* }
*/
-export interface DataDirectoriesListRequest {
+export interface ListDataDirectoriesRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Fully qualified name to filter by */
- fqn?: string;
+ fqn?: string | null;
/** ID of the ML Repo to filter by */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Name of the data directory to filter by */
- name?: string;
+ name?: string | null;
}
diff --git a/src/api/resources/dataDirectories/client/requests/index.ts b/src/api/resources/dataDirectories/client/requests/index.ts
index 541b4679..8b3121dd 100644
--- a/src/api/resources/dataDirectories/client/requests/index.ts
+++ b/src/api/resources/dataDirectories/client/requests/index.ts
@@ -1,4 +1,4 @@
export type { ApplyDataDirectoryRequest } from "./ApplyDataDirectoryRequest.js";
-export type { DataDirectoriesDeleteRequest } from "./DataDirectoriesDeleteRequest.js";
-export type { DataDirectoriesListRequest } from "./DataDirectoriesListRequest.js";
+export type { DeleteDataDirectoriesRequest } from "./DeleteDataDirectoriesRequest.js";
export type { DeleteFilesRequest } from "./DeleteFilesRequest.js";
+export type { ListDataDirectoriesRequest } from "./ListDataDirectoriesRequest.js";
diff --git a/src/api/resources/environments/client/Client.ts b/src/api/resources/environments/client/Client.ts
index aa07abfb..5f2b085e 100644
--- a/src/api/resources/environments/client/Client.ts
+++ b/src/api/resources/environments/client/Client.ts
@@ -29,7 +29,7 @@ export class EnvironmentsClient {
/**
* List environments the caller can read within the tenant.
*
- * @param {TrueFoundry.EnvironmentsListRequest} request
+ * @param {TrueFoundry.ListEnvironmentsRequest} request
* @param {EnvironmentsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
@@ -38,8 +38,8 @@ export class EnvironmentsClient {
* offset: 0
* })
*/
- public async list(request: TrueFoundry.EnvironmentsListRequest = {}, requestOptions?: EnvironmentsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.EnvironmentsListRequest): Promise> => { const { limit = 100, offset = 0 } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListEnvironmentsRequest = {}, requestOptions?: EnvironmentsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListEnvironmentsRequest): Promise> => { const { limit = 100, offset = 0 } = request; const _queryParams: Record = {
limit,
offset
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
diff --git a/src/api/resources/environments/client/requests/CreateOrUpdateEnvironmentRequest.ts b/src/api/resources/environments/client/requests/CreateOrUpdateEnvironmentRequest.ts
index 743017da..65b0366b 100644
--- a/src/api/resources/environments/client/requests/CreateOrUpdateEnvironmentRequest.ts
+++ b/src/api/resources/environments/client/requests/CreateOrUpdateEnvironmentRequest.ts
@@ -18,5 +18,5 @@ export interface CreateOrUpdateEnvironmentRequest {
/** Environment manifest. The environment is matched by `name` for upsert. */
manifest: TrueFoundry.EnvironmentManifest;
/** When true, validates the manifest without persisting changes. */
- dryRun?: boolean;
+ dryRun?: boolean | null;
}
diff --git a/src/api/resources/environments/client/requests/EnvironmentsListRequest.ts b/src/api/resources/environments/client/requests/ListEnvironmentsRequest.ts
similarity index 69%
rename from src/api/resources/environments/client/requests/EnvironmentsListRequest.ts
rename to src/api/resources/environments/client/requests/ListEnvironmentsRequest.ts
index 1f25e2e6..416331ad 100644
--- a/src/api/resources/environments/client/requests/EnvironmentsListRequest.ts
+++ b/src/api/resources/environments/client/requests/ListEnvironmentsRequest.ts
@@ -7,9 +7,9 @@
* offset: 0
* }
*/
-export interface EnvironmentsListRequest {
+export interface ListEnvironmentsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
}
diff --git a/src/api/resources/environments/client/requests/index.ts b/src/api/resources/environments/client/requests/index.ts
index da27885f..e6dd8134 100644
--- a/src/api/resources/environments/client/requests/index.ts
+++ b/src/api/resources/environments/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { CreateOrUpdateEnvironmentRequest } from "./CreateOrUpdateEnvironmentRequest.js";
-export type { EnvironmentsListRequest } from "./EnvironmentsListRequest.js";
+export type { ListEnvironmentsRequest } from "./ListEnvironmentsRequest.js";
diff --git a/src/api/resources/events/client/Client.ts b/src/api/resources/events/client/Client.ts
index e9e7186c..2bcdd53b 100644
--- a/src/api/resources/events/client/Client.ts
+++ b/src/api/resources/events/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,7 +30,7 @@ export class EventsClient {
/**
* Get events for an application, filtered by pod names, job run, or time range.
*
- * @param {TrueFoundry.EventsGetRequest} request
+ * @param {TrueFoundry.GetEventsRequest} request
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -37,27 +38,20 @@ export class EventsClient {
* @throws {@link TrueFoundry.NotFoundError}
*
* @example
- * await client.events.get({
- * startTs: "startTs",
- * endTs: "endTs",
- * applicationId: "applicationId",
- * applicationFqn: "applicationFqn",
- * podNames: ["podNames"],
- * jobRunName: "jobRunName"
- * })
+ * await client.events.get()
*/
- public get(request: TrueFoundry.EventsGetRequest = {}, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise {
+ public get(request: TrueFoundry.GetEventsRequest = {}, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
}
- private async __get(request: TrueFoundry.EventsGetRequest = {}, requestOptions?: EventsClient.RequestOptions): Promise> {
+ private async __get(request: TrueFoundry.GetEventsRequest = {}, requestOptions?: EventsClient.RequestOptions): Promise> {
const { startTs, endTs, applicationId, applicationFqn, podNames, jobRunName } = request;
const _queryParams: Record = {
startTs,
endTs,
applicationId,
applicationFqn,
- podNames,
+ podNames: podNames !== undefined ? toJson(podNames) : undefined,
jobRunName
};
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
diff --git a/src/api/resources/events/client/requests/EventsGetRequest.ts b/src/api/resources/events/client/requests/GetEventsRequest.ts
similarity index 64%
rename from src/api/resources/events/client/requests/EventsGetRequest.ts
rename to src/api/resources/events/client/requests/GetEventsRequest.ts
index 8216e8bb..42a62e87 100644
--- a/src/api/resources/events/client/requests/EventsGetRequest.ts
+++ b/src/api/resources/events/client/requests/GetEventsRequest.ts
@@ -2,26 +2,19 @@
/**
* @example
- * {
- * startTs: "startTs",
- * endTs: "endTs",
- * applicationId: "applicationId",
- * applicationFqn: "applicationFqn",
- * podNames: ["podNames"],
- * jobRunName: "jobRunName"
- * }
+ * {}
*/
-export interface EventsGetRequest {
+export interface GetEventsRequest {
/** Start timestamp for filtering events (ISO 8601 format, UTC). Defaults to 24 hours before endTs. Must be less than or equal to endTs. */
- startTs?: string;
+ startTs?: string | null;
/** End timestamp for filtering events (ISO 8601 format, UTC). Defaults to current time. Must be greater than or equal to startTs. */
- endTs?: string;
+ endTs?: string | null;
/** Unique identifier of the application. Either applicationId or applicationFqn must be provided. */
- applicationId?: string;
+ applicationId?: string | null;
/** Fully qualified name of the application. Either applicationId or applicationFqn must be provided. */
- applicationFqn?: string;
+ applicationFqn?: string | null;
/** List of Kubernetes pod names to filter events. Cannot be provided together with jobRunName. */
- podNames?: string | string[];
+ podNames?: string[] | null;
/** Name of the TrueFoundry job run. Cannot be provided together with podNames. */
- jobRunName?: string;
+ jobRunName?: string | null;
}
diff --git a/src/api/resources/events/client/requests/index.ts b/src/api/resources/events/client/requests/index.ts
index 4167b9e9..c3d59ca2 100644
--- a/src/api/resources/events/client/requests/index.ts
+++ b/src/api/resources/events/client/requests/index.ts
@@ -1 +1 @@
-export type { EventsGetRequest } from "./EventsGetRequest.js";
+export type { GetEventsRequest } from "./GetEventsRequest.js";
diff --git a/src/api/resources/internal/client/Client.ts b/src/api/resources/internal/client/Client.ts
index 7111ed23..353181b7 100644
--- a/src/api/resources/internal/client/Client.ts
+++ b/src/api/resources/internal/client/Client.ts
@@ -96,7 +96,7 @@ export class InternalClient {
* Get IDs associated with the FQN for various entity types, such as deployment, application, workspace, or cluster.
*
* @param {string} type - Entity Type
- * @param {TrueFoundry.InternalGetIdFromFqnRequest} request
+ * @param {TrueFoundry.GetIdFromFqnInternalRequest} request
* @param {InternalClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -107,11 +107,11 @@ export class InternalClient {
* fqn: "fqn"
* })
*/
- public getIdFromFqn(type: string, request: TrueFoundry.InternalGetIdFromFqnRequest, requestOptions?: InternalClient.RequestOptions): core.HttpResponsePromise> {
+ public getIdFromFqn(type: string, request: TrueFoundry.GetIdFromFqnInternalRequest, requestOptions?: InternalClient.RequestOptions): core.HttpResponsePromise> {
return core.HttpResponsePromise.fromPromise(this.__getIdFromFqn(type, request, requestOptions));
}
- private async __getIdFromFqn(type: string, request: TrueFoundry.InternalGetIdFromFqnRequest, requestOptions?: InternalClient.RequestOptions): Promise>> {
+ private async __getIdFromFqn(type: string, request: TrueFoundry.GetIdFromFqnInternalRequest, requestOptions?: InternalClient.RequestOptions): Promise>> {
const { fqn } = request;
const _queryParams: Record = {
fqn
diff --git a/src/api/resources/internal/client/requests/InternalGetIdFromFqnRequest.ts b/src/api/resources/internal/client/requests/GetIdFromFqnInternalRequest.ts
similarity index 78%
rename from src/api/resources/internal/client/requests/InternalGetIdFromFqnRequest.ts
rename to src/api/resources/internal/client/requests/GetIdFromFqnInternalRequest.ts
index 083f7fce..132aa1e7 100644
--- a/src/api/resources/internal/client/requests/InternalGetIdFromFqnRequest.ts
+++ b/src/api/resources/internal/client/requests/GetIdFromFqnInternalRequest.ts
@@ -6,7 +6,7 @@
* fqn: "fqn"
* }
*/
-export interface InternalGetIdFromFqnRequest {
+export interface GetIdFromFqnInternalRequest {
/** Entity FQN */
fqn: string;
}
diff --git a/src/api/resources/internal/client/requests/index.ts b/src/api/resources/internal/client/requests/index.ts
index 8f36be2d..f5c03190 100644
--- a/src/api/resources/internal/client/requests/index.ts
+++ b/src/api/resources/internal/client/requests/index.ts
@@ -1 +1 @@
-export type { InternalGetIdFromFqnRequest } from "./InternalGetIdFromFqnRequest.js";
+export type { GetIdFromFqnInternalRequest } from "./GetIdFromFqnInternalRequest.js";
diff --git a/src/api/resources/internal/resources/aiGateway/client/Client.ts b/src/api/resources/internal/resources/aiGateway/client/Client.ts
index 47c38157..1fc53ae0 100644
--- a/src/api/resources/internal/resources/aiGateway/client/Client.ts
+++ b/src/api/resources/internal/resources/aiGateway/client/Client.ts
@@ -29,21 +29,21 @@ export class AiGatewayClient {
/**
* Get the AI Gateway configuration for the given type.
*
- * @param {TrueFoundry.internal.AiGatewayGetGatewayConfigRequestType} type - The type of gateway configuration to retrieve or delete.
+ * @param {TrueFoundry.internal.GetGatewayConfigAiGatewayRequestType} type - The type of gateway configuration to retrieve or delete.
* @param {AiGatewayClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.internal.aiGateway.getGatewayConfig("gateway-rate-limiting-config")
*/
- public getGatewayConfig(type: TrueFoundry.internal.AiGatewayGetGatewayConfigRequestType, requestOptions?: AiGatewayClient.RequestOptions): core.HttpResponsePromise {
+ public getGatewayConfig(type: TrueFoundry.internal.GetGatewayConfigAiGatewayRequestType, requestOptions?: AiGatewayClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__getGatewayConfig(type, requestOptions));
}
- private async __getGatewayConfig(type: TrueFoundry.internal.AiGatewayGetGatewayConfigRequestType, requestOptions?: AiGatewayClient.RequestOptions): Promise> {
+ private async __getGatewayConfig(type: TrueFoundry.internal.GetGatewayConfigAiGatewayRequestType, requestOptions?: AiGatewayClient.RequestOptions): Promise> {
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
const _response = await (this._options.fetcher ?? core.fetcher)({
- url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), `api/svc/v1/llm-gateway/config/${core.url.encodePathParam(serializers.internal.AiGatewayGetGatewayConfigRequestType.jsonOrThrow(type, { omitUndefined: true }))}`),
+ url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), `api/svc/v1/llm-gateway/config/${core.url.encodePathParam(serializers.internal.GetGatewayConfigAiGatewayRequestType.jsonOrThrow(type, { omitUndefined: true }))}`),
method: "GET",
headers: _headers,
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
diff --git a/src/api/resources/internal/resources/aiGateway/types/AiGatewayGetGatewayConfigRequestType.ts b/src/api/resources/internal/resources/aiGateway/types/GetGatewayConfigAiGatewayRequestType.ts
similarity index 78%
rename from src/api/resources/internal/resources/aiGateway/types/AiGatewayGetGatewayConfigRequestType.ts
rename to src/api/resources/internal/resources/aiGateway/types/GetGatewayConfigAiGatewayRequestType.ts
index 566cf605..f0c3cea4 100644
--- a/src/api/resources/internal/resources/aiGateway/types/AiGatewayGetGatewayConfigRequestType.ts
+++ b/src/api/resources/internal/resources/aiGateway/types/GetGatewayConfigAiGatewayRequestType.ts
@@ -1,6 +1,6 @@
// This file was auto-generated by Fern from our API Definition.
-export const AiGatewayGetGatewayConfigRequestType = {
+export const GetGatewayConfigAiGatewayRequestType = {
GatewayRateLimitingConfig: "gateway-rate-limiting-config",
GatewayFallbackConfig: "gateway-fallback-config",
GatewayLoadBalancingConfig: "gateway-load-balancing-config",
@@ -13,4 +13,4 @@ export const AiGatewayGetGatewayConfigRequestType = {
GatewayDataAccessConfig: "gateway-data-access-config",
GatewayDataRoutingConfig: "gateway-data-routing-config"
} as const;
-export type AiGatewayGetGatewayConfigRequestType = typeof AiGatewayGetGatewayConfigRequestType[keyof typeof AiGatewayGetGatewayConfigRequestType];
+export type GetGatewayConfigAiGatewayRequestType = typeof GetGatewayConfigAiGatewayRequestType[keyof typeof GetGatewayConfigAiGatewayRequestType];
diff --git a/src/api/resources/internal/resources/aiGateway/types/index.ts b/src/api/resources/internal/resources/aiGateway/types/index.ts
index 96bb6258..0ddbb570 100644
--- a/src/api/resources/internal/resources/aiGateway/types/index.ts
+++ b/src/api/resources/internal/resources/aiGateway/types/index.ts
@@ -1 +1 @@
-export * from "./AiGatewayGetGatewayConfigRequestType.js";
+export * from "./GetGatewayConfigAiGatewayRequestType.js";
diff --git a/src/api/resources/internal/resources/applications/client/Client.ts b/src/api/resources/internal/resources/applications/client/Client.ts
index ed29c11e..b739334a 100644
--- a/src/api/resources/internal/resources/applications/client/Client.ts
+++ b/src/api/resources/internal/resources/applications/client/Client.ts
@@ -30,22 +30,20 @@ export class ApplicationsClient {
* Promote an application rollout for canary and blue-green.
*
* @param {string} id - Unique identifier of the application
- * @param {TrueFoundry.internal.ApplicationsPromoteRolloutRequest} request
+ * @param {TrueFoundry.internal.PromoteRolloutApplicationsRequest} request
* @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.NotFoundError}
* @throws {@link TrueFoundry.MethodNotAllowedError}
*
* @example
- * await client.internal.applications.promoteRollout("id", {
- * full: true
- * })
+ * await client.internal.applications.promoteRollout("id")
*/
- public promoteRollout(id: string, request: TrueFoundry.internal.ApplicationsPromoteRolloutRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise {
+ public promoteRollout(id: string, request: TrueFoundry.internal.PromoteRolloutApplicationsRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__promoteRollout(id, request, requestOptions));
}
- private async __promoteRollout(id: string, request: TrueFoundry.internal.ApplicationsPromoteRolloutRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): Promise> {
+ private async __promoteRollout(id: string, request: TrueFoundry.internal.PromoteRolloutApplicationsRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): Promise> {
const { full = false } = request;
const _queryParams: Record = {
full
@@ -86,21 +84,19 @@ export class ApplicationsClient {
* Get the pod template hash to deployment version map for a specific application.
*
* @param {string} id - Unique identifier of the application
- * @param {TrueFoundry.internal.ApplicationsGetPodTemplateHashToDeploymentVersionRequest} request
+ * @param {TrueFoundry.internal.GetPodTemplateHashToDeploymentVersionApplicationsRequest} request
* @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
*
* @example
- * await client.internal.applications.getPodTemplateHashToDeploymentVersion("id", {
- * podTemplateHashes: "podTemplateHashes"
- * })
+ * await client.internal.applications.getPodTemplateHashToDeploymentVersion("id")
*/
- public getPodTemplateHashToDeploymentVersion(id: string, request: TrueFoundry.internal.ApplicationsGetPodTemplateHashToDeploymentVersionRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise> {
+ public getPodTemplateHashToDeploymentVersion(id: string, request: TrueFoundry.internal.GetPodTemplateHashToDeploymentVersionApplicationsRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise> {
return core.HttpResponsePromise.fromPromise(this.__getPodTemplateHashToDeploymentVersion(id, request, requestOptions));
}
- private async __getPodTemplateHashToDeploymentVersion(id: string, request: TrueFoundry.internal.ApplicationsGetPodTemplateHashToDeploymentVersionRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): Promise>> {
+ private async __getPodTemplateHashToDeploymentVersion(id: string, request: TrueFoundry.internal.GetPodTemplateHashToDeploymentVersionApplicationsRequest = {}, requestOptions?: ApplicationsClient.RequestOptions): Promise>> {
const { podTemplateHashes } = request;
const _queryParams: Record = {
podTemplateHashes
diff --git a/src/api/resources/internal/resources/applications/client/requests/ApplicationsGetPodTemplateHashToDeploymentVersionRequest.ts b/src/api/resources/internal/resources/applications/client/requests/ApplicationsGetPodTemplateHashToDeploymentVersionRequest.ts
deleted file mode 100644
index c10e5814..00000000
--- a/src/api/resources/internal/resources/applications/client/requests/ApplicationsGetPodTemplateHashToDeploymentVersionRequest.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-/**
- * @example
- * {
- * podTemplateHashes: "podTemplateHashes"
- * }
- */
-export interface ApplicationsGetPodTemplateHashToDeploymentVersionRequest {
- /** Pod template hashes to filter by (comma-separated) */
- podTemplateHashes?: string;
-}
diff --git a/src/api/resources/internal/resources/applications/client/requests/GetPodTemplateHashToDeploymentVersionApplicationsRequest.ts b/src/api/resources/internal/resources/applications/client/requests/GetPodTemplateHashToDeploymentVersionApplicationsRequest.ts
new file mode 100644
index 00000000..4ce974c8
--- /dev/null
+++ b/src/api/resources/internal/resources/applications/client/requests/GetPodTemplateHashToDeploymentVersionApplicationsRequest.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * @example
+ * {}
+ */
+export interface GetPodTemplateHashToDeploymentVersionApplicationsRequest {
+ /** Pod template hashes to filter by (comma-separated) */
+ podTemplateHashes?: string | null;
+}
diff --git a/src/api/resources/internal/resources/applications/client/requests/ApplicationsPromoteRolloutRequest.ts b/src/api/resources/internal/resources/applications/client/requests/PromoteRolloutApplicationsRequest.ts
similarity index 56%
rename from src/api/resources/internal/resources/applications/client/requests/ApplicationsPromoteRolloutRequest.ts
rename to src/api/resources/internal/resources/applications/client/requests/PromoteRolloutApplicationsRequest.ts
index 2901a7a2..edcef25c 100644
--- a/src/api/resources/internal/resources/applications/client/requests/ApplicationsPromoteRolloutRequest.ts
+++ b/src/api/resources/internal/resources/applications/client/requests/PromoteRolloutApplicationsRequest.ts
@@ -2,11 +2,9 @@
/**
* @example
- * {
- * full: true
- * }
+ * {}
*/
-export interface ApplicationsPromoteRolloutRequest {
+export interface PromoteRolloutApplicationsRequest {
/** Whether to promote the rollout to full traffic */
- full?: boolean;
+ full?: boolean | null;
}
diff --git a/src/api/resources/internal/resources/applications/client/requests/index.ts b/src/api/resources/internal/resources/applications/client/requests/index.ts
index 8b6e6ade..80286356 100644
--- a/src/api/resources/internal/resources/applications/client/requests/index.ts
+++ b/src/api/resources/internal/resources/applications/client/requests/index.ts
@@ -1,2 +1,2 @@
-export type { ApplicationsGetPodTemplateHashToDeploymentVersionRequest } from "./ApplicationsGetPodTemplateHashToDeploymentVersionRequest.js";
-export type { ApplicationsPromoteRolloutRequest } from "./ApplicationsPromoteRolloutRequest.js";
+export type { GetPodTemplateHashToDeploymentVersionApplicationsRequest } from "./GetPodTemplateHashToDeploymentVersionApplicationsRequest.js";
+export type { PromoteRolloutApplicationsRequest } from "./PromoteRolloutApplicationsRequest.js";
diff --git a/src/api/resources/internal/resources/artifactVersions/client/Client.ts b/src/api/resources/internal/resources/artifactVersions/client/Client.ts
index 1d53d5d2..43d99d97 100644
--- a/src/api/resources/internal/resources/artifactVersions/client/Client.ts
+++ b/src/api/resources/internal/resources/artifactVersions/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
import * as core from "../../../../../../core/index.js";
import { mergeHeaders } from "../../../../../../core/headers.js";
+import { toJson } from "../../../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../../../errors/index.js";
import * as serializers from "../../../../../../serialization/index.js";
@@ -29,28 +30,17 @@ export class ArtifactVersionsClient {
/**
* List artifact versions with internal metadata, optionally including model versions.
*
- * @param {TrueFoundry.internal.ArtifactVersionsListRequest} request
+ * @param {TrueFoundry.internal.ListArtifactVersionsRequest} request
* @param {ArtifactVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.internal.artifactVersions.list({
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * artifactId: "artifact_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1,
- * runIds: ["run_ids"],
- * runSteps: [1.1],
- * includeInternalMetadata: true,
- * includeModelVersions: true,
- * artifactTypes: ["artifact_types"]
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.internal.ArtifactVersionsListRequest = {}, requestOptions?: ArtifactVersionsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.internal.ArtifactVersionsListRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, artifactId, mlRepoId, name, version, runIds, runSteps, includeInternalMetadata = false, includeModelVersions = false, artifactTypes } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.internal.ListArtifactVersionsRequest = {}, requestOptions?: ArtifactVersionsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.internal.ListArtifactVersionsRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, artifactId, mlRepoId, name, version, runIds, runSteps, includeInternalMetadata = false, includeModelVersions = false, artifactTypes } = request; const _queryParams: Record = {
limit,
offset,
tag,
@@ -59,8 +49,8 @@ export class ArtifactVersionsClient {
ml_repo_id: mlRepoId,
name,
version,
- run_ids: runIds,
- run_steps: runSteps,
+ run_ids: runIds !== undefined ? toJson(runIds) : undefined,
+ run_steps: runSteps !== undefined ? toJson(runSteps) : undefined,
include_internal_metadata: includeInternalMetadata,
include_model_versions: includeModelVersions,
artifact_types: artifactTypes
diff --git a/src/api/resources/internal/resources/artifactVersions/client/requests/ArtifactVersionsListRequest.ts b/src/api/resources/internal/resources/artifactVersions/client/requests/ListArtifactVersionsRequest.ts
similarity index 61%
rename from src/api/resources/internal/resources/artifactVersions/client/requests/ArtifactVersionsListRequest.ts
rename to src/api/resources/internal/resources/artifactVersions/client/requests/ListArtifactVersionsRequest.ts
index 4337e5db..6f545f7a 100644
--- a/src/api/resources/internal/resources/artifactVersions/client/requests/ArtifactVersionsListRequest.ts
+++ b/src/api/resources/internal/resources/artifactVersions/client/requests/ListArtifactVersionsRequest.ts
@@ -6,41 +6,30 @@ import * as TrueFoundry from "../../../../../../index.js";
* @example
* {
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * artifactId: "artifact_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1,
- * runIds: ["run_ids"],
- * runSteps: [1.1],
- * includeInternalMetadata: true,
- * includeModelVersions: true,
- * artifactTypes: ["artifact_types"]
+ * offset: 0
* }
*/
-export interface ArtifactVersionsListRequest {
+export interface ListArtifactVersionsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Tag to filter artifact versions by. */
- tag?: string;
+ tag?: string | null;
/** Fully Qualified Name uniquely identifying the artifact version. */
- fqn?: string;
+ fqn?: string | null;
/** Identifier of the artifact whose versions to list. */
- artifactId?: string;
+ artifactId?: string | null;
/** Identifier of the ML Repo the artifact versions belong to. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Name of the artifact version. */
- name?: string;
+ name?: string | null;
/** Version number (positive integer) to filter by. */
- version?: number;
+ version?: number | null;
/** Run IDs to filter artifact versions by. */
- runIds?: string | string[];
+ runIds?: string[] | null;
/** Run steps to filter artifact versions by. */
- runSteps?: number | number[];
+ runSteps?: number[] | null;
/** Whether to include internal metadata in the response. */
includeInternalMetadata?: boolean;
/** Whether to include model versions in the response. */
diff --git a/src/api/resources/internal/resources/artifactVersions/client/requests/index.ts b/src/api/resources/internal/resources/artifactVersions/client/requests/index.ts
index ef487058..22951bea 100644
--- a/src/api/resources/internal/resources/artifactVersions/client/requests/index.ts
+++ b/src/api/resources/internal/resources/artifactVersions/client/requests/index.ts
@@ -1 +1 @@
-export type { ArtifactVersionsListRequest } from "./ArtifactVersionsListRequest.js";
+export type { ListArtifactVersionsRequest } from "./ListArtifactVersionsRequest.js";
diff --git a/src/api/resources/internal/resources/buildLogs/client/Client.ts b/src/api/resources/internal/resources/buildLogs/client/Client.ts
index 2d1082e8..e5aa4a24 100644
--- a/src/api/resources/internal/resources/buildLogs/client/Client.ts
+++ b/src/api/resources/internal/resources/buildLogs/client/Client.ts
@@ -30,7 +30,7 @@ export class BuildLogsClient {
* Get logs emitted by the image build and deploy pipeline for a specific build of an application.
*
* @param {string} pipelineRunName - PipelineRun Name
- * @param {TrueFoundry.internal.BuildLogsGetRequest} request
+ * @param {TrueFoundry.internal.GetBuildLogsRequest} request
* @param {BuildLogsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -39,17 +39,14 @@ export class BuildLogsClient {
* await client.internal.buildLogs.get("pipelineRunName", {
* startTs: "1635467890123456789",
* endTs: "1635467891123456789",
- * limit: "limit",
- * direction: "direction",
- * filterQuery: "{\"matchString\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}",
- * numLogsToIgnore: 1.1
+ * filterQuery: "{\"matchString\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}"
* })
*/
- public get(pipelineRunName: string, request: TrueFoundry.internal.BuildLogsGetRequest = {}, requestOptions?: BuildLogsClient.RequestOptions): core.HttpResponsePromise {
+ public get(pipelineRunName: string, request: TrueFoundry.internal.GetBuildLogsRequest = {}, requestOptions?: BuildLogsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__get(pipelineRunName, request, requestOptions));
}
- private async __get(pipelineRunName: string, request: TrueFoundry.internal.BuildLogsGetRequest = {}, requestOptions?: BuildLogsClient.RequestOptions): Promise> {
+ private async __get(pipelineRunName: string, request: TrueFoundry.internal.GetBuildLogsRequest = {}, requestOptions?: BuildLogsClient.RequestOptions): Promise> {
const { startTs, endTs, limit, direction, filterQuery, numLogsToIgnore } = request;
const _queryParams: Record = {
startTs,
diff --git a/src/api/resources/internal/resources/buildLogs/client/requests/BuildLogsGetRequest.ts b/src/api/resources/internal/resources/buildLogs/client/requests/GetBuildLogsRequest.ts
similarity index 70%
rename from src/api/resources/internal/resources/buildLogs/client/requests/BuildLogsGetRequest.ts
rename to src/api/resources/internal/resources/buildLogs/client/requests/GetBuildLogsRequest.ts
index f32c7859..98e989e3 100644
--- a/src/api/resources/internal/resources/buildLogs/client/requests/BuildLogsGetRequest.ts
+++ b/src/api/resources/internal/resources/buildLogs/client/requests/GetBuildLogsRequest.ts
@@ -5,23 +5,20 @@
* {
* startTs: "1635467890123456789",
* endTs: "1635467891123456789",
- * limit: "limit",
- * direction: "direction",
- * filterQuery: "{\"matchString\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}",
- * numLogsToIgnore: 1.1
+ * filterQuery: "{\"matchString\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}"
* }
*/
-export interface BuildLogsGetRequest {
+export interface GetBuildLogsRequest {
/** Start timestamp for querying logs, in nanoseconds from the Unix epoch. */
- startTs?: string;
+ startTs?: string | null;
/** End timestamp for querying logs, in nanoseconds from the Unix epoch. */
- endTs?: string;
+ endTs?: string | null;
/** Max number of log lines to fetch */
- limit?: string;
+ limit?: string | null;
/** Direction of sorting logs. Can be `asc` or `desc` */
- direction?: string;
+ direction?: string | null;
/** JSON-encoded filter object with shape `{ matchString, type, operator }`. `type` is `regex` or `substring`; `operator` is `equal` or `not_equal`. */
- filterQuery?: string;
+ filterQuery?: string | null;
/** Number of logs corresponding to the starting timestamp to be ignored. */
- numLogsToIgnore?: number;
+ numLogsToIgnore?: number | null;
}
diff --git a/src/api/resources/internal/resources/buildLogs/client/requests/index.ts b/src/api/resources/internal/resources/buildLogs/client/requests/index.ts
index c8edaf5e..a101cd7c 100644
--- a/src/api/resources/internal/resources/buildLogs/client/requests/index.ts
+++ b/src/api/resources/internal/resources/buildLogs/client/requests/index.ts
@@ -1 +1 @@
-export type { BuildLogsGetRequest } from "./BuildLogsGetRequest.js";
+export type { GetBuildLogsRequest } from "./GetBuildLogsRequest.js";
diff --git a/src/api/resources/internal/resources/deployments/client/Client.ts b/src/api/resources/internal/resources/deployments/client/Client.ts
index 5a158039..032ba303 100644
--- a/src/api/resources/internal/resources/deployments/client/Client.ts
+++ b/src/api/resources/internal/resources/deployments/client/Client.ts
@@ -173,7 +173,7 @@ export class DeploymentsClient {
/**
* Generate deployment endpoint based on the provided query parameters.
*
- * @param {TrueFoundry.internal.DeploymentsGetSuggestedEndpointRequest} request
+ * @param {TrueFoundry.internal.GetSuggestedEndpointDeploymentsRequest} request
* @param {DeploymentsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -182,17 +182,14 @@ export class DeploymentsClient {
* await client.internal.deployments.getSuggestedEndpoint({
* applicationType: "async-service",
* applicationName: "applicationName",
- * workspaceId: "workspaceId",
- * baseDomain: "baseDomain",
- * port: "port",
- * preferWildcard: true
+ * workspaceId: "workspaceId"
* })
*/
- public getSuggestedEndpoint(request: TrueFoundry.internal.DeploymentsGetSuggestedEndpointRequest, requestOptions?: DeploymentsClient.RequestOptions): core.HttpResponsePromise {
+ public getSuggestedEndpoint(request: TrueFoundry.internal.GetSuggestedEndpointDeploymentsRequest, requestOptions?: DeploymentsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__getSuggestedEndpoint(request, requestOptions));
}
- private async __getSuggestedEndpoint(request: TrueFoundry.internal.DeploymentsGetSuggestedEndpointRequest, requestOptions?: DeploymentsClient.RequestOptions): Promise> {
+ private async __getSuggestedEndpoint(request: TrueFoundry.internal.GetSuggestedEndpointDeploymentsRequest, requestOptions?: DeploymentsClient.RequestOptions): Promise> {
const { applicationType, applicationName, workspaceId, baseDomain, port, preferWildcard = false } = request;
const _queryParams: Record = {
applicationType: serializers.ApplicationType.jsonOrThrow(applicationType, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }),
diff --git a/src/api/resources/internal/resources/deployments/client/requests/DeploymentsGetSuggestedEndpointRequest.ts b/src/api/resources/internal/resources/deployments/client/requests/GetSuggestedEndpointDeploymentsRequest.ts
similarity index 65%
rename from src/api/resources/internal/resources/deployments/client/requests/DeploymentsGetSuggestedEndpointRequest.ts
rename to src/api/resources/internal/resources/deployments/client/requests/GetSuggestedEndpointDeploymentsRequest.ts
index b4d007bd..a29d8a1a 100644
--- a/src/api/resources/internal/resources/deployments/client/requests/DeploymentsGetSuggestedEndpointRequest.ts
+++ b/src/api/resources/internal/resources/deployments/client/requests/GetSuggestedEndpointDeploymentsRequest.ts
@@ -7,13 +7,10 @@ import * as TrueFoundry from "../../../../../../index.js";
* {
* applicationType: "async-service",
* applicationName: "applicationName",
- * workspaceId: "workspaceId",
- * baseDomain: "baseDomain",
- * port: "port",
- * preferWildcard: true
+ * workspaceId: "workspaceId"
* }
*/
-export interface DeploymentsGetSuggestedEndpointRequest {
+export interface GetSuggestedEndpointDeploymentsRequest {
/** Application Type */
applicationType: TrueFoundry.ApplicationType;
/** Application name */
@@ -21,9 +18,9 @@ export interface DeploymentsGetSuggestedEndpointRequest {
/** Workspace id */
workspaceId: string;
/** Base domain */
- baseDomain?: string;
+ baseDomain?: string | null;
/** Port */
- port?: string;
+ port?: string | null;
/** Prefer wildcard */
- preferWildcard?: boolean;
+ preferWildcard?: boolean | null;
}
diff --git a/src/api/resources/internal/resources/deployments/client/requests/index.ts b/src/api/resources/internal/resources/deployments/client/requests/index.ts
index 5795ecdb..d66ccc5d 100644
--- a/src/api/resources/internal/resources/deployments/client/requests/index.ts
+++ b/src/api/resources/internal/resources/deployments/client/requests/index.ts
@@ -1,2 +1,2 @@
-export type { DeploymentsGetSuggestedEndpointRequest } from "./DeploymentsGetSuggestedEndpointRequest.js";
export type { GenerateCodeUploadPresignedUrlRequest } from "./GenerateCodeUploadPresignedUrlRequest.js";
+export type { GetSuggestedEndpointDeploymentsRequest } from "./GetSuggestedEndpointDeploymentsRequest.js";
diff --git a/src/api/resources/internal/resources/dockerRegistries/client/Client.ts b/src/api/resources/internal/resources/dockerRegistries/client/Client.ts
index 1b288d66..ea9e92d9 100644
--- a/src/api/resources/internal/resources/dockerRegistries/client/Client.ts
+++ b/src/api/resources/internal/resources/dockerRegistries/client/Client.ts
@@ -83,20 +83,17 @@ export class DockerRegistriesClient {
/**
* Get docker registry credentials for building and pushing an image.
*
- * @param {TrueFoundry.internal.DockerRegistriesGetCredentialsRequest} request
+ * @param {TrueFoundry.internal.GetCredentialsDockerRegistriesRequest} request
* @param {DockerRegistriesClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
- * await client.internal.dockerRegistries.getCredentials({
- * fqn: "fqn",
- * clusterId: "clusterId"
- * })
+ * await client.internal.dockerRegistries.getCredentials()
*/
- public getCredentials(request: TrueFoundry.internal.DockerRegistriesGetCredentialsRequest = {}, requestOptions?: DockerRegistriesClient.RequestOptions): core.HttpResponsePromise {
+ public getCredentials(request: TrueFoundry.internal.GetCredentialsDockerRegistriesRequest = {}, requestOptions?: DockerRegistriesClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__getCredentials(request, requestOptions));
}
- private async __getCredentials(request: TrueFoundry.internal.DockerRegistriesGetCredentialsRequest = {}, requestOptions?: DockerRegistriesClient.RequestOptions): Promise> {
+ private async __getCredentials(request: TrueFoundry.internal.GetCredentialsDockerRegistriesRequest = {}, requestOptions?: DockerRegistriesClient.RequestOptions): Promise> {
const { fqn, clusterId } = request;
const _queryParams: Record = {
fqn,
diff --git a/src/api/resources/internal/resources/dockerRegistries/client/requests/DockerRegistriesGetCredentialsRequest.ts b/src/api/resources/internal/resources/dockerRegistries/client/requests/GetCredentialsDockerRegistriesRequest.ts
similarity index 54%
rename from src/api/resources/internal/resources/dockerRegistries/client/requests/DockerRegistriesGetCredentialsRequest.ts
rename to src/api/resources/internal/resources/dockerRegistries/client/requests/GetCredentialsDockerRegistriesRequest.ts
index 0f65d279..a3c7dac5 100644
--- a/src/api/resources/internal/resources/dockerRegistries/client/requests/DockerRegistriesGetCredentialsRequest.ts
+++ b/src/api/resources/internal/resources/dockerRegistries/client/requests/GetCredentialsDockerRegistriesRequest.ts
@@ -2,14 +2,11 @@
/**
* @example
- * {
- * fqn: "fqn",
- * clusterId: "clusterId"
- * }
+ * {}
*/
-export interface DockerRegistriesGetCredentialsRequest {
+export interface GetCredentialsDockerRegistriesRequest {
/** Docker registry FQN */
- fqn?: string;
+ fqn?: string | null;
/** Cluster Id if provided will fetch the default docker registry for the cluster */
- clusterId?: string;
+ clusterId?: string | null;
}
diff --git a/src/api/resources/internal/resources/dockerRegistries/client/requests/index.ts b/src/api/resources/internal/resources/dockerRegistries/client/requests/index.ts
index 91e56d3d..7110b3f9 100644
--- a/src/api/resources/internal/resources/dockerRegistries/client/requests/index.ts
+++ b/src/api/resources/internal/resources/dockerRegistries/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { CreateDockerRepositoryRequest } from "./CreateDockerRepositoryRequest.js";
-export type { DockerRegistriesGetCredentialsRequest } from "./DockerRegistriesGetCredentialsRequest.js";
+export type { GetCredentialsDockerRegistriesRequest } from "./GetCredentialsDockerRegistriesRequest.js";
diff --git a/src/api/resources/internal/resources/metrics/client/Client.ts b/src/api/resources/internal/resources/metrics/client/Client.ts
index fc60188b..f22e31fc 100644
--- a/src/api/resources/internal/resources/metrics/client/Client.ts
+++ b/src/api/resources/internal/resources/metrics/client/Client.ts
@@ -30,7 +30,7 @@ export class MetricsClient {
* List metric charts available for an application.
*
* @param {string} workspaceId
- * @param {TrueFoundry.internal.MetricsGetChartsRequest} request
+ * @param {TrueFoundry.internal.GetChartsMetricsRequest} request
* @param {MetricsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -40,23 +40,21 @@ export class MetricsClient {
* @example
* await client.internal.metrics.getCharts("workspaceId", {
* applicationId: "applicationId",
- * startTs: "startTs",
- * endTs: "endTs",
* filterEntity: "application",
* filterQuery: "{\"pod\":\"my-app-abc123-xyz\"}"
* })
*/
- public getCharts(workspaceId: string, request: TrueFoundry.internal.MetricsGetChartsRequest, requestOptions?: MetricsClient.RequestOptions): core.HttpResponsePromise {
+ public getCharts(workspaceId: string, request: TrueFoundry.internal.GetChartsMetricsRequest, requestOptions?: MetricsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__getCharts(workspaceId, request, requestOptions));
}
- private async __getCharts(workspaceId: string, request: TrueFoundry.internal.MetricsGetChartsRequest, requestOptions?: MetricsClient.RequestOptions): Promise> {
+ private async __getCharts(workspaceId: string, request: TrueFoundry.internal.GetChartsMetricsRequest, requestOptions?: MetricsClient.RequestOptions): Promise> {
const { applicationId, startTs, endTs, filterEntity, filterQuery } = request;
const _queryParams: Record = {
applicationId,
startTs,
endTs,
- filterEntity: serializers.internal.MetricsGetChartsRequestFilterEntity.jsonOrThrow(filterEntity, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }),
+ filterEntity: serializers.internal.GetChartsMetricsRequestFilterEntity.jsonOrThrow(filterEntity, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }),
filterQuery
};
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
diff --git a/src/api/resources/internal/resources/metrics/client/requests/MetricsGetChartsRequest.ts b/src/api/resources/internal/resources/metrics/client/requests/GetChartsMetricsRequest.ts
similarity index 75%
rename from src/api/resources/internal/resources/metrics/client/requests/MetricsGetChartsRequest.ts
rename to src/api/resources/internal/resources/metrics/client/requests/GetChartsMetricsRequest.ts
index 787fb60a..88ff2ee4 100644
--- a/src/api/resources/internal/resources/metrics/client/requests/MetricsGetChartsRequest.ts
+++ b/src/api/resources/internal/resources/metrics/client/requests/GetChartsMetricsRequest.ts
@@ -6,21 +6,19 @@ import * as TrueFoundry from "../../../../../../index.js";
* @example
* {
* applicationId: "applicationId",
- * startTs: "startTs",
- * endTs: "endTs",
* filterEntity: "application",
* filterQuery: "{\"pod\":\"my-app-abc123-xyz\"}"
* }
*/
-export interface MetricsGetChartsRequest {
+export interface GetChartsMetricsRequest {
/** Unique identifier of the application. */
applicationId: string;
/** Start timestamp in milliseconds since epoch. Defaults to the application's last deployment creation time. */
- startTs?: string;
+ startTs?: string | null;
/** End timestamp in milliseconds since epoch. Defaults to the current time. */
- endTs?: string;
+ endTs?: string | null;
/** Scope of the chart bundle to return. */
- filterEntity: TrueFoundry.internal.MetricsGetChartsRequestFilterEntity;
+ filterEntity: TrueFoundry.internal.GetChartsMetricsRequestFilterEntity;
/** JSON-encoded filter required by certain scopes. */
- filterQuery?: string;
+ filterQuery?: string | null;
}
diff --git a/src/api/resources/internal/resources/metrics/client/requests/index.ts b/src/api/resources/internal/resources/metrics/client/requests/index.ts
index f0799260..9792ac17 100644
--- a/src/api/resources/internal/resources/metrics/client/requests/index.ts
+++ b/src/api/resources/internal/resources/metrics/client/requests/index.ts
@@ -1 +1 @@
-export type { MetricsGetChartsRequest } from "./MetricsGetChartsRequest.js";
+export type { GetChartsMetricsRequest } from "./GetChartsMetricsRequest.js";
diff --git a/src/api/resources/internal/resources/metrics/types/MetricsGetChartsRequestFilterEntity.ts b/src/api/resources/internal/resources/metrics/types/GetChartsMetricsRequestFilterEntity.ts
similarity index 56%
rename from src/api/resources/internal/resources/metrics/types/MetricsGetChartsRequestFilterEntity.ts
rename to src/api/resources/internal/resources/metrics/types/GetChartsMetricsRequestFilterEntity.ts
index a12cba63..e043a7ab 100644
--- a/src/api/resources/internal/resources/metrics/types/MetricsGetChartsRequestFilterEntity.ts
+++ b/src/api/resources/internal/resources/metrics/types/GetChartsMetricsRequestFilterEntity.ts
@@ -1,10 +1,10 @@
// This file was auto-generated by Fern from our API Definition.
-export const MetricsGetChartsRequestFilterEntity = {
+export const GetChartsMetricsRequestFilterEntity = {
Application: "application",
Pod: "pod",
JobRun: "job-run",
Event: "event",
Cluster: "cluster"
} as const;
-export type MetricsGetChartsRequestFilterEntity = typeof MetricsGetChartsRequestFilterEntity[keyof typeof MetricsGetChartsRequestFilterEntity];
+export type GetChartsMetricsRequestFilterEntity = typeof GetChartsMetricsRequestFilterEntity[keyof typeof GetChartsMetricsRequestFilterEntity];
diff --git a/src/api/resources/internal/resources/metrics/types/index.ts b/src/api/resources/internal/resources/metrics/types/index.ts
index ef539cc0..59abb756 100644
--- a/src/api/resources/internal/resources/metrics/types/index.ts
+++ b/src/api/resources/internal/resources/metrics/types/index.ts
@@ -1 +1 @@
-export * from "./MetricsGetChartsRequestFilterEntity.js";
+export * from "./GetChartsMetricsRequestFilterEntity.js";
diff --git a/src/api/resources/internal/resources/vcs/client/requests/GitRepositoryExistsRequest.ts b/src/api/resources/internal/resources/vcs/client/requests/GitRepositoryExistsRequest.ts
index 3edc7b81..68be541a 100644
--- a/src/api/resources/internal/resources/vcs/client/requests/GitRepositoryExistsRequest.ts
+++ b/src/api/resources/internal/resources/vcs/client/requests/GitRepositoryExistsRequest.ts
@@ -10,5 +10,5 @@ export interface GitRepositoryExistsRequest {
/** The URL of the repository */
repoUrl: string;
/** The integration id of the repository */
- id?: string;
+ id?: string | null;
}
diff --git a/src/api/resources/internal/resources/workflows/client/Client.ts b/src/api/resources/internal/resources/workflows/client/Client.ts
index 4cbc52bf..6985c2be 100644
--- a/src/api/resources/internal/resources/workflows/client/Client.ts
+++ b/src/api/resources/internal/resources/workflows/client/Client.ts
@@ -39,11 +39,11 @@ export class WorkflowsClient {
* @example
* await client.internal.workflows.executeWorkflow("applicationId")
*/
- public executeWorkflow(applicationId: string, request: TrueFoundry.internal.ExecuteWorkflowRequest = {}, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise {
+ public executeWorkflow(applicationId: string, request: TrueFoundry.internal.ExecuteWorkflowRequest = {}, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__executeWorkflow(applicationId, request, requestOptions));
}
- private async __executeWorkflow(applicationId: string, request: TrueFoundry.internal.ExecuteWorkflowRequest = {}, requestOptions?: WorkflowsClient.RequestOptions): Promise> {
+ private async __executeWorkflow(applicationId: string, request: TrueFoundry.internal.ExecuteWorkflowRequest = {}, requestOptions?: WorkflowsClient.RequestOptions): Promise> {
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
const _response = await (this._options.fetcher ?? core.fetcher)({
@@ -61,7 +61,7 @@ export class WorkflowsClient {
logging: this._options.logging
});
if (_response.ok) {
- return { data: serializers.internal.WorkflowsExecuteWorkflowResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, skipValidation: true, breadcrumbsPrefix: ["response"] }), rawResponse: _response.rawResponse };
+ return { data: serializers.internal.ExecuteWorkflowWorkflowsResponse.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, skipValidation: true, breadcrumbsPrefix: ["response"] }), rawResponse: _response.rawResponse };
}
if (_response.error.reason === "status-code") {
diff --git a/src/api/resources/internal/resources/workflows/client/requests/ExecuteWorkflowRequest.ts b/src/api/resources/internal/resources/workflows/client/requests/ExecuteWorkflowRequest.ts
index 3efc4b53..af4b39f6 100644
--- a/src/api/resources/internal/resources/workflows/client/requests/ExecuteWorkflowRequest.ts
+++ b/src/api/resources/internal/resources/workflows/client/requests/ExecuteWorkflowRequest.ts
@@ -6,7 +6,7 @@
*/
export interface ExecuteWorkflowRequest {
/** Workflow inputs */
- inputs?: Record;
+ inputs?: Record | null;
/** Workflow inputs literal map */
- inputsLiteralMap?: Record;
+ inputsLiteralMap?: Record | null;
}
diff --git a/src/api/resources/internal/resources/workflows/types/WorkflowsExecuteWorkflowResponse.ts b/src/api/resources/internal/resources/workflows/types/ExecuteWorkflowWorkflowsResponse.ts
similarity index 71%
rename from src/api/resources/internal/resources/workflows/types/WorkflowsExecuteWorkflowResponse.ts
rename to src/api/resources/internal/resources/workflows/types/ExecuteWorkflowWorkflowsResponse.ts
index 270af8d4..a193697e 100644
--- a/src/api/resources/internal/resources/workflows/types/WorkflowsExecuteWorkflowResponse.ts
+++ b/src/api/resources/internal/resources/workflows/types/ExecuteWorkflowWorkflowsResponse.ts
@@ -1,6 +1,6 @@
// This file was auto-generated by Fern from our API Definition.
-export interface WorkflowsExecuteWorkflowResponse {
+export interface ExecuteWorkflowWorkflowsResponse {
/** The name of the execution */
executionName?: string;
}
diff --git a/src/api/resources/internal/resources/workflows/types/index.ts b/src/api/resources/internal/resources/workflows/types/index.ts
index 41105159..b22e14d6 100644
--- a/src/api/resources/internal/resources/workflows/types/index.ts
+++ b/src/api/resources/internal/resources/workflows/types/index.ts
@@ -1 +1 @@
-export * from "./WorkflowsExecuteWorkflowResponse.js";
+export * from "./ExecuteWorkflowWorkflowsResponse.js";
diff --git a/src/api/resources/jobs/client/Client.ts b/src/api/resources/jobs/client/Client.ts
index 027c80a6..f9dde3eb 100644
--- a/src/api/resources/jobs/client/Client.ts
+++ b/src/api/resources/jobs/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -30,7 +31,7 @@ export class JobsClient {
* List Job Runs for provided Job Id. Filter the data based on parameters passed in the query
*
* @param {string} jobId - Job id of the application
- * @param {TrueFoundry.JobsListRunsRequest} request
+ * @param {TrueFoundry.ListRunsJobsRequest} request
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.ForbiddenError}
@@ -40,25 +41,19 @@ export class JobsClient {
* @example
* await client.jobs.listRuns("jobId", {
* limit: 10,
- * offset: 0,
- * searchPrefix: "searchPrefix",
- * sortBy: "startTime",
- * order: "asc",
- * triggeredBy: ["triggeredBy"],
- * status: ["CREATED"],
- * versionNumbers: [1.1]
+ * offset: 0
* })
*/
- public async listRuns(jobId: string, request: TrueFoundry.JobsListRunsRequest = {}, requestOptions?: JobsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.JobsListRunsRequest): Promise> => { const { limit = 100, offset = 0, searchPrefix, sortBy, order, triggeredBy, status, versionNumbers } = request; const _queryParams: Record = {
+ public async listRuns(jobId: string, request: TrueFoundry.ListRunsJobsRequest = {}, requestOptions?: JobsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListRunsJobsRequest): Promise> => { const { limit = 100, offset = 0, searchPrefix, sortBy, order, triggeredBy, status, versionNumbers } = request; const _queryParams: Record = {
limit,
offset,
searchPrefix,
sortBy: sortBy != null ? serializers.JobRunsSortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
order: order != null ? serializers.SortDirection.jsonOrThrow(order, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
- triggeredBy,
+ triggeredBy: triggeredBy !== undefined ? toJson(triggeredBy) : undefined,
status: Array.isArray(status) ? status.map(item => serializers.JobRunStatus.jsonOrThrow(item, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true })) : status != null ? serializers.JobRunStatus.jsonOrThrow(status, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, omitUndefined: true }) : undefined,
- versionNumbers
+ versionNumbers: versionNumbers !== undefined ? toJson(versionNumbers) : undefined
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), `api/svc/v1/jobs/${core.url.encodePathParam(jobId)}/runs`),
method: "GET",
@@ -255,7 +250,7 @@ export class JobsClient {
/**
* Terminate Job for provided deploymentId and jobRunName
*
- * @param {TrueFoundry.JobsTerminateRequest} request
+ * @param {TrueFoundry.TerminateJobsRequest} request
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.ForbiddenError}
@@ -269,11 +264,11 @@ export class JobsClient {
* jobRunName: "jobRunName"
* })
*/
- public terminate(request: TrueFoundry.JobsTerminateRequest, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise {
+ public terminate(request: TrueFoundry.TerminateJobsRequest, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__terminate(request, requestOptions));
}
- private async __terminate(request: TrueFoundry.JobsTerminateRequest, requestOptions?: JobsClient.RequestOptions): Promise> {
+ private async __terminate(request: TrueFoundry.TerminateJobsRequest, requestOptions?: JobsClient.RequestOptions): Promise> {
const { deploymentId, jobRunName } = request;
const _queryParams: Record = {
deploymentId,
diff --git a/src/api/resources/jobs/client/requests/JobsListRunsRequest.ts b/src/api/resources/jobs/client/requests/ListRunsJobsRequest.ts
similarity index 60%
rename from src/api/resources/jobs/client/requests/JobsListRunsRequest.ts
rename to src/api/resources/jobs/client/requests/ListRunsJobsRequest.ts
index 54f66511..845b317e 100644
--- a/src/api/resources/jobs/client/requests/JobsListRunsRequest.ts
+++ b/src/api/resources/jobs/client/requests/ListRunsJobsRequest.ts
@@ -6,30 +6,24 @@ import * as TrueFoundry from "../../../../index.js";
* @example
* {
* limit: 10,
- * offset: 0,
- * searchPrefix: "searchPrefix",
- * sortBy: "startTime",
- * order: "asc",
- * triggeredBy: ["triggeredBy"],
- * status: ["CREATED"],
- * versionNumbers: [1.1]
+ * offset: 0
* }
*/
-export interface JobsListRunsRequest {
+export interface ListRunsJobsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Prefix used to search for job runs by name or identifier */
- searchPrefix?: string;
+ searchPrefix?: string | null;
/** Attribute to sort by */
sortBy?: TrueFoundry.JobRunsSortBy;
/** Sorting order */
order?: TrueFoundry.SortDirection;
/** Array of subject slugs */
- triggeredBy?: string | string[];
+ triggeredBy?: string[] | null;
/** Status of the job run */
status?: TrueFoundry.JobRunStatus | TrueFoundry.JobRunStatus[];
/** Version number of the deployment */
- versionNumbers?: number | number[];
+ versionNumbers?: number[] | null;
}
diff --git a/src/api/resources/jobs/client/requests/JobsTerminateRequest.ts b/src/api/resources/jobs/client/requests/TerminateJobsRequest.ts
similarity index 88%
rename from src/api/resources/jobs/client/requests/JobsTerminateRequest.ts
rename to src/api/resources/jobs/client/requests/TerminateJobsRequest.ts
index cf036e66..f05d9819 100644
--- a/src/api/resources/jobs/client/requests/JobsTerminateRequest.ts
+++ b/src/api/resources/jobs/client/requests/TerminateJobsRequest.ts
@@ -7,7 +7,7 @@
* jobRunName: "jobRunName"
* }
*/
-export interface JobsTerminateRequest {
+export interface TerminateJobsRequest {
/** Deployment Id of the Deployment */
deploymentId: string;
/** Job Run name */
diff --git a/src/api/resources/jobs/client/requests/TriggerJobRequest.ts b/src/api/resources/jobs/client/requests/TriggerJobRequest.ts
index ab8db082..c86ab9f5 100644
--- a/src/api/resources/jobs/client/requests/TriggerJobRequest.ts
+++ b/src/api/resources/jobs/client/requests/TriggerJobRequest.ts
@@ -8,11 +8,11 @@ import * as TrueFoundry from "../../../../index.js";
*/
export interface TriggerJobRequest {
/** Deployment Id of the job */
- deploymentId?: string;
+ deploymentId?: string | null;
/** Application Id of the job */
- applicationId?: string;
+ applicationId?: string | null;
/** Job trigger input */
- input?: TrueFoundry.TriggerJobRequestInput;
+ input?: TrueFoundry.TriggerJobRequestInput | null;
/** Metadata for the job run including job_alias_name */
- metadata?: TrueFoundry.Metadata;
+ metadata?: TrueFoundry.Metadata | null;
}
diff --git a/src/api/resources/jobs/client/requests/index.ts b/src/api/resources/jobs/client/requests/index.ts
index fd31105d..fa2a4b94 100644
--- a/src/api/resources/jobs/client/requests/index.ts
+++ b/src/api/resources/jobs/client/requests/index.ts
@@ -1,3 +1,3 @@
-export type { JobsListRunsRequest } from "./JobsListRunsRequest.js";
-export type { JobsTerminateRequest } from "./JobsTerminateRequest.js";
+export type { ListRunsJobsRequest } from "./ListRunsJobsRequest.js";
+export type { TerminateJobsRequest } from "./TerminateJobsRequest.js";
export type { TriggerJobRequest } from "./TriggerJobRequest.js";
diff --git a/src/api/resources/logs/client/Client.ts b/src/api/resources/logs/client/Client.ts
index 79721e08..a72017c6 100644
--- a/src/api/resources/logs/client/Client.ts
+++ b/src/api/resources/logs/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,7 +30,7 @@ export class LogsClient {
/**
* Get runtime logs (stdout/stderr) emitted by the pods of a deployed application.
*
- * @param {TrueFoundry.LogsGetRequest} request
+ * @param {TrueFoundry.GetLogsRequest} request
* @param {LogsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -38,28 +39,14 @@ export class LogsClient {
* await client.logs.get({
* startTs: "1779262323000000000",
* endTs: "1779348723000000000",
- * limit: 1,
- * direction: "asc",
- * numLogsToIgnore: 1,
- * applicationId: "applicationId",
- * applicationFqn: "applicationFqn",
- * deploymentId: "deploymentId",
- * jobRunName: "jobRunName",
- * podName: "podName",
- * containerName: "containerName",
- * podNames: ["podNames"],
- * podNamesRegex: "podNamesRegex",
- * searchFilters: "[{\"string\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}]",
- * searchString: "searchString",
- * searchType: "regex",
- * searchOperator: "equal"
+ * searchFilters: "[{\"string\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}]"
* })
*/
- public get(request: TrueFoundry.LogsGetRequest = {}, requestOptions?: LogsClient.RequestOptions): core.HttpResponsePromise {
+ public get(request: TrueFoundry.GetLogsRequest = {}, requestOptions?: LogsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
}
- private async __get(request: TrueFoundry.LogsGetRequest = {}, requestOptions?: LogsClient.RequestOptions): Promise> {
+ private async __get(request: TrueFoundry.GetLogsRequest = {}, requestOptions?: LogsClient.RequestOptions): Promise> {
const { startTs, endTs, limit = 5000, direction, numLogsToIgnore, applicationId, applicationFqn, deploymentId, jobRunName, podName, containerName, podNames, podNamesRegex, searchFilters, searchString, searchType, searchOperator } = request;
const _queryParams: Record = {
startTs,
@@ -73,7 +60,7 @@ export class LogsClient {
jobRunName,
podName,
containerName,
- podNames,
+ podNames: podNames !== undefined ? toJson(podNames) : undefined,
podNamesRegex,
searchFilters,
searchString,
diff --git a/src/api/resources/logs/client/requests/LogsGetRequest.ts b/src/api/resources/logs/client/requests/GetLogsRequest.ts
similarity index 66%
rename from src/api/resources/logs/client/requests/LogsGetRequest.ts
rename to src/api/resources/logs/client/requests/GetLogsRequest.ts
index 07671b39..897727b3 100644
--- a/src/api/resources/logs/client/requests/LogsGetRequest.ts
+++ b/src/api/resources/logs/client/requests/GetLogsRequest.ts
@@ -7,54 +7,40 @@ import * as TrueFoundry from "../../../../index.js";
* {
* startTs: "1779262323000000000",
* endTs: "1779348723000000000",
- * limit: 1,
- * direction: "asc",
- * numLogsToIgnore: 1,
- * applicationId: "applicationId",
- * applicationFqn: "applicationFqn",
- * deploymentId: "deploymentId",
- * jobRunName: "jobRunName",
- * podName: "podName",
- * containerName: "containerName",
- * podNames: ["podNames"],
- * podNamesRegex: "podNamesRegex",
- * searchFilters: "[{\"string\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}]",
- * searchString: "searchString",
- * searchType: "regex",
- * searchOperator: "equal"
+ * searchFilters: "[{\"string\":\"error\",\"type\":\"substring\",\"operator\":\"equal\"}]"
* }
*/
-export interface LogsGetRequest {
+export interface GetLogsRequest {
/** Start timestamp for querying logs, in nanoseconds from the Unix epoch. */
- startTs?: string;
+ startTs?: string | null;
/** End timestamp for querying logs, in nanoseconds from the Unix epoch. */
- endTs?: string;
+ endTs?: string | null;
/** Maximum number of log lines to fetch. */
- limit?: number;
+ limit?: number | null;
/** Direction of sorting logs by timestamp. */
direction?: TrueFoundry.LogsSortingDirection;
/** Number of log lines at the start timestamp to skip. */
- numLogsToIgnore?: number;
+ numLogsToIgnore?: number | null;
/** Unique identifier of the application. Either applicationId or applicationFqn must be provided. */
- applicationId?: string;
+ applicationId?: string | null;
/** FQN of the application. Either applicationId or applicationFqn must be provided. */
- applicationFqn?: string;
+ applicationFqn?: string | null;
/** Unique identifier of the deployment. */
- deploymentId?: string;
+ deploymentId?: string | null;
/** Name of the job run whose logs to fetch. */
- jobRunName?: string;
+ jobRunName?: string | null;
/** Name of a single pod whose logs to fetch. Cannot be used together with podNames or podNamesRegex. */
- podName?: string;
+ podName?: string | null;
/** Name of the container whose logs to fetch. */
- containerName?: string;
+ containerName?: string | null;
/** List of pod names whose logs to fetch. Cannot be used together with podName or podNamesRegex. */
- podNames?: string | string[];
+ podNames?: string[] | null;
/** Regex pattern matching pod names whose logs to fetch. Cannot be used together with podName or podNames. */
- podNamesRegex?: string;
+ podNamesRegex?: string | null;
/** JSON-encoded array of search filters; each item is `{ string, type, operator }`. Takes precedence over `searchString` when provided. */
- searchFilters?: string;
+ searchFilters?: string | null;
/** Substring or regex to match against log content. Used when `searchFilters` is not provided. */
- searchString?: string;
+ searchString?: string | null;
/** How `searchString` should be matched against log content. */
searchType?: TrueFoundry.LogsSearchFilterType;
/** Comparison operator applied to the `searchString` match. */
diff --git a/src/api/resources/logs/client/requests/index.ts b/src/api/resources/logs/client/requests/index.ts
index 2e08f568..81f196ef 100644
--- a/src/api/resources/logs/client/requests/index.ts
+++ b/src/api/resources/logs/client/requests/index.ts
@@ -1 +1 @@
-export type { LogsGetRequest } from "./LogsGetRequest.js";
+export type { GetLogsRequest } from "./GetLogsRequest.js";
diff --git a/src/api/resources/mlRepos/client/Client.ts b/src/api/resources/mlRepos/client/Client.ts
index 6b5d606e..d7bfb314 100644
--- a/src/api/resources/mlRepos/client/Client.ts
+++ b/src/api/resources/mlRepos/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -123,23 +124,21 @@ export class MlReposClient {
/**
* List ML Repos with optional filtering by name.
*
- * @param {TrueFoundry.MlReposListRequest} request
+ * @param {TrueFoundry.ListMlReposRequest} request
* @param {MlReposClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.mlRepos.list({
* limit: 10,
- * offset: 0,
- * name: "name",
- * attributes: ["attributes"]
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.MlReposListRequest = {}, requestOptions?: MlReposClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.MlReposListRequest): Promise> => { const { limit = 100, offset = 0, name, attributes } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListMlReposRequest = {}, requestOptions?: MlReposClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListMlReposRequest): Promise> => { const { limit = 100, offset = 0, name, attributes } = request; const _queryParams: Record = {
limit,
offset,
name,
- attributes
+ attributes: attributes !== undefined ? toJson(attributes) : undefined
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/ml-repos"),
method: "GET",
diff --git a/src/api/resources/mlRepos/client/requests/ApplyMlRepoRequest.ts b/src/api/resources/mlRepos/client/requests/ApplyMlRepoRequest.ts
index d5d72cb8..b802e886 100644
--- a/src/api/resources/mlRepos/client/requests/ApplyMlRepoRequest.ts
+++ b/src/api/resources/mlRepos/client/requests/ApplyMlRepoRequest.ts
@@ -20,5 +20,5 @@ export interface ApplyMlRepoRequest {
/** MLRepo manifest */
manifest: TrueFoundry.MlRepoManifest;
/** Validate the manifest and collaborators without persisting changes or updating artifact location in the database */
- dryRun?: boolean;
+ dryRun?: boolean | null;
}
diff --git a/src/api/resources/mlRepos/client/requests/MlReposListRequest.ts b/src/api/resources/mlRepos/client/requests/ListMlReposRequest.ts
similarity index 63%
rename from src/api/resources/mlRepos/client/requests/MlReposListRequest.ts
rename to src/api/resources/mlRepos/client/requests/ListMlReposRequest.ts
index e522ca8d..5c42884e 100644
--- a/src/api/resources/mlRepos/client/requests/MlReposListRequest.ts
+++ b/src/api/resources/mlRepos/client/requests/ListMlReposRequest.ts
@@ -4,18 +4,16 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * name: "name",
- * attributes: ["attributes"]
+ * offset: 0
* }
*/
-export interface MlReposListRequest {
+export interface ListMlReposRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** ML Repo Name */
- name?: string;
+ name?: string | null;
/** Comma-separated list of attributes to return (e.g. id,name). When provided, only the specified fields are fetched. `id` is always included. */
- attributes?: string | string[];
+ attributes?: string[] | null;
}
diff --git a/src/api/resources/mlRepos/client/requests/index.ts b/src/api/resources/mlRepos/client/requests/index.ts
index d7ae0694..240819e6 100644
--- a/src/api/resources/mlRepos/client/requests/index.ts
+++ b/src/api/resources/mlRepos/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { ApplyMlRepoRequest } from "./ApplyMlRepoRequest.js";
-export type { MlReposListRequest } from "./MlReposListRequest.js";
+export type { ListMlReposRequest } from "./ListMlReposRequest.js";
diff --git a/src/api/resources/modelVersions/client/Client.ts b/src/api/resources/modelVersions/client/Client.ts
index 54c7ae7d..2cb74fbc 100644
--- a/src/api/resources/modelVersions/client/Client.ts
+++ b/src/api/resources/modelVersions/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,26 +30,17 @@ export class ModelVersionsClient {
/**
* List model versions with optional filtering by tag, FQN, model ID, ML Repo, name, version, run IDs, or run steps.
*
- * @param {TrueFoundry.ModelVersionsListRequest} request
+ * @param {TrueFoundry.ListModelVersionsRequest} request
* @param {ModelVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.modelVersions.list({
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * modelId: "model_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1,
- * runIds: ["run_ids"],
- * runSteps: [1.1],
- * includeInternalMetadata: true
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.ModelVersionsListRequest = {}, requestOptions?: ModelVersionsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ModelVersionsListRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, modelId, mlRepoId, name, version, runIds, runSteps, includeInternalMetadata = false } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListModelVersionsRequest = {}, requestOptions?: ModelVersionsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListModelVersionsRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, modelId, mlRepoId, name, version, runIds, runSteps, includeInternalMetadata = false } = request; const _queryParams: Record = {
limit,
offset,
tag,
@@ -57,8 +49,8 @@ export class ModelVersionsClient {
ml_repo_id: mlRepoId,
name,
version,
- run_ids: runIds,
- run_steps: runSteps,
+ run_ids: runIds !== undefined ? toJson(runIds) : undefined,
+ run_steps: runSteps !== undefined ? toJson(runSteps) : undefined,
include_internal_metadata: includeInternalMetadata
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/model-versions"),
diff --git a/src/api/resources/modelVersions/client/requests/ApplyModelVersionTagsRequest.ts b/src/api/resources/modelVersions/client/requests/ApplyModelVersionTagsRequest.ts
index 1db6044d..48b91cdc 100644
--- a/src/api/resources/modelVersions/client/requests/ApplyModelVersionTagsRequest.ts
+++ b/src/api/resources/modelVersions/client/requests/ApplyModelVersionTagsRequest.ts
@@ -13,5 +13,5 @@ export interface ApplyModelVersionTagsRequest {
/** Tags to apply to the model version. */
tags: string[];
/** Whether to overwrite existing tags that are already in use. */
- force?: boolean;
+ force?: boolean | null;
}
diff --git a/src/api/resources/modelVersions/client/requests/ModelVersionsListRequest.ts b/src/api/resources/modelVersions/client/requests/ListModelVersionsRequest.ts
similarity index 53%
rename from src/api/resources/modelVersions/client/requests/ModelVersionsListRequest.ts
rename to src/api/resources/modelVersions/client/requests/ListModelVersionsRequest.ts
index f159d5c2..d57d4a3e 100644
--- a/src/api/resources/modelVersions/client/requests/ModelVersionsListRequest.ts
+++ b/src/api/resources/modelVersions/client/requests/ListModelVersionsRequest.ts
@@ -4,39 +4,30 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * modelId: "model_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1,
- * runIds: ["run_ids"],
- * runSteps: [1.1],
- * includeInternalMetadata: true
+ * offset: 0
* }
*/
-export interface ModelVersionsListRequest {
+export interface ListModelVersionsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Filter model versions by tag. */
- tag?: string;
+ tag?: string | null;
/** Filter model versions by Fully Qualified Name. */
- fqn?: string;
+ fqn?: string | null;
/** Filter model versions by model identifier. */
- modelId?: string;
+ modelId?: string | null;
/** Filter model versions by ML Repo identifier. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Filter model versions by name. */
- name?: string;
+ name?: string | null;
/** Version number (positive integer) to filter by. */
- version?: number;
+ version?: number | null;
/** Filter model versions by associated run identifiers. */
- runIds?: string | string[];
+ runIds?: string[] | null;
/** Filter model versions by associated run steps. */
- runSteps?: number | number[];
+ runSteps?: number[] | null;
/** Whether to include internal metadata in the response. */
- includeInternalMetadata?: boolean;
+ includeInternalMetadata?: boolean | null;
}
diff --git a/src/api/resources/modelVersions/client/requests/index.ts b/src/api/resources/modelVersions/client/requests/index.ts
index b9cf9fca..b43ccb95 100644
--- a/src/api/resources/modelVersions/client/requests/index.ts
+++ b/src/api/resources/modelVersions/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { ApplyModelVersionTagsRequest } from "./ApplyModelVersionTagsRequest.js";
-export type { ModelVersionsListRequest } from "./ModelVersionsListRequest.js";
+export type { ListModelVersionsRequest } from "./ListModelVersionsRequest.js";
diff --git a/src/api/resources/models/client/Client.ts b/src/api/resources/models/client/Client.ts
index ba6cc45d..6a2a6464 100644
--- a/src/api/resources/models/client/Client.ts
+++ b/src/api/resources/models/client/Client.ts
@@ -123,22 +123,17 @@ export class ModelsClient {
/**
* List models with optional filtering by FQN, ML Repo, name, or run ID.
*
- * @param {TrueFoundry.ModelsListRequest} request
+ * @param {TrueFoundry.ListModelsRequest} request
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.models.list({
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * runId: "run_id",
- * includeEmptyModels: true
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.ModelsListRequest = {}, requestOptions?: ModelsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ModelsListRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, runId, includeEmptyModels = true } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListModelsRequest = {}, requestOptions?: ModelsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListModelsRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, runId, includeEmptyModels = true } = request; const _queryParams: Record = {
limit,
offset,
fqn,
diff --git a/src/api/resources/models/client/requests/ModelsListRequest.ts b/src/api/resources/models/client/requests/ListModelsRequest.ts
similarity index 55%
rename from src/api/resources/models/client/requests/ModelsListRequest.ts
rename to src/api/resources/models/client/requests/ListModelsRequest.ts
index 91a74bfc..8c6b51fb 100644
--- a/src/api/resources/models/client/requests/ModelsListRequest.ts
+++ b/src/api/resources/models/client/requests/ListModelsRequest.ts
@@ -4,27 +4,22 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * runId: "run_id",
- * includeEmptyModels: true
+ * offset: 0
* }
*/
-export interface ModelsListRequest {
+export interface ListModelsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Filter models by Fully Qualified Name. */
- fqn?: string;
+ fqn?: string | null;
/** Filter models by ML Repo identifier. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Filter models by name. */
- name?: string;
+ name?: string | null;
/** Filter models by associated run identifier. */
- runId?: string;
+ runId?: string | null;
/** Whether to include models that have no versions. */
- includeEmptyModels?: boolean;
+ includeEmptyModels?: boolean | null;
}
diff --git a/src/api/resources/models/client/requests/index.ts b/src/api/resources/models/client/requests/index.ts
index 4886ee24..83c32dca 100644
--- a/src/api/resources/models/client/requests/index.ts
+++ b/src/api/resources/models/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { ApplyModelRequest } from "./ApplyModelRequest.js";
-export type { ModelsListRequest } from "./ModelsListRequest.js";
+export type { ListModelsRequest } from "./ListModelsRequest.js";
diff --git a/src/api/resources/personalAccessTokens/client/Client.ts b/src/api/resources/personalAccessTokens/client/Client.ts
index e0859e68..c9225651 100644
--- a/src/api/resources/personalAccessTokens/client/Client.ts
+++ b/src/api/resources/personalAccessTokens/client/Client.ts
@@ -29,7 +29,7 @@ export class PersonalAccessTokensClient {
/**
* List personal access tokens created by the current user.
*
- * @param {TrueFoundry.PersonalAccessTokensListRequest} request
+ * @param {TrueFoundry.ListPersonalAccessTokensRequest} request
* @param {PersonalAccessTokensClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
@@ -39,8 +39,8 @@ export class PersonalAccessTokensClient {
* nameSearchQuery: "ci-token"
* })
*/
- public async list(request: TrueFoundry.PersonalAccessTokensListRequest = {}, requestOptions?: PersonalAccessTokensClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.PersonalAccessTokensListRequest): Promise> => { const { limit = 100, offset = 0, nameSearchQuery } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListPersonalAccessTokensRequest = {}, requestOptions?: PersonalAccessTokensClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListPersonalAccessTokensRequest): Promise> => { const { limit = 100, offset = 0, nameSearchQuery } = request; const _queryParams: Record = {
limit,
offset,
nameSearchQuery
@@ -231,21 +231,19 @@ export class PersonalAccessTokensClient {
* Get an existing personal access token by name. If none exists, a new one is created and returned with a fresh token.
*
* @param {string} name
- * @param {TrueFoundry.PersonalAccessTokensGetRequest} request
+ * @param {TrueFoundry.GetPersonalAccessTokensRequest} request
* @param {PersonalAccessTokensClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
*
* @example
- * await client.personalAccessTokens.get("name", {
- * teamName: "teamName"
- * })
+ * await client.personalAccessTokens.get("name")
*/
- public get(name: string, request: TrueFoundry.PersonalAccessTokensGetRequest = {}, requestOptions?: PersonalAccessTokensClient.RequestOptions): core.HttpResponsePromise {
+ public get(name: string, request: TrueFoundry.GetPersonalAccessTokensRequest = {}, requestOptions?: PersonalAccessTokensClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__get(name, request, requestOptions));
}
- private async __get(name: string, request: TrueFoundry.PersonalAccessTokensGetRequest = {}, requestOptions?: PersonalAccessTokensClient.RequestOptions): Promise> {
+ private async __get(name: string, request: TrueFoundry.GetPersonalAccessTokensRequest = {}, requestOptions?: PersonalAccessTokensClient.RequestOptions): Promise> {
const { teamName } = request;
const _queryParams: Record = {
teamName
diff --git a/src/api/resources/personalAccessTokens/client/requests/CreatePersonalAccessTokenRequest.ts b/src/api/resources/personalAccessTokens/client/requests/CreatePersonalAccessTokenRequest.ts
index ae60a2fd..af932875 100644
--- a/src/api/resources/personalAccessTokens/client/requests/CreatePersonalAccessTokenRequest.ts
+++ b/src/api/resources/personalAccessTokens/client/requests/CreatePersonalAccessTokenRequest.ts
@@ -12,11 +12,11 @@ export interface CreatePersonalAccessTokenRequest {
/** Name for the personal access token. Must be 3-36 characters, start with a lowercase letter, end with a lowercase alphanumeric character, and contain only lowercase letters, numbers, and hyphens. */
name: string;
/** Expiration date in ISO format. The token becomes invalid after this date. */
- expirationDate?: string;
+ expirationDate?: string | null;
/** Account name that owns this personal access token. */
- accountName?: string;
+ accountName?: string | null;
/** Team name that owns this personal access token. */
- teamName?: string;
+ teamName?: string | null;
/** Format of the issued token. Leave empty to use the tenant override or platform default. */
- tokenType?: TrueFoundry.CreatePersonalAccessTokenRequestTokenType;
+ tokenType?: TrueFoundry.CreatePersonalAccessTokenRequestTokenType | null;
}
diff --git a/src/api/resources/personalAccessTokens/client/requests/PersonalAccessTokensGetRequest.ts b/src/api/resources/personalAccessTokens/client/requests/GetPersonalAccessTokensRequest.ts
similarity index 55%
rename from src/api/resources/personalAccessTokens/client/requests/PersonalAccessTokensGetRequest.ts
rename to src/api/resources/personalAccessTokens/client/requests/GetPersonalAccessTokensRequest.ts
index ea2c2991..1b72b6b6 100644
--- a/src/api/resources/personalAccessTokens/client/requests/PersonalAccessTokensGetRequest.ts
+++ b/src/api/resources/personalAccessTokens/client/requests/GetPersonalAccessTokensRequest.ts
@@ -2,11 +2,9 @@
/**
* @example
- * {
- * teamName: "teamName"
- * }
+ * {}
*/
-export interface PersonalAccessTokensGetRequest {
+export interface GetPersonalAccessTokensRequest {
/** Team name that owns this PAT when a new PAT is created */
- teamName?: string;
+ teamName?: string | null;
}
diff --git a/src/api/resources/personalAccessTokens/client/requests/PersonalAccessTokensListRequest.ts b/src/api/resources/personalAccessTokens/client/requests/ListPersonalAccessTokensRequest.ts
similarity index 70%
rename from src/api/resources/personalAccessTokens/client/requests/PersonalAccessTokensListRequest.ts
rename to src/api/resources/personalAccessTokens/client/requests/ListPersonalAccessTokensRequest.ts
index ac9d253e..24334f74 100644
--- a/src/api/resources/personalAccessTokens/client/requests/PersonalAccessTokensListRequest.ts
+++ b/src/api/resources/personalAccessTokens/client/requests/ListPersonalAccessTokensRequest.ts
@@ -8,11 +8,11 @@
* nameSearchQuery: "ci-token"
* }
*/
-export interface PersonalAccessTokensListRequest {
+export interface ListPersonalAccessTokensRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Return personal access tokens whose name contains this substring. */
- nameSearchQuery?: string;
+ nameSearchQuery?: string | null;
}
diff --git a/src/api/resources/personalAccessTokens/client/requests/index.ts b/src/api/resources/personalAccessTokens/client/requests/index.ts
index 651f9fb2..9ce017c2 100644
--- a/src/api/resources/personalAccessTokens/client/requests/index.ts
+++ b/src/api/resources/personalAccessTokens/client/requests/index.ts
@@ -1,4 +1,4 @@
export type { CreatePersonalAccessTokenRequest } from "./CreatePersonalAccessTokenRequest.js";
-export type { PersonalAccessTokensGetRequest } from "./PersonalAccessTokensGetRequest.js";
-export type { PersonalAccessTokensListRequest } from "./PersonalAccessTokensListRequest.js";
+export type { GetPersonalAccessTokensRequest } from "./GetPersonalAccessTokensRequest.js";
+export type { ListPersonalAccessTokensRequest } from "./ListPersonalAccessTokensRequest.js";
export type { RevokeAllPersonalAccessTokenRequest } from "./RevokeAllPersonalAccessTokenRequest.js";
diff --git a/src/api/resources/promptVersions/client/Client.ts b/src/api/resources/promptVersions/client/Client.ts
index 529dc541..9637251d 100644
--- a/src/api/resources/promptVersions/client/Client.ts
+++ b/src/api/resources/promptVersions/client/Client.ts
@@ -29,23 +29,17 @@ export class PromptVersionsClient {
/**
* List prompt versions with optional filtering by tag, FQN, prompt ID, ML Repo, name, or version.
*
- * @param {TrueFoundry.PromptVersionsListRequest} request
+ * @param {TrueFoundry.ListPromptVersionsRequest} request
* @param {PromptVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.promptVersions.list({
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * promptId: "prompt_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.PromptVersionsListRequest = {}, requestOptions?: PromptVersionsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.PromptVersionsListRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, promptId, mlRepoId, name, version } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListPromptVersionsRequest = {}, requestOptions?: PromptVersionsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListPromptVersionsRequest): Promise> => { const { limit = 100, offset = 0, tag, fqn, promptId, mlRepoId, name, version } = request; const _queryParams: Record = {
limit,
offset,
tag,
diff --git a/src/api/resources/promptVersions/client/requests/ApplyPromptVersionTagsRequest.ts b/src/api/resources/promptVersions/client/requests/ApplyPromptVersionTagsRequest.ts
index a4fd9ddc..b8782bf5 100644
--- a/src/api/resources/promptVersions/client/requests/ApplyPromptVersionTagsRequest.ts
+++ b/src/api/resources/promptVersions/client/requests/ApplyPromptVersionTagsRequest.ts
@@ -13,5 +13,5 @@ export interface ApplyPromptVersionTagsRequest {
/** Tags to apply to the prompt version. */
tags: string[];
/** Whether to forcibly reassign tags already in use by other prompt versions. */
- force?: boolean;
+ force?: boolean | null;
}
diff --git a/src/api/resources/promptVersions/client/requests/PromptVersionsListRequest.ts b/src/api/resources/promptVersions/client/requests/ListPromptVersionsRequest.ts
similarity index 59%
rename from src/api/resources/promptVersions/client/requests/PromptVersionsListRequest.ts
rename to src/api/resources/promptVersions/client/requests/ListPromptVersionsRequest.ts
index b5c4dbb4..a0f90aeb 100644
--- a/src/api/resources/promptVersions/client/requests/PromptVersionsListRequest.ts
+++ b/src/api/resources/promptVersions/client/requests/ListPromptVersionsRequest.ts
@@ -4,30 +4,24 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * tag: "tag",
- * fqn: "fqn",
- * promptId: "prompt_id",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * version: 1
+ * offset: 0
* }
*/
-export interface PromptVersionsListRequest {
+export interface ListPromptVersionsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Filter prompt versions by tag. */
- tag?: string;
+ tag?: string | null;
/** Filter prompt versions by Fully Qualified Name. */
- fqn?: string;
+ fqn?: string | null;
/** Filter prompt versions by the identifier of the prompt they belong to. */
- promptId?: string;
+ promptId?: string | null;
/** Filter prompt versions by the identifier of the ML Repo they belong to. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Filter prompt versions by name. */
- name?: string;
+ name?: string | null;
/** Version number (positive integer) to filter by. */
- version?: number;
+ version?: number | null;
}
diff --git a/src/api/resources/promptVersions/client/requests/index.ts b/src/api/resources/promptVersions/client/requests/index.ts
index 424889e0..9f373332 100644
--- a/src/api/resources/promptVersions/client/requests/index.ts
+++ b/src/api/resources/promptVersions/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { ApplyPromptVersionTagsRequest } from "./ApplyPromptVersionTagsRequest.js";
-export type { PromptVersionsListRequest } from "./PromptVersionsListRequest.js";
+export type { ListPromptVersionsRequest } from "./ListPromptVersionsRequest.js";
diff --git a/src/api/resources/prompts/client/Client.ts b/src/api/resources/prompts/client/Client.ts
index 3527abf9..7d45ba02 100644
--- a/src/api/resources/prompts/client/Client.ts
+++ b/src/api/resources/prompts/client/Client.ts
@@ -123,21 +123,17 @@ export class PromptsClient {
/**
* List prompts with optional filtering by FQN, ML Repo, or name.
*
- * @param {TrueFoundry.PromptsListRequest} request
+ * @param {TrueFoundry.ListPromptsRequest} request
* @param {PromptsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.prompts.list({
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * includeEmptyPrompts: true
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.PromptsListRequest = {}, requestOptions?: PromptsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.PromptsListRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, includeEmptyPrompts = true } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListPromptsRequest = {}, requestOptions?: PromptsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListPromptsRequest): Promise> => { const { limit = 100, offset = 0, fqn, mlRepoId, name, includeEmptyPrompts = true } = request; const _queryParams: Record = {
limit,
offset,
fqn,
diff --git a/src/api/resources/prompts/client/requests/PromptsListRequest.ts b/src/api/resources/prompts/client/requests/ListPromptsRequest.ts
similarity index 57%
rename from src/api/resources/prompts/client/requests/PromptsListRequest.ts
rename to src/api/resources/prompts/client/requests/ListPromptsRequest.ts
index 56c590ac..72db1c1a 100644
--- a/src/api/resources/prompts/client/requests/PromptsListRequest.ts
+++ b/src/api/resources/prompts/client/requests/ListPromptsRequest.ts
@@ -4,24 +4,20 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * mlRepoId: "ml_repo_id",
- * name: "name",
- * includeEmptyPrompts: true
+ * offset: 0
* }
*/
-export interface PromptsListRequest {
+export interface ListPromptsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Filter prompts by Fully Qualified Name. */
- fqn?: string;
+ fqn?: string | null;
/** Filter prompts by the identifier of the ML Repo they belong to. */
- mlRepoId?: string;
+ mlRepoId?: string | null;
/** Filter prompts by name. */
- name?: string;
+ name?: string | null;
/** Whether to include prompts that have no versions in the results. */
- includeEmptyPrompts?: boolean;
+ includeEmptyPrompts?: boolean | null;
}
diff --git a/src/api/resources/prompts/client/requests/index.ts b/src/api/resources/prompts/client/requests/index.ts
index c34e6da9..22f0eac8 100644
--- a/src/api/resources/prompts/client/requests/index.ts
+++ b/src/api/resources/prompts/client/requests/index.ts
@@ -1,2 +1,2 @@
export type { ApplyPromptRequest } from "./ApplyPromptRequest.js";
-export type { PromptsListRequest } from "./PromptsListRequest.js";
+export type { ListPromptsRequest } from "./ListPromptsRequest.js";
diff --git a/src/api/resources/runs/client/Client.ts b/src/api/resources/runs/client/Client.ts
index 30998966..3d36a542 100644
--- a/src/api/resources/runs/client/Client.ts
+++ b/src/api/resources/runs/client/Client.ts
@@ -265,7 +265,7 @@ export class RunsClient {
* Get full time-series history for a metric key on a run.
*
* @param {string} id - System-generated unique identifier for the run.
- * @param {TrueFoundry.RunsGetMetricHistoryRequest} request
+ * @param {TrueFoundry.GetMetricHistoryRunsRequest} request
* @param {RunsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.NotFoundError}
@@ -275,11 +275,11 @@ export class RunsClient {
* metricKey: "metric_key"
* })
*/
- public getMetricHistory(id: string, request: TrueFoundry.RunsGetMetricHistoryRequest, requestOptions?: RunsClient.RequestOptions): core.HttpResponsePromise {
+ public getMetricHistory(id: string, request: TrueFoundry.GetMetricHistoryRunsRequest, requestOptions?: RunsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__getMetricHistory(id, request, requestOptions));
}
- private async __getMetricHistory(id: string, request: TrueFoundry.RunsGetMetricHistoryRequest, requestOptions?: RunsClient.RequestOptions): Promise> {
+ private async __getMetricHistory(id: string, request: TrueFoundry.GetMetricHistoryRunsRequest, requestOptions?: RunsClient.RequestOptions): Promise> {
const { metricKey } = request;
const _queryParams: Record = {
metric_key: metricKey
diff --git a/src/api/resources/runs/client/requests/CreateRunRequest.ts b/src/api/resources/runs/client/requests/CreateRunRequest.ts
index 92d8cfc0..8254c9a2 100644
--- a/src/api/resources/runs/client/requests/CreateRunRequest.ts
+++ b/src/api/resources/runs/client/requests/CreateRunRequest.ts
@@ -15,9 +15,9 @@ export interface CreateRunRequest {
/** Human-readable name of the run. */
name: string;
/** Unix timestamp in milliseconds when the run started. Defaults to the current time. */
- startTime?: number;
+ startTime?: number | null;
/** Initial tags to set on the run. */
tags?: TrueFoundry.RunTagInput[];
/** Description of the run. */
- description?: string;
+ description?: string | null;
}
diff --git a/src/api/resources/runs/client/requests/RunsGetMetricHistoryRequest.ts b/src/api/resources/runs/client/requests/GetMetricHistoryRunsRequest.ts
similarity index 81%
rename from src/api/resources/runs/client/requests/RunsGetMetricHistoryRequest.ts
rename to src/api/resources/runs/client/requests/GetMetricHistoryRunsRequest.ts
index b64e1b11..d75a029e 100644
--- a/src/api/resources/runs/client/requests/RunsGetMetricHistoryRequest.ts
+++ b/src/api/resources/runs/client/requests/GetMetricHistoryRunsRequest.ts
@@ -6,7 +6,7 @@
* metricKey: "metric_key"
* }
*/
-export interface RunsGetMetricHistoryRequest {
+export interface GetMetricHistoryRunsRequest {
/** Metric key (may contain slashes). */
metricKey: string;
}
diff --git a/src/api/resources/runs/client/requests/ListMetricHistoryRequest.ts b/src/api/resources/runs/client/requests/ListMetricHistoryRequest.ts
index 4099d198..55642129 100644
--- a/src/api/resources/runs/client/requests/ListMetricHistoryRequest.ts
+++ b/src/api/resources/runs/client/requests/ListMetricHistoryRequest.ts
@@ -8,5 +8,5 @@ export interface ListMetricHistoryRequest {
/** Metric keys to filter by. When omitted, returns all metric keys for the run. */
metricKeys?: string[];
/** Training step to filter metric history by. */
- step?: number;
+ step?: number | null;
}
diff --git a/src/api/resources/runs/client/requests/SearchRunsRequest.ts b/src/api/resources/runs/client/requests/SearchRunsRequest.ts
index 774604c2..91ee0ef6 100644
--- a/src/api/resources/runs/client/requests/SearchRunsRequest.ts
+++ b/src/api/resources/runs/client/requests/SearchRunsRequest.ts
@@ -8,7 +8,7 @@ export interface SearchRunsRequest {
/** List of ML Repo experiment IDs to search over. */
experimentIds?: string[];
/** Filter expression over params, metrics, and tags. Supports SQL-like comparisons (e.g. metrics.rmse < 1 and params.model_class = "LogisticRegression"). */
- filter?: string;
+ filter?: string | null;
/** Whether to return active only, deleted only, or all runs. */
runViewType?: string;
/** Maximum number of runs to return. */
@@ -16,15 +16,15 @@ export interface SearchRunsRequest {
/** Sort order for results (e.g. metrics.accuracy DESC, params.lr ASC). */
orderBy?: string[];
/** Token for fetching the next page of results. */
- pageToken?: string;
+ pageToken?: string | null;
/** Zero-based offset for pagination. */
- offset?: number;
+ offset?: number | null;
/** Exact FQN lookup. */
- fqn?: string;
+ fqn?: string | null;
/** Run name lookup within experiment. */
- name?: string;
+ name?: string | null;
/** System-generated unique identifier for the ML Repo. */
- experimentId?: string;
+ experimentId?: string | null;
/** ML Repo name when resolving by run name. */
- mlRepoName?: string;
+ mlRepoName?: string | null;
}
diff --git a/src/api/resources/runs/client/requests/UpdateRunRequest.ts b/src/api/resources/runs/client/requests/UpdateRunRequest.ts
index 2fdad014..d475c247 100644
--- a/src/api/resources/runs/client/requests/UpdateRunRequest.ts
+++ b/src/api/resources/runs/client/requests/UpdateRunRequest.ts
@@ -6,9 +6,9 @@
*/
export interface UpdateRunRequest {
/** Updated status of the run (e.g. RUNNING, FINISHED, FAILED). */
- status?: string;
+ status?: string | null;
/** Unix timestamp in milliseconds when the run ended. */
- endTime?: number;
+ endTime?: number | null;
/** Updated description of the run. */
- description?: string;
+ description?: string | null;
}
diff --git a/src/api/resources/runs/client/requests/index.ts b/src/api/resources/runs/client/requests/index.ts
index 1a7b6f4b..a4455ea8 100644
--- a/src/api/resources/runs/client/requests/index.ts
+++ b/src/api/resources/runs/client/requests/index.ts
@@ -1,10 +1,10 @@
export type { CreateRunRequest } from "./CreateRunRequest.js";
export type { DeleteTagRequest } from "./DeleteTagRequest.js";
+export type { GetMetricHistoryRunsRequest } from "./GetMetricHistoryRunsRequest.js";
export type { ListMetricHistoryRequest } from "./ListMetricHistoryRequest.js";
export type { LogBatchRequest } from "./LogBatchRequest.js";
export type { LogMetricRequest } from "./LogMetricRequest.js";
export type { LogParamRequest } from "./LogParamRequest.js";
-export type { RunsGetMetricHistoryRequest } from "./RunsGetMetricHistoryRequest.js";
export type { SearchRunsRequest } from "./SearchRunsRequest.js";
export type { SetTagRequest } from "./SetTagRequest.js";
export type { UpdateRunRequest } from "./UpdateRunRequest.js";
diff --git a/src/api/resources/secretGroups/client/Client.ts b/src/api/resources/secretGroups/client/Client.ts
index ce565305..3048ce44 100644
--- a/src/api/resources/secretGroups/client/Client.ts
+++ b/src/api/resources/secretGroups/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,25 +30,22 @@ export class SecretGroupsClient {
/**
* List secret groups the caller has access to, along with associated secrets for each group. Secret values are not included in the response.
*
- * @param {TrueFoundry.SecretGroupsListRequest} request
+ * @param {TrueFoundry.ListSecretGroupsRequest} request
* @param {SecretGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.secretGroups.list({
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * search: "search",
- * attributes: ["attributes"]
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.SecretGroupsListRequest = {}, requestOptions?: SecretGroupsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.SecretGroupsListRequest): Promise> => { const { limit = 100, offset = 0, fqn, search, attributes } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListSecretGroupsRequest = {}, requestOptions?: SecretGroupsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListSecretGroupsRequest): Promise> => { const { limit = 100, offset = 0, fqn, search, attributes } = request; const _queryParams: Record = {
limit,
offset,
fqn,
search,
- attributes
+ attributes: attributes !== undefined ? toJson(attributes) : undefined
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/secret-groups"),
method: "GET",
@@ -319,7 +317,7 @@ export class SecretGroupsClient {
* Delete the secret group and all its associated secrets and secret versions permanently.
*
* @param {string} id - Unique identifier of the secret group.
- * @param {TrueFoundry.SecretGroupsDeleteRequest} request
+ * @param {TrueFoundry.DeleteSecretGroupsRequest} request
* @param {SecretGroupsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.ForbiddenError}
@@ -327,15 +325,13 @@ export class SecretGroupsClient {
* @throws {@link TrueFoundry.FailedDependencyError}
*
* @example
- * await client.secretGroups.delete("id", {
- * forceDelete: true
- * })
+ * await client.secretGroups.delete("id")
*/
- public delete(id: string, request: TrueFoundry.SecretGroupsDeleteRequest = {}, requestOptions?: SecretGroupsClient.RequestOptions): core.HttpResponsePromise {
+ public delete(id: string, request: TrueFoundry.DeleteSecretGroupsRequest = {}, requestOptions?: SecretGroupsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__delete(id, request, requestOptions));
}
- private async __delete(id: string, request: TrueFoundry.SecretGroupsDeleteRequest = {}, requestOptions?: SecretGroupsClient.RequestOptions): Promise> {
+ private async __delete(id: string, request: TrueFoundry.DeleteSecretGroupsRequest = {}, requestOptions?: SecretGroupsClient.RequestOptions): Promise> {
const { forceDelete } = request;
const _queryParams: Record = {
forceDelete
diff --git a/src/api/resources/secretGroups/client/requests/CreateOrUpdateSecretGroupRequest.ts b/src/api/resources/secretGroups/client/requests/CreateOrUpdateSecretGroupRequest.ts
index d087ac3a..32139ddd 100644
--- a/src/api/resources/secretGroups/client/requests/CreateOrUpdateSecretGroupRequest.ts
+++ b/src/api/resources/secretGroups/client/requests/CreateOrUpdateSecretGroupRequest.ts
@@ -20,5 +20,5 @@ export interface CreateOrUpdateSecretGroupRequest {
/** Secret Group Manifest */
manifest: TrueFoundry.SecretGroupManifest;
/** Validate the manifest and collaborators without persisting or updating authorizations and secret groups */
- dryRun?: boolean;
+ dryRun?: boolean | null;
}
diff --git a/src/api/resources/secretGroups/client/requests/SecretGroupsDeleteRequest.ts b/src/api/resources/secretGroups/client/requests/DeleteSecretGroupsRequest.ts
similarity index 63%
rename from src/api/resources/secretGroups/client/requests/SecretGroupsDeleteRequest.ts
rename to src/api/resources/secretGroups/client/requests/DeleteSecretGroupsRequest.ts
index 53100e29..53d147bb 100644
--- a/src/api/resources/secretGroups/client/requests/SecretGroupsDeleteRequest.ts
+++ b/src/api/resources/secretGroups/client/requests/DeleteSecretGroupsRequest.ts
@@ -2,11 +2,9 @@
/**
* @example
- * {
- * forceDelete: true
- * }
+ * {}
*/
-export interface SecretGroupsDeleteRequest {
+export interface DeleteSecretGroupsRequest {
/** Whether to force delete the secret group even when the associated secret integration is faulty or unavailable. */
- forceDelete?: boolean;
+ forceDelete?: boolean | null;
}
diff --git a/src/api/resources/secretGroups/client/requests/SecretGroupsListRequest.ts b/src/api/resources/secretGroups/client/requests/ListSecretGroupsRequest.ts
similarity index 63%
rename from src/api/resources/secretGroups/client/requests/SecretGroupsListRequest.ts
rename to src/api/resources/secretGroups/client/requests/ListSecretGroupsRequest.ts
index 7a765136..33ce8488 100644
--- a/src/api/resources/secretGroups/client/requests/SecretGroupsListRequest.ts
+++ b/src/api/resources/secretGroups/client/requests/ListSecretGroupsRequest.ts
@@ -4,21 +4,18 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * fqn: "fqn",
- * search: "search",
- * attributes: ["attributes"]
+ * offset: 0
* }
*/
-export interface SecretGroupsListRequest {
+export interface ListSecretGroupsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Fqn of secret group. */
- fqn?: string;
+ fqn?: string | null;
/** Search query - filters by secret group names that contain the search string */
- search?: string;
+ search?: string | null;
/** Comma-separated list of attributes to return (e.g. id,name). When provided, only the specified fields are fetched. `id` is always included. */
- attributes?: string | string[];
+ attributes?: string[] | null;
}
diff --git a/src/api/resources/secretGroups/client/requests/index.ts b/src/api/resources/secretGroups/client/requests/index.ts
index c622804e..0b7964e0 100644
--- a/src/api/resources/secretGroups/client/requests/index.ts
+++ b/src/api/resources/secretGroups/client/requests/index.ts
@@ -1,5 +1,5 @@
export type { CreateOrUpdateSecretGroupRequest } from "./CreateOrUpdateSecretGroupRequest.js";
export type { CreateSecretGroupRequest } from "./CreateSecretGroupRequest.js";
-export type { SecretGroupsDeleteRequest } from "./SecretGroupsDeleteRequest.js";
-export type { SecretGroupsListRequest } from "./SecretGroupsListRequest.js";
+export type { DeleteSecretGroupsRequest } from "./DeleteSecretGroupsRequest.js";
+export type { ListSecretGroupsRequest } from "./ListSecretGroupsRequest.js";
export type { UpdateSecretGroupRequest } from "./UpdateSecretGroupRequest.js";
diff --git a/src/api/resources/secrets/client/Client.ts b/src/api/resources/secrets/client/Client.ts
index a3855d37..d737b154 100644
--- a/src/api/resources/secrets/client/Client.ts
+++ b/src/api/resources/secrets/client/Client.ts
@@ -129,7 +129,7 @@ export class SecretsClient {
* Delete the secret and all its versions permanently.
*
* @param {string} id - Unique identifier of the secret.
- * @param {TrueFoundry.SecretsDeleteRequest} request
+ * @param {TrueFoundry.DeleteSecretsRequest} request
* @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.ForbiddenError}
@@ -137,15 +137,13 @@ export class SecretsClient {
* @throws {@link TrueFoundry.FailedDependencyError}
*
* @example
- * await client.secrets.delete("id", {
- * forceDelete: true
- * })
+ * await client.secrets.delete("id")
*/
- public delete(id: string, request: TrueFoundry.SecretsDeleteRequest = {}, requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise {
+ public delete(id: string, request: TrueFoundry.DeleteSecretsRequest = {}, requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__delete(id, request, requestOptions));
}
- private async __delete(id: string, request: TrueFoundry.SecretsDeleteRequest = {}, requestOptions?: SecretsClient.RequestOptions): Promise> {
+ private async __delete(id: string, request: TrueFoundry.DeleteSecretsRequest = {}, requestOptions?: SecretsClient.RequestOptions): Promise> {
const { forceDelete } = request;
const _queryParams: Record = {
forceDelete
diff --git a/src/api/resources/secrets/client/requests/SecretsDeleteRequest.ts b/src/api/resources/secrets/client/requests/DeleteSecretsRequest.ts
similarity index 54%
rename from src/api/resources/secrets/client/requests/SecretsDeleteRequest.ts
rename to src/api/resources/secrets/client/requests/DeleteSecretsRequest.ts
index cfa8ac4e..756c8d5c 100644
--- a/src/api/resources/secrets/client/requests/SecretsDeleteRequest.ts
+++ b/src/api/resources/secrets/client/requests/DeleteSecretsRequest.ts
@@ -2,11 +2,9 @@
/**
* @example
- * {
- * forceDelete: true
- * }
+ * {}
*/
-export interface SecretsDeleteRequest {
+export interface DeleteSecretsRequest {
/** Whether to force delete the secret. */
- forceDelete?: boolean;
+ forceDelete?: boolean | null;
}
diff --git a/src/api/resources/secrets/client/requests/ListSecretsRequest.ts b/src/api/resources/secrets/client/requests/ListSecretsRequest.ts
index b700109a..9a4286f5 100644
--- a/src/api/resources/secrets/client/requests/ListSecretsRequest.ts
+++ b/src/api/resources/secrets/client/requests/ListSecretsRequest.ts
@@ -6,13 +6,13 @@
*/
export interface ListSecretsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Filter by secret FQNs. */
- secretFqns?: string[];
+ secretFqns?: string[] | null;
/** Filter by secret group ID. */
- secretGroupId?: string;
+ secretGroupId?: string | null;
/** Whether to include the secret values in the response. Defaults to false. */
- withValue?: boolean;
+ withValue?: boolean | null;
}
diff --git a/src/api/resources/secrets/client/requests/index.ts b/src/api/resources/secrets/client/requests/index.ts
index fb48172a..06506fba 100644
--- a/src/api/resources/secrets/client/requests/index.ts
+++ b/src/api/resources/secrets/client/requests/index.ts
@@ -1,2 +1,2 @@
+export type { DeleteSecretsRequest } from "./DeleteSecretsRequest.js";
export type { ListSecretsRequest } from "./ListSecretsRequest.js";
-export type { SecretsDeleteRequest } from "./SecretsDeleteRequest.js";
diff --git a/src/api/resources/teams/client/Client.ts b/src/api/resources/teams/client/Client.ts
index d6e785d1..ee78e6b6 100644
--- a/src/api/resources/teams/client/Client.ts
+++ b/src/api/resources/teams/client/Client.ts
@@ -4,6 +4,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import { mergeHeaders } from "../../../../core/headers.js";
+import { toJson } from "../../../../core/json.js";
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
import * as errors from "../../../../errors/index.js";
import * as serializers from "../../../../serialization/index.js";
@@ -29,23 +30,21 @@ export class TeamsClient {
/**
* List teams accessible to the current user.
*
- * @param {TrueFoundry.TeamsListRequest} request
+ * @param {TrueFoundry.ListTeamsRequest} request
* @param {TeamsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.teams.list({
* limit: 10,
- * offset: 0,
- * role: "manager",
- * attributes: ["attributes"]
+ * offset: 0
* })
*/
- public async list(request: TrueFoundry.TeamsListRequest = {}, requestOptions?: TeamsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.TeamsListRequest): Promise> => { const { limit = 100, offset = 0, role, attributes } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListTeamsRequest = {}, requestOptions?: TeamsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListTeamsRequest): Promise> => { const { limit = 100, offset = 0, role, attributes } = request; const _queryParams: Record = {
limit,
offset,
- role: role != null ? role : undefined,
- attributes
+ role: role !== undefined ? role : undefined,
+ attributes: attributes !== undefined ? toJson(attributes) : undefined
}; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); let _headers: core.Fetcher.Args["headers"] = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers); const _response = await (this._options.fetcher ?? core.fetcher)({
url: core.url.join(await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment), "api/svc/v1/teams/user"),
method: "GET",
@@ -138,7 +137,7 @@ export class TeamsClient {
* List users who are members of a team.
*
* @param {string} id - System-generated team ID.
- * @param {TrueFoundry.TeamsListMembersRequest} request
+ * @param {TrueFoundry.ListMembersTeamsRequest} request
* @param {TeamsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.ForbiddenError}
@@ -151,8 +150,8 @@ export class TeamsClient {
* filter: "{\"type\":\"AND\",\"children\":[{\"column\":\"email\",\"op\":\"STRING_CONTAINS\",\"value\":\"@example.com\"}]}"
* })
*/
- public async listMembers(id: string, request: TrueFoundry.TeamsListMembersRequest = {}, requestOptions?: TeamsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.TeamsListMembersRequest): Promise> => { const { limit = 100, offset = 0, filter } = request; const _queryParams: Record = {
+ public async listMembers(id: string, request: TrueFoundry.ListMembersTeamsRequest = {}, requestOptions?: TeamsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListMembersTeamsRequest): Promise> => { const { limit = 100, offset = 0, filter } = request; const _queryParams: Record = {
limit,
offset,
filter
@@ -194,7 +193,7 @@ export class TeamsClient {
* List users who hold the team-manager role on a team.
*
* @param {string} id - System-generated team ID.
- * @param {TrueFoundry.TeamsListManagersRequest} request
+ * @param {TrueFoundry.ListManagersTeamsRequest} request
* @param {TeamsClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.ForbiddenError}
@@ -207,8 +206,8 @@ export class TeamsClient {
* filter: "{\"type\":\"AND\",\"children\":[{\"column\":\"email\",\"op\":\"STRING_CONTAINS\",\"value\":\"@example.com\"}]}"
* })
*/
- public async listManagers(id: string, request: TrueFoundry.TeamsListManagersRequest = {}, requestOptions?: TeamsClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.TeamsListManagersRequest): Promise> => { const { limit = 100, offset = 0, filter } = request; const _queryParams: Record = {
+ public async listManagers(id: string, request: TrueFoundry.ListManagersTeamsRequest = {}, requestOptions?: TeamsClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListManagersTeamsRequest): Promise> => { const { limit = 100, offset = 0, filter } = request; const _queryParams: Record = {
limit,
offset,
filter
diff --git a/src/api/resources/teams/client/requests/ApplyTeamRequest.ts b/src/api/resources/teams/client/requests/ApplyTeamRequest.ts
index 2a9d225b..01e7e350 100644
--- a/src/api/resources/teams/client/requests/ApplyTeamRequest.ts
+++ b/src/api/resources/teams/client/requests/ApplyTeamRequest.ts
@@ -16,5 +16,5 @@ export interface ApplyTeamRequest {
/** The team manifest describing the team to create or update. */
manifest: TrueFoundry.TeamManifest;
/** When true, validate the request without persisting any changes. */
- dryRun?: boolean;
+ dryRun?: boolean | null;
}
diff --git a/src/api/resources/teams/client/requests/TeamsListMembersRequest.ts b/src/api/resources/teams/client/requests/ListManagersTeamsRequest.ts
similarity index 82%
rename from src/api/resources/teams/client/requests/TeamsListMembersRequest.ts
rename to src/api/resources/teams/client/requests/ListManagersTeamsRequest.ts
index d62025de..b6d803e5 100644
--- a/src/api/resources/teams/client/requests/TeamsListMembersRequest.ts
+++ b/src/api/resources/teams/client/requests/ListManagersTeamsRequest.ts
@@ -8,11 +8,11 @@
* filter: "{\"type\":\"AND\",\"children\":[{\"column\":\"email\",\"op\":\"STRING_CONTAINS\",\"value\":\"@example.com\"}]}"
* }
*/
-export interface TeamsListMembersRequest {
+export interface ListManagersTeamsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** JSON string: structured filter tree (AND/OR groups, column leaves on `email` and `userId`). */
filter?: string;
}
diff --git a/src/api/resources/teams/client/requests/TeamsListManagersRequest.ts b/src/api/resources/teams/client/requests/ListMembersTeamsRequest.ts
similarity index 82%
rename from src/api/resources/teams/client/requests/TeamsListManagersRequest.ts
rename to src/api/resources/teams/client/requests/ListMembersTeamsRequest.ts
index 863550d5..b7b257cd 100644
--- a/src/api/resources/teams/client/requests/TeamsListManagersRequest.ts
+++ b/src/api/resources/teams/client/requests/ListMembersTeamsRequest.ts
@@ -8,11 +8,11 @@
* filter: "{\"type\":\"AND\",\"children\":[{\"column\":\"email\",\"op\":\"STRING_CONTAINS\",\"value\":\"@example.com\"}]}"
* }
*/
-export interface TeamsListManagersRequest {
+export interface ListMembersTeamsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** JSON string: structured filter tree (AND/OR groups, column leaves on `email` and `userId`). */
filter?: string;
}
diff --git a/src/api/resources/teams/client/requests/TeamsListRequest.ts b/src/api/resources/teams/client/requests/ListTeamsRequest.ts
similarity index 68%
rename from src/api/resources/teams/client/requests/TeamsListRequest.ts
rename to src/api/resources/teams/client/requests/ListTeamsRequest.ts
index c9719ff0..95cafe87 100644
--- a/src/api/resources/teams/client/requests/TeamsListRequest.ts
+++ b/src/api/resources/teams/client/requests/ListTeamsRequest.ts
@@ -4,18 +4,16 @@
* @example
* {
* limit: 10,
- * offset: 0,
- * role: "manager",
- * attributes: ["attributes"]
+ * offset: 0
* }
*/
-export interface TeamsListRequest {
+export interface ListTeamsRequest {
/** Number of items per page */
- limit?: number;
+ limit?: number | null;
/** Number of items to skip */
- offset?: number;
+ offset?: number | null;
/** Filter to teams where the caller holds this role. `manager` returns teams the caller can manage (team managers and admins). */
- role?: "manager";
+ role?: "manager" | null;
/** Comma-separated list of attributes to return (e.g. `id,teamName`). When provided, only the specified fields are fetched. `id` is always included. */
- attributes?: string | string[];
+ attributes?: string[] | null;
}
diff --git a/src/api/resources/teams/client/requests/index.ts b/src/api/resources/teams/client/requests/index.ts
index 8a78cb23..449d39ba 100644
--- a/src/api/resources/teams/client/requests/index.ts
+++ b/src/api/resources/teams/client/requests/index.ts
@@ -1,4 +1,4 @@
export type { ApplyTeamRequest } from "./ApplyTeamRequest.js";
-export type { TeamsListManagersRequest } from "./TeamsListManagersRequest.js";
-export type { TeamsListMembersRequest } from "./TeamsListMembersRequest.js";
-export type { TeamsListRequest } from "./TeamsListRequest.js";
+export type { ListManagersTeamsRequest } from "./ListManagersTeamsRequest.js";
+export type { ListMembersTeamsRequest } from "./ListMembersTeamsRequest.js";
+export type { ListTeamsRequest } from "./ListTeamsRequest.js";
diff --git a/src/api/resources/traces/client/requests/QuerySpansRequest.ts b/src/api/resources/traces/client/requests/QuerySpansRequest.ts
index 31f89daf..16de4535 100644
--- a/src/api/resources/traces/client/requests/QuerySpansRequest.ts
+++ b/src/api/resources/traces/client/requests/QuerySpansRequest.ts
@@ -12,31 +12,31 @@ export interface QuerySpansRequest {
/** Start time in ISO 8601 format (e.g., 2025-03-12T00:00:09.872Z) */
startTime: string;
/** End time in ISO 8601 format (e.g., 2025-03-12T00:10:00.000Z). Defaults to current time if not provided. */
- endTime?: string;
+ endTime?: string | null;
/** Array of trace IDs to filter by */
- traceIds?: string[];
+ traceIds?: string[] | null;
/** Array of span IDs to filter by */
- spanIds?: string[];
+ spanIds?: string[] | null;
/** Array of parent span IDs to filter by */
- parentSpanIds?: string[];
+ parentSpanIds?: string[] | null;
/** Array of subject types to filter by */
- createdBySubjectTypes?: TrueFoundry.SubjectType[];
+ createdBySubjectTypes?: TrueFoundry.SubjectType[] | null;
/** Array of subject slugs to filter by */
- createdBySubjectSlugs?: string[];
+ createdBySubjectSlugs?: string[] | null;
/** Array of application names to filter by */
- applicationNames?: string[];
+ applicationNames?: string[] | null;
/** The maximum number of spans to return per page. Defaults to 200 if not provided. */
- limit?: number;
+ limit?: number | null;
/** Sort direction for results based on time. Defaults to descending (latest first) */
- sortDirection?: TrueFoundry.SortDirection;
+ sortDirection?: TrueFoundry.SortDirection | null;
/** An opaque string that should be passed as-is from previous response for fetching the next page. Pass `$response.pagination.nextPageToken` from previous response for fetching the next page. */
- pageToken?: string;
+ pageToken?: string | null;
/** Tracing project FQN (e.g., truefoundry:tracing-project:tfy-default) */
- tracingProjectFqn?: string;
+ tracingProjectFqn?: string | null;
/** Data Routing Destination. One of tracingProjectFqn or dataRoutingDestination is required. */
- dataRoutingDestination?: string;
+ dataRoutingDestination?: string | null;
/** Array of filters */
- filters?: TrueFoundry.QuerySpansRequestFiltersItem[];
+ filters?: TrueFoundry.QuerySpansRequestFiltersItem[] | null;
/** When true, feedback data is included in the response. When false, feedback data is excluded (returns empty array). */
- includeFeedbacks?: boolean;
+ includeFeedbacks?: boolean | null;
}
diff --git a/src/api/resources/users/client/Client.ts b/src/api/resources/users/client/Client.ts
index 3582112b..9ce0bfd0 100644
--- a/src/api/resources/users/client/Client.ts
+++ b/src/api/resources/users/client/Client.ts
@@ -29,19 +29,18 @@ export class UsersClient {
/**
* List users in the current tenant.
*
- * @param {TrueFoundry.UsersListRequest} request
+ * @param {TrueFoundry.ListUsersRequest} request
* @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @example
* await client.users.list({
* limit: 10,
* offset: 0,
- * query: "john@example.com",
- * showInvalidUsers: true
+ * query: "john@example.com"
* })
*/
- public async list(request: TrueFoundry.UsersListRequest = {}, requestOptions?: UsersClient.RequestOptions): Promise> {
- const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.UsersListRequest): Promise> => { const { limit = 100, offset = 0, query, showInvalidUsers = false } = request; const _queryParams: Record = {
+ public async list(request: TrueFoundry.ListUsersRequest = {}, requestOptions?: UsersClient.RequestOptions): Promise> {
+ const list = core.HttpResponsePromise.interceptFunction(async (request: TrueFoundry.ListUsersRequest): Promise> => { const { limit = 100, offset = 0, query, showInvalidUsers = false } = request; const _queryParams: Record = {
limit,
offset,
query,
@@ -240,7 +239,7 @@ export class UsersClient {
* Permanently delete a user by ID. The user must not be a collaborator on any resource and must not belong to any team other than "everyone".
*
* @param {string} id - System-generated user ID.
- * @param {TrueFoundry.UsersDeleteRequest} request
+ * @param {TrueFoundry.DeleteUsersRequest} request
* @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link TrueFoundry.BadRequestError}
@@ -248,15 +247,13 @@ export class UsersClient {
* @throws {@link TrueFoundry.NotFoundError}
*
* @example
- * await client.users.delete("jqfwg345gi25n5ju2yz5iz6m", {
- * tenantName: "tenantName"
- * })
+ * await client.users.delete("jqfwg345gi25n5ju2yz5iz6m")
*/
- public delete(id: string, request: TrueFoundry.UsersDeleteRequest = {}, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise {
+ public delete(id: string, request: TrueFoundry.DeleteUsersRequest = {}, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise {
return core.HttpResponsePromise.fromPromise(this.__delete(id, request, requestOptions));
}
- private async __delete(id: string, request: TrueFoundry.UsersDeleteRequest = {}, requestOptions?: UsersClient.RequestOptions): Promise