snapshot of https://github.com/toeverything/AFFiNE.git (canary, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build & Test / Analyze (javascript, blocksuite) (push) Failing after 3s
Build & Test / Rust test filter (push) Failing after 3s
Build & Test / E2E BlockSuite Test (2) (push) Failing after 3s
Build & Test / E2E BlockSuite Test (3) (push) Failing after 4s
Build & Test / E2E BlockSuite Test (4) (push) Failing after 3s
Build & Test / E2E BlockSuite Cross Browser Test (push) Failing after 3s
Build & Test / E2E Mobile Test (1) (push) Failing after 3s
Build & Test / E2E Mobile Test (2) (push) Failing after 3s
Build & Test / Build AFFiNE native (x86_64-unknown-linux-gnu) (push) Failing after 4s
Build & Test / Unit Test (1) (push) Has been skipped
Build & Test / Unit Test (2) (push) Has been skipped
Build & Test / Unit Test (3) (push) Has been skipped
Build & Test / Build Server native (push) Failing after 3s
Build & Test / Check Git Status (push) Has been skipped
Build & Test / Server Test (0, 4) (push) Has been skipped
Build & Test / Server Test (1, 4) (push) Has been skipped
Build & Test / Analyze (javascript, affine) (push) Failing after 3s
Build & Test / Analyze (typescript, affine) (push) Failing after 3s
Build & Test / Analyze (typescript, blocksuite) (push) Failing after 3s
Build & Test / Mobile native build filter (push) Failing after 3s
Build & Test / Check yarn binary (push) Failing after 3s
Build & Test / E2E BlockSuite Test (1) (push) Failing after 4s
Build & Test / E2E BlockSuite Test (5) (push) Failing after 3s
Build & Test / Unit Test (4) (push) Has been skipped
Build & Test / Unit Test (5) (push) Has been skipped
Build & Test / Native Unit Test (push) Has been skipped
Build & Test / Server Test (2, 4) (push) Has been skipped
Build & Test / Server Test (3, 4) (push) Has been skipped
Build & Test / Server Test with Elasticsearch (push) Has been skipped
Build & Test / Server Test with Embedded Search (push) Has been skipped
Build & Test / Server Test with Manticore Search (push) Has been skipped
Build & Test / Server E2E Test (push) Has been skipped
Build & Test / Cloud Desktop E2E Test (push) Has been skipped
Build & Test / Cloud E2E Test 1/2 (push) Has been skipped
Build & Test / Cloud E2E Test 2/2 (push) Has been skipped
Build & Test / Build @affine/electron renderer (push) Failing after 3s
Build & Test / Copilot test filter (push) Failing after 4s
Build & Test / Lint Rust (push) Has been skipped
Build & Test / Build Android app (push) Has been skipped
Build & Test / Test Android app (push) Has been skipped
Build & Test / Run native tests (push) Has been skipped
Build & Test / Server Copilot Api Test (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (3, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (4, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (1, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (2, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (5, 5) (push) Has been skipped
Build & Test / Desktop Test (ubuntu-latest, linux, x64, x86_64-unknown-linux-gnu, true) (push) Has been cancelled
Build & Test / Desktop Test (windows-latest, windows, x64, x86_64-pc-windows-msvc, true) (push) Has been cancelled
Build & Test / 3, 2, 1 Launch (push) Has been cancelled
Build & Test / Lint (push) Has been cancelled
Build & Test / Typecheck (push) Has been cancelled
Build & Test / Build iOS app (push) Has been cancelled
Build & Test / Build AFFiNE native (aarch64-apple-darwin) (push) Has been cancelled
Build & Test / E2E Test (1) (push) Has been cancelled
Build & Test / E2E Test (2) (push) Has been cancelled
Build & Test / E2E Test (3) (push) Has been cancelled
Build & Test / E2E Test (4) (push) Has been cancelled
Build & Test / E2E Test (5) (push) Has been cancelled
Build & Test / Build AFFiNE native (x86_64-apple-darwin) (push) Has been cancelled
Build & Test / Build AFFiNE native (aarch64-pc-windows-msvc) (push) Has been cancelled
Build & Test / Build AFFiNE native (x86_64-pc-windows-msvc) (push) Has been cancelled
Build & Test / Desktop Test (macos-latest, macos, arm64, aarch64-apple-darwin, true) (push) Has been cancelled
Build & Test / Desktop Test (macos-latest, macos, x64, x86_64-apple-darwin, false) (push) Has been cancelled
Some checks failed
Build & Test / Analyze (javascript, blocksuite) (push) Failing after 3s
Build & Test / Rust test filter (push) Failing after 3s
Build & Test / E2E BlockSuite Test (2) (push) Failing after 3s
Build & Test / E2E BlockSuite Test (3) (push) Failing after 4s
Build & Test / E2E BlockSuite Test (4) (push) Failing after 3s
Build & Test / E2E BlockSuite Cross Browser Test (push) Failing after 3s
Build & Test / E2E Mobile Test (1) (push) Failing after 3s
Build & Test / E2E Mobile Test (2) (push) Failing after 3s
Build & Test / Build AFFiNE native (x86_64-unknown-linux-gnu) (push) Failing after 4s
Build & Test / Unit Test (1) (push) Has been skipped
Build & Test / Unit Test (2) (push) Has been skipped
Build & Test / Unit Test (3) (push) Has been skipped
Build & Test / Build Server native (push) Failing after 3s
Build & Test / Check Git Status (push) Has been skipped
Build & Test / Server Test (0, 4) (push) Has been skipped
Build & Test / Server Test (1, 4) (push) Has been skipped
Build & Test / Analyze (javascript, affine) (push) Failing after 3s
Build & Test / Analyze (typescript, affine) (push) Failing after 3s
Build & Test / Analyze (typescript, blocksuite) (push) Failing after 3s
Build & Test / Mobile native build filter (push) Failing after 3s
Build & Test / Check yarn binary (push) Failing after 3s
Build & Test / E2E BlockSuite Test (1) (push) Failing after 4s
Build & Test / E2E BlockSuite Test (5) (push) Failing after 3s
Build & Test / Unit Test (4) (push) Has been skipped
Build & Test / Unit Test (5) (push) Has been skipped
Build & Test / Native Unit Test (push) Has been skipped
Build & Test / Server Test (2, 4) (push) Has been skipped
Build & Test / Server Test (3, 4) (push) Has been skipped
Build & Test / Server Test with Elasticsearch (push) Has been skipped
Build & Test / Server Test with Embedded Search (push) Has been skipped
Build & Test / Server Test with Manticore Search (push) Has been skipped
Build & Test / Server E2E Test (push) Has been skipped
Build & Test / Cloud Desktop E2E Test (push) Has been skipped
Build & Test / Cloud E2E Test 1/2 (push) Has been skipped
Build & Test / Cloud E2E Test 2/2 (push) Has been skipped
Build & Test / Build @affine/electron renderer (push) Failing after 3s
Build & Test / Copilot test filter (push) Failing after 4s
Build & Test / Lint Rust (push) Has been skipped
Build & Test / Build Android app (push) Has been skipped
Build & Test / Test Android app (push) Has been skipped
Build & Test / Run native tests (push) Has been skipped
Build & Test / Server Copilot Api Test (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (3, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (4, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (1, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (2, 5) (push) Has been skipped
Build & Test / Frontend Copilot E2E Test (5, 5) (push) Has been skipped
Build & Test / Desktop Test (ubuntu-latest, linux, x64, x86_64-unknown-linux-gnu, true) (push) Has been cancelled
Build & Test / Desktop Test (windows-latest, windows, x64, x86_64-pc-windows-msvc, true) (push) Has been cancelled
Build & Test / 3, 2, 1 Launch (push) Has been cancelled
Build & Test / Lint (push) Has been cancelled
Build & Test / Typecheck (push) Has been cancelled
Build & Test / Build iOS app (push) Has been cancelled
Build & Test / Build AFFiNE native (aarch64-apple-darwin) (push) Has been cancelled
Build & Test / E2E Test (1) (push) Has been cancelled
Build & Test / E2E Test (2) (push) Has been cancelled
Build & Test / E2E Test (3) (push) Has been cancelled
Build & Test / E2E Test (4) (push) Has been cancelled
Build & Test / E2E Test (5) (push) Has been cancelled
Build & Test / Build AFFiNE native (x86_64-apple-darwin) (push) Has been cancelled
Build & Test / Build AFFiNE native (aarch64-pc-windows-msvc) (push) Has been cancelled
Build & Test / Build AFFiNE native (x86_64-pc-windows-msvc) (push) Has been cancelled
Build & Test / Desktop Test (macos-latest, macos, arm64, aarch64-apple-darwin, true) (push) Has been cancelled
Build & Test / Desktop Test (macos-latest, macos, x64, x86_64-apple-darwin, false) (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and can be edited to
|
||||
// implement advanced custom scalar functionality.
|
||||
//
|
||||
// Any changes to this file will not be overwritten by future
|
||||
// code generation execution.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
|
||||
public typealias DateTime = String
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and can be edited to
|
||||
// implement advanced custom scalar functionality.
|
||||
//
|
||||
// Any changes to this file will not be overwritten by future
|
||||
// code generation execution.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.
|
||||
public typealias ID = String
|
||||
@@ -0,0 +1,25 @@
|
||||
// @generated
|
||||
// This file was automatically generated and can be edited to
|
||||
// implement advanced custom scalar functionality.
|
||||
//
|
||||
// Any changes to this file will not be overwritten by future
|
||||
// code generation execution.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
|
||||
public struct JSON: CustomScalarType, Hashable, ExpressibleByDictionaryLiteral {
|
||||
public let value: JSONValue
|
||||
|
||||
public init(_jsonValue value: JSONValue) throws {
|
||||
self.value = value
|
||||
}
|
||||
|
||||
public init(dictionaryLiteral elements: (String, JSONValue)...) {
|
||||
value = ApolloAPI.JSONObject(uniqueKeysWithValues: elements) as JSONValue
|
||||
}
|
||||
|
||||
public var _jsonValue: JSONValue {
|
||||
value
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// @generated
|
||||
// This file was automatically generated and can be edited to
|
||||
// implement advanced custom scalar functionality.
|
||||
//
|
||||
// Any changes to this file will not be overwritten by future
|
||||
// code generation execution.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
|
||||
public struct JSONObject: CustomScalarType, Hashable, ExpressibleByDictionaryLiteral {
|
||||
public let object: ApolloAPI.JSONObject
|
||||
|
||||
public init(_jsonValue value: JSONValue) throws {
|
||||
object = try ApolloAPI.JSONObject(_jsonValue: value)
|
||||
}
|
||||
|
||||
public init(_ object: ApolloAPI.JSONObject) {
|
||||
self.object = object
|
||||
}
|
||||
|
||||
public init(dictionaryLiteral elements: (String, JSONValue)...) {
|
||||
object = ApolloAPI.JSONObject(uniqueKeysWithValues: elements)
|
||||
}
|
||||
|
||||
public var _jsonValue: JSONValue {
|
||||
object
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and can be edited to
|
||||
// implement advanced custom scalar functionality.
|
||||
//
|
||||
// Any changes to this file will not be overwritten by future
|
||||
// code generation execution.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// The `SafeInt` scalar type represents non-fractional signed whole numeric values that are considered safe as defined by the ECMAScript specification.
|
||||
public typealias SafeInt = String
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and can be edited to
|
||||
// implement advanced custom scalar functionality.
|
||||
//
|
||||
// Any changes to this file will not be overwritten by future
|
||||
// code generation execution.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// The `Upload` scalar type represents a file upload.
|
||||
public typealias Upload = String
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum AdminSharedLinksOrder: String, EnumType {
|
||||
case publishedAtDesc = "PublishedAtDesc"
|
||||
case updatedAtDesc = "UpdatedAtDesc"
|
||||
case viewsDesc = "ViewsDesc"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum AdminWorkspaceSort: String, EnumType {
|
||||
case blobCount = "BlobCount"
|
||||
case blobSize = "BlobSize"
|
||||
case createdAt = "CreatedAt"
|
||||
case memberCount = "MemberCount"
|
||||
case publicPageCount = "PublicPageCount"
|
||||
case snapshotCount = "SnapshotCount"
|
||||
case snapshotSize = "SnapshotSize"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum AiJobStatus: String, EnumType {
|
||||
case claimed = "claimed"
|
||||
case failed = "failed"
|
||||
case finished = "finished"
|
||||
case pending = "pending"
|
||||
case running = "running"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Blob upload method
|
||||
public enum BlobUploadMethod: String, EnumType {
|
||||
case graphql = "GRAPHQL"
|
||||
case multipart = "MULTIPART"
|
||||
case presigned = "PRESIGNED"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokProbeStatusKind: String, EnumType {
|
||||
case failed = "failed"
|
||||
case notTested = "not_tested"
|
||||
case verified = "verified"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokProvider: String, EnumType {
|
||||
case anthropic = "anthropic"
|
||||
case fal = "fal"
|
||||
case gemini = "gemini"
|
||||
case openai = "openai"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum CalendarProviderType: String, EnumType {
|
||||
case calDAV = "CalDAV"
|
||||
case google = "Google"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ChatHistoryOrder: String, EnumType {
|
||||
case asc = "asc"
|
||||
case desc = "desc"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Comment change action
|
||||
public enum CommentChangeAction: String, EnumType {
|
||||
case delete = "delete"
|
||||
case update = "update"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Doc mode
|
||||
public enum DocMode: String, EnumType {
|
||||
case edgeless = "edgeless"
|
||||
case page = "page"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// User permission in doc
|
||||
public enum DocRole: String, EnumType {
|
||||
case commenter = "Commenter"
|
||||
case editor = "Editor"
|
||||
case external = "External"
|
||||
case manager = "Manager"
|
||||
case none = "None"
|
||||
case owner = "Owner"
|
||||
case reader = "Reader"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum FeatureType: String, EnumType {
|
||||
case admin = "Admin"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum InvoiceStatus: String, EnumType {
|
||||
case draft = "Draft"
|
||||
case open = "Open"
|
||||
case paid = "Paid"
|
||||
case uncollectible = "Uncollectible"
|
||||
case void = "Void"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Notification level
|
||||
public enum NotificationLevel: String, EnumType {
|
||||
case `default` = "Default"
|
||||
case high = "High"
|
||||
case low = "Low"
|
||||
case min = "Min"
|
||||
case none = "None"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Notification type
|
||||
public enum NotificationType: String, EnumType {
|
||||
case comment = "Comment"
|
||||
case commentMention = "CommentMention"
|
||||
case invitation = "Invitation"
|
||||
case invitationAccepted = "InvitationAccepted"
|
||||
case invitationBlocked = "InvitationBlocked"
|
||||
case invitationRejected = "InvitationRejected"
|
||||
case invitationReviewApproved = "InvitationReviewApproved"
|
||||
case invitationReviewDeclined = "InvitationReviewDeclined"
|
||||
case invitationReviewRequest = "InvitationReviewRequest"
|
||||
case mention = "Mention"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum OAuthProviderType: String, EnumType {
|
||||
case apple = "Apple"
|
||||
case gitHub = "GitHub"
|
||||
case google = "Google"
|
||||
case oidc = "OIDC"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// User permission in workspace
|
||||
public enum Permission: String, EnumType {
|
||||
case admin = "Admin"
|
||||
case collaborator = "Collaborator"
|
||||
case external = "External"
|
||||
case owner = "Owner"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// The mode which the public doc default in
|
||||
public enum PublicDocMode: String, EnumType {
|
||||
case edgeless = "Edgeless"
|
||||
case page = "Page"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Search query occur
|
||||
public enum SearchQueryOccur: String, EnumType {
|
||||
case must = "must"
|
||||
case mustNot = "must_not"
|
||||
case should = "should"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Search query type
|
||||
public enum SearchQueryType: String, EnumType {
|
||||
case all = "all"
|
||||
case boolean = "boolean"
|
||||
case boost = "boost"
|
||||
case exists = "exists"
|
||||
case match = "match"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Search table
|
||||
public enum SearchTable: String, EnumType {
|
||||
case block = "block"
|
||||
case doc = "doc"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ServerDeploymentType: String, EnumType {
|
||||
case affine = "Affine"
|
||||
case selfhosted = "Selfhosted"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ServerFeature: String, EnumType {
|
||||
case captcha = "Captcha"
|
||||
case comment = "Comment"
|
||||
case copilot = "Copilot"
|
||||
case copilotEmbedding = "CopilotEmbedding"
|
||||
case indexer = "Indexer"
|
||||
case localWorkspace = "LocalWorkspace"
|
||||
case oAuth = "OAuth"
|
||||
case payment = "Payment"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum SubscriptionPlan: String, EnumType {
|
||||
case ai = "AI"
|
||||
case enterprise = "Enterprise"
|
||||
case free = "Free"
|
||||
case pro = "Pro"
|
||||
case selfHosted = "SelfHosted"
|
||||
case selfHostedTeam = "SelfHostedTeam"
|
||||
case team = "Team"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum SubscriptionRecurring: String, EnumType {
|
||||
case lifetime = "Lifetime"
|
||||
case monthly = "Monthly"
|
||||
case yearly = "Yearly"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum SubscriptionStatus: String, EnumType {
|
||||
case active = "Active"
|
||||
case canceled = "Canceled"
|
||||
case incomplete = "Incomplete"
|
||||
case incompleteExpired = "IncompleteExpired"
|
||||
case pastDue = "PastDue"
|
||||
case paused = "Paused"
|
||||
case trialing = "Trialing"
|
||||
case unpaid = "Unpaid"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum SubscriptionVariant: String, EnumType {
|
||||
case onetime = "Onetime"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum TimeBucket: String, EnumType {
|
||||
case day = "Day"
|
||||
case hour = "Hour"
|
||||
case minute = "Minute"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Workspace invite link expire time
|
||||
public enum WorkspaceInviteLinkExpireTime: String, EnumType {
|
||||
case oneDay = "OneDay"
|
||||
case oneMonth = "OneMonth"
|
||||
case oneWeek = "OneWeek"
|
||||
case threeDays = "ThreeDays"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
/// Member invite status in workspace
|
||||
public enum WorkspaceMemberStatus: String, EnumType {
|
||||
case accepted = "Accepted"
|
||||
case allocatingSeat = "AllocatingSeat"
|
||||
case needMoreSeat = "NeedMoreSeat"
|
||||
case needMoreSeatAndReview = "NeedMoreSeatAndReview"
|
||||
case pending = "Pending"
|
||||
case underReview = "UnderReview"
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AdminAllSharedLinksFilterInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
analyticsWindowDays: GraphQLNullable<Int> = nil,
|
||||
includeTotal: GraphQLNullable<Bool> = nil,
|
||||
keyword: GraphQLNullable<String> = nil,
|
||||
orderBy: GraphQLNullable<GraphQLEnum<AdminSharedLinksOrder>> = nil,
|
||||
updatedAfter: GraphQLNullable<DateTime> = nil,
|
||||
workspaceId: GraphQLNullable<String> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"analyticsWindowDays": analyticsWindowDays,
|
||||
"includeTotal": includeTotal,
|
||||
"keyword": keyword,
|
||||
"orderBy": orderBy,
|
||||
"updatedAfter": updatedAfter,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var analyticsWindowDays: GraphQLNullable<Int> {
|
||||
get { __data["analyticsWindowDays"] }
|
||||
set { __data["analyticsWindowDays"] = newValue }
|
||||
}
|
||||
|
||||
public var includeTotal: GraphQLNullable<Bool> {
|
||||
get { __data["includeTotal"] }
|
||||
set { __data["includeTotal"] = newValue }
|
||||
}
|
||||
|
||||
public var keyword: GraphQLNullable<String> {
|
||||
get { __data["keyword"] }
|
||||
set { __data["keyword"] = newValue }
|
||||
}
|
||||
|
||||
public var orderBy: GraphQLNullable<GraphQLEnum<AdminSharedLinksOrder>> {
|
||||
get { __data["orderBy"] }
|
||||
set { __data["orderBy"] = newValue }
|
||||
}
|
||||
|
||||
public var updatedAfter: GraphQLNullable<DateTime> {
|
||||
get { __data["updatedAfter"] }
|
||||
set { __data["updatedAfter"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: GraphQLNullable<String> {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AdminDashboardInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
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,
|
||||
"timezone": timezone
|
||||
])
|
||||
}
|
||||
|
||||
public var copilotWindowDays: GraphQLNullable<Int> {
|
||||
get { __data["copilotWindowDays"] }
|
||||
set { __data["copilotWindowDays"] = newValue }
|
||||
}
|
||||
|
||||
public var sharedLinkWindowDays: GraphQLNullable<Int> {
|
||||
get { __data["sharedLinkWindowDays"] }
|
||||
set { __data["sharedLinkWindowDays"] = newValue }
|
||||
}
|
||||
|
||||
public var storageHistoryDays: GraphQLNullable<Int> {
|
||||
get { __data["storageHistoryDays"] }
|
||||
set { __data["storageHistoryDays"] = newValue }
|
||||
}
|
||||
|
||||
public var syncHistoryHours: GraphQLNullable<Int> {
|
||||
get { __data["syncHistoryHours"] }
|
||||
set { __data["syncHistoryHours"] = newValue }
|
||||
}
|
||||
|
||||
public var timezone: GraphQLNullable<String> {
|
||||
get { __data["timezone"] }
|
||||
set { __data["timezone"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AdminUpdateWorkspaceInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
avatarKey: GraphQLNullable<String> = nil,
|
||||
enableAi: GraphQLNullable<Bool> = nil,
|
||||
enableDocEmbedding: GraphQLNullable<Bool> = nil,
|
||||
enableSharing: GraphQLNullable<Bool> = nil,
|
||||
enableUrlPreview: GraphQLNullable<Bool> = nil,
|
||||
id: String,
|
||||
name: GraphQLNullable<String> = nil,
|
||||
`public`: GraphQLNullable<Bool> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"avatarKey": avatarKey,
|
||||
"enableAi": enableAi,
|
||||
"enableDocEmbedding": enableDocEmbedding,
|
||||
"enableSharing": enableSharing,
|
||||
"enableUrlPreview": enableUrlPreview,
|
||||
"id": id,
|
||||
"name": name,
|
||||
"public": `public`
|
||||
])
|
||||
}
|
||||
|
||||
public var avatarKey: GraphQLNullable<String> {
|
||||
get { __data["avatarKey"] }
|
||||
set { __data["avatarKey"] = newValue }
|
||||
}
|
||||
|
||||
public var enableAi: GraphQLNullable<Bool> {
|
||||
get { __data["enableAi"] }
|
||||
set { __data["enableAi"] = newValue }
|
||||
}
|
||||
|
||||
public var enableDocEmbedding: GraphQLNullable<Bool> {
|
||||
get { __data["enableDocEmbedding"] }
|
||||
set { __data["enableDocEmbedding"] = newValue }
|
||||
}
|
||||
|
||||
public var enableSharing: GraphQLNullable<Bool> {
|
||||
get { __data["enableSharing"] }
|
||||
set { __data["enableSharing"] = newValue }
|
||||
}
|
||||
|
||||
public var enableUrlPreview: GraphQLNullable<Bool> {
|
||||
get { __data["enableUrlPreview"] }
|
||||
set { __data["enableUrlPreview"] = newValue }
|
||||
}
|
||||
|
||||
public var id: String {
|
||||
get { __data["id"] }
|
||||
set { __data["id"] = newValue }
|
||||
}
|
||||
|
||||
public var name: GraphQLNullable<String> {
|
||||
get { __data["name"] }
|
||||
set { __data["name"] = newValue }
|
||||
}
|
||||
|
||||
public var `public`: GraphQLNullable<Bool> {
|
||||
get { __data["public"] }
|
||||
set { __data["public"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AggregateHitsOptions: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
fields: [String],
|
||||
highlights: GraphQLNullable<[SearchHighlight]> = nil,
|
||||
pagination: GraphQLNullable<AggregateHitsPagination> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"fields": fields,
|
||||
"highlights": highlights,
|
||||
"pagination": pagination
|
||||
])
|
||||
}
|
||||
|
||||
public var fields: [String] {
|
||||
get { __data["fields"] }
|
||||
set { __data["fields"] = newValue }
|
||||
}
|
||||
|
||||
public var highlights: GraphQLNullable<[SearchHighlight]> {
|
||||
get { __data["highlights"] }
|
||||
set { __data["highlights"] = newValue }
|
||||
}
|
||||
|
||||
public var pagination: GraphQLNullable<AggregateHitsPagination> {
|
||||
get { __data["pagination"] }
|
||||
set { __data["pagination"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AggregateHitsPagination: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
limit: GraphQLNullable<Int> = nil,
|
||||
skip: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"limit": limit,
|
||||
"skip": skip
|
||||
])
|
||||
}
|
||||
|
||||
public var limit: GraphQLNullable<Int> {
|
||||
get { __data["limit"] }
|
||||
set { __data["limit"] = newValue }
|
||||
}
|
||||
|
||||
public var skip: GraphQLNullable<Int> {
|
||||
get { __data["skip"] }
|
||||
set { __data["skip"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AggregateInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
field: String,
|
||||
options: AggregateOptions,
|
||||
query: SearchQuery,
|
||||
table: GraphQLEnum<SearchTable>
|
||||
) {
|
||||
__data = InputDict([
|
||||
"field": field,
|
||||
"options": options,
|
||||
"query": query,
|
||||
"table": table
|
||||
])
|
||||
}
|
||||
|
||||
public var field: String {
|
||||
get { __data["field"] }
|
||||
set { __data["field"] = newValue }
|
||||
}
|
||||
|
||||
public var options: AggregateOptions {
|
||||
get { __data["options"] }
|
||||
set { __data["options"] = newValue }
|
||||
}
|
||||
|
||||
public var query: SearchQuery {
|
||||
get { __data["query"] }
|
||||
set { __data["query"] = newValue }
|
||||
}
|
||||
|
||||
public var table: GraphQLEnum<SearchTable> {
|
||||
get { __data["table"] }
|
||||
set { __data["table"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AggregateOptions: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
hits: AggregateHitsOptions,
|
||||
pagination: GraphQLNullable<SearchPagination> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"hits": hits,
|
||||
"pagination": pagination
|
||||
])
|
||||
}
|
||||
|
||||
public var hits: AggregateHitsOptions {
|
||||
get { __data["hits"] }
|
||||
set { __data["hits"] = newValue }
|
||||
}
|
||||
|
||||
public var pagination: GraphQLNullable<SearchPagination> {
|
||||
get { __data["pagination"] }
|
||||
set { __data["pagination"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct AudioSliceManifestItemInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
byteSize: GraphQLNullable<Int> = nil,
|
||||
durationSec: Double,
|
||||
fileName: String,
|
||||
index: Int,
|
||||
mimeType: String,
|
||||
startSec: Double
|
||||
) {
|
||||
__data = InputDict([
|
||||
"byteSize": byteSize,
|
||||
"durationSec": durationSec,
|
||||
"fileName": fileName,
|
||||
"index": index,
|
||||
"mimeType": mimeType,
|
||||
"startSec": startSec
|
||||
])
|
||||
}
|
||||
|
||||
public var byteSize: GraphQLNullable<Int> {
|
||||
get { __data["byteSize"] }
|
||||
set { __data["byteSize"] = newValue }
|
||||
}
|
||||
|
||||
public var durationSec: Double {
|
||||
get { __data["durationSec"] }
|
||||
set { __data["durationSec"] = newValue }
|
||||
}
|
||||
|
||||
public var fileName: String {
|
||||
get { __data["fileName"] }
|
||||
set { __data["fileName"] = newValue }
|
||||
}
|
||||
|
||||
public var index: Int {
|
||||
get { __data["index"] }
|
||||
set { __data["index"] = newValue }
|
||||
}
|
||||
|
||||
public var mimeType: String {
|
||||
get { __data["mimeType"] }
|
||||
set { __data["mimeType"] = newValue }
|
||||
}
|
||||
|
||||
public var startSec: Double {
|
||||
get { __data["startSec"] }
|
||||
set { __data["startSec"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct BlobUploadPartInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
etag: String,
|
||||
partNumber: Int
|
||||
) {
|
||||
__data = InputDict([
|
||||
"etag": etag,
|
||||
"partNumber": partNumber
|
||||
])
|
||||
}
|
||||
|
||||
public var etag: String {
|
||||
get { __data["etag"] }
|
||||
set { __data["etag"] = newValue }
|
||||
}
|
||||
|
||||
public var partNumber: Int {
|
||||
get { __data["partNumber"] }
|
||||
set { __data["partNumber"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CommentCreateInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
content: JSONObject,
|
||||
docId: ID,
|
||||
docMode: GraphQLEnum<DocMode>,
|
||||
docTitle: String,
|
||||
mentions: GraphQLNullable<[String]> = nil,
|
||||
workspaceId: ID
|
||||
) {
|
||||
__data = InputDict([
|
||||
"content": content,
|
||||
"docId": docId,
|
||||
"docMode": docMode,
|
||||
"docTitle": docTitle,
|
||||
"mentions": mentions,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var content: JSONObject {
|
||||
get { __data["content"] }
|
||||
set { __data["content"] = newValue }
|
||||
}
|
||||
|
||||
public var docId: ID {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
|
||||
public var docMode: GraphQLEnum<DocMode> {
|
||||
get { __data["docMode"] }
|
||||
set { __data["docMode"] = newValue }
|
||||
}
|
||||
|
||||
public var docTitle: String {
|
||||
get { __data["docTitle"] }
|
||||
set { __data["docTitle"] = newValue }
|
||||
}
|
||||
|
||||
/// The mention user ids, if not provided, the comment will not be mentioned
|
||||
public var mentions: GraphQLNullable<[String]> {
|
||||
get { __data["mentions"] }
|
||||
set { __data["mentions"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: ID {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CommentResolveInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
id: ID,
|
||||
resolved: Bool
|
||||
) {
|
||||
__data = InputDict([
|
||||
"id": id,
|
||||
"resolved": resolved
|
||||
])
|
||||
}
|
||||
|
||||
public var id: ID {
|
||||
get { __data["id"] }
|
||||
set { __data["id"] = newValue }
|
||||
}
|
||||
|
||||
/// Whether the comment is resolved
|
||||
public var resolved: Bool {
|
||||
get { __data["resolved"] }
|
||||
set { __data["resolved"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CommentUpdateInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
content: JSONObject,
|
||||
id: ID
|
||||
) {
|
||||
__data = InputDict([
|
||||
"content": content,
|
||||
"id": id
|
||||
])
|
||||
}
|
||||
|
||||
public var content: JSONObject {
|
||||
get { __data["content"] }
|
||||
set { __data["content"] = newValue }
|
||||
}
|
||||
|
||||
public var id: ID {
|
||||
get { __data["id"] }
|
||||
set { __data["id"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CreateChatMessageInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
blob: GraphQLNullable<Upload> = nil,
|
||||
blobs: GraphQLNullable<[Upload]> = nil,
|
||||
content: GraphQLNullable<String> = nil,
|
||||
params: GraphQLNullable<JSON> = nil,
|
||||
sessionId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"blob": blob,
|
||||
"blobs": blobs,
|
||||
"content": content,
|
||||
"params": params,
|
||||
"sessionId": sessionId
|
||||
])
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "Argument 'attachments' is deprecated.")
|
||||
public init(
|
||||
attachments: GraphQLNullable<[String]> = nil,
|
||||
blob: GraphQLNullable<Upload> = nil,
|
||||
blobs: GraphQLNullable<[Upload]> = nil,
|
||||
content: GraphQLNullable<String> = nil,
|
||||
params: GraphQLNullable<JSON> = nil,
|
||||
sessionId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"attachments": attachments,
|
||||
"blob": blob,
|
||||
"blobs": blobs,
|
||||
"content": content,
|
||||
"params": params,
|
||||
"sessionId": sessionId
|
||||
])
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "use blobs")
|
||||
public var attachments: GraphQLNullable<[String]> {
|
||||
get { __data["attachments"] }
|
||||
set { __data["attachments"] = newValue }
|
||||
}
|
||||
|
||||
public var blob: GraphQLNullable<Upload> {
|
||||
get { __data["blob"] }
|
||||
set { __data["blob"] = newValue }
|
||||
}
|
||||
|
||||
public var blobs: GraphQLNullable<[Upload]> {
|
||||
get { __data["blobs"] }
|
||||
set { __data["blobs"] = newValue }
|
||||
}
|
||||
|
||||
public var content: GraphQLNullable<String> {
|
||||
get { __data["content"] }
|
||||
set { __data["content"] = newValue }
|
||||
}
|
||||
|
||||
public var params: GraphQLNullable<JSON> {
|
||||
get { __data["params"] }
|
||||
set { __data["params"] = newValue }
|
||||
}
|
||||
|
||||
public var sessionId: String {
|
||||
get { __data["sessionId"] }
|
||||
set { __data["sessionId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CreateChatSessionInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
docId: GraphQLNullable<String> = nil,
|
||||
pinned: GraphQLNullable<Bool> = nil,
|
||||
promptName: String,
|
||||
reuseLatestChat: GraphQLNullable<Bool> = nil,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"docId": docId,
|
||||
"pinned": pinned,
|
||||
"promptName": promptName,
|
||||
"reuseLatestChat": reuseLatestChat,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var docId: GraphQLNullable<String> {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
|
||||
public var pinned: GraphQLNullable<Bool> {
|
||||
get { __data["pinned"] }
|
||||
set { __data["pinned"] = newValue }
|
||||
}
|
||||
|
||||
/// The prompt name to use for the session
|
||||
public var promptName: String {
|
||||
get { __data["promptName"] }
|
||||
set { __data["promptName"] = newValue }
|
||||
}
|
||||
|
||||
/// true by default, compliant for old version
|
||||
public var reuseLatestChat: GraphQLNullable<Bool> {
|
||||
get { __data["reuseLatestChat"] }
|
||||
set { __data["reuseLatestChat"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CreateCheckoutSessionInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
args: GraphQLNullable<JSONObject> = nil,
|
||||
coupon: GraphQLNullable<String> = nil,
|
||||
plan: GraphQLNullable<GraphQLEnum<SubscriptionPlan>> = nil,
|
||||
recurring: GraphQLNullable<GraphQLEnum<SubscriptionRecurring>> = nil,
|
||||
successCallbackLink: String,
|
||||
variant: GraphQLNullable<GraphQLEnum<SubscriptionVariant>> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"args": args,
|
||||
"coupon": coupon,
|
||||
"plan": plan,
|
||||
"recurring": recurring,
|
||||
"successCallbackLink": successCallbackLink,
|
||||
"variant": variant
|
||||
])
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "Argument 'idempotencyKey' is deprecated.")
|
||||
public init(
|
||||
args: GraphQLNullable<JSONObject> = nil,
|
||||
coupon: GraphQLNullable<String> = nil,
|
||||
idempotencyKey: GraphQLNullable<String> = nil,
|
||||
plan: GraphQLNullable<GraphQLEnum<SubscriptionPlan>> = nil,
|
||||
recurring: GraphQLNullable<GraphQLEnum<SubscriptionRecurring>> = nil,
|
||||
successCallbackLink: String,
|
||||
variant: GraphQLNullable<GraphQLEnum<SubscriptionVariant>> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"args": args,
|
||||
"coupon": coupon,
|
||||
"idempotencyKey": idempotencyKey,
|
||||
"plan": plan,
|
||||
"recurring": recurring,
|
||||
"successCallbackLink": successCallbackLink,
|
||||
"variant": variant
|
||||
])
|
||||
}
|
||||
|
||||
public var args: GraphQLNullable<JSONObject> {
|
||||
get { __data["args"] }
|
||||
set { __data["args"] = newValue }
|
||||
}
|
||||
|
||||
public var coupon: GraphQLNullable<String> {
|
||||
get { __data["coupon"] }
|
||||
set { __data["coupon"] = newValue }
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "not required anymore")
|
||||
public var idempotencyKey: GraphQLNullable<String> {
|
||||
get { __data["idempotencyKey"] }
|
||||
set { __data["idempotencyKey"] = newValue }
|
||||
}
|
||||
|
||||
public var plan: GraphQLNullable<GraphQLEnum<SubscriptionPlan>> {
|
||||
get { __data["plan"] }
|
||||
set { __data["plan"] = newValue }
|
||||
}
|
||||
|
||||
public var recurring: GraphQLNullable<GraphQLEnum<SubscriptionRecurring>> {
|
||||
get { __data["recurring"] }
|
||||
set { __data["recurring"] = newValue }
|
||||
}
|
||||
|
||||
public var successCallbackLink: String {
|
||||
get { __data["successCallbackLink"] }
|
||||
set { __data["successCallbackLink"] = newValue }
|
||||
}
|
||||
|
||||
public var variant: GraphQLNullable<GraphQLEnum<SubscriptionVariant>> {
|
||||
get { __data["variant"] }
|
||||
set { __data["variant"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CreateUserInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
email: String,
|
||||
name: GraphQLNullable<String> = nil,
|
||||
password: GraphQLNullable<String> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"email": email,
|
||||
"name": name,
|
||||
"password": password
|
||||
])
|
||||
}
|
||||
|
||||
public var email: String {
|
||||
get { __data["email"] }
|
||||
set { __data["email"] = newValue }
|
||||
}
|
||||
|
||||
public var name: GraphQLNullable<String> {
|
||||
get { __data["name"] }
|
||||
set { __data["name"] = newValue }
|
||||
}
|
||||
|
||||
public var password: GraphQLNullable<String> {
|
||||
get { __data["password"] }
|
||||
set { __data["password"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CreateWorkspaceByokLocalLeaseInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
providers: [CreateWorkspaceByokLocalLeaseProviderInput],
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"providers": providers,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var providers: [CreateWorkspaceByokLocalLeaseProviderInput] {
|
||||
get { __data["providers"] }
|
||||
set { __data["providers"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CreateWorkspaceByokLocalLeaseProviderInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
credential: String,
|
||||
definition: WorkspaceByokProfileDefinitionInput,
|
||||
description: GraphQLNullable<String> = nil,
|
||||
enabled: Bool,
|
||||
name: String,
|
||||
provider: GraphQLEnum<ByokProvider>
|
||||
) {
|
||||
__data = InputDict([
|
||||
"credential": credential,
|
||||
"definition": definition,
|
||||
"description": description,
|
||||
"enabled": enabled,
|
||||
"name": name,
|
||||
"provider": provider
|
||||
])
|
||||
}
|
||||
|
||||
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> {
|
||||
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 provider: GraphQLEnum<ByokProvider> {
|
||||
get { __data["provider"] }
|
||||
set { __data["provider"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct CreateWorkspaceByokProfileInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
credential: String,
|
||||
definition: WorkspaceByokProfileDefinitionInput,
|
||||
description: GraphQLNullable<String> = nil,
|
||||
enabled: Bool,
|
||||
name: String,
|
||||
provider: GraphQLEnum<ByokProvider>,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"credential": credential,
|
||||
"definition": definition,
|
||||
"description": description,
|
||||
"enabled": enabled,
|
||||
"name": name,
|
||||
"provider": provider,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
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> {
|
||||
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 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 DeleteSessionInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
docId: GraphQLNullable<String> = nil,
|
||||
sessionIds: [String],
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"docId": docId,
|
||||
"sessionIds": sessionIds,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var docId: GraphQLNullable<String> {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
|
||||
public var sessionIds: [String] {
|
||||
get { __data["sessionIds"] }
|
||||
set { __data["sessionIds"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct DocPageAnalyticsInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
timezone: GraphQLNullable<String> = nil,
|
||||
windowDays: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"timezone": timezone,
|
||||
"windowDays": windowDays
|
||||
])
|
||||
}
|
||||
|
||||
public var timezone: GraphQLNullable<String> {
|
||||
get { __data["timezone"] }
|
||||
set { __data["timezone"] = newValue }
|
||||
}
|
||||
|
||||
public var windowDays: GraphQLNullable<Int> {
|
||||
get { __data["windowDays"] }
|
||||
set { __data["windowDays"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ForkChatSessionInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
docId: String,
|
||||
latestMessageId: GraphQLNullable<String> = nil,
|
||||
sessionId: String,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"docId": docId,
|
||||
"latestMessageId": latestMessageId,
|
||||
"sessionId": sessionId,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var docId: String {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
|
||||
/// Identify a message in the array and keep it with all previous messages into a forked session.
|
||||
public var latestMessageId: GraphQLNullable<String> {
|
||||
get { __data["latestMessageId"] }
|
||||
set { __data["latestMessageId"] = newValue }
|
||||
}
|
||||
|
||||
public var sessionId: String {
|
||||
get { __data["sessionId"] }
|
||||
set { __data["sessionId"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct GrantDocUserRolesInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
docId: String,
|
||||
role: GraphQLEnum<DocRole>,
|
||||
userIds: [String],
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"docId": docId,
|
||||
"role": role,
|
||||
"userIds": userIds,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var docId: String {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
|
||||
public var role: GraphQLEnum<DocRole> {
|
||||
get { __data["role"] }
|
||||
set { __data["role"] = newValue }
|
||||
}
|
||||
|
||||
public var userIds: [String] {
|
||||
get { __data["userIds"] }
|
||||
set { __data["userIds"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ImportUsersInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
users: [CreateUserInput]
|
||||
) {
|
||||
__data = InputDict([
|
||||
"users": users
|
||||
])
|
||||
}
|
||||
|
||||
public var users: [CreateUserInput] {
|
||||
get { __data["users"] }
|
||||
set { __data["users"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct LinkCalDAVAccountInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
displayName: GraphQLNullable<String> = nil,
|
||||
password: String,
|
||||
providerPresetId: String,
|
||||
username: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"displayName": displayName,
|
||||
"password": password,
|
||||
"providerPresetId": providerPresetId,
|
||||
"username": username
|
||||
])
|
||||
}
|
||||
|
||||
public var displayName: GraphQLNullable<String> {
|
||||
get { __data["displayName"] }
|
||||
set { __data["displayName"] = newValue }
|
||||
}
|
||||
|
||||
public var password: String {
|
||||
get { __data["password"] }
|
||||
set { __data["password"] = newValue }
|
||||
}
|
||||
|
||||
public var providerPresetId: String {
|
||||
get { __data["providerPresetId"] }
|
||||
set { __data["providerPresetId"] = newValue }
|
||||
}
|
||||
|
||||
public var username: String {
|
||||
get { __data["username"] }
|
||||
set { __data["username"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct LinkCalendarAccountInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
provider: GraphQLEnum<CalendarProviderType>,
|
||||
redirectUri: GraphQLNullable<String> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"provider": provider,
|
||||
"redirectUri": redirectUri
|
||||
])
|
||||
}
|
||||
|
||||
public var provider: GraphQLEnum<CalendarProviderType> {
|
||||
get { __data["provider"] }
|
||||
set { __data["provider"] = newValue }
|
||||
}
|
||||
|
||||
public var redirectUri: GraphQLNullable<String> {
|
||||
get { __data["redirectUri"] }
|
||||
set { __data["redirectUri"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ListUserInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
features: GraphQLNullable<[GraphQLEnum<FeatureType>]> = nil,
|
||||
first: GraphQLNullable<Int> = nil,
|
||||
keyword: GraphQLNullable<String> = nil,
|
||||
skip: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"features": features,
|
||||
"first": first,
|
||||
"keyword": keyword,
|
||||
"skip": skip
|
||||
])
|
||||
}
|
||||
|
||||
public var features: GraphQLNullable<[GraphQLEnum<FeatureType>]> {
|
||||
get { __data["features"] }
|
||||
set { __data["features"] = newValue }
|
||||
}
|
||||
|
||||
public var first: GraphQLNullable<Int> {
|
||||
get { __data["first"] }
|
||||
set { __data["first"] = newValue }
|
||||
}
|
||||
|
||||
public var keyword: GraphQLNullable<String> {
|
||||
get { __data["keyword"] }
|
||||
set { __data["keyword"] = newValue }
|
||||
}
|
||||
|
||||
public var skip: GraphQLNullable<Int> {
|
||||
get { __data["skip"] }
|
||||
set { __data["skip"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ListWorkspaceInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
enableAi: GraphQLNullable<Bool> = nil,
|
||||
enableDocEmbedding: GraphQLNullable<Bool> = nil,
|
||||
enableSharing: GraphQLNullable<Bool> = nil,
|
||||
enableUrlPreview: GraphQLNullable<Bool> = nil,
|
||||
first: Int? = nil,
|
||||
keyword: GraphQLNullable<String> = nil,
|
||||
orderBy: GraphQLNullable<GraphQLEnum<AdminWorkspaceSort>> = nil,
|
||||
`public`: GraphQLNullable<Bool> = nil,
|
||||
skip: Int? = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"enableAi": enableAi,
|
||||
"enableDocEmbedding": enableDocEmbedding,
|
||||
"enableSharing": enableSharing,
|
||||
"enableUrlPreview": enableUrlPreview,
|
||||
"first": first,
|
||||
"keyword": keyword,
|
||||
"orderBy": orderBy,
|
||||
"public": `public`,
|
||||
"skip": skip
|
||||
])
|
||||
}
|
||||
|
||||
public var enableAi: GraphQLNullable<Bool> {
|
||||
get { __data["enableAi"] }
|
||||
set { __data["enableAi"] = newValue }
|
||||
}
|
||||
|
||||
public var enableDocEmbedding: GraphQLNullable<Bool> {
|
||||
get { __data["enableDocEmbedding"] }
|
||||
set { __data["enableDocEmbedding"] = newValue }
|
||||
}
|
||||
|
||||
public var enableSharing: GraphQLNullable<Bool> {
|
||||
get { __data["enableSharing"] }
|
||||
set { __data["enableSharing"] = newValue }
|
||||
}
|
||||
|
||||
public var enableUrlPreview: GraphQLNullable<Bool> {
|
||||
get { __data["enableUrlPreview"] }
|
||||
set { __data["enableUrlPreview"] = newValue }
|
||||
}
|
||||
|
||||
public var first: Int? {
|
||||
get { __data["first"] }
|
||||
set { __data["first"] = newValue }
|
||||
}
|
||||
|
||||
public var keyword: GraphQLNullable<String> {
|
||||
get { __data["keyword"] }
|
||||
set { __data["keyword"] = newValue }
|
||||
}
|
||||
|
||||
public var orderBy: GraphQLNullable<GraphQLEnum<AdminWorkspaceSort>> {
|
||||
get { __data["orderBy"] }
|
||||
set { __data["orderBy"] = newValue }
|
||||
}
|
||||
|
||||
public var `public`: GraphQLNullable<Bool> {
|
||||
get { __data["public"] }
|
||||
set { __data["public"] = newValue }
|
||||
}
|
||||
|
||||
public var skip: Int? {
|
||||
get { __data["skip"] }
|
||||
set { __data["skip"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ManageUserInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
email: GraphQLNullable<String> = nil,
|
||||
name: GraphQLNullable<String> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"email": email,
|
||||
"name": name
|
||||
])
|
||||
}
|
||||
|
||||
/// User email
|
||||
public var email: GraphQLNullable<String> {
|
||||
get { __data["email"] }
|
||||
set { __data["email"] = newValue }
|
||||
}
|
||||
|
||||
/// User name
|
||||
public var name: GraphQLNullable<String> {
|
||||
get { __data["name"] }
|
||||
set { __data["name"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct MentionDocInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
blockId: GraphQLNullable<String> = nil,
|
||||
elementId: GraphQLNullable<String> = nil,
|
||||
id: String,
|
||||
mode: GraphQLEnum<DocMode>,
|
||||
title: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"blockId": blockId,
|
||||
"elementId": elementId,
|
||||
"id": id,
|
||||
"mode": mode,
|
||||
"title": title
|
||||
])
|
||||
}
|
||||
|
||||
/// The block id in the doc
|
||||
public var blockId: GraphQLNullable<String> {
|
||||
get { __data["blockId"] }
|
||||
set { __data["blockId"] = newValue }
|
||||
}
|
||||
|
||||
/// The element id in the doc
|
||||
public var elementId: GraphQLNullable<String> {
|
||||
get { __data["elementId"] }
|
||||
set { __data["elementId"] = newValue }
|
||||
}
|
||||
|
||||
public var id: String {
|
||||
get { __data["id"] }
|
||||
set { __data["id"] = newValue }
|
||||
}
|
||||
|
||||
public var mode: GraphQLEnum<DocMode> {
|
||||
get { __data["mode"] }
|
||||
set { __data["mode"] = newValue }
|
||||
}
|
||||
|
||||
public var title: String {
|
||||
get { __data["title"] }
|
||||
set { __data["title"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct MentionInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
doc: MentionDocInput,
|
||||
userId: String,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"doc": doc,
|
||||
"userId": userId,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var doc: MentionDocInput {
|
||||
get { __data["doc"] }
|
||||
set { __data["doc"] = newValue }
|
||||
}
|
||||
|
||||
public var userId: String {
|
||||
get { __data["userId"] }
|
||||
set { __data["userId"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct PaginationInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
after: GraphQLNullable<String> = nil,
|
||||
first: GraphQLNullable<Int> = nil,
|
||||
offset: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"after": after,
|
||||
"first": first,
|
||||
"offset": offset
|
||||
])
|
||||
}
|
||||
|
||||
/// returns the elements in the list that come after the specified cursor.
|
||||
public var after: GraphQLNullable<String> {
|
||||
get { __data["after"] }
|
||||
set { __data["after"] = newValue }
|
||||
}
|
||||
|
||||
/// returns the first n elements from the list.
|
||||
public var first: GraphQLNullable<Int> {
|
||||
get { __data["first"] }
|
||||
set { __data["first"] = newValue }
|
||||
}
|
||||
|
||||
/// ignore the first n elements from the list.
|
||||
public var offset: GraphQLNullable<Int> {
|
||||
get { __data["offset"] }
|
||||
set { __data["offset"] = 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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct QueryChatHistoriesInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
action: GraphQLNullable<Bool> = nil,
|
||||
fork: GraphQLNullable<Bool> = nil,
|
||||
limit: GraphQLNullable<Int> = nil,
|
||||
messageOrder: GraphQLNullable<GraphQLEnum<ChatHistoryOrder>> = nil,
|
||||
pinned: GraphQLNullable<Bool> = nil,
|
||||
sessionId: GraphQLNullable<String> = nil,
|
||||
sessionOrder: GraphQLNullable<GraphQLEnum<ChatHistoryOrder>> = nil,
|
||||
skip: GraphQLNullable<Int> = nil,
|
||||
withMessages: GraphQLNullable<Bool> = nil,
|
||||
withPrompt: GraphQLNullable<Bool> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"action": action,
|
||||
"fork": fork,
|
||||
"limit": limit,
|
||||
"messageOrder": messageOrder,
|
||||
"pinned": pinned,
|
||||
"sessionId": sessionId,
|
||||
"sessionOrder": sessionOrder,
|
||||
"skip": skip,
|
||||
"withMessages": withMessages,
|
||||
"withPrompt": withPrompt
|
||||
])
|
||||
}
|
||||
|
||||
public var action: GraphQLNullable<Bool> {
|
||||
get { __data["action"] }
|
||||
set { __data["action"] = newValue }
|
||||
}
|
||||
|
||||
public var fork: GraphQLNullable<Bool> {
|
||||
get { __data["fork"] }
|
||||
set { __data["fork"] = newValue }
|
||||
}
|
||||
|
||||
public var limit: GraphQLNullable<Int> {
|
||||
get { __data["limit"] }
|
||||
set { __data["limit"] = newValue }
|
||||
}
|
||||
|
||||
public var messageOrder: GraphQLNullable<GraphQLEnum<ChatHistoryOrder>> {
|
||||
get { __data["messageOrder"] }
|
||||
set { __data["messageOrder"] = newValue }
|
||||
}
|
||||
|
||||
public var pinned: GraphQLNullable<Bool> {
|
||||
get { __data["pinned"] }
|
||||
set { __data["pinned"] = newValue }
|
||||
}
|
||||
|
||||
public var sessionId: GraphQLNullable<String> {
|
||||
get { __data["sessionId"] }
|
||||
set { __data["sessionId"] = newValue }
|
||||
}
|
||||
|
||||
public var sessionOrder: GraphQLNullable<GraphQLEnum<ChatHistoryOrder>> {
|
||||
get { __data["sessionOrder"] }
|
||||
set { __data["sessionOrder"] = newValue }
|
||||
}
|
||||
|
||||
public var skip: GraphQLNullable<Int> {
|
||||
get { __data["skip"] }
|
||||
set { __data["skip"] = newValue }
|
||||
}
|
||||
|
||||
public var withMessages: GraphQLNullable<Bool> {
|
||||
get { __data["withMessages"] }
|
||||
set { __data["withMessages"] = newValue }
|
||||
}
|
||||
|
||||
public var withPrompt: GraphQLNullable<Bool> {
|
||||
get { __data["withPrompt"] }
|
||||
set { __data["withPrompt"] = 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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
// @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(
|
||||
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 }
|
||||
}
|
||||
|
||||
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 expectedRevision: SafeInt {
|
||||
get { __data["expectedRevision"] }
|
||||
set { __data["expectedRevision"] = 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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ReplyCreateInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
commentId: ID,
|
||||
content: JSONObject,
|
||||
docMode: GraphQLEnum<DocMode>,
|
||||
docTitle: String,
|
||||
mentions: GraphQLNullable<[String]> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"commentId": commentId,
|
||||
"content": content,
|
||||
"docMode": docMode,
|
||||
"docTitle": docTitle,
|
||||
"mentions": mentions
|
||||
])
|
||||
}
|
||||
|
||||
public var commentId: ID {
|
||||
get { __data["commentId"] }
|
||||
set { __data["commentId"] = newValue }
|
||||
}
|
||||
|
||||
public var content: JSONObject {
|
||||
get { __data["content"] }
|
||||
set { __data["content"] = newValue }
|
||||
}
|
||||
|
||||
public var docMode: GraphQLEnum<DocMode> {
|
||||
get { __data["docMode"] }
|
||||
set { __data["docMode"] = newValue }
|
||||
}
|
||||
|
||||
public var docTitle: String {
|
||||
get { __data["docTitle"] }
|
||||
set { __data["docTitle"] = newValue }
|
||||
}
|
||||
|
||||
/// The mention user ids, if not provided, the comment reply will not be mentioned
|
||||
public var mentions: GraphQLNullable<[String]> {
|
||||
get { __data["mentions"] }
|
||||
set { __data["mentions"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ReplyUpdateInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
content: JSONObject,
|
||||
id: ID
|
||||
) {
|
||||
__data = InputDict([
|
||||
"content": content,
|
||||
"id": id
|
||||
])
|
||||
}
|
||||
|
||||
public var content: JSONObject {
|
||||
get { __data["content"] }
|
||||
set { __data["content"] = newValue }
|
||||
}
|
||||
|
||||
public var id: ID {
|
||||
get { __data["id"] }
|
||||
set { __data["id"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct RevokeDocUserRoleInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
docId: String,
|
||||
userId: String,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"docId": docId,
|
||||
"userId": userId,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var docId: String {
|
||||
get { __data["docId"] }
|
||||
set { __data["docId"] = newValue }
|
||||
}
|
||||
|
||||
public var userId: String {
|
||||
get { __data["userId"] }
|
||||
set { __data["userId"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct RotateWorkspaceByokCredentialInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
credential: String,
|
||||
expectedRevision: SafeInt,
|
||||
profileId: ID,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"credential": credential,
|
||||
"expectedRevision": expectedRevision,
|
||||
"profileId": profileId,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var credential: String {
|
||||
get { __data["credential"] }
|
||||
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 }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct SearchDocsInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
keyword: String,
|
||||
limit: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"keyword": keyword,
|
||||
"limit": limit
|
||||
])
|
||||
}
|
||||
|
||||
public var keyword: String {
|
||||
get { __data["keyword"] }
|
||||
set { __data["keyword"] = newValue }
|
||||
}
|
||||
|
||||
/// Limit the number of docs to return, default is 20
|
||||
public var limit: GraphQLNullable<Int> {
|
||||
get { __data["limit"] }
|
||||
set { __data["limit"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct SearchHighlight: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
before: String,
|
||||
end: String,
|
||||
field: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"before": before,
|
||||
"end": end,
|
||||
"field": field
|
||||
])
|
||||
}
|
||||
|
||||
public var before: String {
|
||||
get { __data["before"] }
|
||||
set { __data["before"] = newValue }
|
||||
}
|
||||
|
||||
public var end: String {
|
||||
get { __data["end"] }
|
||||
set { __data["end"] = newValue }
|
||||
}
|
||||
|
||||
public var field: String {
|
||||
get { __data["field"] }
|
||||
set { __data["field"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct SearchInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
options: SearchOptions,
|
||||
query: SearchQuery,
|
||||
table: GraphQLEnum<SearchTable>
|
||||
) {
|
||||
__data = InputDict([
|
||||
"options": options,
|
||||
"query": query,
|
||||
"table": table
|
||||
])
|
||||
}
|
||||
|
||||
public var options: SearchOptions {
|
||||
get { __data["options"] }
|
||||
set { __data["options"] = newValue }
|
||||
}
|
||||
|
||||
public var query: SearchQuery {
|
||||
get { __data["query"] }
|
||||
set { __data["query"] = newValue }
|
||||
}
|
||||
|
||||
public var table: GraphQLEnum<SearchTable> {
|
||||
get { __data["table"] }
|
||||
set { __data["table"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct SearchOptions: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
fields: [String],
|
||||
highlights: GraphQLNullable<[SearchHighlight]> = nil,
|
||||
pagination: GraphQLNullable<SearchPagination> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"fields": fields,
|
||||
"highlights": highlights,
|
||||
"pagination": pagination
|
||||
])
|
||||
}
|
||||
|
||||
public var fields: [String] {
|
||||
get { __data["fields"] }
|
||||
set { __data["fields"] = newValue }
|
||||
}
|
||||
|
||||
public var highlights: GraphQLNullable<[SearchHighlight]> {
|
||||
get { __data["highlights"] }
|
||||
set { __data["highlights"] = newValue }
|
||||
}
|
||||
|
||||
public var pagination: GraphQLNullable<SearchPagination> {
|
||||
get { __data["pagination"] }
|
||||
set { __data["pagination"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct SearchPagination: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
cursor: GraphQLNullable<String> = nil,
|
||||
limit: GraphQLNullable<Int> = nil,
|
||||
skip: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"cursor": cursor,
|
||||
"limit": limit,
|
||||
"skip": skip
|
||||
])
|
||||
}
|
||||
|
||||
public var cursor: GraphQLNullable<String> {
|
||||
get { __data["cursor"] }
|
||||
set { __data["cursor"] = newValue }
|
||||
}
|
||||
|
||||
public var limit: GraphQLNullable<Int> {
|
||||
get { __data["limit"] }
|
||||
set { __data["limit"] = newValue }
|
||||
}
|
||||
|
||||
public var skip: GraphQLNullable<Int> {
|
||||
get { __data["skip"] }
|
||||
set { __data["skip"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct SearchQuery: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
boost: GraphQLNullable<Double> = nil,
|
||||
field: GraphQLNullable<String> = nil,
|
||||
match: GraphQLNullable<String> = nil,
|
||||
occur: GraphQLNullable<GraphQLEnum<SearchQueryOccur>> = nil,
|
||||
queries: GraphQLNullable<[SearchQuery]> = nil,
|
||||
query: GraphQLNullable<SearchQuery> = nil,
|
||||
type: GraphQLEnum<SearchQueryType>
|
||||
) {
|
||||
__data = InputDict([
|
||||
"boost": boost,
|
||||
"field": field,
|
||||
"match": match,
|
||||
"occur": occur,
|
||||
"queries": queries,
|
||||
"query": query,
|
||||
"type": type
|
||||
])
|
||||
}
|
||||
|
||||
public var boost: GraphQLNullable<Double> {
|
||||
get { __data["boost"] }
|
||||
set { __data["boost"] = newValue }
|
||||
}
|
||||
|
||||
public var field: GraphQLNullable<String> {
|
||||
get { __data["field"] }
|
||||
set { __data["field"] = newValue }
|
||||
}
|
||||
|
||||
public var match: GraphQLNullable<String> {
|
||||
get { __data["match"] }
|
||||
set { __data["match"] = newValue }
|
||||
}
|
||||
|
||||
public var occur: GraphQLNullable<GraphQLEnum<SearchQueryOccur>> {
|
||||
get { __data["occur"] }
|
||||
set { __data["occur"] = newValue }
|
||||
}
|
||||
|
||||
public var queries: GraphQLNullable<[SearchQuery]> {
|
||||
get { __data["queries"] }
|
||||
set { __data["queries"] = newValue }
|
||||
}
|
||||
|
||||
public var query: GraphQLNullable<SearchQuery> {
|
||||
get { __data["query"] }
|
||||
set { __data["query"] = newValue }
|
||||
}
|
||||
|
||||
public var type: GraphQLEnum<SearchQueryType> {
|
||||
get { __data["type"] }
|
||||
set { __data["type"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct SubmitAudioTranscriptionInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
quality: GraphQLNullable<TranscriptionQualityInput> = nil,
|
||||
sliceManifest: GraphQLNullable<[AudioSliceManifestItemInput]> = nil,
|
||||
sourceAudio: GraphQLNullable<TranscriptionSourceAudioInput> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"quality": quality,
|
||||
"sliceManifest": sliceManifest,
|
||||
"sourceAudio": sourceAudio
|
||||
])
|
||||
}
|
||||
|
||||
public var quality: GraphQLNullable<TranscriptionQualityInput> {
|
||||
get { __data["quality"] }
|
||||
set { __data["quality"] = newValue }
|
||||
}
|
||||
|
||||
public var sliceManifest: GraphQLNullable<[AudioSliceManifestItemInput]> {
|
||||
get { __data["sliceManifest"] }
|
||||
set { __data["sliceManifest"] = newValue }
|
||||
}
|
||||
|
||||
public var sourceAudio: GraphQLNullable<TranscriptionSourceAudioInput> {
|
||||
get { __data["sourceAudio"] }
|
||||
set { __data["sourceAudio"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct TranscriptionQualityInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
degraded: GraphQLNullable<Bool> = nil,
|
||||
overflowCount: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"degraded": degraded,
|
||||
"overflowCount": overflowCount
|
||||
])
|
||||
}
|
||||
|
||||
public var degraded: GraphQLNullable<Bool> {
|
||||
get { __data["degraded"] }
|
||||
set { __data["degraded"] = newValue }
|
||||
}
|
||||
|
||||
public var overflowCount: GraphQLNullable<Int> {
|
||||
get { __data["overflowCount"] }
|
||||
set { __data["overflowCount"] = newValue }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct TranscriptionSourceAudioInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
channels: GraphQLNullable<Int> = nil,
|
||||
durationMs: GraphQLNullable<Int> = nil,
|
||||
mimeType: GraphQLNullable<String> = nil,
|
||||
sampleRate: GraphQLNullable<Int> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"channels": channels,
|
||||
"durationMs": durationMs,
|
||||
"mimeType": mimeType,
|
||||
"sampleRate": sampleRate
|
||||
])
|
||||
}
|
||||
|
||||
public var channels: GraphQLNullable<Int> {
|
||||
get { __data["channels"] }
|
||||
set { __data["channels"] = newValue }
|
||||
}
|
||||
|
||||
public var durationMs: GraphQLNullable<Int> {
|
||||
get { __data["durationMs"] }
|
||||
set { __data["durationMs"] = newValue }
|
||||
}
|
||||
|
||||
public var mimeType: GraphQLNullable<String> {
|
||||
get { __data["mimeType"] }
|
||||
set { __data["mimeType"] = newValue }
|
||||
}
|
||||
|
||||
public var sampleRate: GraphQLNullable<Int> {
|
||||
get { __data["sampleRate"] }
|
||||
set { __data["sampleRate"] = newValue }
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user