feat: update schema & bump deps (#15455)
#### PR Dependency Tree * **PR #15455** 👈 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 artifact management, artifact details, and removal support. - Added workspace BYOK configuration insights, model capabilities, connection checks, and validation status. - Added profile reordering and credential revision safeguards. - **Improvements** - Improved Copilot session creation with server-provided history and metadata. - Streamlined context handling with document scope selections and selected-source synchronization. - **Bug Fixes** - Improved compatibility and reliability across web, Android, and iOS Copilot workflows. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokAttachmentKind: String, EnumType {
|
||||
case audio = "audio"
|
||||
case file = "file"
|
||||
case image = "image"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokAttachmentSource: String, EnumType {
|
||||
case bytes = "bytes"
|
||||
case data = "data"
|
||||
case fileHandle = "file_handle"
|
||||
case url = "url"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokCustomEndpointMode: String, EnumType {
|
||||
case disabled = "disabled"
|
||||
case enabled = "enabled"
|
||||
case unavailable = "unavailable"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokEndpointKind: String, EnumType {
|
||||
case openaiCompatible = "openai_compatible"
|
||||
case providerDefault = "provider_default"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokModelFeature: String, EnumType {
|
||||
case reasoning = "reasoning"
|
||||
case toolCalling = "tool_calling"
|
||||
case webSearch = "web_search"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokModelInput: String, EnumType {
|
||||
case audio = "audio"
|
||||
case file = "file"
|
||||
case image = "image"
|
||||
case text = "text"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokModelOutput: String, EnumType {
|
||||
case embedding = "embedding"
|
||||
case image = "image"
|
||||
case object = "object"
|
||||
case rerank = "rerank"
|
||||
case structured = "structured"
|
||||
case text = "text"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokOpenAiDialect: String, EnumType {
|
||||
case chatCompletions = "chat_completions"
|
||||
case responses = "responses"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokProbeOperation: String, EnumType {
|
||||
case chat = "chat"
|
||||
case embedding = "embedding"
|
||||
case image = "image"
|
||||
case rerank = "rerank"
|
||||
case structured = "structured"
|
||||
case toolCalling = "tool_calling"
|
||||
case transcript = "transcript"
|
||||
case vision = "vision"
|
||||
}
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ContextEmbedStatus: String, EnumType {
|
||||
public enum ByokProbeStatusKind: String, EnumType {
|
||||
case failed = "failed"
|
||||
case finished = "finished"
|
||||
case processing = "processing"
|
||||
case notTested = "not_tested"
|
||||
case verified = "verified"
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ContextCategories: String, EnumType {
|
||||
case collection = "Collection"
|
||||
case tag = "Tag"
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AddContextBlobInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
blobId: String,
|
||||
contextId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"blobId": blobId,
|
||||
"contextId": contextId
|
||||
])
|
||||
}
|
||||
|
||||
public var blobId: String {
|
||||
get { __data["blobId"] }
|
||||
set { __data["blobId"] = newValue }
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AddContextCategoryInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
categoryId: String,
|
||||
contextId: String,
|
||||
docs: GraphQLNullable<[String]> = nil,
|
||||
type: GraphQLEnum<ContextCategories>
|
||||
) {
|
||||
__data = InputDict([
|
||||
"categoryId": categoryId,
|
||||
"contextId": contextId,
|
||||
"docs": docs,
|
||||
"type": type
|
||||
])
|
||||
}
|
||||
|
||||
public var categoryId: String {
|
||||
get { __data["categoryId"] }
|
||||
set { __data["categoryId"] = newValue }
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
|
||||
public var docs: GraphQLNullable<[String]> {
|
||||
get { __data["docs"] }
|
||||
set { __data["docs"] = newValue }
|
||||
}
|
||||
|
||||
public var type: GraphQLEnum<ContextCategories> {
|
||||
get { __data["type"] }
|
||||
set { __data["type"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AddContextDocInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
contextId: String,
|
||||
docId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"contextId": contextId,
|
||||
"docId": docId
|
||||
])
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
|
||||
public var docId: String {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AddContextFileInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
contextId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"contextId": contextId
|
||||
])
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ProbeWorkspaceByokDraftInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
checks: [WorkspaceByokProbeCheckInput],
|
||||
credential: GraphQLNullable<String> = nil,
|
||||
definition: WorkspaceByokProfileDefinitionInput,
|
||||
expectedRevision: GraphQLNullable<SafeInt> = nil,
|
||||
profileId: GraphQLNullable<ID> = nil,
|
||||
provider: GraphQLEnum<ByokProvider>,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"checks": checks,
|
||||
"credential": credential,
|
||||
"definition": definition,
|
||||
"expectedRevision": expectedRevision,
|
||||
"profileId": profileId,
|
||||
"provider": provider,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var checks: [WorkspaceByokProbeCheckInput] {
|
||||
get { __data["checks"] }
|
||||
set { __data["checks"] = newValue }
|
||||
}
|
||||
|
||||
public var credential: GraphQLNullable<String> {
|
||||
get { __data["credential"] }
|
||||
set { __data["credential"] = newValue }
|
||||
}
|
||||
|
||||
public var definition: WorkspaceByokProfileDefinitionInput {
|
||||
get { __data["definition"] }
|
||||
set { __data["definition"] = newValue }
|
||||
}
|
||||
|
||||
public var expectedRevision: GraphQLNullable<SafeInt> {
|
||||
get { __data["expectedRevision"] }
|
||||
set { __data["expectedRevision"] = newValue }
|
||||
}
|
||||
|
||||
public var profileId: GraphQLNullable<ID> {
|
||||
get { __data["profileId"] }
|
||||
set { __data["profileId"] = newValue }
|
||||
}
|
||||
|
||||
public var provider: GraphQLEnum<ByokProvider> {
|
||||
get { __data["provider"] }
|
||||
set { __data["provider"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ProbeWorkspaceByokProfileInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
checks: [WorkspaceByokProbeCheckInput],
|
||||
profileId: ID,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"checks": checks,
|
||||
"profileId": profileId,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var checks: [WorkspaceByokProbeCheckInput] {
|
||||
get { __data["checks"] }
|
||||
set { __data["checks"] = newValue }
|
||||
}
|
||||
|
||||
public var profileId: ID {
|
||||
get { __data["profileId"] }
|
||||
set { __data["profileId"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct RemoveContextBlobInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
blobId: String,
|
||||
contextId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"blobId": blobId,
|
||||
"contextId": contextId
|
||||
])
|
||||
}
|
||||
|
||||
public var blobId: String {
|
||||
get { __data["blobId"] }
|
||||
set { __data["blobId"] = newValue }
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct RemoveContextCategoryInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
categoryId: String,
|
||||
contextId: String,
|
||||
type: GraphQLEnum<ContextCategories>
|
||||
) {
|
||||
__data = InputDict([
|
||||
"categoryId": categoryId,
|
||||
"contextId": contextId,
|
||||
"type": type
|
||||
])
|
||||
}
|
||||
|
||||
public var categoryId: String {
|
||||
get { __data["categoryId"] }
|
||||
set { __data["categoryId"] = newValue }
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
|
||||
public var type: GraphQLEnum<ContextCategories> {
|
||||
get { __data["type"] }
|
||||
set { __data["type"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct RemoveContextDocInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
contextId: String,
|
||||
docId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"contextId": contextId,
|
||||
"docId": docId
|
||||
])
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
|
||||
public var docId: String {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct RemoveContextFileInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
contextId: String,
|
||||
fileId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"contextId": contextId,
|
||||
"fileId": fileId
|
||||
])
|
||||
}
|
||||
|
||||
public var contextId: String {
|
||||
get { __data["contextId"] }
|
||||
set { __data["contextId"] = newValue }
|
||||
}
|
||||
|
||||
public var fileId: String {
|
||||
get { __data["fileId"] }
|
||||
set { __data["fileId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ReorderWorkspaceByokProfilesInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
profiles: [WorkspaceByokProfileOrderInput],
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"profiles": profiles,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var profiles: [WorkspaceByokProfileOrderInput] {
|
||||
get { __data["profiles"] }
|
||||
set { __data["profiles"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -11,23 +11,32 @@ public struct ReplaceWorkspaceByokProfileInput: InputObject {
|
||||
}
|
||||
|
||||
public init(
|
||||
credential: GraphQLNullable<String> = nil,
|
||||
definition: WorkspaceByokProfileDefinitionInput,
|
||||
description: GraphQLNullable<String> = nil,
|
||||
enabled: Bool,
|
||||
expectedRevision: SafeInt,
|
||||
name: String,
|
||||
profileId: ID,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"credential": credential,
|
||||
"definition": definition,
|
||||
"description": description,
|
||||
"enabled": enabled,
|
||||
"expectedRevision": expectedRevision,
|
||||
"name": name,
|
||||
"profileId": profileId,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var credential: GraphQLNullable<String> {
|
||||
get { __data["credential"] }
|
||||
set { __data["credential"] = newValue }
|
||||
}
|
||||
|
||||
public var definition: WorkspaceByokProfileDefinitionInput {
|
||||
get { __data["definition"] }
|
||||
set { __data["definition"] = newValue }
|
||||
@@ -43,6 +52,11 @@ public struct ReplaceWorkspaceByokProfileInput: InputObject {
|
||||
set { __data["enabled"] = newValue }
|
||||
}
|
||||
|
||||
public var expectedRevision: SafeInt {
|
||||
get { __data["expectedRevision"] }
|
||||
set { __data["expectedRevision"] = newValue }
|
||||
}
|
||||
|
||||
public var name: String {
|
||||
get { __data["name"] }
|
||||
set { __data["name"] = newValue }
|
||||
|
||||
@@ -12,11 +12,13 @@ public struct RotateWorkspaceByokCredentialInput: InputObject {
|
||||
|
||||
public init(
|
||||
credential: String,
|
||||
expectedRevision: SafeInt,
|
||||
profileId: ID,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"credential": credential,
|
||||
"expectedRevision": expectedRevision,
|
||||
"profileId": profileId,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
@@ -27,6 +29,11 @@ public struct RotateWorkspaceByokCredentialInput: InputObject {
|
||||
set { __data["credential"] = newValue }
|
||||
}
|
||||
|
||||
public var expectedRevision: SafeInt {
|
||||
get { __data["expectedRevision"] }
|
||||
set { __data["expectedRevision"] = newValue }
|
||||
}
|
||||
|
||||
public var profileId: ID {
|
||||
get { __data["profileId"] }
|
||||
set { __data["profileId"] = newValue }
|
||||
|
||||
@@ -11,11 +11,11 @@ public struct WorkspaceByokCapabilityInput: InputObject {
|
||||
}
|
||||
|
||||
public init(
|
||||
attachmentKinds: [String],
|
||||
attachmentSources: [String],
|
||||
features: [String],
|
||||
input: [String],
|
||||
output: [String]
|
||||
attachmentKinds: [GraphQLEnum<ByokAttachmentKind>],
|
||||
attachmentSources: [GraphQLEnum<ByokAttachmentSource>],
|
||||
features: [GraphQLEnum<ByokModelFeature>],
|
||||
input: [GraphQLEnum<ByokModelInput>],
|
||||
output: [GraphQLEnum<ByokModelOutput>]
|
||||
) {
|
||||
__data = InputDict([
|
||||
"attachmentKinds": attachmentKinds,
|
||||
@@ -26,27 +26,27 @@ public struct WorkspaceByokCapabilityInput: InputObject {
|
||||
])
|
||||
}
|
||||
|
||||
public var attachmentKinds: [String] {
|
||||
public var attachmentKinds: [GraphQLEnum<ByokAttachmentKind>] {
|
||||
get { __data["attachmentKinds"] }
|
||||
set { __data["attachmentKinds"] = newValue }
|
||||
}
|
||||
|
||||
public var attachmentSources: [String] {
|
||||
public var attachmentSources: [GraphQLEnum<ByokAttachmentSource>] {
|
||||
get { __data["attachmentSources"] }
|
||||
set { __data["attachmentSources"] = newValue }
|
||||
}
|
||||
|
||||
public var features: [String] {
|
||||
public var features: [GraphQLEnum<ByokModelFeature>] {
|
||||
get { __data["features"] }
|
||||
set { __data["features"] = newValue }
|
||||
}
|
||||
|
||||
public var input: [String] {
|
||||
public var input: [GraphQLEnum<ByokModelInput>] {
|
||||
get { __data["input"] }
|
||||
set { __data["input"] = newValue }
|
||||
}
|
||||
|
||||
public var output: [String] {
|
||||
public var output: [GraphQLEnum<ByokModelOutput>] {
|
||||
get { __data["output"] }
|
||||
set { __data["output"] = newValue }
|
||||
}
|
||||
|
||||
@@ -11,16 +11,23 @@ public struct WorkspaceByokEndpointInput: InputObject {
|
||||
}
|
||||
|
||||
public init(
|
||||
kind: String,
|
||||
dialect: GraphQLNullable<GraphQLEnum<ByokOpenAiDialect>> = nil,
|
||||
kind: GraphQLEnum<ByokEndpointKind>,
|
||||
url: GraphQLNullable<String> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"dialect": dialect,
|
||||
"kind": kind,
|
||||
"url": url
|
||||
])
|
||||
}
|
||||
|
||||
public var kind: String {
|
||||
public var dialect: GraphQLNullable<GraphQLEnum<ByokOpenAiDialect>> {
|
||||
get { __data["dialect"] }
|
||||
set { __data["dialect"] = newValue }
|
||||
}
|
||||
|
||||
public var kind: GraphQLEnum<ByokEndpointKind> {
|
||||
get { __data["kind"] }
|
||||
set { __data["kind"] = newValue }
|
||||
}
|
||||
|
||||
@@ -12,10 +12,12 @@ public struct WorkspaceByokModelDeclarationInput: InputObject {
|
||||
|
||||
public init(
|
||||
capabilities: [WorkspaceByokCapabilityInput],
|
||||
enabled: Bool,
|
||||
modelId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"capabilities": capabilities,
|
||||
"enabled": enabled,
|
||||
"modelId": modelId
|
||||
])
|
||||
}
|
||||
@@ -25,6 +27,11 @@ public struct WorkspaceByokModelDeclarationInput: InputObject {
|
||||
set { __data["capabilities"] = newValue }
|
||||
}
|
||||
|
||||
public var enabled: Bool {
|
||||
get { __data["enabled"] }
|
||||
set { __data["enabled"] = newValue }
|
||||
}
|
||||
|
||||
public var modelId: String {
|
||||
get { __data["modelId"] }
|
||||
set { __data["modelId"] = newValue }
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct WorkspaceByokProbeCheckInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
modelId: String,
|
||||
operation: GraphQLEnum<ByokProbeOperation>
|
||||
) {
|
||||
__data = InputDict([
|
||||
"modelId": modelId,
|
||||
"operation": operation
|
||||
])
|
||||
}
|
||||
|
||||
public var modelId: String {
|
||||
get { __data["modelId"] }
|
||||
set { __data["modelId"] = newValue }
|
||||
}
|
||||
|
||||
public var operation: GraphQLEnum<ByokProbeOperation> {
|
||||
get { __data["operation"] }
|
||||
set { __data["operation"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -12,13 +12,11 @@ public struct WorkspaceByokProfileDefinitionInput: InputObject {
|
||||
|
||||
public init(
|
||||
endpoint: WorkspaceByokEndpointInput,
|
||||
models: [WorkspaceByokModelDeclarationInput],
|
||||
version: SafeInt
|
||||
models: [WorkspaceByokModelDeclarationInput]
|
||||
) {
|
||||
__data = InputDict([
|
||||
"endpoint": endpoint,
|
||||
"models": models,
|
||||
"version": version
|
||||
"models": models
|
||||
])
|
||||
}
|
||||
|
||||
@@ -31,9 +29,4 @@ public struct WorkspaceByokProfileDefinitionInput: InputObject {
|
||||
get { __data["models"] }
|
||||
set { __data["models"] = newValue }
|
||||
}
|
||||
|
||||
public var version: SafeInt {
|
||||
get { __data["version"] }
|
||||
set { __data["version"] = newValue }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct WorkspaceByokProfileOrderInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
expectedRevision: SafeInt,
|
||||
profileId: ID
|
||||
) {
|
||||
__data = InputDict([
|
||||
"expectedRevision": expectedRevision,
|
||||
"profileId": profileId
|
||||
])
|
||||
}
|
||||
|
||||
public var expectedRevision: SafeInt {
|
||||
get { __data["expectedRevision"] }
|
||||
set { __data["expectedRevision"] = newValue }
|
||||
}
|
||||
|
||||
public var profileId: ID {
|
||||
get { __data["profileId"] }
|
||||
set { __data["profileId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotContextCategory = ApolloAPI.Object(
|
||||
typename: "CopilotContextCategory",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotContextDoc = ApolloAPI.Object(
|
||||
typename: "CopilotContextDoc",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotContextFile = ApolloAPI.Object(
|
||||
typename: "CopilotContextFile",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotContextBlob = ApolloAPI.Object(
|
||||
typename: "CopilotContextBlob",
|
||||
static let CopilotWorkspaceArtifact = ApolloAPI.Object(
|
||||
typename: "CopilotWorkspaceArtifact",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotWorkspaceArtifactTypeEdge = ApolloAPI.Object(
|
||||
typename: "CopilotWorkspaceArtifactTypeEdge",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotWorkspaceFile = ApolloAPI.Object(
|
||||
typename: "CopilotWorkspaceFile",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotWorkspaceFileTypeEdge = ApolloAPI.Object(
|
||||
typename: "CopilotWorkspaceFileTypeEdge",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let PaginatedCopilotWorkspaceArtifactType = ApolloAPI.Object(
|
||||
typename: "PaginatedCopilotWorkspaceArtifactType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let PaginatedCopilotWorkspaceFileType = ApolloAPI.Object(
|
||||
typename: "PaginatedCopilotWorkspaceFileType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let WorkspaceByokCatalogModelType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokCatalogModelType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let WorkspaceByokCatalogProviderType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokCatalogProviderType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let ContextMatchedFileChunk = ApolloAPI.Object(
|
||||
typename: "ContextMatchedFileChunk",
|
||||
static let WorkspaceByokCatalogType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokCatalogType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let WorkspaceByokModelProbeCheckType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokModelProbeCheckType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let ContextMatchedDocChunk = ApolloAPI.Object(
|
||||
typename: "ContextMatchedDocChunk",
|
||||
static let WorkspaceByokModelProbeType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokModelProbeType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CopilotContext = ApolloAPI.Object(
|
||||
typename: "CopilotContext",
|
||||
static let WorkspaceByokPolicyType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokPolicyType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let WorkspaceByokProbeResultType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokProbeResultType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let WorkspaceByokProbeStatusType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokProbeStatusType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// @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
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let WorkspaceByokValidationType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokValidationType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
@@ -51,22 +51,15 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"CommentChangeObjectTypeEdge": AffineGraphQL.Objects.CommentChangeObjectTypeEdge,
|
||||
"CommentObjectType": AffineGraphQL.Objects.CommentObjectType,
|
||||
"CommentObjectTypeEdge": AffineGraphQL.Objects.CommentObjectTypeEdge,
|
||||
"ContextMatchedDocChunk": AffineGraphQL.Objects.ContextMatchedDocChunk,
|
||||
"ContextMatchedFileChunk": AffineGraphQL.Objects.ContextMatchedFileChunk,
|
||||
"Copilot": AffineGraphQL.Objects.Copilot,
|
||||
"CopilotContext": AffineGraphQL.Objects.CopilotContext,
|
||||
"CopilotContextBlob": AffineGraphQL.Objects.CopilotContextBlob,
|
||||
"CopilotContextCategory": AffineGraphQL.Objects.CopilotContextCategory,
|
||||
"CopilotContextDoc": AffineGraphQL.Objects.CopilotContextDoc,
|
||||
"CopilotContextFile": AffineGraphQL.Objects.CopilotContextFile,
|
||||
"CopilotHistories": AffineGraphQL.Objects.CopilotHistories,
|
||||
"CopilotHistoriesTypeEdge": AffineGraphQL.Objects.CopilotHistoriesTypeEdge,
|
||||
"CopilotQuota": AffineGraphQL.Objects.CopilotQuota,
|
||||
"CopilotRouteOptions": AffineGraphQL.Objects.CopilotRouteOptions,
|
||||
"CopilotRouteTarget": AffineGraphQL.Objects.CopilotRouteTarget,
|
||||
"CopilotWorkspaceArtifact": AffineGraphQL.Objects.CopilotWorkspaceArtifact,
|
||||
"CopilotWorkspaceArtifactTypeEdge": AffineGraphQL.Objects.CopilotWorkspaceArtifactTypeEdge,
|
||||
"CopilotWorkspaceConfig": AffineGraphQL.Objects.CopilotWorkspaceConfig,
|
||||
"CopilotWorkspaceFile": AffineGraphQL.Objects.CopilotWorkspaceFile,
|
||||
"CopilotWorkspaceFileTypeEdge": AffineGraphQL.Objects.CopilotWorkspaceFileTypeEdge,
|
||||
"CopilotWorkspaceIgnoredDoc": AffineGraphQL.Objects.CopilotWorkspaceIgnoredDoc,
|
||||
"CopilotWorkspaceIgnoredDocTypeEdge": AffineGraphQL.Objects.CopilotWorkspaceIgnoredDocTypeEdge,
|
||||
"CreateWorkspaceByokLocalLeaseResultType": AffineGraphQL.Objects.CreateWorkspaceByokLocalLeaseResultType,
|
||||
@@ -102,7 +95,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"PaginatedCommentChangeObjectType": AffineGraphQL.Objects.PaginatedCommentChangeObjectType,
|
||||
"PaginatedCommentObjectType": AffineGraphQL.Objects.PaginatedCommentObjectType,
|
||||
"PaginatedCopilotHistoriesType": AffineGraphQL.Objects.PaginatedCopilotHistoriesType,
|
||||
"PaginatedCopilotWorkspaceFileType": AffineGraphQL.Objects.PaginatedCopilotWorkspaceFileType,
|
||||
"PaginatedCopilotWorkspaceArtifactType": AffineGraphQL.Objects.PaginatedCopilotWorkspaceArtifactType,
|
||||
"PaginatedDocMemberLastAccess": AffineGraphQL.Objects.PaginatedDocMemberLastAccess,
|
||||
"PaginatedDocType": AffineGraphQL.Objects.PaginatedDocType,
|
||||
"PaginatedIgnoredDocsType": AffineGraphQL.Objects.PaginatedIgnoredDocsType,
|
||||
@@ -134,13 +127,21 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"UserSettingsType": AffineGraphQL.Objects.UserSettingsType,
|
||||
"UserType": AffineGraphQL.Objects.UserType,
|
||||
"WorkspaceByokCapabilityType": AffineGraphQL.Objects.WorkspaceByokCapabilityType,
|
||||
"WorkspaceByokCatalogModelType": AffineGraphQL.Objects.WorkspaceByokCatalogModelType,
|
||||
"WorkspaceByokCatalogProviderType": AffineGraphQL.Objects.WorkspaceByokCatalogProviderType,
|
||||
"WorkspaceByokCatalogType": AffineGraphQL.Objects.WorkspaceByokCatalogType,
|
||||
"WorkspaceByokEndpointType": AffineGraphQL.Objects.WorkspaceByokEndpointType,
|
||||
"WorkspaceByokModelDeclarationType": AffineGraphQL.Objects.WorkspaceByokModelDeclarationType,
|
||||
"WorkspaceByokProbeType": AffineGraphQL.Objects.WorkspaceByokProbeType,
|
||||
"WorkspaceByokModelProbeCheckType": AffineGraphQL.Objects.WorkspaceByokModelProbeCheckType,
|
||||
"WorkspaceByokModelProbeType": AffineGraphQL.Objects.WorkspaceByokModelProbeType,
|
||||
"WorkspaceByokPolicyType": AffineGraphQL.Objects.WorkspaceByokPolicyType,
|
||||
"WorkspaceByokProbeResultType": AffineGraphQL.Objects.WorkspaceByokProbeResultType,
|
||||
"WorkspaceByokProbeStatusType": AffineGraphQL.Objects.WorkspaceByokProbeStatusType,
|
||||
"WorkspaceByokProfileDefinitionType": AffineGraphQL.Objects.WorkspaceByokProfileDefinitionType,
|
||||
"WorkspaceByokProfileType": AffineGraphQL.Objects.WorkspaceByokProfileType,
|
||||
"WorkspaceByokSettingsType": AffineGraphQL.Objects.WorkspaceByokSettingsType,
|
||||
"WorkspaceByokUsagePointType": AffineGraphQL.Objects.WorkspaceByokUsagePointType,
|
||||
"WorkspaceByokValidationType": AffineGraphQL.Objects.WorkspaceByokValidationType,
|
||||
"WorkspaceCalendarItemObjectType": AffineGraphQL.Objects.WorkspaceCalendarItemObjectType,
|
||||
"WorkspaceCalendarObjectType": AffineGraphQL.Objects.WorkspaceCalendarObjectType,
|
||||
"WorkspaceDocMeta": AffineGraphQL.Objects.WorkspaceDocMeta,
|
||||
|
||||
Reference in New Issue
Block a user