feat(server): converge legacy compatibility (#15426)

#### PR Dependency Tree


* **PR #15426** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added workspace BYOK profiles with provider/model catalogs, capability
validation, connection probing, credential rotation, reordering, and
secure local leases.
* Added Copilot route options, selectable targets, managed tiers,
explicit profile/model overrides, and improved streaming with tool
callbacks and abort support.
* Added Copilot availability controls to prevent access when the feature
is disabled.
* **Changes**
* Simplified Copilot configuration and removed legacy provider-specific
settings.
* Removed obsolete model, token-cost, transcript strategy, and provider
metadata fields from public responses.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2026-08-05 00:40:13 +08:00
committed by GitHub
parent fdfb6df826
commit 965f4590ff
272 changed files with 12430 additions and 33824 deletions

View File

@@ -0,0 +1,10 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum AdminWorkspaceMemberRole: String, EnumType {
case admin = "Admin"
case collaborator = "Collaborator"
case owner = "Owner"
}

View File

@@ -1,9 +0,0 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum ByokKeyStorage: String, EnumType {
case local = "local"
case server = "server"
}

View File

@@ -1,10 +0,0 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum ByokKeyTestStatus: String, EnumType {
case failed = "failed"
case passed = "passed"
case untested = "untested"
}

View File

@@ -5,11 +5,4 @@ import ApolloAPI
public enum FeatureType: String, EnumType {
case admin = "Admin"
case freePlan = "FreePlan"
case lifetimeProPlan = "LifetimeProPlan"
case proPlan = "ProPlan"
case quotaExceededReadonlyWorkspace = "QuotaExceededReadonlyWorkspace"
case teamPlan = "TeamPlan"
case unlimitedCopilot = "UnlimitedCopilot"
case unlimitedWorkspace = "UnlimitedWorkspace"
}

View File

@@ -0,0 +1,9 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum McpAccessMode: String, EnumType {
case readOnly = "READ_ONLY"
case readWrite = "READ_WRITE"
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum McpCredentialStatus: String, EnumType {
case active = "ACTIVE"
case expired = "EXPIRED"
case expiring = "EXPIRING"
case revoked = "REVOKED"
case rotating = "ROTATING"
}

View File

@@ -5,5 +5,6 @@ import ApolloAPI
public enum TimeBucket: String, EnumType {
case day = "Day"
case hour = "Hour"
case minute = "Minute"
}

View File

@@ -11,12 +11,14 @@ public struct AdminDashboardInput: InputObject {
}
public init(
copilotWindowDays: GraphQLNullable<Int> = nil,
sharedLinkWindowDays: GraphQLNullable<Int> = nil,
storageHistoryDays: GraphQLNullable<Int> = nil,
syncHistoryHours: GraphQLNullable<Int> = nil,
timezone: GraphQLNullable<String> = nil
) {
__data = InputDict([
"copilotWindowDays": copilotWindowDays,
"sharedLinkWindowDays": sharedLinkWindowDays,
"storageHistoryDays": storageHistoryDays,
"syncHistoryHours": syncHistoryHours,
@@ -24,6 +26,11 @@ public struct AdminDashboardInput: InputObject {
])
}
public var copilotWindowDays: GraphQLNullable<Int> {
get { __data["copilotWindowDays"] }
set { __data["copilotWindowDays"] = newValue }
}
public var sharedLinkWindowDays: GraphQLNullable<Int> {
get { __data["sharedLinkWindowDays"] }
set { __data["sharedLinkWindowDays"] = newValue }

View File

@@ -0,0 +1,25 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct AdminMailDeliveriesInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
hours: Int? = nil
) {
__data = InputDict([
"hours": hours
])
}
public var hours: Int? {
get { __data["hours"] }
set { __data["hours"] = newValue }
}
}

View File

@@ -0,0 +1,46 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct CreateMcpCredentialInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
accessMode: GraphQLEnum<McpAccessMode>? = nil,
expirationDays: Int? = nil,
name: String,
workspaceId: String
) {
__data = InputDict([
"accessMode": accessMode,
"expirationDays": expirationDays,
"name": name,
"workspaceId": workspaceId
])
}
public var accessMode: GraphQLEnum<McpAccessMode>? {
get { __data["accessMode"] }
set { __data["accessMode"] = newValue }
}
public var expirationDays: Int? {
get { __data["expirationDays"] }
set { __data["expirationDays"] = newValue }
}
public var name: String {
get { __data["name"] }
set { __data["name"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -11,28 +11,31 @@ public struct CreateWorkspaceByokLocalLeaseProviderInput: InputObject {
}
public init(
apiKey: String,
credential: String,
definition: WorkspaceByokProfileDefinitionInput,
description: GraphQLNullable<String> = nil,
enabled: GraphQLNullable<Bool> = nil,
endpoint: GraphQLNullable<String> = nil,
enabled: Bool,
name: String,
provider: GraphQLEnum<ByokProvider>,
sortOrder: GraphQLNullable<SafeInt> = nil
provider: GraphQLEnum<ByokProvider>
) {
__data = InputDict([
"apiKey": apiKey,
"credential": credential,
"definition": definition,
"description": description,
"enabled": enabled,
"endpoint": endpoint,
"name": name,
"provider": provider,
"sortOrder": sortOrder
"provider": provider
])
}
public var apiKey: String {
get { __data["apiKey"] }
set { __data["apiKey"] = newValue }
public var credential: String {
get { __data["credential"] }
set { __data["credential"] = newValue }
}
public var definition: WorkspaceByokProfileDefinitionInput {
get { __data["definition"] }
set { __data["definition"] = newValue }
}
public var description: GraphQLNullable<String> {
@@ -40,16 +43,11 @@ public struct CreateWorkspaceByokLocalLeaseProviderInput: InputObject {
set { __data["description"] = newValue }
}
public var enabled: GraphQLNullable<Bool> {
public var enabled: Bool {
get { __data["enabled"] }
set { __data["enabled"] = newValue }
}
public var endpoint: GraphQLNullable<String> {
get { __data["endpoint"] }
set { __data["endpoint"] = newValue }
}
public var name: String {
get { __data["name"] }
set { __data["name"] = newValue }
@@ -59,9 +57,4 @@ public struct CreateWorkspaceByokLocalLeaseProviderInput: InputObject {
get { __data["provider"] }
set { __data["provider"] = newValue }
}
public var sortOrder: GraphQLNullable<SafeInt> {
get { __data["sortOrder"] }
set { __data["sortOrder"] = newValue }
}
}

View File

@@ -3,7 +3,7 @@
import ApolloAPI
public struct UpsertWorkspaceByokConfigInput: InputObject {
public struct CreateWorkspaceByokProfileInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
@@ -11,34 +11,33 @@ public struct UpsertWorkspaceByokConfigInput: InputObject {
}
public init(
apiKey: GraphQLNullable<String> = nil,
credential: String,
definition: WorkspaceByokProfileDefinitionInput,
description: GraphQLNullable<String> = nil,
enabled: GraphQLNullable<Bool> = nil,
endpoint: GraphQLNullable<String> = nil,
id: GraphQLNullable<ID> = nil,
enabled: Bool,
name: String,
provider: GraphQLEnum<ByokProvider>,
sortOrder: GraphQLNullable<SafeInt> = nil,
storage: GraphQLEnum<ByokKeyStorage>,
workspaceId: String
) {
__data = InputDict([
"apiKey": apiKey,
"credential": credential,
"definition": definition,
"description": description,
"enabled": enabled,
"endpoint": endpoint,
"id": id,
"name": name,
"provider": provider,
"sortOrder": sortOrder,
"storage": storage,
"workspaceId": workspaceId
])
}
public var apiKey: GraphQLNullable<String> {
get { __data["apiKey"] }
set { __data["apiKey"] = newValue }
public var credential: String {
get { __data["credential"] }
set { __data["credential"] = newValue }
}
public var definition: WorkspaceByokProfileDefinitionInput {
get { __data["definition"] }
set { __data["definition"] = newValue }
}
public var description: GraphQLNullable<String> {
@@ -46,21 +45,11 @@ public struct UpsertWorkspaceByokConfigInput: InputObject {
set { __data["description"] = newValue }
}
public var enabled: GraphQLNullable<Bool> {
public var enabled: Bool {
get { __data["enabled"] }
set { __data["enabled"] = newValue }
}
public var endpoint: GraphQLNullable<String> {
get { __data["endpoint"] }
set { __data["endpoint"] = newValue }
}
public var id: GraphQLNullable<ID> {
get { __data["id"] }
set { __data["id"] = newValue }
}
public var name: String {
get { __data["name"] }
set { __data["name"] = newValue }
@@ -71,16 +60,6 @@ public struct UpsertWorkspaceByokConfigInput: InputObject {
set { __data["provider"] = newValue }
}
public var sortOrder: GraphQLNullable<SafeInt> {
get { __data["sortOrder"] }
set { __data["sortOrder"] = newValue }
}
public var storage: GraphQLEnum<ByokKeyStorage> {
get { __data["storage"] }
set { __data["storage"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }

View File

@@ -1,32 +0,0 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct GenerateAccessTokenInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
expiresAt: GraphQLNullable<DateTime> = nil,
name: String
) {
__data = InputDict([
"expiresAt": expiresAt,
"name": name
])
}
public var expiresAt: GraphQLNullable<DateTime> {
get { __data["expiresAt"] }
set { __data["expiresAt"] = newValue }
}
public var name: String {
get { __data["name"] }
set { __data["name"] = newValue }
}
}

View File

@@ -15,7 +15,6 @@ public struct ListWorkspaceInput: InputObject {
enableDocEmbedding: GraphQLNullable<Bool> = nil,
enableSharing: GraphQLNullable<Bool> = nil,
enableUrlPreview: GraphQLNullable<Bool> = nil,
features: GraphQLNullable<[GraphQLEnum<FeatureType>]> = nil,
first: Int? = nil,
keyword: GraphQLNullable<String> = nil,
orderBy: GraphQLNullable<GraphQLEnum<AdminWorkspaceSort>> = nil,
@@ -27,7 +26,6 @@ public struct ListWorkspaceInput: InputObject {
"enableDocEmbedding": enableDocEmbedding,
"enableSharing": enableSharing,
"enableUrlPreview": enableUrlPreview,
"features": features,
"first": first,
"keyword": keyword,
"orderBy": orderBy,
@@ -56,11 +54,6 @@ public struct ListWorkspaceInput: InputObject {
set { __data["enableUrlPreview"] = newValue }
}
public var features: GraphQLNullable<[GraphQLEnum<FeatureType>]> {
get { __data["features"] }
set { __data["features"] = newValue }
}
public var first: Int? {
get { __data["first"] }
set { __data["first"] = newValue }

View File

@@ -0,0 +1,60 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct ReplaceWorkspaceByokProfileInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
definition: WorkspaceByokProfileDefinitionInput,
description: GraphQLNullable<String> = nil,
enabled: Bool,
name: String,
profileId: ID,
workspaceId: String
) {
__data = InputDict([
"definition": definition,
"description": description,
"enabled": enabled,
"name": name,
"profileId": profileId,
"workspaceId": workspaceId
])
}
public var definition: WorkspaceByokProfileDefinitionInput {
get { __data["definition"] }
set { __data["definition"] = newValue }
}
public var description: GraphQLNullable<String> {
get { __data["description"] }
set { __data["description"] = newValue }
}
public var enabled: Bool {
get { __data["enabled"] }
set { __data["enabled"] = newValue }
}
public var name: String {
get { __data["name"] }
set { __data["name"] = newValue }
}
public var profileId: ID {
get { __data["profileId"] }
set { __data["profileId"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -3,7 +3,7 @@
import ApolloAPI
public struct ReorderWorkspaceByokConfigsInput: InputObject {
public struct RotateWorkspaceByokCredentialInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
@@ -11,25 +11,25 @@ public struct ReorderWorkspaceByokConfigsInput: InputObject {
}
public init(
ids: [ID],
storage: GraphQLEnum<ByokKeyStorage>,
credential: String,
profileId: ID,
workspaceId: String
) {
__data = InputDict([
"ids": ids,
"storage": storage,
"credential": credential,
"profileId": profileId,
"workspaceId": workspaceId
])
}
public var ids: [ID] {
get { __data["ids"] }
set { __data["ids"] = newValue }
public var credential: String {
get { __data["credential"] }
set { __data["credential"] = newValue }
}
public var storage: GraphQLEnum<ByokKeyStorage> {
get { __data["storage"] }
set { __data["storage"] = newValue }
public var profileId: ID {
get { __data["profileId"] }
set { __data["profileId"] = newValue }
}
public var workspaceId: String {

View File

@@ -13,14 +13,12 @@ public struct SubmitAudioTranscriptionInput: InputObject {
public init(
quality: GraphQLNullable<TranscriptionQualityInput> = nil,
sliceManifest: GraphQLNullable<[AudioSliceManifestItemInput]> = nil,
sourceAudio: GraphQLNullable<TranscriptionSourceAudioInput> = nil,
strategy: GraphQLNullable<String> = nil
sourceAudio: GraphQLNullable<TranscriptionSourceAudioInput> = nil
) {
__data = InputDict([
"quality": quality,
"sliceManifest": sliceManifest,
"sourceAudio": sourceAudio,
"strategy": strategy
"sourceAudio": sourceAudio
])
}
@@ -38,9 +36,4 @@ public struct SubmitAudioTranscriptionInput: InputObject {
get { __data["sourceAudio"] }
set { __data["sourceAudio"] = newValue }
}
public var strategy: GraphQLNullable<String> {
get { __data["strategy"] }
set { __data["strategy"] = newValue }
}
}

View File

@@ -1,60 +0,0 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct TestWorkspaceByokConfigInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
apiKey: GraphQLNullable<String> = nil,
configId: GraphQLNullable<ID> = nil,
endpoint: GraphQLNullable<String> = nil,
provider: GraphQLEnum<ByokProvider>,
storage: GraphQLEnum<ByokKeyStorage>,
workspaceId: String
) {
__data = InputDict([
"apiKey": apiKey,
"configId": configId,
"endpoint": endpoint,
"provider": provider,
"storage": storage,
"workspaceId": workspaceId
])
}
public var apiKey: GraphQLNullable<String> {
get { __data["apiKey"] }
set { __data["apiKey"] = newValue }
}
public var configId: GraphQLNullable<ID> {
get { __data["configId"] }
set { __data["configId"] = newValue }
}
public var endpoint: GraphQLNullable<String> {
get { __data["endpoint"] }
set { __data["endpoint"] = newValue }
}
public var provider: GraphQLEnum<ByokProvider> {
get { __data["provider"] }
set { __data["provider"] = newValue }
}
public var storage: GraphQLEnum<ByokKeyStorage> {
get { __data["storage"] }
set { __data["storage"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -0,0 +1,53 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct WorkspaceByokCapabilityInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
attachmentKinds: [String],
attachmentSources: [String],
features: [String],
input: [String],
output: [String]
) {
__data = InputDict([
"attachmentKinds": attachmentKinds,
"attachmentSources": attachmentSources,
"features": features,
"input": input,
"output": output
])
}
public var attachmentKinds: [String] {
get { __data["attachmentKinds"] }
set { __data["attachmentKinds"] = newValue }
}
public var attachmentSources: [String] {
get { __data["attachmentSources"] }
set { __data["attachmentSources"] = newValue }
}
public var features: [String] {
get { __data["features"] }
set { __data["features"] = newValue }
}
public var input: [String] {
get { __data["input"] }
set { __data["input"] = newValue }
}
public var output: [String] {
get { __data["output"] }
set { __data["output"] = newValue }
}
}

View File

@@ -0,0 +1,32 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct WorkspaceByokEndpointInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
kind: String,
url: GraphQLNullable<String> = nil
) {
__data = InputDict([
"kind": kind,
"url": url
])
}
public var kind: String {
get { __data["kind"] }
set { __data["kind"] = newValue }
}
public var url: GraphQLNullable<String> {
get { __data["url"] }
set { __data["url"] = newValue }
}
}

View File

@@ -0,0 +1,32 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct WorkspaceByokModelDeclarationInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
capabilities: [WorkspaceByokCapabilityInput],
modelId: String
) {
__data = InputDict([
"capabilities": capabilities,
"modelId": modelId
])
}
public var capabilities: [WorkspaceByokCapabilityInput] {
get { __data["capabilities"] }
set { __data["capabilities"] = newValue }
}
public var modelId: String {
get { __data["modelId"] }
set { __data["modelId"] = newValue }
}
}

View File

@@ -0,0 +1,39 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct WorkspaceByokProfileDefinitionInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
endpoint: WorkspaceByokEndpointInput,
models: [WorkspaceByokModelDeclarationInput],
version: SafeInt
) {
__data = InputDict([
"endpoint": endpoint,
"models": models,
"version": version
])
}
public var endpoint: WorkspaceByokEndpointInput {
get { __data["endpoint"] }
set { __data["endpoint"] = newValue }
}
public var models: [WorkspaceByokModelDeclarationInput] {
get { __data["models"] }
set { __data["models"] = newValue }
}
public var version: SafeInt {
get { __data["version"] }
set { __data["version"] = newValue }
}
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let AdminMailDeliveryAnalytics = ApolloAPI.Object(
typename: "AdminMailDeliveryAnalytics",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let AdminMailDeliveryPoint = ApolloAPI.Object(
typename: "AdminMailDeliveryPoint",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let AdminMailDeliverySeries = ApolloAPI.Object(
typename: "AdminMailDeliverySeries",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let AdminMailDeliverySummary = ApolloAPI.Object(
typename: "AdminMailDeliverySummary",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -4,8 +4,8 @@
import ApolloAPI
public extension Objects {
static let CopilotModelType = ApolloAPI.Object(
typename: "CopilotModelType",
static let AuthSigningKeyType = ApolloAPI.Object(
typename: "AuthSigningKeyType",
implementedInterfaces: [],
keyFields: nil
)

View File

@@ -4,8 +4,8 @@
import ApolloAPI
public extension Objects {
static let RevealedAccessToken = ApolloAPI.Object(
typename: "RevealedAccessToken",
static let CopilotRouteOptions = ApolloAPI.Object(
typename: "CopilotRouteOptions",
implementedInterfaces: [],
keyFields: nil
)

View File

@@ -4,8 +4,8 @@
import ApolloAPI
public extension Objects {
static let CopilotModelsType = ApolloAPI.Object(
typename: "CopilotModelsType",
static let CopilotRouteTarget = ApolloAPI.Object(
typename: "CopilotRouteTarget",
implementedInterfaces: [],
keyFields: nil
)

View File

@@ -4,8 +4,8 @@
import ApolloAPI
public extension Objects {
static let TokenType = ApolloAPI.Object(
typename: "tokenType",
static let McpCredentialType = ApolloAPI.Object(
typename: "McpCredentialType",
implementedInterfaces: [],
keyFields: nil
)

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let RevealedMcpCredentialType = ApolloAPI.Object(
typename: "RevealedMcpCredentialType",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let WorkspaceByokCapabilityType = ApolloAPI.Object(
typename: "WorkspaceByokCapabilityType",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let WorkspaceByokEndpointType = ApolloAPI.Object(
typename: "WorkspaceByokEndpointType",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -1,12 +0,0 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let WorkspaceByokKeyConfigType = ApolloAPI.Object(
typename: "WorkspaceByokKeyConfigType",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -4,8 +4,8 @@
import ApolloAPI
public extension Objects {
static let TestWorkspaceByokConfigResultType = ApolloAPI.Object(
typename: "TestWorkspaceByokConfigResultType",
static let WorkspaceByokModelDeclarationType = ApolloAPI.Object(
typename: "WorkspaceByokModelDeclarationType",
implementedInterfaces: [],
keyFields: nil
)

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let WorkspaceByokProbeType = ApolloAPI.Object(
typename: "WorkspaceByokProbeType",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -4,8 +4,8 @@
import ApolloAPI
public extension Objects {
static let WorkspaceByokCapabilityWarningType = ApolloAPI.Object(
typename: "WorkspaceByokCapabilityWarningType",
static let WorkspaceByokProfileDefinitionType = ApolloAPI.Object(
typename: "WorkspaceByokProfileDefinitionType",
implementedInterfaces: [],
keyFields: nil
)

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let WorkspaceByokProfileType = ApolloAPI.Object(
typename: "WorkspaceByokProfileType",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -25,6 +25,10 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"AdminDashboardMinutePoint": AffineGraphQL.Objects.AdminDashboardMinutePoint,
"AdminDashboardValueDayPoint": AffineGraphQL.Objects.AdminDashboardValueDayPoint,
"AdminLicensePreview": AffineGraphQL.Objects.AdminLicensePreview,
"AdminMailDeliveryAnalytics": AffineGraphQL.Objects.AdminMailDeliveryAnalytics,
"AdminMailDeliveryPoint": AffineGraphQL.Objects.AdminMailDeliveryPoint,
"AdminMailDeliverySeries": AffineGraphQL.Objects.AdminMailDeliverySeries,
"AdminMailDeliverySummary": AffineGraphQL.Objects.AdminMailDeliverySummary,
"AdminSharedLinkTopItem": AffineGraphQL.Objects.AdminSharedLinkTopItem,
"AdminWorkspace": AffineGraphQL.Objects.AdminWorkspace,
"AdminWorkspaceMember": AffineGraphQL.Objects.AdminWorkspaceMember,
@@ -34,6 +38,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"AggregateResultObjectType": AffineGraphQL.Objects.AggregateResultObjectType,
"AppConfigValidateResult": AffineGraphQL.Objects.AppConfigValidateResult,
"AudioSliceManifestItemType": AffineGraphQL.Objects.AudioSliceManifestItemType,
"AuthSigningKeyType": AffineGraphQL.Objects.AuthSigningKeyType,
"BlobUploadInit": AffineGraphQL.Objects.BlobUploadInit,
"BlobUploadPart": AffineGraphQL.Objects.BlobUploadPart,
"BlobUploadedPart": AffineGraphQL.Objects.BlobUploadedPart,
@@ -56,9 +61,9 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"CopilotContextFile": AffineGraphQL.Objects.CopilotContextFile,
"CopilotHistories": AffineGraphQL.Objects.CopilotHistories,
"CopilotHistoriesTypeEdge": AffineGraphQL.Objects.CopilotHistoriesTypeEdge,
"CopilotModelType": AffineGraphQL.Objects.CopilotModelType,
"CopilotModelsType": AffineGraphQL.Objects.CopilotModelsType,
"CopilotQuota": AffineGraphQL.Objects.CopilotQuota,
"CopilotRouteOptions": AffineGraphQL.Objects.CopilotRouteOptions,
"CopilotRouteTarget": AffineGraphQL.Objects.CopilotRouteTarget,
"CopilotWorkspaceConfig": AffineGraphQL.Objects.CopilotWorkspaceConfig,
"CopilotWorkspaceFile": AffineGraphQL.Objects.CopilotWorkspaceFile,
"CopilotWorkspaceFileTypeEdge": AffineGraphQL.Objects.CopilotWorkspaceFileTypeEdge,
@@ -85,6 +90,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"License": AffineGraphQL.Objects.License,
"LimitedUserType": AffineGraphQL.Objects.LimitedUserType,
"ListedBlob": AffineGraphQL.Objects.ListedBlob,
"McpCredentialType": AffineGraphQL.Objects.McpCredentialType,
"MeetingActionItemType": AffineGraphQL.Objects.MeetingActionItemType,
"MeetingSummaryV2Type": AffineGraphQL.Objects.MeetingSummaryV2Type,
"Mutation": AffineGraphQL.Objects.Mutation,
@@ -107,7 +113,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"ReleaseVersionType": AffineGraphQL.Objects.ReleaseVersionType,
"RemoveAvatar": AffineGraphQL.Objects.RemoveAvatar,
"ReplyObjectType": AffineGraphQL.Objects.ReplyObjectType,
"RevealedAccessToken": AffineGraphQL.Objects.RevealedAccessToken,
"RevealedMcpCredentialType": AffineGraphQL.Objects.RevealedMcpCredentialType,
"SearchDocObjectType": AffineGraphQL.Objects.SearchDocObjectType,
"SearchNodeObjectType": AffineGraphQL.Objects.SearchNodeObjectType,
"SearchResultObjectType": AffineGraphQL.Objects.SearchResultObjectType,
@@ -116,7 +122,6 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"StreamObject": AffineGraphQL.Objects.StreamObject,
"SubscriptionPrice": AffineGraphQL.Objects.SubscriptionPrice,
"SubscriptionType": AffineGraphQL.Objects.SubscriptionType,
"TestWorkspaceByokConfigResultType": AffineGraphQL.Objects.TestWorkspaceByokConfigResultType,
"TimeWindow": AffineGraphQL.Objects.TimeWindow,
"TranscriptionItemType": AffineGraphQL.Objects.TranscriptionItemType,
"TranscriptionQualityType": AffineGraphQL.Objects.TranscriptionQualityType,
@@ -128,8 +133,12 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"UserQuotaUsageType": AffineGraphQL.Objects.UserQuotaUsageType,
"UserSettingsType": AffineGraphQL.Objects.UserSettingsType,
"UserType": AffineGraphQL.Objects.UserType,
"WorkspaceByokCapabilityWarningType": AffineGraphQL.Objects.WorkspaceByokCapabilityWarningType,
"WorkspaceByokKeyConfigType": AffineGraphQL.Objects.WorkspaceByokKeyConfigType,
"WorkspaceByokCapabilityType": AffineGraphQL.Objects.WorkspaceByokCapabilityType,
"WorkspaceByokEndpointType": AffineGraphQL.Objects.WorkspaceByokEndpointType,
"WorkspaceByokModelDeclarationType": AffineGraphQL.Objects.WorkspaceByokModelDeclarationType,
"WorkspaceByokProbeType": AffineGraphQL.Objects.WorkspaceByokProbeType,
"WorkspaceByokProfileDefinitionType": AffineGraphQL.Objects.WorkspaceByokProfileDefinitionType,
"WorkspaceByokProfileType": AffineGraphQL.Objects.WorkspaceByokProfileType,
"WorkspaceByokSettingsType": AffineGraphQL.Objects.WorkspaceByokSettingsType,
"WorkspaceByokUsagePointType": AffineGraphQL.Objects.WorkspaceByokUsagePointType,
"WorkspaceCalendarItemObjectType": AffineGraphQL.Objects.WorkspaceCalendarItemObjectType,
@@ -140,8 +149,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
"WorkspaceQuotaType": AffineGraphQL.Objects.WorkspaceQuotaType,
"WorkspaceRolePermissions": AffineGraphQL.Objects.WorkspaceRolePermissions,
"WorkspaceType": AffineGraphQL.Objects.WorkspaceType,
"WorkspaceUserType": AffineGraphQL.Objects.WorkspaceUserType,
"tokenType": AffineGraphQL.Objects.TokenType
"WorkspaceUserType": AffineGraphQL.Objects.WorkspaceUserType
]
public static func objectType(forTypename typename: String) -> ApolloAPI.Object? {