mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 16:59:22 +08:00
chore: cleanup legacy logic (#15072)
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ public class AdminUpdateWorkspaceMutation: GraphQLMutation {
|
||||
AdminUpdateWorkspaceMutation.Data.self
|
||||
] }
|
||||
|
||||
/// Update workspace flags and features for admin
|
||||
/// Update workspace flags for admin
|
||||
public var adminUpdateWorkspace: AdminUpdateWorkspace? { __data["adminUpdateWorkspace"] }
|
||||
|
||||
/// AdminUpdateWorkspace
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class ClearWorkspaceByokConfigsMutation: GraphQLMutation {
|
||||
public static let operationName: String = "clearWorkspaceByokConfigs"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation clearWorkspaceByokConfigs($workspaceId: String!) { clearWorkspaceByokConfigs(workspaceId: $workspaceId) }"#
|
||||
))
|
||||
|
||||
public var workspaceId: String
|
||||
|
||||
public init(workspaceId: String) {
|
||||
self.workspaceId = workspaceId
|
||||
}
|
||||
|
||||
public var __variables: Variables? { ["workspaceId": workspaceId] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("clearWorkspaceByokConfigs", Bool.self, arguments: ["workspaceId": .variable("workspaceId")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
ClearWorkspaceByokConfigsMutation.Data.self
|
||||
] }
|
||||
|
||||
public var clearWorkspaceByokConfigs: Bool { __data["clearWorkspaceByokConfigs"] }
|
||||
}
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class CreateWorkspaceByokLocalLeaseMutation: GraphQLMutation {
|
||||
public static let operationName: String = "createWorkspaceByokLocalLease"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation createWorkspaceByokLocalLease($input: CreateWorkspaceByokLocalLeaseInput!) { createWorkspaceByokLocalLease(input: $input) { __typename leaseId expiresAt } }"#
|
||||
))
|
||||
|
||||
public var input: CreateWorkspaceByokLocalLeaseInput
|
||||
|
||||
public init(input: CreateWorkspaceByokLocalLeaseInput) {
|
||||
self.input = input
|
||||
}
|
||||
|
||||
public var __variables: Variables? { ["input": input] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("createWorkspaceByokLocalLease", CreateWorkspaceByokLocalLease.self, arguments: ["input": .variable("input")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
CreateWorkspaceByokLocalLeaseMutation.Data.self
|
||||
] }
|
||||
|
||||
public var createWorkspaceByokLocalLease: CreateWorkspaceByokLocalLease { __data["createWorkspaceByokLocalLease"] }
|
||||
|
||||
/// CreateWorkspaceByokLocalLease
|
||||
///
|
||||
/// Parent Type: `CreateWorkspaceByokLocalLeaseResultType`
|
||||
public struct CreateWorkspaceByokLocalLease: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.CreateWorkspaceByokLocalLeaseResultType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("leaseId", String.self),
|
||||
.field("expiresAt", AffineGraphQL.DateTime.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
CreateWorkspaceByokLocalLeaseMutation.Data.CreateWorkspaceByokLocalLease.self
|
||||
] }
|
||||
|
||||
public var leaseId: String { __data["leaseId"] }
|
||||
public var expiresAt: AffineGraphQL.DateTime { __data["expiresAt"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class DeleteWorkspaceByokConfigMutation: GraphQLMutation {
|
||||
public static let operationName: String = "deleteWorkspaceByokConfig"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation deleteWorkspaceByokConfig($workspaceId: String!, $id: ID!) { deleteWorkspaceByokConfig(workspaceId: $workspaceId, id: $id) }"#
|
||||
))
|
||||
|
||||
public var workspaceId: String
|
||||
public var id: ID
|
||||
|
||||
public init(
|
||||
workspaceId: String,
|
||||
id: ID
|
||||
) {
|
||||
self.workspaceId = workspaceId
|
||||
self.id = id
|
||||
}
|
||||
|
||||
public var __variables: Variables? { [
|
||||
"workspaceId": workspaceId,
|
||||
"id": id
|
||||
] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("deleteWorkspaceByokConfig", Bool.self, arguments: [
|
||||
"workspaceId": .variable("workspaceId"),
|
||||
"id": .variable("id")
|
||||
]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
DeleteWorkspaceByokConfigMutation.Data.self
|
||||
] }
|
||||
|
||||
public var deleteWorkspaceByokConfig: Bool { __data["deleteWorkspaceByokConfig"] }
|
||||
}
|
||||
}
|
||||
+1
-5
@@ -7,7 +7,7 @@ public class InviteByEmailsMutation: GraphQLMutation {
|
||||
public static let operationName: String = "inviteByEmails"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation inviteByEmails($workspaceId: String!, $emails: [String!]!) { inviteMembers(workspaceId: $workspaceId, emails: $emails) { __typename email inviteId sentSuccess } }"#
|
||||
#"mutation inviteByEmails($workspaceId: String!, $emails: [String!]!) { inviteMembers(workspaceId: $workspaceId, emails: $emails) { __typename email inviteId } }"#
|
||||
))
|
||||
|
||||
public var workspaceId: String
|
||||
@@ -55,7 +55,6 @@ public class InviteByEmailsMutation: GraphQLMutation {
|
||||
.field("__typename", String.self),
|
||||
.field("email", String.self),
|
||||
.field("inviteId", String?.self),
|
||||
.field("sentSuccess", Bool.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
InviteByEmailsMutation.Data.InviteMember.self
|
||||
@@ -64,9 +63,6 @@ public class InviteByEmailsMutation: GraphQLMutation {
|
||||
public var email: String { __data["email"] }
|
||||
/// Invite id, null if invite record create failed
|
||||
public var inviteId: String? { __data["inviteId"] }
|
||||
/// Invite email sent success
|
||||
@available(*, deprecated, message: "Notification will be sent asynchronously")
|
||||
public var sentSuccess: Bool { __data["sentSuccess"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class PreviewLicenseMutation: GraphQLMutation {
|
||||
public static let operationName: String = "previewLicense"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation previewLicense($license: Upload!) { previewLicense(license: $license) { __typename id workspaceId plan recurring quantity issuedAt expiresAt endAt entity issuer valid } }"#
|
||||
))
|
||||
|
||||
public var license: Upload
|
||||
|
||||
public init(license: Upload) {
|
||||
self.license = license
|
||||
}
|
||||
|
||||
public var __variables: Variables? { ["license": license] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("previewLicense", PreviewLicense.self, arguments: ["license": .variable("license")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
PreviewLicenseMutation.Data.self
|
||||
] }
|
||||
|
||||
public var previewLicense: PreviewLicense { __data["previewLicense"] }
|
||||
|
||||
/// PreviewLicense
|
||||
///
|
||||
/// Parent Type: `AdminLicensePreview`
|
||||
public struct PreviewLicense: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.AdminLicensePreview }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", String.self),
|
||||
.field("workspaceId", String.self),
|
||||
.field("plan", GraphQLEnum<AffineGraphQL.SubscriptionPlan>.self),
|
||||
.field("recurring", GraphQLEnum<AffineGraphQL.SubscriptionRecurring>.self),
|
||||
.field("quantity", Int.self),
|
||||
.field("issuedAt", AffineGraphQL.DateTime.self),
|
||||
.field("expiresAt", AffineGraphQL.DateTime.self),
|
||||
.field("endAt", AffineGraphQL.DateTime.self),
|
||||
.field("entity", String.self),
|
||||
.field("issuer", String.self),
|
||||
.field("valid", Bool.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
PreviewLicenseMutation.Data.PreviewLicense.self
|
||||
] }
|
||||
|
||||
public var id: String { __data["id"] }
|
||||
public var workspaceId: String { __data["workspaceId"] }
|
||||
public var plan: GraphQLEnum<AffineGraphQL.SubscriptionPlan> { __data["plan"] }
|
||||
public var recurring: GraphQLEnum<AffineGraphQL.SubscriptionRecurring> { __data["recurring"] }
|
||||
public var quantity: Int { __data["quantity"] }
|
||||
public var issuedAt: AffineGraphQL.DateTime { __data["issuedAt"] }
|
||||
public var expiresAt: AffineGraphQL.DateTime { __data["expiresAt"] }
|
||||
public var endAt: AffineGraphQL.DateTime { __data["endAt"] }
|
||||
public var entity: String { __data["entity"] }
|
||||
public var issuer: String { __data["issuer"] }
|
||||
public var valid: Bool { __data["valid"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class ReorderWorkspaceByokConfigsMutation: GraphQLMutation {
|
||||
public static let operationName: String = "reorderWorkspaceByokConfigs"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation reorderWorkspaceByokConfigs($input: ReorderWorkspaceByokConfigsInput!) { reorderWorkspaceByokConfigs(input: $input) { __typename id sortOrder } }"#
|
||||
))
|
||||
|
||||
public var input: ReorderWorkspaceByokConfigsInput
|
||||
|
||||
public init(input: ReorderWorkspaceByokConfigsInput) {
|
||||
self.input = input
|
||||
}
|
||||
|
||||
public var __variables: Variables? { ["input": input] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("reorderWorkspaceByokConfigs", [ReorderWorkspaceByokConfig].self, arguments: ["input": .variable("input")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
ReorderWorkspaceByokConfigsMutation.Data.self
|
||||
] }
|
||||
|
||||
public var reorderWorkspaceByokConfigs: [ReorderWorkspaceByokConfig] { __data["reorderWorkspaceByokConfigs"] }
|
||||
|
||||
/// ReorderWorkspaceByokConfig
|
||||
///
|
||||
/// Parent Type: `WorkspaceByokKeyConfigType`
|
||||
public struct ReorderWorkspaceByokConfig: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceByokKeyConfigType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
.field("sortOrder", AffineGraphQL.SafeInt.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
ReorderWorkspaceByokConfigsMutation.Data.ReorderWorkspaceByokConfig.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
public var sortOrder: AffineGraphQL.SafeInt { __data["sortOrder"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class RetryTranscriptTaskMutation: GraphQLMutation {
|
||||
public static let operationName: String = "retryTranscriptTask"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation retryTranscriptTask($workspaceId: String!, $taskId: String!) { retryTranscriptTask(workspaceId: $workspaceId, taskId: $taskId) { __typename id status } }"#
|
||||
))
|
||||
|
||||
public var workspaceId: String
|
||||
public var taskId: String
|
||||
|
||||
public init(
|
||||
workspaceId: String,
|
||||
taskId: String
|
||||
) {
|
||||
self.workspaceId = workspaceId
|
||||
self.taskId = taskId
|
||||
}
|
||||
|
||||
public var __variables: Variables? { [
|
||||
"workspaceId": workspaceId,
|
||||
"taskId": taskId
|
||||
] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("retryTranscriptTask", RetryTranscriptTask?.self, arguments: [
|
||||
"workspaceId": .variable("workspaceId"),
|
||||
"taskId": .variable("taskId")
|
||||
]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
RetryTranscriptTaskMutation.Data.self
|
||||
] }
|
||||
|
||||
public var retryTranscriptTask: RetryTranscriptTask? { __data["retryTranscriptTask"] }
|
||||
|
||||
/// RetryTranscriptTask
|
||||
///
|
||||
/// Parent Type: `TranscriptionResultType`
|
||||
public struct RetryTranscriptTask: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionResultType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
.field("status", GraphQLEnum<AffineGraphQL.AiJobStatus>.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
RetryTranscriptTaskMutation.Data.RetryTranscriptTask.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
public var status: GraphQLEnum<AffineGraphQL.AiJobStatus> { __data["status"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
+6
-1
@@ -7,9 +7,10 @@ public class SendTestEmailMutation: GraphQLMutation {
|
||||
public static let operationName: String = "sendTestEmail"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation sendTestEmail($host: String!, $port: Int!, $sender: String!, $username: String!, $password: String!, $ignoreTLS: Boolean!) { sendTestEmail( config: { host: $host port: $port sender: $sender username: $username password: $password ignoreTLS: $ignoreTLS } ) }"#
|
||||
#"mutation sendTestEmail($name: String!, $host: String!, $port: Int!, $sender: String!, $username: String!, $password: String!, $ignoreTLS: Boolean!) { sendTestEmail( config: { name: $name host: $host port: $port sender: $sender username: $username password: $password ignoreTLS: $ignoreTLS } ) }"#
|
||||
))
|
||||
|
||||
public var name: String
|
||||
public var host: String
|
||||
public var port: Int
|
||||
public var sender: String
|
||||
@@ -18,6 +19,7 @@ public class SendTestEmailMutation: GraphQLMutation {
|
||||
public var ignoreTLS: Bool
|
||||
|
||||
public init(
|
||||
name: String,
|
||||
host: String,
|
||||
port: Int,
|
||||
sender: String,
|
||||
@@ -25,6 +27,7 @@ public class SendTestEmailMutation: GraphQLMutation {
|
||||
password: String,
|
||||
ignoreTLS: Bool
|
||||
) {
|
||||
self.name = name
|
||||
self.host = host
|
||||
self.port = port
|
||||
self.sender = sender
|
||||
@@ -34,6 +37,7 @@ public class SendTestEmailMutation: GraphQLMutation {
|
||||
}
|
||||
|
||||
public var __variables: Variables? { [
|
||||
"name": name,
|
||||
"host": host,
|
||||
"port": port,
|
||||
"sender": sender,
|
||||
@@ -49,6 +53,7 @@ public class SendTestEmailMutation: GraphQLMutation {
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("sendTestEmail", Bool.self, arguments: ["config": [
|
||||
"name": .variable("name"),
|
||||
"host": .variable("host"),
|
||||
"port": .variable("port"),
|
||||
"sender": .variable("sender"),
|
||||
|
||||
+274
@@ -0,0 +1,274 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class SettleTranscriptTaskMutation: GraphQLMutation {
|
||||
public static let operationName: String = "settleTranscriptTask"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation settleTranscriptTask($workspaceId: String!, $taskId: String!) { settleTranscriptTask(workspaceId: $workspaceId, taskId: $taskId) { __typename id status title summary actions sourceAudio { __typename blobId mimeType durationMs sampleRate channels } quality { __typename degraded overflowCount } sliceManifest { __typename index fileName mimeType startSec durationSec byteSize } normalizedSegments { __typename speaker startSec endSec start end text } normalizedTranscript summaryJson { __typename title durationMinutes attendees keyPoints actionItems { __typename description owner deadline } decisions openQuestions blockers } transcription { __typename speaker start end transcription } } }"#
|
||||
))
|
||||
|
||||
public var workspaceId: String
|
||||
public var taskId: String
|
||||
|
||||
public init(
|
||||
workspaceId: String,
|
||||
taskId: String
|
||||
) {
|
||||
self.workspaceId = workspaceId
|
||||
self.taskId = taskId
|
||||
}
|
||||
|
||||
public var __variables: Variables? { [
|
||||
"workspaceId": workspaceId,
|
||||
"taskId": taskId
|
||||
] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("settleTranscriptTask", SettleTranscriptTask?.self, arguments: [
|
||||
"workspaceId": .variable("workspaceId"),
|
||||
"taskId": .variable("taskId")
|
||||
]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.self
|
||||
] }
|
||||
|
||||
public var settleTranscriptTask: SettleTranscriptTask? { __data["settleTranscriptTask"] }
|
||||
|
||||
/// SettleTranscriptTask
|
||||
///
|
||||
/// Parent Type: `TranscriptionResultType`
|
||||
public struct SettleTranscriptTask: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionResultType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
.field("status", GraphQLEnum<AffineGraphQL.AiJobStatus>.self),
|
||||
.field("title", String?.self),
|
||||
.field("summary", String?.self),
|
||||
.field("actions", String?.self),
|
||||
.field("sourceAudio", SourceAudio?.self),
|
||||
.field("quality", Quality?.self),
|
||||
.field("sliceManifest", [SliceManifest]?.self),
|
||||
.field("normalizedSegments", [NormalizedSegment]?.self),
|
||||
.field("normalizedTranscript", String?.self),
|
||||
.field("summaryJson", SummaryJson?.self),
|
||||
.field("transcription", [Transcription]?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
public var status: GraphQLEnum<AffineGraphQL.AiJobStatus> { __data["status"] }
|
||||
public var title: String? { __data["title"] }
|
||||
public var summary: String? { __data["summary"] }
|
||||
public var actions: String? { __data["actions"] }
|
||||
public var sourceAudio: SourceAudio? { __data["sourceAudio"] }
|
||||
public var quality: Quality? { __data["quality"] }
|
||||
public var sliceManifest: [SliceManifest]? { __data["sliceManifest"] }
|
||||
public var normalizedSegments: [NormalizedSegment]? { __data["normalizedSegments"] }
|
||||
public var normalizedTranscript: String? { __data["normalizedTranscript"] }
|
||||
public var summaryJson: SummaryJson? { __data["summaryJson"] }
|
||||
public var transcription: [Transcription]? { __data["transcription"] }
|
||||
|
||||
/// SettleTranscriptTask.SourceAudio
|
||||
///
|
||||
/// Parent Type: `TranscriptionSourceAudioType`
|
||||
public struct SourceAudio: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionSourceAudioType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("blobId", String?.self),
|
||||
.field("mimeType", String?.self),
|
||||
.field("durationMs", Int?.self),
|
||||
.field("sampleRate", Int?.self),
|
||||
.field("channels", Int?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.SourceAudio.self
|
||||
] }
|
||||
|
||||
public var blobId: String? { __data["blobId"] }
|
||||
public var mimeType: String? { __data["mimeType"] }
|
||||
public var durationMs: Int? { __data["durationMs"] }
|
||||
public var sampleRate: Int? { __data["sampleRate"] }
|
||||
public var channels: Int? { __data["channels"] }
|
||||
}
|
||||
|
||||
/// SettleTranscriptTask.Quality
|
||||
///
|
||||
/// Parent Type: `TranscriptionQualityType`
|
||||
public struct Quality: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionQualityType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("degraded", Bool?.self),
|
||||
.field("overflowCount", Int?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.Quality.self
|
||||
] }
|
||||
|
||||
public var degraded: Bool? { __data["degraded"] }
|
||||
public var overflowCount: Int? { __data["overflowCount"] }
|
||||
}
|
||||
|
||||
/// SettleTranscriptTask.SliceManifest
|
||||
///
|
||||
/// Parent Type: `AudioSliceManifestItemType`
|
||||
public struct SliceManifest: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.AudioSliceManifestItemType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("index", Int.self),
|
||||
.field("fileName", String.self),
|
||||
.field("mimeType", String.self),
|
||||
.field("startSec", Double.self),
|
||||
.field("durationSec", Double.self),
|
||||
.field("byteSize", Int?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.SliceManifest.self
|
||||
] }
|
||||
|
||||
public var index: Int { __data["index"] }
|
||||
public var fileName: String { __data["fileName"] }
|
||||
public var mimeType: String { __data["mimeType"] }
|
||||
public var startSec: Double { __data["startSec"] }
|
||||
public var durationSec: Double { __data["durationSec"] }
|
||||
public var byteSize: Int? { __data["byteSize"] }
|
||||
}
|
||||
|
||||
/// SettleTranscriptTask.NormalizedSegment
|
||||
///
|
||||
/// Parent Type: `NormalizedTranscriptSegmentType`
|
||||
public struct NormalizedSegment: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.NormalizedTranscriptSegmentType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("speaker", String.self),
|
||||
.field("startSec", Double.self),
|
||||
.field("endSec", Double.self),
|
||||
.field("start", String.self),
|
||||
.field("end", String.self),
|
||||
.field("text", String.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.NormalizedSegment.self
|
||||
] }
|
||||
|
||||
public var speaker: String { __data["speaker"] }
|
||||
public var startSec: Double { __data["startSec"] }
|
||||
public var endSec: Double { __data["endSec"] }
|
||||
public var start: String { __data["start"] }
|
||||
public var end: String { __data["end"] }
|
||||
public var text: String { __data["text"] }
|
||||
}
|
||||
|
||||
/// SettleTranscriptTask.SummaryJson
|
||||
///
|
||||
/// Parent Type: `MeetingSummaryV2Type`
|
||||
public struct SummaryJson: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.MeetingSummaryV2Type }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("title", String.self),
|
||||
.field("durationMinutes", Double.self),
|
||||
.field("attendees", [String].self),
|
||||
.field("keyPoints", [String].self),
|
||||
.field("actionItems", [ActionItem].self),
|
||||
.field("decisions", [String].self),
|
||||
.field("openQuestions", [String].self),
|
||||
.field("blockers", [String].self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.SummaryJson.self
|
||||
] }
|
||||
|
||||
public var title: String { __data["title"] }
|
||||
public var durationMinutes: Double { __data["durationMinutes"] }
|
||||
public var attendees: [String] { __data["attendees"] }
|
||||
public var keyPoints: [String] { __data["keyPoints"] }
|
||||
public var actionItems: [ActionItem] { __data["actionItems"] }
|
||||
public var decisions: [String] { __data["decisions"] }
|
||||
public var openQuestions: [String] { __data["openQuestions"] }
|
||||
public var blockers: [String] { __data["blockers"] }
|
||||
|
||||
/// SettleTranscriptTask.SummaryJson.ActionItem
|
||||
///
|
||||
/// Parent Type: `MeetingActionItemType`
|
||||
public struct ActionItem: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.MeetingActionItemType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("description", String.self),
|
||||
.field("owner", String?.self),
|
||||
.field("deadline", String?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.SummaryJson.ActionItem.self
|
||||
] }
|
||||
|
||||
public var description: String { __data["description"] }
|
||||
public var owner: String? { __data["owner"] }
|
||||
public var deadline: String? { __data["deadline"] }
|
||||
}
|
||||
}
|
||||
|
||||
/// SettleTranscriptTask.Transcription
|
||||
///
|
||||
/// Parent Type: `TranscriptionItemType`
|
||||
public struct Transcription: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionItemType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("speaker", String.self),
|
||||
.field("start", String.self),
|
||||
.field("end", String.self),
|
||||
.field("transcription", String.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SettleTranscriptTaskMutation.Data.SettleTranscriptTask.Transcription.self
|
||||
] }
|
||||
|
||||
public var speaker: String { __data["speaker"] }
|
||||
public var start: String { __data["start"] }
|
||||
public var end: String { __data["end"] }
|
||||
public var transcription: String { __data["transcription"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class SubmitTranscriptTaskMutation: GraphQLMutation {
|
||||
public static let operationName: String = "submitTranscriptTask"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation submitTranscriptTask($workspaceId: String!, $blobId: String!, $blob: Upload, $blobs: [Upload!], $input: SubmitAudioTranscriptionInput) { submitTranscriptTask( blob: $blob blobs: $blobs blobId: $blobId workspaceId: $workspaceId input: $input ) { __typename id status } }"#
|
||||
))
|
||||
|
||||
public var workspaceId: String
|
||||
public var blobId: String
|
||||
public var blob: GraphQLNullable<Upload>
|
||||
public var blobs: GraphQLNullable<[Upload]>
|
||||
public var input: GraphQLNullable<SubmitAudioTranscriptionInput>
|
||||
|
||||
public init(
|
||||
workspaceId: String,
|
||||
blobId: String,
|
||||
blob: GraphQLNullable<Upload>,
|
||||
blobs: GraphQLNullable<[Upload]>,
|
||||
input: GraphQLNullable<SubmitAudioTranscriptionInput>
|
||||
) {
|
||||
self.workspaceId = workspaceId
|
||||
self.blobId = blobId
|
||||
self.blob = blob
|
||||
self.blobs = blobs
|
||||
self.input = input
|
||||
}
|
||||
|
||||
public var __variables: Variables? { [
|
||||
"workspaceId": workspaceId,
|
||||
"blobId": blobId,
|
||||
"blob": blob,
|
||||
"blobs": blobs,
|
||||
"input": input
|
||||
] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("submitTranscriptTask", SubmitTranscriptTask?.self, arguments: [
|
||||
"blob": .variable("blob"),
|
||||
"blobs": .variable("blobs"),
|
||||
"blobId": .variable("blobId"),
|
||||
"workspaceId": .variable("workspaceId"),
|
||||
"input": .variable("input")
|
||||
]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SubmitTranscriptTaskMutation.Data.self
|
||||
] }
|
||||
|
||||
public var submitTranscriptTask: SubmitTranscriptTask? { __data["submitTranscriptTask"] }
|
||||
|
||||
/// SubmitTranscriptTask
|
||||
///
|
||||
/// Parent Type: `TranscriptionResultType`
|
||||
public struct SubmitTranscriptTask: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionResultType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
.field("status", GraphQLEnum<AffineGraphQL.AiJobStatus>.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
SubmitTranscriptTaskMutation.Data.SubmitTranscriptTask.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
public var status: GraphQLEnum<AffineGraphQL.AiJobStatus> { __data["status"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class TestWorkspaceByokConfigMutation: GraphQLMutation {
|
||||
public static let operationName: String = "testWorkspaceByokConfig"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation testWorkspaceByokConfig($input: TestWorkspaceByokConfigInput!) { testWorkspaceByokConfig(input: $input) { __typename ok status message } }"#
|
||||
))
|
||||
|
||||
public var input: TestWorkspaceByokConfigInput
|
||||
|
||||
public init(input: TestWorkspaceByokConfigInput) {
|
||||
self.input = input
|
||||
}
|
||||
|
||||
public var __variables: Variables? { ["input": input] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("testWorkspaceByokConfig", TestWorkspaceByokConfig.self, arguments: ["input": .variable("input")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
TestWorkspaceByokConfigMutation.Data.self
|
||||
] }
|
||||
|
||||
public var testWorkspaceByokConfig: TestWorkspaceByokConfig { __data["testWorkspaceByokConfig"] }
|
||||
|
||||
/// TestWorkspaceByokConfig
|
||||
///
|
||||
/// Parent Type: `TestWorkspaceByokConfigResultType`
|
||||
public struct TestWorkspaceByokConfig: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TestWorkspaceByokConfigResultType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("ok", Bool.self),
|
||||
.field("status", GraphQLEnum<AffineGraphQL.ByokKeyTestStatus>.self),
|
||||
.field("message", String?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
TestWorkspaceByokConfigMutation.Data.TestWorkspaceByokConfig.self
|
||||
] }
|
||||
|
||||
public var ok: Bool { __data["ok"] }
|
||||
public var status: GraphQLEnum<AffineGraphQL.ByokKeyTestStatus> { __data["status"] }
|
||||
public var message: String? { __data["message"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class UpsertWorkspaceByokConfigMutation: GraphQLMutation {
|
||||
public static let operationName: String = "upsertWorkspaceByokConfig"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"mutation upsertWorkspaceByokConfig($input: UpsertWorkspaceByokConfigInput!) { upsertWorkspaceByokConfig(input: $input) { __typename id } }"#
|
||||
))
|
||||
|
||||
public var input: UpsertWorkspaceByokConfigInput
|
||||
|
||||
public init(input: UpsertWorkspaceByokConfigInput) {
|
||||
self.input = input
|
||||
}
|
||||
|
||||
public var __variables: Variables? { ["input": input] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("upsertWorkspaceByokConfig", UpsertWorkspaceByokConfig.self, arguments: ["input": .variable("input")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
UpsertWorkspaceByokConfigMutation.Data.self
|
||||
] }
|
||||
|
||||
public var upsertWorkspaceByokConfig: UpsertWorkspaceByokConfig { __data["upsertWorkspaceByokConfig"] }
|
||||
|
||||
/// UpsertWorkspaceByokConfig
|
||||
///
|
||||
/// Parent Type: `WorkspaceByokKeyConfigType`
|
||||
public struct UpsertWorkspaceByokConfig: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceByokKeyConfigType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
UpsertWorkspaceByokConfigMutation.Data.UpsertWorkspaceByokConfig.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
+316
@@ -0,0 +1,316 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class GetTranscriptTaskQuery: GraphQLQuery {
|
||||
public static let operationName: String = "getTranscriptTask"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"query getTranscriptTask($workspaceId: String!, $taskId: String, $blobId: String) { currentUser { __typename copilot(workspaceId: $workspaceId) { __typename transcriptTask(taskId: $taskId, blobId: $blobId) { __typename id status title summary sourceAudio { __typename blobId mimeType durationMs sampleRate channels } quality { __typename degraded overflowCount } sliceManifest { __typename index fileName mimeType startSec durationSec byteSize } normalizedSegments { __typename speaker startSec endSec start end text } normalizedTranscript summaryJson { __typename title durationMinutes attendees keyPoints actionItems { __typename description owner deadline } decisions openQuestions blockers } transcription { __typename speaker start end transcription } } } } }"#
|
||||
))
|
||||
|
||||
public var workspaceId: String
|
||||
public var taskId: GraphQLNullable<String>
|
||||
public var blobId: GraphQLNullable<String>
|
||||
|
||||
public init(
|
||||
workspaceId: String,
|
||||
taskId: GraphQLNullable<String>,
|
||||
blobId: GraphQLNullable<String>
|
||||
) {
|
||||
self.workspaceId = workspaceId
|
||||
self.taskId = taskId
|
||||
self.blobId = blobId
|
||||
}
|
||||
|
||||
public var __variables: Variables? { [
|
||||
"workspaceId": workspaceId,
|
||||
"taskId": taskId,
|
||||
"blobId": blobId
|
||||
] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Query }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("currentUser", CurrentUser?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.self
|
||||
] }
|
||||
|
||||
/// Get current user
|
||||
public var currentUser: CurrentUser? { __data["currentUser"] }
|
||||
|
||||
/// CurrentUser
|
||||
///
|
||||
/// Parent Type: `UserType`
|
||||
public struct CurrentUser: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("copilot", Copilot.self, arguments: ["workspaceId": .variable("workspaceId")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.self
|
||||
] }
|
||||
|
||||
public var copilot: Copilot { __data["copilot"] }
|
||||
|
||||
/// CurrentUser.Copilot
|
||||
///
|
||||
/// Parent Type: `Copilot`
|
||||
public struct Copilot: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Copilot }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("transcriptTask", TranscriptTask?.self, arguments: [
|
||||
"taskId": .variable("taskId"),
|
||||
"blobId": .variable("blobId")
|
||||
]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.self
|
||||
] }
|
||||
|
||||
@available(*, deprecated, message: "Use realtime subscription \"copilot.transcript.task.changed\" instead.")
|
||||
public var transcriptTask: TranscriptTask? { __data["transcriptTask"] }
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask
|
||||
///
|
||||
/// Parent Type: `TranscriptionResultType`
|
||||
public struct TranscriptTask: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionResultType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
.field("status", GraphQLEnum<AffineGraphQL.AiJobStatus>.self),
|
||||
.field("title", String?.self),
|
||||
.field("summary", String?.self),
|
||||
.field("sourceAudio", SourceAudio?.self),
|
||||
.field("quality", Quality?.self),
|
||||
.field("sliceManifest", [SliceManifest]?.self),
|
||||
.field("normalizedSegments", [NormalizedSegment]?.self),
|
||||
.field("normalizedTranscript", String?.self),
|
||||
.field("summaryJson", SummaryJson?.self),
|
||||
.field("transcription", [Transcription]?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
public var status: GraphQLEnum<AffineGraphQL.AiJobStatus> { __data["status"] }
|
||||
public var title: String? { __data["title"] }
|
||||
public var summary: String? { __data["summary"] }
|
||||
public var sourceAudio: SourceAudio? { __data["sourceAudio"] }
|
||||
public var quality: Quality? { __data["quality"] }
|
||||
public var sliceManifest: [SliceManifest]? { __data["sliceManifest"] }
|
||||
public var normalizedSegments: [NormalizedSegment]? { __data["normalizedSegments"] }
|
||||
public var normalizedTranscript: String? { __data["normalizedTranscript"] }
|
||||
public var summaryJson: SummaryJson? { __data["summaryJson"] }
|
||||
public var transcription: [Transcription]? { __data["transcription"] }
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask.SourceAudio
|
||||
///
|
||||
/// Parent Type: `TranscriptionSourceAudioType`
|
||||
public struct SourceAudio: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionSourceAudioType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("blobId", String?.self),
|
||||
.field("mimeType", String?.self),
|
||||
.field("durationMs", Int?.self),
|
||||
.field("sampleRate", Int?.self),
|
||||
.field("channels", Int?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.SourceAudio.self
|
||||
] }
|
||||
|
||||
public var blobId: String? { __data["blobId"] }
|
||||
public var mimeType: String? { __data["mimeType"] }
|
||||
public var durationMs: Int? { __data["durationMs"] }
|
||||
public var sampleRate: Int? { __data["sampleRate"] }
|
||||
public var channels: Int? { __data["channels"] }
|
||||
}
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask.Quality
|
||||
///
|
||||
/// Parent Type: `TranscriptionQualityType`
|
||||
public struct Quality: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionQualityType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("degraded", Bool?.self),
|
||||
.field("overflowCount", Int?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.Quality.self
|
||||
] }
|
||||
|
||||
public var degraded: Bool? { __data["degraded"] }
|
||||
public var overflowCount: Int? { __data["overflowCount"] }
|
||||
}
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask.SliceManifest
|
||||
///
|
||||
/// Parent Type: `AudioSliceManifestItemType`
|
||||
public struct SliceManifest: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.AudioSliceManifestItemType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("index", Int.self),
|
||||
.field("fileName", String.self),
|
||||
.field("mimeType", String.self),
|
||||
.field("startSec", Double.self),
|
||||
.field("durationSec", Double.self),
|
||||
.field("byteSize", Int?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.SliceManifest.self
|
||||
] }
|
||||
|
||||
public var index: Int { __data["index"] }
|
||||
public var fileName: String { __data["fileName"] }
|
||||
public var mimeType: String { __data["mimeType"] }
|
||||
public var startSec: Double { __data["startSec"] }
|
||||
public var durationSec: Double { __data["durationSec"] }
|
||||
public var byteSize: Int? { __data["byteSize"] }
|
||||
}
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask.NormalizedSegment
|
||||
///
|
||||
/// Parent Type: `NormalizedTranscriptSegmentType`
|
||||
public struct NormalizedSegment: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.NormalizedTranscriptSegmentType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("speaker", String.self),
|
||||
.field("startSec", Double.self),
|
||||
.field("endSec", Double.self),
|
||||
.field("start", String.self),
|
||||
.field("end", String.self),
|
||||
.field("text", String.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.NormalizedSegment.self
|
||||
] }
|
||||
|
||||
public var speaker: String { __data["speaker"] }
|
||||
public var startSec: Double { __data["startSec"] }
|
||||
public var endSec: Double { __data["endSec"] }
|
||||
public var start: String { __data["start"] }
|
||||
public var end: String { __data["end"] }
|
||||
public var text: String { __data["text"] }
|
||||
}
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask.SummaryJson
|
||||
///
|
||||
/// Parent Type: `MeetingSummaryV2Type`
|
||||
public struct SummaryJson: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.MeetingSummaryV2Type }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("title", String.self),
|
||||
.field("durationMinutes", Double.self),
|
||||
.field("attendees", [String].self),
|
||||
.field("keyPoints", [String].self),
|
||||
.field("actionItems", [ActionItem].self),
|
||||
.field("decisions", [String].self),
|
||||
.field("openQuestions", [String].self),
|
||||
.field("blockers", [String].self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.SummaryJson.self
|
||||
] }
|
||||
|
||||
public var title: String { __data["title"] }
|
||||
public var durationMinutes: Double { __data["durationMinutes"] }
|
||||
public var attendees: [String] { __data["attendees"] }
|
||||
public var keyPoints: [String] { __data["keyPoints"] }
|
||||
public var actionItems: [ActionItem] { __data["actionItems"] }
|
||||
public var decisions: [String] { __data["decisions"] }
|
||||
public var openQuestions: [String] { __data["openQuestions"] }
|
||||
public var blockers: [String] { __data["blockers"] }
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask.SummaryJson.ActionItem
|
||||
///
|
||||
/// Parent Type: `MeetingActionItemType`
|
||||
public struct ActionItem: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.MeetingActionItemType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("description", String.self),
|
||||
.field("owner", String?.self),
|
||||
.field("deadline", String?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.SummaryJson.ActionItem.self
|
||||
] }
|
||||
|
||||
public var description: String { __data["description"] }
|
||||
public var owner: String? { __data["owner"] }
|
||||
public var deadline: String? { __data["deadline"] }
|
||||
}
|
||||
}
|
||||
|
||||
/// CurrentUser.Copilot.TranscriptTask.Transcription
|
||||
///
|
||||
/// Parent Type: `TranscriptionItemType`
|
||||
public struct Transcription: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.TranscriptionItemType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("speaker", String.self),
|
||||
.field("start", String.self),
|
||||
.field("end", String.self),
|
||||
.field("transcription", String.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
GetTranscriptTaskQuery.Data.CurrentUser.Copilot.TranscriptTask.Transcription.self
|
||||
] }
|
||||
|
||||
public var speaker: String { __data["speaker"] }
|
||||
public var start: String { __data["start"] }
|
||||
public var end: String { __data["end"] }
|
||||
public var transcription: String { __data["transcription"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-4
@@ -7,7 +7,7 @@ public class InvoicesQuery: GraphQLQuery {
|
||||
public static let operationName: String = "invoices"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"query invoices($take: Int!, $skip: Int!) { currentUser { __typename invoiceCount invoices(take: $take, skip: $skip) { __typename id status currency amount reason lastPaymentError link createdAt } } }"#
|
||||
#"query invoices($take: Int!, $skip: Int!) { currentUser { __typename invoiceCount invoices(take: $take, skip: $skip) { __typename status currency amount reason lastPaymentError link createdAt } } }"#
|
||||
))
|
||||
|
||||
public var take: Int
|
||||
@@ -75,7 +75,6 @@ public class InvoicesQuery: GraphQLQuery {
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.InvoiceType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", String?.self),
|
||||
.field("status", GraphQLEnum<AffineGraphQL.InvoiceStatus>.self),
|
||||
.field("currency", String.self),
|
||||
.field("amount", Int.self),
|
||||
@@ -88,8 +87,6 @@ public class InvoicesQuery: GraphQLQuery {
|
||||
InvoicesQuery.Data.CurrentUser.Invoice.self
|
||||
] }
|
||||
|
||||
@available(*, deprecated, message: "removed")
|
||||
public var id: String? { __data["id"] }
|
||||
public var status: GraphQLEnum<AffineGraphQL.InvoiceStatus> { __data["status"] }
|
||||
public var currency: String { __data["currency"] }
|
||||
public var amount: Int { __data["amount"] }
|
||||
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
@_exported import ApolloAPI
|
||||
|
||||
public class WorkspaceByokSettingsQuery: GraphQLQuery {
|
||||
public static let operationName: String = "workspaceByokSettings"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"query workspaceByokSettings($id: String!, $from: DateTime!, $to: DateTime!) { workspace(id: $id) { __typename id byokSettings { __typename workspaceId entitled serverEntitled localEntitled entitlementRequired allowedProviders localStorageSupported customEndpointSupported hasAiPlan keys { __typename id provider name description storage configured enabled endpoint endpointEditable sortOrder capabilities testStatus disabledReason lastTestedAt lastTestError lastUsedAt lastErrorAt lastError } warnings { __typename featureKind reason requiredProviders } } byokUsage(from: $from, to: $to) { __typename date featureKind totalTokens } } }"#
|
||||
))
|
||||
|
||||
public var id: String
|
||||
public var from: DateTime
|
||||
public var to: DateTime
|
||||
|
||||
public init(
|
||||
id: String,
|
||||
from: DateTime,
|
||||
to: DateTime
|
||||
) {
|
||||
self.id = id
|
||||
self.from = from
|
||||
self.to = to
|
||||
}
|
||||
|
||||
public var __variables: Variables? { [
|
||||
"id": id,
|
||||
"from": from,
|
||||
"to": to
|
||||
] }
|
||||
|
||||
public struct Data: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Query }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("workspace", Workspace.self, arguments: ["id": .variable("id")]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
WorkspaceByokSettingsQuery.Data.self
|
||||
] }
|
||||
|
||||
/// Get workspace by id
|
||||
public var workspace: Workspace { __data["workspace"] }
|
||||
|
||||
/// Workspace
|
||||
///
|
||||
/// Parent Type: `WorkspaceType`
|
||||
public struct Workspace: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
.field("byokSettings", ByokSettings.self),
|
||||
.field("byokUsage", [ByokUsage].self, arguments: [
|
||||
"from": .variable("from"),
|
||||
"to": .variable("to")
|
||||
]),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
WorkspaceByokSettingsQuery.Data.Workspace.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
public var byokSettings: ByokSettings { __data["byokSettings"] }
|
||||
public var byokUsage: [ByokUsage] { __data["byokUsage"] }
|
||||
|
||||
/// Workspace.ByokSettings
|
||||
///
|
||||
/// Parent Type: `WorkspaceByokSettingsType`
|
||||
public struct ByokSettings: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceByokSettingsType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("workspaceId", String.self),
|
||||
.field("entitled", Bool.self),
|
||||
.field("serverEntitled", Bool.self),
|
||||
.field("localEntitled", Bool.self),
|
||||
.field("entitlementRequired", [String].self),
|
||||
.field("allowedProviders", [GraphQLEnum<AffineGraphQL.ByokProvider>].self),
|
||||
.field("localStorageSupported", Bool.self),
|
||||
.field("customEndpointSupported", Bool.self),
|
||||
.field("hasAiPlan", Bool.self),
|
||||
.field("keys", [Key].self),
|
||||
.field("warnings", [Warning].self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
WorkspaceByokSettingsQuery.Data.Workspace.ByokSettings.self
|
||||
] }
|
||||
|
||||
public var workspaceId: String { __data["workspaceId"] }
|
||||
public var entitled: Bool { __data["entitled"] }
|
||||
public var serverEntitled: Bool { __data["serverEntitled"] }
|
||||
public var localEntitled: Bool { __data["localEntitled"] }
|
||||
public var entitlementRequired: [String] { __data["entitlementRequired"] }
|
||||
public var allowedProviders: [GraphQLEnum<AffineGraphQL.ByokProvider>] { __data["allowedProviders"] }
|
||||
public var localStorageSupported: Bool { __data["localStorageSupported"] }
|
||||
public var customEndpointSupported: Bool { __data["customEndpointSupported"] }
|
||||
public var hasAiPlan: Bool { __data["hasAiPlan"] }
|
||||
public var keys: [Key] { __data["keys"] }
|
||||
public var warnings: [Warning] { __data["warnings"] }
|
||||
|
||||
/// Workspace.ByokSettings.Key
|
||||
///
|
||||
/// Parent Type: `WorkspaceByokKeyConfigType`
|
||||
public struct Key: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceByokKeyConfigType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", AffineGraphQL.ID.self),
|
||||
.field("provider", GraphQLEnum<AffineGraphQL.ByokProvider>.self),
|
||||
.field("name", String.self),
|
||||
.field("description", String?.self),
|
||||
.field("storage", GraphQLEnum<AffineGraphQL.ByokKeyStorage>.self),
|
||||
.field("configured", Bool.self),
|
||||
.field("enabled", Bool.self),
|
||||
.field("endpoint", String?.self),
|
||||
.field("endpointEditable", Bool.self),
|
||||
.field("sortOrder", AffineGraphQL.SafeInt.self),
|
||||
.field("capabilities", [String].self),
|
||||
.field("testStatus", GraphQLEnum<AffineGraphQL.ByokKeyTestStatus>.self),
|
||||
.field("disabledReason", String?.self),
|
||||
.field("lastTestedAt", AffineGraphQL.DateTime?.self),
|
||||
.field("lastTestError", String?.self),
|
||||
.field("lastUsedAt", AffineGraphQL.DateTime?.self),
|
||||
.field("lastErrorAt", AffineGraphQL.DateTime?.self),
|
||||
.field("lastError", String?.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
WorkspaceByokSettingsQuery.Data.Workspace.ByokSettings.Key.self
|
||||
] }
|
||||
|
||||
public var id: AffineGraphQL.ID { __data["id"] }
|
||||
public var provider: GraphQLEnum<AffineGraphQL.ByokProvider> { __data["provider"] }
|
||||
public var name: String { __data["name"] }
|
||||
public var description: String? { __data["description"] }
|
||||
public var storage: GraphQLEnum<AffineGraphQL.ByokKeyStorage> { __data["storage"] }
|
||||
public var configured: Bool { __data["configured"] }
|
||||
public var enabled: Bool { __data["enabled"] }
|
||||
public var endpoint: String? { __data["endpoint"] }
|
||||
public var endpointEditable: Bool { __data["endpointEditable"] }
|
||||
public var sortOrder: AffineGraphQL.SafeInt { __data["sortOrder"] }
|
||||
public var capabilities: [String] { __data["capabilities"] }
|
||||
public var testStatus: GraphQLEnum<AffineGraphQL.ByokKeyTestStatus> { __data["testStatus"] }
|
||||
public var disabledReason: String? { __data["disabledReason"] }
|
||||
public var lastTestedAt: AffineGraphQL.DateTime? { __data["lastTestedAt"] }
|
||||
public var lastTestError: String? { __data["lastTestError"] }
|
||||
public var lastUsedAt: AffineGraphQL.DateTime? { __data["lastUsedAt"] }
|
||||
public var lastErrorAt: AffineGraphQL.DateTime? { __data["lastErrorAt"] }
|
||||
public var lastError: String? { __data["lastError"] }
|
||||
}
|
||||
|
||||
/// Workspace.ByokSettings.Warning
|
||||
///
|
||||
/// Parent Type: `WorkspaceByokCapabilityWarningType`
|
||||
public struct Warning: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceByokCapabilityWarningType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("featureKind", String.self),
|
||||
.field("reason", String.self),
|
||||
.field("requiredProviders", [GraphQLEnum<AffineGraphQL.ByokProvider>].self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
WorkspaceByokSettingsQuery.Data.Workspace.ByokSettings.Warning.self
|
||||
] }
|
||||
|
||||
public var featureKind: String { __data["featureKind"] }
|
||||
public var reason: String { __data["reason"] }
|
||||
public var requiredProviders: [GraphQLEnum<AffineGraphQL.ByokProvider>] { __data["requiredProviders"] }
|
||||
}
|
||||
}
|
||||
|
||||
/// Workspace.ByokUsage
|
||||
///
|
||||
/// Parent Type: `WorkspaceByokUsagePointType`
|
||||
public struct ByokUsage: AffineGraphQL.SelectionSet {
|
||||
public let __data: DataDict
|
||||
public init(_dataDict: DataDict) { __data = _dataDict }
|
||||
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceByokUsagePointType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("date", AffineGraphQL.DateTime.self),
|
||||
.field("featureKind", String.self),
|
||||
.field("totalTokens", AffineGraphQL.SafeInt.self),
|
||||
] }
|
||||
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
|
||||
WorkspaceByokSettingsQuery.Data.Workspace.ByokUsage.self
|
||||
] }
|
||||
|
||||
public var date: AffineGraphQL.DateTime { __data["date"] }
|
||||
public var featureKind: String { __data["featureKind"] }
|
||||
public var totalTokens: AffineGraphQL.SafeInt { __data["totalTokens"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-4
@@ -7,7 +7,7 @@ public class WorkspaceInvoicesQuery: GraphQLQuery {
|
||||
public static let operationName: String = "workspaceInvoices"
|
||||
public static let operationDocument: ApolloAPI.OperationDocument = .init(
|
||||
definition: .init(
|
||||
#"query workspaceInvoices($take: Int!, $skip: Int!, $workspaceId: String!) { workspace(id: $workspaceId) { __typename invoiceCount invoices(take: $take, skip: $skip) { __typename id status currency amount reason lastPaymentError link createdAt } } }"#
|
||||
#"query workspaceInvoices($take: Int!, $skip: Int!, $workspaceId: String!) { workspace(id: $workspaceId) { __typename invoiceCount invoices(take: $take, skip: $skip) { __typename status currency amount reason lastPaymentError link createdAt } } }"#
|
||||
))
|
||||
|
||||
public var take: Int
|
||||
@@ -79,7 +79,6 @@ public class WorkspaceInvoicesQuery: GraphQLQuery {
|
||||
public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.InvoiceType }
|
||||
public static var __selections: [ApolloAPI.Selection] { [
|
||||
.field("__typename", String.self),
|
||||
.field("id", String?.self),
|
||||
.field("status", GraphQLEnum<AffineGraphQL.InvoiceStatus>.self),
|
||||
.field("currency", String.self),
|
||||
.field("amount", Int.self),
|
||||
@@ -92,8 +91,6 @@ public class WorkspaceInvoicesQuery: GraphQLQuery {
|
||||
WorkspaceInvoicesQuery.Data.Workspace.Invoice.self
|
||||
] }
|
||||
|
||||
@available(*, deprecated, message: "removed")
|
||||
public var id: String? { __data["id"] }
|
||||
public var status: GraphQLEnum<AffineGraphQL.InvoiceStatus> { __data["status"] }
|
||||
public var currency: String { __data["currency"] }
|
||||
public var amount: Int { __data["amount"] }
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokKeyStorage: String, EnumType {
|
||||
case local = "local"
|
||||
case server = "server"
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public enum ByokKeyTestStatus: String, EnumType {
|
||||
case failed = "failed"
|
||||
case passed = "passed"
|
||||
case untested = "untested"
|
||||
}
|
||||
+11
@@ -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"
|
||||
}
|
||||
-2
@@ -4,9 +4,7 @@
|
||||
import ApolloAPI
|
||||
|
||||
public enum FeatureType: String, EnumType {
|
||||
case aIEarlyAccess = "AIEarlyAccess"
|
||||
case admin = "Admin"
|
||||
case earlyAccess = "EarlyAccess"
|
||||
case freePlan = "FreePlan"
|
||||
case lifetimeProPlan = "LifetimeProPlan"
|
||||
case proPlan = "ProPlan"
|
||||
|
||||
-1
@@ -4,6 +4,5 @@
|
||||
import ApolloAPI
|
||||
|
||||
public enum SubscriptionVariant: String, EnumType {
|
||||
case ea = "EA"
|
||||
case onetime = "Onetime"
|
||||
}
|
||||
|
||||
+18
@@ -10,6 +10,23 @@ public struct CreateChatMessageInput: InputObject {
|
||||
__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,
|
||||
@@ -28,6 +45,7 @@ public struct CreateChatMessageInput: InputObject {
|
||||
])
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "use blobs")
|
||||
public var attachments: GraphQLNullable<[String]> {
|
||||
get { __data["attachments"] }
|
||||
set { __data["attachments"] = newValue }
|
||||
|
||||
+20
@@ -10,6 +10,25 @@ public struct CreateCheckoutSessionInput: InputObject {
|
||||
__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,
|
||||
@@ -40,6 +59,7 @@ public struct CreateCheckoutSessionInput: InputObject {
|
||||
set { __data["coupon"] = newValue }
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "not required anymore")
|
||||
public var idempotencyKey: GraphQLNullable<String> {
|
||||
get { __data["idempotencyKey"] }
|
||||
set { __data["idempotencyKey"] = newValue }
|
||||
|
||||
+32
@@ -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 }
|
||||
}
|
||||
}
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
// @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(
|
||||
apiKey: String,
|
||||
description: GraphQLNullable<String> = nil,
|
||||
enabled: GraphQLNullable<Bool> = nil,
|
||||
endpoint: GraphQLNullable<String> = nil,
|
||||
name: String,
|
||||
provider: GraphQLEnum<ByokProvider>,
|
||||
sortOrder: GraphQLNullable<SafeInt> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"apiKey": apiKey,
|
||||
"description": description,
|
||||
"enabled": enabled,
|
||||
"endpoint": endpoint,
|
||||
"name": name,
|
||||
"provider": provider,
|
||||
"sortOrder": sortOrder
|
||||
])
|
||||
}
|
||||
|
||||
public var apiKey: String {
|
||||
get { __data["apiKey"] }
|
||||
set { __data["apiKey"] = newValue }
|
||||
}
|
||||
|
||||
public var description: GraphQLNullable<String> {
|
||||
get { __data["description"] }
|
||||
set { __data["description"] = newValue }
|
||||
}
|
||||
|
||||
public var enabled: GraphQLNullable<Bool> {
|
||||
get { __data["enabled"] }
|
||||
set { __data["enabled"] = newValue }
|
||||
}
|
||||
|
||||
public var endpoint: GraphQLNullable<String> {
|
||||
get { __data["endpoint"] }
|
||||
set { __data["endpoint"] = newValue }
|
||||
}
|
||||
|
||||
public var name: String {
|
||||
get { __data["name"] }
|
||||
set { __data["name"] = newValue }
|
||||
}
|
||||
|
||||
public var provider: GraphQLEnum<ByokProvider> {
|
||||
get { __data["provider"] }
|
||||
set { __data["provider"] = newValue }
|
||||
}
|
||||
|
||||
public var sortOrder: GraphQLNullable<SafeInt> {
|
||||
get { __data["sortOrder"] }
|
||||
set { __data["sortOrder"] = newValue }
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct ReorderWorkspaceByokConfigsInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
ids: [ID],
|
||||
storage: GraphQLEnum<ByokKeyStorage>,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"ids": ids,
|
||||
"storage": storage,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var ids: [ID] {
|
||||
get { __data["ids"] }
|
||||
set { __data["ids"] = newValue }
|
||||
}
|
||||
|
||||
public var storage: GraphQLEnum<ByokKeyStorage> {
|
||||
get { __data["storage"] }
|
||||
set { __data["storage"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
+9
-2
@@ -13,12 +13,14 @@ public struct SubmitAudioTranscriptionInput: InputObject {
|
||||
public init(
|
||||
quality: GraphQLNullable<TranscriptionQualityInput> = nil,
|
||||
sliceManifest: GraphQLNullable<[AudioSliceManifestItemInput]> = nil,
|
||||
sourceAudio: GraphQLNullable<TranscriptionSourceAudioInput> = nil
|
||||
sourceAudio: GraphQLNullable<TranscriptionSourceAudioInput> = nil,
|
||||
strategy: GraphQLNullable<String> = nil
|
||||
) {
|
||||
__data = InputDict([
|
||||
"quality": quality,
|
||||
"sliceManifest": sliceManifest,
|
||||
"sourceAudio": sourceAudio
|
||||
"sourceAudio": sourceAudio,
|
||||
"strategy": strategy
|
||||
])
|
||||
}
|
||||
|
||||
@@ -36,4 +38,9 @@ public struct SubmitAudioTranscriptionInput: InputObject {
|
||||
get { __data["sourceAudio"] }
|
||||
set { __data["sourceAudio"] = newValue }
|
||||
}
|
||||
|
||||
public var strategy: GraphQLNullable<String> {
|
||||
get { __data["strategy"] }
|
||||
set { __data["strategy"] = newValue }
|
||||
}
|
||||
}
|
||||
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct TestWorkspaceByokConfigInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
apiKey: GraphQLNullable<String> = nil,
|
||||
configId: GraphQLNullable<ID> = nil,
|
||||
endpoint: GraphQLNullable<String> = nil,
|
||||
provider: GraphQLEnum<ByokProvider>,
|
||||
storage: GraphQLEnum<ByokKeyStorage>,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"apiKey": apiKey,
|
||||
"configId": configId,
|
||||
"endpoint": endpoint,
|
||||
"provider": provider,
|
||||
"storage": storage,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var apiKey: GraphQLNullable<String> {
|
||||
get { __data["apiKey"] }
|
||||
set { __data["apiKey"] = newValue }
|
||||
}
|
||||
|
||||
public var configId: GraphQLNullable<ID> {
|
||||
get { __data["configId"] }
|
||||
set { __data["configId"] = newValue }
|
||||
}
|
||||
|
||||
public var endpoint: GraphQLNullable<String> {
|
||||
get { __data["endpoint"] }
|
||||
set { __data["endpoint"] = newValue }
|
||||
}
|
||||
|
||||
public var provider: GraphQLEnum<ByokProvider> {
|
||||
get { __data["provider"] }
|
||||
set { __data["provider"] = newValue }
|
||||
}
|
||||
|
||||
public var storage: GraphQLEnum<ByokKeyStorage> {
|
||||
get { __data["storage"] }
|
||||
set { __data["storage"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
+88
@@ -0,0 +1,88 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public struct UpsertWorkspaceByokConfigInput: InputObject {
|
||||
public private(set) var __data: InputDict
|
||||
|
||||
public init(_ data: InputDict) {
|
||||
__data = data
|
||||
}
|
||||
|
||||
public init(
|
||||
apiKey: GraphQLNullable<String> = nil,
|
||||
description: GraphQLNullable<String> = nil,
|
||||
enabled: GraphQLNullable<Bool> = nil,
|
||||
endpoint: GraphQLNullable<String> = nil,
|
||||
id: GraphQLNullable<ID> = nil,
|
||||
name: String,
|
||||
provider: GraphQLEnum<ByokProvider>,
|
||||
sortOrder: GraphQLNullable<SafeInt> = nil,
|
||||
storage: GraphQLEnum<ByokKeyStorage>,
|
||||
workspaceId: String
|
||||
) {
|
||||
__data = InputDict([
|
||||
"apiKey": apiKey,
|
||||
"description": description,
|
||||
"enabled": enabled,
|
||||
"endpoint": endpoint,
|
||||
"id": id,
|
||||
"name": name,
|
||||
"provider": provider,
|
||||
"sortOrder": sortOrder,
|
||||
"storage": storage,
|
||||
"workspaceId": workspaceId
|
||||
])
|
||||
}
|
||||
|
||||
public var apiKey: GraphQLNullable<String> {
|
||||
get { __data["apiKey"] }
|
||||
set { __data["apiKey"] = newValue }
|
||||
}
|
||||
|
||||
public var description: GraphQLNullable<String> {
|
||||
get { __data["description"] }
|
||||
set { __data["description"] = newValue }
|
||||
}
|
||||
|
||||
public var enabled: GraphQLNullable<Bool> {
|
||||
get { __data["enabled"] }
|
||||
set { __data["enabled"] = newValue }
|
||||
}
|
||||
|
||||
public var endpoint: GraphQLNullable<String> {
|
||||
get { __data["endpoint"] }
|
||||
set { __data["endpoint"] = newValue }
|
||||
}
|
||||
|
||||
public var id: GraphQLNullable<ID> {
|
||||
get { __data["id"] }
|
||||
set { __data["id"] = newValue }
|
||||
}
|
||||
|
||||
public var name: String {
|
||||
get { __data["name"] }
|
||||
set { __data["name"] = newValue }
|
||||
}
|
||||
|
||||
public var provider: GraphQLEnum<ByokProvider> {
|
||||
get { __data["provider"] }
|
||||
set { __data["provider"] = newValue }
|
||||
}
|
||||
|
||||
public var sortOrder: GraphQLNullable<SafeInt> {
|
||||
get { __data["sortOrder"] }
|
||||
set { __data["sortOrder"] = newValue }
|
||||
}
|
||||
|
||||
public var storage: GraphQLEnum<ByokKeyStorage> {
|
||||
get { __data["storage"] }
|
||||
set { __data["storage"] = newValue }
|
||||
}
|
||||
|
||||
public var workspaceId: String {
|
||||
get { __data["workspaceId"] }
|
||||
set { __data["workspaceId"] = newValue }
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let GrantedDocUserType = ApolloAPI.Object(
|
||||
typename: "GrantedDocUserType",
|
||||
static let AdminLicensePreview = ApolloAPI.Object(
|
||||
typename: "AdminLicensePreview",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let CreateWorkspaceByokLocalLeaseResultType = ApolloAPI.Object(
|
||||
typename: "CreateWorkspaceByokLocalLeaseResultType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let ContextWorkspaceEmbeddingStatus = ApolloAPI.Object(
|
||||
typename: "ContextWorkspaceEmbeddingStatus",
|
||||
static let TestWorkspaceByokConfigResultType = ApolloAPI.Object(
|
||||
typename: "TestWorkspaceByokConfigResultType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let WorkspaceByokCapabilityWarningType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokCapabilityWarningType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
}
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let InviteUserType = ApolloAPI.Object(
|
||||
typename: "InviteUserType",
|
||||
static let WorkspaceByokKeyConfigType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokKeyConfigType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let GrantedDocUserTypeEdge = ApolloAPI.Object(
|
||||
typename: "GrantedDocUserTypeEdge",
|
||||
static let WorkspaceByokSettingsType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokSettingsType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
import ApolloAPI
|
||||
|
||||
public extension Objects {
|
||||
static let PaginatedGrantedDocUserType = ApolloAPI.Object(
|
||||
typename: "PaginatedGrantedDocUserType",
|
||||
static let WorkspaceByokUsagePointType = ApolloAPI.Object(
|
||||
typename: "WorkspaceByokUsagePointType",
|
||||
implementedInterfaces: [],
|
||||
keyFields: nil
|
||||
)
|
||||
+9
-8
@@ -24,6 +24,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"AdminDashboard": AffineGraphQL.Objects.AdminDashboard,
|
||||
"AdminDashboardMinutePoint": AffineGraphQL.Objects.AdminDashboardMinutePoint,
|
||||
"AdminDashboardValueDayPoint": AffineGraphQL.Objects.AdminDashboardValueDayPoint,
|
||||
"AdminLicensePreview": AffineGraphQL.Objects.AdminLicensePreview,
|
||||
"AdminSharedLinkTopItem": AffineGraphQL.Objects.AdminSharedLinkTopItem,
|
||||
"AdminWorkspace": AffineGraphQL.Objects.AdminWorkspace,
|
||||
"AdminWorkspaceMember": AffineGraphQL.Objects.AdminWorkspaceMember,
|
||||
@@ -37,8 +38,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"BlobUploadPart": AffineGraphQL.Objects.BlobUploadPart,
|
||||
"BlobUploadedPart": AffineGraphQL.Objects.BlobUploadedPart,
|
||||
"CalendarAccountObjectType": AffineGraphQL.Objects.CalendarAccountObjectType,
|
||||
"CalendarCalDAVProviderPresetObjectType": AffineGraphQL.Objects
|
||||
.CalendarCalDAVProviderPresetObjectType,
|
||||
"CalendarCalDAVProviderPresetObjectType": AffineGraphQL.Objects.CalendarCalDAVProviderPresetObjectType,
|
||||
"CalendarEventObjectType": AffineGraphQL.Objects.CalendarEventObjectType,
|
||||
"CalendarSubscriptionObjectType": AffineGraphQL.Objects.CalendarSubscriptionObjectType,
|
||||
"ChatMessage": AffineGraphQL.Objects.ChatMessage,
|
||||
@@ -48,7 +48,6 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"CommentObjectTypeEdge": AffineGraphQL.Objects.CommentObjectTypeEdge,
|
||||
"ContextMatchedDocChunk": AffineGraphQL.Objects.ContextMatchedDocChunk,
|
||||
"ContextMatchedFileChunk": AffineGraphQL.Objects.ContextMatchedFileChunk,
|
||||
"ContextWorkspaceEmbeddingStatus": AffineGraphQL.Objects.ContextWorkspaceEmbeddingStatus,
|
||||
"Copilot": AffineGraphQL.Objects.Copilot,
|
||||
"CopilotContext": AffineGraphQL.Objects.CopilotContext,
|
||||
"CopilotContextBlob": AffineGraphQL.Objects.CopilotContextBlob,
|
||||
@@ -65,6 +64,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"CopilotWorkspaceFileTypeEdge": AffineGraphQL.Objects.CopilotWorkspaceFileTypeEdge,
|
||||
"CopilotWorkspaceIgnoredDoc": AffineGraphQL.Objects.CopilotWorkspaceIgnoredDoc,
|
||||
"CopilotWorkspaceIgnoredDocTypeEdge": AffineGraphQL.Objects.CopilotWorkspaceIgnoredDocTypeEdge,
|
||||
"CreateWorkspaceByokLocalLeaseResultType": AffineGraphQL.Objects.CreateWorkspaceByokLocalLeaseResultType,
|
||||
"CredentialsRequirementType": AffineGraphQL.Objects.CredentialsRequirementType,
|
||||
"DeleteAccount": AffineGraphQL.Objects.DeleteAccount,
|
||||
"DocHistoryType": AffineGraphQL.Objects.DocHistoryType,
|
||||
@@ -77,13 +77,10 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"DocType": AffineGraphQL.Objects.DocType,
|
||||
"DocTypeEdge": AffineGraphQL.Objects.DocTypeEdge,
|
||||
"EditorType": AffineGraphQL.Objects.EditorType,
|
||||
"GrantedDocUserType": AffineGraphQL.Objects.GrantedDocUserType,
|
||||
"GrantedDocUserTypeEdge": AffineGraphQL.Objects.GrantedDocUserTypeEdge,
|
||||
"InvitationType": AffineGraphQL.Objects.InvitationType,
|
||||
"InvitationWorkspaceType": AffineGraphQL.Objects.InvitationWorkspaceType,
|
||||
"InviteLink": AffineGraphQL.Objects.InviteLink,
|
||||
"InviteResult": AffineGraphQL.Objects.InviteResult,
|
||||
"InviteUserType": AffineGraphQL.Objects.InviteUserType,
|
||||
"InvoiceType": AffineGraphQL.Objects.InvoiceType,
|
||||
"License": AffineGraphQL.Objects.License,
|
||||
"LimitedUserType": AffineGraphQL.Objects.LimitedUserType,
|
||||
@@ -102,7 +99,6 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"PaginatedCopilotWorkspaceFileType": AffineGraphQL.Objects.PaginatedCopilotWorkspaceFileType,
|
||||
"PaginatedDocMemberLastAccess": AffineGraphQL.Objects.PaginatedDocMemberLastAccess,
|
||||
"PaginatedDocType": AffineGraphQL.Objects.PaginatedDocType,
|
||||
"PaginatedGrantedDocUserType": AffineGraphQL.Objects.PaginatedGrantedDocUserType,
|
||||
"PaginatedIgnoredDocsType": AffineGraphQL.Objects.PaginatedIgnoredDocsType,
|
||||
"PaginatedNotificationObjectType": AffineGraphQL.Objects.PaginatedNotificationObjectType,
|
||||
"PasswordLimitsType": AffineGraphQL.Objects.PasswordLimitsType,
|
||||
@@ -120,6 +116,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"StreamObject": AffineGraphQL.Objects.StreamObject,
|
||||
"SubscriptionPrice": AffineGraphQL.Objects.SubscriptionPrice,
|
||||
"SubscriptionType": AffineGraphQL.Objects.SubscriptionType,
|
||||
"TestWorkspaceByokConfigResultType": AffineGraphQL.Objects.TestWorkspaceByokConfigResultType,
|
||||
"TimeWindow": AffineGraphQL.Objects.TimeWindow,
|
||||
"TranscriptionItemType": AffineGraphQL.Objects.TranscriptionItemType,
|
||||
"TranscriptionQualityType": AffineGraphQL.Objects.TranscriptionQualityType,
|
||||
@@ -131,6 +128,10 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"UserQuotaUsageType": AffineGraphQL.Objects.UserQuotaUsageType,
|
||||
"UserSettingsType": AffineGraphQL.Objects.UserSettingsType,
|
||||
"UserType": AffineGraphQL.Objects.UserType,
|
||||
"WorkspaceByokCapabilityWarningType": AffineGraphQL.Objects.WorkspaceByokCapabilityWarningType,
|
||||
"WorkspaceByokKeyConfigType": AffineGraphQL.Objects.WorkspaceByokKeyConfigType,
|
||||
"WorkspaceByokSettingsType": AffineGraphQL.Objects.WorkspaceByokSettingsType,
|
||||
"WorkspaceByokUsagePointType": AffineGraphQL.Objects.WorkspaceByokUsagePointType,
|
||||
"WorkspaceCalendarItemObjectType": AffineGraphQL.Objects.WorkspaceCalendarItemObjectType,
|
||||
"WorkspaceCalendarObjectType": AffineGraphQL.Objects.WorkspaceCalendarObjectType,
|
||||
"WorkspaceDocMeta": AffineGraphQL.Objects.WorkspaceDocMeta,
|
||||
@@ -140,7 +141,7 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
|
||||
"WorkspaceRolePermissions": AffineGraphQL.Objects.WorkspaceRolePermissions,
|
||||
"WorkspaceType": AffineGraphQL.Objects.WorkspaceType,
|
||||
"WorkspaceUserType": AffineGraphQL.Objects.WorkspaceUserType,
|
||||
"tokenType": AffineGraphQL.Objects.TokenType,
|
||||
"tokenType": AffineGraphQL.Objects.TokenType
|
||||
]
|
||||
|
||||
public static func objectType(forTypename typename: String) -> ApolloAPI.Object? {
|
||||
|
||||
Reference in New Issue
Block a user